/* Proofession — design system (layout after the "leafline" template)
   Layout: full-bleed colour bands — bright green hero, ink ticker, forest finder, mint card shelf;
   giant uppercase display type with a quiet sans for reading; pill buttons; tinted cards.
   Illustrations (grass, hedges, tiny people) keep the paper grain via .tile. */
:root {
  --green: #40B86A;
  --green-deep: #1F9A51;
  --leaf: #8BD9A3;
  --mint: #E4F5E7;
  --mint-2: #CDEFD5;
  --mint-3: #B2E5BF;
  --forest: #0D3E20;
  --forest-2: #145B31;
  --forest-3: #1C6C3C;
  --ink: #0A2914;
  --ink-2: #2E4A37;
  --ink-3: #5C7764;
  --line: #CFE6D5;
  --paper: #FFFFFF;
  --on-dark: #F2FBF4;
  --on-dark-2: #B5D8BE;
  --grass: #4F9D58;
  --focal: #E8562B;
  --mid: #D98E1F;
  --bad: #D43F2E;
  --display: "Archivo", "Arial Black", "Helvetica Neue", system-ui, sans-serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-xl: 34px;
  --r-lg: 24px;
  --r: 18px;
  --r-sm: 12px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--mint); color: var(--ink); font: 400 16px/1.55 var(--sans); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; outline: none; }
a { color: inherit; }
img, svg { max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.1; text-wrap: balance; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 10px; }
.dark :focus-visible, .foot :focus-visible { outline-color: var(--leaf); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 30; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.i { width: 18px; height: 18px; flex: none; }
[id] { scroll-margin-top: 84px; }

/* ---------- type ---------- */
.display { font-family: var(--display); font-weight: 900; font-stretch: 86%; text-transform: uppercase; letter-spacing: -.035em; line-height: .86; }
.mega { font-size: clamp(3.6rem, 10.4vw, 8.6rem); }
.big { font-size: clamp(2.6rem, 6.6vw, 5.6rem); }
.mid-t { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.eyebrow { font: 600 .74rem/1.4 var(--sans); text-transform: uppercase; letter-spacing: .16em; color: var(--ink-2); }
.dark .eyebrow { color: var(--on-dark-2); }
.lede { font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.6; max-width: 46ch; color: var(--ink); }
.c-white { color: #FFFFFF; }
.c-leaf { color: var(--leaf); }
.c-green { color: var(--green-deep); }
.hint { color: var(--ink-3); font-size: .92rem; }
.dark .hint { color: var(--on-dark-2); }

/* ---------- illustrated tile with paper grain ---------- */
.tile { position: relative; overflow: hidden; background: var(--grass); isolation: isolate; }
.tile::after { content: ""; position: absolute; inset: 0; background: url("/assets/paper.webp") repeat; background-size: 380px; mix-blend-mode: soft-light; opacity: .9; pointer-events: none; z-index: 1; }
.tile > svg, .tile .art > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tile-text { position: relative; z-index: 2; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: var(--green); padding-top: env(safe-area-inset-top, 0px); transition: box-shadow .25s; }
.top.scrolled { box-shadow: 0 10px 30px -22px rgba(10, 41, 20, .7); }
.top-in { display: flex; align-items: center; gap: 18px; min-height: 72px; flex-wrap: wrap; padding-block: 10px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; height: 34px; }
.brand svg { height: 100%; width: auto; }
.nav { display: flex; gap: 2px 22px; flex-wrap: wrap; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .94rem; padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .2s; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--ink); }
.pill-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: .94rem; padding: 7px 8px 7px 18px; border-radius: 999px; transition: transform .2s; }
.pill-btn:hover { transform: translateY(-1px); }
.count { min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px; background: var(--green); color: var(--ink); display: inline-grid; place-items: center; font-size: .8rem; font-weight: 700; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; padding: 14px 24px; border: 1.5px solid transparent; font: 600 .96rem var(--sans); cursor: pointer; text-decoration: none; transition: transform .2s ease, background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .i { transition: transform .2s; }
.btn:hover .i.arrow { transform: translateX(3px); }
.btn.dark { background: var(--ink); color: #FFFFFF; }
.btn.outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn.outline:hover { background: rgba(10, 41, 20, .06); }
.btn.light { background: #FFFFFF; color: var(--ink); }
.btn.ghost-light { border-color: rgba(255, 255, 255, .6); color: #FFFFFF; }
.btn.danger { border-color: rgba(212, 63, 46, .5); color: var(--bad); background: transparent; }
.btn.small { padding: 9px 16px; font-size: .88rem; }
.btn:disabled { opacity: .5; cursor: default; transform: none; }
.plus { width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--ink); color: #FFFFFF; display: grid; place-items: center; transition: transform .25s; }
.plus .i { width: 18px; height: 18px; }
.linkish { background: none; border: 0; padding: 0; color: var(--green-deep); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }
.dark .linkish { color: var(--leaf); }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ---------- sections ---------- */
.band { padding-block: clamp(56px, 8vw, 110px); }
.band.green { background: var(--green); }
.band.dark { background: var(--forest); color: var(--on-dark); }
.band.mint { background: var(--mint); }
.band.white { background: #F7FCF8; }
.sec-top { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px 40px; align-items: end; margin-bottom: clamp(32px, 4.5vw, 56px); }
.sec-top .eyebrow { margin-bottom: 18px; }
.sec-note { font-size: 1.02rem; line-height: 1.6; max-width: 38ch; padding-bottom: 10px; }
.dark .sec-note { color: var(--on-dark); }

/* ---------- hero ---------- */
.hero { background: var(--green); padding-block: clamp(24px, 4vw, 48px) clamp(48px, 6vw, 80px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 28px 48px; align-items: center; }
.hero-copy { display: grid; gap: 24px; }
.hero h1 span { display: block; }
.hero-art { position: relative; aspect-ratio: 1 / 1.02; max-width: 560px; width: 100%; justify-self: end; }
.arch { position: absolute; inset: 4% 3% 9% 14%; background: var(--forest); border-radius: 999px 999px 26px 26px; padding: 12px; box-shadow: 0 30px 60px -36px rgba(10, 41, 20, .8); }
.arch-in { position: absolute; inset: 12px; border-radius: 999px 999px 18px 18px; }
.arch-in .sun { position: absolute; z-index: 0; left: 10%; top: 9%; width: 30%; aspect-ratio: 1; border-radius: 50%; background: #9BDDAE; opacity: .55; }
.arch-in > svg { z-index: 0; }
.shelf { position: absolute; left: 8%; right: 0; bottom: 4%; height: 22px; border-radius: 10px; background: rgba(255, 255, 255, .42); }
.stat-card { position: absolute; left: 0; top: 10%; width: min(46%, 230px); background: #FFFFFF; border-radius: 18px; padding: 14px 16px 16px; box-shadow: 0 22px 44px -24px rgba(10, 41, 20, .7); transform: rotate(-4deg); display: grid; gap: 6px; z-index: 3; }
.stat-card .eyebrow { font-size: .62rem; color: var(--green-deep); }
.stat-card b { font: 900 clamp(2.4rem, 4.6vw, 3.3rem)/.9 var(--display); font-stretch: 86%; letter-spacing: -.03em; }
.stat-card b small { font-size: .45em; vertical-align: top; margin-left: 2px; }
.stat-card .bar { height: 8px; border-radius: 99px; background: var(--mint-2); overflow: hidden; }
.stat-card .bar i { display: block; height: 100%; width: 100%; background: var(--green); border-radius: 99px; transform-origin: left; animation: grow 1.4s .4s cubic-bezier(.2, .7, .2, 1) both; }
.stat-card p { font-size: .78rem; line-height: 1.35; color: var(--ink-2); }
.seal { position: absolute; right: -2%; top: 1%; width: clamp(96px, 13vw, 132px); aspect-ratio: 1; border-radius: 50%; background: var(--ink); color: #FFFFFF; display: grid; place-items: center; z-index: 3; box-shadow: 0 16px 34px -18px rgba(10, 41, 20, .9); }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.seal span { font: 900 clamp(1.05rem, 1.8vw, 1.4rem)/.86 var(--display); font-stretch: 86%; text-transform: uppercase; text-align: center; letter-spacing: -.02em; }
.seal span small { display: block; font-size: .5em; letter-spacing: .1em; margin-top: 4px; color: var(--leaf); }

/* ---------- ticker ---------- */
.ticker { background: var(--ink); color: #FFFFFF; overflow: hidden; padding-block: 14px; }
.ticker-track { display: flex; width: max-content; animation: ticker 42s linear infinite; }
.ticker-track span { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font: 900 clamp(1rem, 1.6vw, 1.3rem) var(--display); font-stretch: 86%; text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; }
.ticker-track em { font-style: normal; color: var(--leaf); }
.ticker-track .tk { width: 16px; height: 16px; color: var(--green); }

/* ---------- finder ---------- */
.finder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 32px 40px; align-items: start; }
.quiz { display: grid; gap: 30px; }
.q h3 { display: flex; align-items: baseline; gap: 12px; font: 700 1.38rem var(--sans); margin-bottom: 14px; }
.q .num { font-size: .78rem; font-weight: 600; color: var(--on-dark-2); letter-spacing: .06em; }
.opts { display: grid; gap: 10px; }
.opts.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opt { text-align: left; border: 0; border-radius: 14px; padding: 12px 14px; background: var(--forest-2); color: var(--on-dark); cursor: pointer; display: grid; gap: 2px; transition: background .2s, color .2s, transform .2s; min-height: 64px; align-content: start; }
.opt:hover { background: var(--forest-3); transform: translateY(-2px); }
.opt b { font-weight: 700; font-size: .98rem; }
.opt small { font-size: .78rem; line-height: 1.3; color: var(--on-dark-2); }
.opt[aria-pressed="true"] { background: var(--green); color: var(--ink); }
.opt[aria-pressed="true"] small { color: var(--ink-2); }
.search { display: flex; gap: 8px; flex-wrap: wrap; }
.search input { flex: 1 1 240px; min-width: 0; padding: 16px 18px; border: 0; border-radius: 14px; background: #FFFFFF; color: var(--ink); font-size: 1.04rem; }
.search input::placeholder { color: #6F8B77; }
.search input:focus { outline: 3px solid var(--leaf); outline-offset: 2px; }
.search .btn { border-radius: 14px; padding: 16px 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { border: 1.5px solid rgba(255, 255, 255, .22); background: transparent; color: var(--on-dark); padding: 6px 13px; border-radius: 999px; cursor: pointer; font: 500 .86rem var(--sans); transition: background .2s, border-color .2s; }
.chip:hover { border-color: var(--leaf); }
.chip[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; border-color: var(--ink); }
.light-chips .chip { border-color: var(--line); color: var(--ink-2); background: #FFFFFF; }
.light-chips .chip:hover { border-color: var(--ink-2); }
.light-chips .chip[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; border-color: var(--ink); }

.picks { background: var(--forest-2); border-radius: var(--r-lg); padding: clamp(16px, 2.2vw, 24px); display: grid; gap: 16px; }
.picks-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.picks-head h3 { font: 900 1.45rem var(--display); font-stretch: 86%; text-transform: uppercase; letter-spacing: -.02em; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--on-dark-2); }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px rgba(139, 217, 163, .2); animation: pulse 2s ease-in-out infinite; }
.pick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pick { background: var(--green); color: var(--ink); border-radius: 16px; padding: 12px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; min-width: 0; transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s; }
.pick:hover { transform: translateY(-4px); box-shadow: 0 18px 30px -20px rgba(0, 0, 0, .6); }
.pick:hover .plus { transform: rotate(90deg); }
.pick-n { font-size: .72rem; font-weight: 600; }
.pick-art { border-radius: 12px; aspect-ratio: 16 / 10; }
.pick-match { font: 900 2.3rem/.9 var(--display); font-stretch: 86%; letter-spacing: -.03em; display: flex; align-items: baseline; gap: 4px; }
.pick-match small { font: 700 .62rem var(--sans); text-transform: uppercase; letter-spacing: .06em; }
.pick-title { font-weight: 700; font-size: .95rem; line-height: 1.25; }
.pick-sub { font-size: .76rem; line-height: 1.35; color: var(--ink-2); }
.pick-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; padding-top: 4px; }
.pick-foot .plus { width: 32px; height: 32px; }
.picks-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; font-size: .9rem; color: var(--on-dark); }
.picks-empty { border: 1.5px dashed rgba(255, 255, 255, .25); border-radius: 16px; padding: 28px 18px; text-align: center; display: grid; gap: 12px; justify-items: center; color: var(--on-dark-2); }
.urgent-box { background: #FFE9E4; color: #5A1408; border-radius: 16px; padding: 16px 18px; display: grid; gap: 6px; }
.urgent-box strong { color: var(--bad); }
.spec-note { background: rgba(255, 255, 255, .07); border-radius: 14px; padding: 12px 14px; font-size: .92rem; }
.spec-note strong { color: var(--leaf); }

/* ---------- product-style cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.pcard { position: relative; border-radius: var(--r-lg); padding: 20px; padding-top: 0; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); background: var(--leaf); min-width: 0; transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; margin-top: 36px; }
.pcard.t2 { background: var(--mint-3); }
.pcard.t3 { background: var(--green); }
.pcard:hover { transform: translateY(-5px); box-shadow: 0 26px 44px -30px rgba(10, 41, 20, .7); }
.pcard:hover .plus { transform: rotate(90deg); }
.pcard-art { width: min(62%, 200px); aspect-ratio: 1; margin: -36px auto 6px; border-radius: 26%; overflow: hidden; box-shadow: 0 24px 34px -22px rgba(10, 41, 20, .75); transform: rotate(-3deg); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.pcard:nth-child(even) .pcard-art { transform: rotate(3deg); }
.pcard:hover .pcard-art { transform: rotate(0) scale(1.03); }
.pcard-art svg { width: 100%; height: 100%; display: block; }
.pcard-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pcard-head b { font: 900 clamp(1.25rem, 2vw, 1.6rem)/.95 var(--display); font-stretch: 86%; text-transform: uppercase; letter-spacing: -.02em; }
.pcard-head .pid { font: 900 1.05rem var(--display); font-stretch: 86%; letter-spacing: -.01em; white-space: nowrap; }
.pcard-sub { font-style: italic; font-size: .9rem; color: var(--ink-2); margin-top: -4px; }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(10, 41, 20, .16); padding-top: 12px; margin-top: auto; font-size: .82rem; font-weight: 500; }
.trust { display: inline-flex; align-items: center; gap: 4px; }
.trust i { width: 9px; height: 9px; border-radius: 50%; background: rgba(10, 41, 20, .2); }
.trust i.on { background: var(--ink); }
.trust span { margin-left: 4px; }

/* video cards */
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.vcard { background: #FFFFFF; border-radius: var(--r-lg); padding: 12px; display: flex; flex-direction: column; gap: 12px; min-width: 0; border: 1px solid var(--line); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.vcard:hover { transform: translateY(-5px); box-shadow: 0 26px 44px -30px rgba(10, 41, 20, .55); }
.cover { display: block; aspect-ratio: 16 / 10; border-radius: 16px; text-decoration: none; }
.cover-meta { position: absolute; inset: 0; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; padding: 10px; font: 700 .64rem var(--sans); text-transform: uppercase; letter-spacing: .12em; color: #FFFFFF; pointer-events: none; }
.cover-meta span { background: rgba(10, 41, 20, .5); padding: 4px 9px; border-radius: 999px; }
.vbody { padding: 2px 6px 6px; display: grid; gap: 10px; }
.vtitle { font: 700 1.06rem/1.3 var(--sans); text-decoration: none; }
.vtitle:hover { text-decoration: underline; text-underline-offset: 3px; }
.who { display: flex; gap: 10px; align-items: center; text-decoration: none; min-width: 0; }
.who b { display: block; font-weight: 700; line-height: 1.25; font-size: .94rem; }
.who small { display: flex; align-items: center; gap: 5px; color: var(--green-deep); font-size: .82rem; font-style: italic; }
.who small .i { width: 14px; height: 14px; }
.who small.off { color: var(--mid); }
.ava { flex: none; width: 40px; height: 40px; border-radius: 12px; overflow: hidden; display: block; background: var(--grass); }
.ava svg { width: 100%; height: 100%; display: block; }
.ava.txt { display: grid; place-items: center; background: var(--mint-2); color: var(--ink); font: 700 .8rem var(--sans); border-radius: 50%; width: 34px; height: 34px; }
.tag { display: inline-flex; align-items: center; gap: 5px; font: 700 .66rem var(--sans); text-transform: uppercase; letter-spacing: .1em; padding: 4px 9px; border-radius: 999px; background: rgba(10, 41, 20, .07); color: var(--ink-2); }
.tag .i { width: 13px; height: 13px; }
.tag.demo { background: #FFF0D2; color: #8A5A00; }
.tag.ok { background: #D2F1DA; color: #17733B; }
.tag.off { background: #FCE1DC; color: #A7301F; }
.dark .tag { background: rgba(255, 255, 255, .1); color: var(--on-dark); }

/* doubt meter */
.meter { display: grid; gap: 6px; font-size: .82rem; color: var(--ink-3); }
.meter .bar { height: 6px; border-radius: 3px; background: rgba(10, 41, 20, .09); overflow: hidden; }
.meter .bar i { display: block; height: 100%; border-radius: 3px; background: var(--green-deep); transform-origin: left; animation: grow .9s cubic-bezier(.2, .7, .2, 1) both; }
.meter.mid .bar i { background: var(--mid); }
.meter.bad .bar i { background: var(--bad); }
.meter.bad span { color: var(--bad); font-weight: 600; }
.meter.none .bar { background: repeating-linear-gradient(90deg, rgba(10, 41, 20, .14) 0 4px, transparent 4px 9px); }

/* "how it works" collage (grass tiles) */
.collage { display: flex; gap: clamp(16px, 3vw, 32px); align-items: flex-start; }
.collage .col { flex: 1; display: grid; gap: clamp(16px, 3vw, 32px); min-width: 0; }
.collage .col:first-child { padding-top: clamp(40px, 9vw, 120px); }
.how { aspect-ratio: 1 / 1; border-radius: var(--r-lg); transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s; }
.how:hover { transform: translateY(-5px); box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .7); }
.how-in { position: absolute; inset: 0; padding: clamp(16px, 2.4vw, 26px); display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto 1fr auto; gap: 8px 12px; color: #FFFFFF; }
.how h3 { font: 900 clamp(1.6rem, 3vw, 2.5rem)/.9 var(--display); font-stretch: 86%; text-transform: uppercase; letter-spacing: -.025em; }
.how .cap { font-size: clamp(.8rem, 1.1vw, .9rem); line-height: 1.4; max-width: 23ch; color: rgba(255, 255, 255, .94); }
.how .mk { width: 64px; height: 26px; display: block; }
.how .mk svg { width: 100%; height: 100%; }
.pos-tl h3 { grid-area: 1 / 1 / 2 / 3; }
.pos-tl .cap { grid-area: 2 / 1 / 3 / 2; }
.pos-tl .mk { grid-area: 4 / 2 / 5 / 3; align-self: end; }
.pos-bl .cap { grid-area: 1 / 1 / 2 / 2; }
.pos-bl .mk { grid-area: 1 / 2 / 2 / 3; }
.pos-bl h3 { grid-area: 4 / 1 / 5 / 3; align-self: end; }

/* professionals call-to-action */
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px 48px; align-items: center; }
.cta-grid .lede { margin-top: 22px; }
.cta-grid .row { margin-top: 28px; }
.cta-art { position: relative; justify-self: center; width: min(100%, 320px); aspect-ratio: 1; }
.cta-art .ava { position: absolute; inset: 8% 8% 8% 8%; width: auto; height: auto; border-radius: 30%; transform: rotate(-4deg); box-shadow: 0 30px 50px -30px rgba(10, 41, 20, .8); }
.cta-art .seal { right: -4%; top: -6%; }

/* ---------- inner pages ---------- */
.page-head { background: var(--green); padding-block: clamp(28px, 5vw, 64px) clamp(36px, 5vw, 64px); }
.page-head .eyebrow { margin-bottom: 16px; }
.page-head .lede { margin-top: 20px; }
.page-body { padding-block: clamp(32px, 5vw, 64px); display: grid; gap: 26px; }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); text-decoration: none; font-weight: 600; width: fit-content; }
.back:hover { color: var(--ink); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 30px; align-items: start; }
.col { display: grid; gap: 22px; min-width: 0; }
.panel { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 2.4vw, 26px); display: grid; gap: 14px; min-width: 0; }
.panel h2 { font: 900 1.45rem var(--display); font-stretch: 86%; text-transform: uppercase; letter-spacing: -.02em; }
.cover.big { aspect-ratio: 16 / 8.5; border-radius: var(--r-lg); }
.vh1 { font: 800 clamp(1.8rem, 3.6vw, 2.9rem)/1.05 var(--display); font-stretch: 90%; letter-spacing: -.025em; }
.summary { font-size: 1.08rem; line-height: 1.65; color: var(--ink-2); max-width: 66ch; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.notice { border: 1px solid var(--line); background: #FFFFFF; border-radius: var(--r); padding: 16px 18px; display: grid; gap: 8px; }
.notice.urgent { border-color: #F2B5AA; background: #FFF0EC; }
.notice.urgent strong { color: var(--bad); }
.empty { border: 1.5px dashed #B9D9C1; border-radius: var(--r); padding: 30px 20px; text-align: center; color: var(--ink-3); display: grid; gap: 12px; justify-items: center; }
.loading { color: var(--ink-3); }
.dots::after { content: "…"; animation: blink 1.2s infinite; }

/* registry checklist */
.reg { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.reg li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 3px 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.reg .ck { width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: var(--ink); display: grid; place-items: center; margin-top: 1px; }
.reg .ck .i { width: 14px; height: 14px; stroke-width: 3; }
.reg b { font-weight: 700; }
.reg small { grid-column: 2; color: var(--ink-3); font-size: .8rem; overflow-wrap: anywhere; }

/* votes */
.votes { display: flex; gap: 10px; flex-wrap: wrap; }
.vote { flex: 1 1 160px; display: flex; gap: 12px; align-items: center; border: 1.5px solid var(--line); background: #FFFFFF; border-radius: 16px; padding: 13px 15px; cursor: pointer; text-align: left; transition: background .2s, border-color .2s, transform .2s; }
.vote:hover { border-color: var(--ink-2); transform: translateY(-2px); }
.vote span { display: grid; }
.vote b { font-weight: 700; }
.vote small { color: var(--ink-3); font-size: .82rem; }
.vote.up[aria-pressed="true"] { border-color: var(--green-deep); background: #E2F6E7; }
.vote.down[aria-pressed="true"] { border-color: var(--bad); background: #FFEDE9; }

/* comments */
.rule { font-size: .92rem; color: var(--ink-2); background: var(--mint); border-radius: 12px; padding: 11px 14px; }
.cms { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.cm { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
.cm .h { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.cm time { color: var(--ink-3); font-size: .8rem; }
.cm p { overflow-wrap: anywhere; white-space: pre-wrap; margin-top: 2px; }
.cm .muted { color: var(--ink-3); font-style: italic; }
.cm.flag { background: #FFF0EC; border-radius: 12px; padding: 10px; }
.cm .acts { display: flex; gap: 14px; margin-top: 6px; flex-wrap: wrap; }

/* forms */
.form { display: grid; gap: 16px; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 700; font-size: .92rem; }
.field .help { color: var(--ink-3); font-size: .8rem; }
.field input, .field select, textarea { width: 100%; min-width: 0; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #FFFFFF; color: var(--ink); }
textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, textarea:focus { border-color: var(--green-deep); outline: none; box-shadow: 0 0 0 4px rgba(64, 184, 106, .22); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--green-deep); flex: none; }

/* expert page */
.ehead { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 26px; align-items: center; }
.ehead .ava.lg { width: clamp(110px, 16vw, 168px); height: clamp(110px, 16vw, 168px); border-radius: 30%; transform: rotate(-3deg); box-shadow: 0 26px 40px -26px rgba(10, 41, 20, .8); }
.ehead .sub { font-style: italic; font-size: 1.08rem; margin-top: 12px; }
.ehead .ids { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; align-items: center; }
.pid-big { font: 900 1.1rem var(--display); font-stretch: 86%; letter-spacing: .02em; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stat { background: var(--mint); border-radius: 14px; padding: 12px; }
.stat b { display: block; font: 900 1.7rem/1 var(--display); font-stretch: 86%; font-variant-numeric: tabular-nums; }
.stat span { font-size: .78rem; color: var(--ink-3); }
.qr { background: #FFFFFF; padding: 12px; border-radius: 14px; line-height: 0; width: fit-content; border: 1px solid var(--line); }
.qr img, .qr canvas { width: 150px; height: 150px; }
.copyline { width: 100%; font-size: .8rem; background: var(--mint); border-radius: 10px; padding: 9px 11px; overflow-wrap: anywhere; user-select: all; }

/* experts directory */
.cards.dir { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* admin */
.app { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 12px; background: #FFFFFF; }
.app h3 { font: 900 1.4rem var(--display); font-stretch: 86%; text-transform: uppercase; letter-spacing: -.02em; }
.app dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 5px 16px; margin: 0; font-size: .93rem; }
.app dt { color: var(--ink-3); }
.app dd { margin: 0; overflow-wrap: anywhere; }
.chkrow { display: grid; grid-template-columns: minmax(0, 230px) minmax(0, 1fr); gap: 8px 12px; align-items: center; }
.chkrow input[type="text"] { width: 100%; min-width: 0; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: #FFFFFF; font-size: .9rem; }
details.panel summary { cursor: pointer; font-weight: 700; }
.narrow { max-width: 600px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
.sec-head h2 { font: 900 clamp(1.6rem, 3vw, 2.3rem) var(--display); font-stretch: 86%; text-transform: uppercase; letter-spacing: -.02em; }

/* ---------- footer, toast ---------- */
.foot { background: var(--ink); color: var(--on-dark-2); }
.foot-in { padding-block: 44px calc(40px + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px 40px; font-size: .9rem; }
.foot .brand { height: 32px; margin-bottom: 12px; }
.foot-links { display: grid; gap: 8px; align-content: start; }
.foot-links a { color: var(--on-dark); text-decoration: none; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-note p + p { margin-top: 8px; }
#toast { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: #FFFFFF; padding: 12px 18px; border-radius: 14px; font-weight: 600; z-index: 40; max-width: calc(100% - 32px); box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .6); animation: rise .3s ease both; }

/* ---------- motion (kept quiet on purpose) ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes blink { 50% { opacity: .2; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(139, 217, 163, .25); } 50% { box-shadow: 0 0 0 7px rgba(139, 217, 163, 0); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes drift-a { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(10px, -6px); } }
@keyframes drift-c { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-12px, -4px); } }
@keyframes pass { 0% { transform: translateY(34px); opacity: 0; } 14% { opacity: 1; } 82% { opacity: 1; } 100% { transform: translateY(-50px); opacity: 0; } }
@keyframes sway { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes say { 0%, 100% { opacity: 0; transform: translateY(5px); } 8%, 30% { opacity: 1; transform: none; } 40% { opacity: 0; transform: none; } }
.enter .reveal { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.enter .hero h1 span { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.enter .hero h1 span:nth-child(2) { animation-delay: .08s; }
.enter .hero h1 span:nth-child(3) { animation-delay: .16s; }
.enter .hero .lede, .enter .hero .row { animation: rise .8s .22s cubic-bezier(.2, .7, .2, 1) both; }
.enter .hero-art { animation: rise .9s .1s cubic-bezier(.2, .7, .2, 1) both; }
.fresh > * { animation: rise .45s cubic-bezier(.2, .7, .2, 1) both; }
.fresh > *:nth-child(2) { animation-delay: .06s; }
.fresh > *:nth-child(3) { animation-delay: .12s; }
.fresh > *:nth-child(n+4) { animation-delay: .16s; }
.bob { animation: bob 3.2s ease-in-out infinite; }
.drift-a { animation: drift-a 9s ease-in-out infinite; }
.drift-b { animation: drift-a 11s ease-in-out infinite reverse; }
.drift-c { animation: drift-c 13s ease-in-out infinite; }
.pass { animation: pass 7s linear infinite; }
.sway { transform-box: fill-box; transform-origin: 0% 50%; animation: sway 2.8s ease-in-out infinite; }
.sway-1 { animation-delay: -.9s; }
.sway-2 { animation-delay: -1.8s; }
.spin { transform-box: fill-box; transform-origin: center; animation: spin 46s linear infinite; }
.say { opacity: 0; animation: say 7.5s ease-in-out infinite; }
.say-2 { animation-delay: 2.5s; }
.say-3 { animation-delay: 5s; }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .finder { grid-template-columns: minmax(0, 1fr); }
  .split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid, .cta-grid, .sec-top { grid-template-columns: minmax(0, 1fr); }
  .hero-art { justify-self: center; max-width: 480px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
  .top { position: relative; }
  .top-in { gap: 8px 12px; min-height: 0; }
  .brand { height: 26px; }
  .nav { order: 3; width: 100%; margin-left: 0; flex-wrap: nowrap; overflow-x: auto; gap: 18px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; }
  .pill-btn { margin-left: auto; padding: 6px 7px 6px 14px; font-size: .88rem; }
  [id] { scroll-margin-top: 12px; }
}
@media (max-width: 640px) {
  .cards, .cards.dir { grid-template-columns: minmax(0, 1fr); }
  .pick-grid { grid-template-columns: minmax(0, 1fr); }
  .opts.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collage { flex-direction: column; }
  .collage .col:first-child { padding-top: 0; }
  .collage .col { width: 100%; }
  .chkrow { grid-template-columns: minmax(0, 1fr); }
  .ehead { grid-template-columns: minmax(0, 1fr); }
  .nav a { font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .say, .pass { opacity: 1; }
}
