/* CHRESTOS — layout concept: "translucent gel": warm ivory paper, soft
   dusty-pink glass panels, deep berry ink. Champagne only as hairlines. */
:root {
  --bg: #FFF9F6;          /* warm ivory */
  --bg-alt: #FBEFF0;      /* faint blush band */
  --surface: #FFFFFF;
  --fg: #482D3A;          /* deep berry ink */
  --muted: #6E4F5E;       /* 6.9:1 on ivory */
  --pink: #E8BCC8;        /* dusty pink */
  --pink-soft: #F6E1E7;
  --rose: #A84465;        /* primary button, 5.7:1 with white */
  --rose-hover: #923857;
  --on-rose: #FFFFFF;
  --line: #E8D9C8;        /* champagne hairline */
  --warn-bg: #FBEDE6;
  --warn-fg: #7A3424;
  --plate: #FFFFFF;       /* logo plate: logo art needs white in both themes */
  --shadow: 0 1px 2px rgba(72,45,58,.06), 0 12px 32px -12px rgba(72,45,58,.18);

  --f-display-lat: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --f-display-zh: "Noto Serif SC", "Songti SC", "STSong", serif;
  --f-body: "Manrope", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --header-h: 64px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1C1116; --bg-alt: #23161C; --surface: #2B1B23;
    --fg: #F5E8ED; --muted: #CDB3BF; --pink: #6E4656; --pink-soft: #3A2530;
    --rose: #E3A3B7; --rose-hover: #EDB8C8; --on-rose: #2A1520;
    --line: #4C3741; --warn-bg: #3A2320; --warn-fg: #F2C3B3; --plate: #FFFFFF;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 40px -16px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1C1116; --bg-alt: #23161C; --surface: #2B1B23;
  --fg: #F5E8ED; --muted: #CDB3BF; --pink: #6E4656; --pink-soft: #3A2530;
  --rose: #E3A3B7; --rose-hover: #EDB8C8; --on-rose: #2A1520;
  --line: #4C3741; --warn-bg: #3A2320; --warn-fg: #F2C3B3; --plate: #FFFFFF;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 16px 40px -16px rgba(0,0,0,.6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--f-body); font-size: 16px; line-height: 1.7;
  padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); /* room for mobile bar */
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose); }
h1, h2, h3 { line-height: 1.25; text-wrap: balance; margin: 0; font-weight: 600; }
:lang(zh-Hans) h1, :lang(zh-Hans) h2 { font-family: var(--f-display-zh); letter-spacing: .02em; }
:lang(en) h1, :lang(en) h2 { font-family: var(--f-display-lat); font-weight: 500; letter-spacing: -.005em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem); margin-bottom: .75rem; }
h3 { font-size: 1.05rem; font-family: var(--f-body); }
p { margin: 0; }
:focus-visible { outline: 2.5px solid var(--rose); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--rose); color: var(--on-rose); padding: 10px 16px; border-radius: 8px; z-index: 100; text-decoration: none; }
.skip:focus { top: calc(10px + env(safe-area-inset-top, 0px)); }

.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; }
.band { padding-block: clamp(64px, 9vw, 112px); }
.band.blush { background: var(--bg-alt); }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); margin-bottom: .9rem; }
:lang(zh-Hans) .eyebrow { letter-spacing: .2em; }
.section-sub { color: var(--muted); max-width: 62ch; margin-bottom: 2rem; }
.center .section-sub { margin-inline: auto; }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 46ch; }
.body-lg { font-size: 1.06rem; color: var(--muted); max-width: 60ch; }
.fine { font-size: .86rem; color: var(--muted); }
.plain { list-style: none; padding: 0; margin: .5rem 0 1.5rem; display: grid; gap: .55rem; }
.plain li { padding-left: 1.1rem; position: relative; color: var(--muted); }
.plain li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--pink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .98rem/1.3 var(--f-body); text-decoration: none; cursor: pointer; text-align: center;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn.primary { background: var(--rose); color: var(--on-rose); }
.btn.primary:hover { background: var(--rose-hover); }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--rose); color: var(--rose); }
.btn.sm { min-height: 40px; padding: .45rem 1.1rem; font-size: .9rem; }
.btn:active { transform: translateY(1px); }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.cta-row.center { justify-content: center; }
.text-link { display: inline-block; margin-top: 1rem; background: none; border: 0; padding: .25rem 0; font: 500 .95rem var(--f-body); color: var(--rose); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--pink); cursor: pointer; }
.mini-btn { background: none; border: 1px solid var(--line); border-radius: 999px; padding: .2rem .8rem; font: 500 .82rem var(--f-body); color: var(--fg); cursor: pointer; }
.mini-btn:hover { border-color: var(--rose); color: var(--rose); }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 41; background: var(--bg); }
.header-row { display: flex; align-items: center; gap: 1rem; height: var(--header-h); }
.wordmark { font-family: var(--f-display-lat); font-size: 1.32rem; letter-spacing: .32em; font-weight: 500; color: var(--fg); text-decoration: none; margin-right: auto; }
.wordmark.small { font-size: 1rem; }
.main-nav { display: none; gap: 1.6rem; }
.main-nav a { color: var(--fg); text-decoration: none; font-size: .92rem; font-weight: 500; }
.main-nav a:hover { color: var(--rose); }
@media (min-width: 900px) { .main-nav { display: flex; } }
.header-tools { display: flex; gap: .4rem; }
.tool-btn { min-width: 44px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); font: 600 .85rem var(--f-body); cursor: pointer; display: inline-grid; place-items: center; }
.tool-btn:hover { border-color: var(--rose); }
.tool-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.tool-btn .i-sun { display: none; }
:root[data-theme="dark"] .tool-btn .i-sun { display: block; }
:root[data-theme="dark"] .tool-btn .i-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .tool-btn .i-sun { display: block; } :root:not([data-theme]) .tool-btn .i-moon { display: none; } }

/* ---------- hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 104px); position: relative; overflow: hidden; }
.hero::before { /* soft gel light */
  content: ""; position: absolute; width: 720px; height: 720px; right: -220px; top: -180px; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--pink) 70%, transparent), transparent 70%); opacity: .7; pointer-events: none;
}
.hero-grid { display: grid; gap: 2.5rem; align-items: center; position: relative; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; } }
.display { font-size: clamp(2.1rem, 1.4rem + 3.4vw, 3.9rem); margin-bottom: 1.2rem; }
:lang(en) .display { font-size: clamp(2.3rem, 1.4rem + 3.8vw, 4.3rem); line-height: 1.08; }
.hero-tagline { margin-top: 2.2rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); letter-spacing: .04em; max-width: 28rem; }
.wm-inline { font-family: var(--f-display-lat); letter-spacing: .26em; color: var(--fg); }
.hero-visual { margin: 0; position: relative; }
.photo-frame {
  position: relative; border-radius: 28px; overflow: hidden; background: var(--surface);
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.photo-frame img { width: 100%; aspect-ratio: 820 / 560; object-fit: cover; }
.zoom-btn { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--surface) 88%, transparent); color: var(--fg); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow); }
.zoom-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.hero-visual figcaption, .product-media figcaption { margin-top: .7rem; font-size: .8rem; color: var(--muted); }
.gel-orb { /* used only if no product photo is configured */
  aspect-ratio: 1; max-width: 420px; margin-inline: auto; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, rgba(255,255,255,.95), transparent 22%), radial-gradient(circle at 60% 65%, var(--pink), var(--pink-soft) 70%);
  box-shadow: inset 0 -30px 60px rgba(168,68,101,.18), var(--shadow);
}
.hero .photo-frame { transform: rotate(-1.2deg); }
@media (prefers-reduced-motion: no-preference) {
  .hero .photo-frame { animation: settle 1.1s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes settle { from { opacity: .001; transform: translateY(18px) rotate(-3deg); } to { opacity: 1; transform: rotate(-1.2deg); } }
}

/* ---------- quiz ---------- */
.quiz { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); box-shadow: var(--shadow); }
.quiz-intro { display: grid; gap: .9rem; justify-items: start; }
.quiz-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.progress-label { font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.progress { height: 4px; background: var(--pink-soft); border-radius: 4px; overflow: hidden; margin-bottom: 1.4rem; }
.progress span { display: block; height: 100%; background: var(--rose); border-radius: 4px; transition: width .35s ease; }
.q-title { font-size: 1.3rem; margin-bottom: .3rem; }
.q-hint { font-size: .86rem; color: var(--muted); margin-bottom: 1rem; }
.options { display: grid; gap: .6rem; margin: 1rem 0 1.4rem; }
@media (min-width: 640px) { .options { grid-template-columns: 1fr 1fr; } }
.opt {
  display: flex; align-items: center; gap: .8rem; min-height: 60px; padding: .8rem 1rem; text-align: left;
  border: 1.5px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--fg);
  font: 500 1rem/1.4 var(--f-body); cursor: pointer; transition: border-color .2s, background .2s;
}
.opt:hover { border-color: var(--pink); }
.opt[aria-checked="true"] { border-color: var(--rose); background: var(--pink-soft); }
.opt .dot { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--muted); display: grid; place-items: center; }
.opt[data-multi] .dot { border-radius: 6px; }
.opt[aria-checked="true"] .dot { border-color: var(--rose); background: var(--rose); }
.opt[aria-checked="true"] .dot::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--on-rose); }
.opt[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.q-nav { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: space-between; align-items: center; }
.q-msg { min-height: 1.4em; font-size: .86rem; color: var(--rose); margin-top: .5rem; }
.result h3 { font-size: 1.4rem; margin-bottom: 1.2rem; }
:lang(zh-Hans) .result h3 { font-family: var(--f-display-zh); }
:lang(en) .result h3 { font-family: var(--f-display-lat); font-weight: 500; }
.result-grid { display: grid; gap: 1.2rem; }
@media (min-width: 720px) { .result-grid { grid-template-columns: 1fr 1fr; } }
.result-block { border-top: 1px solid var(--line); padding-top: .9rem; }
.result-block h4 { margin: 0 0 .5rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--rose); }
.result-block ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .4rem; }
.result-block.wide { grid-column: 1 / -1; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li, .chip { padding: .35rem .9rem; border-radius: 999px; background: var(--pink-soft); font-size: .9rem; }
.chip-link { text-decoration: none; color: var(--fg); border: 1px solid var(--line); background: var(--bg); padding: .35rem .9rem; border-radius: 999px; font-size: .9rem; }
.chip-link:hover { border-color: var(--rose); color: var(--rose); }

/* ---------- concerns ---------- */
.concern-grid { display: grid; gap: .7rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .concern-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .concern-grid { grid-template-columns: repeat(5, 1fr); } }
.concern-card {
  min-height: 92px; padding: 1rem 1.1rem; border-radius: var(--radius); border: 1.5px solid var(--line);
  background: var(--surface); color: var(--fg); text-align: left; font: 600 1rem/1.45 var(--f-body); cursor: pointer;
  display: flex; align-items: flex-end; transition: border-color .2s, background .2s, transform .2s;
}
.concern-card:hover { border-color: var(--pink); transform: translateY(-2px); }
.concern-card[aria-pressed="true"] { border-color: var(--rose); background: var(--pink-soft); }
.concern-panel { margin-top: 1.4rem; }
.concern-panel .panel { display: grid; gap: 1.4rem; padding: clamp(18px, 3vw, 28px); border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); }
@media (min-width: 820px) { .concern-panel .panel { grid-template-columns: repeat(3, 1fr); } }
.concern-panel h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--rose); margin-bottom: .5rem; }
.concern-panel ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .35rem; color: var(--muted); }
.concern-panel .panel-cta { grid-column: 1 / -1; }
.hint { color: var(--muted); font-size: .92rem; padding: 1rem 0; }
.warn { margin-top: 1.2rem; padding: .85rem 1rem; border-radius: var(--radius-sm); background: var(--warn-bg); color: var(--warn-fg); font-size: .9rem; }

/* ---------- knowledge ---------- */
.boundary { display: inline-block; padding: .55rem .95rem; border-radius: var(--radius-sm); border: 1px dashed var(--rose); color: var(--fg); font-size: .9rem; margin-bottom: 2rem; }
.know-layout { display: grid; gap: 2rem; }
@media (min-width: 900px) { .know-layout { grid-template-columns: 300px 1fr; align-items: start; } .diagram { position: sticky; top: calc(var(--header-h) + 24px); } }
.diagram { margin: 0; max-width: 300px; }
.diagram svg { width: 100%; height: auto; }
.dg-in, .dg-out { font: 600 13px var(--f-body); fill: var(--fg); }
.diagram figcaption { font-size: .8rem; color: var(--muted); margin-top: .4rem; }
.know-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .know-list { grid-template-columns: 1fr 1fr; } }
.know-item { background: var(--bg-alt); padding: 1.3rem 1.3rem 1.1rem; display: grid; gap: .5rem; align-content: start; min-width: 0; }
.know-item h3 { font-size: 1.02rem; }
.know-item p { color: var(--muted); font-size: .95rem; }
.cites { font-size: .8rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .3rem .8rem; }
.cites a { color: var(--rose); overflow-wrap: anywhere; }

/* ---------- myths ---------- */
.myth-grid { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 860px) { .myth-grid { grid-template-columns: repeat(3, 1fr); } }
.myth { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); padding: 1.4rem; display: grid; gap: 1rem; align-content: start; min-height: 220px; position: relative; overflow: hidden; }
.myth::after { content: "?"; position: absolute; right: 14px; top: -6px; font: 500 5rem/1 var(--f-display-lat); color: var(--pink-soft); pointer-events: none; transition: opacity .3s; }
.myth.open::after { opacity: 0; }
.myth-q { font-size: 1.12rem; font-weight: 600; position: relative; z-index: 1; padding-right: 2.5rem; }
:lang(zh-Hans) .myth-q { font-family: var(--f-display-zh); }
.myth-a { color: var(--muted); font-size: .95rem; display: grid; gap: .6rem; }
@media (prefers-reduced-motion: no-preference) { .myth-a:not([hidden]) { animation: rise .35s ease both; } @keyframes rise { from { opacity: 0; transform: translateY(6px); } } }
.myth button { justify-self: start; }

/* ---------- product ---------- */
.product-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 960px) { .product-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } .product-media { position: sticky; top: calc(var(--header-h) + 24px); } }
.product-media { margin: 0; }
.facts { display: grid; grid-template-columns: minmax(6.5rem, max-content) 1fr; gap: .1rem 1.2rem; margin: 0; }
.facts dt { color: var(--muted); font-size: .86rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.facts dd { margin: 0; padding: .7rem 0; border-top: 1px solid var(--line); font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
.tablist { display: flex; gap: .3rem; border-bottom: 1px solid var(--line); margin: 1.5rem 0 1.2rem; overflow-x: auto; scrollbar-width: none; }
.tablist::-webkit-scrollbar { display: none; }
.tablist [role="tab"] { flex: none; background: none; border: 0; border-bottom: 2px solid transparent; padding: .7rem .9rem; font: 600 .95rem var(--f-body); color: var(--muted); cursor: pointer; margin-bottom: -1px; }
.tablist [role="tab"][aria-selected="true"] { color: var(--fg); border-color: var(--rose); }
[role="tabpanel"] { display: grid; gap: 1rem; }
[role="tabpanel"] .fine { margin-top: .2rem; }
.note { padding: .8rem 1rem; border-radius: var(--radius-sm); background: var(--pink-soft); font-size: .92rem; }

/* ---------- ingredients ---------- */
.ingr-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .8rem; flex-wrap: wrap; }
.ingr-list .src { font-size: .86rem; color: var(--muted); }
.ingr { border-top: 1px solid var(--line); }
.ingr:last-child { border-bottom: 1px solid var(--line); }
.ingr-btn { width: 100%; display: flex; align-items: center; gap: 1rem; justify-content: space-between; padding: 1rem .2rem; background: none; border: 0; color: var(--fg); font: 600 1rem var(--f-body); text-align: left; cursor: pointer; }
.ingr-btn .en { font-weight: 400; color: var(--muted); font-size: .88rem; margin-left: .5rem; }
.ingr-btn .tag { flex: none; font-size: .72rem; font-weight: 600; padding: .2rem .55rem; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.ingr-body { padding: 0 .2rem 1.1rem; }
.ingr-body dl { display: grid; grid-template-columns: minmax(7rem, max-content) 1fr; gap: .35rem 1rem; margin: 0; font-size: .9rem; }
.ingr-body dt { color: var(--muted); }
.ingr-body dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 1.5rem 0 1.4rem; display: grid; gap: 1rem; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; display: grid; gap: .5rem; align-content: start; }
.steps li::before { content: counter(s, decimal-leading-zero); font: 500 1.8rem/1 var(--f-display-lat); color: var(--rose); }
.steps h3 { font-size: 1.02rem; }
.steps p { color: var(--muted); font-size: .94rem; }

/* ---------- prepare ---------- */
.prep-list { border: 0; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .55rem; }
.check-row { display: flex; align-items: flex-start; gap: .8rem; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); cursor: pointer; }
.check-row input { width: 20px; height: 20px; margin: .15rem 0 0; accent-color: var(--rose); flex: none; }

/* ---------- about ---------- */
.about-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.2fr 1fr; gap: 4rem; } }
.about-side h3 { margin-top: .4rem; }
.logo-plate { margin: 0 0 1.6rem; background: var(--plate); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.logo-plate img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- b2b ---------- */
.b2b { background: linear-gradient(180deg, var(--bg) 0%, var(--pink-soft) 100%); }
.b2b-grid { display: grid; gap: 2rem; margin: 1.8rem 0 1.4rem; }
@media (min-width: 820px) { .b2b-grid { grid-template-columns: 1fr 1.4fr; } }
.b2b-grid h3 { margin-bottom: .8rem; }
.flow { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; counter-reset: f; }
.flow li { counter-increment: f; display: flex; gap: .9rem; align-items: center; padding: .75rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.flow li::before { content: counter(f); flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--rose); color: var(--on-rose); font-size: .82rem; font-weight: 700; }
.b2b .btn { margin-top: 1.2rem; }

/* ---------- faq ---------- */
.accordion { border-top: 1px solid var(--line); margin-top: 1.5rem; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item h3 { margin: 0; }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem .2rem; background: none; border: 0; color: var(--fg); font: 600 1.02rem/1.45 var(--f-body); text-align: left; cursor: pointer; }
.acc-btn .pm { flex: none; width: 22px; height: 22px; position: relative; }
.acc-btn .pm::before, .acc-btn .pm::after { content: ""; position: absolute; left: 4px; right: 4px; top: 10px; height: 1.6px; background: var(--rose); transition: transform .25s; }
.acc-btn .pm::after { transform: rotate(90deg); }
.acc-btn[aria-expanded="true"] .pm::after { transform: rotate(0); }
.acc-panel { padding: 0 .2rem 1.3rem; color: var(--muted); display: grid; gap: .8rem; max-width: 66ch; }
.acc-panel .mini-btn { justify-self: start; }

/* ---------- final ---------- */
.final { background: radial-gradient(120% 90% at 50% 0%, var(--pink-soft), var(--bg) 70%); }
.final h2 { font-size: clamp(1.8rem, 1.3rem + 2.2vw, 2.8rem); }
.contact-line { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; justify-content: center; font-size: .92rem; color: var(--muted); }
.email-text { color: var(--fg); font-weight: 600; user-select: all; overflow-wrap: anywhere; }
.social-row { margin-top: 1.2rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: .9rem; }
.footer-links a { color: var(--fg); text-underline-offset: 4px; text-decoration-color: var(--pink); }
.footer-links a:hover { color: var(--rose); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 2.5rem 2rem; }
.footer-row { display: grid; gap: .7rem; justify-items: start; }

/* ---------- sticky enquiry ---------- */
.sticky {
  position: fixed; z-index: 30; left: 0; right: 0; bottom: 0;
  display: flex; gap: .5rem; padding: .6rem max(16px, env(safe-area-inset-right, 0px)) calc(.6rem + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  transition: transform .3s ease;
}
.sticky .btn { min-height: 46px; }
.sticky .btn.primary { flex: 1; }
.sticky.away { transform: translateY(110%); }
@media (min-width: 900px) {
  .sticky { left: auto; right: max(24px, env(safe-area-inset-right, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); padding: .45rem; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); }
  .sticky.away { transform: translateY(160%); }
}

/* ---------- consent ---------- */
.consent { position: fixed; z-index: 35; left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); bottom: calc(84px + env(safe-area-inset-bottom, 0px)); max-width: 520px; margin-inline: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; box-shadow: var(--shadow); font-size: .9rem; }
.consent .cta-row { margin-top: .8rem; }
@media (min-width: 900px) { .consent { left: max(24px, env(safe-area-inset-left, 0px)); right: auto; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- dialogs ---------- */
dialog { color: var(--fg); }
dialog::backdrop { background: rgba(28,17,22,.55); backdrop-filter: blur(3px); }
.sheet { border: 0; padding: 0; width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
.sheet-inner { padding: clamp(18px, 4vw, 28px); display: grid; gap: .8rem; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.sheet h2 { font-size: 1.35rem; margin: 0; }
.comp-help { font-weight: 500; }
.comp-label { font-size: .85rem; font-weight: 600; }
.sheet textarea { width: 100%; min-height: 150px; resize: vertical; padding: .8rem; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); color: var(--fg); font: 400 .95rem/1.6 var(--f-body); }
.sheet textarea:focus { border-color: var(--rose); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--rose) 25%, transparent); }
.sheet .cta-row { margin-top: .2rem; }
.sheet .contact-line { justify-content: flex-start; margin-top: .2rem; }
.toast { min-height: 1.2em; font-size: .86rem; color: var(--rose); }
.close-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--fg); font-size: 1.5rem; line-height: 1; cursor: pointer; flex: none; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 96vw); max-height: 92dvh; overflow: visible; }
.lightbox img { max-height: 88dvh; width: auto; border-radius: 16px; background: #fff; }
.lightbox .close-btn { position: absolute; top: -14px; right: -6px; box-shadow: var(--shadow); }
@media (prefers-reduced-motion: no-preference) { dialog[open] { animation: rise .25s ease both; } }
