/* Outfitz for Her public styles. Brand tokens first (from the brand board). */
@font-face { font-family: "Fredoka"; src: url("/fonts/fredoka.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/fonts/nunito.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }

:root {
  --lilac: #b9a6f0;
  --lilac-deep: #7356d1;   /* buttons and links: lilac dark enough for white text */
  --lilac-ink: #5b3fbf;
  --lavender: #e8e0fb;
  --pink: #ffd6e8;
  --pink-deep: #f39ac3;
  --cloud: #faf8ff;
  --white: #ffffff;
  --ink: #26224a;
  --ink-soft: #4a4570;
  --muted: #6e6990;
  --line: rgba(38, 34, 74, 0.1);
  --pinterest: #e60023;
  --shadow: 0 22px 50px rgba(83, 60, 170, 0.16);
  --shadow-sm: 0 10px 24px rgba(83, 60, 170, 0.1);
  --radius: 26px;
  --radius-sm: 16px;
  --display: "Fredoka", "Nunito", ui-rounded, "Segoe UI", system-ui, sans-serif;
  --body: "Nunito", ui-rounded, "Segoe UI", system-ui, sans-serif;
  --max: 1180px;
  --narrow: 760px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
body { margin: 0; background: var(--cloud); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lilac-ink); }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--lilac-deep); outline-offset: 3px; border-radius: 8px; }
[tabindex="-1"]:focus { outline: none; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: 0.5rem 0.9rem; border-radius: 999px; z-index: 90; }
.skip:focus { top: 1rem; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.wrap-narrow { width: min(var(--narrow), 100% - 32px); margin-inline: auto; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.spark { width: 1em; height: 1em; fill: currentColor; flex: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.45em; font-family: var(--display); font-weight: 500; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lilac-ink); margin: 0 0 0.9em; }
.eyebrow .spark { color: var(--lilac); }
.tag { display: inline-flex; align-items: center; gap: 0.4em; background: var(--lavender); color: var(--lilac-ink); font-family: var(--display); font-weight: 500; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.35em 1em; border-radius: 999px; margin: 0 0 1rem; }
.fine { font-size: 0.82rem; color: var(--muted); }
.muted { color: var(--muted); }
.empty { color: var(--muted); padding: 1.5rem 0; }
.notice { background: var(--white); border-radius: var(--radius-sm); border-left: 4px solid var(--lilac); padding: 1rem 1.2rem; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; background: var(--lilac-deep); color: #fff; border: 0; border-radius: 999px; padding: 0.85em 1.6em; font-family: var(--display); font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; box-shadow: 0 10px 22px rgba(115, 86, 209, 0.28); transition: transform 0.15s, background 0.15s; }
.btn:hover { background: var(--lilac-ink); transform: translateY(-1px); }
.btn-small { padding: 0.6em 1.15em; font-size: 0.92rem; }
.btn-big { padding: 1.05em 2.1em; font-size: 1.1rem; }
.btn-light { background: var(--white); color: var(--ink); box-shadow: none; }
.btn-light:hover { background: var(--lavender); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--lilac); box-shadow: none; }
.btn-ghost:hover { background: var(--lavender); }

/* Header: a floating white pill */
.top { position: sticky; top: 0; z-index: 40; padding: 12px 0 6px; }
.top-pill { display: flex; align-items: center; gap: 1.2rem; background: var(--white); border-radius: 999px; padding: 8px 10px 8px 22px; box-shadow: var(--shadow-sm); }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 0.3rem; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 0.5rem 0.85rem; border-radius: 999px; white-space: nowrap; }
.nav a:hover, .nav a[aria-current] { background: var(--lavender); color: var(--lilac-ink); }
.top-actions { display: flex; align-items: center; gap: 0.4rem; }
.icon-btn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--ink); text-decoration: none; }
.icon-btn:hover { background: var(--lavender); }
.icon-btn .ico { width: 22px; height: 22px; }
.saved-count { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--pink-deep); color: #fff; font-size: 0.7rem; font-weight: 800; line-height: 18px; text-align: center; }

/* Hero */
.hero { position: relative; overflow: hidden; margin-top: -70px; padding: 110px 0 80px; background:
  radial-gradient(60% 50% at 12% 100%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 70%),
  radial-gradient(50% 60% at 95% 10%, rgba(255, 214, 232, 0.9), rgba(255, 214, 232, 0) 70%),
  linear-gradient(135deg, #ece5fd 0%, #f3e8fb 45%, #ffe2ef 100%); }
.hero-copy { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.1rem); line-height: 1.05; }
.hero .hl { color: var(--lilac-deep); position: relative; white-space: nowrap; }
.hero .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.06em; height: 0.28em; background: var(--pink); border-radius: 999px; z-index: -1; }
.hero-spark { position: absolute; color: #fff; opacity: 0.9; }
.hero-spark .spark { width: 100%; height: 100%; }
.hero-spark.s1 { width: 28px; height: 28px; left: 8%; top: 32%; }
.hero-spark.s2 { width: 18px; height: 18px; left: 46%; top: 22%; }
.hero-spark.s3 { width: 22px; height: 22px; right: 6%; bottom: 14%; }
.search { display: flex; align-items: center; gap: 0.6rem; background: var(--white); border-radius: 999px; padding: 6px 6px 6px 20px; box-shadow: var(--shadow-sm); max-width: 520px; margin: 1.4rem 0 1rem; }
.search .ico { color: var(--muted); width: 22px; height: 22px; }
.search input { flex: 1; min-width: 0; border: 0; background: none; padding: 0.7rem 0; font-size: 1rem; }
.search input:focus { outline: none; }
.search:focus-within { box-shadow: 0 0 0 3px var(--lilac), var(--shadow-sm); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { background: rgba(255, 255, 255, 0.75); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 0.9rem; padding: 0.4rem 0.95rem; border-radius: 999px; border: 1px solid rgba(185, 166, 240, 0.5); }
.chip:hover, .chip.is-on { background: var(--lilac-deep); border-color: var(--lilac-deep); color: #fff; }

.hero-cards { position: relative; height: 640px; }
.polaroid { position: absolute; width: 52%; background: var(--white); border-radius: 22px; padding: 10px 10px 14px; box-shadow: var(--shadow); transition: transform 0.3s ease; }
.polaroid:hover { transform: rotate(0deg) translateY(-6px) !important; z-index: 5; }
.polaroid.p1 { left: 4%; top: 0; transform: rotate(-5deg); z-index: 2; }
.polaroid.p2 { right: 0; top: 13%; width: 50%; transform: rotate(5deg); z-index: 3; }
.polaroid.p3 { left: 20%; top: 39%; transform: rotate(-2deg); width: 44%; z-index: 4; }
.polaroid-pic { display: block; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, var(--lavender), var(--pink)); display: grid; place-items: center; color: #fff; }
.polaroid-pic img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.polaroid-pic .spark { width: 34px; height: 34px; }
.polaroid-cap { display: block; padding: 10px 6px 0; text-decoration: none; line-height: 1.25; }
.polaroid-cap strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--display); font-weight: 500; color: var(--ink); font-size: 1rem; }
.polaroid-cap small { color: var(--lilac-ink); font-weight: 700; }
.polaroid .pic-actions { top: 18px; right: 18px; }

.stats { list-style: none; margin: -34px 0 0; padding: 18px 26px; position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); border-radius: 22px; box-shadow: var(--shadow-sm); }
.stats li { display: flex; align-items: center; gap: 0.9rem; padding: 0.3rem 1rem; }
.stats li + li { border-left: 1px solid var(--line); }
.stats .ico { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--lavender); color: var(--lilac-ink); }
.stats strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.15rem; line-height: 1.2; }
.stats small { color: var(--muted); }

/* Sections */
.section { margin-top: 3.6rem; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.3rem; }
.section-head h2 { margin: 0; }
.section-head a { display: inline-flex; align-items: center; gap: 0.3em; font-weight: 800; text-decoration: none; white-space: nowrap; }
.page-hero { margin-top: -70px; padding: 110px 0 40px; background: linear-gradient(135deg, #ece5fd 0%, #f6e9fb 55%, #ffe6f1 100%); border-radius: 0 0 40px 40px; }
.page-hero h1 { margin-bottom: 0.35em; }
.page-hero .lede { margin-bottom: 1.3rem; }
.page-hero .search { margin-top: 0.4rem; }
.page-hero .cat-row { margin-top: 1.6rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.85rem; font-weight: 700; color: var(--muted); margin-bottom: 0.9rem; }
.crumbs a { color: var(--lilac-ink); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Outfit guide cards (Pinterest-style) */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem 1.3rem; }
.card { position: relative; }
.card-pic { display: block; aspect-ratio: 2 / 3; border-radius: 22px; overflow: hidden; background: linear-gradient(135deg, var(--lavender), var(--pink)); box-shadow: var(--shadow-sm); }
.card-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.card:hover .card-pic img { transform: scale(1.04); }
.card-empty { display: grid; place-items: center; height: 100%; color: #fff; }
.card-empty .spark { width: 40px; height: 40px; }
.card-actions { position: absolute; top: 12px; right: 12px; display: flex; gap: 6px; }
.card-body { display: block; text-decoration: none; padding: 0.75rem 0.2rem 0; color: var(--ink); }
.card-cat { display: inline-block; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--lilac-ink); background: var(--lavender); border-radius: 999px; padding: 0.15em 0.7em; }
.card-title { display: block; font-family: var(--display); font-weight: 500; font-size: 1.12rem; line-height: 1.28; margin-top: 0.4rem; }
.card-meta { display: block; font-size: 0.85rem; color: var(--muted); margin-top: 0.2rem; }
.card-body:hover .card-title { color: var(--lilac-ink); }

.cat-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.cat-card { display: block; background: var(--white); border-radius: 22px; padding: 8px 8px 12px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform 0.2s; }
.cat-card:hover { transform: translateY(-4px); }
.cat-pic { display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, var(--lavender), var(--pink)); color: #fff; }
.cat-pic img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cat-pic .spark { width: 34px; height: 34px; }
.cat-name { display: block; font-family: var(--display); font-weight: 600; font-size: 1.05rem; padding: 0.6rem 0.4rem 0; }
.cat-count { display: block; font-size: 0.82rem; color: var(--muted); padding: 0 0.4rem; }

/* Pin and save buttons on images */
.pic-actions { position: absolute; top: 14px; right: 14px; display: flex; gap: 8px; z-index: 2; }
.pin-btn, .save-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.35em; height: 40px; min-width: 40px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 0.92rem; box-shadow: 0 6px 16px rgba(38, 34, 74, 0.18); transition: transform 0.15s, opacity 0.2s; }
.pin-btn { background: var(--pinterest); color: #fff; padding: 0 0.95rem; }
.pin-btn:has(span:empty) { padding: 0; width: 40px; }
.pin-btn span:empty { display: none; }
.pin-btn:hover { transform: scale(1.06); }
.pin-btn .ico { width: 20px; height: 20px; }
.save-btn { background: rgba(255, 255, 255, 0.95); color: var(--ink); width: 40px; padding: 0; }
.save-btn .ico { width: 20px; height: 20px; }
.save-btn:hover { transform: scale(1.06); color: var(--pink-deep); }
.save-btn.is-saved { color: var(--pink-deep); }
.save-btn.is-saved .ico path { fill: currentColor; }
/* Outfit images always show Pin it. In grids the buttons appear on hover (desktop),
   so the cards stay clean; on touch screens they are always there. */
@media (hover: hover) {
  .card .card-actions { opacity: 0; transition: opacity 0.2s; }
  .card:hover .card-actions, .card:focus-within .card-actions, .card .card-actions:has(.is-saved) { opacity: 1; }
}

/* Article */
.post-head { padding-top: 1.2rem; }
.post-head h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
.byline { font-weight: 700; color: var(--muted); font-size: 0.92rem; }
.post-actions { display: flex; gap: 0.6rem; align-items: center; margin: 0.4rem 0 1.1rem; }
.post-actions .save-btn { box-shadow: none; border: 2px solid var(--lavender); }
.disclosure { font-size: 0.86rem; color: var(--muted); background: var(--white); border-radius: var(--radius-sm); padding: 0.75rem 1rem; }
.intro { font-size: 1.12rem; }
.toc { background: var(--white); border-radius: var(--radius); padding: 1.1rem 1.3rem; margin: 1.8rem 0; box-shadow: var(--shadow-sm); }
.toc p { font-family: var(--display); font-weight: 600; margin: 0 0 0.6rem; }
.toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.toc a { display: inline-block; background: var(--cloud); border: 1px solid var(--lavender); color: var(--ink); text-decoration: none; font-size: 0.86rem; font-weight: 700; border-radius: 999px; padding: 0.3rem 0.8rem; }
.toc a:hover { background: var(--lavender); color: var(--lilac-ink); }
/* Outfits sit straight on the page, no card behind them. */
.outfit { margin-top: 3.2rem; }
.outfit-head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
.outfit-head h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin: 0; }
.num { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--lavender); color: var(--lilac-ink); font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.outfit-pic { position: relative; margin: 0 auto 1.2rem; max-width: 540px; border-radius: 20px; overflow: hidden; background: linear-gradient(135deg, var(--lavender), var(--pink)); }
.outfit-pic img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.shop { background: rgba(232, 224, 251, 0.45); border-radius: 18px; padding: 0.9rem 1rem 0.5rem; margin-top: 1rem; }
.shop-label { display: flex; align-items: center; gap: 0.4em; font-family: var(--display); font-weight: 600; margin: 0 0 0.4rem; color: var(--ink); }
.shop-label .ico { color: var(--lilac-ink); }
.shop ul { list-style: none; margin: 0; padding: 0; }
.shop li + li { border-top: 1px dashed var(--line); }
.shop a { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 0.8rem; padding: 0.6rem 0.2rem; text-decoration: none; color: var(--ink); }
.shop a span { font-family: var(--display); font-weight: 600; color: var(--lilac-ink); white-space: nowrap; }
.shop a small { color: var(--muted); font-size: 0.92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop a .ico { align-self: center; color: var(--lilac-deep); }
.shop a:hover span { text-decoration: underline; }
.quiz-inline { margin: 2rem 0 0; background: linear-gradient(135deg, var(--lilac) 0%, #d7b9f2 55%, var(--pink) 100%); border-radius: var(--radius); padding: 1.6rem 1.8rem; }
.quiz-inline .eyebrow { color: var(--ink); }
.quiz-inline .eyebrow .spark { color: #fff; }
.quiz-inline-title { font-family: var(--display); font-weight: 600; font-size: 1.4rem; line-height: 1.3; }
.outro { margin-top: 2.2rem; font-size: 1.12rem; }
.post-end { margin-top: 1.5rem; text-align: center; }

/* Quiz band */
.quiz-band { margin-top: 3.6rem; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 2rem; padding: 2.4rem; border-radius: 32px; background: linear-gradient(135deg, #e9e0fd 0%, #f5e6fa 50%, #ffdcec 100%); }
.quiz-band h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.quiz-band-pics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.quiz-band-pics img { aspect-ratio: 2 / 3; object-fit: cover; width: 100%; border-radius: 16px; box-shadow: var(--shadow-sm); }
.quiz-band-pics img:nth-child(2) { transform: translateY(-14px); }

/* Simple pages and forms */
.page { padding-top: 2rem; }
.page h2 { font-size: 1.35rem; margin-top: 1.8rem; }
.form { display: grid; gap: 1rem; max-width: 540px; }
.form label { display: grid; gap: 0.35rem; font-size: 0.92rem; font-weight: 800; }
.form input, .form textarea { border: 2px solid var(--lavender); border-radius: 14px; background: var(--white); padding: 0.8rem 0.95rem; font-weight: 400; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--lilac); }
.hp { position: absolute; left: -9999px; }

/* Footer */
.foot { margin-top: 5rem; background: var(--lavender); border-radius: 40px 40px 0 0; padding: 3rem 0 1.5rem; font-size: 0.95rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 2rem; }
.foot-brand img { height: 52px; width: auto; margin-bottom: 0.8rem; }
.foot-brand p { color: var(--ink-soft); max-width: 30ch; }
.foot nav { display: flex; flex-direction: column; gap: 0.35rem; }
.foot nav h2 { font-size: 1rem; margin-bottom: 0.3rem; }
.foot nav a { color: var(--ink-soft); text-decoration: none; font-weight: 600; }
.foot nav a:hover { color: var(--lilac-ink); }
.foot .fine { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(115, 86, 209, 0.18); }

/* Quiz pop-up. A centered card on desktop, a bottom sheet on phones. */
.qpop { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(38, 34, 74, 0.4); backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.25s; }
.qpop[hidden] { display: none; }
.qpop.is-open { opacity: 1; }
.qpop-card { position: relative; width: min(760px, 100%); background: linear-gradient(135deg, #f1ebfe, #fff0f6); border-radius: 30px; display: grid; grid-template-columns: 1fr 1.15fr; box-shadow: var(--shadow); transform: translateY(16px); transition: transform 0.3s ease; overflow: hidden; }
.qpop.is-open .qpop-card { transform: none; }
.qpop-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 2 / 3; }
.qpop-body { padding: 2.4rem 2rem 1.8rem; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.qpop-body h2 { font-size: 2.1rem; }
.qpop-body p:not(.eyebrow) { color: var(--ink-soft); }
.qpop-no { background: none; border: 0; color: var(--muted); text-decoration: underline; font-size: 0.88rem; margin-top: 1rem; cursor: pointer; }
.qpop-x { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--white); font-size: 1.3rem; line-height: 1; cursor: pointer; z-index: 2; box-shadow: var(--shadow-sm); }
.qpop-card:not(:has(.qpop-media)) { grid-template-columns: 1fr; width: min(480px, 100%); }

/* Quiz */
.is-quiz main { min-height: 70vh; }
.quiz { width: min(860px, 100% - 32px); margin: 1.5rem auto 0; }
.quiz-start { position: relative; text-align: center; }
.quiz-collage { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.quiz-collage img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 16px; }
.quiz-start-card { position: relative; background: var(--white); width: min(560px, 100%); margin: -3.5rem auto 0; padding: 2.2rem 2rem; border-radius: 30px; box-shadow: var(--shadow); }
.quiz-start:not(:has(.quiz-collage)) .quiz-start-card { margin-top: 2rem; }
.quiz-start-card h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.quiz-start-card p { color: var(--ink-soft); }
.quiz-run { width: min(640px, 100%); margin: 0 auto; }
.q-progress { height: 8px; background: var(--lavender); border-radius: 999px; margin: 1rem 0 0.6rem; overflow: hidden; }
.q-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--lilac), var(--pink-deep)); border-radius: 999px; transition: width 0.35s ease; }
.q-count { text-align: center; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.q-title { text-align: center; font-size: clamp(1.55rem, 3.6vw, 2.1rem); margin: 1.2rem 0 1.5rem; }
.q-options { display: grid; gap: 0.65rem; }
.q-option { text-align: left; background: var(--white); border: 2px solid var(--lavender); border-radius: 18px; padding: 1rem 1.2rem; cursor: pointer; font-weight: 700; transition: border-color 0.15s, transform 0.15s, background 0.15s; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.q-option:hover, .q-option:focus-visible { border-color: var(--lilac); transform: translateX(3px); }
.q-option.is-picked { border-color: var(--lilac-deep); background: var(--lilac-deep); color: #fff; }
.q-option kbd { font: inherit; font-size: 0.75rem; color: var(--muted); background: var(--cloud); border-radius: 8px; padding: 0.05em 0.5em; }
.q-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
.q-pick { background: var(--white); border: 2px solid var(--lavender); border-radius: 20px; padding: 6px; cursor: pointer; text-align: center; transition: border-color 0.15s, transform 0.15s; font-weight: 700; }
.q-pick:hover, .q-pick:focus-visible { border-color: var(--lilac); transform: translateY(-3px); }
.q-pick img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 15px; }
.q-pick span { display: block; padding: 0.5rem; font-size: 0.9rem; }
.q-pick .q-noimg { aspect-ratio: 2 / 3; display: grid; place-items: center; background: linear-gradient(135deg, var(--lavender), var(--pink)); border-radius: 15px; font-family: var(--display); font-size: 1.2rem; }
.q-back { background: none; border: 0; margin-top: 1.4rem; font-size: 0.85rem; font-weight: 800; color: var(--muted); cursor: pointer; }
.q-back:hover { color: var(--lilac-ink); }
.q-notes { text-align: center; padding-top: 1rem; }
.q-notes h2 { font-size: 2.2rem; color: var(--lilac-deep); }
.q-notes p { color: var(--ink-soft); max-width: 46ch; margin-inline: auto; }
.q-notes-pics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 380px; margin: 0 auto 1.6rem; }
.q-notes-pics img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 14px; }
.q-gate { text-align: center; padding-top: 1.5rem; }
.q-gate h2 { font-size: 1.7rem; max-width: 26ch; margin: 1rem auto 1.4rem; }
.q-gate form { display: grid; gap: 0.75rem; }
.q-gate input[type="email"] { border: 2px solid var(--lilac); border-radius: 999px; background: var(--white); padding: 1rem 1.3rem; font-size: 1rem; }
.q-gate input[type="email"]:focus { outline: none; box-shadow: 0 0 0 3px var(--lavender); }
.q-gate .btn { width: 100%; }
.q-consent { display: flex; gap: 0.6rem; text-align: left; font-size: 0.88rem; color: var(--ink-soft); align-items: flex-start; }
.q-consent input { margin-top: 0.3rem; accent-color: var(--lilac-deep); }
.q-error { color: #b4234a; font-size: 0.9rem; min-height: 1.2em; margin: 0; }
.q-result { padding-bottom: 1rem; }
.q-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.7rem; margin-top: 1rem; }
.q-tile { background: var(--white); border-radius: 18px; padding: 1rem 0.6rem; text-align: center; font-size: 0.9rem; font-weight: 700; line-height: 1.35; box-shadow: var(--shadow-sm); }
.q-tile .ico { width: 24px; height: 24px; margin: 0 auto 0.5rem; display: block; color: var(--lilac-ink); }
.q-tile small { display: block; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.25rem; }
.q-summary { font-family: var(--display); font-weight: 500; font-size: clamp(1.3rem, 2.6vw, 1.6rem); text-align: center; line-height: 1.45; margin: 2.2rem auto; max-width: 34ch; }
.q-style { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.8rem; align-items: center; background: var(--white); border-radius: 28px; padding: 1.6rem; box-shadow: var(--shadow-sm); }
.q-style img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 18px; }
.q-style h2 { font-size: 2.4rem; color: var(--lilac-deep); margin-top: 0.4rem; }
.q-style p { color: var(--ink-soft); }
.q-band { background: var(--lavender); color: var(--lilac-ink); text-align: center; font-family: var(--display); font-weight: 600; border-radius: 999px; padding: 0.55rem; margin: 2.2rem 0 0.9rem; }
.q-outfits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
.q-outfits img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 18px; background: var(--white); box-shadow: var(--shadow-sm); }
.q-next { text-align: center; margin-top: 2.6rem; }
.q-next h2 { font-size: 1.9rem; }
.q-next p { color: var(--ink-soft); max-width: 48ch; margin-inline: auto; }
.q-reads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1rem; text-align: left; }
.fade-in { animation: fade 0.35s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Wardrobe guide sales page */
.offer { text-align: center; }
.offer-hero { padding: 3rem 0 2rem; }
.offer-hero h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
.offer-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 1rem auto 3rem; }
.offer-strip img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 16px; }
.offer-block { text-align: left; padding: 2rem 0; }
.offer-block h2 { text-align: center; }
.ticks { list-style: none; padding: 0; display: grid; gap: 0.7rem; }
.ticks li { background: var(--white); border-radius: 16px; padding: 0.9rem 1.1rem 0.9rem 2.9rem; position: relative; box-shadow: var(--shadow-sm); }
.ticks li::before { content: ""; position: absolute; left: 1.15rem; top: 1.25rem; width: 0.8rem; height: 0.45rem; border-left: 3px solid var(--lilac-deep); border-bottom: 3px solid var(--lilac-deep); transform: rotate(-45deg); }
.inside { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.inside div { background: var(--white); border-radius: 20px; padding: 1.3rem; box-shadow: var(--shadow-sm); }
.inside p, .who p { margin: 0; color: var(--ink-soft); }
.who { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.who p { background: var(--white); border-radius: 20px; padding: 1.2rem; box-shadow: var(--shadow-sm); }
.offer blockquote { background: var(--white); border-radius: 20px; margin: 0 0 1rem; padding: 1.3rem 1.5rem; font-family: var(--display); font-size: 1.1rem; }
.offer cite { display: block; font-family: var(--body); font-size: 0.88rem; font-style: normal; color: var(--muted); margin-top: 0.6rem; }
.offer-buy { background: linear-gradient(135deg, #ece5fd, #ffe6f1); border-radius: 30px; padding: 2.5rem 1.5rem; margin-top: 1rem; }
.price { font-size: 2.6rem; font-family: var(--display); font-weight: 600; }
.price s { color: var(--muted); font-size: 1.4rem; }
.guarantee { color: var(--ink-soft); margin-top: 1.4rem; font-size: 0.95rem; }

@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .nav a { padding: 0.5rem 0.6rem; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-cards { height: 520px; max-width: 520px; width: 100%; margin: 0 auto; }
  .quiz-band { grid-template-columns: 1fr; padding: 1.8rem; }
  .top-pill { flex-wrap: wrap; border-radius: 26px; padding: 8px 10px 8px 16px; gap: 0.4rem; }
  .nav { order: 3; width: 100%; margin: 0; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .top-actions { margin-left: auto; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand img { height: 38px; }
  .top-actions .btn { display: none; }
  .hero { padding: 120px 0 56px; }
  .hero-cards { height: 480px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 0.8rem; }
  .card-title { font-size: 1rem; }
  .stats { grid-template-columns: 1fr; padding: 10px 16px; }
  .stats li + li { border-left: 0; border-top: 1px solid var(--line); }
  .stats li { padding: 0.6rem 0; }
  .search { padding-left: 14px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .qpop { place-items: end center; padding: 0; }
  .qpop-card { grid-template-columns: 1fr; transform: translateY(100%); border-radius: 30px 30px 0 0; }
  .qpop-media { display: none; }
  .qpop-body { padding: 2rem 1.4rem 1.6rem; text-align: center; align-items: center; }
  .quiz-collage { grid-template-columns: repeat(3, 1fr); }
  .quiz-start-card { margin-top: -3rem; padding: 1.8rem 1.3rem; }
  .q-picks { grid-template-columns: repeat(2, 1fr); }
  .q-tiles { grid-template-columns: repeat(2, 1fr); }
  .q-style { grid-template-columns: 1fr; text-align: center; }
  .q-style img { max-width: 260px; margin: 0 auto; }
  .q-reads { grid-template-columns: 1fr 1fr; }
  .offer-strip { grid-template-columns: repeat(3, 1fr); }
  .inside, .who { grid-template-columns: 1fr; }
  .shop a { grid-template-columns: 1fr auto; }
  .shop a small { grid-column: 1; grid-row: 2; white-space: normal; }
  .shop a .ico { grid-row: 1 / span 2; grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
