:root{color-scheme:light;--paper:#faf7f1;--ink:#372c25;--muted:#6e5d51;--brown:#533b2e;--line:#ded3c5;--panel:#fffdf9;--serif:Georgia,'Times New Roman',serif;font:16px/1.55 system-ui,sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}
body{margin:0}
a{color:inherit;text-decoration:none}
button,select,input{font:inherit}
button,select{cursor:pointer}
:focus-visible{outline:2px solid #90603e;outline-offset:4px}
.shell{width:min(1170px,calc(100% - 88px));margin-inline:auto}
.top{height:79px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.brand{font:600 26px/1 var(--serif);letter-spacing:-.075em;white-space:nowrap}
.brand span{font-weight:400}
nav,.language,.hero-details,.actions{display:flex;align-items:center;gap:22px}
nav{font-size:.875rem}
.language{gap:7px;padding:5px 9px;border:1px solid var(--line);border-radius:6px}
.language select{border:0;background:transparent;color:var(--ink);max-width:115px}
.hero{display:grid;grid-template-columns:1fr 1fr;min-height:500px;padding:33px 0 44px;gap:36px}
.hero-copy{align-self:center;padding:20px clamp(0px,2vw,28px) 20px 4px}
.eyebrow{font-size:.69rem;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:var(--muted)}
.eyebrow span{display:inline-block;height:1px;width:22px;background:#8c6650;margin:0 10px 3px 0}
h1,h2,h3,h4,p{margin-top:0}
h1,h2,h3,h4,legend{font-family:var(--serif);font-weight:400}
h1{font-size:clamp(2.8rem,5.5vw,5.05rem);line-height:1.01;letter-spacing:-.06em;margin:18px 0 22px;max-width:660px}
.lede{max-width:440px;color:var(--muted);margin-bottom:25px}
.button,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:14px;border:1px solid transparent;padding:11px 17px;border-radius:5px;font-size:.88rem;font-weight:650;text-align:center;min-height:45px}
.button{background:var(--brown);color:#fffaf4}
.button:hover{background:#402b22}
.button:disabled{background:#e5dbcf;color:#6f6256;cursor:default}
.secondary{background:transparent;color:var(--brown);border-color:var(--line)}
.secondary:hover{background:#f2ebe0}
.hero-details{margin-top:18px;font-size:.76rem;color:var(--muted);gap:14px;flex-wrap:wrap}
.still{position:relative;min-height:420px;overflow:hidden;isolation:isolate;border-radius:8px;background:linear-gradient(135deg,#e9d3b7,#d5ad88 69%,#a17557);box-shadow:inset 0 0 55px #80503726}
.sunwash{position:absolute;inset:-25%;background:linear-gradient(112deg,transparent 31%,#ffedd380 32% 48%,transparent 49% 57%,#ffecce35 58% 65%,transparent 66%);transform:rotate(-18deg);filter:blur(8px)}
.platform{position:absolute;inset:74% -5% -12% 3%;transform:skewY(-9deg);border-radius:50% 14% 0 0;background:linear-gradient(164deg,#e7c19b,#ca9e78 63%,#a77555);box-shadow:0 -1px 0 #f0cfab,0 -8px 24px #a4745527}
.bottle,.jar{position:absolute;display:grid;place-items:center;text-align:center;color:#533a27;font-family:var(--serif);box-shadow:15px 14px 18px #5735194a,inset -12px -5px 23px #9a6b4160,inset 7px 0 19px #fff1c990}
.bottle{left:33%;bottom:21%;width:24%;height:47%;background:linear-gradient(100deg,#c09269,#f2d3af 21%,#e1b58c 61%,#b07b53);border-radius:29% 29% 13% 13% / 16% 16% 8% 8%;transform:rotate(-7deg)}
.bottle i,.jar i{position:absolute;bottom:99%;height:22%;width:72%;border-radius:20% 20% 8% 8%;background:linear-gradient(93deg,#967158,#e8d3b7 25%,#c4a486 76%,#9f795d);box-shadow:inset 0 2px 2px #ffffff63}
.bottle small{display:block;font:600 .48rem/2 system-ui;letter-spacing:.16em}
.jar{left:53%;bottom:16%;width:30%;height:23%;background:linear-gradient(100deg,#d5af89,#fff0d6 24%,#ebc9a4 82%,#c28f65);border-radius:12% 12% 17% 17% / 10% 10% 18% 18%;transform:rotate(5deg)}
.jar i{width:100%;height:35%;border-radius:16% 16% 7% 7%;background:linear-gradient(95deg,#b99979,#eee1cb 24%,#d6b99a 81%,#b68b68)}
.bottle span,.jar span{font-size:clamp(.6rem,1.5vw,1.15rem)}
.art-caption{position:absolute;bottom:13px;right:18px;font-size:.57rem;letter-spacing:.19em;color:#412c20}
.workflow{border-top:1px solid var(--line);padding:45px 0 62px;scroll-margin-top:18px}
.panel,.result,.editorial{max-width:820px;margin:auto}
.panel{border:1px solid var(--line);border-radius:8px;background:var(--panel);padding:clamp(19px,5vw,42px)}
.quiz-top,.product-line,.sum{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.quiz-top span,.result-meta,fieldset p,.product p,.sum p{font-size:.88rem;color:var(--muted)}
progress{display:block;width:100%;height:5px;border:0;accent-color:#8b634b;background:#eae0d5;margin:3px 0 24px}
progress::-webkit-progress-bar{background:#eae0d5}
progress::-webkit-progress-value{background:#8b634b}
fieldset{border:0;padding:0;margin:0;min-width:0}
legend,h2{font-size:clamp(1.7rem,4vw,2.65rem);line-height:1.17;letter-spacing:-.04em;margin-bottom:18px;padding:0}
.choices,.periods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.choice{display:flex;gap:10px;align-items:center;padding:12px 11px;min-height:51px;border:1px solid var(--line);border-radius:5px;cursor:pointer;font-size:.88rem}
.choice small{margin-left:auto;text-align:right;color:var(--muted)}
.choice input{accent-color:var(--brown);margin:0;flex-shrink:0}
.choice:has(:checked){border-color:#8b634b;background:#f4eade}
.choice:has(:disabled){opacity:.6;cursor:default}
.actions{margin-top:22px;gap:10px;flex-wrap:wrap}
.periods{gap:16px;margin-top:24px}
.result-period h3{font-size:1.55rem;margin-bottom:8px}
.product{border:1px solid var(--line);border-radius:6px;background:var(--panel);padding:14px;margin-bottom:8px}
.product .eyebrow{font-size:.64rem;margin-bottom:4px}
.product h4{font-size:1.2rem;margin-bottom:5px}
.product p:last-child,.sum p{margin-bottom:0}
.reason{border-top:1px solid var(--line);padding-top:8px}
.sum{background:#eee3d5;padding:14px 17px;border-radius:6px;margin:14px 0}
.sum span{font:1.6rem var(--serif);white-space:nowrap}
.editorial{padding:65px 0}
.editorial h1{font-size:clamp(2.5rem,6vw,4.5rem)}
dialog{width:min(560px,calc(100% - 28px));border:1px solid var(--line);color:var(--ink);background:var(--panel);padding:18px;border-radius:8px}
dialog::backdrop{background:#32231ca0}
.share-card{padding:22px;background:#f4ebde}
.share-card h3{margin-bottom:4px}
footer{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid var(--line);padding:22px 0;color:var(--muted);font-size:.77rem}
@media(max-width:780px){.shell{width:calc(100% - 38px)}.hero{gap:18px}.still{min-height:350px}.top{height:66px}}
@media(max-width:590px){.hero{grid-template-columns:1fr;padding:16px 0 28px}.hero-copy{padding:14px 0 5px}.still{min-height:280px}.workflow{padding-top:25px}.choices,.periods{grid-template-columns:1fr}nav{gap:8px}.brand{font-size:23px}.button,.secondary{padding-inline:11px}footer{align-items:flex-start}}
@media(max-width:350px){.shell{width:calc(100% - 24px)}.top nav>a{font-size:.72rem}.language{padding-inline:4px}.language select{max-width:93px}.brand{font-size:20px}}

/* Premium consultation */
:root {
  --paper: #f9f6ee;
  --ink: #2f2921;
  --muted: #6a5b4d;
  --brown: #403128;
  --line: #ded2c1;
  --panel: #fffcf6;
  --champagne: #e8d5b8;
  --serif: 'Baskerville', 'Iowan Old Style', Georgia, serif;
}

body {
  background: radial-gradient(ellipse at 70% 2%, #efe5d2 0, transparent 35%), var(--paper);
}

.top { height: 76px; }
.brand { letter-spacing: -.055em; font-size: 32px; }
.brand-mark { display: inline-block; font-size: .67em; margin-right: .23em; color: #775a43; }
.language { border-radius: 999px; background: #fffaf1; }
.hero { padding-block: 28px 36px; gap: clamp(20px, 4vw, 64px); align-items: stretch; }
.hero-copy { padding-block: 36px; }
h1 { font-size: clamp(3.35rem, 6vw, 6.5rem); font-weight: 400; }
.lede { font-size: clamp(1rem, 2vw, 1.12rem); text-wrap: pretty; }
.button, .secondary { border-radius: 999px; min-height: 48px; padding-inline: 20px; }
.button, .secondary, .choice { transition: background-color .2s, border-color .2s, box-shadow .2s; }
.hero-details { gap: 18px; }
.still {
  min-height: 470px;
  border-radius: 48% 48% 12px 12px / 30% 30% 12px 12px;
  background:
    radial-gradient(ellipse at 21% 16%, #fff5e3 0, transparent 54%),
    radial-gradient(ellipse at 82% 53%, #987459 0, transparent 76%),
    linear-gradient(146deg, #ead3b2, #b29173);
}
.still::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid #fff5dd60;
  border-radius: inherit;
  pointer-events: none;
}
.sunwash { transform: rotate(-22deg); opacity: .85; }
.platform { inset: 73% -5% -12% -4%; background: linear-gradient(155deg, #e9cfaf, #a67e5e); }
.bottle { left: 33%; bottom: 22%; height: 47%; }
.jar { left: 54%; bottom: 17%; }
.workflow { padding-block: 52px 72px; }
.consultation { display: grid; grid-template-columns: minmax(170px, .62fr) minmax(0, 2fr); gap: clamp(20px, 5vw, 80px); }
.consultation > aside { align-self: start; padding-top: 10px; }
.consultation > aside h2 { margin-block: 10px 12px; font-size: clamp(1.85rem, 4vw, 2.65rem); }
.consultation > aside p:last-child { color: var(--muted); max-width: 40ch; }
.panel, .result { max-width: none; }
.panel { border-radius: 18px; box-shadow: 0 14px 42px #69472c0a; }
.choice { min-height: 58px; border-radius: 10px; padding-inline: 14px; }
.choice:focus-within { border-color: #8b634b; }
.choice:hover { background: #f8f0e3; }
.result-period h3 { font-size: 1.85rem; }
.product { border-radius: 12px; padding: 17px; }
.product h4 { font-size: 1.45rem; }
.sum { border-radius: 12px; background: #eddfc8; }
.dialog-panel, dialog { border-radius: 16px; }
footer { line-height: 1.4; }
@media(max-width:780px) {
  .top { height: 66px; }
  .hero { gap: 20px; }
  .still { min-height: 360px; }
  .consultation { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .consultation > aside { padding: 0; }
}
@media(max-width:590px) {
  .hero { padding-block: 22px 29px; }
  .hero-copy { padding: 6px 0 0; }
  h1 { font-size: clamp(3rem, 11.6vw, 4.2rem); }
  .still { min-height: 270px; }
  .workflow { padding-block: 26px 44px; }
  .brand { font-size: 27px; }
  .button, .secondary { padding-inline: 15px; }
}
@media(max-width:350px) {
  .brand { font-size: 23px; }
}
@media(prefers-reduced-motion:reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
[hidden] { display: none !important; }
.choice-icon { display: grid; place-items: center; flex: 0 0 28px; height: 28px; border-radius: 50%; background: #efe3d1; color: #6b4c35; }
.hero-copy { animation: settle .4s ease-out both; }
@keyframes settle { from { opacity: .65; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.community-page { max-width: 920px; }
.community-page > .lede { max-width: 58ch; }
.community-home { margin: 12px 0 64px; padding-top: clamp(22px, 4vw, 42px); border-top: 1px solid var(--line); }
.community-home-heading { max-width: 72ch; }
.community-home-heading h2 { margin: 6px 0 10px; font-size: clamp(1.85rem, 4.6vw, 3rem); }
.community-home-heading > p:last-child { max-width: 64ch; color: var(--muted); line-height: 1.65; }
.community-home .community-feed, .community-home .community-submit { margin-top: 16px; }
.community-home-form { margin-bottom: 0; }
.community-home-form fieldset { border: 0; margin: 0; padding: 0; }
.community-home-form textarea:disabled { opacity: 1; color: var(--muted); background: #f4eee4; }
.result-community { margin: 30px 0 20px; }
.result-community > h2 { font-size: clamp(1.65rem, 4vw, 2.35rem); margin-bottom: 8px; }
.result-community-intro { max-width: 65ch; color: var(--muted); }
.result-community .community-review-list { margin-top: 12px; }
.community-review-preview { grid-column: 1 / -1; max-width: 650px; }
.community-preview-badge { display: inline-flex; max-width: 100%; padding: 5px 10px; border-radius: 999px; background: #eee3d0; color: #584333; font-size: .74rem; line-height: 1.4; }
.community-preview-stars { margin: 14px 0 8px; color: #ae9875; letter-spacing: .12em; font: 1.55rem/1.2 Georgia, serif; }
.community-preview-author, .community-preview-date, .community-preview-comment { color: var(--muted); overflow-wrap: anywhere; }
.community-preview-author { margin-bottom: 4px; font-size: .82rem; }
.community-preview-date { margin-bottom: 10px; font-size: .76rem; }
.community-preview-comment { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: 1.02rem; }
.community-results-link { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; margin-top: 14px; }
.community-feed, .community-submit, .community-policy {
  margin-top: 26px;
  padding: clamp(18px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, #fffdf8, #f3eadb);
  box-shadow: 0 14px 36px #4b38210d;
}
.community-feed > h2, .community-submit > h2, .community-policy > h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.community-average { display: inline-flex; margin: 0 0 17px; padding: 8px 13px; border-radius: 999px; background: #403128; color: #fffaf2; font-variant-numeric: tabular-nums; }
.community-review-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.community-empty, .community-review { min-width: 0; padding: clamp(15px, 3vw, 22px); border: 1px solid #d7c6ad; border-radius: 15px; background: #fffdf9; }
.community-empty { grid-column: 1 / -1; background: linear-gradient(130deg, #f3e8d6, #fffdf8 67%); }
.community-empty h3 { font-size: clamp(1.35rem, 3vw, 1.75rem); margin-bottom: 8px; }
.community-empty p { max-width: 68ch; color: var(--muted); margin: 0; }
.community-review-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .76rem; color: var(--muted); }
.community-review-author { color: #554438; font-weight: 650; }
.community-review-language { margin-left: auto; }
.community-review-stars { margin: 5px 0 10px; color: #76572c; letter-spacing: .1em; font: 1.2rem/1.2 system-ui, sans-serif; }
.community-review-comment { white-space: pre-wrap; overflow-wrap: anywhere; margin-bottom: 0; }
.community-official-reply { margin: 16px 0 0; padding: 11px 13px; border-left: 2px solid #b18a55; background: #f6efe3; color: #4e4034; font-size: .9rem; overflow-wrap: anywhere; }
.community-status:empty { display: none; }
.community-status { margin: 12px 0 0; color: #5f392e; }
.community-submit > p, .community-policy p { max-width: 75ch; color: var(--muted); }
.community-submit fieldset { padding: 0; }
.community-submit legend { font-size: 1.4rem; margin-bottom: 12px; }
.community-star-options { display: flex; flex-wrap: nowrap; gap: clamp(5px, 1vw, 12px); width: max-content; max-width: 100%; margin: 4px 0 8px; }
.community-rating-star { position: relative; display: grid; place-items: center; flex: 0 1 54px; width: 54px; min-width: 42px; min-height: 48px; border: 1px solid #d5c4a9; border-radius: 13px; background: #fffdf9; color: #8b6a37; cursor: pointer; }
.community-rating-star input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); border: 0; }
.community-rating-glyph { color: #927447; font: 1.75rem/1 Georgia, serif; transition: color .18s ease, transform .18s ease; }
.community-rating-star.is-selected .community-rating-glyph { color: #b18a3b; text-shadow: 0 1px 0 #f1dfae; transform: translateY(-1px); }
.community-rating-star:focus-within { outline: 3px solid #76572c; outline-offset: 3px; }
.community-rating-star:hover .community-rating-glyph { color: #a47a31; }
.community-rating-prompts { max-width: 65ch; margin: 5px 0 16px; color: var(--muted); font-size: .9rem; }
.community-submit label[for$="-comment"], .community-submit label[for$="-nickname"] { display: block; margin: 10px 0 6px; font-weight: 600; }
.community-submit textarea { display: block; width: 100%; min-height: 130px; padding: 12px; border: 1px solid #a9947c; border-radius: 11px; background: #fffdf9; color: var(--ink); resize: vertical; }
.community-submit input[name="displayName"] { display: block; width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #a9947c; border-radius: 11px; background: #fffdf9; color: var(--ink); }
.community-submit input:focus-visible, .community-submit textarea:focus-visible { outline: 3px solid #876744; outline-offset: 3px; }
.community-submit .community-consent { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0; color: var(--muted); line-height: 1.5; }
.community-submit .community-consent input { flex: 0 0 auto; width: 20px; height: 20px; margin: 2px 0 0; accent-color: #76572c; }
.community-privacy-notice { font-size: .88rem; }
.community-field-error { color: #8b2f27 !important; font-weight: 600; }
.community-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.community-submit button[hidden] { display: none; }
.community-submit textarea:focus-visible { outline: 3px solid #876744; outline-offset: 3px; }
.community-field-error { margin: 7px 0 12px; color: #8b2f24; font-weight: 600; }
.community-field-error[hidden] { display: none; }
.community-submit fieldset:disabled { opacity: .78; }
.community-disabled { margin: 14px 0 0; padding: 11px 14px; border-radius: 10px; background: #eee4d4; color: #4d3d31; font-size: .9rem; }
.community-policy { background: #f2eadc; box-shadow: none; }
.community-policy p { margin-bottom: 0; }
.community-footer-link { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 650px) {
  .community-review-list { grid-template-columns: minmax(0, 1fr); }
  .community-feed, .community-submit, .community-policy { margin-top: 18px; border-radius: 16px; }
  .community-star-options { gap: 6px; width: 100%; }
  .community-rating-star { flex: 1 1 0; min-width: 0; min-height: 46px; }
}

.hero-promise {
  max-width: 34ch;
  margin-bottom: 11px;
  color: var(--ink);
  font-size: clamp(1.1rem, 1.8vw, 1.32rem);
  font-weight: 500;
  line-height: 1.45;
}
.hero-closing { max-width: 34ch; margin: 0 0 20px; color: var(--wine); font-size: .94rem; font-weight: 650; line-height: 1.5; }
.hero .hero-cta {
  min-height: 58px;
  padding-inline: 24px;
  border: 1px solid #30241e;
  background: #403128;
  color: #fffaf2;
  box-shadow: 0 8px 22px #4031281c;
  line-height: 1.35;
}
.hero .hero-cta:hover { background: #30241e; box-shadow: 0 10px 25px #4031282b; }
.hero-cta:focus-visible { outline: 3px solid #8b634b; outline-offset: 4px; }
@media(max-width:590px) {
  .hero-promise { max-width: 32ch; font-size: 1.13rem; margin-bottom: 9px; }
  .hero-closing { margin-bottom: 17px; font-size: .9rem; }
  .hero .hero-cta { width: 100%; justify-content: space-between; padding-inline: 19px; }
}

.score {
  display: grid;
  grid-template-columns: minmax(150px, .78fr) minmax(0, 1.22fr);
  padding: clamp(17px, 3vw, 28px);
  gap: 18px;
  background: linear-gradient(132deg, #382c24, #584031);
  color: #fff7e9;
  border-radius: 16px;
}
.score .eyebrow, .score p { color: #f2debc; }
.score-summary h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.1; margin-bottom: 10px; }
.score p { margin-bottom: 0; font-size: .8rem; }
.score p + p { margin-top: 8px; }
.score ul { margin: 0 0 10px; padding: 0; list-style: none; }
.score li { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; border-bottom: 1px solid #f2debc46; padding: 6px 0; font-size: .8rem; }
.score li strong { color: #f4dbaf; text-align: right; }
.score li .fitMet { color: #f8eddb; }
.product { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; }
.product-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 54px;
  border-radius: 23px 23px 9px 9px;
  background: linear-gradient(140deg, #f8eddb, #dfc8a8);
  font-size: 18px;
  color: #694d35;
  box-shadow: inset 0 0 0 1px #8f6d5330;
}
.product-cream .product-icon { border-radius: 12px; height: 41px; margin-top: 13px; }
.product-line > strong { white-space: nowrap; font-size: .9rem; }
.compare { margin: 18px 0; padding: 14px 17px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.compare summary { cursor: pointer; font-weight: 650; color: var(--brown); }
.compare > p { margin: 12px 0 0; color: var(--muted); }
.comparison-row { border-top: 1px solid var(--line); margin-top: 12px; padding-block: 12px 3px; }
.comparison-row > p { font-size: .85rem; color: var(--muted); }
.comparison-row > .eyebrow { font-size: .67rem; }
.comparison-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.comparison-products p { display: grid; padding: 9px; border-radius: 8px; background: #f5ebdb; font-size: .86rem; }
.comparison-products small { color: var(--muted); }
.comparison-action { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .86rem; }
.price-delta { color: var(--muted); white-space: nowrap; }
dialog { max-height: 88vh; }
.share-card { border: 1px solid #d7c3a5; border-radius: 11px; }
.share-card > p { color: var(--muted); font-size: .85rem; }
.passport-periods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.passport-periods h3 { font-size: 1.35rem; }
.passport-periods ul { padding-left: 1.15em; font-size: .86rem; }
.passport-total { border-top: 1px solid var(--line); padding-top: 10px; margin-bottom: 0; }
.passport-status:empty { display: none; }
.passport-status { margin: 10px 0 0; color: var(--muted); }
@media(max-width:590px) {
  .score { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .product-line { gap: 7px; }
}

.shop-product { min-height: 44px; margin-top: 9px; }
.shop-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin: 12px 0 16px; }
.shop-cta small, .shop-heading p, .shop-line small { color: var(--muted); }
#shopping-dialog { width: min(640px, calc(100% - 28px)); padding: clamp(15px, 4vw, 25px); }
.shop-heading { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.shop-heading h2 { margin-bottom: 7px; }
.shop-heading p { font-size: .86rem; margin-bottom: 6px; }
.shop-group { margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; padding: 13px; }
.shop-group h3 { font-size: 1.36rem; margin-bottom: 6px; }
.shop-group ul { list-style: none; padding: 0; margin: 0; }
.shop-group li { border-top: 1px solid var(--line); padding: 9px 0; }
.shop-line, .shop-totals div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: .9rem; }
.shop-line small { display: block; }
.shop-line > strong, .shop-totals dd { white-space: nowrap; }
.shop-swap { min-height: 44px; margin: 6px 4px 0 0; padding: 6px 11px; font-size: .79rem; }
.shop-delivery { color: var(--muted); border-top: 1px solid var(--line); padding-top: 7px; margin-bottom: 0; }
.shop-totals { background: #eddfc8; margin: 14px 0 0; padding: 11px 13px; border-radius: 10px; }
.shop-totals div:last-child { border-top: 1px solid #b99e82; margin-top: 6px; padding-top: 6px; font-weight: 700; }
.shop-totals dd { margin: 0; }
@media (max-width: 590px) {
  .shop-cta .button { width: 100%; }
}

.skip-link {
  position: fixed;
  z-index: 2;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--brown);
  color: #fffaf4;
  transform: translateY(calc(-100% - 20px));
}
.skip-link:focus { transform: none; }
.hero-copy, .consultation > *, .result-period, .product-line h4 { min-width: 0; }
.hero h1, .product-line h4, .choice span { overflow-wrap: anywhere; }
.product-line { flex-wrap: wrap; }

.catalog-intro { max-width: 800px; padding: clamp(25px, 6vw, 76px) 0 13px; }
.catalog-intro h1 { font-size: clamp(2.65rem, 6.5vw, 5.75rem); overflow-wrap: anywhere; }
.catalog-intro .lede { max-width: 58ch; }
.catalog-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px 16px;
  align-items: end;
  margin: 24px 0 18px;
  padding: clamp(15px, 3vw, 26px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.catalog-search-field { grid-column: span 2; }
.catalog-filters label { display: block; color: var(--brown); font-size: .84rem; font-weight: 650; margin-bottom: 6px; }
.catalog-filters select, .catalog-filters input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid #a28b72;
  border-radius: 9px;
  padding: 9px 11px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}
.catalog-filters .button { justify-self: start; min-height: 48px; padding-inline: 22px; }
.catalog-filters :focus-visible { outline: 3px solid var(--wine); outline-offset: 3px; }
.catalog-count { color: var(--muted); margin: 18px 0 14px; font-size: .9rem; }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: clamp(17px, 2vw, 24px); padding-bottom: 52px; }
.catalog-product { display: flex; min-width: 0; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; scroll-margin-top: 16px; }
.catalog-product:target { outline: 2px solid #8b634b; outline-offset: 2px; }
.catalog-product img { display: block; width: 100%; aspect-ratio: 560 / 390; object-fit: contain; background: #f6efe6; }
.catalog-card-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; align-items: flex-start; padding: clamp(17px, 2vw, 22px); }
.catalog-card-copy > .eyebrow { margin: 0 0 9px; color: var(--wine); font-size: .74rem; letter-spacing: .08em; }
.catalog-card-copy h2 { flex: 1; margin: 0; color: #56383e; font-size: clamp(1.18rem, 1.7vw, 1.42rem); line-height: 1.24; overflow-wrap: anywhere; }
.catalog-card-copy .product-line { width: 100%; align-items: flex-start; justify-content: space-between; gap: 9px 14px; margin-bottom: 8px; }
.catalog-card-copy .product-line strong { flex: 0 0 auto; color: var(--wine); font-size: 1.08rem; font-variant-numeric: tabular-nums; }
.catalog-card-copy > p:not(.eyebrow) { max-width: 58ch; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.catalog-card-copy .catalog-specs { margin: 4px 0; font-size: .78rem !important; line-height: 1.45; }
.catalog-card-copy .catalog-specs strong { color: var(--brown); }
.catalog-demo { display: inline-block; margin-top: 7px; background: #f3e7d8; color: #49372d; padding: 5px 10px; border: 1px solid #e7d5bf; border-radius: 999px; font-size: .75rem; font-weight: 650; }
.offer-comparison { width: 100%; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.offer-comparison > summary { list-style: none; }
.offer-comparison > summary::-webkit-details-marker { display: none; }
.offer-comparison .offer-compare-trigger { cursor: pointer; color: var(--wine); background: #fbf4f4; border: 1px solid #d4b7c0; border-radius: 999px; font: inherit; font-size: .88rem; font-weight: 650; min-height: 48px; width: 100%; padding: 10px 15px; display: flex; align-items: center; gap: 7px; text-align: left; transition: background-color .18s, border-color .18s, box-shadow .18s; }
.offer-comparison .offer-compare-trigger:hover { background: #eee2d1; border-color: #ad9074; }
.offer-comparison .offer-compare-trigger:focus-visible { outline: 3px solid #78583f; outline-offset: 3px; }
.offer-comparison .offer-count { color: var(--muted); font-size: .76rem; font-weight: 500; }
.offer-comparison .offer-chevron { margin-left: auto; font-size: 1.2rem; line-height: 1; transition: transform .18s; }
.offer-comparison[open] .offer-chevron { transform: rotate(180deg); }
.offer-comparison[open] .offer-list { margin-top: 8px; }
.offer-demo-notice { margin: 2px 0 8px; color: var(--muted); font-size: .76rem; line-height: 1.45; }
.offer-list { list-style: none; margin: 0; padding: 0; }
.offer-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 7px 12px; padding: 11px 0; border-top: 1px solid #e9dfd1; font-size: .82rem; }
.offer-merchant { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; min-width: 0; }
.offer-merchant strong { overflow-wrap: anywhere; }
.offer-status, .offer-demo-label { color: var(--muted); font-size: .72rem; }
.offer-facts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 3px 12px; color: var(--muted); }
.offer-ad-disclosure { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .72rem; }
.offer-buy { grid-column: 2; grid-row: 1; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; white-space: nowrap; }
.offer-demo-label { grid-column: 2; grid-row: 1; padding: 4px 9px; border-radius: 999px; background: #f1e6d5; color: #584333; white-space: nowrap; }
.offer-row.is-demo .offer-status { background: #f1e6d5; color: #584333; padding: 2px 7px; border-radius: 999px; }
.catalog-detail { display: inline-block; margin: 8px 0 0 4px; font-size: .8rem; text-decoration: underline; text-underline-offset: .16em; }
.catalog-empty { color: var(--muted); grid-column: 1 / -1; }
@media (max-width: 840px) {
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-search-field { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .catalog-grid, .catalog-filters { grid-template-columns: minmax(0, 1fr); }
  .catalog-search-field { grid-column: 1; }
  .catalog-filters .button { width: 100%; }
}
@media (max-width: 540px) {
  .catalog-grid, .catalog-filters { grid-template-columns: minmax(0, 1fr); }
  .catalog-search-field { grid-column: 1; }
  .catalog-filters .button { width: 100%; }
  .catalog-card-copy { padding: 18px; }
  .catalog-card-copy .product-line { align-items: flex-start; }
  .top { height: auto; padding-block: 12px; flex-wrap: wrap; gap: 9px; }
  .top nav { flex: 0 0 100%; flex-wrap: wrap; gap: 4px 14px; }
  .top nav > a { display: inline-flex; align-items: center; min-height: 44px; }
}

.pilot-editorial section { border-top: 1px solid var(--line); padding-top: 17px; margin-top: 22px; }
.pilot-editorial section h2 { font-size: clamp(1.4rem, 4vw, 2.05rem); margin-bottom: 9px; }
.pilot-editorial section p { max-width: 66ch; color: var(--muted); }
.pilot-note { background: #efe3cf; border-radius: 10px; padding: 11px 14px; color: var(--brown); }
.pilot-footer-link, .pilot-guides a { text-decoration: underline; text-underline-offset: .2em; }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.legal-links a { text-decoration: underline; text-underline-offset: .2em; }
.pilot-guides li { margin-bottom: 7px; }
@media (max-width: 540px) {
  footer.shell { flex-wrap: wrap; gap: 10px 16px; }
  footer.shell > span, footer.shell > .legal-links { flex-basis: 100%; }
}

.uncovered-goals { margin-top: 12px; }
.uncovered-goals li { flex-wrap: wrap; gap: 3px 8px; }
.uncovered-goals li span + span { color: #e9cda8; }

.catalog-specs { font-size: .78rem !important; }
.offer-comparison-summary { display: grid; gap: 5px; margin: 10px 0 0; padding: 12px; border-radius: 10px; background: #f6efe4; color: var(--brown); font-size: .84rem; }
.offer-comparison-summary p { margin: 0; }
.offer-comparison-summary .offer-best { font-weight: 700; }
.offer-comparison-summary .offer-savings { color: #69552f; }
.deals-intro { margin: clamp(24px, 6vw, 62px) 0 28px; padding: clamp(20px, 5vw, 42px); border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(130deg, #fbf8f1, #efe3d1); }
.deals-intro h1 { margin: 4px 0 10px; font-size: clamp(2rem, 7vw, 3.7rem); }
.deals-intro .lede { max-width: 58ch; }
.deals-section { margin: 28px 0 44px; }
.deals-section > h2 { font-size: clamp(1.35rem, 4vw, 2rem); }
.deals-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 16px; }
.deal-card, .deals-empty { padding: clamp(16px, 3vw, 24px); border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.deal-card h3, .deals-empty h3 { font-family: var(--display, Georgia, serif); }
.deal-saving { color: #66512f; font-weight: 700; font-size: 1.15rem; }
.voucher-code { display: inline-block; padding: 7px 11px; border: 1px dashed #a58c6c; border-radius: 7px; background: #f6efe4; }
.deals-empty { color: var(--muted); }

/* Smart Dupe: self-contained styles so the approved homepage hero stays unchanged. */
.smart-dupe { margin: 24px 0 62px; padding: clamp(20px, 4.2vw, 40px); border: 1px solid #e2d1d4; border-radius: 18px; background: linear-gradient(145deg, #fffdfb, #f7efec 62%, #f4eee5); }
.smart-dupe-intro { max-width: 760px; margin: 0 auto 22px; text-align: center; }
.smart-dupe-intro h2 { margin: 6px 0 12px; color: #603c43; font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
.smart-dupe-intro .lede { max-width: 62ch; margin: 0 auto; }
.smart-dupe-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 16px; align-items: end; padding: clamp(16px, 3vw, 25px); border: 1px solid #e2d3cc; border-radius: 14px; background: #fffdfa; }
.smart-dupe-field { min-width: 0; }
.smart-dupe-field label { display: block; margin: 0 0 5px; color: var(--brown); font-size: .82rem; font-weight: 650; }
.smart-dupe-field select, .smart-dupe-field input { width: 100%; min-width: 0; min-height: 46px; padding: 8px 10px; border: 1px solid #b9a69a; border-radius: 7px; background: #fffdfa; color: var(--ink); }
.smart-dupe-search { grid-column: span 2; }
.smart-dupe-filters .button { min-height: 48px; justify-self: start; padding-inline: 20px; }
.smart-dupe-filters :focus-visible { outline: 3px solid var(--wine); outline-offset: 3px; }
.smart-dupe-count { margin: 14px 0 8px; color: var(--muted); font-size: .84rem; }
.smart-dupe-results { min-width: 0; }
.smart-dupe-reference-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: center; margin-bottom: 18px; padding: clamp(17px, 2.5vw, 24px); border: 1px solid #d9c4c5; border-radius: 14px; background: linear-gradient(120deg, #fbf3f1, #f8f1e9); }
.smart-dupe-reference-card h3 { margin: 0 0 5px; color: #56383e; font-size: clamp(1.1rem, 2vw, 1.35rem); overflow-wrap: anywhere; }
.smart-dupe-reference-card p { margin: 3px 0; color: var(--muted); font-size: .8rem; overflow-wrap: anywhere; }
.smart-dupe-reference-price { min-width: 0; padding-left: 14px; border-left: 1px solid #ddcfc8; }
.smart-dupe-reference-price p strong { color: var(--brown); }
.smart-dupe-notices { display: grid; gap: 7px; margin-bottom: 16px; }
.smart-dupe-notices p { margin: 0; padding: 10px 13px; border-left: 3px solid #a7837c; border-radius: 4px; background: #f4e9e5; color: #604b48; font-size: .82rem; }
.smart-dupe-notices .smart-dupe-affiliate-note { border-left-color: #b7a17f; background: #f8f2e8; }
.smart-dupe-results-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: clamp(15px, 2vw, 22px); }
.smart-dupe-card { min-width: 0; padding: clamp(18px, 2.8vw, 26px); border: 1px solid #e6d9d5; border-radius: 15px; background: var(--panel); }
.smart-dupe-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 11px; border-bottom: 1px solid #ebe2d9; }
.smart-dupe-card-heading .eyebrow { margin: 0 0 4px; }
.smart-dupe-card h4 { margin: 0; color: #56383e; font-size: clamp(1.2rem, 2vw, 1.5rem); overflow-wrap: anywhere; }
.smart-dupe-variant { margin: 3px 0 0; color: var(--muted); font-size: .81rem; }
.smart-dupe-status { flex: 0 0 auto; max-width: 10rem; padding: 4px 8px; border-radius: 999px; background: #f2e6e1; color: #67464a; font-size: .68rem; line-height: 1.35; text-align: center; }
.smart-dupe-card > p { margin: 13px 0; color: var(--muted); font-size: .88rem; line-height: 1.55; }
.smart-dupe-card > .smart-dupe-why { padding: 12px 14px; border-left: 3px solid #a56f7e; border-radius: 5px; background: #f8efef; color: #50383f; }
.smart-dupe-card > p strong, .smart-dupe-price strong { color: var(--brown); }
.smart-dupe-technical { margin: 14px 0 0; border: 1px solid #e8ddd6; border-radius: 10px; background: #fffdfa; }
.smart-dupe-technical > summary { min-height: 48px; display: list-item; padding: 13px 14px; color: #603c43; font-size: .88rem; font-weight: 650; cursor: pointer; }
.smart-dupe-technical > summary::marker { color: #8b626b; }
.smart-dupe-technical > summary:focus-visible, .smart-dupe-inci > summary:focus-visible { outline: 3px solid var(--wine); outline-offset: 2px; border-radius: 4px; }
.smart-dupe-technical-content { padding: 2px 14px 13px; border-top: 1px solid #eee5dc; }
.smart-dupe-technical-content > p { margin: 11px 0; color: var(--muted); font-size: .84rem; line-height: 1.55; overflow-wrap: anywhere; }
.smart-dupe-technical-content > p strong { color: var(--brown); }
.smart-dupe-reference-card .smart-dupe-technical { margin-top: 10px; }
.smart-dupe-reference-card .smart-dupe-technical-content > p { font-size: .8rem; }
.smart-dupe-shared { padding: 10px 12px; border-radius: 8px; background: #f7f1e9; overflow-wrap: anywhere; }
.smart-dupe-inci { margin: 8px 0 12px; }
.smart-dupe-inci summary { min-height: 48px; display: list-item; padding: 13px 8px; color: #64474c; font-size: .84rem; font-weight: 650; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.smart-dupe-inci-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-top: 6px; }
.smart-dupe-inci-columns section { min-width: 0; }
.smart-dupe-inci h5 { margin: 0 0 5px; font-size: .78rem; }
.smart-dupe-inci-columns p { margin: 0; color: var(--muted); font-size: .74rem; overflow-wrap: anywhere; }
.smart-dupe-unknown { color: var(--muted); font-size: .82rem; }
.smart-dupe-price { margin-top: 14px; padding: 14px 15px; border: 1px solid #eadfce; border-radius: 11px; background: #f8f2e9; }
.smart-dupe-price p { margin: 3px 0; color: var(--muted); font-size: .81rem; overflow-wrap: anywhere; }
.smart-dupe-price p:first-child { margin-bottom: 7px; color: var(--ink); font-size: .98rem; }
.smart-dupe-price p:first-child strong { color: var(--wine); }
.smart-dupe-price .smart-dupe-unit-difference { color: #59433e; font-weight: 650; }
.smart-dupe-price-source { font-size: .74rem !important; }
.smart-dupe-source { display: inline-flex; min-height: 44px; align-items: center; gap: 5px; margin-top: 8px; color: #603c43; font-size: .82rem; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.smart-dupe-source:focus-visible { outline: 3px solid #78583f; outline-offset: 3px; }
.smart-dupe-results :focus-visible { outline: 3px solid var(--wine); outline-offset: 3px; }
.smart-dupe-compare-context { padding-top: 8px; border-top: 1px solid #eee5dc; font-size: .76rem !important; }
.smart-dupe-empty { padding: 18px; border: 1px dashed #b9a69a; border-radius: 10px; color: var(--muted); text-align: center; }
@media (max-width: 760px) {
  .smart-dupe-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .smart-dupe-search { grid-column: 1 / -1; }
  .smart-dupe-results-grid { grid-template-columns: minmax(0, 1fr); }
  .smart-dupe-reference-card { grid-template-columns: minmax(0, 1fr); }
  .smart-dupe-reference-price { padding: 12px 0 0; border-left: 0; border-top: 1px solid #ddcfc8; }
}
@media (max-width: 480px) {
  .smart-dupe { margin-inline: -6px; padding: 15px; border-radius: 12px; }
  .smart-dupe-filters { grid-template-columns: minmax(0, 1fr); }
  .smart-dupe-search { grid-column: 1; }
  .smart-dupe-filters .button { width: 100%; }
  .smart-dupe-card-heading { flex-direction: column; gap: 7px; }
  .smart-dupe-status { max-width: 100%; }
  .smart-dupe-inci-columns { grid-template-columns: minmax(0, 1fr); }
  .smart-dupe-reference-card { grid-template-columns: minmax(0, 1fr); }
  .smart-dupe-reference-price { padding: 10px 0 0; border-left: 0; border-top: 1px solid #ddcfc8; }
}

/* Optional Skin Scan: camera stays local and the photo preview is never sent. */
.skin-scan { min-width: 0; margin: 30px 0 40px; padding: clamp(20px, 4vw, 38px); border: 1px solid #e5d4d5; border-radius: 18px; background: linear-gradient(145deg, #fffdfa, #f7efec 56%, #f5eee5); }
.skin-scan [hidden] { display: none !important; }
.skin-scan-heading { max-width: 760px; margin: 0 auto 24px; text-align: center; }
.skin-scan-heading h2 { margin: 6px 0 10px; color: #603c43; font: clamp(1.8rem, 4vw, 2.65rem) var(--serif); }
.skin-scan-heading .lede { margin: 0 auto; max-width: 62ch; }
.skin-scan-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(300px, 1.1fr); gap: clamp(20px, 4vw, 42px); align-items: center; min-width: 0; }
.skin-scan-copy, .skin-scan-camera { min-width: 0; }
.skin-scan-copy h3 { margin: 0 0 8px; color: #56383e; font: 1.3rem var(--serif); }
.skin-scan-copy > p { color: var(--muted); line-height: 1.65; overflow-wrap: anywhere; }
.skin-scan-limits { margin-top: 18px; padding: 13px 15px; border-left: 3px solid #a56f7e; border-radius: 4px; background: #f8efef; color: #50383f !important; }
.skin-scan-frame { position: relative; display: grid; place-items: center; width: 100%; min-height: 260px; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid #e2d4cf; border-radius: 13px; background: #f3e9e5; }
.skin-scan-frame video, .skin-scan-frame canvas { display: block; width: 100%; height: 100%; max-height: 480px; object-fit: contain; }
.skin-scan-placeholder { max-width: 32ch; margin: 0; padding: 22px; color: #684d50; font: 1rem/1.6 var(--serif); text-align: center; }
.skin-scan-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.skin-scan-actions button { min-height: 48px; }
.skin-scan-status { min-height: 1.5em; margin: 12px 0 0; color: #59433e; font-size: .88rem; line-height: 1.55; }
.skin-scan-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; }
.skin-scan-links a { display: inline-flex; min-height: 44px; align-items: center; color: #603c43; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.skin-scan :focus-visible { outline: 3px solid var(--wine); outline-offset: 3px; }
.pwa-install { min-height: 42px; padding: 8px 13px; border: 1px solid #b8968f; border-radius: 999px; background: #fffaf7; color: #742f4b; font: 600 .82rem/1.25 system-ui,sans-serif; }
.pwa-install[hidden] { display: none !important; }
.pwa-install:focus-visible, .pwa-dialog :focus-visible { outline: 3px solid #742f4b; outline-offset: 3px; }
.pwa-dialog { width: min(460px, calc(100vw - 32px)); padding: 0; border: 1px solid #d7c4bc; border-radius: 18px; background: #fffdf9; color: var(--ink); box-shadow: 0 20px 70px rgb(55 44 37 / 20%); }
.pwa-dialog::backdrop { background: rgb(45 31 35 / 42%); }
.pwa-dialog-content { padding: clamp(22px, 5vw, 32px); }
.pwa-dialog h2 { margin: 0 0 12px; color: #603c43; font: clamp(1.4rem, 4vw, 1.8rem)/1.2 var(--serif); }
.pwa-dialog p { color: var(--muted); line-height: 1.65; }
.offline-page { min-height: 70vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 48px; }
.offline-page h1 { max-width: 18ch; color: #603c43; font: clamp(2.2rem, 6vw, 4rem)/1.06 var(--serif); }
.offline-page .lede { max-width: 64ch; color: var(--muted); }
.quiz-complete { margin: 0; padding: 14px 16px; border-left: 3px solid #a56f7e; border-radius: 4px; background: #f8efef; color: #50383f; line-height: 1.6; }
.quiz-result-anchor { display: block; width: 0; height: 0; scroll-margin-top: 88px; }
.quiz-result-gateway { max-width: 920px; margin: 14px auto; padding: clamp(18px, 3.5vw, 34px); border: 1px solid #ead9dd; border-radius: 20px; background: linear-gradient(145deg, #fffdfb, #fbf3f1); box-shadow: 0 9px 28px #542a350b; }
.quiz-result-gateway > .eyebrow { margin: 0 0 6px; color: #7b3b52; }
.quiz-result-gateway > h2 { margin: 0 0 12px; color: #64263d; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.quiz-result-gateway .skin-profile-summary { margin: 18px 0; padding: clamp(15px, 2.5vw, 22px); border: 1px solid #eee1dc; border-radius: 14px; background: #fff; }
.quiz-result-actions, .recommendation-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 18px; }
.quiz-result-actions > *, .recommendation-nav > * { min-height: 44px; }
.recommendation-nav { justify-content: space-between; padding: 0 0 15px; border-bottom: 1px solid var(--line); }
.recommendations-empty { margin: 0; padding: 18px; border: 1px dashed #c9aab2; border-radius: 12px; background: #fffaf9; color: #573b43; line-height: 1.6; }
.recommendations { min-width: 0; margin: 28px 0 42px; scroll-margin-top: 88px; }
.recommendations[hidden] { display: none !important; }
@media (max-width: 760px) {
  .skin-scan-layout { grid-template-columns: minmax(0, 1fr); }
  .skin-scan-frame { min-height: 220px; }
}
@media (max-width: 480px) {
  .skin-scan { margin-inline: -6px; padding: 16px; border-radius: 13px; }
  .skin-scan-frame { min-height: 200px; }
  .skin-scan-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  .skin-scan-actions button { width: 100%; }
}
.deal-hunter-trust { margin-top: 10px; padding: 10px 13px; border-left: 3px solid #a7837c; background: #f7efeb; color: #604b48; font-size: .84rem; }
.deal-hunter-filters { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: end; margin: 22px 0; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fffdf9; }
.deal-hunter-filters h2 { grid-column: 1 / -1; margin: 0; color: #603c43; font: 1.2rem Georgia, serif; }
.deal-hunter-filters label, .deal-calculator-form label { display: grid; gap: 5px; min-width: 0; color: var(--brown); font-size: .8rem; font-weight: 650; }
.deal-hunter-filters input, .deal-hunter-filters select, .deal-calculator-form input, .deal-calculator-form select { width: 100%; min-width: 0; min-height: 44px; padding: 8px 10px; border: 1px solid #b9a69a; border-radius: 7px; background: #fffdfa; color: var(--ink); font: inherit; }
.deal-hunter-filters :focus-visible, .deal-calculator-form :focus-visible { outline: 3px solid #78583f; outline-offset: 2px; }
.deal-filter-empty { margin: 14px 0; }
.deal-ad-disclosure { color: #604b48; font-size: .78rem; font-weight: 650; }
.deal-card[data-deal-card][hidden], .deals-section[hidden] { display: none !important; }
.deal-calculator { margin: 34px 0 62px; padding: clamp(18px, 4vw, 32px); border: 1px solid #ddcfc8; border-radius: 15px; background: linear-gradient(145deg,#fffdf9,#f7eee7); }
.deal-calculator > header { max-width: 68ch; margin-bottom: 18px; }
.deal-calculator h2 { margin: 5px 0 8px; color: #603c43; font: clamp(1.45rem,3.5vw,2rem) Georgia,serif; }
.deal-calculator > header p { color: var(--muted); }
.deal-calculator-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; align-items: end; }
.deal-calculator-form fieldset { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; min-width: 0; margin: 0; padding: 12px; border: 1px solid #e2d3cc; border-radius: 10px; background: #fffdfa; }
.deal-calculator-form legend { padding: 0 5px; color: var(--brown); font-size: .82rem; font-weight: 700; }
.deal-calculator-form .deal-stackable { display: flex; grid-column: 1 / -1; align-items: center; gap: 9px; }
.deal-calculator-form .deal-stackable input { width: 18px; min-height: 18px; accent-color: #754550; }
.deal-calculator-form .button { min-height: 46px; justify-self: start; }
.deal-calc-disclosure { color: var(--muted); font-size: .77rem; }
.deal-calculator-result { min-height: 46px; margin-top: 12px; padding: 12px 14px; border-left: 3px solid #a7837c; border-radius: 5px; background: #fffaf4; color: #59433e; white-space: pre-line; }
.smart-dupe-deals-link { display: inline-flex; min-height: 44px; align-items: center; gap: 6px; margin: 5px 0; color: #603c43; font-size: .84rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.smart-dupe-deals-link:focus-visible { outline: 3px solid #78583f; outline-offset: 3px; }
@media (max-width: 820px) {
  .deal-hunter-filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 520px) {
  .deal-hunter-filters, .deal-calculator-form { grid-template-columns: minmax(0,1fr); }
  .deal-calculator-form fieldset { grid-template-columns: minmax(0,1fr); }
  .deal-calculator-form .button { width: 100%; }
}
.deals-section .button { min-height: 44px; }
@media (max-width: 540px) {
  .deals-intro { margin-top: 20px; }
  .deals-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Shared wine-and-rose navigation and responsive Start cover. */
:root {
  --wine: #742f4b;
  --rose-paper: #fbf2f5;
  --paper: var(--rose-paper);
  --ink: #3e2931;
  --muted: #725b64;
  --brown: #673149;
  --line: #e5d2d9;
  --panel: #fffafd;
}
body { background: radial-gradient(ellipse at 70% 2%, #f1dfe6 0, transparent 38%), var(--rose-paper); }
.top { height: auto; display: block; padding: 0; background: var(--wine); color: #fff9fb; border: 0; }
.top-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.top .brand { color: #fff9fb; }
.top .brand-mark { color: #f2cbd9; }
.top .primary-nav { gap: clamp(8px, 1.35vw, 19px); flex-wrap: wrap; font-size: .82rem; }
.top .primary-nav > a { color: #fff9fb; text-underline-offset: .22em; }
.top .primary-nav > a[aria-current="page"] { text-decoration: underline; text-decoration-color: #e7b8ca; text-decoration-thickness: 2px; }
.top .primary-nav > a:hover { color: #f5dce5; }
.top .language { border-color: #d9afbf; background: #fff9fb; }
.top .language select { color: #442631; }
.top :focus-visible { outline-color: #fff; outline-offset: 3px; }
.products-page { max-width: none; margin-top: clamp(18px, 4vw, 40px); padding: clamp(20px, 4vw, 36px); border: 1px solid #e5d2d9; border-radius: 18px; background: linear-gradient(125deg, #fffafd, #f5e6ec); }
.products-page .eyebrow { color: var(--wine); }
.products-page h1 { margin-block: 6px 12px; font-size: clamp(2.25rem, 5.2vw, 4rem); }
.products-page .lede { max-width: 70ch; margin-bottom: 0; }
.catalog-filters { background: #fffafd; border-color: #e1cbd4; }
.catalog-filters select, .catalog-filters input { border-color: #b8879a; }
.catalog-product { border-color: #e1cbd4; box-shadow: 0 10px 28px #6c34420b; }
.offer-comparison .offer-compare-trigger:focus-visible { outline-color: var(--wine); }
.catalog-product:target { outline-color: var(--wine); }
@media (max-width: 780px) {
  .top-inner { min-height: 70px; }
  .top .primary-nav { gap: 5px 12px; }
}
@media (max-width: 590px) {
  .top-inner { display: block; padding-block: 10px; }
  .top .primary-nav { flex: 0 0 100%; gap: 2px 12px; }
  .top .primary-nav > a { display: inline-flex; min-height: 42px; align-items: center; }
  .products-page { padding: 20px 16px; }
}

.community-categories-heading { margin: 28px 0 12px; font-size: clamp(1.45rem, 3.5vw, 2rem); }
.community-category-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 13px; margin: 14px 0 22px; }
.community-category-card { display: flex; min-width: 0; min-height: 158px; flex-direction: column; align-items: flex-start; gap: 8px; padding: clamp(15px, 2.4vw, 22px); border: 1px solid #e1cbd4; border-radius: 16px; background: linear-gradient(145deg, #fffafd, #f6eaf0); color: var(--ink); overflow-wrap: anywhere; transition: border-color .18s, box-shadow .18s, transform .18s; }
.community-category-card:hover { border-color: #bd899f; box-shadow: 0 10px 26px #6c34420d; transform: translateY(-1px); }
.community-category-card:focus-visible { outline: 3px solid var(--wine); outline-offset: 3px; }
.community-category-card strong { font-family: var(--serif); font-size: clamp(1.08rem, 2vw, 1.3rem); font-weight: 500; line-height: 1.25; }
.community-category-card > span:last-child { color: var(--muted); font-size: .84rem; line-height: 1.5; }
.community-category-index { color: var(--wine); font-size: .7rem; font-weight: 700; letter-spacing: .12em; }
.community-category-section { scroll-margin-top: 20px; margin: 22px 0; padding: clamp(18px, 4vw, 30px); border: 1px solid var(--line); border-radius: 18px; background: #fffafd; }
.community-category-section h2 { margin-bottom: 10px; font-size: clamp(1.45rem, 3.6vw, 2rem); }
.community-category-empty { margin: 0; color: var(--muted); line-height: 1.65; overflow-wrap: anywhere; }
@media (max-width: 540px) {
  .community-category-nav { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .community-category-card { min-height: 0; }
}

/* Clean luxury Start: clear text/photo columns and a separate quiz section. */
.top { background: #fff9fb; color: var(--wine); border-bottom: 1px solid #ead9df; }
.top .brand, .top .primary-nav > a { color: var(--wine); }
.top .brand-mark { color: #b06b83; }
.top .primary-nav > a { padding: 8px 10px; border-radius: 999px; }
.top .primary-nav > a[aria-current="page"] { color: #542239; background: #f3dce4; text-decoration: none; }
.top .primary-nav > a:hover { color: #9a526e; }
.top .language { border-color: #e4cad3; background: #fff; }
.top .language select { color: #542239; }
.top :focus-visible { outline-color: #742f4b; }
.homepage-cover {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: linear-gradient(112deg, #fbf4ef 0%, #fffaf7 53%, #f7e9e7 100%);
}
.homepage-cover .hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(36px, 6vw, 84px);
  width: min(1200px, calc(100% - 84px));
  min-height: 570px;
  margin: 0 auto;
  padding: 46px 0;
  overflow: visible;
}
.hero-editorial {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  z-index: 1;
  width: auto;
  margin: 0;
  padding: 0;
  text-align: left;
  text-shadow: none;
}
.hero-editorial h1 {
  max-width: 13ch;
  margin: 0 0 22px;
  color: #64263d;
  font-size: clamp(2.8rem, 5vw, 4.85rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.hero-promise {
  max-width: 48ch;
  margin: 0 0 25px;
  color: #514047;
  font-size: clamp(1rem, 1.45vw, 1.14rem);
  font-weight: 400;
  line-height: 1.65;
}
.hero .hero-cta {
  display: inline-flex;
  width: auto;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 24px;
  border: 1px solid #742f4b;
  border-radius: 999px;
  background: #742f4b;
  color: #fff9fb;
  box-shadow: 0 5px 15px #742f4b16;
  font-size: .94rem;
  font-weight: 650;
  line-height: 1.3;
}
.hero .hero-cta:hover { background: #61243d; color: #fff; }
.hero-details { margin: 12px 0 0; color: #735c64; font-size: .82rem; }
.hero-portrait {
  display: block;
  grid-column: 1;
  grid-row: 1;
  z-index: 0;
  width: 100%;
  height: clamp(500px, 43vw, 620px);
  min-height: 0;
  margin-left: -20px;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: 50% 46%;
  border-radius: 0;
  box-shadow: none;
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 82%, transparent 100%);
  mask-image: linear-gradient(to right, #000 0%, #000 82%, transparent 100%);
}
.workflow.consultation {
  width: min(1170px, calc(100% - 42px));
  margin: 42px auto 60px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid #f0dfe4;
  border-top: 1px solid #f0dfe4;
  border-radius: 24px;
  background: #fffdfc;
  box-shadow: 0 8px 26px #5e273909;
  grid-template-columns: minmax(210px, .34fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 42px);
}
.consultation > aside { min-width: 0; }
.consultation-main { width: 100%; min-width: 0; }
.consultation > aside h2 { color: #64263d; }
.workflow.consultation .panel { max-width: none; padding: 15px 0 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.workflow.consultation .quiz-top { align-items: center; margin-bottom: 3px; }
.workflow.consultation .quiz-top p { margin: 0; color: #7b3b52; font-size: .65rem; }
.workflow.consultation .quiz-top span { color: #713247; font-size: .75rem; }
.quiz-stepper { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 11px 6px 18px; padding: 0; list-style: none; }
.quiz-step-item { position: relative; display: grid; place-items: center; min-height: 20px; }
.quiz-step-item:not(:last-child)::before { position: absolute; z-index: 0; top: 50%; left: 50%; right: -50%; height: 1px; background: #e6cbd4; content: ''; }
.quiz-step-dot { position: relative; z-index: 1; width: 12px; height: 12px; border: 1px solid #bc8095; border-radius: 50%; background: #fffafb; }
.quiz-step-item.is-complete .quiz-step-dot, .quiz-step-item.is-current .quiz-step-dot { border-color: var(--wine); background: var(--wine); box-shadow: 0 0 0 4px #f5e7eb; }
.workflow.consultation .panel legend { margin-bottom: 12px; color: #382730; font-size: clamp(1.35rem, 3vw, 1.85rem); text-align: center; }
.workflow.consultation .panel fieldset > p { margin: 0 0 12px; text-align: center; }
.workflow.consultation .choices { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 9px; }
.workflow.consultation .choice { min-height: 50px; border-color: #ead5dc; border-radius: 12px; background: #fffdfd; }
.workflow.consultation .choice:has(:checked) { border-color: #c77f97; background: #faedf1; }
.workflow.consultation .choice:has(:disabled) { opacity: .58; }
.workflow.consultation .actions { justify-content: space-between; margin-top: 17px; }
.workflow.consultation .actions .button { min-height: 44px; background: linear-gradient(110deg, #9e435c, #762d48); box-shadow: none; }
.workflow.consultation .actions .button:hover { background: #64263d; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
@media (max-width: 780px) {
  .homepage-cover .hero { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 30px; width: calc(100% - 48px); min-height: 510px; }
  .hero-editorial h1 { font-size: clamp(2.55rem, 5.6vw, 3.8rem); }
  .hero-portrait { height: clamp(430px, 62vw, 500px); margin-left: -12px; object-position: 50% 46%; }
  .workflow.consultation { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
@media (max-width: 590px) {
  .homepage-cover .hero { grid-template-columns: minmax(0, 1fr); gap: 0; width: 100%; min-height: 0; padding: 0 0 8px; }
  .hero-portrait { grid-column: 1; grid-row: 1; width: 100vw; height: auto; margin: 0 calc(50% - 50vw); aspect-ratio: 4 / 3; object-position: 53% 50%; -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 76%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, #000 76%, transparent 100%); }
  .hero-editorial { grid-column: 1; grid-row: 2; width: min(100% - 38px, 540px); margin: 0 auto; padding: 7px 0 4px; text-align: center; }
  .hero-editorial h1 { max-width: 14ch; margin: 0 auto 15px; font-size: clamp(2.5rem, 10vw, 3.55rem); line-height: 1.02; }
  .hero-promise { max-width: 48ch; margin: 0 auto 19px; font-size: .98rem; line-height: 1.6; }
  .hero .hero-cta { width: min(100%, 340px); min-height: 52px; }
  .hero-details { justify-content: center; margin-top: 10px; text-align: center; }
  .workflow.consultation { width: calc(100% - 24px); margin: 30px auto 44px; padding: 17px; border-radius: 20px; }
  .consultation > aside { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .workflow.consultation .panel { padding-top: 12px; }
  .quiz-stepper { margin: 8px 4px 14px; }
  .workflow.consultation .panel legend { font-size: 1.28rem; }
  .quiz-result-gateway { width: min(100% - 24px, 720px); margin: 12px auto; padding: 17px; border-radius: 17px; }
  .quiz-result-actions { align-items: stretch; }
  .quiz-result-actions > * { display: flex; width: 100%; justify-content: center; text-align: center; }
  .recommendation-nav { align-items: stretch; }
  .recommendation-nav > * { display: flex; flex: 1 1 100%; justify-content: center; text-align: center; }
  .workflow.consultation .choices { grid-template-columns: minmax(0, 1fr); gap: 7px; }
  .workflow.consultation .choice { min-height: 46px; }
  .workflow.consultation .actions { gap: 8px; }
  .workflow.consultation .actions .button, .workflow.consultation .actions .secondary { min-height: 44px; }
}
@media (max-width: 350px) {
  .homepage-cover .hero { width: calc(100% - 28px); }
  .hero-editorial h1 { font-size: 2.35rem; }
  .hero-portrait { height: 295px; }
  .workflow.consultation { width: calc(100% - 18px); padding: 13px; }
}

.score-criterion-note { display: block; max-width: 60ch; margin-top: 4px; color: var(--muted); font-size: .78rem; font-weight: 400; line-height: 1.5; }
.smart-dupe-next-step { margin: 18px 0 10px; }
.smart-dupe-next-step a { display: inline-flex; min-height: 46px; align-items: center; gap: 7px; padding: 10px 16px; border: 1px solid #c9a2ae; border-radius: 999px; color: #663044; font-weight: 650; text-decoration: none; }
.smart-dupe-next-step a:focus-visible { outline: 3px solid var(--wine); outline-offset: 3px; }
.skin-scan-awaiting { max-width: 54ch; margin: 12px 0 0; color: var(--muted); line-height: 1.55; }
.skin-scan-actions [hidden], .skin-scan-awaiting[hidden] { display: none !important; }

/* Skin Academy and Skin Plus: editorial, responsive extensions of the approved brand system. */
.academy-preview {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: 1080px; margin: 34px auto 46px; padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(115deg, #fbf4f1, #fffaf5);
}
.academy-preview h2 { margin: 5px 0 8px; color: var(--wine); font-family: var(--serif, Georgia, serif); font-size: clamp(1.55rem, 3vw, 2.2rem); }
.academy-preview p:not(.eyebrow) { max-width: 60ch; margin: 0; color: var(--muted); line-height: 1.65; }
.academy-preview .button { flex: 0 0 auto; }
.academy-footer-link { text-decoration: underline; text-underline-offset: .2em; }
.academy-page section, .skin-plus-page section { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 28px; }
.academy-page h2, .skin-plus-page h2 { color: var(--wine); font-family: var(--serif, Georgia, serif); }
.academy-page p, .skin-plus-page p { max-width: 72ch; line-height: 1.72; }
.academy-type-grid, .academy-basic-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; margin-top: 18px; }
.academy-type-card { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fffaf6; }
.academy-type-card h3 { margin: 0 0 7px; color: var(--wine); font-size: 1.1rem; }
.academy-type-card p { margin: 0; color: var(--muted); }
.academy-basic-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.academy-sources { padding-left: 1.25rem; line-height: 1.9; }
.academy-sources a { color: var(--wine); text-underline-offset: .2em; }
.academy-page :focus-visible, .skin-plus-page :focus-visible, .academy-preview :focus-visible { outline: 3px solid var(--wine); outline-offset: 3px; }
.skin-plus-offer { padding: clamp(20px, 4vw, 34px); border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, #fffaf6, #f7eeeb); }
.skin-plus-offer ul { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 24px; padding-left: 1.2rem; line-height: 1.6; }
.demo-badge { display: inline-flex; width: fit-content; padding: 7px 12px; border-radius: 999px; background: #f0e3df; color: var(--wine); font-size: .88rem; font-weight: 700; }
.skin-plus-price { color: var(--wine); font-family: var(--serif, Georgia, serif); font-size: clamp(1.25rem, 3vw, 1.65rem); font-weight: 700; }
.skin-plus-coupon-empty { max-width: 70ch; padding: 18px 20px; border: 1px dashed #c7a5ad; border-radius: 14px; background: #fffaf6; color: var(--muted); }
@media (max-width: 700px) {
  .academy-preview { align-items: stretch; flex-direction: column; gap: 17px; margin: 24px 12px 34px; }
  .academy-preview .button { justify-content: center; width: 100%; }
  .academy-type-grid, .academy-basic-grid, .skin-plus-offer ul { grid-template-columns: 1fr; }
  .academy-page, .skin-plus-page { padding-top: 36px; padding-bottom: 40px; }
  .academy-type-card { padding: 17px; }
}

/* Editorial library and partner media kit. Keep the approved Start hero untouched. */
.academy-topic-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  gap: 10px;
  margin: 26px 0 34px;
}
.academy-topic-nav a {
  display: flex;
  min-width: 0;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 15px;
  border: 1px solid #ead5dc;
  border-radius: 14px;
  background: #fffafd;
  color: #64263d;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.academy-topic-nav a:hover, .academy-article-card:hover { border-color: #c2859a; background: #fff7fa; }
.academy-topic-nav a:focus-visible, .academy-article-card a:focus-visible,
.partner-media-kit :focus-visible, .academy-article :focus-visible { outline: 3px solid var(--wine); outline-offset: 3px; }
.academy-library { scroll-margin-top: 22px; }
.academy-article-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-top: 18px; }
.academy-article-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(19px, 3vw, 27px);
  border: 1px solid #e7d4da;
  border-radius: 20px;
  background: linear-gradient(145deg,#fffdfb,#f8edf1);
  transition: border-color .18s ease, background-color .18s ease;
}
.academy-article-card .eyebrow { margin-bottom: 8px; color: #8a4a61; }
.academy-article-card h3 { margin: 0 0 10px; color: #64263d; font-size: clamp(1.25rem,2.4vw,1.65rem); line-height: 1.2; overflow-wrap: anywhere; }
.academy-article-card p:not(.eyebrow) { flex: 1; color: var(--muted); line-height: 1.65; }
.academy-article-card a { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; color: #742f4b; font-weight: 700; text-underline-offset: .2em; }
.academy-article { max-width: 860px; padding-top: clamp(38px,7vw,76px); }
.academy-article .eyebrow a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.academy-article .lede { max-width: 62ch; }
.academy-article-byline { padding: 12px 0; border-block: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.academy-article-body section { margin: 26px 0; padding: clamp(19px,3vw,28px); border: 1px solid var(--line); border-radius: 18px; background: #fffdfb; }
.academy-article-body h2, .article-source-section h2 { margin-bottom: 10px; font-size: clamp(1.45rem,3vw,2rem); }
.academy-article-body p { max-width: 70ch; margin-bottom: 0; line-height: 1.78; }
.academy-reflections { margin: clamp(28px,5vw,54px) 0; padding: clamp(20px,4vw,34px); border: 1px solid #ead5dc; border-radius: 22px; background: linear-gradient(145deg,#fffaf8,#fffdfc); }
.academy-reflections h2 { margin: 4px 0 10px; color: var(--wine); font-family: var(--serif,Georgia,serif); }
.academy-reflections > p:not(.eyebrow) { color: var(--muted); }
.academy-reflection-questions { display: grid; gap: 16px; margin: 22px 0; }
.academy-reflection-question { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.academy-reflection-question legend { max-width: 70ch; padding: 0 6px; color: #382730; font-weight: 700; line-height: 1.5; }
.academy-reflection-question .choice { margin-top: 7px; }
.academy-reflections .actions { justify-content: flex-start; }
.academy-reflections :focus-visible { outline: 3px solid var(--wine); outline-offset: 3px; }
.academy-reflection-feedback { margin-top: 18px; }
.academy-reflection-feedback:not(:empty) { padding: 16px 19px; border-left: 3px solid #b3657f; border-radius: 0 14px 14px 0; background: #fbf2f5; }
.academy-reflection-feedback h3 { color: var(--wine); }
.academy-reflection-feedback ol { padding-left: 1.3rem; line-height: 1.65; }
.academy-reflection-feedback li + li { margin-top: 9px; }
.quiz-privacy-note, .quiz-method-note { max-width: 72ch; color: var(--muted); font-size: .84rem; line-height: 1.55; }
.quiz-privacy-note { margin: 6px auto 13px; text-align: center; }
.quiz-select-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.quiz-select-grid label { display: grid; gap: 7px; color: var(--wine); font-weight: 650; }
.quiz-select-grid select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #d9bdc6; border-radius: 10px; color: #382730; background: white; font: inherit; }
.quiz-select-grid select:focus-visible { outline: 3px solid var(--wine); outline-offset: 2px; }
.choices-uncertain { grid-column: 1 / -1; }
.safety-note { padding: 14px 16px; border-left: 3px solid #9b4057; background: #fff2f1; line-height: 1.6; }
@media(max-width:590px){.quiz-select-grid{grid-template-columns:1fr}.academy-reflections{padding:18px 14px}.academy-reflection-question{padding:13px}}
.article-sources { display: grid; gap: 10px; margin: 0; padding-left: 1.2rem; line-height: 1.55; }
.article-sources a { color: #742f4b; text-decoration: underline; text-underline-offset: .17em; overflow-wrap: anywhere; }
.editorial-review-note { margin: 24px 0; padding: 16px 18px; border-left: 3px solid #9c6679; background: #f5e9ed; color: #503741; line-height: 1.6; }
.article-next-actions, .partner-quick-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.article-next-actions > *, .partner-quick-links > * { min-height: 46px; }
.partner-media-kit { max-width: 1060px; padding-top: clamp(38px,7vw,76px); }
.partner-media-kit > h1 { max-width: 17ch; color: #64263d; }
.partner-media-kit > .lede { max-width: 68ch; }
.partner-quick-links { padding: 15px; border: 1px solid #ead5dc; border-radius: 17px; background: #fffafd; }
.partner-section, .partner-metrics, .partner-markets, .partner-status, .partner-contact {
  margin: 18px 0;
  padding: clamp(19px,3.5vw,29px);
  border: 1px solid #e7d4da;
  border-radius: 20px;
  background: linear-gradient(150deg,#fffdfb,#fbf2f5);
}
.partner-section h2, .partner-metrics h2, .partner-markets h2, .partner-status h2, .partner-contact h2 { margin-bottom: 9px; color: #64263d; font-size: clamp(1.45rem,3vw,2rem); }
.partner-section p, .partner-metrics p, .partner-markets p, .partner-status p, .partner-contact p { max-width: 72ch; margin-bottom: 0; line-height: 1.75; }
.partner-metric-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 11px; margin: 20px 0 0; }
.partner-metric-grid > div { min-width: 0; padding: 15px; border: 1px solid #ead5dc; border-radius: 14px; background: #fffafd; }
.partner-metric-grid dt { min-height: 2.7em; color: var(--muted); font-size: .82rem; line-height: 1.4; overflow-wrap: anywhere; }
.partner-metric-grid dd { margin: 7px 0 0; color: #742f4b; font: 1.7rem/1.15 var(--serif); }
.partner-media-kit .partner-status .pilot-note { padding: 14px 16px; border-radius: 12px; background: #f4e7eb; color: #553541; }
.partner-contact .button { margin-top: 16px; text-decoration: none; }
.partner-media-kit a, .academy-article a { overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .academy-topic-nav { grid-template-columns: minmax(0,1fr); gap: 8px; margin: 21px 0 28px; }
  .academy-topic-nav a { min-height: 46px; }
  .academy-article-grid { grid-template-columns: minmax(0,1fr); }
  .partner-metric-grid { grid-template-columns: 1fr; }
  .partner-metric-grid dt { min-height: 0; }
  .article-next-actions, .partner-quick-links { flex-direction: column; }
  .article-next-actions > *, .partner-quick-links > * { width: 100%; }
  .partner-section, .partner-metrics, .partner-markets, .partner-status, .partner-contact { border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .academy-topic-nav a, .academy-article-card { scroll-behavior: auto; transition: none; }
}

/* Beta-only notice and locally exported, voluntary tester feedback. */
.beta-banner {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  width: min(1180px, calc(100% - 48px));
  margin: 14px auto 4px;
  padding: 10px 15px;
  border: 1px solid #ead6dc;
  border-radius: 14px;
  background: #fbf3f5;
  color: #51343e;
  font-size: .86rem;
  line-height: 1.5;
}
.beta-pill {
  flex: 0 0 auto;
  padding: 3px 9px;
  border-radius: 99px;
  background: #742f4b;
  color: #fffaf9;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.beta-banner a { color: #64263d; font-weight: 700; text-underline-offset: 3px; }
.beta-feedback-form {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px 18px;
  margin-top: 24px;
  padding: clamp(18px,4vw,30px);
  border: 1px solid #ead8dc;
  border-radius: 20px;
  background: linear-gradient(145deg,#fffdfb,#fbf4f5);
  box-shadow: 0 12px 35px rgb(80 45 58 / 5%);
}
.beta-data-consent, .beta-result-feedback {
  margin: 24px 0;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid #e3d5cf;
  border-radius: 20px;
  background: linear-gradient(140deg, #fffdf9, #f8f0eb);
  color: #49343b;
}
.beta-data-consent h2, .beta-result-feedback h2 { margin: 4px 0 12px; color: #742f4b; font-family: Georgia, serif; }
.beta-data-consent p, .beta-result-feedback p { max-width: 78ch; line-height: 1.65; }
.beta-data-privacy { color: #5b5052; font-size: .94rem; }
.beta-data-consent .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.beta-data-consent button, .beta-result-feedback button { min-height: 44px; }
.beta-data-status { min-height: 1.5em; margin: 10px 0 0; color: #543544; }
.beta-rating-fieldset { border: 0; margin: 0 0 14px; padding: 0; }
.beta-rating-stars { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.beta-rating-stars label { position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; border: 1px solid #cdbab6; border-radius: 50%; background: #fffdf9; color: #93663c; cursor: pointer; font-size: 1.45rem; }
.beta-rating-stars input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.beta-rating-stars label:has(input:checked) { background: #f1dfba; border-color: #9a6e3f; }
.beta-rating-stars label:has(input:focus-visible) { outline: 3px solid #742f4b; outline-offset: 3px; }
.beta-result-feedback textarea { display: block; width: min(100%, 720px); min-height: 92px; margin: 6px 0 14px; padding: 10px 12px; border: 1px solid #cdbab6; border-radius: 10px; background: #fffdf9; color: inherit; font: inherit; resize: vertical; }
.beta-result-feedback > form > label { display: block; margin: 10px 0 5px; font-weight: 650; }
.beta-feedback-comment-privacy { margin: 0 0 4px; color: #65565b; font-size: .88rem; }
.beta-feedback-consent { display: flex !important; gap: 9px; align-items: flex-start; max-width: 78ch; font-weight: 400 !important; }
.beta-feedback-consent input { margin-top: 5px; }
.beta-result-feedback button:focus-visible, .beta-data-consent button:focus-visible, .beta-rating-stars label:focus-within, .beta-result-feedback textarea:focus-visible, .beta-data-privacy a:focus-visible { outline: 3px solid #742f4b; outline-offset: 3px; }
.beta-result-feedback button[type="submit"] { margin-top: 6px; }
.beta-result-feedback button[disabled] { opacity: .7; cursor: default; }
.beta-feedback-field { display: grid; align-content: start; gap: 6px; min-width: 0; }
.beta-feedback-field--wide { grid-column: 1 / -1; }
.beta-feedback-form label { color: #4e3440; font-weight: 650; line-height: 1.45; }
.beta-feedback-form select, .beta-feedback-form textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #d9c6cb;
  border-radius: 11px;
  background: #fffefd;
  color: #33262b;
  font: inherit;
}
.beta-feedback-form .beta-feedback-privacy, .beta-feedback-form button,
.beta-feedback-form .beta-feedback-status { grid-column: 1 / -1; }
.beta-feedback-form textarea { min-height: 130px; resize: vertical; }
.beta-feedback-form .beta-feedback-privacy { margin: 1px 0 0; color: #65565b; font-size: .92rem; line-height: 1.65; }
.beta-feedback-form button { justify-self: start; }
.beta-feedback-form .beta-feedback-status { min-height: 1.5em; margin: 0; color: #4e3440; }
.beta-feedback-form select:focus-visible, .beta-feedback-form textarea:focus-visible,
.beta-feedback-form button:focus-visible, .beta-banner a:focus-visible {
  outline: 3px solid #805a40;
  outline-offset: 3px;
}
.beta-editorial-pending { margin-top: 28px; padding: 20px; border: 1px solid #ead8dc; border-radius: 16px; background: #fbf5f6; }
.beta-editorial-pending p { margin: 0; line-height: 1.75; }
@media (max-width: 620px) {
  .beta-banner { width: calc(100% - 32px); justify-content: flex-start; margin-top: 10px; border-radius: 12px; }
  .beta-feedback-form { grid-template-columns: minmax(0,1fr); gap: 8px; border-radius: 16px; }
  .beta-data-consent, .beta-result-feedback { margin: 18px 0; padding: 16px; border-radius: 16px; }
  .beta-data-consent .actions { display: grid; grid-template-columns: minmax(0,1fr); }
  .beta-rating-stars { gap: 6px; }
  .beta-feedback-field--wide, .beta-feedback-form .beta-feedback-privacy, .beta-feedback-form button,
  .beta-feedback-form .beta-feedback-status { grid-column: 1; }
  .beta-feedback-form button { justify-self: stretch; }
}
