/* New Jersey DDD, draft v6, 2026-11-17. Direction: Yona's Mintlify reference (mintlify.com) in Ameriwell's blues.
   A white page held in a hairline frame, two-tone section heads with a blue tick, fine moving line art, warm
   off-white cards, and many calm sections instead of a few loud ones. Instrument Sans only. */
:root {
  --ink: #0A2F6B;
  --blue: #0D47A1;
  --blue-2: #1E64C8;
  --text: #3A4560;
  --muted: #6E7890;
  --quiet: #8A93A8;
  --line: #E6E8EE;
  --card: #F7F6F3;
  --card-line: #E8E5DE;
  --mark: #7FD3FA;
  --sky: #DCF1FB;
  --w: 1600px;
  --pad: 28px;
  --sans: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; overflow-x: hidden; }
body { margin: 0; background: #fff; color: var(--text); font: 400 1rem/1.6 var(--sans); overflow-x: clip; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 500; margin: 0; letter-spacing: -.025em; }
.i, .arrow { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.arrow { transition: transform .16s var(--ease); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mark { background: linear-gradient(transparent 60%, var(--mark) 60%); padding: 0 .04em; }

/* The frame: every band is full width with a hairline under it; its content sits in a column with hairline sides. */
.band { position: relative; border-bottom: 1px solid var(--line); }
.frame { position: relative; max-width: calc(var(--w) + 2px); margin: 0 auto; padding: 0 var(--pad); border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.frame.flush { padding: 0; }
.gap { height: 120px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid var(--ink); border-radius: 7px; background: var(--ink); color: #fff; font: 500 .9375rem var(--sans); white-space: nowrap; cursor: pointer; transition: background .16s var(--ease), border-color .16s var(--ease); }
.btn .arrow { width: 16px; height: 16px; }
.btn:hover { background: var(--blue); border-color: var(--blue); }
.btn:hover .arrow { transform: translateX(2px); }
.btn.ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.lg { height: 50px; padding: 0 20px; font-size: 1rem; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--ink); cursor: pointer; transition: border-color .16s var(--ease), opacity .16s; }
.icon-btn:hover:not(:disabled) { border-color: var(--ink); }
.icon-btn:disabled { opacity: .35; cursor: default; }
.icon-btn.back .arrow { transform: scaleX(-1); }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 500; font-size: .875rem; }
.link .arrow { width: 15px; height: 15px; }
.link:hover .arrow { transform: translateX(2px); }

/* Notice and header */
.notice { background: var(--ink); color: #C9D6EE; font-size: .8125rem; }
.notice .frame { border: 0; display: flex; justify-content: space-between; gap: 16px; padding-top: 9px; padding-bottom: 9px; }
.notice b { color: #fff; font-weight: 600; }
.notice a { color: #fff; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top .frame { border: 0; display: flex; align-items: center; gap: 20px; height: 68px; }
.lockup { display: flex; align-items: center; gap: 14px; color: var(--ink); flex: none; }
.lockup .name { display: flex; flex-direction: column; font-size: 1rem; font-weight: 600; line-height: 1.1; letter-spacing: -.015em; white-space: nowrap; }
.lockup .name small { font-size: .75rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.lockup .by { display: flex; align-items: center; gap: 8px; padding-left: 14px; border-left: 1px solid var(--line); font-size: .6875rem; color: var(--muted); line-height: 1.15; white-space: nowrap; }
.lockup .by img { height: 21px; width: auto; }
/* :where keeps these header-nav rules as weak as a bare "nav" selector, without reaching the pager or the footer */
:where(#nav) { margin: 0 auto; }
:where(#nav) ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
:where(#nav) a { display: block; padding: 7px 11px; border-radius: 6px; font-size: .875rem; font-weight: 500; color: var(--text); transition: background .16s var(--ease), color .16s var(--ease); }
:where(#nav) a:hover, :where(#nav) a[aria-current="page"] { background: var(--card); color: var(--ink); }
.top .actions { display: flex; gap: 8px; flex: none; }
.menu { display: none; font: 500 .9375rem var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 0 14px; height: 44px; cursor: pointer; }


/* Section heads: a dark line, a grey line, a blue tick on the frame edge, tools on the right */
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-top: 112px; padding-bottom: 32px; }
.head h2 { position: relative; font-size: clamp(1.75rem, 2.7vw, 2.25rem); line-height: 1.16; max-width: 19em; }
.head h2::before { content: ''; position: absolute; left: calc(-1 * var(--pad) - 1px); top: .2em; width: 2px; height: 1em; background: var(--blue); }
.head h2 span { display: block; color: var(--quiet); }
.head.tight { padding-top: 72px; }
.head .tools { display: flex; align-items: center; gap: 8px; flex: none; }

/* Hero */
.hero .frame { padding-top: 116px; padding-bottom: 96px; text-align: center; }
.hero-copy { max-width: 1060px; margin: 0 auto; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 3px 10px 3px 3px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .8125rem; color: var(--text); transition: border-color .16s var(--ease); }
.pill b { align-self: stretch; display: inline-flex; align-items: center; background: var(--sky); color: var(--ink); font-weight: 600; font-size: .75rem; padding: 2px 8px; border-radius: 999px; }
.pill .arrow { width: 14px; height: 14px; color: var(--muted); }
.pill:hover { border-color: var(--ink); }
.pill:hover .arrow { transform: translateX(2px); }
.hero h1 { font-size: clamp(2.75rem, 6.4vw, 5rem); line-height: 1; letter-spacing: -.046em; margin-top: 28px; text-wrap: balance; }
.hero-copy > p { font-size: 1.25rem; margin: 26px auto 0; max-width: 33em; }
.finder { display: flex; gap: 8px; max-width: 720px; margin: 42px auto 0; }
.finder .search { position: relative; flex: 1; }
.finder input { width: 100%; height: 64px; border: 1px solid #D5DAE4; border-radius: 10px; background: #fff; padding: 0 16px 0 54px; font: 400 1.125rem var(--sans); color: var(--ink); transition: border-color .16s var(--ease); }
.finder input::placeholder { color: var(--quiet); }
.finder input:hover { border-color: #CDD2DD; }
.finder input:focus { outline: none; border-color: var(--ink); }
.finder .btn { height: 64px; padding: 0 30px; border-radius: 10px; font-size: 1.0625rem; }
.finder .search .i { width: 22px; height: 22px; position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.popular { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 18px; font-size: .875rem; color: var(--muted); }
.popular a { padding: 3px 10px; border: 1px solid var(--card-line); border-radius: 999px; background: var(--card); color: var(--ink); font-weight: 500; transition: border-color .16s var(--ease); }
.popular a:hover { border-color: var(--ink); }


/* Sources wall */
.wall .frame { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.wall-copy { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 28px; padding: 26px var(--pad); border-right: 1px solid var(--line); }
.wall-copy p { margin: 0; font-size: 1.3125rem; line-height: 1.32; letter-spacing: -.015em; color: var(--quiet); }
.wall-copy p b { color: var(--ink); font-weight: 500; }
.wall-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 8px; }
.src { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; min-height: 120px; padding: 16px; background: var(--card); border: 1px solid var(--card-line); border-radius: 6px; color: var(--ink); transition: border-color .16s var(--ease); }
.src b { font-size: .9375rem; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
.src span { display: flex; justify-content: space-between; align-items: center; font-size: .75rem; color: var(--muted); }
.src .i { width: 14px; height: 14px; }
.src:hover { border-color: var(--ink); }


.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 10px; padding: 10px; }






/* The four paths: one graphic per card, cropped by the card's own edge */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 10px; padding: 10px; }
.card { position: relative; grid-column: span 4; display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--card); border: 1px solid var(--card-line); border-radius: 10px; color: var(--ink); transition: border-color .2s var(--ease); }
.card:hover { border-color: #CFC9BE; }
.card.wide { grid-column: span 8; }
.card .art { position: relative; flex: 1; min-height: 260px; overflow: hidden; }
.card .body { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2px 16px; padding: 18px 22px 22px; }
.card h3 { grid-column: 1; font-size: 1.375rem; line-height: 1.2; }
.card .body p { grid-column: 1; margin: 0; font-size: .9375rem; color: var(--muted); }
.card .link { grid-column: 2; grid-row: 1 / 3; }
.card:hover .link .arrow { transform: translateX(2px); }

.card.school { background: var(--ink); border-color: var(--ink); color: #fff; }
.card.school h3 { color: #fff; font-size: 1.625rem; }
.card.school .body p { color: #A9BCE0; }
.card.school .link { color: var(--mark); }
.big { position: absolute; right: -18px; bottom: -118px; font-size: 24rem; line-height: 1; font-weight: 500; letter-spacing: -.08em; color: transparent; background: linear-gradient(170deg, var(--mark) 10%, rgba(127, 211, 250, 0) 70%); -webkit-background-clip: text; background-clip: text; }
.road { position: absolute; left: 30px; right: 50%; top: 92px; height: 2px; background: rgba(255, 255, 255, .18); }
.road::before { content: ''; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--mark); animation: road-fill 8s var(--ease) infinite; }
.road .dot { position: absolute; left: 0; top: -6px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #fff; border: 3px solid var(--mark); animation: road-dot 8s var(--ease) infinite; }
.road i { position: absolute; left: var(--x); top: 20px; font-style: normal; font-size: .8125rem; color: #A9BCE0; white-space: nowrap; transform: translateX(-50%); text-align: center; }
.road i:first-of-type { transform: none; text-align: left; }
.road i:last-of-type { transform: translateX(-100%); text-align: right; }
.road i b { display: block; font-size: 1.75rem; line-height: 1.1; font-weight: 500; letter-spacing: -.03em; color: #fff; }
.road i::before { content: ''; position: absolute; top: -25px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: rgba(255, 255, 255, .45); }
.road i:first-of-type::before { left: 0; margin-left: -4px; }
.road i:last-of-type::before { left: auto; right: 0; margin: 0 -4px 0 0; }
@keyframes road-dot { 0%, 8% { left: 0; } 38%, 50% { left: 50%; } 80%, 100% { left: 100%; } }
@keyframes road-fill { 0%, 8% { width: 0; } 38%, 50% { width: 50%; } 80%, 100% { width: 100%; } }

.ask { position: absolute; left: 26px; right: -70px; top: 36px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.ask-bar { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 14px; border: 1.5px solid var(--blue); border-radius: 8px; font-size: 1.0625rem; font-weight: 500; color: var(--ink); white-space: nowrap; }
.ask-bar .i { width: 18px; height: 18px; flex: none; color: var(--muted); }
.caret { width: 2px; height: 20px; margin-left: -8px; background: var(--blue); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ask-row { display: flex; align-items: center; gap: 12px; padding: 14px 6px 4px; }
.ask-row span:first-child { width: 20px; height: 20px; flex: none; border-radius: 6px; background: var(--sky); }
.ask-row span:last-child { height: 8px; width: 62%; border-radius: 4px; background: var(--line); }
.ask-row:nth-child(3) span:last-child { width: 48%; }
.ask-row:nth-child(4) span:last-child { width: 70%; }
.card.new .art { -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 96%); mask-image: linear-gradient(180deg, #000 62%, transparent 96%); }


.ok { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; background: var(--sky); color: var(--ink); font-size: .75rem; font-weight: 600; transition: transform .5s var(--out) 1.5s, opacity .4s var(--out) 1.5s; }
.ok .i { width: 12px; height: 12px; stroke-width: 2.4; }
.js .bento:not(.in) .ok { transform: scale(.6); opacity: 0; }

.card.photo { min-height: 360px; justify-content: flex-end; }
.card.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: transform .6s var(--ease); }
.card.photo:hover img { transform: scale(1.03); }
.card.photo .label { position: relative; margin: 12px; display: grid; gap: 2px; padding: 14px 16px; background: #fff; border-radius: 8px; font-size: .9375rem; color: var(--muted); }
.card.photo .label b { display: flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; font-size: 1.0625rem; }
.card.photo .label .arrow { width: 16px; height: 16px; }
.card.photo:hover .label .arrow { transform: translateX(2px); }

/* People: a slow reel of photos in mixed shapes, running edge to edge */
.reel { overflow: hidden; padding: 12px 0 16px; }
.reel-track { display: flex; width: max-content; animation: reel 80s linear infinite; }
.reel:hover .reel-track { animation-play-state: paused; }
.reel-set { display: flex; align-items: flex-start; gap: 12px; padding-right: 12px; }
.reel figure { flex: none; margin: 0; overflow: hidden; background: var(--card); }
.reel img { width: 100%; height: 100%; object-fit: cover; }
.reel .tall { width: 250px; height: 340px; border-radius: 125px 125px 12px 12px; }
.reel .wide { width: 430px; height: 290px; margin-top: 50px; border-radius: 12px; }
.reel .square { width: 290px; height: 290px; margin-top: 22px; border-radius: 50%; }
@keyframes reel { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .reel { overflow-x: auto; }
  .reel-track, .road::before, .road .dot, .caret { animation: none; }
  .road::before { width: 100%; }
  .road .dot { left: 100%; }
}

@media (max-width: 1000px) {
  .card, .card.wide { grid-column: span 6; }
  .card.school { grid-column: span 12; }
}
@media (max-width: 760px) {
  .card, .card.wide, .card.school { grid-column: span 12; }
  .card .art { min-height: 230px; }
  .card.school .art { min-height: 230px; }
  .big { font-size: 10rem; bottom: -40px; right: -8px; }
  .road { left: 22px; right: 22px; top: 48px; }
  .road i b { font-size: 1.375rem; }
  .card.photo { min-height: 300px; }
  .reel .tall { width: 170px; height: 230px; border-radius: 85px 85px 10px 10px; }
  .reel .wide { width: 290px; height: 196px; margin-top: 34px; }
  .reel .square { width: 196px; height: 196px; margin-top: 16px; }
}

/* Gradient bars: one runs in from the left, one from the right, and they overlap in the middle */
.bars { position: relative; height: 136px; overflow: hidden; }
.bars i { position: absolute; width: 64%; height: 50%; transition: transform 1.2s var(--ease); }
.bars i:first-child { top: 0; left: 0; transform-origin: 0 50%; background: linear-gradient(90deg, var(--ink), var(--blue-2) 55%, var(--mark)); }
.bars i:last-child { bottom: 0; right: 0; transform-origin: 100% 50%; background: linear-gradient(270deg, var(--ink), var(--blue-2) 55%, var(--mark)); transition-delay: .15s; }
.bars.flip i:first-child { left: auto; right: 0; transform-origin: 100% 50%; background: linear-gradient(270deg, var(--ink), var(--blue-2) 55%, var(--mark)); }
.bars.flip i:last-child { right: auto; left: 0; transform-origin: 0 50%; background: linear-gradient(90deg, var(--ink), var(--blue-2) 55%, var(--mark)); }
.js .bars:not(.in) i { transform: scaleX(0); }

/* Who makes this guide */
.aw { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 10px; padding: 10px; }
.aw-photo { margin: 0; min-height: 520px; overflow: hidden; border-radius: 8px; }
.aw-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.aw-copy { display: flex; flex-direction: column; padding: 30px; background: var(--card); border: 1px solid var(--card-line); border-radius: 8px; }
.aw-logo { width: 150px; height: auto; }
.aw-lede { margin: 26px 0 0; font-size: 1.1875rem; line-height: 1.5; color: var(--ink); letter-spacing: -.01em; }
.aw-note { margin: 12px 0 0; font-size: .9375rem; color: var(--muted); }
.aw-copy h3 { margin-top: 28px; font-size: .8125rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.aw-list { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--card-line); }
.aw-list a { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--card-line); font-weight: 500; color: var(--ink); }
.aw-list .arrow { width: 16px; height: 16px; color: var(--quiet); transition: transform .16s var(--ease), color .16s var(--ease); }
.aw-list a:hover .arrow { transform: translateX(2px); color: var(--ink); }
.aw-addr { display: flex; align-items: center; gap: 8px; margin: auto 0 0; padding-top: 24px; font-size: .875rem; color: var(--muted); }
.aw-addr .i { width: 16px; height: 16px; flex: none; }

/* Photo panels in the guides rail */
.g-art.photo { place-items: end start; padding: 14px; }
.g-art.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.g-card:hover .g-art.photo img { transform: scale(1.03); }
.g-art.photo .g-icon { width: 52px; height: 52px; border-radius: 12px; }
.g-art.photo .g-icon .i { width: 24px; height: 24px; }
.g-card:hover .g-art.photo .g-icon { transform: none; }

/* The road to 21 */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.steps li { padding: 30px var(--pad) 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps li:nth-child(3n) { border-right: 0; }
.steps li:nth-last-child(-n+3) { border-bottom: 0; }
.steps .i { width: 20px; height: 20px; color: var(--quiet); }
.steps b { display: block; margin: 14px 0 4px; font-size: 1.875rem; font-weight: 400; line-height: 1.1; letter-spacing: -.035em; color: var(--ink); }
.steps span { font-size: .9375rem; }
.steps li:last-child b { color: var(--blue); }
.source { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; font-size: .8125rem; color: var(--muted); }

/* Most-read guides rail: starts at the frame's left edge and runs off the right of the page */
.rail { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 10px 10px 30px; scroll-padding-left: 10px; }
.rail::-webkit-scrollbar { display: none; }
.g-card { flex: 0 0 272px; scroll-snap-align: start; color: var(--ink); }
.g-art { position: relative; height: 300px; display: grid; place-items: center; overflow: hidden; border-radius: 8px; background: var(--c); }
.g-icon { position: relative; z-index: 1; width: 68px; height: 68px; display: grid; place-items: center; background: #fff; border-radius: 14px; color: var(--ink); transition: transform .3s var(--ease); }
.g-icon .i { width: 30px; height: 30px; stroke-width: 1.5; }
.g-card:hover .g-icon { transform: translateY(-4px); }
.g-card p { margin: 12px 2px 0; font-size: .875rem; line-height: 1.45; color: var(--muted); }
.g-card p b { color: var(--ink); font-weight: 600; }
.g-card .link { margin: 10px 2px 0; }

/* Numbers families ask for */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 10px; }
.num { display: flex; flex-direction: column; gap: 22px; min-height: 220px; padding: 18px; background: var(--card); border: 1px solid var(--card-line); border-radius: 8px; }
.num .who { display: flex; align-items: center; gap: 12px; }
.num .ic { width: 38px; height: 38px; flex: none; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 7px; color: var(--blue); }
.num .who b { display: block; color: var(--ink); font-size: .9375rem; font-weight: 600; line-height: 1.25; }
.num .who span { font-size: .8125rem; color: var(--muted); }
.num .tel { margin-top: auto; font-size: 1.75rem; line-height: 1.1; letter-spacing: -.025em; color: var(--ink); font-variant-numeric: tabular-nums; }
.num .tel:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.num small { display: block; margin-top: -14px; font-size: .8125rem; color: var(--muted); }

/* Updates */
.post { color: var(--ink); }
.post .g-art { height: 210px; }
.post time { display: block; margin-top: 14px; font-size: .8125rem; color: var(--muted); }
.post h3 { font-size: 1.125rem; line-height: 1.3; margin-top: 2px; }
.post p { margin: 4px 0 18px; font-size: .875rem; color: var(--muted); }
.post:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* Talk to a person */
.cta .frame { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 40px; padding-bottom: 40px; overflow: hidden; }
.cta-copy { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; }
.cta h2 span { display: block; color: var(--quiet); }
.cta .tools { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cta small { display: block; margin-top: 10px; font-size: .8125rem; color: var(--muted); }

/* Questions */
.faq .frame { padding-top: 88px; padding-bottom: 96px; }
.faq-in { max-width: 720px; margin: 0 auto; }
.faq h2 { font-size: 2rem; margin-bottom: 24px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; list-style: none; cursor: pointer; color: var(--ink); font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { margin-top: 3px; color: var(--muted); transition: transform .2s var(--ease); }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { margin: -4px 0 18px; max-width: 40em; }
.faq details a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
.foot .frame { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 32px; padding-top: 56px; padding-bottom: 56px; }
.foot p { margin: 18px 0 0; max-width: 30em; font-size: .875rem; color: var(--muted); }
.foot h4 { margin: 4px 0 12px; font-size: .8125rem; font-weight: 600; letter-spacing: 0; }
.foot ul { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: .875rem; }
.foot ul a { color: var(--muted); transition: color .16s var(--ease); }
.foot ul a:hover { color: var(--ink); }
.legal { border-bottom: 0; }
.legal .frame { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 18px; padding-bottom: 28px; font-size: .8125rem; color: var(--muted); }

/* Resources page */
.page-hero { overflow: hidden; }
.page-hero .frame { padding-top: 72px; padding-bottom: 44px; }
.page-hero h1 { position: relative; font-size: clamp(2.5rem, 4.7vw, 3.5rem); line-height: 1.05; letter-spacing: -.042em; }
.page-hero p { position: relative; margin: 16px 0 0; max-width: 34em; font-size: 1.125rem; }
.controls { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; max-width: 880px; margin-top: 32px; padding: 18px; background: var(--card); border: 1px solid var(--card-line); border-radius: 10px; }
.field-label { display: block; margin: 0 0 6px; font-size: .8125rem; font-weight: 500; color: var(--muted); }
.controls .search, .select { position: relative; }
.controls .search input, .select select { width: 100%; height: 50px; padding: 0 42px 0 14px; background: #fff; border: 1px solid var(--line); border-radius: 8px; font: 400 1rem var(--sans); color: var(--ink); -webkit-appearance: none; appearance: none; transition: border-color .16s var(--ease); }
.controls .search input::placeholder { color: var(--quiet); }
.controls .search input:hover, .select select:hover { border-color: #CDD2DD; }
.controls .search input:focus, .select select:focus { outline: none; border-color: var(--ink); }
.controls .search .i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.select::after { content: ''; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.count { margin: 0; font-size: .875rem; color: var(--muted); white-space: nowrap; }
.count button { font: inherit; color: var(--ink); background: none; border: 0; padding: 0 0 0 10px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.topics { display: flex; flex-wrap: wrap; gap: 4px; padding-top: 12px; padding-bottom: 12px; }
.topic { font: 500 .875rem var(--sans); color: var(--muted); background: none; border: 1px solid transparent; border-radius: 999px; padding: 6px 12px; cursor: pointer; transition: background .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease); }
.topic:hover { color: var(--ink); border-color: var(--line); }
.topic[aria-pressed="true"] { color: var(--ink); background: var(--sky); border-color: var(--sky); }
.list { display: grid; grid-template-columns: 1fr 1fr; list-style: none; margin: 0; padding: 0; }
.item a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; height: 100%; padding: 22px var(--pad); border-bottom: 1px solid var(--line); transition: background .16s var(--ease); }
.list .item:nth-child(odd of :not([hidden])) a { border-right: 1px solid var(--line); }
.item a:hover { background: var(--card); }
.item .t { font-size: 1.125rem; font-weight: 500; line-height: 1.3; color: var(--ink); letter-spacing: -.01em; }
.item .d { grid-column: 1; font-size: .9375rem; color: var(--muted); }
.item .k { grid-column: 2; grid-row: 1; padding: 2px 8px; align-self: start; border: 1px solid var(--card-line); border-radius: 999px; background: var(--card); font-size: .75rem; font-weight: 500; color: var(--muted); white-space: nowrap; }
.item mark { background: var(--mark); color: inherit; }
.item[hidden] { display: none; }
.empty { padding: 36px var(--pad); color: var(--muted); }
.empty b { display: block; color: var(--ink); font-weight: 500; font-size: 1.25rem; }
.empty a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1000px) {
  #nav { display: none; }
  .menu { display: block; margin-left: auto; }
  .aw { grid-template-columns: 1fr 1fr; }
  .wall .frame { grid-template-columns: 1fr; }
  .wall-copy { border-right: 0; border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3n) { border-right: 1px solid var(--line); }
  .steps li:nth-child(2n) { border-right: 0; }
  .steps li:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .steps li:nth-last-child(-n+2) { border-bottom: 0; }
  .foot .frame { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot .frame > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --pad: 20px; }
  .notice .frame { flex-direction: column; gap: 0; }
  .top .actions { display: none; }
  .lockup { gap: 12px; }
  .lockup .by { padding-left: 12px; }
  .lockup .by img { height: 18px; }
  .gap { height: 72px; }
  .head { flex-direction: column; align-items: flex-start; padding-top: 88px; padding-bottom: 24px; }
  .hero .frame { padding-top: 32px; padding-bottom: 48px; }
  .finder input, .finder .btn { height: 56px; }
  .finder .btn { padding: 0 18px; }
  .finder input { padding-left: 46px; font-size: 1rem; }
  .finder .search .i { left: 16px; }
  .bars { height: 88px; }
  .aw { grid-template-columns: 1fr; }
  .aw-photo { min-height: 260px; height: 260px; }
  .aw-copy { padding: 22px; }
  .hero-copy > p { font-size: 1.0625rem; }
  .wall-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li:nth-child(3n), .steps li:nth-child(2n) { border-right: 0; border-bottom: 1px solid var(--line); }
  .steps li:last-child { border-bottom: 0; }
  .g-card { flex-basis: 248px; }
  .g-art { height: 260px; }
  .cards3 { grid-template-columns: 1fr; }
  .num { min-height: 0; }
  .cta .frame { flex-direction: column; align-items: flex-start; }
  .faq .frame { padding-top: 64px; padding-bottom: 64px; }
  .foot .frame { grid-template-columns: 1fr 1fr; }
  .controls { grid-template-columns: 1fr; }
  .head .count { white-space: normal; }
  .topics { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .topic { white-space: nowrap; }
  .list { grid-template-columns: 1fr; }
  .list .item:nth-child(odd of :not([hidden])) a { border-right: 0; }
  .item a { grid-template-columns: 1fr; }
  .item .k { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 4px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Guide page ---------- */
.crumbs .frame { padding-top: 12px; padding-bottom: 12px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin: 0; padding: 0; font-size: .8125rem; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--quiet); }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }

.doc { display: grid; grid-template-columns: 252px minmax(0, 1fr) 236px; align-items: start; }
.doc-nav, .doc-toc { align-self: stretch; }
.doc-nav { border-right: 1px solid var(--line); }
.doc-nav-toggle { display: none; }
.doc-nav-inner { position: sticky; top: 68px; max-height: calc(100vh - 68px); overflow-y: auto; padding: 24px 14px 32px; scrollbar-width: thin; }
.doc-search { position: relative; margin-bottom: 8px; }
.doc-search input { width: 100%; height: 40px; padding: 0 10px 0 34px; border: 1px solid var(--line); border-radius: 7px; font: 400 .875rem var(--sans); color: var(--ink); background: #fff; }
.doc-search input:focus { outline: none; border-color: var(--ink); }
.doc-search .i { position: absolute; left: 11px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--muted); }
.grp { margin-top: 18px; }
.grp b { display: block; padding: 0 8px 4px; font-size: .75rem; font-weight: 500; color: var(--quiet); }
.grp a { display: block; padding: 5px 8px; border-radius: 6px; font-size: .875rem; line-height: 1.35; color: var(--text); transition: background .16s var(--ease), color .16s var(--ease); }
.grp a:hover { background: var(--card); color: var(--ink); }
.grp a[aria-current] { background: var(--sky); color: var(--ink); font-weight: 600; }
.doc-all { display: inline-flex; align-items: center; gap: 6px; margin: 22px 8px 0; font-size: .875rem; font-weight: 500; color: var(--blue); }
.doc-all .arrow { width: 15px; height: 15px; }

.doc-main { min-width: 0; padding: 52px 56px 80px; }
.doc-main > * { max-width: 700px; }
.doc-main > p { margin: 0 0 16px; font-size: 1.0625rem; line-height: 1.7; }
.doc-main p a, .doc-main li a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.eyebrow { font-size: .8125rem; font-weight: 600; color: var(--blue); }
.doc-head h1 { margin-top: 10px; font-size: clamp(2.25rem, 4vw, 3.25rem); line-height: 1.06; letter-spacing: -.04em; }
.dek { margin: 16px 0 0; font-size: 1.25rem; line-height: 1.5; }
.doc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 22px; font-size: .8125rem; color: var(--muted); }
.chk { display: inline-flex; align-items: center; gap: 7px; padding: 3px 11px; border: 1px solid var(--card-line); border-radius: 999px; background: var(--card); color: var(--ink); }
.chk i { width: 7px; height: 7px; border-radius: 50%; background: #2E9E6A; }
.doc-actions { display: flex; gap: 8px; margin-top: 18px; }
.btn.sm { height: 34px; padding: 0 12px; font-size: .8125rem; }
.btn.sm .i { width: 15px; height: 15px; }
.doc-photo { margin: 34px 0 30px; overflow: hidden; border-radius: 10px; aspect-ratio: 16 / 8; background: var(--card); }
.doc-photo img { width: 100%; height: 100%; object-fit: cover; }

.doc-main h2 { margin: 68px 0 14px; font-size: 1.75rem; line-height: 1.2; scroll-margin-top: 92px; }
.doc-main h2 small { display: block; margin-bottom: 6px; font-size: .8125rem; font-weight: 600; letter-spacing: 0; color: var(--blue); }
.short { margin: 30px 0 0; padding: 22px 26px; background: var(--sky); border-radius: 10px; }
.doc-main .short h2 { margin: 0 0 8px; font-size: 1.125rem; letter-spacing: -.01em; }
.short ul, .ticks { list-style: none; margin: 0; padding: 0; }
.short li, .ticks li { position: relative; padding: 5px 0 5px 22px; line-height: 1.55; }
.short li::before, .ticks li::before { content: ''; position: absolute; left: 2px; top: .95em; width: 9px; height: 2px; background: var(--blue); }
.ticks li { font-size: 1.0625rem; }
.ticks b { color: var(--ink); font-weight: 600; }

.getapp { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 30px; }
.form-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: 10px; transition: border-color .16s var(--ease); }
.form-card:hover { border-color: var(--ink); }
.form-card .tag { align-self: flex-start; padding: 2px 9px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .75rem; font-weight: 500; }
.form-card .tag.light { background: var(--sky); color: var(--ink); }
.form-card b { margin-top: 8px; font-size: 1.25rem; font-weight: 500; color: var(--ink); letter-spacing: -.015em; }
.form-card > span:not(.tag) { font-size: .9375rem; color: var(--muted); line-height: 1.5; }
.form-card em { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; font-style: normal; font-size: .875rem; font-weight: 600; color: var(--blue); }
.form-card em .i { width: 14px; height: 14px; }
.doc-main .small { margin-top: 12px; font-size: .875rem; color: var(--muted); }

.when { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); }
.when li { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.when b { color: var(--ink); font-weight: 600; }
.when .end b { color: var(--blue); }

.routes { display: grid; gap: 8px; margin: 6px 0 20px; }
.routes div { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 4px 16px; }
.routes div { padding: 16px; background: var(--card); border: 1px solid var(--card-line); border-radius: 8px; }
.routes b { color: var(--ink); font-weight: 600; }
.routes span { font-size: .9375rem; line-height: 1.5; }

.decide { margin: 6px 0 0; border-bottom: 1px solid var(--line); }
.decide div { padding: 15px 0; border-top: 1px solid var(--line); }
.decide dt { color: var(--ink); font-weight: 500; }
.decide dd { margin: 4px 0 0; color: var(--muted); }
.decide dd b { color: var(--ink); }

.checklist { margin-top: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
.cl-top { display: flex; align-items: center; gap: 16px; padding: 14px 20px; background: var(--card); border-bottom: 1px solid var(--line); }
.cl-top b { color: var(--ink); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cl-bar { flex: 1; height: 6px; overflow: hidden; border-radius: 99px; background: var(--line); }
.cl-bar i { display: block; width: 0; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--ink), var(--blue-2) 60%, var(--mark)); transition: width .3s var(--ease); }
.cl-top .link { background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.checklist fieldset { margin: 0; padding: 16px 20px 10px; border: 0; border-bottom: 1px solid var(--line); }
.checklist legend { float: left; width: 100%; margin-bottom: 6px; padding: 0; font-size: .8125rem; font-weight: 500; color: var(--muted); }
.checklist legend em { font-style: normal; color: var(--quiet); font-weight: 400; margin-left: 6px; }
.checklist label { clear: both; display: flex; align-items: flex-start; gap: 12px; padding: 7px 0; cursor: pointer; color: var(--ink); line-height: 1.45; }
.checklist input { flex: none; width: 19px; height: 19px; margin: 1px 0 0; accent-color: var(--blue); cursor: pointer; }
.checklist input:checked + span { color: var(--quiet); text-decoration: line-through; text-decoration-thickness: 1px; }
.cl-more { margin: 0; padding: 14px 20px 16px; font-size: .875rem; color: var(--muted); }
.cl-more b { color: var(--ink); font-weight: 600; }

.help { display: grid; grid-template-columns: 180px minmax(0, 1fr); margin: 44px 0 0; overflow: hidden; border-radius: 12px; background: var(--ink); color: #fff; }
.help img { width: 100%; height: 100%; object-fit: cover; }
.help div { padding: 22px 24px; }
.help b { font-size: 1.25rem; font-weight: 500; letter-spacing: -.015em; }
.help p { margin: 6px 0 14px; color: #C9D6EE; font-size: .9375rem; }
.help .btn { background: #fff; border-color: #fff; color: var(--ink); }
.help .btn:hover { background: var(--sky); border-color: var(--sky); }
.help small { display: block; margin-top: 10px; font-size: .75rem; color: #A9BCE0; }

.addr { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 0; }
.addr address { padding: 16px 18px; background: var(--card); border: 1px solid var(--card-line); border-radius: 8px; font-style: normal; font-size: .9375rem; line-height: 1.55; }
.addr b { display: block; margin-bottom: 4px; color: var(--ink); font-weight: 600; }
.finder-box { margin-top: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; }
.finder-box label { display: block; margin-bottom: 10px; font-size: .9375rem; }
.finder-box label b { color: var(--ink); font-weight: 600; }
.finder-box .select { max-width: 360px; }
.office { display: grid; gap: 2px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.office[hidden] { display: none; }
.office b { color: var(--ink); font-weight: 600; }
.office span { font-size: .9375rem; color: var(--muted); }
.office a { margin-top: 4px; font-size: 1.375rem; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

.after { counter-reset: s; list-style: none; margin: 10px 0 0; padding: 0; }
.after li { position: relative; display: grid; gap: 2px; padding: 0 0 24px 46px; counter-increment: s; }
.after li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--sky); color: var(--ink); font-size: .875rem; font-weight: 600; }
.after li:not(:last-child)::after { content: ''; position: absolute; left: 14px; top: 32px; bottom: 4px; width: 2px; background: var(--line); }
.after b { color: var(--ink); font-weight: 600; font-size: 1.0625rem; }

.doc-faq { border-bottom: 1px solid var(--line); }
.doc-faq details { border-top: 1px solid var(--line); }
.doc-faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; color: var(--ink); font-weight: 500; font-size: 1.0625rem; cursor: pointer; list-style: none; }
.doc-faq summary::-webkit-details-marker { display: none; }
.doc-faq summary::after { content: "+"; color: var(--muted); font-size: 1.25rem; line-height: 1; }
.doc-faq details[open] summary::after { content: "\2212"; }
.doc-faq p { margin: -4px 0 18px; }

.sources { margin-top: 52px; border: 1px solid var(--line); border-radius: 10px; }
.sources summary { padding: 14px 18px; color: var(--ink); font-weight: 600; cursor: pointer; }
.sources summary span { margin-left: 8px; font-weight: 400; font-size: .8125rem; color: var(--muted); }
.sources ul { margin: 0; padding: 0 18px 16px 36px; font-size: .875rem; line-height: 1.8; }
.disclaim { margin-top: 14px; font-size: .8125rem; color: var(--quiet); }
.useful { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 40px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.useful b { color: var(--ink); font-weight: 500; }
.useful div { display: flex; gap: 8px; }
.useful div[hidden], .useful p[hidden] { display: none; }
.useful p { margin: 0; color: var(--muted); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.pager a { display: block; padding: 14px 16px; font-size: .9375rem; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); font-weight: 500; transition: border-color .16s var(--ease); }
.pager a:last-child { text-align: right; }
.pager a:hover { border-color: var(--ink); }
.pager small { display: block; font-size: .75rem; font-weight: 400; color: var(--muted); }

.doc-toc { border-left: 1px solid var(--line); }
.toc-inner { position: sticky; top: 68px; padding: 52px 20px 24px; }
.toc-inner > b { font-size: .8125rem; font-weight: 600; color: var(--ink); }
.toc-inner ol { list-style: none; margin: 10px 0 0; padding: 0; }
.toc-inner ol a { display: block; padding: 5px 0 5px 12px; border-left: 2px solid var(--line); font-size: .8125rem; color: var(--muted); transition: color .16s var(--ease), border-color .16s var(--ease); }
.toc-inner ol a:hover { color: var(--ink); }
.toc-inner ol a[aria-current] { border-color: var(--blue); color: var(--ink); font-weight: 500; }
.toc-card { margin-top: 28px; padding: 16px; background: var(--card); border: 1px solid var(--card-line); border-radius: 10px; }
.toc-card img { width: 112px; height: auto; }
.toc-card p { margin: 10px 0 12px; font-size: .875rem; line-height: 1.45; color: var(--ink); }
.toc-card .btn { width: 100%; }

@media (max-width: 1100px) {
  .doc { grid-template-columns: 236px minmax(0, 1fr); }
  .doc-toc { display: none; }
  .doc-main { padding: 44px 40px 72px; }
}
@media (max-width: 860px) {
  .doc { grid-template-columns: minmax(0, 1fr); }
  .doc-nav { border-right: 0; border-bottom: 1px solid var(--line); }
  .doc-nav-toggle { display: flex; align-items: center; gap: 10px; width: 100%; height: 52px; padding: 0 var(--pad); border: 0; background: #fff; font: 500 .9375rem var(--sans); color: var(--ink); cursor: pointer; }
  .doc-nav-toggle .chev { margin-left: auto; transition: transform .2s var(--ease); }
  .doc-nav.open .chev { transform: rotate(180deg); }
  .doc-nav-inner { display: none; position: static; max-height: none; padding: 0 var(--pad) 24px; }
  .doc-nav.open .doc-nav-inner { display: block; }
  .doc-main { padding: 32px var(--pad) 64px; }
}
@media (max-width: 760px) {
  .doc-head h1 { font-size: 2.125rem; }
  .dek { font-size: 1.125rem; }
  .doc-main h2 { margin-top: 52px; font-size: 1.5rem; }
  .getapp, .addr, .pager, .routes div { grid-template-columns: 1fr; }
  .when li { grid-template-columns: 1fr; gap: 2px; }
  .help { grid-template-columns: 1fr; }
  .help img { height: 170px; }
  .pager a:last-child { text-align: left; }
  .cl-top { flex-wrap: wrap; }
  .cl-bar { order: 3; flex-basis: 100%; }
}
@media print {
  .notice, .top, .crumbs, .doc-nav, .doc-toc, .doc-actions, .help, .useful, .pager, footer, .bars, .cta, .related { display: none !important; }
  .doc { display: block; }
  .doc-main { padding: 0; }
}

/* ---------- Resources: topic shelves and the third filter ---------- */
.controls { grid-template-columns: 1.5fr 1fr 1fr; max-width: 1000px; }
.popular.left { justify-content: flex-start; margin-top: 16px; }
.hubs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 10px; }
.hub { display: flex; flex-direction: column; min-height: 300px; padding: 22px; background: var(--card); border: 1px solid var(--card-line); border-radius: 8px; }
.hub .g-icon { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); }
.hub .g-icon .i { width: 22px; height: 22px; }
.hub h3 { margin-top: 18px; font-size: 1.25rem; line-height: 1.2; }
.hub p { margin: 4px 0 14px; font-size: .9375rem; color: var(--muted); }
.hub ul { list-style: none; margin: 0 0 18px; padding: 0; border-top: 1px solid var(--card-line); }
.hub li a { display: block; padding: 8px 0; border-bottom: 1px solid var(--card-line); font-size: .9375rem; font-weight: 500; color: var(--ink); }
.hub li a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.hub .link { margin-top: auto; align-self: flex-start; padding: 0; background: none; border: 0; cursor: pointer; font-family: inherit; }
@media (max-width: 1000px) {
  .controls { grid-template-columns: 1fr 1fr; }
  .controls > div:first-child { grid-column: 1 / -1; }
  .hubs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .controls { grid-template-columns: 1fr; }
  .hubs { grid-template-columns: 1fr; }
  .hub { min-height: 0; }
}

/* Updates as quiet text cards */
#updates .post { display: flex; flex-direction: column; min-height: 200px; padding: 20px; background: var(--card); border: 1px solid var(--card-line); border-radius: 8px; transition: border-color .16s var(--ease); }
#updates .post:hover { border-color: var(--ink); }
.post-ic { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: auto; background: #fff; border: 1px solid var(--line); border-radius: 8px; color: var(--blue); }
.post-ic .i { width: 18px; height: 18px; }
#updates .post time { margin-top: 28px; }

/* ---------- Answer pages (guides/*.html) ---------- */
.answer { margin: 32px 0 0; padding: 24px 26px 26px; background: var(--sky); border-radius: 12px; }
.answer-k { font-size: .75rem; font-weight: 600; color: var(--blue); }
.doc-main .answer h2 { margin: 6px 0 10px; font-size: 1.375rem; line-height: 1.25; scroll-margin-top: 92px; }
.answer p { margin: 0; font-size: 1.125rem; line-height: 1.6; color: var(--ink); }
.answer a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.glance { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; margin: 12px 0 0; }
.glance div { padding: 14px 16px; background: var(--card); border: 1px solid var(--card-line); border-radius: 8px; }
.glance dt { font-size: .75rem; font-weight: 500; color: var(--muted); }
.glance dd { margin: 4px 0 0; font-size: 1.0625rem; font-weight: 600; line-height: 1.3; color: var(--ink); letter-spacing: -.01em; }
.h2-note { display: block; margin-top: 4px; font-size: .875rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.res-grp { margin-top: 18px; }
.res-grp h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: .875rem; font-weight: 600; letter-spacing: 0; color: var(--ink); }
.res-grp h3 span { padding: 0 7px; border-radius: 99px; background: var(--card); border: 1px solid var(--card-line); font-size: .75rem; font-weight: 500; color: var(--muted); }
.res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.res { display: flex; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); transition: border-color .16s var(--ease), background .16s var(--ease); }
.res:hover { border-color: var(--ink); }
.res-ic { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--sky); color: var(--blue); }
.res-ic .i { width: 17px; height: 17px; }
.res-t { display: grid; gap: 2px; min-width: 0; }
.res-t b { font-size: .9375rem; font-weight: 600; line-height: 1.3; }
.res-t > span { font-size: .8125rem; line-height: 1.45; color: var(--muted); }
.res-t em { font-style: normal; font-size: .75rem; color: var(--blue); overflow-wrap: anywhere; }
.doc-main > p a, .doc-main .ticks a, .doc-main .after a, .doc-main .tbl a, .doc-main .callout a, .doc-faq a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.doc-main > .ticks { margin: 0 0 16px; }
.tbl { margin: 8px 0 20px; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.tbl table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.tbl th { padding: 10px 14px; background: var(--card); border-bottom: 1px solid var(--line); text-align: left; font-size: .8125rem; font-weight: 600; color: var(--ink); }
.tbl td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.5; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td:first-child { font-weight: 600; color: var(--ink); }
.callout { margin: 8px 0 20px; padding: 16px 18px; background: var(--card); border: 1px solid var(--card-line); border-radius: 10px; }
.callout b { color: var(--ink); font-weight: 600; }
.callout p { margin: 4px 0 0; font-size: .9375rem; line-height: 1.6; }
.doc-main .after { margin-bottom: 12px; }
.help small a { color: #fff; text-decoration: underline; }
.rel .post { display: flex; flex-direction: column; min-height: 160px; padding: 20px; background: var(--card); border: 1px solid var(--card-line); border-radius: 8px; transition: border-color .16s var(--ease); }
.rel .post:hover { border-color: var(--ink); }
.rel .post time { margin-top: 24px; }
.sources li span { color: var(--quiet); font-size: .75rem; }
@media (max-width: 760px) {
  .res-grid { grid-template-columns: 1fr; }
  .answer { padding: 20px; }
  .answer p { font-size: 1.0625rem; }
  .tbl table { min-width: 520px; }
}

/* ---------- Phone tuning ---------- */
.toc-m, .res-more { display: none; }
@media (max-width: 1100px) {
  .toc-m { display: block; margin: 14px 0 0; border: 1px solid var(--line); border-radius: 10px; }
  .toc-m summary { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; color: var(--ink); font-weight: 600; cursor: pointer; list-style: none; }
  .toc-m summary::-webkit-details-marker { display: none; }
  .toc-m summary::after { content: "+"; color: var(--muted); font-size: 1.25rem; line-height: 1; }
  .toc-m[open] summary::after { content: "\2212"; }
  .toc-m ol { margin: 0; padding: 0 16px 12px 36px; }
  .toc-m li { padding: 5px 0; font-size: .9375rem; }
  .toc-m a { color: var(--blue); }
}
@media (max-width: 760px) {
  .nt-more { display: none; }
  .notice .frame { flex-direction: row; justify-content: space-between; align-items: center; gap: 10px; padding-top: 8px; padding-bottom: 8px; }
  .m-hide, [data-print] { display: none; }
  .doc-head h1 { font-size: 1.875rem; }
  .dek { margin-top: 12px; font-size: 1.0625rem; }
  .doc-meta { gap: 6px 12px; margin-top: 16px; }
  .doc-actions { margin-top: 12px; }
  .answer { margin-top: 22px; padding: 18px; }
  .doc-main .answer h2 { font-size: 1.1875rem; }
  .answer p { font-size: 1rem; }
  .glance { grid-template-columns: 1fr 1fr; gap: 6px; }
  .glance div { padding: 10px 12px; }
  .glance dd { font-size: .9375rem; }
  .res-grp { margin-top: 16px; }
  .res-grid { gap: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
  .res { gap: 10px; padding: 12px 14px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .res:last-child { border-bottom: 0; }
  .res-ic { width: 28px; height: 28px; border-radius: 7px; }
  .res-ic .i { width: 15px; height: 15px; }
  .res-t > span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .res-grp:not(.open) .res:nth-child(n+4) { display: none; }
  .res-grp:not(.open) .res:nth-child(3) { border-bottom: 0; }
  .res-more { display: block; margin-top: 6px; padding: 8px 0; background: none; border: 0; font: 600 .875rem var(--sans); color: var(--blue); cursor: pointer; }
  .res-grp.open .res-more { display: none; }
  .tbl { overflow: visible; border: 0; border-radius: 0; }
  .tbl table { min-width: 0; }
  .tbl thead { display: none; }
  .tbl tr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin-bottom: 6px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; }
  .tbl td { display: block; padding: 0; border: 0; font-size: .875rem; line-height: 1.4; }
  .tbl td::before { content: attr(data-label); display: block; margin-bottom: 1px; font-size: .6875rem; font-weight: 500; color: var(--muted); }
  .tbl td:first-child { grid-column: 1 / -1; font-size: .9375rem; }
  .tbl td:first-child::before { display: none; }
  .tbl td:last-child:nth-child(even) { grid-column: 1 / -1; }
  .tbl.long:not(.open) tbody tr:nth-child(n+7) { display: none; }
  .tbl.open .tbl-more { display: none; }
  .doc-main h2 { margin-top: 44px; font-size: 1.375rem; }
  .doc-main > p, .ticks li { font-size: 1rem; }
}
@media (max-width: 480px) {
  .lockup { gap: 10px; }
  .lockup .name { font-size: .9375rem; }
  .lockup .by { gap: 0; padding-left: 10px; font-size: 0; }
  .lockup .by img { height: 16px; }
  .menu { height: 40px; padding: 0 12px; }
}

/* Long emails and URLs wrap instead of pushing the page wider */
.doc-main, .glance div, .after li, .tbl td, .callout, .answer { min-width: 0; overflow-wrap: anywhere; }

/* =====================================================================
   v9, 2026-11-17: full-screen phone menu, smoother motion, the questions
   section that replaced the photo reel, and phone layouts for the guide
   and resources pages (bottom dock, bottom sheets, carousels).
   ===================================================================== */
:root { --out: cubic-bezier(.16, 1, .3, 1); --sheet: cubic-bezier(.32, .72, 0, 1); }
html.locked { overflow: hidden; }

/* Things rise into place as they scroll into view (site.js adds .rv, then .in) */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--out) var(--d, 0ms), transform 1.1s var(--out) var(--d, 0ms), border-color .2s var(--ease), background-color .2s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* Hero: the words rise in one by one, then the marker draws under "plain English." */
.hero .mark { background: linear-gradient(var(--mark), var(--mark)) no-repeat 0 100% / 100% 40%; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .04em; }
.hero .w { display: inline-block; }
.js .hero .w { opacity: 0; transform: translateY(.42em); filter: blur(10px); animation: word 1s var(--out) forwards; animation-delay: calc(var(--i) * 75ms + 120ms); }
.js .hero .mark { background-size: 0% 40%; animation: draw 1.1s cubic-bezier(.65, 0, .35, 1) 1s forwards; }
.js .hero .pill, .js .hero-copy > p, .js .hero .finder, .js .hero .popular { opacity: 0; animation: up .9s var(--out) forwards; }
.js .hero .pill { animation-delay: .05s; }
.js .hero-copy > p { animation-delay: .72s; }
.js .hero .finder { animation-delay: .86s; }
.js .hero .popular { animation-delay: 1s; }
@keyframes word { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes draw { to { background-size: 100% 40%; } }
@keyframes up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Leaving school soon: the whole 21, big and fading, cut by the card's bottom-right corner */
.card.school .art { position: static; min-height: 300px; }
.card.school .body { position: relative; z-index: 1; }
.card.school .big { right: .03em; bottom: .03em; font-size: clamp(14rem, 29vw, 25rem); line-height: .74; letter-spacing: -.07em; background: linear-gradient(158deg, var(--mark) 6%, rgba(127, 211, 250, .5) 42%, rgba(127, 211, 250, 0) 86%); -webkit-background-clip: text; background-clip: text; color: transparent; pointer-events: none; transition: transform 1.5s var(--out), opacity 1.3s var(--out); }
.js .bento:not(.in) .card.school .big { transform: translateY(16%); opacity: 0; }
.card.school:hover .big { transform: translateY(-2%); }

@media (max-width: 760px) {
  .card.school .art { min-height: 190px; }
  .card.school .big { font-size: 17.5rem; }
}

/* Menu button: two lines that cross into an X */
.menu { align-items: center; gap: 10px; }
.menu-i { position: relative; width: 16px; height: 10px; }
.menu-i i { position: absolute; left: 0; right: 0; top: 0; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform .45s var(--out), top .45s var(--out); }
.menu-i i:last-child { top: 8.5px; }
.menu[aria-expanded="true"] .menu-i i:first-child { top: 4.25px; transform: rotate(45deg); }
.menu[aria-expanded="true"] .menu-i i:last-child { top: 4.25px; transform: rotate(-45deg); }
@media (max-width: 1000px) {
  nav#nav { display: none !important; }
  .menu { display: inline-flex; margin-left: auto; }
}

/* The full-screen menu, below the header */
.mnav { position: fixed; left: 0; right: 0; top: 68px; bottom: 0; z-index: 40; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; background: #fff; clip-path: inset(0 0 100% 0); transition: clip-path .62s cubic-bezier(.77, 0, .18, 1); }
.mnav[hidden] { display: none; }
.mnav.open { clip-path: inset(0); }
.mnav-in { flex: 1; display: flex; flex-direction: column; padding: 18px var(--pad) 24px; }
.mnav-search { position: relative; }
.mnav-search .i { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); }
.mnav-search input { width: 100%; height: 54px; padding: 0 16px 0 46px; border: 1px solid #D5DAE4; border-radius: 10px; background: #fff; font: 400 1rem var(--sans); color: var(--ink); }
.mnav-search input:focus { outline: none; border-color: var(--ink); }
.mnav-links { list-style: none; margin: 12px 0 0; padding: 0; }
.mnav-links li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(26px); transition: opacity .35s var(--out), transform .5s var(--out); }
.mnav.open .mnav-links li { opacity: 1; transform: none; transition: opacity .7s var(--out), transform .9s var(--out); transition-delay: calc(var(--i) * 45ms + 160ms); }
.mnav-links a { display: block; padding: 12px 0 11px; font-size: clamp(1.875rem, 8.2vw, 2.75rem); font-weight: 500; line-height: 1.1; letter-spacing: -.04em; color: var(--ink); transition: color .2s var(--ease); }
.mnav-links a:active, .mnav-links a:hover { color: var(--blue); }
.mnav-links a[aria-current] { color: var(--blue); }
.mnav-foot { margin-top: auto; padding-top: 32px; opacity: 0; transform: translateY(12px); transition: opacity .3s var(--out), transform .4s var(--out); }
.mnav.open .mnav-foot { opacity: 1; transform: none; transition: opacity .8s var(--out) .45s, transform .9s var(--out) .45s; }
.mnav-foot p { margin: 0 0 14px; font-size: 1.125rem; font-weight: 500; line-height: 1.3; color: var(--ink); }
.mnav-foot p span { display: block; margin-top: 4px; font-size: .875rem; font-weight: 400; color: var(--muted); }
.mnav-foot .btn { width: 100%; }
.mnav-bars { position: relative; flex: none; height: 64px; overflow: hidden; }
.mnav-bars i { position: absolute; width: 64%; height: 50%; transform: scaleX(0); transition: transform .3s var(--out); }
.mnav-bars i:first-child { top: 0; left: 0; transform-origin: 0 50%; background: linear-gradient(90deg, var(--ink), var(--blue-2) 55%, var(--mark)); }
.mnav-bars i:last-child { bottom: 0; right: 0; transform-origin: 100% 50%; background: linear-gradient(270deg, var(--ink), var(--blue-2) 55%, var(--mark)); }
.mnav.open .mnav-bars i { transform: none; transition: transform 1.2s var(--out) .3s; }
.mnav.open .mnav-bars i:last-child { transition-delay: .42s; }

/* Popular searches: one line on phones */
@media (max-width: 760px) {
  .popular { flex-wrap: nowrap; justify-content: safe center; gap: 4px; margin-left: calc(-1 * var(--pad)); margin-right: calc(-1 * var(--pad)); padding: 0 var(--pad); overflow-x: auto; scrollbar-width: none; font-size: .78rem; }
  .popular::-webkit-scrollbar { display: none; }
  .popular > * { flex: none; white-space: nowrap; }
  .popular a { padding: 4px 7px; }
  .popular.left { justify-content: flex-start; }
}

/* Bottom sheets */
.sheet { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; background: rgba(10, 47, 107, 0); transition: background-color .42s var(--ease); }
.sheet[hidden] { display: none; }
.sheet.open { background: rgba(10, 47, 107, .34); }
.sheet-panel { width: 100%; max-height: 84vh; display: flex; flex-direction: column; padding-bottom: env(safe-area-inset-bottom); background: #fff; border-radius: 18px 18px 0 0; transform: translateY(100%); transition: transform .5s var(--sheet); }
.sheet.open .sheet-panel { transform: none; }
.sheet-panel.tall { height: 84vh; }
.sheet-panel::before { content: ''; flex: none; align-self: center; width: 40px; height: 4px; margin-top: 8px; border-radius: 4px; background: #D5DAE4; }
.sheet-h { flex: none; display: flex; justify-content: space-between; align-items: center; padding: 8px var(--pad) 10px; border-bottom: 1px solid var(--line); }
.sheet-h b { font-size: 1.0625rem; font-weight: 600; color: var(--ink); }
.sheet-h .sheet-x { padding: 10px 0 10px 16px; background: none; border: 0; font: 500 .9375rem var(--sans); color: var(--blue); cursor: pointer; }
.sheet-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px var(--pad); }
.sheet-body > div + div { margin-top: 16px; }
.sheet-body .select select { height: 54px; }
.sheet-foot { flex: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 8px; padding: 12px var(--pad) 16px; border-top: 1px solid var(--line); }
@media (min-width: 1001px) {
  .sheet[data-inline], .sheet[data-inline] .sheet-panel, .sheet[data-inline] .sheet-body { display: contents; }
  .sheet[data-inline] .sheet-h, .sheet[data-inline] .sheet-foot, .sheet[data-inline] .sheet-panel::before { display: none; }
  .sheet[data-inline] .sheet-body > div + div { margin-top: 0; }
}

/* Guide pages on phones: a bottom dock with the contents and all guides */
.dock { display: none; }
@media (max-width: 860px) {
  .doc-nav, .toc-m { display: none !important; }
  .doc { display: block; }
  .dock { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 25; display: flex; gap: 6px; padding: 6px; overflow: hidden; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 30px rgba(10, 47, 107, .12); transform: translateY(calc(100% + 28px)); transition: transform .55s var(--sheet); }
  .dock.on { transform: none; }
  .dock-bar { position: absolute; left: 0; right: 0; top: 0; height: 2px; }
  .dock-bar i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--ink), var(--blue-2), var(--mark)); }
  .dock-toc { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 14px; border: 0; border-radius: 11px; background: var(--card); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
  .dock-toc > span { display: grid; min-width: 0; line-height: 1.2; }
  .dock-toc small { font-size: .6875rem; color: var(--muted); }
  .dock-toc b { overflow: hidden; font-size: .9375rem; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
  .dock-toc .i { margin-left: auto; color: var(--muted); transform: rotate(180deg); }
  .dock-all { flex: none; display: grid; place-items: center; align-content: center; gap: 2px; width: 66px; height: 50px; border: 0; border-radius: 11px; background: var(--ink); color: #fff; font: 600 .6875rem var(--sans); cursor: pointer; }
  .dock-all .i { width: 18px; height: 18px; }
  body:has(#dock) footer .legal .frame { padding-bottom: 92px; }
  .crumbs ol { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .crumbs ol::-webkit-scrollbar { display: none; }
}
.sheet-toc { list-style: none; margin: 0; padding: 6px 0 10px; counter-reset: t; }
.sheet-toc li { counter-increment: t; }
.sheet-toc a { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 6px; padding: 12px var(--pad); font-size: 1rem; line-height: 1.35; color: var(--text); }
.sheet-toc a::before { content: counter(t, decimal-leading-zero); padding-top: 3px; font-size: .75rem; font-weight: 600; color: var(--quiet); font-variant-numeric: tabular-nums; }
.sheet-toc a[aria-current] { background: var(--sky); color: var(--ink); font-weight: 600; }
.sheet-toc a[aria-current]::before { color: var(--blue); }
.sheet-body.flush { padding: 0; }
.sheet-guides .doc-nav-inner { display: block !important; position: static; max-height: none; overflow: visible; padding: 0 0 12px; }
.sheet-guides .doc-search input { height: 48px; font-size: 1rem; }
.sheet-guides .grp a { padding: 10px 8px; font-size: .9375rem; }

/* Guide pages on phones: previous and next side by side, Read next as a swipe row */
@media (max-width: 760px) {
  .pager { grid-template-columns: 1fr 1fr; gap: 8px; }
  .pager a { padding: 12px 14px; font-size: .9375rem; line-height: 1.3; }
  .pager a:last-child { text-align: right; }
  .related .head { flex-direction: row; align-items: flex-end; padding-top: 64px; }
  .related .head .tools { display: none; }
  .rel { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 10px var(--pad) 18px; scroll-padding-left: var(--pad); }
  .rel::-webkit-scrollbar { display: none; }
  .rel .post { flex: 0 0 72%; min-height: 136px; scroll-snap-align: start; }
}

/* Resources on phones: compact head, sticky topics, shelves as a swipe row, a floating Filters button */
.fab { display: none; }
@media (max-width: 1000px) {
  .controls { grid-template-columns: 1fr; }
  .fab { position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 25; display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 500 .9375rem var(--sans); cursor: pointer; opacity: 0; transform: translate(-50%, 150%); transition: transform .55s var(--sheet), opacity .3s var(--ease); box-shadow: 0 10px 28px rgba(10, 47, 107, .24); }
  .fab.on { opacity: 1; transform: translate(-50%, 0); }
  .fab-n { min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 6px; border-radius: 99px; background: var(--mark); color: var(--ink); font-size: .75rem; font-weight: 600; }
  .fab-n[hidden] { display: none; }
}
@media (max-width: 760px) {
  .page-hero .frame { padding-top: 40px; padding-bottom: 28px; }
  .page-hero h1 { font-size: 2.5rem; }
  .page-hero p { font-size: 1rem; }
  .controls { margin-top: 20px; padding: 0; background: none; border: 0; }
  .controls .field-label[for="q"] { display: none; }
  .controls .search input { height: 54px; font-size: 1.0625rem; }
  #all > .band:has(.topics) { position: sticky; top: 68px; z-index: 5; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); }
  .topics { gap: 6px; padding-top: 10px; padding-bottom: 10px; }
  .topic { border-color: var(--line); }
  .hubs { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 10px var(--pad) 16px; scroll-padding-left: var(--pad); }
  .hubs::-webkit-scrollbar { display: none; }
  .hub { flex: 0 0 84%; scroll-snap-align: start; }
  .item a { padding: 16px var(--pad); gap: 2px; }
  .item .t { font-size: 1.0625rem; }
  .item .d { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .875rem; }
  .item .k { order: -1; margin: 0 0 4px; font-size: .6875rem; }
  #all .head { padding-top: 56px; }
  #all .head h2 span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .mnav, .mnav-links li, .mnav-foot, .mnav-bars i, .sheet, .sheet-panel, .dock, .fab, .qs-stack img { transition: none !important; }
}

/* Family caregiver: a two-week timesheet that fills in, gets submitted, then shows pay day */
.ts { position: absolute; left: 24px; right: -44px; top: 26px; padding: 16px 18px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.ts-h { display: flex; align-items: flex-start; gap: 14px; }
.ts-h b { display: block; font-size: .9375rem; font-weight: 600; color: var(--ink); }
.ts-h small { display: block; font-size: .75rem; color: var(--muted); }
.ts-cols { display: flex; align-items: flex-end; gap: 5px; height: 92px; margin-top: 14px; padding-bottom: 6px; border-bottom: 1px dashed #D5DAE4; }
.ts-cols i { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--blue-2), var(--ink)); transform-origin: 50% 100%; transition: transform .9s var(--out); transition-delay: calc(var(--k) * 45ms + .15s); }
.ts-cols i.off { background: var(--line); }
.ts-f { margin-top: 8px; }
.ts-f small { display: block; font-size: .75rem; color: var(--muted); }
.ts-f b { font-size: 1.75rem; font-weight: 500; line-height: 1.1; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.payday { position: absolute; right: 18px; bottom: 16px; display: flex; align-items: center; gap: 10px; padding: 9px 16px 9px 9px; background: var(--ink); border-radius: 12px; color: #fff; transition: transform .8s var(--out) 1.9s, opacity .6s var(--out) 1.9s; }
.pd-ic { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: rgba(255, 255, 255, .12); color: var(--mark); }
.pd-ic .i { width: 16px; height: 16px; }
.payday small { display: block; font-size: .6875rem; line-height: 1.2; color: #A9BCE0; }
.payday b { font-size: .9375rem; font-weight: 600; }
.js .bento:not(.in) .ts-cols i { transform: scaleY(0); }
.js .bento:not(.in) .payday { transform: translateY(18px); opacity: 0; }

/* Already enrolled: a service plan with the yearly budget split across services */
.plan { position: absolute; left: 24px; right: -44px; top: 26px; padding: 16px 18px 6px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.plan-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-right: 44px; }
.plan-h b { font-size: .9375rem; font-weight: 600; color: var(--ink); }
.plan-h span { font-size: .75rem; color: var(--muted); }
.plan-cap { margin-top: 14px; font-size: .75rem; color: var(--muted); }
.plan-bar { display: flex; gap: 3px; height: 12px; margin-top: 6px; overflow: hidden; border-radius: 6px; background: var(--line); }
.plan-bar i { width: var(--w); background: var(--c); transform-origin: 0 50%; transition: transform 1s var(--out); transition-delay: calc(var(--k) * .16s + .2s); }
.plan ul { list-style: none; margin: 12px 0 0; padding: 0; }
.plan li { display: flex; align-items: center; gap: 10px; padding: 9px 44px 9px 0; border-top: 1px solid var(--line); font-size: .875rem; font-weight: 500; color: var(--ink); transition: opacity .6s var(--out), transform .7s var(--out); transition-delay: calc(var(--k) * .12s + .6s); }
.plan .dot { flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.plan .nm { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.plan .ck { flex: none; margin-left: auto; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--sky); color: var(--blue); transition: transform .5s var(--out); transition-delay: calc(var(--k) * .12s + 1.1s); }
.plan .ck .i { width: 12px; height: 12px; stroke-width: 2.4; }
.js .bento:not(.in) .plan-bar i { transform: scaleX(0); }
.js .bento:not(.in) .plan li { opacity: 0; transform: translateX(12px); }
.js .bento:not(.in) .plan .ck { transform: scale(0); }

/* Swipe rows: a soft white fade on the edge that has more cards behind it */
@property --fl { syntax: '<length>'; inherits: false; initial-value: 0px; }
@property --fr { syntax: '<length>'; inherits: false; initial-value: 0px; }
.fadex { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--fl), #000 calc(100% - var(--fr)), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 var(--fl), #000 calc(100% - var(--fr)), transparent 100%); transition: --fl .35s var(--ease), --fr .35s var(--ease); }
@media (max-width: 760px) { .card.carer .art, .card.enrolled .art { min-height: 290px; } }

/* Card rows: each card darkens toward the edge of the row that has more cards; the gaps and captions stay white */
.edge { position: relative; overflow: hidden; }
.edge::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(to left, rgba(10, 47, 107, calc(var(--ar, 0) * 1)) calc(var(--or, -999px) + 0px), rgba(10, 47, 107, calc(var(--ar, 0) * 0.62)) calc(var(--or, -999px) + 50px), rgba(10, 47, 107, calc(var(--ar, 0) * 0.34)) calc(var(--or, -999px) + 105px), rgba(10, 47, 107, calc(var(--ar, 0) * 0.15)) calc(var(--or, -999px) + 160px), rgba(10, 47, 107, calc(var(--ar, 0) * 0.05)) calc(var(--or, -999px) + 210px), rgba(10, 47, 107, calc(var(--ar, 0) * 0)) calc(var(--or, -999px) + 260px)),
              linear-gradient(to right, rgba(10, 47, 107, calc(var(--al, 0) * 1)) calc(var(--ol, -999px) + 0px), rgba(10, 47, 107, calc(var(--al, 0) * 0.62)) calc(var(--ol, -999px) + 50px), rgba(10, 47, 107, calc(var(--al, 0) * 0.34)) calc(var(--ol, -999px) + 105px), rgba(10, 47, 107, calc(var(--al, 0) * 0.15)) calc(var(--ol, -999px) + 160px), rgba(10, 47, 107, calc(var(--al, 0) * 0.05)) calc(var(--ol, -999px) + 210px), rgba(10, 47, 107, calc(var(--al, 0) * 0)) calc(var(--ol, -999px) + 260px)); }

/* =====================================================================
   v10, 2026-11-17: after Yona's Amperos reference (amperos.com). A serif
   display face, a header that blurs progressively and turns light over
   the dark bands, a statement that fills in as it
   scrolls, rolling counters, a sticky three-column questions stage, and
   one slow, soft motion language: opacity, blur and a short rise.
   ===================================================================== */
:root {
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --night: #071A3A;
  --soft: cubic-bezier(.4, 0, .2, 1);
  --glide: cubic-bezier(.22, .61, .21, 1);
  --hair-d: rgba(255, 255, 255, .1);
}
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* Serif display type */
.head h2, .qs-h, .page-hero h1, .doc-head h1, .doc-main h2, .cta h2, .faq h2, .statement, .q h3, .stats dd { font-family: var(--serif); font-weight: 400; font-optical-sizing: auto; }
.head h2 { font-size: clamp(2rem, 3.3vw, 2.875rem); line-height: 1.06; letter-spacing: -.024em; }
.page-hero h1 { letter-spacing: -.03em; line-height: 1; }
.doc-head h1 { letter-spacing: -.028em; line-height: 1.02; }
.doc-main h2 { letter-spacing: -.018em; }
.faq h2 { font-size: clamp(2rem, 3vw, 2.5rem); letter-spacing: -.024em; }

/* Header: transparent, with a blur that strengthens toward the top edge */
.top { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 0; }
.top::before, .top::after { content: ''; position: absolute; left: 0; right: 0; top: 0; z-index: -1; pointer-events: none; }
.top::before { bottom: -28px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, .62) 62%, rgba(255, 255, 255, 0)); -webkit-mask: linear-gradient(#000 58%, transparent); mask: linear-gradient(#000 58%, transparent); transition: background .6s var(--soft); }
.top::after { bottom: 30%; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); -webkit-mask: linear-gradient(#000 30%, transparent); mask: linear-gradient(#000 30%, transparent); }
.lockup, .lockup .name small, .lockup .by, nav a, .menu { transition: color .5s var(--soft), background-color .5s var(--soft), border-color .5s var(--soft); }
.lockup .by img { transition: filter .5s var(--soft); }
.top .btn { transition: background-color .5s var(--soft), border-color .5s var(--soft), color .5s var(--soft); }
.hdr-dark .top::before { background: linear-gradient(rgba(7, 26, 58, .72), rgba(7, 26, 58, .38) 62%, rgba(7, 26, 58, 0)); }
.hdr-dark .top .lockup { color: #fff; }
.hdr-dark .top .lockup .name small, .hdr-dark .top .lockup .by { color: rgba(255, 255, 255, .62); border-color: rgba(255, 255, 255, .2); }
.hdr-dark .top .lockup .by img { filter: brightness(0) invert(1); }
.hdr-dark .top nav a { color: rgba(255, 255, 255, .78); }
.hdr-dark .top nav a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.hdr-dark .top .btn { background: #fff; border-color: #fff; color: var(--ink); }
.hdr-dark .top .btn:hover { background: var(--mark); border-color: var(--mark); }
.hdr-dark .top .menu { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); color: #fff; }

/* The statement fills in word by word; the numbers roll in under it */
.statement-band .frame { padding-top: 150px; padding-bottom: 150px; }
.statement { max-width: 20em; margin: 0 auto; font-size: clamp(2rem, 3.7vw, 3.25rem); line-height: 1.12; letter-spacing: -.024em; text-align: center; text-wrap: balance; }
.statement .sw { color: #C9D0DD; transition: color .6s var(--soft); }
.statement .sw.lit { color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 130px calc(-1 * var(--pad)) 0; border-top: 1px solid var(--line); }
.stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; padding: 30px var(--pad) 44px; }
.stats > div + div { border-left: 1px solid var(--line); }
.stats dt { font-size: .875rem; color: var(--muted); }
.stats dd { margin: 0; font-size: clamp(3.5rem, 6.2vw, 5.5rem); line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.odo { display: inline-flex; height: 1.05em; overflow: hidden; line-height: 1.05; font-variant-numeric: tabular-nums lining-nums; }
.odo-c { display: flex; flex-direction: column; transition: transform 2.4s cubic-bezier(.65, 0, .35, 1); transition-delay: calc(var(--k) * .14s + .15s); }
.odo-c i { display: block; height: 1.05em; font-style: normal; text-align: center; }
.stats.in .odo-c { transform: translateY(calc(-1.05em * (10 + var(--d)))); }

/* The questions: heading and list on the left, photo and answer on the right; hovering a question fades its photo in */
.qs-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.qs-side { display: flex; flex-direction: column; justify-content: center; padding: 88px var(--pad); border-right: 1px solid var(--line); }
.qs-h { position: relative; margin: 0 0 36px; font-size: clamp(2rem, 3.3vw, 2.875rem); line-height: 1.06; letter-spacing: -.024em; }
.qs-h::before { content: ''; position: absolute; left: calc(-1 * var(--pad) - 1px); top: .2em; width: 2px; height: 1em; background: var(--blue); }
.qs-h span { display: block; color: var(--quiet); }
.qs-list { list-style: none; margin: 0; padding: 0; display: grid; }
.q { padding: 14px 0; border-top: 1px solid var(--line); cursor: pointer; outline: none; }
.q:last-child { border-bottom: 1px solid var(--line); }
.q h3 { font-size: clamp(1.375rem, 1.9vw, 1.75rem); line-height: 1.15; letter-spacing: -.02em; color: #B7BFCE; transition: color .5s var(--soft); }
.q.on h3 { color: var(--ink); }
.q:focus-visible h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.qs-media { position: relative; min-height: 600px; padding: 10px; }
.qs-stack { position: relative; height: 100%; overflow: hidden; border-radius: 12px; background: var(--card); }
.qs-stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s var(--soft) .2s; }
.qs-stack img.on { z-index: 1; opacity: 1; transition-delay: 0s; }
.qs-ans { position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 10px; display: grid; align-items: end; padding: 140px 34px 30px; border-radius: 0 0 12px 12px; background: linear-gradient(0deg, rgba(5, 22, 52, .86) 0%, rgba(5, 22, 52, .62) 45%, rgba(5, 22, 52, 0)); pointer-events: none; }
.a { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity .35s var(--soft), visibility 0s .35s; }
.a.on { visibility: visible; opacity: 1; pointer-events: auto; transition: opacity .6s var(--soft) .15s, visibility 0s; }
.a p { max-width: 30em; margin: 0 0 14px; font-size: 1.125rem; line-height: 1.55; color: #fff; }
.a .link { color: var(--mark); }
@media (max-width: 760px) {
  .qs-in { grid-template-columns: minmax(0, 1fr); }
  .qs-side { display: contents; }
  .qs-h { order: 1; margin: 0; padding: 64px var(--pad) 24px; }
  .qs-h::before { left: -1px; top: calc(64px + .2em); }
  .qs-media { order: 2; min-height: 0; aspect-ratio: 4 / 5; padding: 8px; }
  .qs-list { order: 3; padding: 8px var(--pad) 40px; }
  .q { padding: 13px 0; }
  .q h3 { font-size: 1.3125rem; }
  .qs-ans { left: 8px; right: 8px; bottom: 8px; padding: 90px 18px 18px; }
  .a p { font-size: 1rem; margin-bottom: 10px; }
}

/* The Leaving school card: a small "road to 21" screen beside the big number */
.r21 { position: absolute; z-index: 1; left: 26px; top: 26px; width: min(430px, 52%); padding: 16px 18px 6px; background: #fff; border-radius: 14px; color: var(--ink); }
.r21-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.r21-h b { font-size: .9375rem; font-weight: 600; }
.r21-h span { font-size: .75rem; color: var(--muted); }
.r21 ol { list-style: none; margin: 12px 0 0; padding: 0; }
.r21 li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .875rem; font-weight: 500; transition: opacity .6s var(--out), transform .7s var(--out); transition-delay: calc(var(--k) * .12s + .5s); }
.r21 .age { font-size: .8125rem; font-weight: 600; color: var(--blue); font-variant-numeric: tabular-nums; }
.r21 .nm { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.r21 li:not(.done):not(.now) .nm { color: var(--muted); }
.r21 .st { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); }
.r21 .done .st { border: 0; background: var(--sky); color: var(--blue); }
.r21 .st .i { width: 12px; height: 12px; stroke-width: 2.4; }
.r21 .now .st { width: auto; height: auto; padding: 2px 9px; border: 0; border-radius: 99px; background: var(--mark); font-size: .75rem; font-weight: 600; color: var(--ink); }
.js .bento:not(.in) .r21 li { opacity: 0; transform: translateX(12px); }
@media (max-width: 760px) {
  .card.school .art { min-height: 262px; }
  .r21 { left: 16px; right: 16px; top: 16px; width: auto; padding: 14px 14px 4px; }
  .r21 .nm { white-space: normal; }
}

/* Reveals: a soft blur and a short rise; headings arrive word by word */
.js .rv { opacity: 0; filter: blur(8px); transform: translateY(18px); transition: opacity 1s var(--soft) var(--d, 0ms), filter 1s var(--soft) var(--d, 0ms), transform 1.25s var(--glide) var(--d, 0ms), border-color .2s var(--ease), background-color .2s var(--ease); }
.js .rv.in { opacity: 1; filter: none; transform: none; }
.wsplit .wd { display: inline-block; color: inherit; }
.js .wsplit .wd { opacity: 0; filter: blur(8px); transform: translateY(.3em); transition: opacity .9s var(--soft), filter .9s var(--soft), transform 1.15s var(--glide); transition-delay: calc(var(--w) * 42ms + var(--d, 0ms)); }
.js .wsplit.in .wd { opacity: 1; filter: none; transform: none; }
.card.photo img, .g-art.photo img { transition: transform 1.4s var(--glide); }


@media (max-width: 760px) {
  .statement-band .frame { padding-top: 96px; padding-bottom: 96px; }
  .statement { font-size: 2rem; line-height: 1.14; }
  .stats { grid-template-columns: 1fr; margin-top: 72px; }
  .stats > div { flex-direction: row-reverse; justify-content: space-between; align-items: center; padding: 18px var(--pad); }
  .stats > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .stats dt { max-width: 11em; text-align: right; }
  .stats dd { font-size: 3.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-photos img, .qs-stack img, .a, .q, .q h3, .odo-c, .statement .sw, .top::before, .lockup, nav a, .menu, .top .btn { transition: none !important; }
}

/* Buttons and links: slower, softer colour changes; the arrow glides; a slight press */
.btn, .icon-btn, .pill, .popular a, .src, .card, .post, .hub { transition: background-color .45s var(--soft), border-color .45s var(--soft), color .45s var(--soft), transform .5s var(--glide); }
.js .rv.btn, .js .rv.src, .js .rv.card, .js .rv.post, .js .rv.hub { transition: opacity 1s var(--soft) var(--d, 0ms), filter 1s var(--soft) var(--d, 0ms), transform 1.25s var(--glide) var(--d, 0ms), background-color .45s var(--soft), border-color .45s var(--soft), color .45s var(--soft); }
.arrow { transition: transform .55s var(--glide); }
.btn:hover .arrow, .link:hover .arrow, .pill:hover .arrow, .card:hover .link .arrow, .q a:hover .arrow { transform: translateX(4px); }
.btn:active, .icon-btn:active:not(:disabled) { transform: scale(.97); transition-duration: .12s; }
.link { transition: color .45s var(--soft); }
.link:hover { color: var(--ink); }
.a .link:hover { color: #fff; }
.menu-i i { transition: transform .6s var(--glide), top .6s var(--glide); }

/* Tables: the first column keeps short labels ("Under 18", "16 to 21") on as few lines as it can */
@media (min-width: 761px) {
  .tbl, .tbl td, .tbl th { overflow-wrap: break-word; }
  .tbl th:first-child, .tbl td:first-child { min-width: 6.5em; }
}

/* Guides menu: collapses to a narrow rail of section titles; the search folds into a square */
.dn-top { display: flex; gap: 6px; align-items: center; margin-bottom: 8px; }
.dn-top .doc-search { flex: 1; min-width: 0; margin: 0; }
.dn-col { flex: none; width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--muted); cursor: pointer; transition: border-color .45s var(--soft), color .45s var(--soft), transform .5s var(--glide); }
.dn-col:hover { border-color: var(--ink); color: var(--ink); }
.dn-col:active { transform: scale(.95); transition-duration: .12s; }
.dn-col .i { width: 18px; height: 18px; }
.dn-chev { transition: transform .6s var(--glide); transform-origin: 14.5px 12px; }
.doc { transition: grid-template-columns .65s var(--glide); }
.doc.dn-still, .doc.dn-still * { transition: none !important; }
.doc-nav { overflow-x: clip; }
.doc-nav-inner { transition: padding .65s var(--glide); }
.grp a, .doc-all { transition: opacity .35s var(--soft), background .16s var(--ease), color .16s var(--ease); }
.grp b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .45s var(--soft), background-color .45s var(--soft), padding .65s var(--glide); }
.doc-search input { transition: opacity .3s var(--soft), border-color .16s var(--ease); }

.doc.nav-min { grid-template-columns: 140px minmax(0, 1fr) 236px; }
.nav-min .doc-nav-inner { padding: 24px 12px 32px; }
.nav-min .dn-chev { transform: scaleX(-1); }
.nav-min .dn-top .doc-search { flex: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 7px; cursor: pointer; transition: border-color .45s var(--soft); }
.nav-min .dn-top .doc-search:hover { border-color: var(--ink); }
.nav-min .doc-search input { position: absolute; inset: 0; width: 40px; opacity: 0; pointer-events: none; }
.nav-min .doc-search .i { left: 50%; transform: translate(-50%, -50%); color: var(--ink); }
.nav-min .grp { margin-top: 2px; }
.nav-min .grp:first-of-type { margin-top: 14px; }
.nav-min .grp a, .nav-min .doc-all { display: none; }
.nav-min .grp b { padding: 8px; border-radius: 6px; font-size: .8125rem; color: var(--text); cursor: pointer; }
.nav-min .grp b:hover { background: var(--card); color: var(--ink); }
.nav-min .grp.cur b { background: var(--sky); color: var(--ink); font-weight: 600; }
@keyframes dn-in { from { opacity: 0; } to { opacity: 1; } }
.doc:not(.nav-min) .grp a, .doc:not(.nav-min) .doc-all { animation: dn-in .5s var(--soft) .15s both; }
.doc.dn-still .grp a, .doc.dn-still .doc-all { animation: none; }
@media (max-width: 1100px) {
  .doc.nav-min { grid-template-columns: 140px minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .dn-col { display: none; }
  .doc.nav-min { grid-template-columns: minmax(0, 1fr); }
}
.sheet-guides .dn-col { display: none; }

/* Footer: the guide's name and a line about it, three link columns, then the small print */
.ft-main .frame { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; padding-top: 64px; padding-bottom: 56px; }
.ft-name { display: inline-flex; flex-direction: column; font-size: 1.0625rem; font-weight: 600; line-height: 1.1; letter-spacing: -.015em; color: var(--ink); }
.ft-name small { margin-top: 3px; font-size: .75rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.ft-brand p { max-width: 24em; margin: 16px 0 20px; font-size: .9375rem; line-height: 1.55; color: var(--muted); }
.ft-by { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border: 1px solid var(--line); border-radius: 99px; font-size: .75rem; color: var(--muted); white-space: nowrap; transition: border-color .3s var(--soft); }
.ft-by:hover { border-color: #C9CFDA; }
.ft-by img { height: 20px; width: auto; }
.ft-cols { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.ft-cols h4 { margin: 2px 0 12px; font-size: .75rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--quiet); }
.ft-cols ul { display: grid; gap: 2px; list-style: none; margin: 0; padding: 0; }
.ft-cols a { display: inline-block; padding: 5px 0; font-size: .9375rem; color: var(--muted); transition: color .3s var(--soft); }
.ft-cols a:hover, .ft-cols a[aria-current] { color: var(--ink); }
.legal .frame { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 40px; padding-top: 20px; padding-bottom: 24px; }
.legal p { margin: 0; max-width: 62em; font-size: .75rem; line-height: 1.5; color: var(--muted); }
.legal .frame > span { flex: none; font-size: .75rem; color: var(--muted); }
@media (max-width: 1000px) {
  .ft-main .frame { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 760px) {
  .ft-main .frame { padding-top: 48px; padding-bottom: 40px; }
  .ft-cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .ft-cols > div:last-child { grid-column: 1 / -1; }
  .ft-cols a { padding: 8px 0; font-size: 1rem; }
  .ft-by { min-height: 40px; }
  .legal .frame { flex-direction: column; }
}

/* Phones: every tap target at least about 40px tall, without moving the layout; no text under 12px */
@media (max-width: 760px) {
  .notice a, .link, .eyebrow, .res-more, button.link, .dock-all { position: relative; }
  .notice a::before, .link::before, .eyebrow::before, .res-more::before, button.link::before { content: ''; position: absolute; inset: -11px -6px; }
  .popular a { display: inline-flex; align-items: center; min-height: 36px; }
  .item .k, .dock-toc small { font-size: .75rem; }
  .dock-all { font-size: .75rem; }
}

/* Wider page (Yona, 2026-11-17): the frame runs to 1600px, and on smaller desktops it keeps a 32px margin each side */
@media (min-width: 1001px) {
  .frame { max-width: min(calc(var(--w) + 2px), calc(100% - 64px)); }
  :root { --pad: 36px; }
}
.doc-main > * { max-width: 760px; }
@media (max-width: 760px) {
  .hero .pill { min-height: 36px; }
  .num .tel { padding-top: 4px; padding-bottom: 4px; }
}

/* FAQ: the title, a line and a contact link on the left, the questions on the right, both starting on one line */
.faq-in { max-width: none; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.faq-side { position: sticky; top: 100px; }
.faq-side h2 { margin: -.12em 0 18px; }
.faq-side p { max-width: 24em; margin: 0 0 10px; color: var(--muted); }
.faq-side .btn { margin-top: 18px; }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list details:first-child summary { padding-top: 16px; }
@media (max-width: 900px) {
  .faq-in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .faq-side { position: static; }
}

/* Free-guide sign-up on guide pages */
.lead-box { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 26px; align-items: center; margin: 44px 0 0; padding: 24px; border-radius: 14px; background: var(--sky); }
.lb-cover img { display: block; width: 100%; height: auto; border-radius: 6px; border: 1px solid rgba(10, 47, 107, .12); }
.lb-tag { display: inline-block; padding: 3px 10px; border-radius: 99px; background: #fff; font-size: .75rem; font-weight: 600; color: var(--ink); }
.lead-box h3 { margin: 10px 0 6px; font: 400 1.5rem/1.15 var(--serif); letter-spacing: -.015em; color: var(--ink); }
.lead-box p { margin: 0 0 14px; font-size: .9375rem; }
.lb-form { display: flex; gap: 8px; }
.lb-form[hidden] { display: none; }
.lb-form input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid #C6D4E8; border-radius: 8px; background: #fff; font: 400 1rem var(--sans); color: var(--ink); }
.lb-form input:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.lb-form input[aria-invalid="true"] { border-color: #B3261E; }
.lb-form .btn { height: 44px; }
.lead-box .lb-err { margin: 8px 0 0; font-size: .875rem; color: #B3261E; }
.lead-box .lb-ok { margin: 0; padding: 12px 14px; border-radius: 8px; background: #fff; }
.lb-ok b { display: block; color: var(--ink); }
.lb-ok a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.lead-box small { display: block; margin-top: 10px; font-size: .75rem; color: var(--muted); }
@media (max-width: 760px) {
  .lead-box { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 20px 18px; }
  .lb-cover { width: 120px; }
  .lb-form { flex-direction: column; }
  .lb-form input { flex: none; }
  .lb-form .btn { width: 100%; }
}

/* The menu fits its space without scrolling: --u is 1% of the height left below the header, set when the menu opens */
.mnav-in { padding-top: clamp(10px, calc(var(--u, 1svh) * 2), 18px); padding-bottom: clamp(12px, calc(var(--u, 1svh) * 2.4), 24px); }
.mnav-search input { height: clamp(46px, calc(var(--u, 1svh) * 6.6), 54px); }
.mnav-links { margin-top: clamp(4px, calc(var(--u, 1svh) * 1.2), 12px); }
.mnav-links a { font-size: clamp(1.5rem, min(8.2vw, calc(var(--u, 1svh) * 4.7)), 2.75rem); padding: clamp(6px, calc(var(--u, 1svh) * 1.35), 12px) 0 clamp(5px, calc(var(--u, 1svh) * 1.25), 11px); }
.mnav-foot { padding-top: clamp(12px, calc(var(--u, 1svh) * 3), 32px); }
.mnav-foot p { margin-bottom: clamp(8px, calc(var(--u, 1svh) * 1.6), 14px); }
.mnav-bars { height: clamp(28px, calc(var(--u, 1svh) * 7), 64px); }

/* Phones: the hero fills the screen below the header, so its bottom line only shows once you scroll (--hero-top is set by site.js) */
@media (max-width: 760px) {
  .hero .frame { min-height: calc(100svh - var(--hero-top, 105px)); display: flex; flex-direction: column; justify-content: center; }
  .hero-copy { width: 100%; min-width: 0; }
}

/* Leaving school card: the checklist ticks itself off on a loop (site.js); the status dot turns into a check or a "Now" tag */
.r21-bar { height: 4px; margin-top: 10px; overflow: hidden; border-radius: 99px; background: var(--line); }
.r21-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--ink), var(--blue-2) 60%, var(--mark)); transition: width .8s var(--out); }
.r21 ol { margin-top: 8px; }
.r21 li .nm { transition: color .5s var(--soft); }
.r21 .st { width: auto; min-width: 20px; height: 20px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--line); border-radius: 99px; background: transparent; transition: background-color .45s var(--soft), border-color .45s var(--soft), padding .45s var(--glide); }
.r21 .st .i, .r21 .st b { display: none; }
.r21 .st b { font-size: .75rem; font-weight: 600; color: var(--ink); }
.r21 .done .st { border-color: transparent; background: var(--sky); color: var(--blue); padding: 0; }
.r21 .done .st .i { display: block; animation: r21-pop .5s var(--out); }
.r21 .now .st { height: 20px; border-color: transparent; background: var(--mark); padding: 0 9px; font-size: inherit; }
.r21 .now .st b { display: inline; animation: r21-pop .5s var(--out); }
.r21 li.now .nm { color: var(--ink); }
@keyframes r21-pop { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .card.school .art { min-height: 232px; }
  .card.school .big { display: none; }
  .r21 { left: 16px; right: 16px; top: 16px; padding: 12px 14px 4px; }
  .r21 li { padding: 7px 0; }
  .r21 .nm { white-space: nowrap; }
  .card.carer .payday { display: none; }
  .card.school h3 { font-size: 1.375rem; }
}
@media (prefers-reduced-motion: reduce) { .r21 .st .i, .r21 .st b { animation: none; } }

/* Smallest phones (320px): the lockup and the Menu button need 356px, so tighten gaps and the Ameriwell logo */
@media (max-width: 350px) {
  .top .frame { gap: 10px; }
  .lockup { gap: 8px; }
  .lockup .by { padding-left: 8px; }
  .lockup .by img { height: 14px; }
  .menu { padding: 0 10px; }
  .notice { font-size: .75rem; }
  .notice .frame { gap: 10px; }
  .pill { font-size: .75rem; gap: 6px; }
  .pill b { white-space: nowrap; }
}

/* Guides: how the "Checked" date is kept (inside the Sources box) */
.src-note { margin: 0; padding: 0 18px 16px; font-size: .8125rem; line-height: 1.55; color: var(--muted); }
