/* The Skin Edit — ingredient pairing guide (preview). Light, warm, editorial. Mobile first. */
@font-face { font-family: 'Instrument Serif'; src: url(/fonts/instrument-serif.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url(/fonts/instrument-serif-italic.woff2) format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url(/fonts/figtree.woff2) format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --bg: #F6F1E8; --bg-2: #EFE7D9; --card: #FCFAF6; --white: #FFFEFC;
  --ink: #2A2826; --ink-2: #57524C; --ink-3: #847D73; --line: #E3D9C9; --line-2: #D6CAB6;
  --sage: #6F8468; --sage-deep: #44553F; --sage-tint: #E3EADC; --sage-ink: #3F5139;
  --amber: #B97F2C; --amber-tint: #F6E7CD; --amber-ink: #7E5112;
  --clay: #A65E4C; --clay-tint: #F3DDD5; --clay-ink: #873F2F;
  --mist: #7E7A73; --mist-tint: #EAE6DF; --mist-ink: #59554F;
  --serif: 'Instrument Serif', 'Iowan Old Style', Georgia, serif;
  --sans: 'Figtree', ui-sans-serif, -apple-system, 'Segoe UI', sans-serif;
  --r-lg: 28px; --r: 20px; --r-sm: 14px;
  --shadow: 0 1px 2px rgba(60, 45, 25, .05), 0 12px 32px -14px rgba(60, 45, 25, .22);
  --shadow-lg: 0 2px 4px rgba(60, 45, 25, .06), 0 28px 60px -22px rgba(60, 45, 25, .35);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --gutter: 16px;
}
@media (min-width: 640px) { :root { --gutter: 28px; } }
@media (min-width: 1100px) { :root { --gutter: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body::before { /* paper grain */
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .055; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
svg { width: 1em; height: 1em; flex: none; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--sage-deep); outline-offset: 3px; border-radius: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 12px; text-decoration: none; }
.skip:focus { top: 12px; }

h1, h2, h3, .brand-mark, .band-title, .sub-form-title, .nudge-title { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
em { font-style: italic; color: var(--sage-deep); }
.eyebrow { margin: 0 0 14px; font: 600 12px/1.2 var(--sans); letter-spacing: .17em; text-transform: uppercase; color: var(--sage); }
.eyebrow.light { color: #C9D6C1; }
.tiny { font-size: 13px; color: var(--ink-3); margin: 10px 0 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px;
  border: 1px solid transparent; text-decoration: none; font-weight: 600; font-size: 16px; cursor: pointer; transition: transform .25s var(--ease), background .25s, box-shadow .25s, border-color .25s; }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--sage-deep); color: var(--white); box-shadow: 0 10px 24px -12px rgba(68, 85, 63, .7); }
.btn-primary:hover { background: #3A4936; }
.btn-ghost { border-color: var(--line-2); background: rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: var(--white); border-color: var(--ink-3); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #000; }
.btn-light { background: var(--white); color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.link-btn { background: none; border: 0; padding: 8px 4px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; color: var(--ink-2); }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 16px; padding: 12px var(--gutter);
  background: rgba(246, 241, 232, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.topbar.scrolled { border-bottom-color: var(--line); }
.brand { display: flex; align-items: baseline; gap: 8px; text-decoration: none; margin-right: auto; }
.brand-mark { font-size: 26px; line-height: 1; margin: 0; }
.brand-by { font-size: 13px; color: var(--ink-3); }
.topnav { display: none; gap: 26px; font-size: 15px; }
.topnav a { text-decoration: none; color: var(--ink-2); }
.topnav a:hover { color: var(--ink); }
.pill-cta { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: var(--white); text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; }
.pill-cta svg { width: 16px; height: 16px; }
@media (max-width: 380px) { .brand-by { display: none; } }
@media (max-width: 899px) { body.past-hero .pill-cta { display: none; } }
@media (min-width: 900px) { .topnav { display: flex; } .pill-cta { margin-left: 8px; } }

/* ---------- hero ---------- */
.hero { display: grid; gap: 36px; padding: 28px var(--gutter) 56px; max-width: 1320px; margin: 0 auto; }
.hero h1 { font-size: clamp(3rem, 12.5vw, 6rem); line-height: .94; margin: 0 0 22px; }
.hero h1 em { display: block; }
.lede { font-size: clamp(1.1rem, 3.6vw, 1.32rem); color: var(--ink-2); max-width: 30ch; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn { flex: 1 1 220px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 28px 0 0; font-size: 14px; color: var(--ink-2); }
.hero-proof li { display: flex; align-items: center; gap: 6px; }
@media (min-width: 640px) { .hero-proof li + li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); margin-right: 16px; } }
.hero-proof strong { font-family: var(--serif); font-size: 20px; font-weight: 400; color: var(--ink); }
.hero-art { position: relative; margin: 0; padding: 0 0 28px; }
.arch { border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden; aspect-ratio: 1; box-shadow: var(--shadow-lg); background: var(--bg-2); }
@media (min-width: 900px) { .arch { aspect-ratio: 4 / 4.6; } }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.float-card { position: absolute; display: flex; flex-direction: column; gap: 8px; padding: 13px 15px; border-radius: 18px; background: rgba(255, 254, 252, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--shadow); text-decoration: none; font-size: 14px; border: 1px solid rgba(255,255,255,.7);
  transition: transform .35s var(--ease); }
.float-card:hover { transform: translateY(-3px); }
.fc-pair { font-family: var(--serif); font-size: 19px; line-height: 1.1; }
.fc-pair i { color: var(--ink-3); }
.fc-1 { left: -6px; bottom: 74px; animation: bob 7s ease-in-out infinite; }
.fc-2 { right: -6px; bottom: 0; animation: bob 7s ease-in-out -3.5s infinite; }
@keyframes bob { 50% { transform: translateY(-6px); } }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 56px; padding-top: 44px; padding-bottom: 88px; }
  .hero-art { padding: 0 0 0 30px; }
  .fc-1 { left: -24px; bottom: 120px; } .fc-2 { right: -18px; bottom: 34px; }
}

/* ---------- status chips (shared) ---------- */
.status-chip { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; padding: 5px 11px 5px 8px; border-radius: 999px; font: 600 13px/1.2 var(--sans); white-space: nowrap; }
.status-chip svg { width: 17px; height: 17px; }
.s-compatible { --c: var(--sage-ink); --t: var(--sage-tint); --a: var(--sage); }
.s-care { --c: var(--amber-ink); --t: var(--amber-tint); --a: var(--amber); }
.s-separate { --c: var(--clay-ink); --t: var(--clay-tint); --a: var(--clay); }
.s-unknown { --c: var(--mist-ink); --t: var(--mist-tint); --a: var(--mist); }
.status-chip { color: var(--c); background: var(--t); }

/* ---------- sections ---------- */
.section { padding: 64px var(--gutter); max-width: 1320px; margin: 0 auto; }
.section-head { max-width: 760px; margin-bottom: 30px; }
.section-head h2, .sub-copy h2, .about h2 { font-size: clamp(2.3rem, 7.4vw, 3.7rem); line-height: 1; margin: 0 0 14px; }
.section-sub { color: var(--ink-2); font-size: 18px; margin: 0; max-width: 56ch; }
@media (min-width: 900px) { .section { padding-top: 96px; padding-bottom: 96px; } }

/* ---------- map ---------- */
.map-tools { display: grid; gap: 12px; margin-bottom: 18px; }
.search { position: relative; display: block; }
.search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--ink-3); }
.search input { width: 100%; min-height: 54px; padding: 0 18px 0 50px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white); font-size: 16px; }
.search input:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 4px var(--sage-tint); }
.quick-check { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.quick-check select { width: 100%; min-height: 54px; padding: 0 36px 0 16px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%23847D73' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; appearance: none; font-size: 16px; }
.quick-check .btn { grid-column: 1 / -1; }
.qc-plus { font-family: var(--serif); font-size: 26px; color: var(--ink-3); }
.map-tools { max-width: 560px; }
.qc-block { margin-top: 26px; padding: 20px; border-radius: var(--r); background: var(--bg-2); }
.qc-title { font-family: var(--serif); font-size: 26px; line-height: 1.1; margin: 0 0 14px; }
@media (min-width: 900px) {
  .qc-block { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 26px; }
  .qc-title { margin: 0; }
  .quick-check { grid-template-columns: 210px auto 210px auto; }
  .quick-check .btn { grid-column: auto; }
}
.legend { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; list-style: none; padding: 0; margin: 0 0 18px; }
.legend li { display: flex; gap: 9px; align-items: flex-start; padding: 10px 12px; border-radius: var(--r-sm); background: var(--t); color: var(--c); font-size: 13px; line-height: 1.3; }
.legend svg { width: 20px; height: 20px; margin-top: 1px; }
.legend b { display: block; font-size: 14px; }
.legend span { color: var(--ink-2); }
.legend b { color: var(--c); }
@media (max-width: 639px) {
  .legend li { padding: 8px 10px; align-items: center; }
  .legend span { font-size: 0; } .legend b { font-size: 13px; }
}
@media (min-width: 900px) { .legend { grid-template-columns: repeat(4, 1fr); } }

.selection-bar { position: sticky; top: 68px; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; margin: 0 0 16px;
  border-radius: 999px; background: var(--ink); color: var(--white); box-shadow: var(--shadow); animation: rise .4s var(--ease); }
.selection-bar p { margin: 0; font-size: 14px; line-height: 1.35; }
.selection-bar p b { font-family: var(--serif); font-weight: 400; font-size: 19px; }
.selection-bar .link-btn { color: var(--white); background: rgba(255,255,255,.12); border-radius: 999px; padding: 8px 16px; text-decoration: none; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

.ing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 640px) { .ing-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 900px) { .ing-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1180px) { .ing-grid { grid-template-columns: repeat(5, 1fr); gap: 18px; } }
.ing { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; text-align: left; padding: 8px 8px 14px; border-radius: var(--r); border: 1px solid var(--line);
  background: var(--card); cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s, opacity .3s; }
.ing:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ing-img { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 1; background: var(--bg-2); }
.ing-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; }
.ing:hover .ing-img img { transform: scale(1.05); }
.ing-name { font-family: var(--serif); font-size: 22px; line-height: 1.05; margin: 12px 6px 4px; }
.ing-tag { font-size: 13px; color: var(--ink-3); margin: 0 6px; line-height: 1.3; }
.ing .status-chip { position: absolute; left: 8px; top: 8px; z-index: 2; box-shadow: 0 6px 16px -8px rgba(0,0,0,.35); animation: pop .4s var(--ease) both; animation-delay: calc(var(--i, 0) * 28ms); }
.ing .status-chip .full { display: none; }
@media (min-width: 640px) { .ing .status-chip .short { display: none; } .ing .status-chip .full { display: inline; } }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.94); } }
.ing.is-selected { border-color: var(--sage-deep); box-shadow: 0 0 0 2px var(--sage-deep), var(--shadow); }
.ing.is-selected .ing-img::after { content: 'Selected'; position: absolute; left: 8px; top: 8px; padding: 5px 12px; border-radius: 999px; background: var(--sage-deep); color: var(--white); font: 600 13px/1.2 var(--sans); }
.ing[data-status="separate"] .ing-img img { filter: saturate(.45) brightness(.97); }
.ing[data-status="separate"], .ing[data-status="unknown"] { opacity: .86; }
.ing[data-status="unknown"] { border-style: dashed; }
.ing[data-status="compatible"] { --a: var(--sage); } .ing[data-status="care"] { --a: var(--amber); }
.ing[data-status="separate"] { --a: var(--clay); } .ing[data-status="unknown"] { --a: var(--mist); }
.ing[data-status]:not(.is-selected) { border-color: color-mix(in srgb, var(--a) 38%, var(--line)); }
.ing-grid li[hidden] { display: none; }
.ing.spf { background: linear-gradient(160deg, #FBF3E2, var(--card)); }
.ing.spf .ing-tag { color: var(--amber-ink); }
.empty-search { color: var(--ink-2); padding: 24px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--r); }
.micro-disclaimer { font-size: 13px; color: var(--ink-3); margin: 22px 0 0; max-width: 70ch; }

/* ---------- band ---------- */
.band { background: var(--sage-deep); color: var(--white); overflow: hidden; }
.band-inner { display: grid; gap: 22px; align-items: center; max-width: 1320px; margin: 0 auto; padding: 44px var(--gutter); }
.band-title { font-size: clamp(1.9rem, 6vw, 2.8rem); line-height: 1.02; margin: 0 0 8px; }
.band-text { margin: 0; color: #DCE5D6; }
.band-sheet { display: grid; grid-template-columns: repeat(3, 26px); gap: 6px; transform: rotate(-6deg); }
.band-sheet span { height: 26px; border-radius: 7px; background: rgba(255,255,255,.14); }
.band-sheet span:nth-child(3n+1) { background: rgba(227,234,220,.55); } .band-sheet span:nth-child(4) { background: rgba(246,231,205,.6); } .band-sheet span:nth-child(8) { background: rgba(243,221,213,.55); }
@media (min-width: 900px) { .band-inner { grid-template-columns: auto 1fr auto; gap: 40px; padding-top: 56px; padding-bottom: 56px; } }

/* ---------- goals ---------- */
.goal-chips { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 12px; margin: 0 calc(var(--gutter) * -1) 6px; padding-left: var(--gutter); padding-right: var(--gutter); scroll-snap-type: x mandatory; scrollbar-width: none; }
.goal-chips::-webkit-scrollbar { display: none; }
.goal-chip { flex: none; scroll-snap-align: start; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white); cursor: pointer; font-weight: 600; font-size: 15px; transition: background .25s, color .25s, border-color .25s; }
.goal-chip[aria-checked="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
@media (min-width: 900px) { .goal-chips { flex-wrap: wrap; overflow: visible; margin-left: 0; margin-right: 0; padding-left: 2px; } }
.goal-settings { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 14px; border-radius: var(--r); background: var(--bg-2); margin-bottom: 22px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
.seg button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: none; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.seg button[aria-checked="true"] { background: var(--sage-tint); color: var(--sage-ink); }
.switch { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; cursor: pointer; min-height: 44px; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-ui { width: 44px; height: 26px; border-radius: 999px; background: var(--line-2); position: relative; transition: background .25s; }
.switch-ui::after { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .3s var(--ease); }
.switch input:checked + .switch-ui { background: var(--sage); }
.switch input:checked + .switch-ui::after { transform: translateX(18px); }
.switch input:focus-visible + .switch-ui { outline: 2.5px solid var(--sage-deep); outline-offset: 3px; }
.using { flex: 1 1 100%; }
.using summary { cursor: pointer; font-weight: 600; font-size: 15px; min-height: 40px; display: flex; align-items: center; gap: 8px; }
.using summary span { color: var(--sage-ink); }
.using-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tag-btn { min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white); cursor: pointer; font-size: 14px; }
.tag-btn[aria-pressed="true"] { background: var(--sage-tint); border-color: var(--sage); color: var(--sage-ink); font-weight: 600; }

.goal-result { display: grid; gap: 18px; }
.goal-result > * { animation: rise .45s var(--ease) both; }
.goal-intro { font-family: var(--serif); font-size: clamp(1.5rem, 4.6vw, 2.1rem); line-height: 1.15; margin: 0; max-width: 32ch; }
.goal-cols { display: grid; gap: 18px; }
@media (min-width: 900px) { .goal-cols { grid-template-columns: 1.1fr .9fr; align-items: start; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.panel h3 { font-size: 26px; margin: 0 0 4px; }
.panel .panel-sub { margin: 0 0 14px; color: var(--ink-3); font-size: 14px; }
.ing-row { display: flex; gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.ing-row:first-of-type { border-top: 0; }
.ing-row img { width: 58px; height: 58px; border-radius: 14px; object-fit: cover; }
.ing-row div { flex: 1; min-width: 0; }
.ing-row b { font-family: var(--serif); font-weight: 400; font-size: 21px; display: block; line-height: 1.1; }
.ing-row span { font-size: 14px; color: var(--ink-2); }
.ing-row .opt { font: 600 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--amber-ink); background: var(--amber-tint); padding: 4px 7px; border-radius: 6px; margin-left: 6px; vertical-align: 3px; }
.ing-row .link-btn { font-size: 14px; white-space: nowrap; }
.routine { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.routine h4 { margin: 0 0 8px; font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); display: flex; gap: 6px; align-items: center; }
.routine ol { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.routine li { counter-increment: s; position: relative; padding: 8px 0 8px 28px; font-size: 15px; line-height: 1.35; border-top: 1px dashed var(--line); }
.routine li:first-child { border-top: 0; }
.routine li::before { content: counter(s); position: absolute; left: 0; top: 8px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg-2); font-size: 12px; font-weight: 700; display: grid; place-items: center; color: var(--ink-2); }
.notes { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.notes li { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--t, var(--bg-2)); color: var(--ink); font-size: 15px; line-height: 1.45; }
.notes li svg { width: 20px; height: 20px; color: var(--c, var(--ink-2)); margin-top: 1px; }
.notes b { color: var(--c, var(--ink)); }

/* ---------- subscribe ---------- */
.subscribe { position: relative; }
.sub-grid { display: grid; gap: 34px; }
@media (min-width: 980px) { .sub-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } }
.sub-lede { font-size: 18px; color: var(--ink-2); margin: 0 0 22px; max-width: 46ch; }
.sub-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.sub-list li { display: flex; gap: 16px; align-items: flex-start; }
.sub-list li > span { font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--sage); min-width: 32px; }
.sub-list b { display: block; font-size: 17px; }
.sub-list div { color: var(--ink-2); font-size: 15px; }
.sub-proof { display: flex; align-items: center; gap: 14px; }
.sub-proof img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid var(--white); box-shadow: var(--shadow); }
.sub-proof p { margin: 0; font-size: 15px; color: var(--ink-2); }
.sub-card { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--white); box-shadow: var(--shadow-lg); }
.sub-photo { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 60%; }
.sub-form { padding: 22px 20px 24px; }
.sub-form-title { font-size: 30px; line-height: 1; margin: 0 0 12px; }
.sub-form iframe { width: 100%; height: 340px; border: 0; background: var(--white); border-radius: 12px; display: block; }

/* ---------- about ---------- */
.about-grid { display: grid; gap: 30px; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: .8fr 1.2fr; gap: 64px; } }
.arch-sm { border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden; aspect-ratio: 4 / 4.8; max-width: 420px; box-shadow: var(--shadow-lg); }
.arch-sm img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 4.4vw, 1.75rem); line-height: 1.25; margin: 6px 0 18px; padding-left: 18px; border-left: 2px solid var(--sage); color: var(--ink); }
.about p { color: var(--ink-2); max-width: 54ch; }

/* ---------- method ---------- */
.method { border-top: 1px solid var(--line); }
.method-grid { display: grid; gap: 14px; }
@media (min-width: 900px) { .method-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
.method article { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.method h3 { font-size: 26px; line-height: 1.1; margin: 0 0 8px; }
.method article p { margin: 0; color: var(--ink-2); font-size: 16px; }
.method .review-note { background: var(--amber-tint); border-color: #EBD5AE; }
.sources { margin-top: 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); padding: 6px 22px; }
.sources summary { cursor: pointer; font-weight: 600; min-height: 52px; display: flex; align-items: center; gap: 8px; }
.sources summary span { color: var(--ink-3); font-weight: 400; }
.sources ol { margin: 0 0 18px; padding-left: 22px; display: grid; gap: 10px; font-size: 15px; }
.sources a { color: var(--sage-ink); text-underline-offset: 3px; }
.sources .src-meta { color: var(--ink-3); font-size: 13px; display: block; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #D9D2C7; padding: 48px var(--gutter) 110px; }
.footer-inner { max-width: 820px; }
.footer .brand-mark { color: var(--white); font-size: 30px; margin-bottom: 14px; }
.footer p { font-size: 14px; line-height: 1.6; }
.footer .tiny { color: #9C958A; }

/* ---------- result sheet ---------- */
.sheet { padding: 0; border: 0; background: transparent; width: 100%; max-width: 100%; max-height: 100%; margin: auto auto 0; color: var(--ink); }
.sheet::backdrop { background: rgba(42, 40, 38, .38); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.sheet[open] .sheet-inner { animation: sheet-up .45s var(--ease); }
.sheet-inner { position: relative; background: var(--bg); border-radius: var(--r-lg) var(--r-lg) 0 0; max-height: 90vh; max-height: 90dvh; overflow-y: auto; overscroll-behavior: contain; padding: 22px 18px calc(26px + env(safe-area-inset-bottom)); box-shadow: var(--shadow-lg); }
.sheet-inner::before { content: ''; display: block; width: 44px; height: 5px; border-radius: 5px; background: var(--line-2); margin: -8px auto 14px; }
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } }
@media (min-width: 760px) {
  .sheet { margin: auto; max-width: 680px; }
  .sheet-inner { border-radius: var(--r-lg); max-height: 88vh; padding: 30px 32px 30px; }
  .sheet-inner::before { display: none; }
  @keyframes sheet-up { from { transform: translateY(18px) scale(.98); opacity: 0; } }
}
.sheet-close { position: absolute; right: 14px; top: 14px; }
.pair-head { display: flex; align-items: center; gap: 14px; margin: 0 52px 16px 0; }
.pair-thumbs { display: flex; flex: none; }
.pair-thumbs img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 3px solid var(--bg); box-shadow: var(--shadow); }
.pair-thumbs img + img { margin-left: -14px; }
.pair-title { font-size: clamp(1.7rem, 6vw, 2.2rem); line-height: 1; margin: 0; }
.pair-title i { color: var(--ink-3); }
.big-status { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--r); background: var(--t); color: var(--c); margin-bottom: 16px; }
.big-status svg { width: 28px; height: 28px; margin-top: 2px; }
.big-status .bs-label { font: 700 13px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; display: block; margin-bottom: 4px; }
.big-status .bs-short { font-family: var(--serif); font-size: clamp(1.35rem, 4.8vw, 1.65rem); line-height: 1.15; color: var(--ink); margin: 0; }
.variants { margin: -4px 0 16px; }
.variants p { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.variant-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.facts { display: grid; gap: 10px; margin-bottom: 14px; }
@media (min-width: 560px) { .facts { grid-template-columns: 1fr 1fr; } }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; }
.fact h4, .why h4, .depends h4, .evidence h4 { margin: 0 0 6px; font: 600 12px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.fact p { margin: 0; font-size: 15px; line-height: 1.45; }
.why p { margin: 0 0 16px; font-size: 16px; color: var(--ink-2); }
.depends ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 16px; }
.depends li { padding: 6px 12px; border-radius: 999px; background: var(--bg-2); font-size: 14px; }
.formula { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 4px 16px; margin-bottom: 14px; }
.formula summary { cursor: pointer; font-weight: 600; font-size: 15px; min-height: 44px; display: flex; align-items: center; }
.formula p { margin: 0 0 14px; font-size: 15px; color: var(--ink-2); }
.evidence { font-size: 14px; color: var(--ink-2); margin-bottom: 14px; }
.evidence p { margin: 0 0 8px; }
.evidence ul { margin: 6px 0 10px; padding-left: 18px; }
.evidence li { margin-bottom: 4px; }
.evidence a { color: var(--sage-ink); }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; }
.meta-row span { font-size: 13px; padding: 5px 10px; border-radius: 8px; background: var(--bg-2); color: var(--ink-2); }
.meta-row .draft { background: var(--amber-tint); color: var(--amber-ink); font-weight: 600; }
.sheet-disclaimer { font-size: 13px; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 12px; margin: 14px 0 16px; }
.sheet-cta { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: var(--r); background: var(--sage-deep); color: var(--white); margin-bottom: 14px; text-decoration: none; }
.sheet-cta svg.lead { width: 34px; height: 34px; color: #C9D6C1; }
.sheet-cta b { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.1; }
.sheet-cta span { font-size: 14px; color: #DCE5D6; }
.sheet-cta .go { margin-left: auto; width: 22px; height: 22px; }
.sheet-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sheet-actions .btn { flex: 1 1 160px; min-height: 48px; }

/* ---------- nudge / sticky / toast ---------- */
.nudge { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: 12px; padding: 20px 20px 18px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-lg); border: 1px solid var(--line); animation: rise .5s var(--ease); }
.nudge .icon-btn { position: absolute; right: 10px; top: 10px; width: 40px; height: 40px; }
.nudge-title { font-size: 26px; line-height: 1; margin: 0 40px 6px 0; }
.nudge p { margin: 0 0 14px; color: var(--ink-2); font-size: 15px; }
@media (min-width: 640px) { .nudge { left: auto; right: 24px; bottom: 24px; width: 360px; } }
.sticky-cta { position: fixed; z-index: 55; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 0 20px; border-radius: 999px; background: var(--sage-deep); color: var(--white); text-decoration: none; font-weight: 600; box-shadow: 0 14px 30px -12px rgba(68,85,63,.8); animation: rise .4s var(--ease); }
.sticky-cta svg { width: 18px; height: 18px; }
@media (min-width: 900px) { .sticky-cta { display: none; } }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 300; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 14px; font-weight: 600; transition: opacity .3s, transform .3s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reveal on load / scroll ---------- */
.reveal { animation: reveal .75s var(--ease) both; animation-delay: calc(var(--d, 0) * 80ms + 40ms); }
@keyframes reveal { from { opacity: 0; transform: translateY(18px); } }
.io { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
.io.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .io { opacity: 1; transform: none; }
}
