/* SearchDaddy marigold brand. Token names match the design handoff (DESIGN.md §3)
   so this file and the reference build stay comparable. */
:root {
  --paper: #FFFFFF; --wash: #F7F6F2; --ink: #121314; --ink2: #55585E; --ink3: #8D9096;
  --line: #E8E6E0; --line2: #D8D5CD;
  --mari: #FFB01F; --mari-soft: #FFF1D1; --mari-ink: #7A4E00;
  --esp: #1A140D; --esp2: #261E15; --esp-line: #3A2F22; --esp-t2: #B9AC98; --esp-t3: #86796A;
  --good: #17804A; --good-bg: #E5F4EB; --bad: #C2412B; --bad-bg: #FCEBE7;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink); font-family: Archivo, system-ui, sans-serif; font-stretch: 100%; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--mari); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 24px; border-radius: 12px; font: 700 15px/1 Archivo, sans-serif; font-stretch: 108%; white-space: nowrap; border: 0; cursor: pointer; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #2A2C30; }
.btn-mari { background: var(--mari); color: var(--ink); }
.btn-mari:hover { background: #FFBE45; }
.btn-line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line2); }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }

/* flash */
.flash { background: var(--good-bg); color: var(--good); font-weight: 700; font-size: 15px; padding: 12px 0; }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.logo { display: flex; align-items: center; }
.logo img { display: block; width: auto; }
.nav .logo img { height: 30px; }
.nav-r { display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: 15px; color: var(--ink2); }
.nav-r .si:hover { color: var(--ink); }
.nav-r .btn { height: 44px; }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 36px; padding-bottom: 96px; }
.hero > *, .report-grid > *, .pair > *, .closer-in > * { min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip { display: inline-flex; align-items: center; gap: 7px; border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 13px; font-size: 13px; font-weight: 700; color: var(--ink); }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--good); }
h1 { font-size: clamp(42px, 5.6vw, 72px); line-height: 1.02; font-weight: 900; font-stretch: 125%; letter-spacing: -.045em; }
.found { position: relative; display: inline-block; white-space: nowrap; background: var(--mari); padding: 0 .12em .02em; border-radius: .14em; line-height: 1.02; }
.count { position: absolute; bottom: -12px; right: -10px; line-height: 1.2; font-size: 12px; font-weight: 700; font-stretch: 100%; letter-spacing: 0; background: var(--ink); color: #fff; padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.kicker { margin-top: 22px; font-weight: 700; font-size: 18px; color: var(--ink2); max-width: 32em; }
.lede { margin-top: 14px; font-size: 18px; color: var(--ink2); max-width: 32em; }
.lede b { color: var(--ink); }
.cta-row { display: flex; align-items: center; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.cta-note { font-size: 14px; color: var(--ink3); }

/* answer card + tabs + lens */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px 20px; }
.tab { font: 700 13px Archivo, sans-serif; font-stretch: 105%; padding: 7px 12px; border-radius: 999px; border: 1.5px solid var(--line2); background: #fff; color: var(--ink2); cursor: pointer; }
.tab:hover { color: var(--ink); border-color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.scene { position: relative; padding: 20px 0 20px 20px; }
.card-back { position: absolute; inset: 0 30px 50px 50px; background: var(--wash); border: 1.5px solid var(--line); border-radius: 22px; transform: rotate(4deg); }
.answer { position: relative; background: #fff; border: 1.5px solid var(--line2); border-radius: 22px; box-shadow: 0 30px 60px -28px rgba(26, 20, 13, .35); }
.a-top { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1.5px solid var(--line); }
.a-top .eng { width: 24px; height: 24px; border-radius: 7px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.a-top b { font-size: 14px; font-weight: 700; }
.a-top span { margin-left: auto; font-size: 12px; color: var(--ink3); }
.a-body { padding: 18px 20px 20px; }
.ask { margin-left: auto; width: fit-content; max-width: 86%; background: var(--wash); border-radius: 16px 16px 4px 16px; padding: 10px 14px; font-size: 15px; font-weight: 600; }
.reply { margin-top: 16px; font-size: 15px; line-height: 1.65; color: var(--ink2); }
.reply .nm { font-weight: 700; color: var(--ink); }
.picks { list-style: none; margin-top: 12px; counter-reset: p; }
.picks li { counter-increment: p; display: grid; grid-template-columns: 22px 1fr; column-gap: 8px; padding: 8px 120px 8px 0; border-top: 1px solid var(--line); }
.picks li::before { content: counter(p); grid-row: span 2; font-weight: 800; color: var(--ink3); }
.picks li:first-child { border-top: 0; }
.picks .you, .picks .nm { justify-self: start; }
.picks .why { font-size: 13px; color: var(--ink3); line-height: 1.4; margin-top: 2px; }
.you { position: relative; font-weight: 800; color: var(--ink); background: var(--mari-soft); padding: 1px 5px; border-radius: 5px; }
.a-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 20px 20px; padding: 12px 14px; border-radius: 12px; background: var(--good-bg); }
.a-foot b { color: var(--good); font-size: 14px; }
.a-foot span { font-size: 12px; color: var(--good); font-weight: 600; }
.lens { position: absolute; width: 150px; height: 150px; border-radius: 50%; border: 9px solid var(--ink); right: -30px; top: 200px; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .7), 0 18px 34px -10px rgba(0, 0, 0, .4); background: radial-gradient(circle at 35% 30%, #FFFFFF, #FFF6E2 70%, #FFEFCB); pointer-events: none; display: grid; place-items: center; }
.lens::after { content: ""; position: absolute; width: 16px; height: 70px; background: var(--ink); border-radius: 8px; bottom: -66px; right: -14px; transform: rotate(-40deg); transform-origin: top center; }
.lens .mag { font-weight: 900; font-stretch: 118%; font-size: 21px; letter-spacing: -.03em; text-align: center; line-height: 1.05; color: var(--ink); }
.lens .mag small { display: block; font-size: 11px; font-weight: 700; color: var(--mari-ink); letter-spacing: 0; margin-top: 4px; font-stretch: 100%; }
.a-body, .lens .mag { transition: opacity .15s; }
.answer.swap .a-body, .answer.swap .lens .mag { opacity: 0; }

/* the one automatic moment: the lens settles onto your name */
.lens { animation: settle 1.1s .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes settle { from { transform: translate(60px, -40px) rotate(-12deg); opacity: 0; } to { transform: none; opacity: 1; } }

/* espresso scoreboard */
.band { background: var(--esp); color: #fff; padding: 64px 0 72px; }
.band-h { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.band-h p { font-size: 15px; color: var(--esp-t2); }
.band-h p b { color: #fff; }
.band-h .q { font-size: 15px; color: var(--esp-t3); }
.score { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 30px; }
.score > div { padding: 0 22px; border-left: 1.5px solid var(--esp-line); }
.score > div:first-child { border-left: 0; padding-left: 0; }
.score .e { font-size: 14px; font-weight: 600; color: var(--esp-t2); }
.score .p { font-size: 64px; font-weight: 900; font-stretch: 125%; letter-spacing: -.05em; line-height: 1; margin-top: 10px; color: var(--mari); }
.score .p.no { color: #4E4234; }
.score .w { margin-top: 10px; font-size: 14px; color: var(--esp-t3); }
.score .w b { color: #fff; font-weight: 600; }
.score .tier { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 700; padding: 4px 9px; border-radius: 6px; background: var(--esp2); color: var(--mari); border: 1px solid var(--esp-line); }
.score .tier.off { color: var(--esp-t3); }

/* sections */
.sec { padding-top: 112px; }
.h2 { font-size: clamp(32px, 4vw, 50px); line-height: 1.04; font-weight: 900; font-stretch: 122%; letter-spacing: -.045em; max-width: 17ch; }
.sub { margin-top: 16px; font-size: 18px; color: var(--ink2); max-width: 34em; }

/* citation ladder */
.ladder { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.rungs { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.rung { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; border: 1.5px solid var(--ink); border-radius: 16px; padding: 18px 20px; background: #fff; }
.rung .lv { font-size: 34px; font-weight: 900; font-stretch: 125%; letter-spacing: -.05em; line-height: 1; min-width: 52px; }
.rung b { display: block; font-size: 17px; font-weight: 800; font-stretch: 108%; }
.rung span { font-size: 14px; color: var(--ink2); }
.rung .wt { font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 7px; white-space: nowrap; }
.rung.r1 { box-shadow: 6px 6px 0 var(--ink); }
.rung.r1 .wt { background: var(--mari); color: var(--ink); }
.rung.r2 { margin-left: 28px; }
.rung.r2 .wt { background: var(--mari-soft); color: var(--mari-ink); }
.rung.r3 { margin-left: 56px; border-color: var(--line2); }
.rung.r3 .wt { background: var(--wash); color: var(--ink2); }

/* report section + product window */
.report { margin-top: 112px; background: var(--mari-soft); padding: 96px 0; }
.report-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.report ul { list-style: none; margin-top: 24px; }
.report li { display: flex; gap: 12px; padding: 12px 0; border-top: 1.5px solid rgba(122, 78, 0, .15); font-size: 16px; font-weight: 500; }
.report li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--mari); margin-top: 7px; box-shadow: 0 0 0 2px var(--ink); }
.win { background: #fff; border: 1.5px solid var(--ink); border-radius: 16px; overflow: hidden; box-shadow: 8px 8px 0 var(--ink); font-size: 13px; min-width: 0; }
.w-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1.5px solid var(--line); }
.w-head .av { width: 28px; height: 28px; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 800; font-size: 11px; display: grid; place-items: center; }
.w-head b { font-size: 14px; font-weight: 700; display: block; line-height: 1.2; }
.w-head span { font-size: 12px; color: var(--ink3); }
.w-head .when { margin-left: auto; }
.w-body { padding: 18px; }
.verdict { font-size: 26px; font-weight: 900; font-stretch: 118%; letter-spacing: -.035em; line-height: 1.1; }
.vsub { margin-top: 6px; color: var(--ink2); font-size: 14px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.kpi { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; }
.kpi b { display: block; font-size: 24px; font-weight: 900; font-stretch: 115%; letter-spacing: -.03em; }
.kpi span { font-size: 12px; color: var(--ink3); }
.kpi em { font-style: normal; font-size: 12px; color: var(--good); font-weight: 700; margin-left: 4px; }
.alert { margin-top: 14px; border-radius: 12px; background: var(--bad-bg); padding: 14px; }
.alert .t { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.alert .t b { font-weight: 700; }
.alert .t span { color: var(--bad); font-weight: 700; white-space: nowrap; }
.alert p { margin-top: 4px; color: var(--ink2); font-size: 13px; }
.alert .btn { margin-top: 12px; height: 38px; font-size: 13px; padding: 0 16px; border-radius: 9px; cursor: default; }
.alert .btn:hover { background: var(--ink); }
.tbl { overflow-x: auto; margin-top: 14px; }
table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
th { text-align: left; font-weight: 600; color: var(--ink3); font-size: 12px; padding: 8px; border-bottom: 1.5px solid var(--line); white-space: nowrap; }
td { padding: 9px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td.q { white-space: normal; min-width: 190px; font-weight: 500; }
.c { text-align: center; }
.pos { display: inline-grid; place-items: center; min-width: 24px; height: 22px; border-radius: 6px; background: var(--mari); font-weight: 800; font-size: 12px; }
.miss { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #CFCCC4; }

/* sources + fixes */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.tile { border: 1.5px solid var(--line); border-radius: 20px; padding: 28px; background: #fff; }
.tile h3 { font-size: 22px; font-weight: 800; font-stretch: 112%; letter-spacing: -.025em; line-height: 1.2; }
.tile > p { margin-top: 8px; color: var(--ink2); font-size: 16px; }
.mini { margin-top: 20px; border: 1.5px solid var(--line); border-radius: 14px; padding: 16px; background: var(--wash); font-size: 13px; }
.mini .qq { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; font-size: 13.5px; }
.mini .qq span { font-weight: 500; color: var(--ink3); font-size: 12px; white-space: nowrap; }
.mini .txt { margin-top: 10px; color: var(--ink2); line-height: 1.6; }
.mini .txt b { color: var(--ink); }
.mini sup { font-size: 10px; color: var(--ink3); }
.src { display: grid; grid-template-columns: 18px 1fr auto; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); margin-top: 2px; }
.src:first-of-type { margin-top: 10px; }
.src > span { min-width: 0; overflow-wrap: anywhere; }
.src .n { color: var(--ink3); }
.src .c2 { color: var(--ink3); white-space: nowrap; }
.src.gap .c2 { color: var(--bad); font-weight: 700; }
.fixes { list-style: none; }
.fix { display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); align-items: start; }
.fix:first-child { border-top: 0; padding-top: 0; }
.fix:last-child { padding-bottom: 0; }
.box { width: 16px; height: 16px; border-radius: 5px; border: 2px solid #CFCCC4; margin-top: 1px; }
.box.done { background: var(--ink); border-color: var(--ink); position: relative; }
.box.done::after { content: ""; position: absolute; left: 3.5px; top: 0; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.fix b { display: block; font-weight: 600; }
.fix span { font-size: 12px; color: var(--ink3); }
.st { font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.fix .st.ok { background: var(--good-bg); color: var(--good); }
.fix .st.wait { background: var(--mari-soft); color: var(--mari-ink); }
.fix .st.new { background: #fff; color: var(--ink2); box-shadow: inset 0 0 0 1px var(--line2); }
.not { margin-top: 56px; border-top: 1.5px solid var(--line); padding-top: 28px; display: flex; gap: 12px 28px; flex-wrap: wrap; align-items: baseline; }
.not b { font-weight: 800; font-stretch: 110%; font-size: 17px; }
.not span { color: var(--ink2); font-size: 16px; text-decoration: line-through; text-decoration-color: var(--bad); text-decoration-thickness: 2px; }

/* plans */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.plan { border-radius: 22px; padding: 34px; border: 1.5px solid var(--line2); }
.plan.dark { background: var(--esp); color: #fff; border-color: var(--esp); }
.plan h3 { font-size: 30px; font-weight: 900; font-stretch: 122%; letter-spacing: -.04em; line-height: 1.05; }
.plan .for { margin-top: 8px; color: var(--ink2); font-size: 16px; }
.plan.dark .for { color: var(--esp-t2); }
.plan ul { list-style: none; margin-top: 24px; }
.plan li { padding: 11px 0; border-top: 1.5px solid var(--line); font-size: 15.5px; }
.plan.dark li { border-color: var(--esp-line); color: #E9E1D3; }
.plan .btn { margin-top: 26px; }
.cohort { margin-top: 18px; border-radius: 12px; background: var(--esp2); border: 1px solid var(--esp-line); padding: 14px 16px; font-size: 14px; color: #E9E1D3; }
.cohort b { color: var(--mari); }

/* faq */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 56px; margin-top: 48px; }
.faq h3 { font-size: 18px; font-weight: 800; font-stretch: 108%; letter-spacing: -.015em; line-height: 1.3; }
.faq p { margin-top: 8px; color: var(--ink2); font-size: 16px; }

/* closer */
.closer { margin-top: 120px; background: var(--mari); padding: 96px 0; }
.closer-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.closer h2 { font-size: clamp(38px, 5vw, 64px); line-height: 1; font-weight: 900; font-stretch: 125%; letter-spacing: -.05em; }
.closer p { margin-top: 14px; font-size: 18px; font-weight: 600; color: #4A3200; }
.scan { background: #fff; border: 2px solid var(--ink); border-radius: 18px; padding: 8px; display: flex; gap: 8px; box-shadow: 6px 6px 0 var(--ink); }
.scan:focus-within { outline: 3px solid var(--ink); outline-offset: 3px; }
.scan input { flex: 1; min-width: 0; border: 0; outline: 0; font: 600 16px Archivo, sans-serif; padding: 0 12px; color: var(--ink); background: transparent; }
.scan input::placeholder { color: var(--ink3); }
.closer .scan-error { margin-top: 14px; font-size: 15px; font-weight: 700; color: var(--ink); }

/* footer */
.foot-brand .logo img { height: 24px; }

@media (prefers-reduced-motion: reduce) {
  .lens { animation: none; }
  .a-body, .lens .mag { transition: none; }
}

@media (max-width: 960px) {
  .hero, .report-grid, .closer-in, .ladder { grid-template-columns: 1fr; }
  .hero { gap: 56px; }
  .ladder { gap: 32px; }
  .answer-wrap { max-width: 540px; }
  .pair, .plans, .faq { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .nav { height: 72px; }
  .nav .logo img { height: 20px; }
  .nav-r { gap: 12px; }
  .nav-r .si { display: none; }
  .nav-r .btn { height: 40px; padding: 0 16px; font-size: 14px; }
  .hero { padding-top: 20px; padding-bottom: 72px; }
  .kicker, .lede { font-size: 17px; }
  .tabs { margin-left: 0; }
  .scene { padding: 12px 0 12px 8px; overflow: hidden; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
  .lens { width: 96px; height: 96px; border-width: 6px; right: 4px; top: 205px; }
  .lens::after { height: 52px; width: 12px; bottom: -48px; right: -8px; }
  .lens .mag { font-size: 14px; }
  .picks li { padding-right: 92px; }
  .score { grid-template-columns: 1fr; row-gap: 28px; }
  .score > div { border-left: 0; padding: 0; }
  .score > div + div { border-top: 1.5px solid var(--esp-line); padding-top: 24px; }
  .score .p { font-size: 48px; }
  .sec { padding-top: 88px; }
  .rung { grid-template-columns: auto 1fr; padding: 16px; }
  .rung .wt { grid-column: 2; justify-self: start; }
  .rung.r1 { box-shadow: 5px 5px 0 var(--ink); }
  .rung.r2 { margin-left: 14px; }
  .rung.r3 { margin-left: 28px; }
  .report { margin-top: 88px; padding: 72px 0; }
  .win { box-shadow: 5px 5px 0 var(--ink); }
  .kpis { gap: 6px; }
  .kpi { padding: 10px; }
  .kpi b { font-size: 19px; }
  .plan, .tile { padding: 24px; }
  .closer { margin-top: 88px; padding: 72px 0; }
  .scan { flex-direction: column; box-shadow: 5px 5px 0 var(--ink); }
  .scan input { height: 48px; }
}

/* ===== site-wide chrome ===== */
.nav { gap: 24px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; font-weight: 600; color: var(--ink2); }
.nav-links a { padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.nav-links + .nav-r { margin-left: 8px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; width: 44px; height: 44px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line2); display: grid; place-items: center; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span, .menu summary span::before, .menu summary span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; }
.menu summary span::before, .menu summary span::after { content: ""; position: absolute; left: 0; }
.menu summary span::before { top: -6px; }
.menu summary span::after { top: 6px; }
.menu[open] summary { box-shadow: inset 0 0 0 1.5px var(--ink); }
.menu-panel { position: absolute; right: 0; top: 54px; z-index: 20; min-width: 220px; background: #fff; border: 1.5px solid var(--ink); border-radius: 16px; box-shadow: 6px 6px 0 var(--ink); padding: 8px; display: flex; flex-direction: column; }
.menu-panel a { padding: 12px 14px; border-radius: 10px; font-weight: 700; font-size: 16px; color: var(--ink); }
.menu-panel a:hover, .menu-panel a[aria-current="page"] { background: var(--wash); }

footer { border-top: 1.5px solid var(--line); padding: 56px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h2 { font-size: 14px; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.foot-grid a:not(.logo) { display: block; padding: 4px 0; font-size: 15px; color: var(--ink2); }
.foot-grid a:not(.logo):hover { color: var(--ink); }
.foot-brand p { margin-top: 14px; font-size: 15px; color: var(--ink2); max-width: 26ch; }
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1.5px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--ink3); }

/* ===== inner pages ===== */
.page-hero { padding-top: 36px; padding-bottom: 24px; max-width: 900px; }
.page-hero .lede { max-width: 36em; }
.page-hero .cta-row { margin-top: 28px; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.split > * { min-width: 0; }
.split.center { align-items: center; }
.prose p { margin-top: 14px; font-size: 18px; color: var(--ink2); max-width: 34em; }
.prose p:first-child { margin-top: 0; }
.prose b { color: var(--ink); }

/* numbered steps with outlined numerals */
.steps { list-style: none; display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 40px; margin-top: 48px; }
.step .n { font-size: 56px; font-weight: 900; font-stretch: 125%; letter-spacing: -.05em; line-height: 1; -webkit-text-stroke: 2px var(--ink); color: transparent; }
.step h3 { font-size: 21px; font-weight: 800; font-stretch: 110%; letter-spacing: -.02em; margin-top: 14px; line-height: 1.2; }
.step p { margin-top: 8px; color: var(--ink2); font-size: 16px; }

/* hairline rows: number, title, body */
.rows { list-style: none; margin-top: 40px; border-bottom: 1.5px solid var(--line); }
.rows li { display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px; padding: 26px 0; border-top: 1.5px solid var(--line); align-items: baseline; }
.rows .n { font-size: 30px; font-weight: 900; font-stretch: 125%; letter-spacing: -.05em; line-height: 1; }
.rows h3 { font-size: 21px; font-weight: 800; font-stretch: 110%; letter-spacing: -.02em; line-height: 1.2; }
.rows p { color: var(--ink2); font-size: 16px; }
.rows p + p { margin-top: 8px; }
.rows .owner { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--wash); color: var(--ink2); }

/* definition block */
.define { margin-top: 48px; border: 1.5px solid var(--ink); border-radius: 16px; box-shadow: 8px 8px 0 var(--ink); padding: 32px; background: #fff; }
.define .term-line { font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; font-stretch: 115%; letter-spacing: -.03em; line-height: 1.2; }
.define .term-line .hl { background: var(--mari-soft); padding: 0 .15em; border-radius: .15em; }
.define p { margin-top: 12px; color: var(--ink2); font-size: 16px; max-width: 46em; }

/* comparison table */
.compare { margin-top: 40px; border: 1.5px solid var(--line2); border-radius: 20px; overflow-x: auto; }
.compare table { font-size: 15px; min-width: 640px; }
.compare th, .compare td { padding: 16px 20px; white-space: normal; vertical-align: top; }
.compare th { font-size: 13px; font-weight: 700; color: var(--ink3); background: var(--wash); }
.compare th.us { color: var(--ink); background: var(--mari-soft); }
.compare td:first-child { font-weight: 700; width: 24%; }
.compare td { color: var(--ink2); border-bottom: 1.5px solid var(--line); }
.compare td.us { color: var(--ink); background: #FFFBF1; }

/* wash panel band */
.panel { margin-top: 112px; background: var(--wash); padding: 96px 0; }

/* forms */
.form-card { background: #fff; border: 1.5px solid var(--ink); border-radius: 16px; box-shadow: 8px 8px 0 var(--ink); padding: 32px; }
.form-card h2, .form-card h3 { font-size: 24px; font-weight: 900; font-stretch: 115%; letter-spacing: -.03em; line-height: 1.15; }
.form-card > p { margin-top: 8px; color: var(--ink2); font-size: 15px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-top: 22px; }
.fields .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea, .inline-form input { width: 100%; height: 48px; border: 1.5px solid var(--line2); border-radius: 12px; padding: 0 14px; font: 500 16px Archivo, sans-serif; color: var(--ink); background: #fff; }
.field textarea { height: auto; min-height: 110px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus, .inline-form input:focus { outline: 3px solid var(--mari); outline-offset: 1px; border-color: var(--ink); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink2); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.form-card .btn { margin-top: 20px; }
.inline-form { display: flex; gap: 10px; margin-top: 20px; max-width: 520px; }
.inline-form input { flex: 1; min-width: 0; }
.form-error { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--bad); }

/* audit check */
.check-hero { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; margin-top: 40px; }
.dial { width: 168px; height: 168px; border-radius: 50%; border: 1.5px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); display: grid; place-items: center; text-align: center; background: #fff; }
.dial b { display: block; font-size: 56px; font-weight: 900; font-stretch: 125%; letter-spacing: -.05em; line-height: 1; }
.dial span { font-size: 13px; color: var(--ink3); font-weight: 600; }
.band-pill { display: inline-block; font-size: 13px; font-weight: 800; padding: 5px 10px; border-radius: 6px; }
.band-pill.good { background: var(--good-bg); color: var(--good); }
.band-pill.fair { background: var(--mari-soft); color: var(--mari-ink); }
.band-pill.risk, .band-pill.crit { background: var(--bad-bg); color: var(--bad); }
.check-note { margin-top: 12px; font-size: 16px; color: var(--ink2); max-width: 36em; }
.findings { margin-top: 40px; border: 1.5px solid var(--line2); border-radius: 20px; padding: 8px 24px; }
.finding { display: grid; grid-template-columns: minmax(0, 1fr) 160px auto; gap: 20px; align-items: center; padding: 16px 0; border-top: 1.5px solid var(--line); }
.finding:first-child { border-top: 0; }
.finding .lab { font-weight: 700; font-size: 16px; }
.finding .bar { height: 8px; border-radius: 99px; background: var(--wash); overflow: hidden; }
.finding .bar i { display: block; height: 100%; border-radius: 99px; }
.finding .bar i.good { background: var(--good); }
.finding .bar i.warn { background: var(--mari); }
.finding .bar i.bad { background: var(--bad); }
.finding .val { font-size: 14px; color: var(--ink2); font-weight: 600; text-align: right; }
.cta-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
.cta-pair > * { min-width: 0; }
/* Audit result: the call option, secondary to the fix request. */
.call-alt { margin-top: 20px; }
.call-alt summary { cursor: pointer; list-style: none; font-size: 15px; color: var(--ink2); }
.call-alt summary::-webkit-details-marker { display: none; }
.call-alt summary span { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.call-alt[open] summary { margin-bottom: 14px; }
.call-alt .form-card { max-width: 560px; }
/* The live Done-for-you queue (real pipeline counts). */
.queue-live { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin: 14px 0 0; font-size: 14.5px; color: var(--ink2); }
.queue-live b { color: var(--ink); font-weight: 800; }
.queue-live .dot { width: 9px; height: 9px; border-radius: 50%; background: #1F8A5B; box-shadow: 0 0 0 0 rgba(31, 138, 91, .5); animation: queue-pulse 2s infinite; flex: none; }
.queue-live.full .dot { background: #D6633A; box-shadow: 0 0 0 0 rgba(214, 99, 58, .5); }
.queue-live.on-dark { color: rgba(255, 255, 255, .78); }
.queue-live.on-dark b { color: #fff; }
@keyframes queue-pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 138, 91, .45); } 70% { box-shadow: 0 0 0 8px rgba(31, 138, 91, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 138, 91, 0); } }
@media (prefers-reduced-motion: reduce) { .queue-live .dot { animation: none; } }

/* ===== legal ===== */
.lg-head { padding: 36px 0 36px; border-bottom: 1.5px solid var(--line); }
.lg-eyebrow { font-size: 15px; font-weight: 700; color: var(--ink3); }
.lg-title { margin-top: 8px; font-size: clamp(36px, 4.6vw, 56px); line-height: 1.04; font-weight: 900; font-stretch: 122%; letter-spacing: -.045em; }
.lg-lede { margin-top: 16px; font-size: 18px; color: var(--ink2); max-width: 40em; }
.lg-meta { display: flex; flex-wrap: wrap; margin-top: 28px; border: 1.5px solid var(--line); border-radius: 14px; width: fit-content; max-width: 100%; }
.lg-meta div { padding: 12px 18px; border-left: 1.5px solid var(--line); }
.lg-meta div:first-child { border-left: 0; }
.lg-meta dt { font-size: 12px; font-weight: 700; color: var(--ink3); }
.lg-meta dd { font-size: 14px; font-weight: 600; }
.lg-pill-draft { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: var(--mari-soft); color: var(--mari-ink); }
.lg-layout { display: grid; grid-template-columns: 232px minmax(0, 1fr); gap: 64px; padding: 48px 0 40px; align-items: start; }
.lg-toc { position: sticky; top: 24px; }
.lg-toc h2 { font-size: 14px; font-weight: 800; margin-bottom: 10px; }
.lg-toc ol { list-style: none; counter-reset: toc; }
.lg-toc li { counter-increment: toc; }
.lg-toc a { display: grid; grid-template-columns: 26px 1fr; padding: 5px 0; font-size: 14px; color: var(--ink2); line-height: 1.4; }
.lg-toc a::before { content: counter(toc); color: var(--ink3); font-weight: 700; }
.lg-toc a:hover { color: var(--ink); }
.lg-doc { max-width: 720px; counter-reset: sec; font-size: 17px; line-height: 1.7; }
.lg-doc a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--mari); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.lg-section { counter-increment: sec; margin-bottom: 40px; scroll-margin-top: 24px; }
.lg-section > h2 { display: flex; gap: 14px; align-items: baseline; font-size: 24px; font-weight: 900; font-stretch: 112%; letter-spacing: -.025em; line-height: 1.2; margin-bottom: 14px; }
.lg-section > h2::before { content: counter(sec); font-size: 15px; font-weight: 800; color: var(--ink3); min-width: 22px; }
.lg-section h3 { font-size: 18px; font-weight: 800; margin: 22px 0 8px; }
.lg-section p, .lg-section li { color: var(--ink2); }
.lg-section p { margin-bottom: 14px; }
.lg-section ul, .lg-section ol { margin: 0 0 16px; padding-left: 22px; }
.lg-section li { margin-bottom: 7px; }
.lg-section strong { color: var(--ink); }
.lg-doc .term { font-weight: 700; color: var(--ink); }
.lg-callout { margin: 18px 0; padding: 16px 18px; border-radius: 12px; background: var(--wash); border: 1.5px solid var(--line); }
.lg-callout p { margin: 0; color: var(--ink); font-size: 15.5px; }
.lg-callout .k { display: block; font-size: 13px; font-weight: 800; margin-bottom: 4px; }
.lg-legalese, .lg-legalese p { font-size: 15.5px; }
.lg-table-wrap { overflow-x: auto; margin: 0 0 18px; border: 1.5px solid var(--line2); border-radius: 14px; }
.lg-table { font-size: 14.5px; min-width: 520px; }
.lg-table th { background: var(--wash); white-space: nowrap; padding: 12px 16px; }
.lg-table td { padding: 12px 16px; white-space: normal; vertical-align: top; color: var(--ink2); }
.lg-table td:first-child { color: var(--ink); font-weight: 700; }
.lg-doc-foot { margin-top: 8px; padding-top: 20px; border-top: 1.5px solid var(--line); font-size: 14px; color: var(--ink3); }

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .menu { display: block; }
  .nav-r .si { display: none; }
}
@media (max-width: 960px) {
  .split, .cta-pair { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .rows li { grid-template-columns: 56px minmax(0, 1fr); }
  .rows li > :last-child { grid-column: 2; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .lg-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .lg-toc { position: static; border: 1.5px solid var(--line); border-radius: 14px; padding: 16px 18px; }
  .panel { margin-top: 88px; padding: 72px 0; }
}
@media (max-width: 560px) {
  .nav-r { gap: 8px; }
  .menu summary { width: 40px; height: 40px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .rows li { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 22px 0; }
  .rows .n { font-size: 24px; }
  .define, .form-card { padding: 22px; box-shadow: 5px 5px 0 var(--ink); }
  .fields { grid-template-columns: 1fr; }
  .inline-form { flex-direction: column; }
  .inline-form input { flex: none; }
  .check-hero { grid-template-columns: 1fr; gap: 24px; }
  .dial { width: 132px; height: 132px; box-shadow: 5px 5px 0 var(--ink); }
  .dial b { font-size: 44px; }
  .finding { grid-template-columns: minmax(0, 1fr) auto; }
  .finding .bar { grid-column: 1 / -1; grid-row: 2; }
  .findings { padding: 4px 16px; }
  .lg-meta div { border-left: 0; border-top: 1.5px solid var(--line); width: 50%; }
  .lg-meta div:nth-child(-n+2) { border-top: 0; }
}
.rows h3 a:hover { text-decoration: underline; text-decoration-color: var(--mari); text-decoration-thickness: 3px; text-underline-offset: 4px; }
@media (max-width: 560px) {
  .nav { gap: 12px; }
  .nav .logo img { height: 18px; }
  .nav-r .btn { padding: 0 14px; }
}
@media (max-width: 374px) {
  .nav-r .btn { display: none; }
}
@media (max-width: 560px) {
  .found { white-space: normal; overflow-wrap: anywhere; max-width: 100%; }
}
.error-page { padding-bottom: 112px; }

/* ======================================================================
   SOFT LAYER: softer texture pass over the brand above (dev proposal).
   Same tokens, colours, font and copy; loaded last so it refines the base:
   hard offset shadows -> layered soft shadows, 1.5px ink borders -> hairlines,
   one radius scale, lighter display type, full-bleed bands -> floating rounded
   panels, pill buttons, glass sticky nav, gentle scroll-in motion.
   ====================================================================== */
:root {
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px;
  --hair: rgba(18, 19, 20, .08); --hair2: rgba(18, 19, 20, .13);
  --soft: #FCFBF8;
  --sh-1: 0 1px 2px rgba(26, 20, 13, .04), 0 2px 8px -2px rgba(26, 20, 13, .06);
  --sh-2: 0 1px 2px rgba(26, 20, 13, .04), 0 12px 32px -12px rgba(26, 20, 13, .18);
  --sh-3: 0 2px 4px rgba(26, 20, 13, .03), 0 28px 64px -24px rgba(26, 20, 13, .28);
  --sh-mari: 0 10px 28px -10px rgba(255, 176, 31, .7);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --check-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23121314' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --check-mari: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23FFB01F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
html { scroll-behavior: smooth; }
/* the sticky nav would otherwise cover anchor targets like #snapshot */
[id] { scroll-margin-top: 92px; }
::selection { background: var(--mari-soft); }

/* type: same family, less compressed. 900/125% read as blocks at display sizes */
h1 { font-weight: 850; font-stretch: 112%; letter-spacing: -.038em; line-height: 1.04; text-wrap: balance; }
.h2 { font-weight: 800; font-stretch: 110%; letter-spacing: -.032em; line-height: 1.08; text-wrap: balance; }
.sub, .lede, .kicker, .tile > p, .faq p { text-wrap: pretty; }
.kicker { font-weight: 600; }

/* focus rings follow the element's own shape */
.btn:focus-visible, .tab:focus-visible, .nav-links a:focus-visible, .menu summary:focus-visible { border-radius: 999px; }
:focus-visible { outline-color: rgba(255, 176, 31, .9); outline-offset: 3px; }

/* buttons */
.btn { height: 50px; padding: 0 26px; border-radius: 999px; font-stretch: 104%; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); transition-duration: .05s; }
.btn-ink { background: linear-gradient(180deg, #2A2C30, #121314); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 8px 20px -10px rgba(18, 19, 20, .6); }
.btn-ink:hover { background: linear-gradient(180deg, #34363B, #1C1D20); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 14px 28px -12px rgba(18, 19, 20, .6); }
.btn-mari { background: linear-gradient(180deg, #FFC04A, #FFB01F); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), var(--sh-mari); }
.btn-mari:hover { background: linear-gradient(180deg, #FFC85F, #FFB72E); }
.btn-line { box-shadow: inset 0 0 0 1px var(--hair2), var(--sh-1); }
.btn-line:hover { box-shadow: inset 0 0 0 1px rgba(18, 19, 20, .28), var(--sh-2); }
.nav-r .btn { height: 42px; padding: 0 20px; }

/* nav: sticky glass, gains a hairline once the page scrolls */
.nav-shell { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.nav-shell.scrolled { border-bottom-color: var(--hair); box-shadow: 0 10px 30px -24px rgba(26, 20, 13, .35); }
.nav { height: 76px; }
.nav-links { gap: 2px; }
.nav-links a { padding: 8px 14px; border-bottom: 0; border-radius: 999px; transition: background-color .2s, color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--wash); }
.menu summary { border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hair2); transition: box-shadow .2s; }
.menu[open] summary { box-shadow: inset 0 0 0 1px rgba(18, 19, 20, .3); }
.menu-panel { border: 1px solid var(--hair); border-radius: 20px; box-shadow: var(--sh-3); padding: 8px; }
.menu-panel a { border-radius: 12px; font-weight: 600; }

/* hero. clip, not hidden: keeps the glow from widening the page without making main a scroll container */
main { overflow-x: clip; }
.hero { position: relative; isolation: isolate; padding-top: 56px; padding-bottom: 120px; }
.hero::before { content: ""; position: absolute; z-index: -1; right: -12%; top: -6%; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 176, 31, .2), rgba(255, 176, 31, .06) 55%, rgba(255, 176, 31, 0)); pointer-events: none; }
.chip { border: 0; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px var(--hair2), var(--sh-1); padding: 7px 14px; font-weight: 600; }
.chip i { box-shadow: 0 0 0 3px rgba(23, 128, 74, .16); }
.found { background: linear-gradient(180deg, #FFC44F, #FFB01F); padding: 0 .14em .04em; border-radius: .2em; box-shadow: 0 14px 28px -16px rgba(255, 140, 0, .85); }
.count { border-radius: 999px; padding: 3px 9px; box-shadow: 0 6px 14px -6px rgba(18, 19, 20, .6); }

/* answer card */
.tab { border: 0; box-shadow: inset 0 0 0 1px var(--hair2); padding: 8px 14px; font-weight: 600; transition: background-color .2s, color .2s, box-shadow .2s; }
.tab:hover { border-color: transparent; box-shadow: inset 0 0 0 1px rgba(18, 19, 20, .3); }
.tab[aria-selected="true"] { box-shadow: 0 8px 18px -10px rgba(18, 19, 20, .7); }
.card-back { border: 0; border-radius: 30px; background: linear-gradient(155deg, #FFF0CC, #F7F6F2 70%); transform: rotate(3deg); box-shadow: var(--sh-1); }
.answer { border: 1px solid var(--hair); border-radius: 26px; box-shadow: var(--sh-3); }
.a-top { border-bottom: 1px solid var(--hair); padding: 15px 20px; }
.a-top .eng { border-radius: 8px; background: linear-gradient(135deg, #3A3C41, #121314); }
.ask { border-radius: 18px 18px 6px 18px; background: linear-gradient(180deg, #F7F6F2, #F2F0EA); }
.picks li { border-top: 1px solid var(--hair); }
.you { border-radius: 6px; }
.a-foot { border-radius: 16px; background: linear-gradient(180deg, #E9F6EE, #E1F2E8); box-shadow: inset 0 0 0 1px rgba(23, 128, 74, .1); }
.lens { border-width: 7px; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .75), 0 26px 46px -16px rgba(0, 0, 0, .38); }
.lens::after { border-radius: 999px; }

/* scoreboard: a floating panel, not a full-bleed slab */
.band { position: relative; overflow: hidden; isolation: isolate; width: calc(100% - 48px); max-width: 1232px; margin: 0 auto; border-radius: var(--r-xl); padding: 72px 0 80px; background: radial-gradient(120% 160% at 0% 0%, #2C2217 0%, #1A140D 55%); box-shadow: var(--sh-3); }
.band::before { content: ""; position: absolute; z-index: -1; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 176, 31, .22), rgba(255, 176, 31, 0)); }
.score { gap: 16px; }
.score > div, .score > div:first-child { padding: 24px; border-left: 0; border-radius: 22px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.score > div + div { border-top: 0; }
.score .p { font-stretch: 112%; font-weight: 850; letter-spacing: -.04em; }
.score .tier { border-radius: 999px; padding: 5px 11px; border-color: rgba(255, 255, 255, .08); }

/* sections */
.sec { padding-top: 128px; }

/* citation ladder */
.rungs { gap: 14px; }
.rung { border: 1px solid var(--hair); border-radius: 22px; padding: 18px 22px 18px 18px; box-shadow: var(--sh-2); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.rung:hover { transform: translateY(-2px); box-shadow: var(--sh-3); }
.rung .lv { display: grid; place-items: center; width: 54px; height: 54px; min-width: 0; border-radius: 16px; background: var(--wash); font-size: 26px; font-stretch: 110%; }
.rung b { font-weight: 700; font-stretch: 104%; }
.rung .wt { border-radius: 999px; padding: 6px 12px; font-weight: 700; }
.rung.r1 { background: linear-gradient(135deg, #FFF8E6, #fff 65%); border-color: rgba(255, 176, 31, .45); box-shadow: var(--sh-3), 0 0 0 4px rgba(255, 176, 31, .1); }
.rung.r1 .lv { background: linear-gradient(180deg, #FFC44F, #FFB01F); box-shadow: var(--sh-mari); }
.rung.r3 { border-color: var(--hair); background: var(--soft); box-shadow: var(--sh-1); }
.rung.r3 .lv { color: var(--ink2); }

/* report: rounded warm panel */
.report { width: calc(100% - 48px); max-width: 1232px; margin: 128px auto 0; border-radius: var(--r-xl); background: linear-gradient(160deg, #FFF1D1 0%, #FFF7E6 55%, #FFFBF3 100%); box-shadow: inset 0 0 0 1px rgba(122, 78, 0, .07); }
.report li { align-items: flex-start; border-top: 1px solid rgba(122, 78, 0, .12); }
.report li::before { width: 22px; height: 22px; margin-top: 0; border-radius: 50%; box-shadow: 0 4px 10px -4px rgba(255, 140, 0, .8); background: var(--mari) var(--check-ink) center / 15px no-repeat; }
.win { border: 1px solid var(--hair); border-radius: 22px; box-shadow: var(--sh-3), 0 0 0 8px rgba(255, 255, 255, .55); }
.w-head { border-bottom: 1px solid var(--hair); background: linear-gradient(180deg, #FDFCFA, #fff); }
.w-head .dots { display: flex; gap: 6px; margin-right: 4px; }
.w-head .dots i { width: 10px; height: 10px; border-radius: 50%; background: #E6E3DC; }
.w-head .av { border-radius: 10px; background: linear-gradient(135deg, #3A3C41, #121314); }
.kpi { border: 1px solid var(--hair); border-radius: 16px; background: var(--soft); }
.alert { border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(194, 65, 43, .12); }
.alert .btn { border-radius: 999px; }
.alert .btn:hover { background: linear-gradient(180deg, #2A2C30, #121314); transform: none; }
th, td { border-bottom-width: 1px; border-bottom-color: var(--hair); }
.pos { border-radius: 8px; box-shadow: inset 0 -1px 0 rgba(122, 78, 0, .15); }
.miss { border-width: 1.5px; }

/* sources + fixes */
.pair { gap: 24px; }
.tile { border: 1px solid var(--hair); border-radius: 28px; padding: 32px; background: linear-gradient(180deg, #fff, var(--soft)); box-shadow: var(--sh-1); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.tile:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.tile h3 { font-weight: 750; font-stretch: 106%; }
.mini { border: 1px solid var(--hair); border-radius: 18px; background: #fff; box-shadow: var(--sh-1); }
.src, .fix { border-top-color: var(--hair); }
.box { border-radius: 6px; border-width: 1.5px; }
.st { border-radius: 999px; padding: 3px 10px; }
.not { border-top: 1px solid var(--hair); gap: 10px; align-items: center; }
.not b { margin-right: 8px; font-weight: 700; }
.not span { padding: 6px 14px; border-radius: 999px; background: var(--wash); font-size: 15px; text-decoration-thickness: 1.5px; }

/* plans */
.plans { gap: 24px; }
.plan { border: 1px solid var(--hair2); border-radius: 30px; padding: 38px; background: #fff; box-shadow: var(--sh-1); }
.plan.dark { border: 0; background: radial-gradient(130% 120% at 100% 0%, #3D2E1C 0%, #1A140D 58%); box-shadow: var(--sh-3); }
.plan h3 { font-weight: 800; font-stretch: 110%; letter-spacing: -.03em; }
.plan li { position: relative; padding-left: 32px; border-top: 1px solid var(--hair); }
.plan li::before { content: ""; position: absolute; left: 0; top: 12px; width: 20px; height: 20px; border-radius: 50%; background: var(--wash) var(--check-ink) center / 14px no-repeat; }
.plan.dark li { border-color: rgba(255, 255, 255, .08); }
.plan.dark li::before { background: rgba(255, 176, 31, .16) var(--check-mari) center / 14px no-repeat; }
.cohort { border-radius: 16px; border: 1px solid rgba(255, 176, 31, .22); background: rgba(255, 176, 31, .07); }

/* faq: soft cards instead of loose text blocks */
.faq { gap: 16px; }
.faq > div { padding: 26px 28px; border-radius: 22px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--hair); transition: background-color .25s, box-shadow .25s var(--ease); }
.faq > div:hover { background: #fff; box-shadow: inset 0 0 0 1px var(--hair), var(--sh-2); }
.faq h3 { font-weight: 700; font-stretch: 104%; }

/* closer: rounded marigold panel with soft light */
.closer { position: relative; overflow: hidden; isolation: isolate; width: calc(100% - 48px); max-width: 1232px; margin: 128px auto 0; border-radius: 36px; background: radial-gradient(90% 140% at 100% 0%, #FFD685 0%, #FFB01F 52%, #F7A512 100%); box-shadow: 0 30px 70px -36px rgba(201, 120, 0, .65); }
.closer::before { content: ""; position: absolute; z-index: -1; left: -140px; bottom: -220px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0)); }
.closer h2 { font-weight: 850; font-stretch: 112%; letter-spacing: -.04em; text-wrap: balance; }
.closer p { font-weight: 500; }
.scan { border: 0; border-radius: 999px; padding: 8px; box-shadow: inset 0 0 0 1px rgba(122, 78, 0, .08), 0 22px 44px -20px rgba(122, 78, 0, .6); transition: box-shadow .2s; }
.scan:focus-within { outline: 0; box-shadow: 0 0 0 4px rgba(18, 19, 20, .18), 0 22px 44px -20px rgba(122, 78, 0, .6); }
.scan input { padding: 0 18px; font-weight: 500; }
.scan .btn { height: 52px; }

/* footer */
footer { border-top: 0; padding-top: 88px; }
.foot-bottom { border-top: 1px solid var(--hair); }
.foot-grid a:not(.logo) { transition: color .2s; }

/* one entrance per block, on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media print { .reveal { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .rung, .tile, .faq > div { transition: none; }
  .btn:hover, .rung:hover, .tile:hover { transform: none; }
}

@media (max-width: 960px) {
  .hero::before { right: -40%; top: 30%; }
}
@media (max-width: 560px) {
  .nav { height: 68px; }
  /* at 375px the live header is 4.5px wider than the screen; this pulls it back in */
  .nav { gap: 8px; }
  .nav-r { gap: 6px; }
  .nav-r .btn { height: 40px; padding: 0 12px; }
  .band, .report, .closer { width: calc(100% - 24px); border-radius: 26px; }
  .band { padding: 56px 0 60px; }
  .score > div, .score > div:first-child, .score > div + div { padding: 20px; }
  .report, .closer { margin-top: 96px; }
  .sec { padding-top: 96px; }
  .tile, .plan { padding: 24px; border-radius: 24px; }
  .faq > div { padding: 22px; }
  .rung { padding: 14px; }
  .rung .lv { width: 44px; height: 44px; font-size: 22px; border-radius: 13px; }
  .scan { border-radius: 24px; }
  .scan .btn { width: 100%; }
  .w-head .dots { display: none; }
}

/* primary "we fix it" card: espresso, like the managed plan card */
.form-card.dark { background: var(--esp); border-color: var(--esp); color: #fff; }
.form-card.dark > p, .form-card.dark .consent { color: var(--esp-t2); }
.form-card.dark .field label { color: #fff; }
.form-card.dark .field input { border-color: var(--esp-line); }
.form-card.dark .consent input { accent-color: var(--mari); }
.form-card.dark .form-error { color: #FF9C87; }

/* Content pages (insights, guides, glossary, research, author). Existing tokens only. */
.crumbs { padding-top: 28px; font-size: 14px; color: var(--ink3); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line2); }
.crumbs a { color: var(--ink2); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.page-hero .summary { margin-top: 14px; font-size: 17px; color: var(--ink2); max-width: 38em; }
.page-hero .byline { margin-top: 18px; font-size: 14px; color: var(--ink3); }
.page-hero .byline a { color: var(--ink); font-weight: 700; }
.draft-flag { display: inline-block; margin-bottom: 14px; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 6px; background: var(--mari-soft); color: var(--mari-ink); }
.article-body { max-width: 760px; padding-top: 8px; }
.article-body h2 { margin-top: 40px; font-size: 26px; font-weight: 800; font-stretch: 110%; letter-spacing: -.02em; line-height: 1.2; }
.article-body h3 { margin-top: 28px; font-size: 20px; font-weight: 800; letter-spacing: -.015em; line-height: 1.3; }
.article-body ul, .article-body ol { margin-top: 14px; padding-left: 1.3em; font-size: 18px; color: var(--ink2); max-width: 34em; }
.article-body li + li { margin-top: 6px; }
.article-body a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--mari); text-underline-offset: 3px; }
.article-body strong { color: var(--ink); }
.article-body blockquote { margin-top: 18px; padding-left: 18px; border-left: 3px solid var(--mari); color: var(--ink2); }
.term-list { list-style: none; margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.term-list li { padding: 22px 24px; border-radius: 18px; background: var(--wash); box-shadow: inset 0 0 0 1px var(--line); }
.term-list b { display: block; font-size: 18px; font-weight: 800; }
.term-list span { display: block; margin-top: 6px; color: var(--ink2); font-size: 15px; }
.link-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.link-list a { display: inline-block; padding: 8px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line2); font-weight: 700; font-size: 14px; }
.link-list a:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
@media (max-width: 720px) { .term-list { grid-template-columns: 1fr; } }

/* AI Readiness Check (instant, reads the site) and the AI Visibility Snapshot booking. */
.readiness-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 40px; border-radius: 24px; background: var(--wash); box-shadow: inset 0 0 0 1px var(--line); }
.readiness-in > * { min-width: 0; }
.readiness .lede { margin-top: 14px; }
.next-step { margin-top: 48px; padding: 32px; border-radius: 20px; background: var(--mari-soft); box-shadow: inset 0 0 0 1px var(--line); }
.next-step .eyebrow { display: block; font-size: 13px; font-weight: 700; color: var(--mari-ink); }
.next-step h2 { margin-top: 6px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.next-step p { margin-top: 10px; max-width: 40em; color: var(--ink2); }
.next-step .btn { margin-top: 18px; }
.closer .closer-alt { margin-top: 18px; font-size: 15px; }
.closer .closer-alt a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.closer .snapshot-form { box-shadow: 0 22px 44px -20px rgba(122, 78, 0, .6); border: 0; }
.closer .snapshot-form .btn { margin-top: 20px; width: 100%; }
@media (max-width: 960px) { .readiness-in { grid-template-columns: 1fr; padding: 28px; } }
@media (max-width: 560px) { .snapshot-form .fields { grid-template-columns: 1fr; } }

/* Mascot. Light grounds only: paper, wash, marigold. Never on espresso panels. */
.mascot { display: block; height: auto; max-width: 100%; }
.error-page.has-mascot { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 48px; align-items: center; max-width: 1100px; }
.error-page .mascot { width: 260px; }
.closer .closer-in.has-mascot { grid-template-columns: minmax(0, 1fr) 210px minmax(0, 420px); grid-template-areas: "text mascot form"; gap: 32px; }
.closer-in.has-mascot > :first-child { grid-area: text; }
.closer-in.has-mascot > .mascot { grid-area: mascot; width: 210px; align-self: end; }
.closer-in.has-mascot > :last-child { grid-area: form; }
.scan-loading { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.scan-loading[hidden] { display: none; }
.scan-loading .mascot { width: 100px; animation: mascot-bob 1.6s ease-in-out infinite; }
.scan-loading p { font-weight: 700; color: var(--ink2); }
.readiness.is-loading .scan { opacity: .5; pointer-events: none; }
@keyframes mascot-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.signup-row { display: flex; align-items: flex-end; gap: 24px; max-width: 680px; border-bottom: 1.5px solid var(--line); }
.signup-row .inline-form { flex: 1; margin: 20px 0 24px; }
.signup-row .mascot { width: 130px; flex: none; }
@media (prefers-reduced-motion: reduce) { .scan-loading .mascot { animation: none; } }
@media (max-width: 960px) {
  .closer .closer-in.has-mascot { grid-template-columns: 1fr; grid-template-areas: "mascot" "text" "form"; gap: 24px; }
  .closer-in.has-mascot > .mascot { width: 100px; align-self: start; }
}
@media (max-width: 720px) {
  .error-page.has-mascot { grid-template-columns: 1fr; gap: 24px; }
  .error-page .mascot { width: 140px; order: -1; }
  .signup-row { flex-direction: column-reverse; align-items: stretch; gap: 0; }
  .signup-row .mascot { width: 96px; margin-top: 12px; }
  .signup-row .inline-form { margin-top: 0; }
}
