/* Copycat Hunt landing page. Brand: mint #2ee6a6 on ink #161618, IBM Plex. */
@font-face { font-family: "CH Plex Sans"; src: url("fonts/IBMPlexSans-latin.woff2") format("woff2"); font-weight: 100 700; font-style: normal; font-display: swap; }
@font-face { font-family: "CH Plex Mono"; src: url("fonts/IBMPlexMono-400-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "CH Plex Mono"; src: url("fonts/IBMPlexMono-500-latin.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --paper: #f6f7f5;
  --paper-2: #eceeea;
  --surface: #ffffff;
  --ink: #161618;
  --ink-2: #232326;
  --ink-3: #2e2e32;
  --text: #161618;
  --muted: #555a61;
  --muted-2: #c4c8cc;
  --line: rgba(22, 22, 24, 0.09);
  --line-strong: rgba(22, 22, 24, 0.16);
  --mint: #2ee6a6;
  --mint-hi: #5cefbd;
  --mint-deep: #057a51;
  --mint-soft: #d9f8ec;
  --on-ink: #ececf0;
  --on-ink-muted: #a3a3ab;
  --panel: #161618;
  --surface-2: #fbfcfb;
  --nav-bg: rgba(246, 247, 245, 0.88);
  --btn-ink-bg: #161618;
  --btn-ink-hover: #2e2e32;
  --btn-ink-fg: #ececf0;
  --font: "CH Plex Sans", "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "CH Plex Mono", "IBM Plex Mono", ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --r: 14px;
  --shadow: 0 1px 2px rgba(22, 22, 24, 0.06), 0 12px 32px -12px rgba(22, 22, 24, 0.18);
  --shadow-lg: 0 2px 4px rgba(22, 22, 24, 0.06), 0 32px 64px -24px rgba(22, 22, 24, 0.35);
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; scrollbar-color: #b9bdc1 var(--paper); }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1.0625rem/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
::selection { background: var(--mint); color: var(--ink); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 6px; }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: #c4c8cc; border: 3px solid var(--paper); border-radius: 8px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.defs { position: absolute; }
.wrap { width: min(1200px, 100%); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 16px; top: -60px; background: var(--btn-ink-bg); color: var(--btn-ink-fg); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }

h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5vw, 4.5rem); line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; letter-spacing: -0.03em; }
h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 1rem/1 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.2s, border-color 0.2s; }
.btn .i { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(0.985); }
.btn-mint { background: var(--mint); color: var(--ink); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 8px 20px -10px rgba(5, 122, 81, 0.6); }
.btn-mint:hover { background: var(--mint-hi); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 14px 28px -12px rgba(5, 122, 81, 0.7); }
.btn-ink { background: var(--btn-ink-bg); color: var(--btn-ink-fg); }
.btn-ink:hover { background: var(--btn-ink-hover); transform: translateY(-1px); }
.btn-quiet { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-quiet:hover { border-color: var(--text); background: var(--surface); }
.btn-ghost { background: transparent; color: var(--on-ink); border-color: rgba(255, 255, 255, 0.2); }
.btn-ghost:hover { border-color: var(--on-ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.9375rem; }
.btn-block { width: 100%; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--nav-bg); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; text-decoration: none; }
.brand img { border-radius: 8px; }
.nav nav { margin-left: auto; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 0.9375rem; color: var(--muted); text-decoration: none; transition: color 0.2s, background-color 0.2s; }
.nav-links a:hover { color: var(--text); background: var(--paper-2); }

/* Hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.lede { margin-top: 24px; font-size: clamp(1.1rem, 1.4vw, 1.25rem); line-height: 1.55; color: var(--muted); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.cta-center { justify-content: center; }
.fine { margin-top: 16px; font-size: 0.9375rem; color: var(--muted); }

/* Hunt panel (signature) */
.hunt { position: relative; background: var(--panel); color: var(--on-ink); border-radius: 20px; padding: 18px; box-shadow: var(--shadow-lg); overflow: hidden; isolation: isolate; }
.hunt-bar { display: flex; align-items: center; gap: 10px; font-size: 0.9375rem; flex-wrap: wrap; }
.hunt-title b { font-weight: 600; }
.hunt-mk { margin-left: auto; font-size: 0.8125rem; color: var(--on-ink-muted); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(46, 230, 166, 0.5); }
.hunt.running .pulse { animation: pulse 1.4s var(--ease) infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(46, 230, 166, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 230, 166, 0); } }
.sample { font: 500 0.75rem/1 var(--font); letter-spacing: 0.01em; padding: 5px 7px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); color: var(--on-ink-muted); }
.hunt-progress { height: 3px; margin: 14px 0 16px; background: rgba(255, 255, 255, 0.08); border-radius: 6px; overflow: hidden; }
.hunt-progress i { display: block; height: 100%; width: 100%; background: var(--mint); transform-origin: left; }
.hunt-body { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: 14px; }
.mine { margin: 0; align-self: stretch; justify-content: space-between; display: flex; flex-direction: column; gap: 10px; padding: 10px; border-radius: 12px; background: var(--ink-2); border: 1px solid rgba(46, 230, 166, 0.35); }
.mine figcaption { display: flex; flex-direction: column; font-size: 0.8125rem; color: var(--on-ink-muted); line-height: 1.35; }
.mine figcaption b { color: var(--on-ink); font-weight: 600; font-size: 0.9375rem; }
.mine-meta { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: grid; gap: 6px; font-size: 0.75rem; }
.mine-meta div { display: flex; justify-content: space-between; gap: 8px; }
.mine-meta dt { color: var(--on-ink-muted); }
.mine-meta dd { margin: 0; color: var(--on-ink); }
.tile { aspect-ratio: 1; border-radius: 8px; background: #2a2a2f; display: grid; place-items: center; overflow: hidden; }
.tile svg { width: 86%; height: 86%; }
.results { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.res { position: relative; display: flex; flex-direction: column; gap: 7px; padding: 7px; border-radius: 12px; background: var(--ink-2); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), background-color 0.4s; }
.res-mk { position: absolute; top: 12px; left: 12px; font-size: 0.6875rem; padding: 3px 6px; border-radius: 6px; background: rgba(22, 22, 24, 0.72); color: var(--on-ink); }
.tag { align-self: flex-start; font-size: 0.75rem; font-weight: 500; line-height: 1; padding: 6px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); color: var(--on-ink-muted); transition: background-color 0.4s, color 0.4s; }
.res.is-copycat .tag { background: var(--mint); color: var(--ink); }
.res.is-yours { background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.res.is-yours .tile { opacity: 0.4; }
.res.is-yours .tag { background: transparent; color: var(--on-ink-muted); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.hunt-foot { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 0.875rem; color: var(--on-ink-muted); }
.hunt-count b { color: var(--on-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.replay { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.16); background: transparent; color: var(--on-ink); font: 500 0.8125rem/1 var(--font); cursor: pointer; transition: border-color 0.2s, background-color 0.2s; }
.replay .i { width: 15px; height: 15px; transition: transform 0.5s var(--ease); }
.replay:hover { border-color: var(--on-ink); background: rgba(255, 255, 255, 0.05); }
.replay:hover .i { transform: rotate(-120deg); }
.replay:focus-visible { outline-color: var(--mint); }
.sheet { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 20px; align-items: center; margin-top: 14px; background: var(--surface); color: var(--text); border-radius: 14px; padding: 14px 16px; box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.6); transition: transform 0.8s var(--ease), opacity 0.6s var(--ease); }
.sheet-head { display: flex; justify-content: space-between; align-items: center; font-size: 0.9375rem; }
.sheet-head .mono { font-size: 0.75rem; color: var(--muted); }
.sheet-head { grid-column: 1 / -1; }
.sheet-rows { margin: 4px 0 0; display: grid; gap: 6px; font-size: 0.8125rem; }
.sheet-rows div { display: grid; grid-template-columns: 80px 1fr; gap: 8px; align-items: baseline; }
.sheet-rows dt { color: var(--muted); }
.sheet-rows dd { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; }
.sheet-rows .mono { font-size: 0.75rem; }
.sheet-note { display: flex; flex-direction: column; align-items: flex-end; text-align: right; max-width: 150px; gap: 8px; font-size: 0.8125rem; color: var(--muted); line-height: 1.35; }
.btn-fake { flex: none; background: var(--btn-ink-bg); color: var(--btn-ink-fg); font-weight: 600; font-size: 0.8125rem; padding: 8px 14px; border-radius: 999px; }

/* Hunt states: default (no JS) shows the finished hunt. */
.hunt.reset .hunt-progress i { transform: scaleX(0); }
.hunt.reset .res { opacity: 0; transform: translateY(8px) scale(0.98); }
.hunt.reset .sheet, .hunt.pre-sheet .sheet { opacity: 0; transform: translateY(24px); pointer-events: none; }
.hunt.running .hunt-progress i { transform: scaleX(1); transition: transform 2.6s cubic-bezier(0.3, 0.2, 0.2, 1); }

/* Marketplaces strip */
.markets { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.markets-in { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; font-size: 0.9375rem; color: var(--muted); }
.mk-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.mk-list li { font-size: 0.8125rem; color: var(--text); padding: 6px 10px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); }
.mk-note { margin-left: auto; }

/* Sections */
section { position: relative; }
.how, .feature, .control, .faq { padding: clamp(80px, 11vw, 144px) 0; }
.how h2 { max-width: 16em; }
.steps { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); counter-reset: step; }
.step { counter-increment: step; }
.step-art { width: 100%; height: auto; margin-bottom: 24px; }
.step-art text { font-family: var(--font); }
.sa-b { font-size: 9px; font-weight: 600; fill: var(--text); }
.sa-m { font: 400 6.5px var(--mono); fill: var(--muted); }
.sa-l { font-size: 6.5px; fill: var(--muted); }
.sa-v { font-size: 6.5px; font-weight: 500; fill: var(--text); }
.sa-btn { font-size: 8px; font-weight: 600; fill: #161618; }
.sa-tag { font-size: 5px; font-weight: 600; fill: #161618; }
.sa-sub { font-size: 7px; font-weight: 600; fill: var(--paper); }
.step h3::before { content: counter(step); display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 10px; border-radius: 50%; background: var(--btn-ink-bg); color: var(--btn-ink-fg); font: 500 0.8125rem/1 var(--mono); vertical-align: 2px; }
.step p { margin-top: 10px; color: var(--muted); max-width: 30em; }

.yours { background: var(--panel); color: var(--on-ink); padding: clamp(80px, 11vw, 144px) 0; }
.yours-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.yours-copy p { margin-top: 22px; color: var(--on-ink-muted); max-width: 32em; font-size: 1.125rem; }
.yours-copy p.quiet { font-size: 1rem; }
.own-grid { display: grid; gap: 12px; }
.own-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.own { display: flex; flex-direction: column; gap: 8px; padding: 8px; border-radius: 12px; background: var(--ink-2); font-size: 0.75rem; font-weight: 500; transition: opacity 0.5s var(--ease), background-color 0.5s; }
.own span { align-self: flex-start; padding: 5px 8px; border-radius: 999px; white-space: nowrap; }
.own[data-k="look"] span { background: var(--mint); color: var(--ink); }
.own[data-k="yours"] { background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.own[data-k="yours"] .tile { opacity: 0.38; }
.own[data-k="yours"] span { color: var(--on-ink-muted); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.sample-note { font: 500 0.75rem/1 var(--font); color: var(--on-ink-muted); text-align: right; }

.feature-in { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.feature-alt .feature-in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.feature-alt .feature-copy { order: 2; }
.feature-alt { padding-top: 0; }
.feature-stack .feature-in { grid-template-columns: minmax(0, 1fr); gap: 48px; }
.feature-stack .feature-copy { max-width: 40em; }
.feature-copy p { margin-top: 22px; color: var(--muted); font-size: 1.125rem; max-width: 32em; }
.feature-copy p.quiet { font-size: 1rem; }

.diff { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.diff-col { padding: 22px; font-size: 0.9375rem; }
.diff-theirs { border-left: 1px solid var(--line); background: var(--surface-2); }
.diff-label { font-size: 0.8125rem; color: var(--muted); }
.diff-title { margin-top: 8px; font-weight: 600; line-height: 1.4; }
.diff ul { margin: 12px 0 0; padding-left: 18px; color: var(--muted); display: grid; gap: 8px; line-height: 1.5; }
mark { background: var(--mint-soft); color: var(--text); border-radius: 6px; padding: 0 2px; box-decoration-break: clone; -webkit-box-decoration-break: clone; box-shadow: inset 0 -2px 0 var(--mint); }
.diff-sum { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--line); font-size: 0.875rem; font-weight: 500; }
.diff-sum .sample { margin-left: auto; background: var(--paper-2); color: var(--muted); }

.rank { list-style: none; margin: 0; padding: 10px; background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); border: 1px solid var(--line); }
.rank li { display: grid; grid-template-columns: 24px 44px minmax(0, 1fr) minmax(60px, 1.2fr) auto; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 12px; transition: background-color 0.25s; }
.rank li:not(.rank-note):hover { background: var(--paper); }
.rank-n { color: var(--muted); font-size: 0.875rem; }
.tile-sm { width: 44px; border-radius: 8px; }
.rank-name { font-weight: 600; font-size: 0.9375rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-bar { height: 6px; }
.rank-bar i { display: block; height: 100%; width: var(--w); background: var(--mint); border-radius: 6px; transform-origin: left; transition: transform 1.1s var(--ease) 0.2s; }
html.js .rank:not(.in) .rank-bar i { transform: scaleX(0); }
.rank-u { font-size: 0.8125rem; color: var(--muted); }
.rank li.rank-note { display: block; padding: 8px 12px 4px; font: 500 0.75rem/1 var(--font); color: var(--muted); text-align: right; }

.control { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.control-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 5vw, 56px); }
.promises { max-width: 760px; }
.control-copy p { margin-top: 22px; color: var(--muted); font-size: 1.125rem; max-width: 26em; }
.promises { list-style: none; margin: 0; padding: 0; display: grid; }
.promises li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 4px 20px; padding: 28px 0; }
.promises li + li { border-top: 1px solid var(--line); }
.promises li:first-child { padding-top: 4px; }
.promises .pi { grid-row: span 2; }
.pi { width: 32px; height: 32px; color: var(--mint-deep); }
.promises p { color: var(--muted); max-width: 40em; }
.top-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }

.pricing { padding: clamp(80px, 11vw, 144px) 0; }
.pricing-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: clamp(40px, 6vw, 96px); align-items: start; }
.pricing-copy p { margin-top: 22px; color: var(--muted); font-size: 1.125rem; max-width: 30em; }
.start { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.start li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 4px 14px; padding: 16px 0; border-top: 1px solid var(--line); color: var(--muted); }
.start li::before { content: counter(s); grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--mint-soft); color: var(--mint-deep); font: 500 0.8125rem/1 var(--mono); }
.start b { color: var(--text); font-weight: 600; }
.plan { background: var(--surface); border-radius: 20px; padding: 28px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-head h3 { font-size: 1.375rem; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--paper-2); }
.seg button { border: 0; background: transparent; min-height: 36px; padding: 8px 16px; border-radius: 999px; font: 500 0.875rem/1 var(--font); color: var(--muted); cursor: pointer; transition: background-color 0.3s var(--ease), color 0.2s, box-shadow 0.3s; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(22, 22, 24, 0.14); }
.seg button:hover { color: var(--text); }
.price { margin-top: 26px; display: flex; align-items: baseline; gap: 8px; }
.price-n { font-size: 3.25rem; font-weight: 600; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; display: inline-block; }
.price-n.swap { animation: swap 0.45s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(8px); filter: blur(3px); } }
.price-per { color: var(--muted); }
.price-save { margin-top: 8px; font-size: 0.875rem; font-weight: 500; color: var(--mint-deep); }
.plan-list { list-style: none; margin: 24px 0 28px; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.plan-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; }
.plan-list li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m5.5 9.2 2.3 2.3 4.7-5' fill='none' stroke='%23057a51' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.plan-fine { margin-top: 14px; font-size: 0.8125rem; color: var(--muted); text-align: center; }
.plan-pro { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line-strong); font-size: 0.875rem; color: var(--muted); }
.plan-pro b { color: var(--text); font-weight: 600; }

.faq { padding-top: 0; }
.faq-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.faq-in > * { max-width: 880px; }
.faq-list { margin-top: clamp(24px, 3vw, 40px); }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 1.0625rem; transition: color 0.2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M14 9v10M9 14h10' stroke='%23161618' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 28px no-repeat; transition: transform 0.4s var(--ease), background-color 0.2s; }
.faq summary:hover::after { background-color: var(--mint-soft); }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--mint); }
.faq details p { padding: 0 48px 22px 0; color: var(--muted); max-width: 40em; }
.faq details[open] p { animation: open 0.5s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-4px); } }
.faq-more { margin-top: 12px; color: var(--muted); }

.close { background: var(--panel); color: var(--on-ink); padding: clamp(88px, 12vw, 160px) 0; text-align: center; overflow: hidden; }
.close-in { display: flex; flex-direction: column; align-items: center; }
.close img { border-radius: 14px; margin-bottom: 32px; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.6); }
.close h2 { max-width: 14em; font-size: clamp(2rem, 3.6vw, 3rem); }

.foot { background: var(--panel); color: var(--on-ink-muted); border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 32px 0 40px; font-size: 0.875rem; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--on-ink); font-weight: 600; }
.foot-brand img { border-radius: 6px; }
.foot-links { display: flex; gap: 20px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.foot-links a { text-decoration: none; transition: color 0.2s; }
.foot-links a:hover { color: var(--mint); text-decoration: underline; }
.foot-links a:focus-visible, .close :focus-visible { outline-color: var(--mint); }
.foot-legal { flex-basis: 100%; font-size: 0.8125rem; line-height: 1.6; max-width: 70em; }

/* Scroll reveal: only hidden when JS is running, so content is never lost. */
html.js .reveal { transform: translateY(16px); transition: transform 0.9s var(--ease); }
html.js .reveal.in { transform: none; }
.steps .reveal:nth-child(2), .promises .reveal:nth-child(2) { transition-delay: 0.08s; }
.steps .reveal:nth-child(3), .promises .reveal:nth-child(3) { transition-delay: 0.16s; }

@media (max-width: 960px) {
  .hero-in, .yours-in, .feature-in, .feature-alt .feature-in, .pricing-in, .faq-in, .control-in { grid-template-columns: minmax(0, 1fr); }
  .feature-alt .feature-copy { order: 0; }
  .nav-links { display: none; }
  .nav nav { margin-left: auto; }
  .plan { max-width: 520px; }
}
@media (max-width: 720px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step-art { max-width: 360px; }
  .mk-note { margin-left: 0; }
  .hunt { padding: 14px; }
  .hunt-body { grid-template-columns: minmax(0, 1fr); }
  .mine { flex-direction: row; align-items: center; }
  .mine .tile-lg { width: 72px; flex: none; }
  .mine-meta { display: none; }
  .hunt-mk { display: none; }
  .sheet { grid-template-columns: minmax(0, 1fr); }
  .sheet-note { flex-direction: row; align-items: center; text-align: left; max-width: none; }
  .hunt.reset .sheet, .hunt.pre-sheet .sheet { transform: translateY(12px); }
  .diff { grid-template-columns: minmax(0, 1fr); }
  .diff-theirs { border-left: 0; border-top: 1px solid var(--line); }
  .rank li { grid-template-columns: 20px 40px minmax(0, 1fr) auto; }
  .rank-bar { display: none; }
  .own-grid, .own-row { gap: 8px; }
  .own { padding: 6px; gap: 6px; font-size: 0.6875rem; }
  .own span { padding: 4px 6px; }
  .tile-sm { width: 40px; }
  .foot-links { margin-left: 0; }
}
@media (max-width: 400px) {
  .nav .btn-sm { padding: 0 12px; }
  .brand span { font-size: 1rem; }
  .results { gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
}

/* Text pages: privacy, terms, support. */
.doc { padding: clamp(48px, 7vw, 96px) 0 clamp(80px, 10vw, 128px); }
.prose { max-width: 720px; }
.prose h1 { font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -0.03em; }
.prose h2 { font-size: 1.375rem; line-height: 1.3; letter-spacing: -0.01em; margin-top: 48px; }
.prose h3 { margin-top: 28px; }
.prose p, .prose ul, .prose table { margin-top: 16px; color: var(--muted); }
.prose b, .prose strong { color: var(--text); font-weight: 600; }
.prose ul { padding-left: 20px; display: grid; gap: 8px; }
.prose a:not(.btn) { color: var(--text); }
.prose .btn { margin-top: 8px; }
.doc-date { font-size: 0.875rem; }
.doc-lede { font-size: 1.125rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
.prose th { color: var(--text); font-weight: 600; }
@media (max-width: 720px) {
  .prose table, .prose tbody, .prose tr, .prose td, .prose th { display: block; }
  .prose thead { display: none; }
  .prose tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .prose td { border: 0; padding: 4px 0; }
}

/* Dark mode follows the system setting, like the extension. */
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121214; --paper-2: #232327; --surface: #1a1a1d; --surface-2: #1e1e22;
    --text: #ececf0; --muted: #a3a3ab; --muted-2: #3a3a40;
    --line: rgba(255, 255, 255, 0.09); --line-strong: rgba(255, 255, 255, 0.16);
    --mint-deep: #5cefbd; --mint-soft: rgba(46, 230, 166, 0.16);
    --panel: #1c1c20; --nav-bg: rgba(18, 18, 20, 0.85);
    --btn-ink-bg: #ececf0; --btn-ink-hover: #ffffff; --btn-ink-fg: #161618;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px -12px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.4), 0 32px 64px -24px rgba(0, 0, 0, 0.8);
    color-scheme: dark; scrollbar-color: #3a3a40 var(--paper);
  }
  ::-webkit-scrollbar-thumb { background: #3a3a40; }
  .hunt { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), var(--shadow-lg); }
  .yours, .close, .foot { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); }
  .tile, .res, .own, .mine { background-color: #2a2a2f; }
  .tile { background-color: #34343a; }
  .plan-list li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='m5.5 9.2 2.3 2.3 4.7-5' fill='none' stroke='%235cefbd' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
  .faq summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M14 9v10M9 14h10' stroke='%23ececf0' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
  .faq details[open] summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M14 9v10M9 14h10' stroke='%23161618' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
}
