/* Precision Job Search: shared styles */

:root {
  --bg: #f7f4ed;
  --bg-2: #eeeadf;
  --surface: #fffdf8;
  --ink: #202b32;
  --ink-2: #354047;
  --muted: #62685f;
  --line: #e3dfd4;
  --line-2: #d6d1c4;
  --accent: #687a42;
  --accent-ink: #fffdf8;
  --accent-soft: #edf0e3;
  --accent-line: #ced6bb;
  --gold: #b7791f;
  --gold-soft: #f8eedb;
  --add: #1d6b45;
  --add-bg: #e5f3ea;
  --del: #a23b2a;
  --del-bg: #fbe9e5;
  --shadow: 0 1px 2px rgba(20, 23, 31, .05), 0 12px 32px -12px rgba(20, 23, 31, .18);
  --shadow-lg: 0 2px 4px rgba(20, 23, 31, .04), 0 40px 80px -24px rgba(20, 23, 31, .28);
  --radius: 14px;
  --radius-sm: 9px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --maxw: 1180px;
  --gutter: 24px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.01em; line-height: 1.15; }
p { margin: 0; }
.serif { font-family: var(--serif); font-weight: 500; letter-spacing: -.02em; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 640px) { :root { --gutter: 16px; } body { font-size: 16px; } }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; letter-spacing: -.01em; }
.brand-mark { width: 28px; height: 28px; color: var(--accent); }
.brand small { display: block; font-weight: 500; font-size: 11px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav-links a { text-decoration: none; color: var(--muted); transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-links .btn { color: var(--accent-ink); }
@media (max-width: 860px) { .nav-links a:not(.btn) { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s, border-color .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn svg { width: 16px; height: 16px; }

/* ---------- Common blocks ---------- */
section { position: relative; }
.section { padding: 120px 0; }
@media (max-width: 760px) { .section { padding: 80px 0; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4.6vw, 54px); letter-spacing: -.025em; margin-top: 18px; }
.section-head p { margin-top: 18px; font-size: 19px; color: var(--muted); max-width: 620px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center p { margin-left: auto; margin-right: auto; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px; font: 600 12px/1.4 var(--mono);
  background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line);
}
.pill.gold { background: var(--gold-soft); color: var(--gold); border-color: color-mix(in srgb, var(--gold) 30%, transparent); }
.pill.plain { background: var(--bg-2); color: var(--muted); border-color: var(--line); }
.tag-sample {
  display: inline-block; font: 600 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 8px; border-radius: 6px; background: var(--bg-2); color: var(--muted); border: 1px dashed var(--line-2);
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 110px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  opacity: .55;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 64px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; } }
.hero-grid > *, .steps-grid > *, .showcase > *, .compare > *, .pk-layout > * { min-width: 0; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(42px, 6.2vw, 76px); letter-spacing: -.035em; line-height: 1.02; margin-top: 22px; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .lede { margin-top: 26px; font-size: 20px; color: var(--muted); max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 540px; }
.hero-facts div { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.hero-facts svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--accent); }

/* Packet device (hero reel) */
.device { position: relative; --screen-h: 520px; }
@media (max-width: 640px) { .device { --screen-h: 470px; } }
.device-frame { position: relative; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.device-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.device-dots { display: flex; gap: 6px; }
.device-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.device-title { font: 500 12.5px/1 var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.device-screen { position: relative; height: var(--screen-h); overflow: hidden; }
.reel { transition: transform .9s cubic-bezier(.65, 0, .25, 1); }
.reel-page { height: var(--screen-h); padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 16px; overflow: hidden; }
@media (max-width: 640px) { .reel-page { padding: 20px 16px; } }
.device-progress { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--accent); width: 0; }
.device-tabs { display: flex; justify-content: center; gap: 6px; margin-top: 18px; flex-wrap: wrap; }
.device-tabs button {
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  font: 500 12.5px/1 var(--mono); padding: 8px 12px; border-radius: 999px; cursor: pointer; transition: all .2s;
}
.device-tabs button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.float-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow); font-size: 13px; animation: bob 6s ease-in-out infinite;
}
.float-chip b { display: block; font-size: 15px; }
.float-chip .ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.float-chip .ic svg { width: 16px; height: 16px; }
.float-chip.c1 { right: 36px; top: -26px; }
.float-chip.c2 { left: -34px; bottom: 28px; animation-delay: -3s; }
@media (max-width: 1180px) { .float-chip.c2 { left: -12px; } }
@media (max-width: 640px) { .float-chip { display: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Mini packet UI pieces (used in reel and in steps) */
.mini-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mini-label { font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cover { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.cover h3 { font-family: var(--serif); font-weight: 500; font-size: 40px; letter-spacing: -.03em; }
.cover .who { display: flex; align-items: center; gap: 14px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font: 600 16px/1 var(--sans); color: var(--accent-ink); background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 50%, var(--gold))); flex: none; }
.avatar.sm { width: 34px; height: 34px; font-size: 13px; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.stat { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); }
.stat b { display: block; font: 600 28px/1.1 var(--sans); letter-spacing: -.02em; }
.stat > span { font-size: 12.5px; color: var(--muted); }
.cover-note { font-size: 13px; color: var(--muted); border-left: 2px solid var(--accent); padding-left: 12px; }

.jobs-mini { display: flex; flex-direction: column; gap: 8px; }
.job-row {
  display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 12px;
  padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface);
  opacity: 0; transform: translateX(14px); transition: opacity .5s, transform .5s;
}
.play .job-row { opacity: 1; transform: none; }
.play .job-row:nth-child(2) { transition-delay: .08s; } .play .job-row:nth-child(3) { transition-delay: .16s; }
.play .job-row:nth-child(4) { transition-delay: .24s; } .play .job-row:nth-child(5) { transition-delay: .32s; }
.play .job-row:nth-child(6) { transition-delay: .4s; }
.logo { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font: 700 12px/1 var(--sans); color: #fff; }
.job-row .t { font-size: 14px; font-weight: 600; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.job-row .s { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.job-row > div { min-width: 0; }
.fit { font: 600 13px/1 var(--mono); padding: 6px 9px; border-radius: 7px; background: var(--accent-soft); color: var(--accent); }

.ring-wrap { display: flex; gap: 20px; align-items: center; }
.ring { position: relative; width: 112px; height: 112px; flex: none; }
.ring svg { width: 112px; height: 112px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring .track { stroke: var(--line); }
.ring .val { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 289; stroke-dashoffset: 289; transition: stroke-dashoffset 1.4s cubic-bezier(.2, .7, .2, 1); }
.play .ring .val, .ring.play .val { stroke-dashoffset: calc(289 - 289 * var(--p) / 100); }
.ring .num { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.ring .num b { font: 600 30px/1 var(--sans); letter-spacing: -.02em; }
.ring .num small { display: block; font: 600 10px/1 var(--mono); color: var(--muted); letter-spacing: .1em; margin-top: 4px; }
.job-title-lg { font-size: 18px; font-weight: 650; line-height: 1.25; }
.reasons { display: flex; flex-direction: column; gap: 8px; list-style: none; margin: 0; padding: 0; }
.reasons li { display: flex; gap: 10px; font-size: 14px; line-height: 1.45; align-items: flex-start; }
.reasons li i { flex: none; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font: 700 11px/1 var(--sans); margin-top: 1px; }
.reasons li.ok i { background: var(--add-bg); color: var(--add); }
.reasons li.gap i { background: var(--gold-soft); color: var(--gold); }
.verdict { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 10px; background: var(--accent-soft); border: 1px solid var(--accent-line); font-size: 13.5px; }
.verdict b { font: 700 13px/1 var(--mono); letter-spacing: .1em; color: var(--accent); }

.diff { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; line-height: 1.45; }
.diff div { padding: 9px 12px 9px 30px; border-radius: 8px; position: relative; }
.diff div::before { position: absolute; left: 11px; top: 9px; font: 700 13px/1.45 var(--mono); }
.diff .del { background: var(--del-bg); color: var(--del); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--del) 50%, transparent); }
.diff .del::before { content: "-"; }
.diff .add { background: var(--add-bg); color: var(--add); }
.diff .add::before { content: "+"; }
.diff .keep { background: var(--bg); color: var(--muted); }
.diff .keep::before { content: " "; }
.diff > div { opacity: 0; transform: translateY(6px); transition: opacity .45s, transform .45s; }
.play .diff > div { opacity: 1; transform: none; }
.play .diff > div:nth-child(2) { transition-delay: .25s; } .play .diff > div:nth-child(3) { transition-delay: .5s; }
.play .diff > div:nth-child(4) { transition-delay: .75s; } .play .diff > div:nth-child(5) { transition-delay: 1s; }

.ats { display: flex; flex-direction: column; gap: 8px; }
.ats-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; }
.ats-top b { font: 600 22px/1 var(--sans); }
.ats-bar { position: relative; height: 10px; border-radius: 99px; background: var(--line); overflow: hidden; }
.ats-bar .before, .ats-bar .after { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; }
.ats-bar .before { background: var(--line-2); width: var(--b); }
.ats-bar .after { background: var(--accent); width: var(--b); transition: width 1.6s cubic-bezier(.2, .7, .2, 1) .4s; }
.play .ats-bar .after { width: var(--a); }
.ats-bar .target { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--ink); left: var(--t); opacity: .5; }
.ats-legend { display: flex; justify-content: space-between; font: 500 11.5px/1 var(--mono); color: var(--muted); }

.people { display: flex; flex-direction: column; gap: 8px; }
.person { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.person .n { font-size: 14px; font-weight: 600; line-height: 1.2; }
.person .r { font-size: 12px; color: var(--muted); }
.person > div { min-width: 0; }
.note { border: 1px solid var(--accent-line); background: var(--accent-soft); border-radius: 12px; padding: 14px; font-size: 14px; line-height: 1.5; min-height: 108px; position: relative; }
.note .who-line { font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; display: flex; justify-content: space-between; }
.note .typed::after { content: ""; display: inline-block; width: 2px; height: 1em; background: var(--accent); vertical-align: -2px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 500 12.5px/1 var(--mono); padding: 8px 11px; border-radius: 8px; border: 1px dashed var(--line-2); color: var(--muted); background: var(--bg); }
.chip.x { text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--del) 60%, transparent); }

/* ---------- Funnel ---------- */
.funnel-band { background: var(--ink); color: var(--bg); }
.funnel-band .eyebrow { color: color-mix(in srgb, var(--accent) 60%, #fff); }
:root[data-theme="dark"] .funnel-band, .funnel-band { --fb-line: color-mix(in srgb, var(--bg) 16%, transparent); }
.funnel-band .section-head p { color: color-mix(in srgb, var(--bg) 65%, transparent); }
.funnel { display: flex; flex-direction: column; gap: 14px; }
.f-row { display: grid; grid-template-columns: 210px 1fr; gap: 28px; align-items: center; }
@media (max-width: 760px) { .f-row { grid-template-columns: 1fr; gap: 10px; } }
.f-meta b { display: block; font: 600 44px/1 var(--sans); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.f-meta span { font-size: 14px; color: color-mix(in srgb, var(--bg) 62%, transparent); }
.f-bar { height: 58px; border-radius: 12px; background: color-mix(in srgb, var(--bg) 8%, transparent); position: relative; overflow: hidden; }
.f-fill {
  position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 12px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 55%, transparent), var(--accent));
  transition: width 1.4s cubic-bezier(.2, .7, .2, 1);
  display: flex; align-items: center; padding: 0 18px; overflow: hidden;
}
.f-fill span { font: 500 13.5px/1.2 var(--sans); color: var(--accent-ink); white-space: nowrap; opacity: 0; transition: opacity .4s .9s; }
.funnel.in .f-fill span { opacity: 1; }
.f-fill.out { overflow: visible; }
.f-fill.out span { position: absolute; left: calc(100% + 14px); color: color-mix(in srgb, var(--bg) 78%, transparent); }
.f-row:last-child .f-fill { background: linear-gradient(90deg, var(--gold), color-mix(in srgb, var(--gold) 70%, #fff)); }
.f-desc { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-size: 14px; color: color-mix(in srgb, var(--bg) 70%, transparent); white-space: nowrap; }
.funnel-foot { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; font-size: 14px; color: color-mix(in srgb, var(--bg) 60%, transparent); }
.funnel-band .tag-sample { background: transparent; color: color-mix(in srgb, var(--bg) 60%, transparent); border-color: color-mix(in srgb, var(--bg) 25%, transparent); }

/* ---------- Sticky steps ---------- */
.steps-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; }
@media (max-width: 980px) { .steps-grid { grid-template-columns: 1fr; gap: 0; } }
.steps { display: flex; flex-direction: column; }
.step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; opacity: .35; transition: opacity .4s; }
.step.active { opacity: 1; }
.step .k { font: 600 13px/1 var(--mono); color: var(--accent); letter-spacing: .1em; }
.step h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.2vw, 38px); letter-spacing: -.02em; margin-top: 14px; }
.step p { margin-top: 14px; font-size: 18px; color: var(--muted); max-width: 470px; }
.step ul { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.step li { display: flex; gap: 10px; font-size: 15.5px; color: var(--ink-2); }
.step li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-top: 10px; }
.stage-col { position: relative; }
.stage { position: sticky; top: calc(50vh - 260px); height: 520px; }
.stage-card { position: absolute; inset: 0; padding: 26px; display: flex; flex-direction: column; gap: 16px; opacity: 0; transform: translateY(16px) scale(.985); transition: opacity .5s, transform .6s cubic-bezier(.2, .7, .2, 1); pointer-events: none; overflow: hidden; }
.stage-card.active { opacity: 1; transform: none; pointer-events: auto; }
.stage-card .mini-h { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
@media (max-width: 980px) {
  .stage-col { order: -1; position: sticky; top: 66px; z-index: 5; padding: 10px 0; background: linear-gradient(var(--bg) 85%, transparent); }
  .stage { position: relative; top: 0; height: 400px; }
  .stage-card { padding: 18px; gap: 12px; }
  .step { min-height: 60vh; padding: 24px 0; }
  .steps-grid { display: flex; flex-direction: column; }
}
@media (max-width: 640px) { .stage { height: 360px; } .stage-card .hide-sm { display: none; } }
.sent-box { flex: 1; display: grid; place-items: center; text-align: center; }
.sent-num { font: 600 92px/1 var(--sans); letter-spacing: -.05em; color: var(--accent); }
.checklist { display: flex; flex-direction: column; gap: 10px; text-align: left; margin: 0; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); font-size: 14.5px; }
.box { width: 20px; height: 20px; flex: none; border-radius: 6px; border: 2px solid var(--line-2); display: grid; place-items: center; transition: all .3s; }
.box svg { width: 12px; height: 12px; color: var(--accent-ink); opacity: 0; transition: opacity .3s; }
.play .checklist li .box { background: var(--accent); border-color: var(--accent); }
.play .checklist li .box svg { opacity: 1; }
.play .checklist li:nth-child(1) .box { transition-delay: .3s; } .play .checklist li:nth-child(1) .box svg { transition-delay: .3s; }
.play .checklist li:nth-child(2) .box { transition-delay: .8s; } .play .checklist li:nth-child(2) .box svg { transition-delay: .8s; }
.play .checklist li:nth-child(3) .box { transition-delay: 1.3s; } .play .checklist li:nth-child(3) .box svg { transition-delay: 1.3s; }

/* ---------- Compare ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .compare { grid-template-columns: 1fr; } }
.cmp { padding: 34px; border-radius: 18px; border: 1px solid var(--line); }
.cmp.bad { background: var(--bg-2); }
.cmp.good { background: var(--surface); box-shadow: var(--shadow-lg); border-color: var(--accent-line); position: relative; }
.cmp h3 { font-family: var(--serif); font-weight: 500; font-size: 28px; letter-spacing: -.02em; }
.cmp .sub { color: var(--muted); margin-top: 6px; font-size: 15px; }
.cmp ul { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; }
.cmp li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.cmp li svg { width: 18px; height: 18px; margin-top: 3px; }
.cmp.bad li { color: var(--muted); }
.cmp.bad li svg { color: var(--del); }
.cmp.good li svg { color: var(--accent); }
.dots-viz { display: grid; grid-template-columns: repeat(25, 1fr); gap: 4px; margin-top: 24px; }
.dots-viz i { aspect-ratio: 1; border-radius: 50%; background: var(--line-2); }
.dots-viz.good { grid-template-columns: repeat(10, 1fr); gap: 8px; }
.dots-viz.good i { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.dots-cap { margin-top: 12px; font: 500 12.5px/1.4 var(--mono); color: var(--muted); }

/* ---------- Principles ---------- */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 980px) { .principles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; } }
.principle { padding: 28px 24px; }
.principle .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 20px; }
.principle .ic svg { width: 22px; height: 22px; }
.principle h3 { font-size: 18px; }
.principle p { margin-top: 10px; font-size: 15px; color: var(--muted); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 21px; height: 1px; background: var(--line-2); }
@media (max-width: 860px) { .process { grid-template-columns: 1fr; gap: 28px; } .process::before { left: 21px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; } }
.proc { position: relative; padding-right: 24px; }
@media (max-width: 860px) { .proc { padding-left: 64px; padding-right: 0; } .proc .n { position: absolute; left: 0; top: 0; } }
.proc .n { width: 43px; height: 43px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line-2); font: 600 14px/1 var(--mono); position: relative; z-index: 1; }
.proc:last-child .n { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.proc h3 { font-size: 19px; margin-top: 22px; }
@media (max-width: 860px) { .proc h3 { margin-top: 8px; } }
.proc p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.proc .when { display: inline-block; margin-top: 14px; font: 500 12px/1 var(--mono); color: var(--accent); }

/* ---------- Packet showcase (index) ---------- */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .showcase { grid-template-columns: 1fr; } }
.stack { position: relative; height: 420px; }
.sheet { position: absolute; width: 78%; padding: 22px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.sheet .mini-label { margin-bottom: 12px; display: block; }
.sheet .line { height: 8px; border-radius: 4px; background: var(--line); margin-top: 9px; }
.sheet.s1 { left: 0; top: 40px; transform: rotate(-5deg); }
.sheet.s2 { left: 11%; top: 20px; transform: rotate(-1deg); }
.sheet.s3 { left: 22%; top: 0; transform: rotate(3deg); }
.stack.in .sheet.s1 { transform: rotate(-9deg) translate(-16px, 26px); }
.stack.in .sheet.s3 { transform: rotate(6deg) translate(18px, -6px); }
@media (max-width: 560px) { .stack { height: 380px; } .sheet { width: 88%; } .sheet.s2 { left: 6%; } .sheet.s3 { left: 12%; } }
.contents { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.contents li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contents li:last-child { border-bottom: 0; }
.contents .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--line); display: grid; place-items: center; color: var(--accent); }
.contents .ic svg { width: 19px; height: 19px; }
.contents b { display: block; font-size: 16.5px; }
.contents span { font-size: 15px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; gap: 20px; font-size: 19px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform .3s, background .2s; }
.faq summary .pm svg { width: 14px; height: 14px; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }
.faq .ans { padding: 0 48px 26px 0; color: var(--muted); font-size: 16.5px; }

/* ---------- CTA ---------- */
.cta-band { padding: 0 0 110px; }
.cta-card {
  position: relative; overflow: hidden; border-radius: 28px; padding: 80px 56px; text-align: center;
  background: var(--ink); color: var(--bg);
}
@media (max-width: 640px) { .cta-card { padding: 56px 22px; border-radius: 20px; } }
.cta-card::before {
  content: ""; position: absolute; inset: -40%;
  background: radial-gradient(circle at 50% 120%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 55%);
  pointer-events: none;
}
.cta-card > * { position: relative; }
.cta-card h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 5vw, 58px); letter-spacing: -.03em; max-width: 760px; margin: 0 auto; }
.cta-card p { margin: 20px auto 0; max-width: 560px; font-size: 18px; color: color-mix(in srgb, var(--bg) 70%, transparent); }
.cta-card .hero-cta { justify-content: center; }
.cta-card .btn-ghost { color: var(--bg); border-color: color-mix(in srgb, var(--bg) 30%, transparent); }
.cta-card .btn-ghost:hover { border-color: var(--bg); }
.target-svg { width: 120px; height: 120px; margin: 0 auto 28px; color: var(--accent); }
.target-svg circle { fill: none; stroke: currentColor; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 44px 0 56px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
footer .fine { max-width: 560px; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

/* ---------- Sample packet page ---------- */
.pk-hero { padding: 56px 0 36px; }
.pk-hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 5vw, 60px); letter-spacing: -.03em; margin-top: 16px; }
.pk-hero .lede { margin-top: 14px; font-size: 18px; color: var(--muted); max-width: 680px; }
.pk-profile { margin-top: 30px; display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 20px 22px; }
@media (max-width: 760px) { .pk-profile { grid-template-columns: auto 1fr; } .pk-profile .pk-stats { grid-column: 1 / -1; } }
.pk-profile h2 { font-size: 20px; }
.pk-profile .meta { font-size: 14px; color: var(--muted); margin-top: 2px; }
.pk-stats { display: flex; gap: 26px; flex-wrap: wrap; }
.pk-stats div b { display: block; font: 600 24px/1.1 var(--sans); }
.pk-stats div span { font-size: 12.5px; color: var(--muted); }
.notice { margin-top: 16px; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--accent-line); background: var(--accent-soft); font-size: 14.5px; color: var(--ink-2); }
.notice svg { flex: none; width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }

.pk-layout { display: grid; grid-template-columns: 380px 1fr; gap: 24px; align-items: start; padding-bottom: 100px; }
@media (max-width: 980px) { .pk-layout { grid-template-columns: 1fr; } }
.pk-list { padding: 8px; position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; }
@media (max-width: 980px) { .pk-list { position: static; max-height: none; } }
.pk-list-h { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px 12px; font-size: 13px; color: var(--muted); }
.pk-item { width: 100%; text-align: left; display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 10px; border: 1px solid transparent; background: transparent; color: inherit; font: inherit; cursor: pointer; transition: background .15s, border-color .15s; }
.pk-item:hover { background: var(--bg); }
.pk-item.on { background: var(--accent-soft); border-color: var(--accent-line); }
.pk-item .logo { width: 34px; height: 34px; }
.pk-item .t { font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.pk-item .s { font-size: 12.5px; color: var(--muted); }
.pk-item > div { min-width: 0; }

.pk-detail { padding: 30px; min-height: 600px; }
@media (max-width: 640px) { .pk-detail { padding: 20px 16px; } }
.pk-top { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: start; }
@media (max-width: 640px) { .pk-top { grid-template-columns: 1fr; } }
.pk-top h2 { font-family: var(--serif); font-weight: 500; font-size: 32px; letter-spacing: -.02em; margin-top: 10px; }
.pk-sub { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; font-size: 14px; color: var(--muted); }
.pk-scores { display: flex; gap: 18px; align-items: center; }
.ring.sm, .ring.sm svg { width: 92px; height: 92px; }
.ring.sm .num b { font-size: 24px; }
.tabs { display: flex; gap: 4px; margin-top: 28px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs button { background: none; border: 0; color: var(--muted); font: 600 14.5px/1 var(--sans); padding: 14px 14px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button.on { color: var(--ink); border-bottom-color: var(--accent); }
.tabs button .ct { font: 600 11px/1 var(--mono); padding: 3px 6px; border-radius: 6px; background: var(--bg-2); margin-left: 6px; color: var(--muted); }
.panel { padding-top: 26px; display: none; animation: fadeUp .4s ease; }
.panel.on { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.panel h4 { font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 26px 0 12px; }
.panel h4:first-child { margin-top: 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }
.box-soft { padding: 18px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.changes { margin: 0; padding: 0; list-style: none; counter-reset: c; display: flex; flex-direction: column; gap: 10px; }
.changes li { counter-increment: c; display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: 15px; }
.changes li::before { content: counter(c); width: 22px; height: 22px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font: 600 11.5px/1 var(--mono); margin-top: 1px; }
.contact { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.contact + .contact { margin-top: 12px; }
.contact-h { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; }
.contact-h .avatar { width: 40px; height: 40px; font-size: 14px; }
.contact-h b { display: block; font-size: 15.5px; }
.contact-h span { font-size: 13px; color: var(--muted); }
.contact .why { margin-top: 12px; font-size: 14.5px; color: var(--ink-2); }
.contact .msg { margin-top: 12px; padding: 12px 14px; border-radius: 10px; background: var(--accent-soft); border: 1px solid var(--accent-line); font-size: 14.5px; }
.contact .msg-f { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font: 500 12px/1 var(--mono); color: var(--muted); }
.copy { background: none; border: 1px solid var(--line-2); border-radius: 7px; padding: 6px 10px; font: 600 12px/1 var(--mono); color: var(--ink); cursor: pointer; }
.copy:hover { border-color: var(--ink); }
.apply-row { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; font-size: 14px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Clean section labels without decorative dashes. */
.eyebrow::before { display: none; }
