/* OVO. Always a white page, in light and dark system themes alike.
   Palette "Vino i ruža" (chosen 23 Nov 2026): Wine #5B1A2B (logo shell, the one main action),
   Coral #F25C54 (logo yolk), Rose #FFF0F0 (soft surfaces), Blush #FFD9D6, Berry #A23E48
   (accent), Plum #7A3A48 (secondary text). Strawberry Red #E54B4B stays for high concern.
   Rating colors used as text are darker shades of the same hues, so small labels stay
   readable on white and on Rose. */

:root {
  --bg: #ffffff;
  --soft: #fff0f0;
  --card: #ffffff;
  --ink: #2a1219;
  --ink-2: #7a3a48;
  --line: #f2dadc;
  --yolk: #f25c54;
  --wine: #5b1a2b;
  --action: #5b1a2b;
  --action-deep: #45131f;
  --on-action: #fff0f0;
  --blush: #ffd9d6;
  --accent: #a23e48;
  --high: #e54b4b;
  --high-t: #c33838;
  --mod: #b25000;
  --mod-t: #a34a00;
  --low: #1e7e34;
  --low-t: #1a7230;
  --unk: #8f8885;
  --nav: rgba(255, 255, 255, .82);
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r-lg: 1.25rem;
  --r-md: .875rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 4.5rem; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 100%/1.5 var(--body);
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hp { position: absolute; left: -200vw; width: 1px; height: 1px; opacity: 0; }

.wrap { width: min(68rem, 100%); margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 2rem); }
.wrap.narrow { width: min(46rem, 100%); }

h1 {
  font-size: clamp(2.75rem, 7.4vw, 5rem);
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 700;
  margin: 0;
  text-wrap: balance;
}
h2 {
  font-size: clamp(1.875rem, 4.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.028em;
  font-weight: 700;
  margin: 0 0 1rem;
  max-width: 46rem;
  text-wrap: balance;
}
.lede { font-size: clamp(1.1875rem, 2.1vw, 1.5rem); line-height: 1.38; letter-spacing: -.012em; margin: 1.5rem auto 0; max-width: 44rem; text-wrap: pretty; }
.sub { color: var(--ink-2); margin: 0; max-width: 40rem; font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); line-height: 1.45; text-wrap: pretty; }
.fine { font-size: .875rem; line-height: 1.5; color: var(--ink-2); margin: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: 0 1.4rem;
  background: var(--action); color: var(--on-action);
  border: 0; border-radius: 999px;
  font-weight: 600; font-size: 1.0625rem; letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
  cursor: pointer; touch-action: manipulation;
  transition: transform .1s ease-out, background-color .15s ease-out;
}
.btn:hover { background: var(--action-deep); }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .5; cursor: default; }
.btn svg { width: 1.25rem; height: 1.25rem; }
.btn.ghost, .btn.quiet { background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost:hover, .btn.quiet:hover { background: var(--bg); box-shadow: inset 0 0 0 1px var(--ink-2); }
.link { font-size: 1.0625rem; font-weight: 500; text-underline-offset: .22em; }
.link:hover { color: var(--ink-2); }
.btn.small { min-height: 2.25rem; padding: 0 .95rem; font-size: .9375rem; }
.textbtn { background: none; border: 0; padding: .5rem .4rem; color: var(--ink-2); font-size: .9375rem; cursor: pointer; text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }
.textbtn:hover { color: var(--ink); }
.textbtn.inline { padding: 0; font-size: inherit; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; background: var(--nav); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 3.25rem; }
.navlinks { display: flex; gap: 1.75rem; margin-left: auto; }
.brand { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; font-weight: 700; font-size: 1.125rem; letter-spacing: .04em; }
.brand svg { width: 1.5rem; height: 1.5rem; color: var(--wine); }
.navlink { font-size: .9375rem; font-weight: 500; color: var(--ink-2); text-decoration: none; }
.navlink:hover, .navlink.strong { color: var(--ink); }

/* Hero: the claim, then a label with its flagged ingredients marked. Every ingredient
   is a button, and the panel beside the label shows what the checker knows about it. */
.hero { padding-block: clamp(2.5rem, 6.5vw, 5rem) clamp(3rem, 7vw, 5rem); text-align: center; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem 1.75rem; margin-top: 2rem; }

.specimen { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: .75rem; margin-top: clamp(2.5rem, 6vw, 4.5rem); padding: .75rem; background: var(--soft); border-radius: 2rem; text-align: left; }
.sp-label { display: flex; flex-direction: column; padding: clamp(1.25rem, 3vw, 2.5rem); background: var(--card); border-radius: 1.25rem; }
.sp-kicker { margin: 0 0 1.25rem; font-size: .875rem; color: var(--ink-2); }
.sp-text { margin: 0; font-size: clamp(.8125rem, 1.35vw, 1rem); line-height: 2; letter-spacing: .03em; text-transform: uppercase; font-weight: 500; color: color-mix(in srgb, var(--ink-2) 72%, #fff); }
.sp-text b { font-weight: 700; color: var(--ink); }
.sp-w { white-space: nowrap; }
.sp-i { --c: var(--unk); margin: 0 -.35em; padding: .2em .35em; border: 0; border-radius: .45em; background-color: transparent; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; cursor: pointer; touch-action: manipulation; transition: transform .1s ease-out, background-color .15s ease-out; }
.sp-i.lvl-high { --c: var(--high); }
.sp-i.lvl-moderate { --c: var(--mod); }
.sp-i.lvl-low { --c: var(--low); }
.sp-i.lvl-high, .sp-i.lvl-moderate { color: var(--ink); font-weight: 600; background-image: linear-gradient(var(--c), var(--c)); background-repeat: no-repeat; background-position: .35em calc(100% - .32em); background-size: calc(100% - .7em) 2px; }
.sp-i.lvl-unknown, .sp-i.lvl-missing { color: var(--ink); text-decoration: underline dotted var(--unk); text-decoration-thickness: 2px; text-underline-offset: .36em; }
.sp-i:hover { background-color: color-mix(in srgb, var(--c) 10%, transparent); }
.sp-i[aria-pressed="true"] { background-color: color-mix(in srgb, var(--c) 18%, transparent); color: var(--ink); }
.sp-i:active { transform: scale(.97); }
.sp-sum { margin-top: auto; padding-top: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }

.sp-detail { padding: clamp(1.25rem, 3vw, 2.5rem); }
.sp-mol { flex: 1; display: flex; flex-direction: column; gap: .5rem; margin: 1.5rem 0 0; min-height: 13rem; }
.sp-mol-view { flex: 1; min-height: 11rem; display: grid; place-items: center; }
.sp-mol-view:empty { display: none; }
.sp-mol:has(.sp-mol-view:empty) { justify-content: center; }
.sp-mol figcaption { font-size: .8125rem; color: var(--ink-2); text-align: center; text-wrap: balance; }
.mol2d { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; }
.mol3d { display: block; cursor: grab; touch-action: pan-y; border-radius: 1rem; }
.mol3d.grabbing { cursor: grabbing; }
.mol3d:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.rules-mol { display: flex; align-items: flex-end; height: 5rem; max-width: 11rem; margin-bottom: .875rem; }
.sp-detail h3 { margin: .6rem 0 0; font-size: clamp(1.5rem, 2.6vw, 1.875rem); line-height: 1.1; letter-spacing: -.025em; font-weight: 700; overflow-wrap: anywhere; }
.sp-fn { margin: .25rem 0 0; font-size: .9375rem; color: var(--ink-2); }
.sp-head { margin: 1rem 0 0; font-size: 1.0625rem; line-height: 1.4; }
.sp-status { margin: 1.25rem 0 0; }
.sp-status div { display: grid; grid-template-columns: 3.5rem 1fr; gap: .75rem; padding: .75rem 0; border-top: 1px solid var(--line); }
.sp-status dt { font-size: .875rem; font-weight: 600; color: var(--ink-2); padding-top: .05rem; }
.sp-status dd { margin: 0; font-size: .9375rem; line-height: 1.4; }
.sp-src { margin: 0; padding-top: .75rem; border-top: 1px solid var(--line); font-size: .875rem; line-height: 1.4; color: var(--ink-2); }
.sp-src a { overflow-wrap: anywhere; }
.sp-hint { margin-top: 1rem; text-align: center; }

@media (prefers-reduced-motion: no-preference) {
  .sp-i.lvl-high, .sp-i.lvl-moderate { animation: draw .5s cubic-bezier(.3, .7, .2, 1) both; animation-delay: calc(.35s + var(--n, 0) * .12s); }
  @keyframes draw { from { background-size: 0 2px; } }
}

/* The checker */
.tool { padding-block: clamp(3.5rem, 8vw, 6rem); background: var(--soft); }
.tool-card { margin-top: 2.25rem; padding: .875rem; background: var(--card); border-radius: 1.75rem; }
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; padding: .25rem; margin-bottom: .875rem; background: var(--soft); border-radius: 999px; }
.seg::before { content: ""; position: absolute; top: .25rem; bottom: .25rem; left: .25rem; width: calc(50% - .375rem); border-radius: 999px; background: var(--card); box-shadow: 0 1px 3px rgba(0, 0, 0, .14), 0 0 0 .5px rgba(0, 0, 0, .06); transition: transform .32s cubic-bezier(.3, .75, .2, 1); }
.seg[data-on="1"]::before { transform: translateX(calc(100% + .25rem)); }
.seg button { position: relative; min-height: 2.5rem; padding: 0 .75rem; border: 0; border-radius: 999px; background: none; font-weight: 500; font-size: .9375rem; color: var(--ink-2); cursor: pointer; touch-action: manipulation; transition: color .15s ease-out; }
.seg button[aria-selected="true"] { color: var(--ink); }

.checker { display: flex; flex-direction: column; gap: .75rem; }
.checker textarea {
  width: 100%; min-height: 7rem; resize: vertical;
  border: 1px solid var(--line); border-radius: 1rem; background: var(--bg);
  padding: .9rem 1rem; font-size: 1.0625rem; line-height: 1.5;
}
.checker textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.checker textarea::placeholder { color: var(--ink-2); opacity: .85; }
.row-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.checker .row-actions .textbtn { margin-left: auto; }

.scan { display: flex; flex-direction: column; gap: .6rem; padding-inline: .25rem; }
.scan-status { display: flex; gap: .8rem; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 1rem; padding: .6rem .75rem; }
.scan-thumb { flex: none; width: 3rem; height: 3rem; border-radius: .625rem; object-fit: cover; background: var(--soft); }
.scan-text { flex: 1; min-width: 0; }
.scan-msg { margin: 0; font-size: .9375rem; font-weight: 500; }
.scan-msg[data-state="err"] { color: var(--high); }
.scan-bar { height: .25rem; margin-top: .5rem; border-radius: 999px; background: var(--line); overflow: hidden; }
.scan-bar span { display: block; height: 100%; background: var(--ink); border-radius: inherit; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); transition: transform .25s ease-out; }
.scan-status:not(.busy) .scan-bar { display: none; }

/* Product search */
.finder { display: flex; flex-direction: column; gap: .6rem; padding: .25rem; }
.finder-label { font-weight: 600; }
.finder-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.finder-row input { flex: 1 1 14rem; min-width: 0; min-height: 2.75rem; padding: 0 1rem; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; }
.finder-row input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.finder-row input::placeholder { color: var(--ink-2); opacity: .85; }
.finder-row .btn.small { min-height: 2.75rem; }
.finder-msg { margin: 0; font-size: .9375rem; font-weight: 500; }
.finder-msg[data-state="err"] { color: var(--ink); }
#finder-photo { align-self: flex-start; margin-top: .25rem; }
.finder-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; }
.finder-list li + li { border-top: 1px solid var(--line); }
.finder-list button { display: flex; flex-direction: column; gap: .1rem; width: 100%; padding: .7rem 1rem; background: none; border: 0; text-align: left; cursor: pointer; }
.finder-list button:hover { background: var(--soft); }
.finder-list b { font-weight: 600; }
.finder-list span { font-size: .875rem; color: var(--ink-2); }
.product { margin-top: 1.5rem; }
.product h2 { margin: 0 0 .25rem; font-size: 1.25rem; letter-spacing: -.01em; }
.product a { color: inherit; }
.product:not([hidden]) + #results { margin-top: .75rem; }
.contribute { display: flex; flex-direction: column; gap: .5rem; margin-top: 1.25rem; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: 1rem; }
.contribute h3 { margin: 0; font-size: 1.0625rem; letter-spacing: -.01em; }
.contribute .fine { margin: 0; }
.contribute label { font-weight: 600; font-size: .9375rem; margin-top: .25rem; }
.contribute input { min-height: 2.75rem; padding: 0 1rem; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; }
.contribute input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.contribute-row { display: flex; align-items: center; gap: .5rem; }

.tries { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; padding-inline: .25rem; font-size: .9375rem; color: var(--ink-2); }
.chip { border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 999px; padding: .3rem .8rem; font-size: .9375rem; cursor: pointer; touch-action: manipulation; transition: transform .1s ease-out, border-color .15s ease; }
.chip:hover { border-color: var(--ink-2); }
.chip:active { transform: scale(.96); }

/* Rating marks */
.mark { flex: none; display: inline-block; width: .625rem; height: .625rem; border-radius: 50%; background: var(--c); }
.mark.hollow { background: transparent; border: 1.5px solid var(--c); }
.lvl-high { --c: var(--high); --t: var(--high-t); }
.lvl-moderate { --c: var(--mod); --t: var(--mod-t); }
.lvl-low { --c: var(--low); --t: var(--low-t); }
.lvl-unknown, .lvl-missing { --c: var(--unk); }
.pill { flex: none; display: inline-flex; align-items: center; gap: .4rem; color: var(--t, var(--c)); font-size: .875rem; font-weight: 600; white-space: nowrap; }
.pill .mark { width: .5rem; height: .5rem; }
.lvl-unknown.pill, .lvl-missing.pill, .lvl-unknown .pill, .lvl-missing .pill { color: var(--ink-2); }

/* Results */
#results { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.5rem; }
#results:empty { margin: 0; }
.note { margin: 0; font-size: .875rem; color: var(--ink-2); }

.summary { display: flex; flex-direction: column; gap: .9rem; padding-bottom: .5rem; }
.summary h3 { font-size: clamp(1.25rem, 2.6vw, 1.5rem); line-height: 1.2; letter-spacing: -.02em; font-weight: 700; margin: 0; text-wrap: balance; }
.bar { display: flex; gap: 2px; height: .5rem; border-radius: 999px; overflow: hidden; }
.bar span { background: var(--c); min-width: .5rem; }
.bar span.lvl-missing { opacity: .35; }
.counts { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; font-size: .9375rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.counts span { display: inline-flex; align-items: center; gap: .4rem; }
.counts b { color: var(--ink); font-weight: 600; }
.copied { font-size: .9375rem; color: var(--ink-2); }

.rows { list-style: none; margin: 0; padding: 0; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.rows > li + li { border-top: 1px solid var(--line); }
.row > summary, .row > .rowhead { list-style: none; display: grid; grid-template-columns: auto 1fr auto; gap: .2rem .75rem; align-items: center; padding: .9rem 1rem; }
.row > summary { cursor: pointer; }
.row > summary::-webkit-details-marker { display: none; }
.row > summary:hover { background: var(--soft); }
.row .mark { grid-row: 1; }
.name { font-weight: 600; letter-spacing: -.01em; line-height: 1.3; overflow-wrap: anywhere; }
.fn { font-size: .875rem; color: var(--ink-2); line-height: 1.35; }
.headline { grid-column: 2 / -1; margin: 0; font-size: .9375rem; color: var(--ink-2); }
.more { grid-column: 2 / -1; font-size: .875rem; font-weight: 500; text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }
.row[open] .more .closed, .row:not([open]) .more .opened { display: none; }
.row.lvl-missing .name { color: var(--ink-2); font-weight: 500; }

.lowgroup { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.lowgroup > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .75rem; padding: .9rem 1rem; font-weight: 600; --c: var(--low); }
.lowgroup > summary::-webkit-details-marker { display: none; }
.lowgroup > summary:hover { background: var(--soft); }
.lowgroup > summary .more { margin-left: auto; }
.lowgroup[open] > summary .closed, .lowgroup:not([open]) > summary .opened { display: none; }
.lowgroup .rows { border: 0; border-top: 1px solid var(--line); border-radius: 0; }

.detail { padding: .25rem 1rem 1.1rem 2.375rem; display: flex; flex-direction: column; gap: 1rem; }
.detail p { margin: 0; max-width: 40rem; }
.status { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .9rem 1.5rem; margin: 0; }
.status dt, .lab { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .2rem; }
.status dd { margin: 0; font-size: .9375rem; }
.sources { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: .3rem; font-size: .9375rem; }
.sources a { overflow-wrap: anywhere; }
.meta { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; font-size: .875rem; color: var(--ink-2); }
.mono { font-family: var(--mono); font-size: .8125rem; }
.review { font-size: .875rem; color: var(--ink-2); }

.result-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.result-head { padding: 1.25rem 1rem .9rem; display: flex; flex-direction: column; gap: .6rem; align-items: flex-start; }
.result-head .name { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.result-head .headline { font-size: 1.0625rem; color: var(--ink); max-width: 40rem; }
.result-card .detail { padding-left: 1rem; }

.empty { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.1rem 1rem; }
.empty h3 { margin: 0 0 .3rem; font-size: 1.125rem; }
.empty p { margin: 0; color: var(--ink-2); max-width: 40rem; }
.suggest { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .8rem; }

.browse { margin-top: 1.5rem; }
.browse summary { cursor: pointer; font-size: .9375rem; color: var(--ink-2); width: fit-content; text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1px; }
.browse summary:hover { color: var(--ink); }
.group { display: grid; grid-template-columns: 9.5rem 1fr; gap: .5rem 1rem; align-items: start; margin-top: 1rem; }
.group .chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.group .chip { font-size: .875rem; }

/* Sections */
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section + .section:not(.tint) { border-top: 1px solid var(--line); }
.section.tint { background: var(--soft); }
.section.tint + .section { border-top: 0; }
.center { text-align: center; margin-inline: auto; }
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.split-head { position: sticky; top: 5.5rem; }
.split-head h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.split-body > :first-child, .split-body.faq { margin-top: 0; }
.split-body .plain-list li:first-child { padding-top: .25rem; }
.split-body.faq details:first-child summary { padding-top: .25rem; }
.levels { list-style: none; margin: 1.5rem 0 1.25rem; padding: 0; display: flex; flex-direction: column; gap: 1.1rem; }
.levels li { display: flex; gap: .8rem; }
.levels .mark { margin-top: .5rem; }
.levels b { font-weight: 600; }
.levels p { margin: .1rem 0 0; color: var(--ink-2); max-width: 38rem; }
/* The numbers, as one statement with footnotes */
.statement { margin: 0; max-width: 54rem; font-size: clamp(1.625rem, 3.9vw, 2.75rem); line-height: 1.14; letter-spacing: -.03em; font-weight: 700; text-wrap: pretty; }
.statement sup { margin-left: .1em; font-size: .4em; font-weight: 500; letter-spacing: 0; line-height: 0; vertical-align: super; }
.statement sup a { color: var(--ink-2); text-decoration: none; }
.statement sup a:hover { color: var(--ink); }
.notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 3.5rem; margin-top: clamp(2rem, 5vw, 3.5rem); max-width: 54rem; color: var(--ink-2); }
.notes p { margin: 0; }
.footnotes { margin: 2.5rem 0 0; padding: 1rem 0 0 1.1rem; max-width: 54rem; border-top: 1px solid var(--line); font-size: .8125rem; line-height: 1.6; color: var(--ink-2); }
.footnotes li:target { color: var(--ink); }

/* One ingredient, three rulebooks */
.rules { width: 100%; margin-top: clamp(2rem, 5vw, 3.5rem); border-collapse: collapse; table-layout: fixed; }
.rules th, .rules td { padding: 1.5rem 1.75rem 1.5rem 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .9375rem; line-height: 1.45; font-weight: 400; color: var(--ink-2); }
.rules tr > :last-child { padding-right: 0; }
.rules thead th { padding-block: 0 .75rem; border-top: 0; font-size: .875rem; font-weight: 600; }
.rules tbody th { font-size: 1.1875rem; line-height: 1.25; font-weight: 700; letter-spacing: -.018em; color: var(--ink); overflow-wrap: anywhere; }
.rules tbody th span { display: block; margin-top: .3rem; font-size: .875rem; font-weight: 400; letter-spacing: 0; color: var(--ink-2); }
.st { display: flex; align-items: center; gap: .5rem; margin-bottom: .3rem; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.st::before { content: ""; flex: none; width: .5rem; height: .5rem; border-radius: 50%; background: var(--unk); }
.st-no::before { background: var(--high); }
.st-open::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--unk); }

.choice { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .25rem 0 0; padding: 0 0 0 1rem; border: 0; }
.choice legend { float: left; padding: 0; margin-right: .25rem; font-size: .9375rem; color: var(--ink-2); }
.choice label { cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: inline-flex; align-items: center; min-height: 2.25rem; padding: 0 .9rem; border-radius: 999px; font-size: .9375rem; box-shadow: inset 0 0 0 1px var(--line); }
.choice input:checked + span { background: var(--ink); color: var(--bg); box-shadow: none; }
.choice input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

.plain-list { list-style: none; margin: 1rem 0 1.25rem; padding: 0; }
.plain-list li { padding: .7rem 0; border-top: 1px solid var(--line); }
.plain-list li:first-child { border-top: 0; }

.waitlist { display: flex; flex-direction: column; gap: .5rem; max-width: 30rem; margin-top: 1.25rem; }
.waitlist .field { display: flex; gap: .5rem; padding: .3rem; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; }
.waitlist input[type="email"] { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 .5rem 0 1rem; font-size: 1rem; outline: none; }
.waitlist input::placeholder { color: var(--ink-2); opacity: .85; }
.waitlist .field:focus-within { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.form-msg { min-height: 1.3em; margin: 0 0 0 1rem; font-size: .9375rem; }
.form-msg[data-state="ok"] { color: var(--low); }
.form-msg[data-state="err"] { color: var(--high); }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(2rem, 5vw, 3rem); }
.plan { display: flex; flex-direction: column; padding: 1.75rem 1.5rem 1.5rem; border: 1px solid var(--line); border-radius: 1.5rem; }
.plan.couple { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.plan h3 { margin: 0; font-size: 1.1875rem; font-weight: 700; letter-spacing: -.015em; }
.price { margin: .5rem 0 0; color: var(--ink-2); }
.price b { font-size: 2.25rem; font-weight: 700; letter-spacing: -.03em; color: var(--ink); margin-right: .25rem; }
.plan ul { list-style: none; margin: 1.25rem 0 1.5rem; padding: 0; display: flex; flex-direction: column; gap: .6rem; font-size: .9375rem; color: var(--ink-2); }
.plan li { padding-left: 1.4rem; position: relative; }
.plan li::before { content: ""; position: absolute; left: .15rem; top: .55em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--yolk); }
.plan .btn { margin-top: auto; }
.plans-note { margin-top: 1.25rem; }
.invited { margin: 1.25rem auto 0; max-width: 34rem; padding: .75rem 1rem; border-radius: 1rem; background: var(--soft); font-size: .9375rem; }

/* Invite after joining */
.invite { max-width: 30rem; margin: 1.5rem auto 0; padding: 1.25rem; border-radius: 1.25rem; background: var(--card); text-align: left; }
.invite p { margin: 0 0 .75rem; font-size: .9375rem; color: var(--ink-2); }
.invite p b { color: var(--ink); }
.invite-row { display: flex; gap: .5rem; }
.invite-row input { flex: 1; min-width: 0; min-height: 3rem; padding: 0 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font-size: .9375rem; }
.invite .form-msg { margin: .5rem 0 0 1rem; }

.join { text-align: center; }
.join h2, .join .sub { margin-inline: auto; }
.join .waitlist { margin: 2.25rem auto 0; text-align: left; }
.join .choice { justify-content: center; padding-left: 0; margin-top: .5rem; }
.join .form-msg { margin-left: 0; text-align: center; }
footer { padding-block: 2.5rem 3rem; }
footer .brand { align-self: flex-start; margin-bottom: .4rem; }
footer .wrap { display: flex; flex-direction: column; gap: .6rem; }
footer .fine { max-width: 46rem; }

/* How it works and the walkthrough film */
.how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 23rem); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.steps { list-style: none; counter-reset: step; margin: 1.5rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.steps li { counter-increment: step; position: relative; padding-left: 2rem; color: var(--ink-2); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; font-size: 1.125rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.steps b { display: block; color: var(--ink); font-weight: 600; font-size: 1.125rem; letter-spacing: -.012em; }

.film { width: 100%; max-width: 23rem; margin-inline: auto; }
.f-stage { position: relative; container-type: inline-size; aspect-ratio: 4 / 5; background: var(--soft); border-radius: 1.5rem; overflow: hidden; }
.f-cap { position: absolute; inset: 8cqw 8cqw auto; margin: 0; font-size: 7.4cqw; line-height: 1.1; font-weight: 700; letter-spacing: -.03em; text-wrap: balance; opacity: 0; }
.f-body { position: absolute; inset: 35cqw 8cqw 8cqw; }
.f-body > * { position: absolute; inset: 0 0 auto; opacity: 0; }
.f-card { background: var(--bg); border: 1px solid var(--line); border-radius: 4cqw; padding: 5cqw; }
.f-brand { font-size: 2.9cqw; font-weight: 700; letter-spacing: .1em; color: var(--ink-2); }
.f-label p { margin: 2.2cqw 0 0; font-size: 3.5cqw; line-height: 1.42; color: var(--ink-2); }
.f-label p b { color: var(--ink); }
.f-vf { position: absolute; inset: -2.6cqw; opacity: 0; }
.f-vf i { position: absolute; width: 7cqw; height: 7cqw; border: .8cqw solid var(--ink); }
.f-vf i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 2.5cqw; }
.f-vf i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 2.5cqw; }
.f-vf i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 2.5cqw; }
.f-vf i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 2.5cqw; }
.f-body > .f-prog { inset: auto 0 2cqw; font-size: 3.9cqw; font-weight: 500; }
.f-progtrack { height: 1.4cqw; margin-top: 2.2cqw; border-radius: 999px; background: var(--line); overflow: hidden; }
.f-progtrack span { display: block; height: 100%; background: var(--ink); border-radius: inherit; transform-origin: 0 50%; transform: scaleX(0); }
.f-sum { margin: 0; font-size: 5.3cqw; line-height: 1.18; font-weight: 700; letter-spacing: -.02em; }
.f-bar { display: flex; gap: .5cqw; height: 2cqw; margin-top: 3.6cqw; border-radius: 999px; overflow: hidden; transform-origin: 0 50%; }
.f-bar span { background: var(--c); }
.f-rows { margin-top: 4cqw; background: var(--bg); border: 1px solid var(--line); border-radius: 4cqw; padding: 0 4.2cqw; }
.f-row { display: flex; align-items: center; gap: 2.6cqw; padding: 3.5cqw 0; font-size: 4.1cqw; opacity: 0; }
.f-row + .f-row { border-top: 1px solid var(--line); }
.f-row b { font-weight: 600; }
.f-row em { margin-left: auto; font-style: normal; font-weight: 600; font-size: 3.4cqw; color: var(--t, var(--c)); }
.f-row .mark { width: 2.4cqw; height: 2.4cqw; }
.f-row.f-head { opacity: 1; padding: 0 0 2.4cqw; font-size: 4.6cqw; }
.f-why { margin: 0; font-size: 3.9cqw; line-height: 1.35; }
.f-kv { margin-top: 3.8cqw; opacity: 0; }
.f-kv span { display: block; font-size: 2.7cqw; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.f-kv p { margin: .7cqw 0 0; font-size: 3.8cqw; line-height: 1.35; }
.f-end { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3.2cqw; padding: 10cqw; text-align: center; opacity: 0; }
.f-end svg { width: 17cqw; height: 17cqw; }
.f-end b { font-size: 9cqw; letter-spacing: .05em; line-height: 1; }
.f-end p { margin: 2cqw 0 0; font-size: 5.6cqw; line-height: 1.15; font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
.f-end span { font-size: 3.5cqw; color: var(--ink-2); }
.f-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.f-ctl { display: flex; align-items: center; gap: .75rem; margin-top: .75rem; }
.f-play { flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); display: grid; place-items: center; cursor: pointer; transition: transform .1s ease-out; }
.f-play:active { transform: scale(.94); }
.f-play svg { width: .875rem; height: .875rem; fill: currentColor; }
.film:not(.paused) .i-play, .film.paused .i-pause { display: none; }
.f-track { flex: 1; height: .1875rem; border-radius: 999px; background: var(--line); overflow: hidden; }
.f-track span { display: block; height: 100%; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); }

/* Questions */
.faq { margin-top: 1rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:first-child { border-top: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .9rem 0; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-weight: 400; font-size: 1.25rem; line-height: 1; color: var(--ink-2); }
.faq details[open] summary::after { content: "\2212"; }
.faq p { margin: 0 0 1.1rem; color: var(--ink-2); max-width: 40rem; }

@media (max-width: 56rem) {
  .specimen { grid-template-columns: 1fr; border-radius: 1.75rem; }
  .navlink:not(.strong) { display: none; }
  .notes { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .rules, .rules tbody, .rules tr, .rules th, .rules td { display: block; }
  .rules thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .rules tr { padding-block: 1.5rem .5rem; border-top: 1px solid var(--line); }
  .rules th, .rules td { padding: 0 0 1rem; border-top: 0; }
  .rules td { display: grid; grid-template-columns: 7.5rem 1fr; column-gap: 1rem; }
  .rules td::before { content: attr(data-label); grid-row: 1 / span 2; font-size: .875rem; font-weight: 600; padding-top: .15rem; }
  .rules td .st, .rules td .g { grid-column: 2; }
  .split { grid-template-columns: 1fr; gap: 1.25rem; }
  .split-head { position: static; }
}
@media (max-width: 48rem) {
  .how { grid-template-columns: 1fr; }
  .film { max-width: 26rem; }
}

/* Camera */
.cam { position: fixed; inset: 0; z-index: 60; background: #000; color: #fff; }
.cam video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cam-frame { position: absolute; left: 6%; right: 6%; top: 24%; height: 44%; border: 2px solid #fff; border-radius: 1rem; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .5); }
.cam-hint { position: absolute; left: 1rem; right: 1rem; top: calc(24% - 3.25rem); margin: 0; text-align: center; font-weight: 600; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.cam-frame.bar { top: 36%; height: 22%; }
.cam-hint.bar { top: calc(36% - 3.25rem); }
.cam-close { position: absolute; top: max(1rem, env(safe-area-inset-top)); right: 1rem; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .45); color: #fff; display: grid; place-items: center; cursor: pointer; }
.cam-close svg { width: 1.25rem; height: 1.25rem; }
.cam-shot { position: absolute; left: 50%; bottom: max(1.75rem, env(safe-area-inset-bottom)); transform: translateX(-50%); width: 4.5rem; height: 4.5rem; padding: 0; border: 3px solid #fff; border-radius: 50%; background: transparent; display: grid; place-items: center; cursor: pointer; touch-action: manipulation; }
.cam-shot span { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: #fff; transition: transform .1s ease-out; }
.cam-shot:active span { transform: scale(.9); }
.cam :focus-visible { outline-color: #fff; }
.cam-open { overflow: hidden; }
@media (min-aspect-ratio: 1/1) {
  .cam-frame { left: 16%; right: 16%; top: 14%; height: 60%; }
  .cam-hint { top: calc(14% - 2.75rem); }
  .cam-frame.bar { left: 22%; right: 22%; top: 30%; height: 34%; }
  .cam-hint.bar { top: calc(30% - 2.75rem); }
}

/* Phones: the camera is the main action. */
@media (max-width: 40rem) {
  .choice { padding-left: .4rem; }
  .hero { text-align: left; }
  .hero .lede { margin-inline: 0; }
  .hero-cta { justify-content: flex-start; }
  .sp-hint { text-align: left; }
  .specimen { margin-inline: -.5rem; padding: .5rem; }
  .tool-card { margin-inline: -.375rem; padding: .625rem; border-radius: 1.5rem; }
  .seg button { font-size: .875rem; padding: 0 .4rem; }
  .checker .row-actions .btn { flex: 1 1 100%; }
  .checker .row-actions .textbtn { margin-inline: auto; }
  .row > summary, .row > .rowhead { grid-template-columns: auto 1fr; }
  .row .pill { grid-column: 2; justify-self: start; }
  .group { grid-template-columns: 1fr; }
  .waitlist .field { flex-direction: column; border-radius: 1.25rem; padding: .4rem; }
  .waitlist input[type="email"] { min-height: 3rem; padding-inline: .8rem; }
  .form-msg { margin-left: .4rem; }
}
@media (hover: none) and (pointer: coarse) {
  .checker .row-actions { display: contents; }
  #scan-take { order: 1; background: var(--action); color: var(--on-action); box-shadow: none; }
  .scan { order: 2; }
  .checker textarea { order: 3; min-height: 5.5rem; }
  .checker .row-actions .btn[type="submit"] { order: 4; background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
  .checker .row-actions .textbtn { order: 5; margin-inline: auto; }
  .tries { order: 6; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .chip, .scan-bar span { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --line: var(--ink-2); --ink-2: var(--ink); }
  .nav { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: var(--ink); }
}

/* ---------- Privacy page ---------- */
.legal { padding-block: clamp(2.5rem, 6vw, 4rem) 1rem; }
.legal h1 { margin-bottom: .75rem; }
.legal h2 { margin: 2.25rem 0 .6rem; font-size: 1.25rem; letter-spacing: -.01em; }
.legal p, .legal li { max-width: 40rem; line-height: 1.55; }
.legal ul { padding-left: 1.2rem; margin: 0; display: flex; flex-direction: column; gap: .45rem; }
.legal a { color: inherit; }
.contact { display: flex; flex-direction: column; gap: .45rem; max-width: 32rem; margin-top: 2.5rem; padding: 1.25rem 1.4rem 1.4rem; border: 1px solid var(--line); border-radius: 1.25rem; }
.contact h2 { margin: 0 0 .25rem; }
.contact label { font-weight: 600; font-size: .9375rem; margin-top: .4rem; }
.contact input, .contact select, .contact textarea { font: inherit; color: inherit; padding: .65rem 1rem; background: var(--bg); border: 1px solid var(--line); border-radius: .9rem; }
.contact input, .contact select { min-height: 2.75rem; }
.contact textarea { resize: vertical; }
.contact :is(input, select, textarea):focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.contact-row { display: flex; align-items: center; gap: .75rem; margin-top: .5rem; }
.contact-row .form-msg { margin: 0; }

/* ---------- Ovo 2.0: medicine grades, both partners, what can wait, clinics ---------- */
.g { display: flex; align-items: center; gap: .5rem; margin-bottom: .3rem; font-size: .9375rem; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.g::before { content: ""; flex: none; width: .5rem; height: .5rem; border-radius: 50%; background: var(--c, var(--unk)); }
.g-ok { --c: var(--low); }
.g-mixed { --c: #c99a2e; }
.g-concern { --c: var(--mod); }
.g-harm { --c: var(--high); }
.g-none::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--unk); }
.g-na { color: var(--ink-2); font-weight: 500; }
.g-na::before { width: .625rem; height: 1.5px; border-radius: 0; background: var(--unk); }
.grades tbody th { font-size: 1.0625rem; }
.grades-note { margin-top: 1rem; }
.says, .calm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem clamp(2rem, 5vw, 4rem); margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.says h3, .calm h3 { margin: 0; font-size: 1.125rem; letter-spacing: -.01em; }
.says .plain-list, .calm .plain-list { margin-top: .5rem; }
.plain-list.never li { color: var(--ink-2); text-decoration: line-through; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; }
.calm + .fine { margin-top: 1.5rem; }
#couple .split-body .fine { margin-top: 1rem; }
.clinic-form { margin-top: 2rem; background: var(--bg); }
.clinic-form h3 { margin: 0 0 .25rem; font-size: 1.125rem; }
.clinic-form .fine { margin: .5rem 0 0; }
@media (max-width: 48rem) {
  .says, .calm { grid-template-columns: 1fr; }
}

/* ---------- Ask OVO: an example conversation ---------- */
.convo { display: flex; flex-direction: column; gap: 1.25rem; max-width: 44rem; margin-top: clamp(2rem, 5vw, 3rem); }
.msg { display: flex; flex-direction: column; gap: .35rem; max-width: 36rem; }
.msg p { margin: 0; line-height: 1.5; }
.msg .who { font-size: .8125rem; font-weight: 600; color: var(--ink-2); }
.msg.me { align-self: flex-end; align-items: flex-end; }
.msg.me p { padding: .7rem 1rem; border-radius: 1.1rem 1.1rem .35rem 1.1rem; background: var(--soft); }
.msg.ovo .who { color: var(--wine); }
.msg.ovo .g { margin-bottom: .35rem; }
.msg .src { font-size: .8125rem; color: var(--ink-2); }
.msg .ask-q { padding-left: .9rem; border-left: 2px solid var(--blush); color: var(--ink); }
.ask .convo + .fine { margin-top: 1.5rem; }
.does { list-style: none; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 4rem); }
.does li { padding: .85rem 0; border-top: 1px solid var(--line); }
@media (max-width: 48rem) {
  .does { grid-template-columns: 1fr; }
  .msg { max-width: 100%; }
  .msg.me { max-width: 88%; }
}

/* Ask OVO: references inside answers (products, ingredients, medicines, sources) */
.refs { display: flex; flex-wrap: wrap; gap: .5rem; margin: .15rem 0 .35rem; }
.ref { display: flex; flex-direction: column; gap: .15rem; min-width: 12.5rem; max-width: 100%; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: .9rem; background: var(--bg); color: inherit; text-decoration: none; font-size: .9375rem; line-height: 1.35; }
a.ref { transition: border-color .15s ease-out, background-color .15s ease-out; }
a.ref:hover { border-color: var(--ink-2); }
a.ref:active { background: var(--soft); }
.ref-k { font-size: .75rem; font-weight: 600; color: var(--ink-2); }
.ref b { font-weight: 600; }
.ref-d { font-size: .8125rem; color: var(--ink-2); }
.ref .g { margin: .25rem 0 0; font-size: .8125rem; }
.refs.src .ref { min-width: 0; padding: .5rem .75rem; border-radius: .7rem; background: var(--soft); border-color: transparent; }
.refs.src .ref b { font-size: .875rem; }
.ask-ref { border-color: var(--blush); background: var(--soft); }
.calm-ref { border-style: dashed; }
.rank { list-style: none; counter-reset: r; margin: .25rem 0 .35rem; padding: 0; border: 1px solid var(--line); border-radius: .9rem; overflow: hidden; }
.rank li { counter-increment: r; display: grid; grid-template-columns: 1.75rem 1fr; column-gap: .25rem; padding: .65rem .9rem; font-size: .9375rem; line-height: 1.35; }
.rank li + li { border-top: 1px solid var(--line); }
.rank li::before { content: counter(r); grid-row: 1 / span 3; font-weight: 700; color: var(--wine); }
.rank li > * { grid-column: 2; }
@media (max-width: 48rem) {
  .ref { min-width: 0; flex: 1 1 100%; }
  .refs.src .ref { flex: 1 1 auto; }
}

/* =====================================================================
   Editorial layer (23 Nov 2026). Reference: Aesop. A warm paper page,
   Newsreader in a light weight for headings, Inter for text, square-ish
   corners, hairline rules, photographs instead of decoration. Wine stays
   the one action colour; coral only in the logo.
   ===================================================================== */
@font-face { font-family: "Bricolage"; src: url(fonts/bricolage.woff2) format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Inter"; src: url(fonts/inter.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #fbf7f4;
  --card: #fffdfb;
  --soft: #f3e9e5;
  --line: #e6d8d3;
  --ink: #2a1219;
  --ink-2: #6f4b53;
  --nav: rgba(251, 247, 244, .9);
  --serif: "Bricolage", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-lg: .5rem;
  --r-md: .375rem;
}
body { font-size: 1rem; line-height: 1.6; letter-spacing: -.003em; }
h1, h2 { font-family: var(--serif); font-weight: 300; font-optical-sizing: auto; }
h1 { font-size: clamp(2.6rem, 5.2vw, 4.6rem); line-height: 1.04; letter-spacing: -.022em; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.08; letter-spacing: -.016em; margin-bottom: 1.1rem; }
.split-head h2 { font-size: clamp(1.9rem, 3.1vw, 2.6rem); }
h3 { font-weight: 500; letter-spacing: -.005em; }
.lede { font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); line-height: 1.6; letter-spacing: 0; color: var(--ink-2); }
.sub { font-size: 1.0625rem; line-height: 1.6; }
.fine { font-size: .8125rem; line-height: 1.55; }
:focus-visible { border-radius: 2px; }

/* buttons and links */
.btn { border-radius: .25rem; font-weight: 500; font-size: .9375rem; letter-spacing: .01em; min-height: 3rem; padding: 0 1.6rem; }
.btn.small { border-radius: .25rem; font-size: .875rem; }
.btn.ghost, .btn.quiet { background: transparent; }
.link { font-size: .9375rem; text-underline-offset: .3em; }
.chip { border-radius: .25rem; }

/* navigation */
.nav .wrap { min-height: 4.25rem; }
.brand { font-family: var(--serif); font-weight: 500; font-size: 1.375rem; letter-spacing: .01em; }
.navlink { font-size: .875rem; font-weight: 400; color: var(--ink); }
.navlink:hover { color: var(--ink-2); }
.navlink.strong { font-weight: 500; text-decoration: underline; text-underline-offset: .35em; }

/* wide page */
.wrap { width: min(80rem, 100%); padding-inline: clamp(1.25rem, 4vw, 3rem); }

/* hero: words left, photograph right */
.hero { text-align: left; padding-block: clamp(2rem, 5vw, 4rem) clamp(3rem, 7vw, 6rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-copy { padding-bottom: clamp(0rem, 2vw, 1.5rem); }
.hero .lede { margin: 1.75rem 0 0; max-width: 30rem; }
.hero-cta { justify-content: flex-start; margin-top: 2.25rem; gap: .75rem 2rem; }
.hero .invited { text-align: left; }
.ph { margin: 0; overflow: hidden; background: var(--soft); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo { aspect-ratio: 5 / 4; }
.specimen { margin-top: clamp(4rem, 8vw, 6.5rem); }

/* specimen and tool: quieter surfaces */
.sp-label, .sp-detail, .tool-card { border-radius: var(--r-lg); }
.specimen { gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.sp-label { background: var(--card); }
.sp-detail { background: var(--card); }
.sp-detail h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
.tool { background: var(--soft); }
.tool-card { box-shadow: none; border: 1px solid var(--line); }
.checker textarea, .finder-row input, .contribute input { border-radius: .25rem; }
.seg, .seg::before, .seg button { border-radius: .25rem; }

/* sections: hairlines, room, photographs paired with words */
.section { padding-block: clamp(4.5rem, 10vw, 8rem); }
.section + .section:not(.tint) { border-top-color: var(--line); }
.ed-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.ed-head .ph { aspect-ratio: 4 / 5; width: min(100%, 27rem); justify-self: end; }
.ed-head .sub { max-width: 34rem; }
.split-head .ph { aspect-ratio: 4 / 5; margin-top: 2rem; max-width: 26rem; }
#clinics .split-head .ph { aspect-ratio: 16 / 9; max-width: none; }
.split-head { position: static; }

/* tables and lists: editorial rules */
.rules th, .rules td { border-color: var(--line); }
.rules thead th { font-weight: 500; font-size: .8125rem; color: var(--ink-2); }
.grades tbody th { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; letter-spacing: -.01em; }
.plain-list li { border-color: var(--line); }
.says h3, .calm h3, .clinic-form h3, .contact h3 { font-family: var(--serif); font-weight: 400; font-size: 1.375rem; letter-spacing: -.01em; }
.does li { border-color: var(--line); }

/* Ask OVO conversation */
.convo { max-width: 46rem; }
.msg.me p { border-radius: .5rem; background: var(--soft); }
.msg .who { font-size: .75rem; font-weight: 500; letter-spacing: .02em; }
.ref, .rank { border-radius: .375rem; background: var(--card); }
.refs.src .ref { border-radius: .25rem; background: var(--soft); }
.rank li::before { font-family: var(--serif); font-weight: 400; font-size: 1.125rem; }

/* plans, forms, details */
.plan { border-radius: var(--r-lg); background: var(--card); box-shadow: none; }
.plan h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; }
.plan .price b { font-family: var(--serif); font-weight: 300; }
.contact, .contribute, .clinic-form { border-radius: var(--r-lg); background: var(--card); }
.contact input, .contact select, .contact textarea { border-radius: .25rem; }
details summary { font-weight: 500; }

/* mobile: photograph above the words in the hero, under the heading elsewhere */
@media (max-width: 48rem) {
  .hero-grid, .ed-head { grid-template-columns: 1fr; }
  .hero-photo { order: -1; margin-inline: calc(-1 * clamp(1.25rem, 4vw, 3rem)); aspect-ratio: 4 / 3; }
  .ed-head .ph { aspect-ratio: 4 / 3; }
  .split-head .ph { max-width: none; aspect-ratio: 4 / 3; }
  h1 { font-size: clamp(2.4rem, 10vw, 3.2rem); }
}

/* ---------------------------------------------------------------------
   Typography from direction C (Bricolage Grotesque), refined.
   Replaces the Newsreader headings, which Djolex rejected on 23 Nov.
   --------------------------------------------------------------------- */
:root { --bg: #ffffff; --card: #ffffff; --soft: #fbf3f2; --line: #efe1df; --nav: rgba(255, 255, 255, .9); }
h1, h2 { font-family: var(--serif); font-weight: 580; font-stretch: 100%; color: var(--wine); font-variation-settings: "opsz" 60; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 6vw, 5.2rem); line-height: 1.02; letter-spacing: -.03em; }
h2 { font-size: clamp(2.1rem, 3.8vw, 3.3rem); line-height: 1.04; letter-spacing: -.028em; }
.split-head h2 { font-size: clamp(2rem, 3.2vw, 2.8rem); }
.brand { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; letter-spacing: -.02em; color: var(--wine); }
.grades tbody th, .says h3, .calm h3, .clinic-form h3, .contact h3, .plan h3, .sp-detail h3 { font-family: var(--serif); font-weight: 650; letter-spacing: -.02em; color: var(--ink); }
.plan .price b { font-family: var(--serif); font-weight: 700; letter-spacing: -.03em; }
.rank li::before { font-family: var(--serif); font-weight: 700; }
.btn { border-radius: 999px; font-weight: 600; letter-spacing: -.005em; }
.btn.ghost { box-shadow: inset 0 0 0 1.5px var(--wine); color: var(--wine); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--wine); background: var(--soft); }

/* hero: centred words, then her cabinet and his */
.hero { text-align: center; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem); }
.hero-head { max-width: 52rem; margin-inline: auto; }
.hero-head h1 { max-width: 14ch; margin-inline: auto; }
.hero .lede { margin: 1.5rem auto 0; max-width: 36rem; color: var(--ink-2); }
.hero-cta { justify-content: center; margin-top: 2rem; gap: .75rem; }
.hero .invited { text-align: center; }
.cabinets { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(3rem, 6vw, 4.5rem); border-radius: 1.25rem; overflow: hidden; text-align: left; min-height: 30rem; }
.cab { padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem) 11rem; }
.cab.her { background: var(--blush); }
.cab.him { background: var(--wine); color: var(--on-action); }
.cab.him .cab-h, .cab.him b, .cab.him small { color: inherit; }
.cab-h { margin: 0 0 1.25rem; font-size: clamp(1.9rem, 3vw, 2.6rem); color: inherit; }
.cab.him .cab-h { text-align: right; }
.cab ul { list-style: none; margin: 0; padding: 0; max-width: 22rem; }
.cab.him ul { margin-left: auto; }
.cab li { display: grid; grid-template-columns: auto 1fr; column-gap: .75rem; padding: .85rem 0; border-top: 1px solid rgba(91, 26, 43, .14); }
.cab.him li { border-color: rgba(255, 240, 240, .16); grid-template-columns: 1fr auto; text-align: right; }
.cab li b { font-weight: 600; font-size: .98rem; }
.cab li small { grid-column: 2; font-size: .8rem; opacity: .75; }
.cab.him li small { grid-column: 1; }
.cab .dot { grid-row: span 2; align-self: center; width: .6rem; height: .6rem; border-radius: 50%; background: var(--c); }
.cab.him .dot { grid-column: 2; grid-row: 1 / span 2; }
.cab-ovo { position: absolute; left: 50%; bottom: clamp(1.25rem, 3vw, 2rem); transform: translateX(-50%); width: min(30rem, calc(100% - 2.5rem)); padding: 1.2rem 1.35rem 1.1rem; background: #fff; color: var(--ink); border-radius: .85rem; box-shadow: 0 30px 60px -30px rgba(42, 18, 25, .45), 0 0 0 1px rgba(42, 18, 25, .04); }
.cab-k { font-size: .75rem; font-weight: 600; color: var(--wine); }
.cab-ovo ol { margin: .6rem 0 .5rem; padding-left: 1.15rem; font-size: .92rem; line-height: 1.45; }
.cab-ovo li { margin: .3rem 0; }
.cab-src { display: block; font-size: .72rem; color: var(--ink-2); }
.specimen { margin-top: clamp(4rem, 8vw, 6rem); }
@media (max-width: 48rem) {
  .hero { text-align: left; }
  .hero-head h1 { margin-inline: 0; }
  .hero .lede { margin-inline: 0; }
  .hero-cta { justify-content: flex-start; }
  .cabinets { grid-template-columns: 1fr; }
  .cab { padding-bottom: 1.75rem; }
  .cab.him { padding-bottom: 16rem; }
  h1 { font-size: clamp(2.6rem, 11vw, 3.4rem); }
}

/* ed-head v2: wide photo band, then heading and intro side by side (23 Nov, replaces the tall 4:5 photo beside short text) */
.ed-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(2rem, 6vw, 6rem); row-gap: clamp(1.75rem, 3.5vw, 2.75rem); align-items: start; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.ed-head .ph { grid-column: 1 / -1; width: 100%; aspect-ratio: 16 / 7; justify-self: stretch; border-radius: 1rem; }
.ed-head > div { display: contents; }
.ed-head h2 { margin: 0; }
.ed-head .sub { margin: .5rem 0 0; max-width: 30rem; color: var(--ink-2); }
#ask .ed-head .ph img { object-position: 50% 68%; }
#medicines .ed-head .ph img { object-position: 50% 55%; }
#calm .ed-head .ph img { object-position: 50% 60%; }
@media (max-width: 48rem) {
  .ed-head { grid-template-columns: 1fr; row-gap: 1.25rem; }
  .ed-head .ph { aspect-ratio: 4 / 3; border-radius: .75rem; }
  .ed-head .sub { margin-top: 0; }
}
.split-head .ph { aspect-ratio: 4 / 3; max-width: none; border-radius: 1rem; }
.split-head .ph img { object-position: 50% 45%; }

/* Ask OVO example, v2 (23 Nov): a footnoted conversation. Questions in wine, answers on white
   cards with numbered citations, sources listed in a rail beside the thread. */
.chat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 18rem); gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: clamp(2rem, 4vw, 3rem); padding: clamp(1.25rem, 4vw, 3rem); background: var(--soft); border-radius: 1.5rem; }
.thread { display: flex; flex-direction: column; gap: 1.1rem; min-width: 0; }
.q { align-self: flex-end; max-width: min(30rem, 88%); margin: .75rem 0 0; padding: .9rem 1.2rem; border-radius: 1.4rem 1.4rem .4rem 1.4rem; background: var(--wine); color: var(--on-action); font-size: 1.0625rem; line-height: 1.45; }
.q:first-child { margin-top: 0; }
.q.him { background: #3f1220; }
.q-who { display: block; margin-bottom: .2rem; font-size: .75rem; font-weight: 600; color: inherit; opacity: .65; }
.a { max-width: 38rem; padding: 1.25rem 1.4rem 1.35rem; background: #fff; border-radius: .4rem 1.4rem 1.4rem 1.4rem; box-shadow: 0 1px 0 rgba(91, 26, 43, .06), 0 24px 48px -36px rgba(91, 26, 43, .45); }
.a p { margin: .85rem 0 0; font-size: 1rem; line-height: 1.6; color: var(--ink); }
.a > p:first-of-type { margin-top: .9rem; }
.a-h { display: flex; align-items: center; gap: .4rem; font-family: var(--serif); font-weight: 650; font-size: .95rem; letter-spacing: -.01em; color: var(--wine); }
.a-h svg { width: 1.05rem; height: 1.05rem; }
.ents { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: .6rem; margin-top: .9rem; }
.ent { display: grid; gap: .1rem; padding: .8rem .95rem; border: 1px solid var(--line); border-radius: .9rem; color: inherit; text-decoration: none; transition: border-color .15s; }
a.ent:hover { border-color: var(--accent); }
.ent-k { font-size: .72rem; font-weight: 600; color: var(--ink-2); }
.ent b { font-weight: 600; font-size: .98rem; color: var(--ink); }
.ent-d { font-size: .8125rem; color: var(--ink-2); }
.ent-g { color: var(--ink); display: flex; align-items: center; gap: .45rem; margin-top: .45rem; font-size: .8125rem; font-weight: 600; }
.ent-g::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--c); flex: none; }
.cite { display: inline-grid; place-items: center; min-width: 1.15rem; height: 1.15rem; margin-left: .2rem; padding: 0 .25rem; border-radius: 999px; background: var(--soft); color: var(--wine); font-size: .68rem; font-weight: 700; line-height: 1; text-decoration: none; vertical-align: .2em; }
.cite:hover, .cite:focus-visible { background: var(--wine); color: var(--on-action); }
.ask-doc { margin: 1rem 0 0; padding: .85rem 1rem; border-radius: .9rem; background: var(--soft); font-family: var(--serif); font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; color: var(--wine); }
.ask-doc span { display: block; margin-bottom: .15rem; font-family: Inter, system-ui, sans-serif; font-size: .72rem; font-weight: 600; letter-spacing: 0; color: var(--ink-2); }
.a .rank { margin-top: .85rem; border: 0; border-radius: 0; }
.a .rank li { grid-template-columns: 2rem 1fr; padding: .7rem 0; border-top: 1px solid var(--line); }
.a .rank li::before { font-family: var(--serif); font-size: 1.35rem; line-height: 1.1; }
.a .wait { padding-top: .8rem; border-top: 1px dashed var(--line); font-size: .9rem; color: var(--ink-2); }
.a .wait b { color: var(--ink); font-weight: 600; }
.rail { align-self: start; position: sticky; top: 6rem; }
.rail h3 { margin: 0 0 .9rem; font-family: var(--serif); font-weight: 650; font-size: 1.15rem; letter-spacing: -.015em; color: var(--wine); }
.rail ol { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.rail li { counter-increment: s; display: grid; grid-template-columns: 1.6rem 1fr; padding: .75rem 0; border-top: 1px solid rgba(91, 26, 43, .12); scroll-margin-top: 8rem; }
.rail li::before { content: counter(s); font-size: .78rem; font-weight: 700; color: var(--wine); padding-top: .1rem; }
.rail li > a, .rail .nolink { display: grid; gap: .1rem; color: inherit; text-decoration: none; }
.rail li b { font-weight: 600; font-size: .9rem; line-height: 1.35; }
.rail li span span, .rail li a span { font-size: .78rem; color: var(--ink-2); }
.rail li > a:hover b { text-decoration: underline; text-underline-offset: .15em; }
.rail li:target { background: #fff; margin: 0 -.6rem; padding-inline: .6rem; border-radius: .6rem; }
.rail > p { margin: 1rem 0 0; font-size: .8rem; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 56rem) {
  .chat { grid-template-columns: minmax(0, 1fr); padding: .75rem; border-radius: 1.1rem; }
  .ents { grid-template-columns: minmax(0, 1fr); }
  .rail { position: static; padding: 0 .35rem; }
  .q { max-width: 92%; }
  .a { padding: 1.1rem 1.1rem 1.2rem; }
}
/* exception row in the grades table (Milos, 24 Nov): calm note under the row */
.grades tr.exception > * { border-bottom: 0; }
.grades tr.exception-note td { padding-top: 0; }
.grades tr.exception-note p { margin: 0; padding: .8rem 1rem; border-radius: .75rem; background: var(--soft); font-size: .9rem; line-height: 1.5; color: var(--ink); max-width: 46rem; }
@media (max-width: 48rem) { .grades tr.exception-note td::before { content: none; } .grades tr.exception-note td { display: block; } }

/* ---------------------------------------------------------------------
   Version 11 (24 Nov): adapted from a reference set Djolex picked from
   (cream frame with a hand holding the product, a dark statement block
   with real numbers, three comparison cards). Our palette and type.
   --------------------------------------------------------------------- */
:root { --cream: #eee0d7; --cream-2: #f7efe9; }
.hero { display: none; }
.hero2 { padding: .75rem 0 0; }
.h2-frame { position: relative; overflow: hidden; border-radius: 1.75rem; background: var(--cream); min-height: clamp(40rem, 62vw, 52rem); isolation: isolate; }
.h2-photo { position: absolute; inset: 0; z-index: -1; }
.h2-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; display: block; }
.h2-copy { max-width: 46rem; margin: 0 auto; padding: clamp(3rem, 6vw, 5rem) 1.5rem 0; text-align: center; }
.h2-chip { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1.4rem; padding: .35rem .85rem .35rem .45rem; border-radius: 999px; background: rgba(255, 255, 255, .7); backdrop-filter: blur(8px); font-size: .85rem; font-weight: 500; color: var(--ink); }
.h2-dot { width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--wine); box-shadow: inset 0 0 0 .38rem var(--wine), inset 0 0 0 .7rem #f25c54; }
.hero2 h1 { margin: 0 auto; max-width: 15ch; font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.02; }
.hero2 .lede { margin: 1.2rem auto 0; max-width: 32rem; color: var(--ink-2); font-size: 1.08rem; }
.hero2 .hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.8rem; }
.btn.light { background: #fff; color: var(--wine); box-shadow: none; }
.btn.light:hover { background: var(--cream-2); }
.h2-note { position: absolute; left: clamp(1.25rem, 3vw, 2.25rem); bottom: clamp(1.25rem, 3vw, 2.25rem); max-width: 19rem; margin: 0; font-size: 1.02rem; line-height: 1.45; color: var(--ink); }
.h2-cards { position: absolute; right: clamp(1.25rem, 3vw, 2.25rem); bottom: clamp(1.25rem, 3vw, 2.25rem); display: flex; gap: .6rem; }
.h2-card { display: grid; gap: .15rem; width: 13.5rem; padding: .9rem 1rem; border-radius: 1rem; background: var(--wine); color: var(--on-action); box-shadow: 0 24px 48px -28px rgba(42, 18, 25, .6); }
.h2-k { font-size: .72rem; font-weight: 600; opacity: .7; }
.h2-card b { font-weight: 600; font-size: .98rem; }
.h2-g { display: flex; align-items: center; gap: .45rem; margin-top: .35rem; font-size: .8rem; }
.h2-g::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: #f2a65a; flex: none; }

.statement2 { padding: .75rem 0 0; }
.st-frame { border-radius: 1.75rem; background: var(--wine); color: var(--on-action); padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 6vw, 6rem); text-align: center; }
.st-text { margin: 0 auto; max-width: 52rem; font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.2; letter-spacing: -.022em; }
.st-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: clamp(2.5rem, 5vw, 4rem) auto 0; max-width: 52rem; }
.st-stats div { padding: 0 1rem; }
.st-stats div + div { border-left: 1px solid rgba(255, 240, 240, .2); }
.st-stats dt { font-family: var(--serif); font-weight: 600; font-size: clamp(2.2rem, 4vw, 3.2rem); letter-spacing: -.03em; line-height: 1; }
.st-stats dd { margin: .5rem 0 0; font-size: .88rem; opacity: .75; }

.compare2 .cmp-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2rem; align-items: end; margin-bottom: 2rem; }
.compare2 .cmp-head h2 { margin: 0; }
.compare2 .cmp-head .sub { margin: 0; color: var(--ink-2); }
.cmp-grid { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: .75rem; }
.cmp { padding: 1.5rem; border-radius: 1.25rem; background: var(--cream-2); }
.cmp h3 { margin: 0 0 1rem; font-family: var(--serif); font-weight: 600; font-size: 1.25rem; letter-spacing: -.015em; color: var(--ink-2); }
.cmp ul { list-style: none; margin: 0; padding: 0; }
.cmp li { padding: .6rem 0; border-top: 1px solid rgba(91, 26, 43, .1); font-size: .95rem; color: var(--ink-2); }
.cmp.ovo { background: var(--wine); color: var(--on-action); }
.cmp.ovo h3 { color: var(--on-action); }
.cmp.ovo li { color: var(--on-action); border-color: rgba(255, 240, 240, .18); }
.cmp.ovo li::before { content: "\2713"; margin-right: .5rem; color: #f2a65a; font-weight: 700; }

@media (max-width: 56rem) {
  .h2-frame { min-height: 0; padding-bottom: 1.25rem; }
  .h2-photo { position: relative; z-index: 0; display: block; margin-top: 1.5rem; aspect-ratio: 4 / 3; }
  .h2-note { position: static; margin: 1rem 1.25rem 0; }
  .h2-cards { position: static; margin: .9rem 1.25rem 0; flex-direction: column; }
  .h2-card { width: auto; }
  .st-stats { grid-template-columns: 1fr; gap: 1.25rem; }
  .st-stats div + div { border-left: 0; border-top: 1px solid rgba(255, 240, 240, .2); padding-top: 1.25rem; }
  .compare2 .cmp-head, .cmp-grid { grid-template-columns: 1fr; }
}
/* hero photo sits under the words: bottom-anchored, edges faded into the frame */
.h2-frame { min-height: clamp(44rem, 66vw, 60rem); }
.h2-photo { left: 50%; right: auto; top: auto; bottom: 0; width: min(74%, 62rem); transform: translateX(-50%);
  -webkit-mask-image: radial-gradient(ellipse 58% 80% at 50% 72%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 58% 80% at 50% 72%, #000 62%, transparent 100%); }
.h2-photo img { height: auto; }
.hero2 h1 { max-width: 19ch; font-size: clamp(2.5rem, 4.6vw, 4.2rem); }
@media (max-width: 56rem) {
  .h2-photo { left: auto; transform: none; width: 100%; aspect-ratio: auto; margin-top: 0; -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 56rem) {
  .h2-frame { display: flex; flex-direction: column; }
  .h2-copy { order: 0; padding-top: 2.5rem; }
  .h2-photo { order: 1; margin-top: 1.5rem; }
  .h2-note { order: 2; }
  .h2-cards { order: 3; }
}
@media (max-width: 56rem) { .h2-photo { -webkit-mask-image: linear-gradient(transparent, #000 18%); mask-image: linear-gradient(transparent, #000 18%); } }
.hero2 .specimen, .hero2 .sp-hint { display: none !important; }

/* ---------------------------------------------------------------------
   Version 11 across the page (24 Nov): every section sits in a rounded
   frame, cream for working parts, wine for the one thing to act on.
   --------------------------------------------------------------------- */
body { background: #fff; }
.section, .tool { padding-block: .75rem 0; background: none; }
.section + .section:not(.tint) { border-top: 0; }
main > section:last-child { padding-bottom: .75rem; }
.frame { border-radius: 1.75rem; padding: clamp(2.25rem, 5vw, 4.5rem) clamp(1.25rem, 5vw, 4.5rem); }
.cmp-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1rem 2rem; align-items: end; margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem); }
.cmp-head h2 { margin: 0; }
.cmp-head .sub { margin: 0; color: var(--ink-2); }

/* sections become frames */
#ask > .wrap, #medicines > .wrap, #faq > .wrap, #plans > .wrap { border-radius: 1.75rem; padding-block: clamp(2.5rem, 5vw, 4.5rem); }
#ask > .wrap { background: #fff; }
#ask .chat { background: var(--cream); margin-top: 0; }
#ask .q { background: var(--wine); }
#ask .fine { margin-top: 1rem; }
#check > .wrap { width: min(80rem, 100%); }
#check > .wrap > * { max-width: 46rem; margin-inline: auto; }
#check > .wrap { background: var(--cream); border-radius: 1.75rem; padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.25rem, 5vw, 4.5rem); }
#check h2.center, #check .sub.center { text-align: center; }
#check .tool-card { background: #fff; border: 0; border-radius: 1.4rem; }
#medicines > .wrap { background: var(--cream-2); }
#medicines .grades { background: #fff; border-radius: 1.25rem; overflow: hidden; }
#medicines .says { gap: .75rem; }
#medicines .says > div { padding: 1.5rem; border-radius: 1.25rem; background: var(--wine); color: var(--on-action); }
#medicines .says > div + div { background: #fff; color: var(--ink); }
#medicines .says > div:first-child h3, #medicines .says > div:first-child li { color: var(--on-action); }
#medicines .says > div:first-child li { border-color: rgba(255, 240, 240, .18); }
#faq .split-head h2 { margin: 0; }
#plans .plans { gap: .75rem; }
#plans .plan { border: 0; background: var(--cream-2); border-radius: 1.25rem; }
#plans .plan.couple { background: var(--wine); color: var(--on-action); box-shadow: none; }
#plans .plan.couple h3, #plans .plan.couple .price, #plans .plan.couple ul { color: var(--on-action); }
#plans .plan.couple li::before { background: #f2a65a; }
#plans .plan.couple .btn { background: #fff; color: var(--wine); }
#plans .plan li::before { background: var(--wine); }
#waitlist > .wrap { width: min(80rem, 100%); background: var(--wine); color: var(--on-action); border-radius: 1.75rem; padding: clamp(3rem, 6vw, 5.5rem) clamp(1.25rem, 5vw, 4.5rem); }
#waitlist > .wrap > * { max-width: 40rem; margin-inline: auto; }
#waitlist h2 { color: var(--on-action); }
#waitlist .sub, #waitlist .choice legend { color: rgba(255, 240, 240, .78); }
#waitlist .sub a { color: var(--on-action); }
#waitlist .waitlist .field { border: 0; background: #fff; }
#waitlist .waitlist .field .btn { background: var(--wine); color: var(--on-action); }
#waitlist .choice span { box-shadow: inset 0 0 0 1px rgba(255, 240, 240, .35); color: var(--on-action); }
#waitlist .choice input:checked + span { background: #fff; color: var(--wine); }
#waitlist .form-msg { color: var(--on-action); }
#waitlist .invite { color: var(--on-action); }
footer { padding-block: 2.5rem 3rem; }
@media (max-width: 56rem) {
  .cmp-head { grid-template-columns: 1fr; }
  #medicines .says { grid-template-columns: 1fr; }
}
#plans .plan.couple .price b { color: var(--on-action); }
#waitlist.section.tint { background: none; }
#medicines .grades th:first-child, #medicines .grades td:first-child { padding-left: 1.25rem; }
#medicines .grades th:last-child, #medicines .grades td:last-child { padding-right: 1.25rem; }
@media (max-width: 48rem) { #medicines .grades { background: none; border-radius: 0; overflow: visible; } }
.compare2 > .wrap { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(1rem, 3vw, 2rem); }
/* the medicine count is the figure this block exists to show (24 Nov) */
.st-stats { grid-template-columns: 1.6fr 1fr 1fr; align-items: end; }
.st-stats div:first-child dt { font-size: clamp(3.4rem, 7vw, 5.6rem); }
.st-stats div:first-child dd { font-size: 1rem; opacity: .9; }
.st-stats div:not(:first-child) dt { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.st-stats div:not(:first-child) dd { font-size: .82rem; }
@media (max-width: 56rem) { .st-stats { grid-template-columns: 1fr; } }

/* hero v12 (24 Nov): the hand holds a phone with the real app screen, Ask OVO and a medicine grade float beside it */
.h2-photo, .h2-cards { display: none; }
.h2-shot { position: absolute; left: 50%; bottom: 0; width: min(74%, 62rem); transform: translateX(-50%); z-index: -1; }
.h2-shot img { display: block; width: 100%; height: auto;
  -webkit-mask-image: radial-gradient(ellipse 60% 82% at 50% 72%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 60% 82% at 50% 72%, #000 62%, transparent 100%); }
.h2-screen { position: absolute; left: 41.2%; top: 41.6%; width: 17.2%; height: 50.2%; border-radius: 9% / 4.2%; background: #fff; overflow: hidden; container-type: inline-size; color: var(--ink); text-align: left; }
.scr { padding: 9cqw 7cqw 0; }
.scr-top { display: flex; justify-content: space-between; align-items: center; }
.scr-brand { font-family: var(--serif); font-weight: 700; font-size: 7.5cqw; color: var(--wine); }
.scr-stage { font-size: 4.6cqw; font-weight: 600; padding: 1.2cqw 3.4cqw; border-radius: 99px; background: var(--wine); color: var(--on-action); }
.scr-h { margin: 7cqw 0 3cqw; font-family: var(--serif); font-weight: 600; font-size: 8.4cqw; line-height: 1.1; letter-spacing: -.02em; color: var(--wine); }
.scr-list { list-style: none; margin: 0; padding: 0; }
.scr-list li { display: grid; grid-template-columns: 5cqw 1fr; column-gap: 2.5cqw; padding: 3.6cqw 0; border-top: 1px solid var(--line); }
.scr-list li:first-child { border-top: 0; }
.scr-dot { grid-row: span 2; width: 3.4cqw; height: 3.4cqw; margin-top: 1.6cqw; border-radius: 50%; background: var(--c); }
.scr-list b { font-size: 5.4cqw; font-weight: 600; line-height: 1.25; }
.scr-list small { font-size: 4.2cqw; line-height: 1.3; color: var(--ink-2); }
.scr-wait { margin: 2cqw 0 0; font-size: 4.2cqw; color: var(--ink-2); }
.scr-cabs { display: flex; gap: 2.5cqw; margin-top: 6cqw; }
.scr-cabs span { flex: 1; padding: 3.5cqw; border-radius: 3.5cqw; background: var(--cream-2); font-size: 4.4cqw; color: var(--ink-2); }
.scr-cabs b { display: block; font-family: var(--serif); font-size: 7cqw; color: var(--wine); }

.h2-float { position: absolute; z-index: 1; display: grid; gap: .25rem; width: 16rem; padding: 1rem 1.1rem; border-radius: 1.1rem; background: #fff; box-shadow: 0 24px 48px -30px rgba(42, 18, 25, .45); text-align: left; }
.h2-float.ask { left: clamp(1.25rem, 6vw, 6rem); top: 58%; }
.h2-float.med { right: clamp(1.25rem, 6vw, 6rem); top: 52%; width: 14rem; background: var(--wine); color: var(--on-action); }
.fl-q { margin: 0 0 .35rem; justify-self: end; max-width: 92%; padding: .55rem .75rem; border-radius: .9rem .9rem .25rem .9rem; background: var(--wine); color: var(--on-action); font-size: .85rem; line-height: 1.35; }
.fl-a { margin: 0; font-size: .85rem; line-height: 1.45; }
.fl-src { margin-top: .35rem; font-size: .72rem; font-weight: 600; color: var(--ink-2); }
.h2-float.med .fl-src, .h2-float.med .fl-k, .h2-float.med .fl-d { color: rgba(255, 240, 240, .75); }
.fl-k { font-size: .75rem; font-weight: 600; }
.fl-g { display: flex; align-items: center; gap: .45rem; font-family: var(--serif); font-weight: 600; font-size: 1.25rem; letter-spacing: -.015em; }
.fl-g::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: #f2a65a; }
.fl-d { font-size: .85rem; }
.h2-note { max-width: 17rem; }
@media (max-width: 70rem) { .h2-float.ask { top: 62%; } .h2-note { display: none; } }
@media (max-width: 56rem) {
  .h2-shot { position: relative; left: auto; transform: none; width: 100%; order: 1; margin-top: 1.5rem; z-index: 0; }
  .h2-shot img { -webkit-mask-image: linear-gradient(transparent, #000 18%); mask-image: linear-gradient(transparent, #000 18%); }
  .h2-float { position: static; width: auto; margin: .75rem 1.25rem 0; order: 2; }
  .h2-float.med { width: auto; }
  .h2-note { display: block; order: 3; }
}
/* bigger phone: the art is wider than the frame and starts near the top, so the phone sits under the buttons */
.h2-shot { top: clamp(6rem, 11vw, 10rem); bottom: auto; width: max(100%, 84rem); }
.h2-art { position: relative; }
@media (max-width: 56rem) {
  .h2-shot { top: auto; width: 100%; height: 26rem; overflow: hidden; }
  .h2-art { width: 240%; margin-left: -70%; margin-top: -64%; }
  .h2-shot img { -webkit-mask-image: none; mask-image: none; }
  .h2-shot::after { content: ""; position: absolute; inset: auto 0 0; height: 4rem; background: linear-gradient(rgba(238, 224, 215, 0), var(--cream)); }
}
.st-stats dd { white-space: nowrap; }
@media (max-width: 56rem) { .st-stats dd { white-space: normal; } }
