/* Nesora website — single stylesheet, no framework. Mobile first. */

/* ---------- Fonts (self-hosted, OFL — see /fonts/OFL-*.txt) ---------- */
@font-face { font-family: "Be Vietnam Pro"; src: url("/fonts/BeVietnamPro-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("/fonts/BeVietnamPro-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("/fonts/BeVietnamPro-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Serif"; src: url("/fonts/NotoSerif-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Noto Serif"; src: url("/fonts/NotoSerif-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  color-scheme: light dark;
  --bg: #FBF3E8;          /* cream */
  --bg-2: #F5E8D7;        /* paper */
  --surface: #FFFBF5;
  --surface-2: #FDF6EC;
  --ink: #2E2019;         /* body text */
  --ink-soft: #5C4636;    /* secondary text (AA on cream) */
  --brown: #4E3325;
  --brown-2: #A06A48;
  --link: #8A4A2B;
  --accent: #B5552F;      /* terracotta, AA on cream for large/ui */
  --honey: #F2C27B;
  --honey-soft: #FBE6C2;
  --heart: #F23B5A;
  --line: #E7D5BF;
  --placeholder-bg: #FFF1A8;
  --placeholder-ink: #5A3B00;
  --shadow: 0 1px 2px rgba(78, 51, 37, .06), 0 8px 24px rgba(78, 51, 37, .08);
  --shadow-lg: 0 2px 6px rgba(78, 51, 37, .08), 0 24px 48px rgba(78, 51, 37, .12);
  --radius: 20px;
  --radius-sm: 12px;
  --maxw: 1120px;
  --font-sans: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Noto Serif", Georgia, "Times New Roman", serif;
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .3  0 0 0 0 .2  0 0 0 0 .1  0 0 0 .06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1B1310;
    --bg-2: #231915;
    --surface: #2A1F19;
    --surface-2: #30241D;
    --ink: #F4E8DA;
    --ink-soft: #D2BFAC;
    --brown: #F4E8DA;
    --brown-2: #E0A57E;
    --link: #F2B98F;
    --accent: #EE9A72;
    --honey: #F2C27B;
    --honey-soft: #4A3626;
    --line: #45342A;
    --placeholder-bg: #6B5200;
    --placeholder-ink: #FFF4CC;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, .35), 0 24px 48px rgba(0, 0, 0, .35);
    --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 .9  0 0 0 0 .8  0 0 0 .035 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--bg);
  background-image: var(--grain);
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--brown); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 7vw, 4.2rem); }
h2 { font-size: clamp(1.75rem, 4.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--honey); color: #2E2019; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--brown); color: var(--bg); padding: .6em 1em; border-radius: 10px; text-decoration: none;
}
@media (prefers-color-scheme: dark) { .skip-link { background: var(--honey); color: #2E2019; } }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }

/* ---------- Language blocks (long-form content) ---------- */
/* Each long block has data-lang="xx". Only the block matching <html lang> is shown.
   Adding a language: add one selector pair below (see README). */
[data-lang] { display: none; }
html[lang="en"] [data-lang="en"],
html[lang="vi"] [data-lang="vi"] { display: block; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brown); font-family: var(--font-serif); font-weight: 700; font-size: 1.3rem; }
.brand img { width: 36px; height: 36px; border-radius: 9px; box-shadow: var(--shadow); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav-links { display: none; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav-links a { display: block; padding: .45em .8em; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--bg-2); }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-panel[hidden] { display: none; }
.nav-panel {
  position: absolute; left: 12px; right: 12px; top: 68px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 10px;
}
.nav-panel ul { list-style: none; margin: 0; padding: 0; }
.nav-panel a { display: block; padding: .8em 1em; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 500; }
.nav-panel a:hover { background: var(--bg-2); }

.lang-select {
  position: relative; display: inline-flex; align-items: center;
}
.lang-select select {
  appearance: none; -webkit-appearance: none;
  font: inherit; font-size: .9rem; font-weight: 500; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  min-height: 44px; padding: .4em 2.1em .4em 2.2em; cursor: pointer;
}
.lang-select .globe, .lang-select .chev { position: absolute; pointer-events: none; width: 16px; height: 16px; color: var(--ink-soft); }
.lang-select .globe { left: .75em; }
.lang-select .chev { right: .75em; }
.no-js .lang-select { display: none; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-toggle, .nav-panel { display: none !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em; min-height: 52px;
  padding: .7em 1.25em; border-radius: 16px; font: inherit; font-weight: 600; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-store { background: var(--brown); color: #FBF3E8; box-shadow: var(--shadow); text-align: left; line-height: 1.2; }
@media (prefers-color-scheme: dark) { .btn-store { background: #F4E8DA; color: #2E2019; } }
.btn-store small { display: block; font-weight: 500; font-size: .74rem; opacity: .85; letter-spacing: .02em; }
.btn-store span { display: block; font-size: 1.02rem; }
.btn-store[aria-disabled="true"] { cursor: default; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-2); }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Sections ---------- */
section { padding: 72px 0; position: relative; }
.section-alt { background: var(--bg-2); background-image: var(--grain); }
.eyebrow {
  display: inline-block; font-family: var(--font-sans); font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .8em;
}
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 62ch; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--honey) 45%, transparent), transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero-grid { display: grid; gap: 36px; align-items: center; position: relative; z-index: 1; }
.hero-icon { width: 88px; height: 88px; border-radius: 22px; box-shadow: var(--shadow-lg); margin-bottom: 18px; }
.hero h1 { margin-bottom: .15em; }
.hero .tagline { font-family: var(--font-serif); font-size: clamp(1.35rem, 3.6vw, 1.9rem); color: var(--brown-2); margin-bottom: .3em; }
.hero .subtitle { font-size: 1.1rem; color: var(--ink-soft); margin-bottom: 1.6em; }
.hero .note { font-size: .9rem; color: var(--ink-soft); margin-top: 14px; }
.hero-art { position: relative; aspect-ratio: 1 / 1; max-width: 520px; width: 100%; margin: 0 auto; }
.hero-art .polaroid-main { position: absolute; inset: 6% 6% 6% 6%; width: 88%; filter: drop-shadow(0 30px 40px rgba(78, 51, 37, .22)); animation: floaty 9s ease-in-out infinite; }
.hero-art .mini {
  position: absolute; background: var(--surface); border-radius: 10px; padding: 8px 8px 22px; box-shadow: var(--shadow-lg);
  font-family: var(--font-serif); font-size: .8rem; color: var(--ink-soft); text-align: center;
}
.hero-art .mini span { display: block; margin-top: 4px; }
.hero-art .mini svg { display: block; width: 100%; height: auto; border-radius: 6px; }
.hero-art .mini-a { width: 26%; left: -2%; top: 8%; transform: rotate(-9deg); animation: floaty 11s ease-in-out infinite reverse; }
.hero-art .mini-b { width: 24%; right: -2%; bottom: 6%; transform: rotate(7deg); animation: floaty 10s ease-in-out 1s infinite; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

@media (min-width: 900px) {
  .hero { padding: 64px 0 96px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 48px; }
}

/* ---------- Name story ---------- */
.name-parts { display: grid; gap: 16px; margin-top: 8px; }
.name-part {
  background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.name-part .glyph { font-family: var(--font-serif); font-size: 2.2rem; color: var(--accent); line-height: 1; margin-bottom: 10px; }
.name-part h3 { margin-bottom: .3em; }
.name-part p { margin: 0; color: var(--ink-soft); }
.name-equation { font-family: var(--font-serif); font-size: clamp(1.4rem, 4vw, 2rem); color: var(--brown); text-align: center; margin: 28px 0 0; }
.name-equation b { color: var(--accent); font-weight: 700; }
@media (min-width: 760px) { .name-parts { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Cards / features ---------- */
.feature-grid { display: grid; gap: 18px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); position: relative; transition: transform .25s ease, box-shadow .25s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feature-card h3 { margin: 14px 0 .35em; font-size: 1.2rem; }
.feature-card p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.feature-icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--honey-soft), color-mix(in srgb, var(--honey) 55%, var(--surface)));
  color: var(--brown);
}
@media (prefers-color-scheme: dark) { .feature-icon { background: linear-gradient(145deg, #4A3626, #5E4330); color: var(--honey); } }
.feature-icon svg { width: 28px; height: 28px; }
.badge {
  position: absolute; top: 20px; right: 20px; font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  padding: .3em .7em; border-radius: 999px; background: var(--honey-soft); color: #6B3A12; border: 1px solid color-mix(in srgb, var(--honey) 70%, transparent);
}
@media (prefers-color-scheme: dark) { .badge { color: var(--honey); } }
.badge-new { background: #FDE3E7; color: #8E1630; border-color: #F7B8C3; }
.badge-soon { background: var(--bg-2); color: var(--ink-soft); border-color: var(--line); }
@media (prefers-color-scheme: dark) {
  .badge-new { background: #4A1F28; color: #FFC2CD; border-color: #6E2C3A; }
}
.noscript-list { columns: 2 260px; padding-left: 1.2em; }

/* ---------- Privacy layers ---------- */
.layers { display: grid; gap: 18px; counter-reset: layer; }
@media (min-width: 860px) { .layers { grid-template-columns: repeat(3, 1fr); } }
.layer { counter-increment: layer; }
.layer::before {
  content: counter(layer); display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--brown); color: var(--bg); font-family: var(--font-serif); font-weight: 700; margin-bottom: 12px;
}
@media (prefers-color-scheme: dark) { .layer::before { background: var(--honey); color: #2E2019; } }
.layer h3 { font-size: 1.15rem; }
.layer p { color: var(--ink-soft); margin: 0; }
.honest {
  margin-top: 24px; padding: 20px 24px; border-radius: var(--radius); border: 1px dashed color-mix(in srgb, var(--brown-2) 55%, transparent);
  background: color-mix(in srgb, var(--surface) 60%, transparent);
}
.honest h3 { font-size: 1.05rem; font-family: var(--font-sans); font-weight: 600; margin-bottom: .4em; }
.honest ul { margin: 0; padding-left: 1.2em; color: var(--ink-soft); }
.honest li { margin-bottom: .35em; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pill { display: inline-flex; align-items: center; gap: .45em; padding: .45em .9em; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 500; font-size: .92rem; }
.pill svg { width: 16px; height: 16px; color: var(--accent); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 18px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-serif); font-size: 2.4rem; color: var(--honey);
  -webkit-text-stroke: 1px var(--brown-2); line-height: 1; margin-bottom: 12px;
}
.step p { color: var(--ink-soft); margin: 0; }

/* ---------- Plans ---------- */
.plans { display: grid; gap: 18px; }
@media (min-width: 860px) { .plans { grid-template-columns: 1fr 1fr; align-items: start; } }
.plan h3 { font-size: 1.5rem; margin-bottom: .1em; }
.plan .plan-sub { color: var(--ink-soft); margin-bottom: 1em; }
.plan ul { list-style: none; padding: 0; margin: 0; }
.plan li { display: flex; gap: .65em; padding: .5em 0; border-top: 1px solid var(--line); }
.plan li:first-child { border-top: 0; }
.plan li svg { flex: none; width: 20px; height: 20px; margin-top: .2em; color: var(--accent); }
.plan-pro { border: 2px solid var(--honey); background: linear-gradient(180deg, color-mix(in srgb, var(--honey-soft) 60%, var(--surface)), var(--surface) 40%); }
.plan-pro .badge { top: 24px; }
.price-note { font-size: .92rem; color: var(--ink-soft); margin-top: 1em; }

/* ---------- Languages ---------- */
.lang-cloud { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.lang-cloud li { padding: .5em 1em; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 500; box-shadow: var(--shadow); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 600; position: relative; border-radius: var(--radius-sm);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--brown-2); border-bottom: 2px solid var(--brown-2); transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq .answer { padding: 0 20px 18px; color: var(--ink-soft); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: 28px; padding: 40px 24px; text-align: center; color: #FBF3E8;
  background: radial-gradient(120% 140% at 10% 0%, #B57A54 0%, #7A4E36 45%, #4E3325 100%);
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #FBF3E8; }
.cta-band p { color: #F3DFC8; }
.cta-band .store-row { justify-content: center; }
.cta-band .btn-store { background: #FBF3E8; color: #2E2019; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; margin-top: 24px; font-size: .95rem; color: var(--ink-soft); }
.footer-grid { display: grid; gap: 22px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-serif); font-weight: 700; color: var(--brown); font-size: 1.1rem; }
.footer-brand img { width: 32px; height: 32px; border-radius: 8px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-links a { color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- Legal / long-form pages ---------- */
.page-hero { padding: 48px 0 24px; }
.page-hero h1 { font-size: clamp(2rem, 6vw, 3.2rem); }
.meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--ink-soft); font-size: .95rem; }
.meta strong { color: var(--ink); font-weight: 600; }
.prose { padding-bottom: 64px; }
.prose h2 { font-size: clamp(1.4rem, 3.4vw, 1.8rem); margin-top: 2.2em; scroll-margin-top: 84px; }
.prose h3 { margin-top: 1.6em; scroll-margin-top: 84px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose .callout {
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--honey); border-radius: var(--radius-sm);
  padding: 18px 20px; box-shadow: var(--shadow); margin: 1.4em 0;
}
.prose .callout p:last-child { margin-bottom: 0; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; box-shadow: var(--shadow); margin: 24px 0 8px; }
.toc h2 { font-family: var(--font-sans); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 0 0 .6em; }
.toc ol { margin: 0; padding-left: 1.3em; columns: 2 240px; column-gap: 32px; }
.toc li { margin-bottom: .3em; break-inside: avoid; }
.table-wrap { overflow-x: auto; margin: 1.2em 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { background: var(--surface-2); font-weight: 600; color: var(--brown); }
tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .stack-table thead { display: none; }
  .stack-table, .stack-table tbody, .stack-table tr, .stack-table td { display: block; width: 100%; }
  .stack-table tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .stack-table tbody tr:last-child { border-bottom: 0; }
  .stack-table td { border: 0; padding: 4px 14px; }
  .stack-table td::before { content: attr(data-th); display: block; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
}
.compare th:not(:first-child), .compare td:not(:first-child) { text-align: center; white-space: nowrap; }
.yes { color: var(--accent); font-weight: 700; }
.no { color: var(--ink-soft); }

/* Placeholders the owner must fill before launch — deliberately loud. */
.tbc {
  background: var(--placeholder-bg); color: var(--placeholder-ink); font-weight: 600;
  padding: .05em .4em; border-radius: 4px; outline: 2px dashed #C99A00; outline-offset: 1px;
}

.steps-list { counter-reset: s; list-style: none; padding-left: 0 !important; }
.steps-list > li { counter-increment: s; position: relative; padding-left: 3em; margin-bottom: 1em; }
.steps-list > li::before {
  content: counter(s); position: absolute; left: 0; top: -.1em; width: 2em; height: 2em; border-radius: 50%;
  display: grid; place-items: center; background: var(--brown); color: var(--bg); font-weight: 600; font-size: .95rem;
}
@media (prefers-color-scheme: dark) { .steps-list > li::before { background: var(--honey); color: #2E2019; } }
.path { font-weight: 600; background: var(--bg-2); padding: .1em .45em; border-radius: 6px; white-space: normal; }

.contact-card { display: grid; gap: 16px; }
@media (min-width: 760px) { .contact-card { grid-template-columns: 1fr 1fr; } }
.contact-card .card h2 { margin-top: 0; font-size: 1.3rem; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: 96px 0; }
.notfound .big { font-family: var(--font-serif); font-size: clamp(4rem, 18vw, 8rem); color: var(--honey); -webkit-text-stroke: 2px var(--brown-2); line-height: 1; margin-bottom: 12px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

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

@media print {
  .site-header, .site-footer, .toc, .skip-link { display: none; }
  body { background: #fff; color: #000; }
}
.compare .tick { width: 20px; height: 20px; vertical-align: middle; }
.pill-row + p { margin-top: 22px; }
.compare tbody th { background: transparent; font-weight: 500; color: var(--ink); }
.compare thead th:last-child { color: var(--accent); }
.compare tbody td:last-child { background: color-mix(in srgb, var(--honey-soft) 35%, transparent); }
.footer-grid p { margin: 6px 0 0; }
.footer-bottom { margin-top: 20px; }
.footer-bottom p { margin: 0; }
.faq + p { margin-top: 22px; }
.compare th[scope="row"] { width: 60%; }
@media (max-width: 640px) {
  .compare th, .compare td { padding: 10px 10px; font-size: .9rem; }
  .compare th:not(:first-child), .compare td:not(:first-child) { white-space: normal; }
}
.lang-select select { padding-right: 2.4em; }
.notfound h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); }
.card > p:last-child { margin-bottom: 0; }
