@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@500;600;700&family=Source+Sans+3:wght@400;600;700&display=swap');

:root {
  color-scheme: light;
  --wash: #eaf0fc;
  --paper: #f9fbff;
  --ink: #243655;
  --blue: #2849ae;
  --muted: #4d607e;
  --rule: #a3b6da;
  --pale: #dbe5fa;
  --body: 'Source Sans 3', 'Trebuchet MS', sans-serif;
  --slab: 'Roboto Slab', Rockwell, 'Superclarendon', Georgia, serif;
}

* { box-sizing: border-box; }
html { background: var(--wash); scroll-padding-top: 2rem; }
body { margin: 0; color: var(--ink); font: 18px/1.6 var(--body); }
button, input, textarea, select { font: inherit; }
button, input, textarea, select, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--blue); text-decoration-thickness: .08em; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .16em; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--blue); outline-offset: 4px;
}
a { min-height: 44px; }
p { margin: 0 0 1rem; max-width: 68ch; }
h1, h2, h3 { font-family: var(--slab); font-weight: 500; line-height: 1.22; text-wrap: balance; }
h1 { max-width: 17ch; margin: 0 0 1.5rem; font-size: 60px; letter-spacing: -.045em; }
h2 { margin: 0 0 1.35rem; font-size: 34px; letter-spacing: -.025em; }
h3 { margin: 1.8rem 0 .75rem; font-size: 24px; }
ul, ol { padding-left: 1.4rem; }
li { margin-bottom: .65rem; }
strong { font-weight: 700; }
textarea, select, input[type='text'] {
  width: 100%; min-width: 0; min-height: 48px; padding: .75rem;
  border: 1px solid var(--muted); border-radius: 0; color: var(--ink); background: var(--paper);
}
textarea { min-height: 114px; resize: vertical; line-height: 1.6; }
input[type='checkbox'] { width: 44px; height: 44px; flex: 0 0 44px; margin: .1rem 0 0; accent-color: var(--blue); }
label { cursor: pointer; }
button, .btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px;
  padding: .65rem 1.2rem; border: 2px solid var(--blue); border-radius: 0;
  background: var(--blue); color: #fff; font-weight: 600; text-decoration: none; cursor: pointer;
}
button:hover, .btn:hover { background: #1c388b; border-color: #1c388b; }
button.alt, .btn.alt { background: transparent; color: var(--blue); }
button.alt:hover, .btn.alt:hover { background: var(--pale); }
[hidden] { display: none !important; }
.skip { position: absolute; left: 1rem; top: -10rem; padding: .65rem 1rem; z-index: 10; background: var(--paper); }
.skip:focus { top: 1rem; }
.wrap { width: min(1240px, calc(100% - 96px)); margin: 0 auto; }
.mast { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 28px 0 24px; border-bottom: 2px solid var(--blue); }
.mark { display: flex; align-items: center; gap: .8rem; padding: .2rem 0; text-decoration: none; line-height: 1.22; }
.mark b { display: block; font: 600 24px/1.2 var(--slab); letter-spacing: -.03em; }
.mark span { display: block; margin-top: .25rem; font-size: 16px; color: var(--ink); }
.sig { width: 38px; height: 38px; border: 2px solid var(--blue); border-radius: 50%; position: relative; flex: 0 0 38px; }
.sig::before, .sig::after { content: ''; position: absolute; background: var(--blue); }
.sig::before { width: 18px; height: 2px; left: 8px; top: 17px; }
.sig::after { height: 18px; width: 2px; top: 8px; left: 16px; }
.mast p { margin: 0; max-width: 25ch; text-align: right; font-size: 17px; }
.frame { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; }
.index { padding: 44px 0 0; align-self: start; position: sticky; top: 0; }
.index p { font-size: 18px; font-weight: 600; margin-bottom: .8rem; }
.index ol { list-style: none; padding: 0; margin: 0; }
.index li { margin: 0; }
.index a { display: flex; align-items: center; gap: .65rem; min-height: 48px; padding: .55rem .65rem; text-decoration: none; border-left: 2px solid var(--rule); font-size: 17px; }
.index a::before { content: ''; width: 7px; height: 7px; border: 1px solid currentColor; flex: 0 0 7px; }
.index a:hover { background: var(--pale); }
.index a[aria-current='page'] { border-left-color: var(--blue); background: var(--pale); font-weight: 600; }
.index .sub { padding-left: 1.5rem; }
.index .jump { margin-top: .9rem; border-left-color: var(--blue); }
main { min-width: 0; padding: 48px 0 80px; }
.hero { padding-bottom: 46px; }
.kicker { font-weight: 600; color: var(--blue); margin-bottom: 1.1rem; font-size: 18px; }
.intro { font-size: 21px; line-height: 1.55; max-width: 49ch; }
.hero .btn { margin-top: .7rem; }
.plan { display: grid; grid-template-columns: minmax(0, 1fr) 156px; gap: 36px; margin-top: 2rem; align-items: center; }
.plan p { margin: 0; }
.orb { width: 150px; height: 150px; border: 2px solid var(--blue); border-radius: 50%; display: grid; place-content: center; position: relative; color: var(--blue); font: 500 23px/1.5 var(--slab); text-align: center; }
.orb::before { content: ''; position: absolute; inset: 10px; border: 1px dashed var(--rule); border-radius: 50%; }
.orb::after { content: ''; width: 19px; height: 19px; border-top: 2px solid var(--blue); border-right: 2px solid var(--blue); position: absolute; right: -11px; top: -7px; }
.chapter { border-top: 2px solid var(--blue); padding-top: 34px; margin-top: 22px; margin-bottom: 48px; position: relative; }
.chapter::before { content: ''; width: 12px; height: 12px; border: 2px solid var(--blue); background: var(--wash); border-radius: 50%; position: absolute; top: -7px; left: -23px; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) 188px; gap: 28px; margin: 1.4rem 0; align-items: start; }
.pair > div > :last-child { margin-bottom: 0; }
.ref { margin: .2rem 0 0; border-top: 1px solid var(--rule); padding-top: .65rem; font-size: 16px; line-height: 1.5; }
.ref span { display: block; color: var(--muted); margin-bottom: .25rem; }
.ref a { display: flex; align-items: center; min-height: 44px; }
.ref .cite { color: var(--ink); }
.pad { background: var(--paper); border: 1px solid var(--rule); border-top: 4px solid var(--blue); padding: 28px; margin: 1.7rem 0; }
.pad h3 { margin-top: 0; }
.tick { display: flex; align-items: start; gap: 13px; min-height: 48px; padding: .6rem 0; }
.tick + .tick { border-top: 1px solid var(--pale); }
.write { display: block; margin: 1.5rem 0; }
.write > span { display: block; font-weight: 600; margin-bottom: .5rem; }
.steps { margin: 1.5rem 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 1.3rem; padding: .9rem 0; border-top: 1px solid var(--rule); }
.steps strong { color: var(--blue); }
.steps p { margin: 0; }
.call { border-left: 4px solid var(--blue); padding: .4rem 0 .4rem 1.2rem; margin: 1.6rem 0; }
.next { border: 2px solid var(--blue); padding: 28px; margin: 2rem 0 0; }
.next h2 { font-size: 28px; }
.foot { border-top: 2px solid var(--blue); padding: 30px 0 40px; display: flex; justify-content: space-between; align-items: start; gap: 36px; font-size: 16px; }
.foot p { max-width: 52ch; margin: 0; }
.foot a { display: flex; align-items: center; flex: 0 0 auto; padding: .3rem 0; }
.pp { display: none; }

@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .frame { grid-template-columns: 190px minmax(0, 1fr); gap: 36px; }
  h1 { font-size: 48px; }
  .pair { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ref { max-width: 40ch; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .mast { padding: 20px 0; }
  .mast p { display: none; }
  .frame { display: block; }
  .index { position: static; padding-top: 22px; }
  .index ol { display: flex; flex-wrap: wrap; gap: 4px 12px; }
  .index p { margin-bottom: .45rem; }
  .index a { border-left: 0; border-bottom: 2px solid var(--rule); min-height: 48px; padding: .45rem .3rem; }
  .index .sub { display: none; }
  .index .jump { margin-top: 0; }
  .index a[aria-current='page'] { background: transparent; border-bottom-color: var(--blue); }
  main { padding-top: 36px; padding-bottom: 48px; }
  h1 { font-size: 42px; max-width: 19ch; letter-spacing: -.04em; }
  h2 { font-size: 29px; }
  h3 { font-size: 23px; }
  .hero { padding-bottom: 24px; }
  .intro { font-size: 20px; }
  .plan { grid-template-columns: minmax(0, 1fr) 94px; gap: 20px; }
  .orb { width: 92px; height: 92px; font-size: 17px; }
  .orb::before { inset: 6px; }
  .orb::after { width: 12px; height: 12px; right: -6px; top: -5px; }
  .chapter { padding-top: 28px; margin-bottom: 36px; }
  .chapter::before { left: 0; }
  .pad, .next { padding: 22px 18px; }
  .foot { display: block; padding-bottom: 28px; }
  .foot a { width: fit-content; margin-top: 1rem; }
}
@media (max-width: 380px) {
  h1 { font-size: 37px; }
  .plan { grid-template-columns: minmax(0, 1fr); }
  .orb { display: none; }
  .steps li { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
@media print {
  :root { --wash: #fff; --paper: #fff; --ink: #000; --blue: #193270; --rule: #888; --pale: #ddd; }
  body { font-size: 12pt; }
  .wrap { width: 100%; }
  .frame { display: block; }
  .index, .skip, .orb, button, .btn { display: none !important; }
  .mast { padding: 0 0 16pt; }
  main { padding: 22pt 0; }
  h1 { font-size: 30pt; max-width: 24ch; }
  h2 { font-size: 21pt; break-after: avoid; }
  h3 { font-size: 16pt; break-after: avoid; }
  .pair { grid-template-columns: minmax(0, 1fr) 135pt; gap: 16pt; }
  .pad { background: #fff; }
  .tick { min-height: 25pt; }
  textarea { min-height: 62pt; }
  .has-pp { display: none; }
  .pp { display: block; min-height: 32pt; border-bottom: 1px solid #888; white-space: pre-wrap; overflow-wrap: anywhere; padding: 8pt 0; }
  .foot { font-size: 12pt; padding: 16pt 0; }
  a { color: #193270; }
}
