/* comfi.skin's server-rendered pages (web/templates). The app's Bright tokens
   (shared/.../ui/design/Tokens.kt) under their own names; the home page's font files (landing/public/legal). */
@font-face { font-family: 'Geist'; src: url('/legal/fonts/geist.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #1D1D1F;            /* BrightColors.Ink */
  --ink-soft: #3A3A3C;       /* InkSoft */
  --muted: #6E6E73;          /* Muted */
  --faint: #AEAEB2;          /* Faint */
  --canvas: #F5F5F7;         /* Canvas */
  --surface: #FFFFFF;        /* Surface */
  --fill: #F5F5F7;           /* Fill */
  --hairline: #ECECF0;       /* Hairline */
  --outline: #E3E3E8;        /* Outline: the shelf's edge, a night off */
  --sun: #E08A00;            /* SunGlyph */
  --accent: #0A6CFF;         /* Accent */
  --accent-pressed: #0A5BD6; /* AccentPressed */
  --accent-soft: #E8F0FF;    /* AccentSoft */
  --accent-wash: #F2F6FF;    /* AccentWash */
  --brand-navy: #16304A;     /* BrandNavy */
  --brand-sky: #5B9BE6;      /* BrandSky */
  --positive-soft: #E3F5EA;  /* BrightTones.Positive */
  --positive-ink: #177A42;
  --positive: #1F9D55;
  --critical-ink: #B3261E;   /* BrightTones.Critical */
  --tone-mint: #E1F4E7; --tone-mint-ink: #1F7A4D;
  --tone-sky: #DDEFFD;  --tone-sky-ink: #1668B0;
  --tone-sand: #F4EADB; --tone-sand-ink: #83562A;
  --tone-coral: #FFE6DC; --tone-coral-ink: #B4461F; --tone-coral-icon: #FF8A6B;
  --tone-lilac: #ECE8FF; --tone-lilac-ink: #5B45C9;
  --tone-blush: #FDEDEF; --tone-blush-ink: #B3261E;
  --cream: #FFF4E0;          /* the product stage's warm top */
  --skin-top: #D8EBFF; --skin-bottom: #F2F8FF; /* the Skin ID card's wash */
  --shadow-lift: 0 1px 2px rgba(0, 0, 0, 0.04), 0 18px 40px -28px rgba(10, 60, 160, 0.35);
  --shadow-accent: 0 10px 22px -12px rgba(10, 108, 255, 0.8);
  --capsule: 999px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif; line-height: 1.35; overflow-x: hidden; }
body.page-share { background: var(--canvas); }
h1, h2, h3, p, ul, ol, dl, dd, dt { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; object-fit: contain; }
a { color: var(--accent); }
button, input { font: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }

svg.tick { flex-shrink: 0; fill: none; stroke: var(--positive); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
svg.dash { fill: none; stroke: var(--muted); stroke-width: 2.8; stroke-linecap: round; }

/* The mark: two navy strokes and two sky ones; all white on blue. */
.mark { flex-shrink: 0; fill: none; stroke-width: 6.8; stroke-linecap: round; }
.mark path.mark__sky { stroke: var(--brand-sky); }
.mark path.mark__ink { stroke: var(--brand-navy); }
.mark circle.mark__sky { fill: var(--brand-sky); stroke: none; }
.mark circle.mark__ink { fill: var(--brand-navy); stroke: none; }
.mark--white path.mark__sky, .mark--white path.mark__ink { stroke: var(--surface); }
.mark--white circle.mark__sky, .mark--white circle.mark__ink { fill: var(--surface); }

.brand { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); text-decoration: none; font-size: 19px; font-weight: 700; letter-spacing: -0.035em; }
.brand--small { font-size: 17px; letter-spacing: -0.015em; }
.brand--white { color: var(--surface); }

.pill-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 0 18px; border-radius: var(--capsule); background: var(--accent); color: var(--surface); font-size: 15px; font-weight: 650; text-decoration: none; white-space: nowrap; box-shadow: var(--shadow-accent); }
.pill-button:hover { background: var(--accent-pressed); }

/* ── The product page ─────────────────────────────────────────────── */
.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.site-bar { border-bottom: 1px solid var(--hairline); }
.site-bar__in { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); min-height: 72px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.site-bar__get { margin-left: auto; }

.product { padding-top: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: clamp(24px, 4vw, 48px); align-items: start; }
.product__stage { position: relative; height: clamp(320px, 44vw, 520px); border-radius: 34px; background: linear-gradient(180deg, var(--cream) 0%, var(--canvas) 100%); overflow: hidden; }
.product__shadow { position: absolute; left: 50%; bottom: 52px; width: 300px; max-width: 80%; height: 28px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse, rgba(10, 40, 100, 0.16) 0%, rgba(10, 40, 100, 0) 70%); }
.product__bottle { position: absolute; left: 50%; bottom: 64px; width: min(340px, 72%); height: 72%; transform: translateX(-50%); object-position: bottom; }
.product__about { display: flex; flex-direction: column; padding-top: 12px; min-width: 0; }
.product__brand { font-size: 16px; font-weight: 600; color: var(--muted); }
.product__name { margin-top: 6px; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; overflow-wrap: anywhere; }
.product__meta { margin-top: 8px; font-size: 16px; color: var(--muted); }


.get-card { margin-top: 20px; border-radius: 22px; border: 1px solid var(--hairline); padding: 20px; display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 16px; }
.get-card h2 { font-size: 19px; line-height: 23px; font-weight: 700; letter-spacing: -0.02em; }
.get-card__words p { margin-top: 4px; font-size: 15.5px; line-height: 22px; color: var(--ink-soft); }

.block { padding-top: clamp(48px, 7vw, 72px); }
.block__title { font-size: 28px; line-height: 32px; font-weight: 700; letter-spacing: -0.03em; }

.inside__list { border-radius: 22px; background: var(--surface); padding: 0 16px; border: 1px solid var(--hairline); }
.inside__row { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 0; border-bottom: 1px solid var(--hairline); }
.inside__row:last-child { border-bottom: 0; }
.inside__name { flex-grow: 1; min-width: 0; font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.inside__work { flex-shrink: 0; font-size: 13.5px; font-weight: 700; background: none !important; }
.bubble { width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--surface); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bubble img { width: 84%; height: 84%; }
.bubble__dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.tone-mint { background: var(--tone-mint); color: var(--tone-mint-ink); }
.tone-sky { background: var(--tone-sky); color: var(--tone-sky-ink); }
.tone-sand { background: var(--tone-sand); color: var(--tone-sand-ink); }
.tone-coral { background: var(--tone-coral); color: var(--tone-coral-ink); }
.tone-lilac { background: var(--tone-lilac); color: var(--tone-lilac-ink); }
.tone-blush { background: var(--tone-blush); color: var(--tone-blush-ink); }





/* At a glance: what the checks found and what they did not, as tags. */
.glance { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.glance__group { display: flex; flex-direction: column; gap: 8px; }
.glance__title { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { min-height: 36px; padding: 6px 14px; border-radius: var(--capsule); display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 650; }
.tag--has { background: var(--tone-coral); color: var(--tone-coral-ink); }
.tag--has a { color: inherit; }
.tag--free { background: var(--positive-soft); color: var(--positive-ink); }
.tag--free svg.tick { stroke: var(--positive-ink); }
.tag__detail { font-weight: 500; opacity: 0.85; overflow-wrap: anywhere; }

.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 40px 48px; align-items: start; }
.duo__col { min-width: 0; }
.duo .inside__list { margin-top: 20px; }
.steps { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; counter-reset: step; }
.steps li { border-radius: 18px; background: var(--fill); padding: 14px 18px; font-size: 17px; line-height: 24px; font-weight: 550; }

/* Every ingredient, for whoever opens the list: its name, what it is for, what was flagged. */
.full > summary { display: flex; align-items: center; gap: 12px; cursor: pointer; list-style: none; }
.full > summary::-webkit-details-marker { display: none; }
.full__toggle { margin-left: auto; min-height: 44px; padding: 0 18px; border-radius: var(--capsule); background: var(--fill); display: inline-flex; align-items: center; font-size: 15px; font-weight: 650; }
.full__toggle::before { content: 'Show'; }
.full[open] .full__toggle::before { content: 'Hide'; }
.all { margin-top: 20px; border-radius: 22px; border: 1px solid var(--hairline); padding: 0 16px 0 48px; list-style: decimal; }
.all__row { padding: 12px 0 12px 4px; border-bottom: 1px solid var(--hairline); }
.all__row:last-child { border-bottom: 0; }
.all__row::marker { font-size: 13px; font-weight: 600; color: var(--faint); }
.all__name { font-size: 16px; font-weight: 650; overflow-wrap: anywhere; }
.all__about { margin-left: 10px; font-size: 15px; color: var(--muted); }
.all__marks { margin-left: 10px; display: inline-flex; flex-wrap: wrap; gap: 6px; vertical-align: middle; }
.mark-chip { min-height: 22px; padding: 1px 9px; border-radius: var(--capsule); background: var(--tone-coral); color: var(--tone-coral-ink); font-size: 12.5px; font-weight: 700; display: inline-flex; align-items: center; }

.fine { margin-top: 48px; font-size: 13px; line-height: 19px; color: var(--muted); }
.fine a { color: inherit; }

.cards { margin-top: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.card { border-radius: 22px; background: var(--surface); border: 1px solid var(--hairline); overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
.card:hover { border-color: var(--faint); }
.card__stage { height: 168px; background: var(--fill); display: flex; align-items: flex-end; justify-content: center; }
.card__stage img { width: 110px; height: 150px; object-position: bottom; }
/* A plain container stands in for a product without a photo: a little smaller than a photo would be. */
.product__bottle.is-placeholder { height: 60%; }
.card__stage img.is-placeholder { height: 124px; margin-bottom: 12px; }
.pair__stage img.is-placeholder { height: 116px; margin-bottom: 12px; }
.card__words { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.card__brand { font-size: 13px; font-weight: 600; color: var(--muted); }
.card__name { font-size: 16px; line-height: 20px; font-weight: 650; }
.chip { margin-top: 4px; align-self: flex-start; min-height: 26px; padding: 3px 10px; border-radius: var(--capsule); background: var(--tone-mint); color: var(--tone-mint-ink); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; }

.site-foot { margin-top: 96px; background: var(--accent); color: var(--surface); border-radius: 34px 34px 0 0; }
.site-foot__in { max-width: 1200px; margin: 0 auto; padding: 28px var(--gutter) 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: 14px; line-height: 20px; }
.site-foot__links { margin-left: auto; display: flex; flex-wrap: wrap; gap: 0 20px; }
.site-foot__links a { color: var(--surface); min-height: 44px; display: inline-flex; align-items: center; }

/* ── Shared-link pages: the dupe pair and the Skin ID ─────────────── */
.share-bar { background: var(--surface); border-bottom: 1px solid var(--hairline); }
.share-bar__in { max-width: 1120px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; }
.share { max-width: 520px; margin: 0 auto; padding: 24px 16px 40px; display: flex; flex-direction: column; gap: 16px; }
.share-card { border-radius: 30px; background: var(--surface); box-shadow: var(--shadow-lift); padding: 12px; display: flex; flex-direction: column; gap: 16px; }
.pair__title { padding: 8px 8px 0; font-size: 26px; line-height: 30px; font-weight: 700; letter-spacing: -0.025em; }
.pair__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pair__stage { height: 170px; border-radius: 22px; background: var(--fill); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.pair__stage:first-child { background: var(--cream); }
.pair__stage:last-child { background: var(--tone-blush); }
.pair__stage img { width: 110px; height: 140px; object-position: bottom; }
.pair__names { padding: 0 6px; }
.pair__side { display: flex; flex-direction: column; gap: 3px; color: var(--ink); text-decoration: none; min-width: 0; }
.pair__brand { font-size: 12px; font-weight: 600; color: var(--muted); }
.pair__name { font-size: 15px; line-height: 19px; font-weight: 650; overflow-wrap: anywhere; }
.pair__price { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.pair__price.is-cheaper { color: var(--positive-ink); }
.pair__table { margin: 0 4px 4px; width: calc(100% - 8px); border-collapse: collapse; border-radius: 22px; background: var(--fill); overflow: hidden; table-layout: fixed; }
.pair__table td, .pair__table th { padding: 0 14px; border-bottom: 1px solid var(--hairline); text-align: center; }
.pair__table tr:last-child > * { border-bottom: 0; }
.pair__table thead > tr { height: 56px; }
.pair__table tbody > tr { height: 46px; }
.pair__table tbody th { width: 40%; text-align: left; font-size: 14.5px; font-weight: 600; color: var(--muted); overflow-wrap: anywhere; }
.pair__table svg { vertical-align: middle; }
.pair__thumb { width: 36px; height: 36px; border-radius: 12px; background: var(--surface); display: inline-flex; align-items: flex-end; justify-content: center; overflow: hidden; vertical-align: middle; }
.pair__thumb img { width: 78%; height: 88%; object-position: bottom; }

.share-get { position: relative; border-radius: 26px; background: var(--surface); padding: 20px; display: flex; flex-direction: column; gap: 16px; overflow: hidden; scroll-margin-top: 16px; }
.share-get__comfi { position: absolute; right: 16px; top: 10px; width: 48px; height: 58px; }
.share-get h2 { padding-right: 60px; min-height: 48px; display: flex; align-items: center; font-size: 23px; line-height: 27px; font-weight: 700; letter-spacing: -0.025em; }

.skin-card { border-radius: 24px; background: linear-gradient(160deg, var(--skin-top) 0%, var(--skin-bottom) 70%); padding: 20px; display: flex; flex-direction: column; gap: 18px; scroll-margin-top: 16px; }
.skin-card__comfi { width: 64px; height: 77px; }
.skin-card h1 { font-size: 30px; line-height: 34px; font-weight: 700; letter-spacing: -0.03em; }
.skin-card__parts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.skin-card__parts li { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; font-weight: 650; text-align: center; }
.skin-card__icon { width: 44px; height: 44px; border-radius: 14px; background: var(--surface); display: flex; align-items: center; justify-content: center; }
.skin-card__icon svg { fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.icon-accent { stroke: var(--accent); }
.icon-mint { stroke: var(--tone-mint-ink); }
.icon-critical { stroke: var(--critical-ink); }

.share-foot { padding: 4px 4px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; font-size: 13px; color: var(--muted); }
.share-foot b { color: var(--ink); }
.share-foot a { color: var(--muted); font-weight: 600; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }

/* ── A shared routine: comfi.skin/r/ (GrRoutineShare, the card) ───── */
.routine { padding: 16px 16px 20px; gap: 14px; }
.routine__head { display: flex; align-items: center; gap: 8px; min-height: 30px; }
.routine__period { display: flex; flex-shrink: 0; }
.routine__period svg { fill: none; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.period-moon { stroke: var(--tone-lilac-ink); }
.period-sun { stroke: var(--sun); }
.routine__name { flex-grow: 1; min-width: 0; font-size: 22px; line-height: 26px; font-weight: 700; letter-spacing: -0.02em; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.routine__skin { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.routine__face { width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; }
.routine__face svg { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.routine__concern { width: 26px; height: 26px; }
.routine__shelves { display: flex; flex-direction: column; gap: 18px; }
.shelf__bottles, .shelf__under { display: grid; grid-template-columns: repeat(var(--columns, 6), minmax(0, 1fr)); }
.shelf__bottles { height: 132px; justify-items: center; align-items: end; }
.shelf__bottle { display: flex; align-items: flex-end; justify-content: center; width: 52px; max-width: 100%; height: 132px; }
.shelf__bottle img { width: 100%; height: 100%; object-position: bottom; }
.shelf__blank { width: 34px; height: 86px; border-radius: 12px 12px 8px 8px; background: var(--fill); }
.shelf__ledge { height: 8px; margin: 0 -4px; border-radius: 5px; background: var(--fill); border: 1px solid var(--outline); }
.shelf__under { margin-top: 8px; align-items: start; }
.shelf__cell { min-width: 0; padding: 0 2px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.shelf__role { max-width: 100%; font-size: 12px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nights { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px; max-width: 53px; }
.nights__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--outline); }
.nights__dot.is-lit { background: var(--tone-lilac-ink); }
.nights__dot.is-acid { background: var(--tone-coral-icon); }
.routine__steps { margin: 4px -4px 0; border-radius: 22px; background: var(--fill); padding: 0 14px; }
.routine__steps li { border-bottom: 1px solid var(--hairline); }
.routine__steps li:last-child { border-bottom: 0; }
.routine__step { min-height: 56px; padding: 8px 0; display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.routine__index { width: 26px; height: 26px; border-radius: 50%; background: var(--surface); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--muted); }
.routine__words { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.routine__brand { font-size: 12px; font-weight: 600; color: var(--muted); }
.routine__product { font-size: 15px; line-height: 19px; font-weight: 650; overflow-wrap: anywhere; }
.routine__chevron { flex-shrink: 0; fill: none; stroke: var(--faint); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.routine-none { border-radius: 26px; background: var(--surface); padding: 20px; font-size: 19px; line-height: 23px; font-weight: 700; letter-spacing: -0.02em; }

/* ── Get the app: store buttons, or the waitlist form (GrCommunityWaitlist) ── */
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store { min-height: 52px; padding: 0 18px 0 14px; border-radius: var(--capsule); background: var(--ink); color: var(--surface); display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.store__logo { fill: currentColor; }
.store__words { display: flex; flex-direction: column; line-height: 1.1; }
.store__words small { font-size: 11.5px; font-weight: 600; }
.store__words b { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }

.waitlist__form { display: flex; flex-direction: column; gap: 10px; }
.waitlist__label { font-size: 16px; font-weight: 650; }
.waitlist__row { display: flex; flex-wrap: wrap; gap: 10px; }
.waitlist__input { flex: 1 1 220px; min-width: 0; min-height: 52px; border: 1px solid var(--hairline); border-radius: var(--capsule); padding: 0 20px; font-size: 17px; color: var(--ink); background: var(--surface); }
.waitlist__input[aria-invalid='true'] { border-color: var(--critical-ink); }
.waitlist__send { flex: 0 0 auto; min-height: 52px; padding: 0 26px; border: 0; border-radius: var(--capsule); background: var(--ink); color: var(--surface); font-size: 17px; font-weight: 650; cursor: pointer; }
.waitlist__send:disabled { opacity: 0.6; cursor: default; }
.waitlist__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.waitlist__error { align-self: flex-start; min-height: 36px; padding: 6px 14px 6px 10px; border-radius: var(--capsule); background: var(--surface); color: var(--critical-ink); display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 650; box-shadow: inset 0 0 0 1px var(--hairline); }
.waitlist__error svg { flex-shrink: 0; fill: none; stroke: var(--critical-ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.waitlist__done { border-radius: 22px; background: var(--fill); padding: 16px 18px; display: flex; align-items: center; gap: 14px; }
.waitlist__tick { width: 34px; height: 34px; border-radius: 50%; background: var(--positive); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.waitlist__tick svg.tick { stroke: var(--surface); stroke-width: 3; }
.waitlist__words { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.waitlist__words b { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.waitlist__words span { font-size: 15px; line-height: 21px; color: var(--ink-soft); overflow-wrap: anywhere; }
.waitlist__change { flex-shrink: 0; min-height: 44px; padding: 0 4px; display: inline-flex; align-items: center; font-size: 15px; font-weight: 600; color: var(--muted); text-decoration: none; }
.skin-card .waitlist__input, .share-get .waitlist__input { border-color: var(--hairline); }
.skin-card .waitlist__done { background: var(--surface); }

/* ── Product and ingredient pages (Main.dc.html, IngredientFull.dc.html) ─────────────────────────────────── */
@font-face { font-family: 'Archivo'; src: url('/legal/fonts/archivo.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root {
  --page: #F4F5F7; --link: #0A4FC2; --link-hover: #0560EA; --line: #F0F1F4; --line-strong: #E6E8EC; --chip: #F2F4F7;
  --well: #F5F6F8; --night: #0B1026; --sky-soft: #BFE0FF; --night-accent: #8FBCFF; --amber-soft: #FFF1CF; --amber-ink: #8A5A00;
  --panel-shadow: 0 18px 30px -18px rgba(20, 40, 90, 0.3), 0 2px 5px -1px rgba(20, 40, 90, 0.1), 0 0 0 0.5px rgba(20, 40, 90, 0.08);
  --hair: 0 0 0 0.5px rgba(20, 40, 90, 0.12);
  --glass: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.62) 50%, rgba(255, 255, 255, 0.78));
  --glass-shadow: 0 20px 34px -16px rgba(20, 40, 90, 0.18), 0 2px 5px -1px rgba(20, 40, 90, 0.12), 0 0 0 0.5px rgba(20, 40, 90, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --side: clamp(16px, 4.6vw, 76px);
  --strip-hydrates: #5AA9F2; --strip-softens: #D9B07A; --strip-soothes: #63C08F; --strip-conditions: #A99CF0;
  --strip-evens-tone: #4FC1B4; --strip-clears-pores: #F2946F; --strip-smooths: #8E7BEF; --strip-strengthens: #C79A5B;
  --strip-shields-uv: #86C5F5; --strip-protects: #E3BC52; --strip-seals-in: #B9967A; --strip-scent: #F08DA3; --strip-base: #D5D9E0;
}
body.page-product, body.page-ingredient { background: var(--page); font-size: 17px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
.page-product a, .page-ingredient a { color: var(--link); }
.page-product a:hover, .page-ingredient a:hover { color: var(--link-hover); }
.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; }
em { font-style: normal; }

.bar { position: sticky; top: 14px; z-index: 5; display: flex; justify-content: center; padding: 14px 16px 0; }
.bar__in { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 22px); max-width: 100%; height: 56px; padding: 0 8px 0 20px; border-radius: 28px; background: var(--glass); -webkit-backdrop-filter: blur(16px) saturate(1.7); backdrop-filter: blur(16px) saturate(1.7); box-shadow: var(--glass-shadow); }
.page-product .bar__brand, .page-ingredient .bar__brand { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-size: 18px; font-weight: 680; letter-spacing: -0.035em; white-space: nowrap; }
.bar__brand .mark { width: 24px; height: 26px; }
.page-product .bar__link, .page-ingredient .bar__link { color: rgba(29, 29, 31, 0.7); text-decoration: none; font-size: 14.5px; font-weight: 560; letter-spacing: -0.01em; white-space: nowrap; }
.page-product .bar__get, .page-ingredient .bar__get { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: var(--capsule); background: var(--ink); color: var(--surface); text-decoration: none; font-size: 15px; font-weight: 620; white-space: nowrap; }
@media (max-width: 420px) { .bar__link { display: none; } .bar__in { padding-left: 14px; } }

.page { max-width: 1240px; margin: 0 auto; padding: 44px var(--side) 0; display: flex; flex-direction: column; gap: clamp(56px, 7vw, 88px); }
.page--tight { padding-top: 28px; gap: clamp(56px, 7vw, 80px); }
.panel { border-radius: 34px; background: var(--surface); box-shadow: var(--panel-shadow); padding: 28px clamp(18px, 2.4vw, 26px) 26px; }
.section { display: flex; flex-direction: column; gap: 22px; scroll-margin-top: 96px; }
.title { font-size: clamp(34px, 4.4vw, 60px); line-height: 0.96; font-weight: 660; letter-spacing: -0.047em; overflow-wrap: anywhere; }
.title em, .hero__name em, .band__title em, .goes__title em { color: var(--accent); }
.title--big { font-size: clamp(44px, 6vw, 84px); }

/* The product */
.hero { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: center; }
.hero__stage { flex: 1 1 420px; min-width: 0; position: relative; min-height: clamp(340px, 44vw, 520px); border-radius: 34px; background: var(--surface); box-shadow: var(--panel-shadow); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero__shadow { position: absolute; left: 50%; bottom: 62px; width: 300px; max-width: 80%; height: 30px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(ellipse, rgba(20, 40, 90, 0.2) 0%, rgba(20, 40, 90, 0) 70%); }
.hero__bottle { position: relative; width: min(78%, 400px); height: clamp(260px, 32vw, 400px); object-fit: contain; }
.hero__bottle.is-placeholder { height: clamp(200px, 24vw, 300px); }
.hero__about { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero__intro { display: flex; flex-direction: column; gap: 10px; }
.hero__meta { font-size: 15px; font-weight: 650; color: var(--muted); }
.hero__name { font-size: clamp(40px, 5.2vw, 68px); line-height: 0.98; font-weight: 660; letter-spacing: -0.047em; text-wrap: balance; overflow-wrap: anywhere; }
.hero__lede { margin-top: 6px; max-width: 31ch; font-size: clamp(18px, 1.7vw, 22.5px); line-height: 1.42; letter-spacing: -0.012em; color: var(--ink-soft); }
.page-product .glance { margin: 0; }
.page-product .glance__title { font-size: 13px; font-weight: 650; letter-spacing: 0; text-transform: none; color: var(--muted); }
.page-product .tags { gap: 7px; }
.page-product .tag { min-height: 36px; padding: 0 14px; gap: 6px; font-size: 14.5px; font-weight: 620; }
.page-product .tag--has { background: var(--amber-soft); color: var(--amber-ink); }
.page-product .tag--free svg.tick { stroke-width: 3.2; }
.check { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding: 16px 18px; border-radius: 22px; background: var(--glass); box-shadow: 0 60px 90px -44px rgba(20, 40, 90, 0.34), var(--glass-shadow); }
.check__comfi { width: 72px; height: 86px; object-fit: contain; }
.check__words { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.check__title { font-size: 23px; line-height: 1.2; font-weight: 560; letter-spacing: -0.01em; color: var(--accent); }
.check__text { font-size: 15.5px; line-height: 1.4; color: var(--muted); }
.page-product .check__go { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: var(--capsule); background: var(--accent); color: var(--surface); text-decoration: none; font-size: 15px; font-weight: 620; box-shadow: 0 14px 26px -14px rgba(10, 108, 255, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.28); }
.check__go svg, .all__toggle svg, .more svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* What's inside: the strip, the key ingredients, every ingredient */
.inside { display: flex; flex-direction: column; gap: 26px; }
.strip-box { display: flex; flex-direction: column; gap: 12px; }
.strip-ends { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 650; color: var(--muted); }
.strip { display: flex; gap: 3px; height: 22px; }
.strip > span { flex: 1; min-width: 0; border-radius: 4px; }
@media (max-width: 600px) { .strip { gap: 1px; } }
.strip > span:first-child { border-radius: 999px 4px 4px 999px; }
.strip > span:last-child { border-radius: 4px 999px 999px 4px; }
.strip > span:only-child { border-radius: 999px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14.5px; font-weight: 620; color: var(--ink-soft); }
.legend li { display: inline-flex; align-items: center; gap: 7px; }
.legend__swatch { width: 18px; height: 8px; border-radius: 3px; }
.strip-hydrates { background: var(--strip-hydrates); } .strip-softens { background: var(--strip-softens); }
.strip-soothes { background: var(--strip-soothes); } .strip-conditions { background: var(--strip-conditions); }
.strip-evens-tone { background: var(--strip-evens-tone); } .strip-clears-pores { background: var(--strip-clears-pores); }
.strip-smooths { background: var(--strip-smooths); } .strip-strengthens { background: var(--strip-strengthens); }
.strip-shields-uv { background: var(--strip-shields-uv); } .strip-protects { background: var(--strip-protects); }
.strip-seals-in { background: var(--strip-seals-in); } .strip-scent { background: var(--strip-scent); } .strip-base { background: var(--strip-base); }
.keys { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 10px; }
.keys__row { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 8px 14px 8px 18px; border-radius: 18px; background: var(--well); }
.keys__words { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.keys__name { font-size: 18px; line-height: 1.2; font-weight: 640; letter-spacing: -0.02em; color: var(--ink); overflow-wrap: anywhere; }
a.keys__name { color: var(--ink); text-decoration: none; }
a.keys__name:hover { text-decoration: underline; }
.keys__note { font-size: 13px; color: var(--muted); }
.keys__work { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: var(--capsule); background: var(--surface); font-size: 14.5px; font-weight: 620; white-space: nowrap; }
.ink-mint { color: var(--tone-mint-ink); } .ink-sky { color: var(--tone-sky-ink); } .ink-sand { color: var(--tone-sand-ink); }
.ink-coral { color: var(--tone-coral-ink); } .ink-lilac { color: var(--tone-lilac-ink); } .ink-blush { color: var(--tone-blush-ink); }
.page-product .all > summary { list-style: none; }
.all > summary::-webkit-details-marker { display: none; }
.all__toggle { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: var(--capsule); background: var(--chip); color: var(--ink); font-size: 15px; font-weight: 620; cursor: pointer; }
.all[open] .all__toggle svg { transform: rotate(180deg); }
.all__list { margin-top: 18px; padding: 0 4px 0 34px; list-style: decimal; }
.page-product .all__row { padding: 12px 0 12px 4px; border-bottom: 1px solid var(--line); }
.all__row:last-child { border-bottom: 0; }
.all__row::marker { font-size: 13px; font-weight: 600; color: var(--faint); }
.page-product .all__name { font-size: 16px; font-weight: 650; overflow-wrap: anywhere; color: var(--ink); }
.page-product a.all__name { text-decoration: none; }
.page-product a.all__name:hover { text-decoration: underline; }
.page-product .all__about { margin-left: 10px; font-size: 15px; color: var(--muted); }
.page-product .all__marks { margin-left: 10px; display: inline-flex; flex-wrap: wrap; gap: 6px; vertical-align: middle; }
.page-product .mark-chip { background: var(--amber-soft); color: var(--amber-ink); }

/* Where to buy (prices.js) */
.buy { display: flex; flex-direction: column; gap: 24px; scroll-margin-top: 96px; }
.buy__head, .products__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; }
.pick { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 6px 0 16px; border-radius: var(--capsule); background: var(--well); font-size: 14px; font-weight: 600; color: var(--muted); max-width: 100%; }
.pick--white { background: var(--surface); box-shadow: var(--hair); }
.pick select { height: 36px; min-width: 0; max-width: 200px; border: 0; border-radius: var(--capsule); background: var(--surface); color: var(--ink); padding: 0 12px; font: inherit; font-size: 14.5px; font-weight: 620; cursor: pointer; }
.pick--white select { background: var(--chip); }
.buy__body { display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: flex-start; }
.buy__main { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.buy__figures { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 36px; font-variant-numeric: tabular-nums; }
.figure { display: flex; flex-direction: column; gap: 4px; }
.figure__label { font-size: 13px; font-weight: 650; color: var(--muted); }
.figure__value { font-size: 52px; line-height: 0.96; font-weight: 660; letter-spacing: -0.047em; }
.figure__value--small { font-size: 28px; line-height: 1.1; letter-spacing: -0.04em; color: var(--positive-ink); }
.ranges { margin-left: auto; display: flex; gap: 7px; }
.ranges button { height: 36px; padding: 0 14px; border: 0; border-radius: var(--capsule); background: var(--chip); color: var(--ink); font: inherit; font-size: 14.5px; font-weight: 620; cursor: pointer; }
.ranges button[aria-pressed='true'] { background: var(--ink); color: var(--surface); }
.chart { display: flex; gap: 10px; padding-top: 10px; }
.chart__axis { position: relative; flex: none; width: 44px; height: 200px; font-size: 12px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.chart__axis span { position: absolute; right: 0; transform: translateY(-50%); white-space: nowrap; }
.chart__plot { position: relative; flex: 1; min-width: 0; height: 200px; touch-action: pan-y; }
.chart__plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chart__line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; }
.chart__area { fill: var(--accent); fill-opacity: 0.07; }
.chart__grid { stroke: var(--line); stroke-width: 1; }
.chart__base { stroke: var(--line-strong); stroke-width: 1; }
.chart__note { position: absolute; font-size: 12px; font-weight: 650; white-space: nowrap; pointer-events: none; }
.chart__note--low { color: var(--positive-ink); }
.chart__note--now { right: 0; color: var(--ink); }
.chart__cursor { position: absolute; top: 0; width: 1px; height: 200px; background: rgba(29, 29, 31, 0.28); pointer-events: none; }
.chart__tip { position: absolute; top: -14px; padding: 8px 12px; border-radius: 12px; background: var(--ink); color: var(--surface); white-space: nowrap; pointer-events: none; display: flex; flex-direction: column; gap: 1px; font-variant-numeric: tabular-nums; }
.chart__tip small { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, 0.7); }
.chart__tip b { font-size: 17px; font-weight: 680; letter-spacing: -0.02em; }
.chart__dates { display: flex; justify-content: space-between; padding-left: 54px; font-size: 12px; font-weight: 600; color: var(--muted); }
.buy__note { font-size: 16px; color: var(--muted); }
.buy__none { border-radius: 22px; background: var(--well); padding: 28px 24px; display: flex; flex-direction: column; gap: 6px; }
.buy__none b { font-size: 24px; line-height: 1.15; font-weight: 680; letter-spacing: -0.03em; }
.buy__none span { font-size: 16px; color: var(--muted); }
.shops { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 8px; font-variant-numeric: tabular-nums; }
.shop { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 16px; border-radius: 18px; background: var(--well); color: var(--ink); text-decoration: none; }
.page-product a.shop { color: var(--ink); }
.page-product a.shop:hover { background: var(--chip); color: var(--ink); }
.shop.is-out { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--muted); }
.shop__words { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.shop__name { font-size: 18px; line-height: 1.2; font-weight: 640; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.shop__note { font-size: 13px; color: var(--muted); }
.shop__lowest { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: var(--capsule); background: var(--positive-soft); color: var(--positive-ink); font-size: 13px; font-weight: 650; }
.shop__price { font-size: 19px; font-weight: 680; letter-spacing: -0.02em; white-space: nowrap; }

/* Where it goes */
.goes { border-radius: 34px; background: var(--night); color: var(--surface); padding: 28px clamp(18px, 2.4vw, 26px); display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; }
.goes__title { font-size: 31px; line-height: 1.05; font-weight: 680; letter-spacing: -0.04em; }
.goes__title em { color: var(--night-accent); }
.goes__steps { flex: 1 1 520px; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.goes__step { flex: 1 1 150px; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.07); color: rgba(255, 255, 255, 0.76); font-size: 17px; font-weight: 560; letter-spacing: -0.015em; }
.goes__n { font-size: 14px; font-weight: 650; color: rgba(255, 255, 255, 0.56); }
.goes__step.is-current { background: var(--accent); color: var(--surface); font-weight: 640; box-shadow: 0 14px 26px -14px rgba(10, 108, 255, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.28); }
.goes__step.is-current .goes__n { color: var(--surface); font-weight: 700; }
.goes__when { flex-basis: 100%; display: flex; flex-direction: column; gap: 6px; font-size: 16px; color: rgba(255, 255, 255, 0.82); }

.page-product .cards, .page-ingredient .cards { margin-top: 0; }
.page-product .card { border: 0; border-radius: 30px; box-shadow: var(--panel-shadow); color: var(--ink); }
.page-product .card__stage { background: var(--well); }
.updated { font-size: 13px; font-weight: 600; color: var(--muted); }

/* The ingredient */
.lead { display: flex; flex-direction: column; gap: 28px; }
.crumbs { font-size: 14.5px; font-weight: 560; color: var(--muted); overflow-wrap: anywhere; }
.page-ingredient .crumbs a { color: inherit; text-decoration: none; }
.crumbs [aria-current] { color: var(--ink); }
.ing { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: center; }
.ing__about { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.ing__art { width: 104px; height: 104px; filter: drop-shadow(0 14px 18px rgba(20, 40, 90, 0.16)); }
.ing__name { font-size: clamp(48px, 6.5vw, 96px); line-height: 0.96; font-weight: 660; letter-spacing: -0.047em; overflow-wrap: anywhere; }
/* Chinese, Japanese and Korean set every character full width: tighter Latin spacing would crowd them, and the Latin
   size would break a short name such as ナイアシンアミド mid-word on a phone. */
:is(:lang(ja), :lang(zh), :lang(ko)) :is(.ing__name, .hero__name, .title, .band__title) { letter-spacing: 0; line-height: 1.12; }
:is(:lang(ja), :lang(zh), :lang(ko)) .ing__name { font-size: clamp(32px, 9vw, 80px); }
:is(:lang(ja), :lang(zh), :lang(ko)) .hero__name { font-size: clamp(28px, 6.4vw, 60px); }
.ing__about-text { max-width: 31ch; font-size: clamp(18px, 1.7vw, 22.5px); line-height: 1.42; letter-spacing: -0.012em; color: var(--ink-soft); }
.ing__row { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 10px; }
.ing__label { font-size: 15px; font-weight: 560; color: var(--muted); margin-right: 3px; }
.printed { padding: 4px 10px; border-radius: 6px; background: #FEFEFD; box-shadow: 0 2px 5px -1px rgba(20, 40, 90, 0.12), 0 0 0 0.5px rgba(20, 40, 90, 0.1); font-family: 'Archivo', 'Arial Narrow', sans-serif; font-variation-settings: 'wdth' 70; text-transform: uppercase; font-size: 15px; line-height: 1.6; font-weight: 520; letter-spacing: 0.035em; color: #3A404B; overflow-wrap: anywhere; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip-plain { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: var(--capsule); background: var(--surface); color: var(--ink); font-size: 14.5px; font-weight: 620; box-shadow: var(--hair); }
.chip-plain--small { height: 32px; padding: 0 12px; font-size: 14px; }
.ing__facts { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.facts { border-radius: 34px; background: var(--surface); box-shadow: var(--panel-shadow); padding: 10px clamp(18px, 2.4vw, 26px); }
.facts__row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts__row:last-child { border-bottom: 0; }
.facts dt { font-size: 16px; font-weight: 560; color: var(--muted); }
.facts dd { font-size: 19px; font-weight: 680; letter-spacing: -0.02em; text-align: end; }
.facts dd.is-yes { color: var(--positive-ink); }
.facts dd.is-no { color: var(--amber-ink); }
.facts__updated { padding-left: 26px; font-size: 13px; font-weight: 600; color: var(--muted); }
.picks { display: flex; flex-wrap: wrap; gap: 10px; }
.picks__go { height: 44px; padding: 0 18px; border: 0; border-radius: var(--capsule); background: var(--ink); color: var(--surface); font: inherit; font-size: 15px; font-weight: 620; cursor: pointer; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-variant-numeric: tabular-nums; }
.page-ingredient .filter { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: var(--capsule); background: var(--surface); color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 620; box-shadow: var(--hair); white-space: nowrap; }
.page-ingredient .filter.is-on { background: var(--accent); color: var(--surface); box-shadow: none; }
.page-ingredient .filters--small .filter { height: 32px; padding: 0 12px; font-size: 14px; }
.filters__rule { width: 1px; height: 20px; background: var(--line-strong); margin: 0 4px; }
/* Products featuring an ingredient: compact rows (a small picture beside the words), three across on a wide screen and
   one per row on a phone, so a page of them reads at a glance. */
.shelf { margin-top: 6px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 12px; }
.page-ingredient .pcard { height: 100%; border-radius: 24px; background: var(--surface); box-shadow: var(--panel-shadow); overflow: hidden; color: var(--ink); text-decoration: none; display: flex; align-items: stretch; }
.pcard__stage { flex: none; width: 96px; background: var(--well); display: flex; align-items: center; justify-content: center; padding: 10px; }
.pcard__stage img { width: 76px; height: 84px; object-fit: contain; }
.pcard__stage img.is-placeholder { width: 60px; height: 66px; }
.pcard__words { flex: 1; min-width: 0; padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; }
.pcard__brand { font-size: 12.5px; font-weight: 650; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard__name { font-size: 15.5px; line-height: 1.25; font-weight: 640; letter-spacing: -0.015em; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__place { margin-top: 6px; align-self: flex-start; display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: var(--capsule); background: var(--chip); font-size: 12.5px; font-weight: 650; }
.pcard__price { margin-top: auto; padding-top: 6px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-variant-numeric: tabular-nums; }
.pcard__price:empty { display: none; }
.pcard__shop { font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.pcard__amount { font-size: 17px; font-weight: 680; letter-spacing: -0.02em; white-space: nowrap; }
.pcard__none { font-size: 13px; font-weight: 560; color: var(--muted); }
/* Published research: titles with their journal and year; the rest behind "N more studies", ten at a time. */
.studies { list-style: none; margin: 0; padding: 6px 22px; border-radius: 30px; background: var(--surface); box-shadow: var(--panel-shadow); }
.study { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.study:last-child { border-bottom: 0; }
.study__title { color: var(--ink); font-size: 16px; line-height: 1.35; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.study__title:hover { color: var(--accent); }
.study__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 13.5px; color: var(--muted); }
.study__tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--capsule); background: var(--chip); color: var(--ink); font-weight: 650; font-size: 12.5px; }
.studies__more { margin-top: 14px; }
.studies__more > summary { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: var(--capsule); background: var(--surface); box-shadow: var(--panel-shadow); font-weight: 650; cursor: pointer; list-style: none; }
.studies__more > summary::-webkit-details-marker { display: none; }
.studies__more[open] > summary { margin-bottom: 14px; }
.studies__pager { margin-top: 14px; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.studies__pager button { height: 38px; padding: 0 16px; border: 0; border-radius: var(--capsule); background: var(--surface); box-shadow: var(--panel-shadow); font: inherit; font-weight: 650; color: var(--ink); cursor: pointer; }
.studies__pager button[disabled] { opacity: 0.4; cursor: default; }
.empty { font-size: 17px; color: var(--muted); }
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pager__list { display: flex; flex-wrap: wrap; gap: 6px; }
.page-ingredient .pager__n, .page-ingredient .pager__step { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: var(--capsule); background: var(--surface); color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 620; box-shadow: var(--hair); }
.page-ingredient .pager__n.is-on { background: var(--ink); color: var(--surface); }
.pager__gap { display: inline-flex; align-items: center; height: 44px; color: var(--muted); }
.ing__row--brands { margin-top: 4px; }
.kin { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.page-ingredient .kin__card { height: 100%; border-radius: 30px; background: var(--surface); box-shadow: var(--panel-shadow); padding: 22px 22px 20px; color: var(--ink); text-decoration: none; display: flex; flex-direction: column; gap: 12px; }
.kin__name { font-size: 24px; line-height: 1.1; font-weight: 680; letter-spacing: -0.035em; overflow-wrap: anywhere; }
.kin__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.kin__chip { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: var(--capsule); background: var(--tone-mint); color: var(--tone-mint-ink); font-size: 13.5px; font-weight: 650; }
.kin__count { margin-top: auto; font-size: 14.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.page-ingredient .more { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: var(--capsule); background: var(--surface); color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 620; box-shadow: 0 2px 5px -1px rgba(20, 40, 90, 0.1), 0 0 0 0.5px rgba(20, 40, 90, 0.08); }
.qa { padding: 8px 10px; border-radius: 34px; background: var(--surface); box-shadow: var(--panel-shadow); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); column-gap: 20px; }
.qa li { border-bottom: 1px solid var(--line); }
.page-ingredient .qa__item { display: flex; flex-direction: column; gap: 4px; padding: 18px 14px; color: var(--ink); text-decoration: none; }
.qa__q { font-size: 18px; line-height: 1.25; font-weight: 640; letter-spacing: -0.02em; }
.qa__a { font-size: 15.5px; line-height: 1.4; color: var(--muted); }
.letters { display: flex; flex-wrap: wrap; gap: 6px; }
.page-ingredient .letters a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; border-radius: var(--capsule); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 650; box-shadow: var(--hair); }
.az { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 96px; }
.az__letter { font-size: 28px; font-weight: 680; letter-spacing: -0.03em; }
.az__list { columns: 3 240px; column-gap: 24px; }
.az__list li { padding: 4px 0; break-inside: avoid; }
.page-ingredient .az__list a { color: var(--ink); font-weight: 600; }
.az__count { font-size: 14px; color: var(--muted); }

/* The closing band and the footer */
.band { margin-top: 96px; border-radius: clamp(44px, 9vw, 150px) clamp(44px, 9vw, 150px) 0 0; background: var(--accent); color: var(--surface); padding: clamp(56px, 8vw, 104px) var(--side) 36px; scroll-margin-top: 0; }
.band__in { max-width: 1240px; margin: 0 auto; display: flex; flex-direction: column; gap: 48px; }
.band__offer { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.band__title { font-size: clamp(34px, 5.4vw, 80px); line-height: 0.96; font-weight: 660; letter-spacing: -0.047em; text-wrap: balance; overflow-wrap: anywhere; }
.band__title em { color: var(--sky-soft); }
.band__text { max-width: 34ch; font-size: clamp(18px, 1.7vw, 22.5px); line-height: 1.42; letter-spacing: -0.012em; color: rgba(255, 255, 255, 0.86); }
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.badge { display: inline-flex; border-radius: 9px; }
.badge img { display: block; height: 56px; width: auto; }
.band__waitlist { max-width: 520px; color: var(--ink); background: var(--surface); border-radius: 26px; padding: 18px; }
.band__free { font-size: 15.5px; color: rgba(255, 255, 255, 0.86); }
.band__foot { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.22); }
.langs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: 15px; font-weight: 600; }
.langs__label { color: rgba(255, 255, 255, 0.7); }
.band .langs a, .band .band__fine a, .band .band__links a { color: var(--surface); }
.langs__more summary { cursor: pointer; color: var(--surface); }
.langs__more[open] { display: flex; flex-wrap: wrap; gap: 6px 18px; flex-basis: 100%; }
.band__fine { font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, 0.86); }
.band__links { display: flex; flex-wrap: wrap; gap: 0 18px; font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
