/* Sharp Queen — cloned from primalqueen.com structure (Inter 800 headings, 52px h2, 430x60 CTAs, splashes, bordered photo cards). Palette: Navy, Pink & Citrus. */
:root {
  --plum: #16223D; --plum-2: #1E2A45; --violet: #FF5A7A; --violet-deep: #E63E60; --magenta: #FF8A9E;
  --lime: #32CD32; --lime-deep: #00AD21; --yellow: #F5D547; --yellow-deep: #DCBB2E;
  --lilac: #FFF2F0; --lilac-2: #FFE9E5; --lilac-3: #FFF8F6; --lilac-4: #FFDCD6;
  --ink: #000; --ink-2: #333; --gray: #555; --white: #fff;
  --font: "Inter", "Helvetica Neue", Arial, sans-serif; --marker: "Permanent Marker", "Comic Sans MS", cursive;
  --wrap: 1170px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font-family: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; position: relative; }
@media (min-width: 1000px) { .wrap { padding: 0 20px; } }

/* Type scale (reference: h2 52/800 centered plum; h3 29 / 33 / 40; body 16 black) */
.h2 { font-size: 34px; font-weight: 800; line-height: 1.25; color: var(--plum); text-align: center; margin: 0 0 28px; }
@media (min-width: 900px) { .h2 { font-size: 52px; line-height: 1.2; margin-bottom: 40px; } }
.h2--left { text-align: left; }
.h2--36 { font-size: 28px; } @media (min-width: 900px) { .h2--36 { font-size: 36px; } }
.h2--40 { font-size: 30px; } @media (min-width: 900px) { .h2--40 { font-size: 40px; } }
.h2--45 { font-size: 32px; } @media (min-width: 900px) { .h2--45 { font-size: 45px; } }
.h2 em, .h3-mid em, .h3-28 em, .alert__panel em, .hero__h1 em { font-style: normal; color: var(--violet); }
.h3-small { font-size: 20px; font-weight: 800; line-height: 1.45; margin: 0 0 14px; }
.h3-mid { font-size: 24px; font-weight: 800; line-height: 1.35; margin: 0 0 16px; color: var(--plum); }
@media (min-width: 900px) { .h3-mid { font-size: 29px; } }
.h3-33 { font-size: 26px; font-weight: 700; color: var(--plum); margin: 0 0 14px; } @media (min-width: 900px) { .h3-33 { font-size: 33px; } }
.h3-40 { font-size: 30px; font-weight: 700; color: var(--plum); margin: 0 0 14px; } @media (min-width: 900px) { .h3-40 { font-size: 40px; } }
.h3-28 { font-size: 22px; font-weight: 700; margin: 0; line-height: 1.35; } @media (min-width: 900px) { .h3-28 { font-size: 28px; } }
p { margin: 0 0 18px; }
.sub-center { text-align: center; font-size: 20px; color: var(--plum); margin: -10px 0 40px; } @media (min-width: 900px) { .sub-center { font-size: 25px; } }

/* Sections and backgrounds */
.sec { position: relative; padding: 56px 0; overflow: hidden; }
@media (min-width: 900px) { .sec { padding: 70px 0; } }
.sec--lilac { background: var(--lilac); }
.sec--lavender { background: var(--lilac-2); }
.splash { position: absolute; pointer-events: none; z-index: 0; width: 520px; opacity: 0.95; }
.sec > .wrap { position: relative; z-index: 1; }

/* Layout helpers */
.two-col { display: grid; gap: 28px; align-items: center; margin-bottom: 48px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 72px; } .two-col--rev .two-col__media { order: -1; } }
.two-col__text p { font-size: 16px; } @media (min-width: 900px) { .two-col__text p { font-size: 18px; } }

/* Countdown bar (reference: 92px, purple gradient, yellow tiles) */
.countdown-bar { background: linear-gradient(90deg, #101A30 0%, var(--plum) 45%, #2C3A5C 100%); color: var(--white); }
.countdown-bar__inner { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 64px; padding: 8px 12px; }
@media (min-width: 900px) { .countdown-bar__inner { min-height: 92px; gap: 22px; } }
.countdown-bar__mark { width: 34px; height: 34px; }
.countdown-bar__label { display: flex; flex-direction: column; line-height: 1.05; }
.countdown-bar__label strong { font-size: 15px; font-weight: 800; color: var(--yellow); letter-spacing: 0.5px; } @media (min-width: 900px) { .countdown-bar__label strong { font-size: 22px; } }
.countdown-bar__label span { font-size: 12px; font-weight: 700; opacity: 0.9; } @media (min-width: 900px) { .countdown-bar__label span { font-size: 17px; } }
.tiles { display: flex; gap: 6px; } @media (min-width: 900px) { .tiles { gap: 10px; } }
.tile { background: var(--yellow); color: var(--plum); width: 50px; height: 50px; border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.tile b { font-size: 18px; font-weight: 700; } .tile span { font-size: 9px; font-weight: 600; margin-top: 3px; letter-spacing: 0.3px; }
@media (min-width: 900px) { .tile { width: 88px; height: 70px; } .tile b { font-size: 26px; } .tile span { font-size: 13px; } }
.tiles--dark .tile { background: var(--plum); color: var(--yellow); }

/* Header */
.site-header { background: var(--lilac-3); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; }
.burger { background: none; border: 0; width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; gap: 5px; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--plum); width: 24px; }
.logo__img { display: block; width: 168px; height: auto; } @media (min-width: 900px) { .logo__img { width: 224px; } }
.logo__img--footer { width: 220px; margin: 0 auto 20px; } @media (min-width: 900px) { .logo__img--footer { width: 260px; } }
.cart { position: relative; width: 44px; height: 44px; border-radius: 50%; background: #FFE3DE; color: var(--plum); display: flex; align-items: center; justify-content: center; text-decoration: none; }
.cart svg { width: 22px; height: 22px; }
.cart__count { position: absolute; right: -2px; bottom: -2px; background: var(--violet); color: #fff; font-size: 11px; font-weight: 700; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* Hero (reference: 911px, pink gradient bg with splashes, pill, h1 36/800, CTA, social row, review card, arch) */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #FFF4F2 0%, #FFE3DE 55%, #FFF7F5 100%); padding: 24px 0 40px; }
@media (min-width: 900px) { .hero { padding: 44px 0 52px; min-height: 860px; } }
.splash--hero-1 { right: -200px; top: -200px; width: 520px; opacity: 0.85; z-index: 0; }
.splash--hero-2 { left: -220px; bottom: -220px; width: 520px; opacity: 0.5; }
.hero__grid { display: grid; gap: 28px; position: relative; z-index: 1; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.05fr 0.95fr; align-items: start; gap: 40px; } }
.sale-pill { display: inline-block; background: linear-gradient(90deg, #101A30, var(--plum-2)); color: #fff; font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 3px; margin-bottom: 18px; letter-spacing: 0.3px; }
@media (min-width: 900px) { .sale-pill { font-size: 16px; padding: 8px 20px; } }
.sale-pill__k { color: var(--yellow); }
.hero__h1 { font-size: 26px; font-weight: 800; line-height: 1.35; color: var(--plum); margin: 0 0 16px; }
@media (min-width: 900px) { .hero__h1 { font-size: 36px; line-height: 1.5; } }
.hero__kicker { display: block; color: var(--violet); font-size: 30px; letter-spacing: 0.5px; } @media (min-width: 900px) { .hero__kicker { font-size: 38px; } }
.hero__sub { font-size: 18px; line-height: 1.45; margin: 0 0 26px; color: var(--ink); } @media (min-width: 900px) { .hero__sub { font-size: 24px; } }

/* CTA (reference: 430x60, #00AD21, 21px/700 uppercase, shadow, crown, bracket corners) */
.cta-wrap { position: relative; display: inline-block; padding: 8px; margin: 6px 0 10px; }
.cta-wrap::before, .cta-wrap::after { content: ""; position: absolute; width: 16px; height: 16px; border: 2px solid var(--lime-deep); }
.cta-wrap::before { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.cta-wrap::after { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.cta-wrap > .cta::before, .cta-wrap > .cta::after { content: ""; position: absolute; width: 16px; height: 16px; border: 2px solid var(--lime-deep); }
.cta-wrap > .cta::before { right: -8px; top: -8px; border-left: 0; border-bottom: 0; }
.cta-wrap > .cta::after { left: -8px; bottom: -8px; border-right: 0; border-top: 0; }
.cta { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-width: 300px; width: 100%; max-width: 430px; height: 60px; padding: 0 28px; background: var(--lime); color: #fff; font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: 0.3px; text-decoration: none; box-shadow: 0 3px 3px rgba(0,0,0,0.2); transition: background 120ms; }
@media (min-width: 900px) { .cta { font-size: 21px; width: 430px; } }
.cta:hover { background: var(--lime-deep); }
.cta__mark { width: 26px; height: 26px; }
.cta--cart { font-size: 22px; width: 100%; max-width: 100%; } @media (min-width: 900px) { .cta--cart { font-size: 24px; } }
.cta-wrap:not(.cta-wrap--left) { display: block; width: fit-content; margin-left: auto; margin-right: auto; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: 14px; font-weight: 500; color: var(--ink); margin: 6px 0 18px; }
.trust-row--left { justify-content: flex-start; }
.trust-row--small { font-size: 12.5px; gap: 6px 12px; }
.check { display: inline-flex; align-items: center; gap: 6px; }
.check::before { content: "✓"; display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; background: var(--lime-deep); color: #fff; font-size: 11px; font-weight: 800; }
.social-row { display: flex; align-items: center; gap: 10px; font-size: 15px; margin: 10px 0 6px; flex-wrap: wrap; }
.avatars { display: inline-flex; } .avatars img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; margin-right: -10px; }
.stars { color: var(--lime-deep); letter-spacing: 1px; font-size: 15px; } .stars--violet { color: var(--violet); } .stars--gold { color: #FFC700; }
.hero-review { display: grid; grid-template-columns: 90px 1fr; gap: 16px; align-items: center; background: #fff; border: 2px solid var(--plum); border-radius: 8px; padding: 16px; max-width: 540px; margin-top: 12px; }
.hero-review__avatar { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; }
.hero-review p { font-style: italic; font-size: 15px; margin: 0 0 8px; }
.hero-review__meta { display: flex; justify-content: space-between; align-items: center; }
.hero-review__name { color: var(--violet); font-weight: 700; }
.dots { display: flex; gap: 12px; justify-content: center; margin-top: 18px; max-width: 540px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #E8CFCB; } .dots i.on { background: var(--violet); }
.hero__media { position: relative; display: flex; justify-content: center; z-index: 1; }
.arch { position: relative; width: 100%; max-width: 400px; aspect-ratio: 400 / 650; border-radius: 200px; overflow: hidden; background: var(--violet); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch--magenta { background: var(--magenta); border: 3px solid #fff; box-shadow: 0 0 0 1px #FFD6DC; }
.arch--photo { max-width: 440px; aspect-ratio: 440 / 520; border-radius: 220px 220px 24px 24px; }
.arch__label { position: absolute; left: 50%; top: 47%; transform: translate(-50%, -50%) rotate(-6deg); font-family: var(--marker); color: #fff; font-size: 24px; white-space: nowrap; text-shadow: 0 2px 8px rgba(0,0,0,0.25); }
.round-badge { width: 142px; height: 142px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #FF9DB0, var(--violet) 55%, #E63E60); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05; font-size: 14px; font-weight: 600; box-shadow: 0 6px 18px rgba(230, 62, 96, 0.35); border: 3px solid var(--yellow); }
.round-badge b { color: var(--yellow); font-size: 19px; font-weight: 900; }
.round-badge--hero { position: absolute; right: 0; bottom: 40px; }

/* Marquee (reference: 47px purple gradient strip) */
.marquee { background: linear-gradient(90deg, #101A30, var(--plum), #2C3A5C); color: #fff; overflow: hidden; height: 47px; display: flex; align-items: center; }
.marquee__track { display: flex; gap: 0; white-space: nowrap; animation: marquee 22s linear infinite; font-weight: 800; font-size: 17px; letter-spacing: 0.3px; }
.marquee__track span { padding: 0 22px; } .marquee__track em { font-style: normal; color: var(--yellow); margin-right: 8px; } .marquee__track i { font-style: normal; color: var(--magenta); margin-left: 14px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* Photo cards (reference: 3px pink border, 12-16px radius) */
.photo-card { border: 3px solid var(--violet); border-radius: 14px; overflow: hidden; background: #fff; position: relative; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-card--plum { border-color: var(--plum); }
.photo-card--tall { aspect-ratio: 3 / 4; }
.scribble { position: absolute; left: 14px; bottom: 14px; font-family: var(--marker); color: var(--yellow); font-size: 26px; transform: rotate(-4deg); text-shadow: 0 2px 6px rgba(0,0,0,0.5); }
.gray-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; grid-template-rows: 1fr 1fr; gap: 8px; max-width: 460px; }
.gray-grid img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); border-radius: 8px; }
.gray-grid img:first-child { grid-row: 1 / 3; aspect-ratio: 3 / 4; }
.gray-grid__small { aspect-ratio: 4 / 3; }
.gray { filter: grayscale(1); border-radius: 12px; }

/* Bottle composite + orbit words */
.bottle-scene { position: relative; max-width: 440px; margin: 0 auto; }
.bottle { position: relative; }
.bottle img { border-radius: 12px; }
.bottle__tint { position: absolute; left: 33%; top: 44.4%; width: 37.2%; height: 33.6%; background: #16223D; mix-blend-mode: multiply; opacity: 0.92; border-radius: 4% / 6%; }
.bottle__label { position: absolute; left: 33.3%; top: 44.8%; width: 36.6%; height: 32.8%; border-radius: 0; object-fit: fill; }
.orbit { list-style: none; margin: 0; padding: 0; }
.orbit li { position: absolute; left: var(--x); top: var(--y); background: #fff; border: 2px solid var(--violet); border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 14px; color: var(--plum); box-shadow: 0 4px 12px rgba(22,34,61,0.15); white-space: nowrap; }
.lab-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; background: linear-gradient(90deg, #1E2A45, var(--plum)); border: 2px solid var(--violet); color: #fff; padding: 22px 28px; border-radius: 4px; }
.lab-banner__icon { width: 56px; height: 56px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; } .lab-banner__icon svg { width: 30px; height: 30px; }
.lab-banner__text { font-size: 20px; font-weight: 700; flex: 1; min-width: 240px; } @media (min-width: 900px) { .lab-banner__text { font-size: 28px; } }
.lab-banner__btn { background: var(--magenta); color: #fff; font-weight: 700; font-size: 19px; padding: 12px 26px; border-radius: 4px; text-decoration: none; }

/* Belief */
.belief .two-col { margin-bottom: 0; }
.splash--belief { right: -100px; top: -60px; width: 480px; opacity: 0.7; }

/* Timeline (reference: 2290px, white, vertical line, alternating cards) */
.timeline { background: #fff; }
.deco--tl { position: absolute; left: -60px; top: 120px; width: 300px; opacity: 0.9; border-radius: 12px; transform: rotate(-8deg); display: none; } @media (min-width: 1200px) { .deco--tl { display: block; } }
.tl { list-style: none; margin: 0 auto; padding: 0; position: relative; max-width: 1020px; }
.tl::before { content: ""; position: absolute; left: 24px; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--violet), var(--plum)); }
@media (min-width: 900px) { .tl::before { left: 50%; margin-left: -1.5px; } }
.tl__item { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 0 0 40px 0; align-items: start; }
.tl__when { font-size: 26px; font-weight: 600; color: var(--plum); line-height: 1.2; grid-column: 2; margin-bottom: 8px; }
.tl__dot { grid-column: 1; grid-row: 1 / 3; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 22px; position: relative; z-index: 1; }
.tl__dot--violet { background: var(--violet); } .tl__dot--plum { background: var(--plum); }
.tl__card { grid-column: 2; background: var(--lilac-2); border: 2px solid var(--plum); border-radius: 12px; padding: 22px 26px; position: relative; font-size: 18px; line-height: 1.5; max-width: 420px; }
.tl__card p { margin: 0; } .tl__icon { display: block; font-size: 26px; margin-bottom: 8px; }
@media (min-width: 900px) {
  .tl__item { grid-template-columns: 1fr 56px 1fr; gap: 0 40px; padding-bottom: 56px; }
  .tl__dot { grid-column: 2; grid-row: 1; justify-self: center; }
  .tl__item--right .tl__when { grid-column: 1; text-align: right; font-size: 44px; align-self: start; padding-top: 4px; }
  .tl__item--right .tl__card { grid-column: 3; grid-row: 1; }
  .tl__item--left .tl__when { grid-column: 3; text-align: left; font-size: 44px; padding-top: 4px; }
  .tl__item--left .tl__card { grid-column: 1; grid-row: 1; justify-self: end; }
  .tl__item--right .tl__card::before { content: ""; position: absolute; left: -12px; top: 26px; border: 10px solid transparent; border-right-color: var(--plum); border-left: 0; }
  .tl__item--left .tl__card::after { content: ""; position: absolute; right: -12px; top: 26px; border: 10px solid transparent; border-left-color: var(--plum); border-right: 0; }
}
.fda-box { border: 1px solid var(--plum); padding: 10px 16px; font-size: 12px; text-align: center; max-width: 920px; margin: 8px auto 24px; }

/* How to use */
.howto { background: #fff; }
.splash--howto-1 { left: -180px; top: 60px; width: 520px; opacity: 0.85; } .splash--howto-2 { right: -160px; top: 120px; width: 460px; opacity: 0.6; } .splash--howto-3 { left: 30%; top: -200px; width: 420px; opacity: 0.6; }
.steps-line { display: none; } @media (min-width: 900px) { .steps-line { display: flex; align-items: center; justify-content: center; max-width: 900px; margin: 0 auto 30px; } }
.steps-line span { width: 64px; height: 64px; border-radius: 50%; background: var(--plum); color: #fff; font-weight: 800; font-size: 26px; display: flex; align-items: center; justify-content: center; border: 5px solid var(--violet); }
.steps-line i { flex: 1; height: 0; border-top: 3px dotted var(--plum); }
.steps { display: grid; gap: 22px; } @media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 60px; } }
.step { margin: 0; text-align: center; } .step figcaption { font-weight: 700; font-size: 18px; color: var(--plum); margin-top: 18px; line-height: 1.4; } @media (min-width: 900px) { .step figcaption { font-size: 20px; } }
.steps__note { text-align: center; font-size: 16px; margin: 26px 0 0; }

/* Nutrient cards (reference: 6 cards, purple header, white body, pink footer) */
.splash--nut-1 { left: -140px; top: 240px; width: 520px; opacity: 0.9; } .splash--nut-2 { right: -160px; bottom: 120px; width: 520px; opacity: 0.55; }
.ncards { display: grid; gap: 22px; margin-bottom: 30px; } @media (min-width: 700px) { .ncards { grid-template-columns: repeat(2, 1fr); } } @media (min-width: 1000px) { .ncards { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.ncard { border-radius: 14px; overflow: hidden; background: #fff; border: 3px solid var(--plum); display: flex; flex-direction: column; }
.ncard header { background: var(--plum); color: #fff; font-weight: 700; font-size: 22px; padding: 14px 20px; display: flex; justify-content: space-between; align-items: center; }
.ncard header i { font-style: normal; width: 44px; height: 44px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.ncard__body { padding: 22px 20px; text-align: center; flex: 1; }
.ncard__big { display: block; font-size: 64px; font-weight: 900; color: var(--violet); line-height: 1; }
.ncard__vs { display: block; font-size: 15px; color: var(--gray); margin-top: 6px; }
.ncard footer { background: var(--violet); color: #fff; font-weight: 600; font-size: 14px; text-align: center; padding: 12px 16px; }
.promise { margin-top: 50px; }
.promise__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 10px; text-align: center; font-size: 15px; }
@media (min-width: 900px) { .promise__list { grid-template-columns: repeat(6, 1fr); font-size: 18px; } }
.promise__list i { display: flex; align-items: center; justify-content: center; width: 86px; height: 86px; margin: 0 auto 10px; border: 3px solid var(--plum); border-radius: 50%; font-size: 34px; font-style: normal; background: #fff; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }

/* Alert card (reference: pink-bordered card, purple panel) */
.alert { background: #fff; }
.splash--alert-1 { left: -200px; top: 40px; width: 560px; } .splash--alert-2 { right: -200px; top: 20px; width: 560px; opacity: 0.9; }
.alert__card { display: grid; border: 4px solid var(--violet); border-radius: 22px; overflow: hidden; background: var(--plum); }
@media (min-width: 900px) { .alert__card { grid-template-columns: 1fr 1fr; min-height: 520px; } }
.alert__media { background: #FFE3DE; } .alert__media img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.alert__panel { color: #fff; padding: 40px 28px; display: flex; flex-direction: column; justify-content: center; }
.alert__panel h3 { font-size: 30px; font-weight: 800; line-height: 1.25; margin: 0 0 30px; } @media (min-width: 900px) { .alert__panel h3 { font-size: 36px; } }
.alert__panel .cta-wrap::before, .alert__panel .cta-wrap::after, .alert__panel .cta::before, .alert__panel .cta::after { border-color: var(--lime); }

/* Reviews showcase (reference: Facebook comment screenshots on pink) */
.splash--show-1 { right: -140px; top: 60px; width: 420px; opacity: 0.8; }
.sample-note { text-align: center; color: var(--violet-deep); font-weight: 600; font-size: 14px; border: 1.5px dashed var(--violet); border-radius: 8px; padding: 8px 14px; max-width: 560px; margin: -14px auto 30px; background: #fff; }
.comments { max-width: 970px; margin: 0 auto; display: grid; gap: 34px; }
.comment { background: #242526; color: #E4E6EB; padding: 34px 40px; display: grid; grid-template-columns: 80px 1fr; gap: 20px; align-items: start; }
.comment img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.comment b { display: block; font-size: 26px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.comment .blur { filter: blur(6px); }
.comment p { font-size: 25px; line-height: 1.45; margin: 0 0 14px; background: #3A3B3C; border-radius: 18px; padding: 0; }
.comment__meta { font-size: 20px; color: #B0B3B8; font-weight: 600; display: flex; justify-content: space-between; } .comment__meta i { font-style: normal; }
@media (max-width: 700px) { .comment { padding: 20px; grid-template-columns: 56px 1fr; } .comment img { width: 56px; height: 56px; } .comment b { font-size: 20px; } .comment p { font-size: 18px; } .comment__meta { font-size: 15px; } }

/* Founder */
.splash--founder { left: -200px; top: -80px; width: 480px; opacity: 0.6; }
.founder__top { display: grid; gap: 26px; align-items: start; margin-bottom: 48px; } @media (min-width: 900px) { .founder__top { grid-template-columns: 360px 1fr; gap: 60px; } }
.founder__card { border-radius: 14px; overflow: hidden; background: var(--magenta); position: relative; }
.founder__card img { width: 100%; aspect-ratio: 4 / 4.3; object-fit: cover; }
.founder__caption { background: var(--plum); color: #fff; text-align: center; padding: 14px; }
.founder__caption b { display: block; font-size: 24px; font-weight: 800; } .founder__caption span { font-size: 14px; font-weight: 700; letter-spacing: 0.4px; color: var(--yellow); }
.placeholder-tag { display: inline-block; margin: 10px 0 0; border: 1.5px dashed var(--magenta); color: var(--magenta); font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 6px; background: #fff; }
.founder__card .placeholder-tag { position: absolute; left: 12px; top: 12px; margin: 0; }
.founder__lead { font-size: 20px; margin-bottom: 14px; } @media (min-width: 900px) { .founder__lead { font-size: 22px; } }
.xlist { list-style: none; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; font-size: 18px; font-weight: 500; }
.xlist li::before { content: "✕ "; color: var(--magenta); font-weight: 800; }
.founder__mid .two-col__text p { font-size: 18px; }
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; border: 3px solid var(--plum); border-radius: 12px; overflow: hidden; background: var(--plum); max-width: 420px; }
.before-after figure { margin: 0; position: relative; } .before-after img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.before-after figcaption { background: var(--plum); color: #fff; text-align: center; font-weight: 700; font-size: 18px; padding: 8px; } .before-after figcaption span { position: absolute; left: 8px; top: 8px; font-size: 12px; background: rgba(0,0,0,0.55); padding: 2px 6px; border-radius: 3px; }
.dotlist { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; font-weight: 700; font-size: 18px; }
.dotlist li::before { content: "● "; color: var(--violet); font-size: 12px; vertical-align: middle; }
.plumlist { padding-left: 20px; font-size: 18px; } .plumlist li { margin-bottom: 8px; }

/* Founder 2 */
.love-card { border: 3px solid var(--violet); border-radius: 22px; padding: 34px 28px; background: transparent; margin-bottom: 60px; position: relative; }
.love-card__grid { display: grid; gap: 30px; } @media (min-width: 900px) { .love-card__grid { grid-template-columns: 1fr 1fr; align-items: center; } }
.hearts { list-style: none; padding: 0; margin: 0; font-size: 20px; display: grid; gap: 12px; }
.hearts li::before { content: "♥ "; color: var(--magenta); font-size: 22px; }
.ingred-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: center; font-weight: 700; font-size: 16px; }
.ingred-grid i { display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; margin: 0 auto 8px; border-radius: 50%; background: #FFE3DE; font-size: 44px; font-style: normal; }
.problem-row .two-col__media { display: grid; gap: 22px; }
.capsule-line { display: grid; grid-template-columns: 70px 1fr; gap: 16px; align-items: center; border-top: 1px solid #F3CFC8; border-bottom: 1px solid #F3CFC8; padding: 16px 0; margin: 18px 0; }
.capsule-line__icon { width: 70px; height: 70px; border-radius: 50%; background: var(--violet); display: flex; align-items: center; justify-content: center; font-size: 34px; }

/* Supplement Facts board */
.facts { background: #fff; }
.splash--facts-1 { left: -120px; top: 140px; width: 560px; } .splash--facts-2 { right: -160px; top: 120px; width: 560px; opacity: 0.85; }
.facts__board { max-width: 900px; margin: 0 auto 40px; background: var(--yellow); border: 2px solid var(--plum); padding: 26px; position: relative; overflow: hidden; }
.facts__board::before { content: ""; position: absolute; right: -80px; top: -60px; width: 300px; height: 300px; background: var(--magenta); border-radius: 50%; opacity: 0.85; }
.facts__board::after { content: ""; position: absolute; left: -90px; bottom: -120px; width: 320px; height: 320px; background: var(--violet); border-radius: 50%; opacity: 0.8; }
.facts__board > * { position: relative; z-index: 1; }
.facts__use { font-weight: 800; font-size: 18px; color: var(--plum); margin-bottom: 18px; }
.sf { background: #fff; border: 3px solid #000; padding: 12px 14px; font-family: "Helvetica Neue", Arial, sans-serif; color: #000; }
.sf h3 { font-size: 30px; font-weight: 900; margin: 0 0 4px; letter-spacing: -0.5px; }
.sf__serv { font-size: 14px; border-bottom: 7px solid #000; padding-bottom: 6px; margin-bottom: 8px; }
.sf__cols { display: grid; gap: 0 26px; } @media (min-width: 800px) { .sf__cols { grid-template-columns: 1fr 1fr; } }
.sf table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.sf th { text-align: right; font-weight: 700; font-size: 11px; padding: 4px 0; border-bottom: 1px solid #000; } .sf th:first-child { text-align: left; }
.sf td { padding: 4px 0; border-bottom: 1px solid #000; vertical-align: top; } .sf td:nth-child(2), .sf td:nth-child(3) { text-align: right; white-space: nowrap; padding-left: 8px; }
.sf__blend td { border-top: 4px solid #000; } .sf__blend small { font-size: 10.5px; line-height: 1.3; display: block; }
.sf__foot { font-size: 12px; margin-top: 8px; line-height: 1.4; }
.facts__fda { background: #fff; border: 2px solid #000; font-size: 13px; padding: 10px 14px; margin: 18px 0 0; }
.badges { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; text-align: center; font-weight: 700; font-size: 18px; max-width: 900px; margin: 0 auto; }
@media (min-width: 800px) { .badges { grid-template-columns: repeat(4, 1fr); } }
.badges i { display: flex; align-items: center; justify-content: center; width: 90px; height: 90px; margin: 0 auto 10px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--magenta); font-size: 38px; font-style: normal; }

/* Buy boxes (reference: pink sparkly bg, two boxes, hot pink + light) */
.join { background: radial-gradient(circle at 20% 20%, #FFF0ED 0%, #FFE0DA 40%, #FFF6F4 100%); }
.join__timer { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.join__timer .round-badge { width: 130px; height: 130px; }
.join__note { text-align: center; font-size: 16px; background: rgba(255,255,255,0.7); border-radius: 30px; padding: 8px 20px; width: fit-content; margin: 0 auto 36px; }
.boxes { display: grid; gap: 30px; align-items: start; } @media (min-width: 900px) { .boxes { grid-template-columns: 1fr 1fr; gap: 60px; max-width: 900px; margin: 0 auto; } }
/* Three lengths: the best value sits in the middle on desktop and first on a phone. */
.boxes--three { grid-template-columns: 1fr; gap: 26px; max-width: 520px; margin: 0 auto; }
.boxes--three .box--best { order: -1; }
@media (min-width: 1000px) { .boxes--three { grid-template-columns: 1fr 1.1fr 1fr; gap: 26px; max-width: 1140px; align-items: center; } .boxes--three .box--best { order: 0; } }
.box--best { box-shadow: 0 18px 44px rgba(138,31,214,0.42); }
@media (min-width: 1000px) { .box--best { transform: scale(1.04); z-index: 1; } }
.box__title span { display: block; font-size: 17px; font-weight: 600; opacity: 0.85; margin-top: 4px; }
.box__price-row { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 18px 0; gap: 12px; }
.box__perday { font-size: 15px; font-weight: 700; opacity: 0.85; }
.box--light .box__perday { color: var(--plum-2); }
.box__list li > b, .box__list li > span > b { white-space: nowrap; }
/* Two identical badges stack awkwardly on a phone: keep one. */
@media (max-width: 760px) { .join__timer .round-badge:last-child { display: none; } }
.join__why { text-align: center; font-size: 18px; font-weight: 700; color: var(--plum); max-width: 620px; margin: 0 auto 30px; line-height: 1.5; }
@media (min-width: 900px) { .join__why { font-size: 20px; } }
.free-tag { line-height: 1.15; text-align: center; }
.box { border-radius: 14px; padding: 0 0 24px; position: relative; }
.box--hot { background: var(--violet); color: #fff; box-shadow: 0 12px 30px rgba(230,62,96,0.35); }
.box--light { background: var(--lilac-3); color: var(--plum); border: 2px solid var(--plum); }
.box__sale { background: var(--yellow); color: var(--plum); text-align: center; padding: 12px; border-radius: 14px 14px 0 0; line-height: 1.2; }
.box__sale b { display: block; font-size: 24px; font-weight: 800; } .box__sale span { font-size: 20px; }
.box__title { text-align: center; font-size: 30px; font-weight: 800; line-height: 1.15; margin: 20px 0 14px; } @media (min-width: 900px) { .box__title { font-size: 32px; } }
.box__gallery { padding: 0 18px; }
.box__main { position: relative; background: #FFF0ED; border-radius: 8px; padding: 26px; min-height: 300px; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.box__main .bottle--small { width: 180px; } .box__main .bottle--small img { border-radius: 8px; }
.box__main .bottle--behind { position: absolute; left: 26px; bottom: 26px; width: 150px; opacity: 0.95; transform: rotate(-6deg); }
.free-tag { position: absolute; right: 18px; top: 22px; background: var(--plum); color: #fff; font-weight: 800; font-size: 14px; width: 74px; height: 74px; border-radius: 50%; display: flex; align-items: center; justify-content: center; clip-path: polygon(50% 0,61% 9%,75% 5%,82% 18%,96% 22%,95% 36%,100% 50%,95% 64%,96% 78%,82% 82%,75% 95%,61% 91%,50% 100%,39% 91%,25% 95%,18% 82%,4% 78%,5% 64%,0 50%,5% 36%,4% 22%,18% 18%,25% 5%,39% 9%); }
.gift { position: absolute; right: 30px; bottom: 30px; font-size: 64px; }
.box__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.box__thumbs img { aspect-ratio: 1; object-fit: cover; border-radius: 4px; border: 2px solid rgba(255,255,255,0.6); }
.box__list { list-style: none; padding: 0 18px; margin: 18px 0 0; font-size: 16px; font-weight: 600; }
.box__list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.35); }
.box--light .box__list li { border-color: #F3CFC8; }
.box__list li > span:first-child::before { content: "✓"; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--lime-deep); color: #fff; font-size: 12px; margin-right: 10px; }
.box--light .box__list li > span:first-child::before { background: transparent; color: var(--plum); font-weight: 900; font-size: 16px; }
.box__list em { font-style: normal; color: var(--yellow); font-weight: 800; } .box--light .box__list em { color: var(--magenta); }
.box__list s { opacity: 0.8; }
.box__qty-row { display: flex; justify-content: space-between; align-items: flex-end; padding: 18px 18px 0; gap: 12px; }
.box__qty-row label { font-weight: 700; display: flex; flex-direction: column; gap: 8px; }
.qty { display: inline-flex; border: 2px solid currentColor; border-radius: 4px; overflow: hidden; }
.qty button { background: transparent; color: inherit; border: 0; width: 44px; height: 44px; font-size: 22px; cursor: pointer; } .qty output { width: 56px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; }
.box__price { font-size: 40px; font-weight: 900; line-height: 1; } .box__price s { font-size: 26px; font-weight: 600; opacity: 0.7; margin-right: 6px; }
.box .cta-wrap { display: block; width: auto; margin: 22px 18px 6px; padding: 8px; }
.box .cta-wrap::before, .box .cta-wrap::after, .box .cta::before, .box .cta::after { border-color: var(--lime); }
.box .trust-row { padding: 0 18px; }
.ships { text-align: center; font-size: 14px; font-weight: 500; border-top: 1px solid rgba(255,255,255,0.35); margin: 12px 18px 0; padding-top: 14px; } .box--light .ships { border-color: #F3CFC8; }
.ships mark { background: var(--yellow); color: var(--plum); font-weight: 700; padding: 1px 4px; }
/* The dispatch window is a fact, not a benefit: bold it, do not colour it like a win. */
.ships b { color: inherit; font-weight: 800; }
.allergen { max-width: 900px; margin: 30px auto 0; font-size: 12.5px; color: var(--plum-2); text-align: center; line-height: 1.5; }

/* Review wall (reference: keyword filters, Stamped widget) */
.wall { background: #fff; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0 0 34px; }
.filter { border: 2px solid var(--violet); background: var(--lilac); color: #000; font-weight: 700; font-size: 18px; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.filter.on { background: var(--violet); color: #fff; }
.wall__summary { display: grid; gap: 22px; align-items: center; margin-bottom: 30px; } @media (min-width: 900px) { .wall__summary { grid-template-columns: 200px 1fr 1fr; gap: 30px; } }
.wall__score b { font-size: 48px; font-weight: 700; display: block; line-height: 1; } .wall__score small { display: block; color: var(--gray); margin-top: 6px; }
.wall__bars div { display: grid; grid-template-columns: 90px 1fr 60px; gap: 10px; align-items: center; font-size: 13px; color: #888; margin-bottom: 4px; }
.wall__bars i { height: 12px; background: #eee; position: relative; } .wall__bars i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: #FFC700; }
.wall__photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; max-width: 300px; } .wall__photos img { aspect-ratio: 1; object-fit: cover; }
.wall__tabs { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #eee; margin-bottom: 20px; font-size: 15px; }
.wall__tabs .on { border-bottom: 3px solid #333; padding: 8px 0; font-weight: 600; } .wall__tabs .on b { background: #f2f2f2; padding: 2px 8px; margin-left: 6px; font-weight: 600; }
.wall__sort { border: 1px solid #ddd; padding: 8px 14px; font-size: 13px; color: #555; }
.reviews { display: grid; gap: 0; }
.rev { border-bottom: 1px solid #eee; padding: 24px 0; font-family: "Open Sans", var(--font); }
.rev__who { display: grid; grid-template-columns: 46px 1fr auto; gap: 12px; align-items: center; margin-bottom: 12px; }
.rev__who i { width: 46px; height: 46px; border-radius: 50%; background: #f1f1f1; color: #999; display: flex; align-items: center; justify-content: center; font-style: normal; font-weight: 600; position: relative; }
.rev__who i::after { content: "✓"; position: absolute; right: -4px; bottom: -4px; width: 16px; height: 16px; border-radius: 50%; background: #22B573; color: #fff; font-size: 10px; display: flex; align-items: center; justify-content: center; }
.rev__who b { font-size: 14px; } .rev__who em { font-style: normal; color: #22B573; font-size: 14px; margin-left: 6px; } .rev__who small { display: block; color: #666; font-size: 12px; }
.rev__who time { color: #666; font-size: 13px; }
.rev__title { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.rev p { font-size: 14px; margin: 0 0 12px; color: #222; }
.rev__photos { display: flex; gap: 10px; margin-bottom: 12px; } .rev__photos img { width: 130px; height: 130px; object-fit: cover; }
.rev__share { font-size: 13px; color: #333; }
.wall__more { text-align: center; margin-top: 30px; } .btn-dark { display: inline-block; background: #333; color: #fff; padding: 12px 18px; font-size: 15px; text-decoration: none; }

/* FAQ (reference: white cards, purple 2px border, radius 8, yellow shadow when open) */
.faq { background: #fff; }
.faq__list { max-width: 830px; margin: 0 auto 30px; display: grid; gap: 22px; }
.faq details { background: #fff; border: 2px solid var(--plum); border-radius: 8px; padding: 0 26px; transition: box-shadow 150ms; }
.faq details[open] { box-shadow: -8px 8px 0 var(--yellow); }
.faq summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 20px; padding: 22px 40px 22px 0; position: relative; }
@media (min-width: 900px) { .faq summary { font-size: 22px; } }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 18px; font-size: 30px; font-weight: 300; }
.faq details[open] summary::after { content: "×"; }
.faq__a { padding: 0 0 22px; font-size: 18px; color: #222; line-height: 1.55; }

/* Footer (reference: purple #16223D, centered) */
.footer { background: var(--plum); color: #fff; padding: 40px 0 120px; text-align: center; }
.footer__logo { display: flex; justify-content: center; }
.footer__email { font-weight: 700; margin-bottom: 18px; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 0; margin-bottom: 26px; font-weight: 600; }
.footer__links a { color: #fff; text-decoration: none; padding: 0 12px; border-right: 1px solid rgba(255,255,255,0.6); } .footer__links a:last-child { border-right: 0; }
.footer__box { border: 1px solid #fff; padding: 12px 18px; max-width: 1030px; margin: 0 auto 20px; font-size: 14px; font-weight: 600; }
.footer__legal { max-width: 1000px; margin: 26px auto; font-size: 14px; font-weight: 600; line-height: 1.5; }
.footer__social { display: flex; justify-content: center; gap: 30px; font-size: 22px; margin-bottom: 20px; }
.footer__copy { font-weight: 600; font-size: 14px; }

/* Sticky bottom bar (reference: purple gradient, green button) */
.sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: linear-gradient(90deg, #101A30, var(--plum), #2C3A5C); color: #fff; display: flex; align-items: center; justify-content: center; gap: 24px; padding: 10px 16px; transform: translateY(110%); transition: transform 220ms; }
.sticky-bar.show { transform: translateY(0); }
.sticky-bar__text { display: flex; flex-direction: column; line-height: 1.05; } .sticky-bar__text b { color: var(--yellow); font-size: 18px; font-weight: 800; } .sticky-bar__text span { font-size: 14px; font-weight: 700; }
.sticky-bar__btn { background: var(--lime-deep); color: #fff; font-weight: 800; font-size: 16px; padding: 12px 20px; border-radius: 4px; text-decoration: none; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .sticky-bar { transition: none; } }

/* Mobile fixes */
@media (max-width: 899px) {
  .splash--hero-1 { right: -260px; top: -260px; width: 420px; opacity: 0.55; }
  .orbit { display: none; }
  .bottle-scene { max-width: 340px; }
  .facts__board { padding: 14px 10px; }
  .sf { padding: 10px 8px; }
  .sf table { font-size: 11.5px; }
  .sf td:nth-child(2), .sf td:nth-child(3) { white-space: normal; padding-left: 6px; }
  .sf h3 { font-size: 24px; }
  .facts__board::before { width: 200px; height: 200px; } .facts__board::after { width: 220px; height: 220px; }
  .join__timer .round-badge { width: 100px; height: 100px; font-size: 12px; } .join__timer .round-badge b { font-size: 15px; }
  .comment p { font-size: 17px; }
}


/* ===== Sharp Queen tests v2 =====================================================================
   One motif: a coral signal travelling a teal nerve. It is the countdown, the progress bar, the
   score gauge, and the first picture in the bridge to the product. */

.test-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #FFF4F2 0%, #FFE3DE 55%, #FFF7F5 100%); padding: 26px 0 46px; }
@media (min-width: 900px) { .test-hero { padding: 44px 0 66px; } }
.test-hero .wrap { position: relative; z-index: 2; }
.neural { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.85; pointer-events: none; }
.splash--test-1 { right: -220px; top: -220px; width: 520px; opacity: 0.75; }
.splash--test-2 { left: -240px; bottom: -240px; width: 520px; opacity: 0.45; }

.test-kicker { display: inline-block; background: var(--plum); color: var(--yellow); font-weight: 800; font-size: 12px; letter-spacing: 1.6px; padding: 8px 14px; border-radius: 3px; margin-bottom: 16px; }
.test-h1 { font-size: 33px; font-weight: 800; line-height: 1.12; color: var(--plum); margin: 0 0 14px; text-align: center; letter-spacing: -0.5px; }
@media (min-width: 900px) { .test-h1 { font-size: 58px; } }
.test-h1 em { font-style: normal; color: var(--violet); }
.test-sub { font-size: 17px; line-height: 1.5; text-align: center; max-width: 660px; margin: 0 auto 22px; }
@media (min-width: 900px) { .test-sub { font-size: 21px; } }
.test-hero__head { text-align: center; }
.test-meta { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; font-weight: 600; margin-bottom: 22px; }
.mute { display: inline-flex; align-items: center; gap: 6px; background: none; border: 2px solid rgba(22,34,61,0.22); color: var(--plum); border-radius: 999px; padding: 5px 12px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.mute:hover { border-color: var(--plum); }
.mute .mute__off { display: none; } .mute.is-muted .mute__on { display: none; } .mute.is-muted .mute__off { display: inline; } .mute.is-muted { opacity: 0.55; }

/* Challenge banner (?vs=) */
.challenge { display: flex; align-items: center; gap: 14px; max-width: 620px; margin: 0 auto 24px; background: var(--plum); color: #fff; border-radius: 14px; padding: 14px 18px; text-align: left; box-shadow: 0 12px 30px rgba(22,34,61,0.18); }
.challenge img { width: 44px; height: auto; flex: none; }
.challenge b { display: block; font-size: 18px; color: var(--yellow); line-height: 1.2; margin-bottom: 3px; }
.challenge span { font-size: 14px; opacity: 0.9; line-height: 1.35; }

/* ---- The signal line (rounds / steps) --------------------------------------------------------- */
.sig-wrap { flex: 1; max-width: 280px; margin: 0 14px; }
.sig { display: block; width: 100%; height: 38px; overflow: visible; }
.sig__fibre { fill: none; stroke: rgba(255,255,255,0.28); stroke-width: 3; stroke-linecap: round; }
.sig__lit { fill: none; stroke: var(--yellow); stroke-width: 3; stroke-linecap: round; }
.sig__dot { fill: rgba(255,255,255,0.18); stroke: rgba(255,255,255,0.4); stroke-width: 1.5; transition: fill 300ms; }
.sig__num { font-family: var(--font); font-size: 11px; font-weight: 800; fill: rgba(255,255,255,0.75); }
.sig__st.is-done .sig__dot { fill: var(--yellow); stroke: var(--yellow); }
.sig__st.is-done .sig__num { fill: var(--plum); }
.sig__st.has-label .sig__num { font-size: 9px; }
.sig__st.is-now .sig__dot { fill: var(--violet); stroke: #fff; }
.sig__pulse { fill: var(--violet); }
.stage__top .sig__fibre { stroke: rgba(22,34,61,0.16); }
.stage__top .sig__dot { fill: rgba(22,34,61,0.1); stroke: rgba(22,34,61,0.25); }
.stage__top .sig__num { fill: rgba(22,34,61,0.6); }
.stage__top .sig__lit { stroke: var(--violet); }
.stage__top .sig__st.is-done .sig__dot { fill: var(--violet); stroke: var(--violet); }
.stage__top .sig__st.is-done .sig__num { fill: #fff; }

/* Waiting ring: the pulse circles while you wait for green */
.ring-wrap { width: 108px; height: 108px; margin: 0 auto 10px; }
.sigring { width: 100%; height: 100%; }
.sigring__track { fill: none; stroke: rgba(255,255,255,0.16); stroke-width: 6; }
.sigring__arc { fill: none; stroke: rgba(255,255,255,0.3); stroke-width: 6; stroke-dasharray: 40 274; stroke-linecap: round; transform-origin: 60px 60px; animation: sigspin 1.6s linear infinite; }
.sigring__pulse { fill: var(--violet); transform-origin: 60px 60px; animation: sigspin 1.6s linear infinite; }
@keyframes sigspin { to { transform: rotate(360deg); } }

/* ---- Game stage -------------------------------------------------------------------------------- */
.stage { max-width: 780px; margin: 0 auto; background: #fff; border: 3px solid var(--violet); border-radius: 20px; box-shadow: 0 18px 44px rgba(22,34,61,0.16); overflow: hidden; position: relative; }
.stage__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 18px; background: var(--lilac-2); font-weight: 700; font-size: 14px; color: var(--plum); }
.stage__top b { font-weight: 800; }
.stage__timer { font-variant-numeric: tabular-nums; font-weight: 800; }
.stage__pad { min-height: 340px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 28px 22px; -webkit-user-select: none; user-select: none; transition: background 140ms; }
@media (min-width: 900px) { .stage__pad { min-height: 430px; } }
.stage__pad h3 { font-size: 28px; font-weight: 800; margin: 0 0 10px; line-height: 1.14; color: var(--plum); letter-spacing: -0.3px; }
@media (min-width: 900px) { .stage__pad h3 { font-size: 38px; } }
.stage__pad p { font-size: 16.5px; margin: 0 0 18px; max-width: 500px; }
.stage__obj { width: 140px; height: auto; margin: -6px auto 10px; filter: drop-shadow(0 10px 18px rgba(22,34,61,0.18)); }
@media (min-width: 900px) { .stage__obj { width: 168px; } }
.stage__note { font-size: 13px !important; color: var(--gray); margin: 12px 0 0 !important; }
.stage__big { font-size: 68px; font-weight: 900; line-height: 1; color: var(--violet); letter-spacing: -2px; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) { .stage__big { font-size: 94px; } }
.stage__big small { font-size: 22px; font-weight: 700; color: var(--plum); letter-spacing: 0; }

/* Playing: the stage takes the screen, so the whole screen is the button. */
.stage.is-playing { position: fixed; inset: 0; z-index: 120; max-width: none; border: 0; border-radius: 0; box-shadow: none; display: flex; flex-direction: column; }
.stage.is-playing .stage__pad { flex: 1; min-height: 0; cursor: pointer; overflow-y: auto; justify-content: center; }
.stage.is-playing .stage__top { padding: 14px 20px; }
body.sq-playing { overflow: hidden; }

/* Reflex states */
.stage--reflex .stage__pad { cursor: pointer; }
.is-ready { background: var(--lilac); }
.is-wait { background: var(--plum); color: #fff; }
.is-wait h3, .is-wait p { color: #fff; }
.is-go { background: var(--lime-deep); color: #fff; position: relative; overflow: hidden; }
.is-go h3 { color: #fff; font-size: 58px; letter-spacing: 4px; }
@media (min-width: 900px) { .is-go h3 { font-size: 96px; } }
.go-flash { position: absolute; left: 50%; top: 50%; width: 320px; height: 320px; margin: -160px 0 0 -160px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 70%); pointer-events: none; }
.is-early { background: var(--violet-deep); color: #fff; }
.is-early h3, .is-early p { color: #fff; }
.is-result { background: var(--lilac); }
.is-scoring { background: var(--lilac-2); }

/* ---- Word test: the cards ---------------------------------------------------------------------- */
.wordwall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; max-width: 580px; margin: 6px auto 0; perspective: 900px; }
@media (min-width: 700px) { .wordwall { grid-template-columns: repeat(5, 1fr); gap: 10px; } }
.wcard { position: relative; display: block; aspect-ratio: 5 / 3.4; transform-style: preserve-3d; transition: transform 450ms cubic-bezier(0.4, 0, 0.2, 1); }
.wcard > i { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 10px; font-style: normal; font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: 0.3px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
@media (min-width: 700px) { .wcard > i { font-size: 15px; } }
.wcard__face { background: #fff; border: 2px solid var(--plum); color: var(--plum); }
.wcard__back { background: var(--violet); border: 2px solid var(--violet-deep); transform: rotateY(180deg); }
.wcard__back img { width: 22px; height: 22px; opacity: 0.9; }
.wcard.is-down { transform: rotateY(180deg); }
.wcard.is-hit .wcard__face { background: var(--yellow); border-color: var(--plum); }
.wcard.is-missed .wcard__face { background: #f0eceb; border-color: #cfc7c5; color: #9a908e; text-decoration: line-through; }
.bar { width: 100%; max-width: 580px; height: 10px; background: rgba(22,34,61,0.1); border-radius: 5px; margin: 16px auto 0; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--violet), var(--yellow)); width: 100%; transition: width 1s linear; }
.recall { width: 100%; max-width: 520px; }
.recall input { width: 100%; height: 54px; border: 2px solid var(--plum); border-radius: 10px; font-size: 19px; padding: 0 16px; font-family: var(--font); font-weight: 700; text-align: center; background: #fff; color: var(--plum); }
.recall input:focus { outline: 3px solid var(--yellow); outline-offset: 1px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin-top: 12px; }
.chips span { background: var(--yellow); color: var(--plum); font-weight: 800; padding: 6px 12px; border-radius: 999px; font-size: 13px; text-transform: uppercase; }
.chips span.miss { background: #efe9e8; text-decoration: line-through; color: #8d8483; }
.mathq { font-size: 44px; font-weight: 900; color: var(--plum); margin: 4px 0 14px; font-variant-numeric: tabular-nums; }
.mathq + .recall input { max-width: 190px; margin: 0 auto; display: block; }
.is-memo, .is-recall { background: #fff; }
.is-math { background: var(--lilac-2); }

/* ---- Age pick ---------------------------------------------------------------------------------- */
.agepick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; max-width: 500px; margin: 8px auto 0; }
@media (min-width: 640px) { .agepick { grid-template-columns: repeat(5, 1fr); } }
.agepick button { height: 56px; border: 2px solid var(--plum); background: #fff; border-radius: 10px; font-family: var(--font); font-weight: 800; font-size: 16px; color: var(--plum); cursor: pointer; transition: transform 120ms, background 120ms; }
.agepick button:hover { background: var(--yellow); transform: translateY(-2px); }
.agepick button:active { transform: scale(0.96, 1.04); }

/* Flex containers ignore the hidden attribute unless told otherwise. */
.scorecard [hidden], .stage[hidden], .hub [hidden] { display: none !important; }

/* ---- Score card -------------------------------------------------------------------------------- */
.scorecard { max-width: 780px; margin: 0 auto; }
.scorecard__box { background: var(--plum); color: #fff; border-radius: 22px; padding: 28px 22px 26px; text-align: center; position: relative; overflow: hidden; }
@media (min-width: 900px) { .scorecard__box { padding: 38px 40px 32px; } }
.scorecard__box::before { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(255,90,122,0.55) 0%, rgba(255,90,122,0) 70%); }
.scorecard__box::after { content: ""; position: absolute; left: -140px; bottom: -150px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(245,213,71,0.4) 0%, rgba(245,213,71,0) 70%); }
.scorecard__box > * { position: relative; z-index: 1; }
.scorecard__obj { width: 118px; height: auto; margin: 0 auto 6px; display: block; filter: drop-shadow(0 14px 22px rgba(0,0,0,0.28)); }
@media (min-width: 900px) { .scorecard__obj { width: 150px; } }
.scorecard__label { font-weight: 800; letter-spacing: 1.6px; font-size: 12px; color: var(--yellow); margin-bottom: 6px; }
.scorecard__num { font-size: 78px; font-weight: 900; line-height: 1; letter-spacing: -3px; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) { .scorecard__num { font-size: 112px; } }
.scorecard__num small { font-size: 24px; font-weight: 700; letter-spacing: 0; margin-left: 4px; }
.scorecard__verdict { font-size: 23px; font-weight: 800; margin: 12px 0 2px; line-height: 1.2; }
@media (min-width: 900px) { .scorecard__verdict { font-size: 30px; } }
.scorecard__verdict em { font-style: normal; color: var(--yellow); }
.gauge-wrap { max-width: 360px; margin: 14px auto 0; }
.gauge { display: block; width: 100%; overflow: visible; }
.gauge__track { fill: none; stroke: rgba(255,255,255,0.18); stroke-width: 10; stroke-linecap: round; }
.gauge__arc { fill: none; stroke: var(--yellow); stroke-width: 10; stroke-linecap: round; }
.gauge__median { stroke: rgba(255,255,255,0.5); stroke-width: 2.5; stroke-linecap: round; }
.gauge__pulse { fill: var(--violet); stroke: #fff; stroke-width: 2.5; }
.pct-labels { display: flex; justify-content: space-between; max-width: 360px; margin: -8px auto 12px; font-size: 11.5px; font-weight: 700; opacity: 0.8; letter-spacing: 0.3px; }
.scorecard__line { font-size: 16px; line-height: 1.5; opacity: 0.95; max-width: 540px; margin: 6px auto 0; }
.scorecard__line b { color: var(--yellow); }
.scorecard__line2 { font-size: 14.5px; line-height: 1.5; opacity: 0.8; max-width: 540px; margin: 10px auto 0; }
.scorecard__line2 b { color: var(--yellow); }
.scorecard .chips { margin-top: 16px; }
.scorecard .chips span { background: var(--yellow); }
.scorecard .chips span.miss { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.75); }
.scorecard__vs { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 16px; margin: 16px auto 0; background: rgba(255,255,255,0.1); border-radius: 14px; padding: 12px 16px; max-width: 460px; }
.scorecard__vs b { display: block; font-size: 24px; color: var(--yellow); line-height: 1; }
.scorecard__vs span { font-size: 12px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; opacity: 0.85; }
.scorecard__vs i { font-style: normal; font-weight: 800; opacity: 0.5; }
.scorecard__vs em { flex-basis: 100%; font-style: normal; font-weight: 800; font-size: 15px; color: #fff; }
.scorecard__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 16px; }
.scorecard__actions .btn-ghost { min-height: 42px; padding: 0 14px; font-size: 13.5px; border-color: rgba(255,255,255,0.4); color: rgba(255,255,255,0.85); }
.scorecard__actions .btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,0.75); }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 20px; border: 2px solid rgba(255,255,255,0.65); border-radius: 8px; color: #fff; font-family: var(--font); font-weight: 800; font-size: 15px; background: transparent; cursor: pointer; text-decoration: none; transition: transform 120ms, background 150ms; }
.btn-ghost:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); }
.btn-solid { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border: 0; border-radius: 8px; color: var(--plum); font-family: var(--font); font-weight: 800; font-size: 15px; background: var(--yellow); cursor: pointer; text-decoration: none; transition: transform 120ms, box-shadow 150ms; }
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,0.22); }
.btn-solid:active, .btn-ghost:active { transform: scale(0.96, 1.03); }
.scorecard__meaning { display: inline-block; margin-top: 16px; color: #fff; font-weight: 800; font-size: 15px; text-decoration: none; opacity: 0.9; }
.scorecard__meaning span { display: inline-block; animation: bob 1.4s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
.toast { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); background: #fff; color: var(--plum); font-weight: 700; font-size: 14px; padding: 10px 16px; border-radius: 999px; box-shadow: 0 10px 24px rgba(0,0,0,0.25); max-width: 90%; z-index: 3; }
/* The save block: the primary action on the card, inside the card, right under the number. */
.savebox { margin: 22px 0 0; padding: 20px 18px 18px; background: rgba(255,255,255,0.07);
           border: 2px solid var(--yellow); border-radius: 16px; text-align: center; }
@media (min-width: 700px) { .savebox { padding: 24px 26px 20px; } }
.savebox.is-done { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.05); }
.savebox__h { margin: 0 0 6px; font-size: 22px; font-weight: 800; line-height: 1.25; color: var(--yellow); }
@media (min-width: 700px) { .savebox__h { font-size: 25px; } }
.savebox.is-done .savebox__h { color: #fff; font-size: 20px; overflow-wrap: anywhere; }
.savebox__tick { color: var(--lime); }
.savebox__p { margin: 0 0 16px; font-size: 15px; line-height: 1.6; color: #D8DEE9; }
.savebox__form { display: flex; flex-wrap: wrap; gap: 10px; }
.savebox__form input { flex: 1 1 220px; min-width: 0; height: 56px; border: 2px solid transparent; border-radius: 10px;
           padding: 0 16px; font-size: 17px; font-family: var(--font); color: var(--plum); background: #fff; }
.savebox__form input:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(255,90,122,0.25); }
.savebox__form button { flex: 1 1 200px; height: 56px; padding: 0 22px; background: var(--lime); color: #fff; border: 0;
           border-radius: 10px; font-family: var(--font); font-weight: 800; font-size: 16px; letter-spacing: 0.4px;
           cursor: pointer; box-shadow: 0 4px 0 rgba(0,0,0,0.25); transition: background 140ms, transform 120ms; }
.savebox__form button:hover { background: var(--lime-deep); }
.savebox__form button:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(0,0,0,0.25); }
.savebox__form button[disabled] { opacity: 0.7; cursor: default; }
.savebox__fine { margin: 12px 0 0; font-size: 12.5px; color: rgba(255,255,255,0.6); }
.savebox__go { display: inline-block; margin-top: 4px; padding: 12px 22px; background: var(--yellow); color: var(--plum);
           border-radius: 999px; font-weight: 800; font-size: 15px; letter-spacing: 0.4px; text-decoration: none; }
.savebox__go:hover { background: var(--yellow-deep); }

/* ---- Hub: the brain map ------------------------------------------------------------------------ */
.hub { max-width: 900px; margin: 0 auto 34px; }
.brainmap { position: relative; width: 100%; max-width: 560px; margin: 0 auto; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.brainmap__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.brainmap__track { fill: none; stroke: rgba(22,34,61,0.16); stroke-width: 4; stroke-dasharray: 2 6; stroke-linecap: round; }
.brainmap__fill { fill: none; stroke: var(--violet); stroke-width: 5; stroke-linecap: round; }
.brainmap__brain { width: 34%; height: auto; transform: translateY(-12%); filter: drop-shadow(0 18px 30px rgba(22,34,61,0.24)); }
.brainmap__score { position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%); text-align: center; background: var(--plum); color: #fff; border-radius: 14px; padding: 10px 18px; box-shadow: 0 12px 26px rgba(22,34,61,0.22); }
.brainmap__score b { display: block; font-size: 30px; font-weight: 900; color: var(--yellow); line-height: 1; font-variant-numeric: tabular-nums; }
.brainmap__score span { font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; opacity: 0.85; }
.brainmap__score small { display: block; font-size: 12px; opacity: 0.75; margin-top: 2px; }
.node { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 4px; width: 116px; text-align: center; text-decoration: none; color: var(--plum); transform: translate(-50%, -50%); }
.node i { width: 20px; height: 20px; border-radius: 50%; background: rgba(22,34,61,0.16); box-shadow: 0 0 0 5px rgba(22,34,61,0.06); transition: background 300ms, box-shadow 300ms; }
.node__name { font-size: 12px; font-weight: 800; line-height: 1.15; }
.node__score { font-size: 13px; font-weight: 900; color: var(--gray); font-variant-numeric: tabular-nums; }
.node:not(.is-lit) .node__score { display: none; }
.node.is-lit i { background: var(--violet); box-shadow: 0 0 0 6px rgba(255,90,122,0.22); }
.node.is-lit .node__score { color: var(--violet-deep); }
.node:not(.is-lit) i { animation: nodepulse 2.4s ease-in-out infinite; }
@keyframes nodepulse { 0%,100% { box-shadow: 0 0 0 5px rgba(22,34,61,0.06); } 50% { box-shadow: 0 0 0 10px rgba(22,34,61,0.02); } }
/* Six points on the ring: -90, -30, 30, 90, 150, 210 degrees at radius 44% */
.node--reflex { left: 50%;   top: 6%; }
.node--words  { left: 88.1%; top: 28%; }
.node--vault  { left: 88.1%; top: 72%; }
.node--grid   { left: 50%;   top: 94%; }
.node--color  { left: 11.9%; top: 72%; }
.node--lights { left: 11.9%; top: 28%; }
@media (max-width: 620px) {
  .brainmap { max-width: 400px; }
  .node { width: 88px; }
  .node__name { font-size: 10.5px; }
  .brainmap__score { padding: 8px 14px; bottom: 14%; }
  .brainmap__score b { font-size: 24px; }
}
.stamps { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 14px; margin: 18px auto 0; background: var(--lilac-2); border-radius: 14px; padding: 12px 18px; max-width: 620px; }
.stamps__label { font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--plum); }
.stamps__row { display: flex; gap: 6px; }
.stamp { width: 30px; height: 30px; border-radius: 50%; border: 2px dashed rgba(22,34,61,0.28); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: rgba(22,34,61,0.45); }
.stamp.is-on { background: var(--yellow); border: 2px solid var(--plum); color: var(--plum); }
.stamps__note { font-size: 13px; font-weight: 700; color: var(--plum); }

.hub-grid { display: grid; gap: 16px; margin-top: 10px; }
@media (min-width: 700px) { .hub-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1100px) { .hub-grid--six { grid-template-columns: repeat(3, 1fr); } }
.hub-card { display: block; background: #fff; border: 3px solid var(--violet); border-radius: 18px; padding: 22px 20px 20px; text-decoration: none; color: var(--plum); position: relative; overflow: hidden; transition: transform 160ms, box-shadow 160ms; }
.hub-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(230,62,96,0.2); }
.hub-card__obj { position: absolute; right: 10px; bottom: 10px; width: 84px; height: auto; opacity: 0.95; }
.hub-card .n { position: absolute; right: 16px; top: 10px; font-size: 46px; font-weight: 900; color: var(--lilac-4); line-height: 1; }
.hub-card h3 { font-size: 23px; font-weight: 800; margin: 0 0 8px; position: relative; }
.hub-card p { margin: 0 0 16px; font-size: 15px; color: var(--ink-2); position: relative; max-width: 80%; }
.hub-card .go { display: inline-block; background: var(--lime); color: #fff; font-weight: 800; text-transform: uppercase; padding: 11px 18px; border-radius: 6px; box-shadow: 0 3px 3px rgba(0,0,0,0.2); font-size: 14px; position: relative; }
.hub-card .time { display: inline-block; font-size: 13px; font-weight: 700; margin-left: 10px; }
.hub-card.is-done { border-color: var(--plum); }
.hub-card.is-done .go { background: var(--plum); }
.hub-card.is-soon { opacity: 0.55; pointer-events: none; }
.hub-card.is-soon .go { background: #999; }
.myscores { max-width: 760px; margin: 26px auto 0; background: var(--lilac); border: 2px solid var(--plum); border-radius: 14px; padding: 16px 20px; font-weight: 700; color: var(--plum); text-align: center; }

/* ---- Bridge ------------------------------------------------------------------------------------- */
.bridge-lead { max-width: 760px; margin: 0 auto; text-align: center; font-size: 18px; line-height: 1.55; }
@media (min-width: 900px) { .bridge-lead { font-size: 21px; } }
.depends { display: grid; gap: 18px; margin: 30px 0 10px; }
@media (min-width: 800px) { .depends { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.depend { background: #fff; border: 3px solid var(--plum); border-radius: 16px; padding: 20px; }
.depend__img { width: 92px; height: auto; margin-bottom: 8px; filter: drop-shadow(0 8px 14px rgba(22,34,61,0.16)); }
.depend h3 { font-size: 20px; font-weight: 800; margin: 0 0 8px; color: var(--plum); }
.depend p { margin: 0; font-size: 16px; }
.depend--you { border-color: var(--violet); background: var(--lilac); }
.depend--you .tag { display: inline-block; background: var(--violet); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 1px; padding: 4px 8px; border-radius: 3px; margin-bottom: 10px; }
.nerve-strip { display: grid; gap: 14px; margin: 26px auto 0; max-width: 980px; }
@media (min-width: 800px) { .nerve-strip { grid-template-columns: repeat(4, 1fr); } }
.nerve { background: var(--plum); color: #fff; border-radius: 14px; padding: 18px 16px; text-align: center; }
.nerve b { display: block; font-size: 34px; font-weight: 900; color: var(--yellow); line-height: 1; margin-bottom: 4px; }
.nerve span { font-size: 14px; font-weight: 600; }
.nerve small { display: block; font-size: 12px; opacity: 0.8; margin-top: 4px; }
.retest { background: var(--lilac-2); border: 2px dashed var(--violet); border-radius: 14px; padding: 18px 22px; max-width: 760px; margin: 26px auto 0; text-align: center; font-weight: 700; color: var(--plum); }
.retest b { color: var(--violet-deep); }
.bottle--bridge { position: relative; }
.bottle__caps { position: absolute; right: -6%; bottom: 4%; width: 34%; height: auto; filter: drop-shadow(0 10px 18px rgba(22,34,61,0.2)); }

/* Reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 600ms cubic-bezier(0, 0, 0.2, 1), transform 600ms cubic-bezier(0, 0, 0.2, 1); transition-delay: calc(var(--i, 0) * 90ms); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---- Reduced motion ---------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .neural { display: none; }
  .sigring__arc, .sigring__pulse, .scorecard__meaning span, .node:not(.is-lit) i { animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .wcard { transition: none; }
}

/* ---- The Vault ---------------------------------------------------------------------------------- */
.is-vault { background: var(--lilac); }
.vaultwrap { position: relative; width: 190px; height: 190px; margin: 4px auto 14px; display: flex; align-items: center; justify-content: center; }
.vault__img { width: 100%; height: auto; filter: drop-shadow(0 12px 22px rgba(22,34,61,0.22)); transition: transform 700ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.vaultwrap.is-open .vault__img { transform: rotateY(-62deg) translateX(-14%); }
.vault__glow { position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(circle, var(--yellow) 0%, rgba(245,213,71,0) 70%); opacity: 0; pointer-events: none; }
.vaultwrap.is-open .vault__glow { opacity: 0.9; }
.vault__digit { position: absolute; font-size: 78px; font-weight: 900; color: var(--plum); line-height: 1; font-variant-numeric: tabular-nums; text-shadow: 0 4px 0 rgba(255,255,255,0.8); }
.stage--vault .recall input { letter-spacing: 10px; font-size: 26px; }

/* ---- The Focus Grid ----------------------------------------------------------------------------- */
.is-grid { background: #fff; padding: 16px 14px; }
.grid5 { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; width: 100%; max-width: min(92vw, 460px); margin: 0 auto; aspect-ratio: 1 / 1; }
@media (min-width: 900px) { .grid5 { max-width: 500px; gap: 8px; } }
.tile { display: flex; align-items: center; justify-content: center; background: var(--plum); color: #fff; border: 0; border-radius: 10px; font-family: var(--font); font-weight: 800; font-size: 20px; cursor: pointer; font-variant-numeric: tabular-nums; transition: background 150ms, opacity 300ms; }
@media (min-width: 900px) { .tile { font-size: 24px; border-radius: 12px; } }
.tile:disabled { background: rgba(22,34,61,0.12); color: rgba(22,34,61,0.35); cursor: default; }
.tile.is-wrong { background: var(--violet-deep); }
.trail { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.trail polyline { fill: none; stroke: var(--violet); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(255,90,122,0.75)); }

/* ---- The Color Test ------------------------------------------------------------------------------ */
.is-color { background: #fff; }
.stroop-hint { font-size: 14px !important; color: var(--gray); margin-bottom: 6px !important; }
.stroopword { font-size: 68px; font-weight: 900; letter-spacing: 2px; line-height: 1; margin: 10px 0 34px; }
@media (min-width: 900px) { .stroopword { font-size: 104px; margin: 16px 0 44px; } }
.inkrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: 100%; max-width: 520px; }
/* The buttons are dealt again every round, so lock the row while the answer is on screen. */
.inkrow.is-locked { pointer-events: none; }
.ink { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 92px; background: #fff; border: 3px solid rgba(22,34,61,0.14); border-radius: 16px; padding: 12px 4px; cursor: pointer; font-family: var(--font); font-weight: 800; font-size: 13px; color: var(--plum); transition: transform 120ms, border-color 150ms; }
.ink i { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); }
@media (min-width: 700px) { .ink i { width: 46px; height: 46px; } .ink { font-size: 15px; } }
.ink:hover { border-color: var(--plum); transform: translateY(-2px); }
.ink:active { transform: scale(0.95, 1.04); }
.ink.is-right { border-color: var(--lime-deep); }
.ink.is-wrong { border-color: var(--violet-deep); }

/* ---- The Lights ---------------------------------------------------------------------------------- */
.is-lights { background: var(--plum); }
.is-lights h3, .is-lights p { color: #fff; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; max-width: min(80vw, 330px); margin: 10px auto 0; aspect-ratio: 1 / 1; }
@media (min-width: 900px) { .grid3 { max-width: 360px; gap: 12px; } }
.ltile { border: 2px solid rgba(255,255,255,0.14); border-radius: 14px; background: #14625B; box-shadow: inset 0 -4px 0 rgba(0,0,0,0.22); cursor: pointer; transition: background 120ms, transform 120ms, box-shadow 160ms; }
.ltile:hover { background: #17605A; }
.ltile.is-on { background: var(--yellow); box-shadow: 0 0 26px rgba(245,213,71,0.75); transform: scale(1.04); }
.ltile.is-bad { background: var(--violet-deep); }

/* Colour test: twenty dots keep the score where your thumb can see it */
.stroopdots { display: flex; flex-wrap: nowrap; justify-content: center; gap: 6px; margin-top: 30px; max-width: 100%; }
.stroopdots i { flex: none; width: 11px; height: 11px; border-radius: 50%; background: rgba(22,34,61,0.14); transition: background 200ms, transform 200ms; }
.stroopdots i.is-hit { background: var(--lime-deep); transform: scale(1.12); }
.stroopdots i.is-miss { background: var(--violet-deep); transform: scale(1.12); }


/* ===== Sharp Queen: blog, pages, WooCommerce, nav drawer ===== */
.wrap--narrow { max-width: 780px; }
.wrap--wide { max-width: 1100px; }

/* Nav drawer */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.open { visibility: visible; }
/* The backdrop is a later sibling, so without a z-index on the panel it paints OVER the
   menu and swallows every click. That bug made the whole drawer unusable. */
.drawer__backdrop { position: absolute; inset: 0; background: rgba(22,34,61,0.55); opacity: 0; transition: opacity 200ms; }
.drawer.open .drawer__backdrop { opacity: 1; }
.drawer__panel { position: absolute; z-index: 1; left: 0; top: 0; bottom: 0; width: min(360px, 88vw); background: var(--white); padding: 22px 24px; transform: translateX(-100%); transition: transform 220ms ease; overflow-y: auto; display: flex; flex-direction: column; gap: 18px; }
.drawer.open .drawer__panel { transform: translateX(0); }
.drawer__close { align-self: flex-end; background: none; border: 0; font-size: 34px; line-height: 1; cursor: pointer; color: var(--plum); width: 44px; height: 44px; }
.drawer__logo { width: 200px; height: auto; }
.drawer__list { list-style: none; margin: 0; padding: 0; }
.drawer__list li a { display: block; padding: 14px 0; font-weight: 700; font-size: 20px; color: var(--plum); text-decoration: none; border-bottom: 1px solid #F3CFC8; }
.drawer__list li a:hover { color: var(--violet); }
.cta--drawer { width: 100%; max-width: 100%; min-width: 0; font-size: 17px; }
.drawer__links { display: flex; gap: 18px; font-weight: 600; }
.drawer__links a { color: var(--plum); }
@media (prefers-reduced-motion: reduce) { .drawer__panel, .drawer__backdrop { transition: none; } }
body.drawer-open { overflow: hidden; }

/* Entry content (posts, pages, WooCommerce pages) */
.entry { font-size: 18px; line-height: 1.7; padding: 40px 16px 60px; }
.entry > * { max-width: 100%; }
.entry h2 { font-size: 30px; font-weight: 800; color: var(--plum); line-height: 1.25; margin: 40px 0 14px; }
.entry h3 { font-size: 23px; font-weight: 800; color: var(--plum); margin: 30px 0 10px; }
.entry h4 { font-size: 19px; font-weight: 700; margin: 24px 0 8px; }
.entry p { margin: 0 0 20px; }
.entry a { color: var(--violet-deep); font-weight: 600; }
.entry .cta, .entry .cta:hover { color: #fff; }   /* .entry a would otherwise paint the green buttons coral */
.entry ul, .entry ol { padding-left: 24px; margin: 0 0 20px; }
.entry li { margin-bottom: 8px; }
.entry li::marker { color: var(--violet); font-weight: 800; }
.entry blockquote { border-left: 4px solid var(--violet); background: var(--lilac); margin: 24px 0; padding: 16px 22px; font-size: 20px; font-weight: 600; color: var(--plum); border-radius: 0 12px 12px 0; }
.entry blockquote p:last-child { margin: 0; }
.entry img { border-radius: 12px; }
.entry figure { margin: 24px 0; }
.entry figcaption { font-size: 14px; color: var(--gray); margin-top: 8px; }
.entry table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 16px; }
.entry th, .entry td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #F3CFC8; vertical-align: top; }
.entry th { background: var(--lilac); color: var(--plum); font-weight: 800; }
.entry hr { border: 0; border-top: 2px solid #F3CFC8; margin: 36px 0; }
.entry .sq-callout { background: var(--lilac-2); border: 2px solid var(--plum); border-radius: 12px; padding: 18px 22px; margin: 28px 0; }
.entry .sq-callout p:last-child { margin: 0; }
.entry .wp-block-button__link { background: var(--lime); color: #fff; font-weight: 800; text-transform: uppercase; border-radius: 0; box-shadow: 0 3px 3px rgba(0,0,0,0.2); }

/* Blog index */
.blog { min-height: 60vh; }
.splash--blog { right: -180px; top: -120px; width: 480px; opacity: 0.8; }
.cards { display: grid; gap: 28px; margin-top: 10px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--white); border: 3px solid var(--violet); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__meta { font-size: 13px; font-weight: 700; color: var(--violet-deep); text-transform: uppercase; letter-spacing: 0.5px; }
.card__title { font-size: 22px; font-weight: 800; line-height: 1.25; margin: 0; color: var(--plum); }
.card__title a { text-decoration: none; color: inherit; } .card__title a:hover { color: var(--violet); }
.card__excerpt { margin: 0; color: var(--ink-2); font-size: 15.5px; flex: 1; }
.card__more { font-weight: 800; color: var(--violet-deep); text-decoration: none; }
.pager { margin-top: 36px; text-align: center; font-weight: 700; }
.pager .nav-links { display: flex; justify-content: center; gap: 16px; }
.pager a, .pager span { padding: 10px 14px; border: 2px solid var(--plum); border-radius: 8px; text-decoration: none; color: var(--plum); }
.pager .current { background: var(--plum); color: #fff; }

/* Single post */
.post__head { padding: 40px 0 30px; }
@media (min-width: 900px) { .post__head { padding: 60px 0 40px; } }
.splash--post { left: -220px; top: -160px; width: 520px; opacity: 0.55; }
.post__back { display: inline-block; font-weight: 700; color: var(--violet-deep); text-decoration: none; margin-bottom: 18px; }
.post__title { margin-bottom: 14px; }
.post__meta { color: var(--ink-2); font-weight: 600; margin: 0; }
.post__hero { margin: 30px auto 0; }
.post__hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.post__fda { font-size: 13px; color: var(--gray); border-top: 1px solid #F3CFC8; padding-top: 16px; margin-top: 40px; }
.post-cta .two-col { margin-bottom: 0; }
.splash--postcta { right: -160px; bottom: -160px; width: 460px; opacity: 0.55; }

/* Standard page */
.page-std__head { padding: 36px 0 26px; } @media (min-width: 900px) { .page-std__head { padding: 50px 0 34px; } }
.page-std__head .h2 { margin: 0; }
.page-std__body { padding-top: 30px; }

/* WooCommerce */
.shop { padding-top: 30px; }
.woocommerce-breadcrumb { font-size: 14px; color: var(--gray); margin-bottom: 20px; }
.woocommerce-breadcrumb a { color: var(--violet-deep); }
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .woocommerce #respond input#submit, .woocommerce button.button.alt, .woocommerce a.button.alt, .wc-block-components-button, .woocommerce-form-login .button, .woocommerce-form-register .button {
  background: var(--lime) !important; color: #fff !important; font-family: var(--font) !important; font-weight: 800 !important; text-transform: uppercase; border-radius: 0 !important; padding: 14px 24px !important; font-size: 16px !important; box-shadow: 0 3px 3px rgba(0,0,0,0.2); border: 0 !important; line-height: 1.2 !important;
}
.woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover, .woocommerce button.button.alt:hover { background: var(--lime-deep) !important; color: #fff !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce div.product .product_title { color: var(--plum); font-weight: 800; }
.woocommerce div.product .product_title { font-size: 34px; line-height: 1.2; }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price { color: var(--plum); font-weight: 800; font-size: 26px; }
.woocommerce ul.products li.product a img, .woocommerce div.product div.images img { border-radius: 14px; border: 3px solid var(--violet); }
.woocommerce ul.products li.product .button { margin-top: 12px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--lilac); }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { font-weight: 700; color: var(--plum); }
.woocommerce div.product .woocommerce-tabs .panel { font-size: 17px; line-height: 1.6; }
.woocommerce div.product form.cart .quantity .qty { height: 48px; border: 2px solid var(--plum); border-radius: 0; font-weight: 700; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--violet); background: var(--lilac); color: var(--plum); font-weight: 600; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--violet); }
.woocommerce table.shop_table { border: 2px solid var(--plum); border-radius: 12px; }
.woocommerce table.shop_table th { color: var(--plum); font-weight: 800; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { border: 2px solid #D9C4BE; border-radius: 6px; padding: 12px 14px; font-size: 16px; font-family: var(--font); }
.woocommerce form .form-row input.input-text:focus { border-color: var(--violet); outline: none; }
.woocommerce form .form-row label { font-weight: 700; color: var(--plum); }
.woocommerce-checkout #payment { background: var(--lilac); border-radius: 12px; }
.woocommerce-checkout #payment div.payment_box { background: #fff; }
/* My Account (navigation, sign-in, My Brain) is styled in account.css. */
.woocommerce .woocommerce-privacy-policy-text, .woocommerce-terms-and-conditions-wrapper { font-size: 14px; color: var(--gray); }
.wc-block-components-checkout-step__title, .wc-block-components-title, .wp-block-woocommerce-cart h2, .wp-block-woocommerce-checkout h2 { color: var(--plum); font-weight: 800; font-family: var(--font); }
.wc-block-components-product-name, .wc-block-components-order-summary-item__description { font-weight: 700; }
.wc-block-components-checkout-place-order-button, .wc-block-cart__submit-button { background: var(--lime) !important; color: #fff !important; font-weight: 800 !important; text-transform: uppercase; border-radius: 0 !important; }
.wc-block-components-notice-banner.is-info { background: var(--lilac); border-color: var(--violet); }
.wc-block-components-sidebar { background: var(--lilac); border-radius: 12px; padding: 12px; }
.entry .woocommerce { font-size: 16px; }
.woocommerce-store-notice { background: var(--plum); color: var(--yellow); font-weight: 700; }
.shop .woocommerce-products-header__title { font-size: 40px; font-weight: 800; color: var(--plum); text-align: center; margin-bottom: 30px; }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { font-size: 14px; }
.woocommerce ul.products { margin-top: 10px; }
.woocommerce ul.products li.product { text-align: center; }
.woocommerce span.onsale { background: var(--yellow); color: var(--plum); font-weight: 800; border-radius: 50%; min-width: 3.4em; min-height: 3.4em; line-height: 3.4em; }
.woocommerce .star-rating span::before, .woocommerce .star-rating::before { color: #FFC700; }
.woocommerce div.product .woocommerce-product-details__short-description { font-size: 18px; line-height: 1.6; }
.woocommerce div.product .woocommerce-product-details__short-description ul li::before { content: "✓ "; color: var(--lime-deep); font-weight: 800; }
.woocommerce div.product .woocommerce-product-details__short-description ul { list-style: none; padding-left: 0; }
.sq-guarantee { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; font-weight: 600; margin: 14px 0 0; }
.woocommerce div.product form.cart { display: flex; align-items: stretch; gap: 10px; margin: 18px 0 14px; }
.woocommerce div.product form.cart .button { white-space: nowrap; flex: 0 0 auto; }
.woocommerce div.product form.cart div.quantity { margin: 0; }
.woocommerce div.product .product_meta { font-size: 13px; color: var(--gray); }

/* Header cart badge: hidden while the cart is empty (the clone hard-coded a "0") */
.cart__count.is-empty { display: none; }


/* ===== My Account: sign-in, navigation, and the My Brain dashboard ===== */

/* --- Sign in: one email field, no password anywhere --- */
.sqlogin { padding: 44px 16px 72px; background: var(--lilac); }
.sqlogin__card { max-width: 560px; margin: 0 auto; background: #fff; border: 3px solid var(--plum); border-radius: 18px; padding: 34px 26px 30px; box-shadow: 0 10px 30px rgba(22,34,61,0.10); }
@media (min-width: 900px) { .sqlogin__card { padding: 44px 44px 38px; } }
.sqlogin__h { font-size: 30px; font-weight: 800; color: var(--plum); line-height: 1.2; margin: 0 0 12px; }
@media (min-width: 900px) { .sqlogin__h { font-size: 38px; } }
.sqlogin__sub { font-size: 17px; line-height: 1.55; color: var(--ink-2); margin: 0 0 24px; }
.sqlogin__msg { font-size: 16px; line-height: 1.5; padding: 14px 16px; border-radius: 10px; margin: 0 0 22px; }
.sqlogin__msg b { display: block; }
.sqlogin__msg--ok { background: #EAF7EC; border: 2px solid var(--lime-deep); color: #14421C; }
.sqlogin__msg--warn { background: var(--lilac-2); border: 2px solid var(--violet); color: var(--plum); }
.sqlogin__label { display: block; font-weight: 800; font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--plum); margin: 0 0 8px; }
.sqlogin__input { width: 100%; height: 58px; padding: 0 18px; font-family: inherit; font-size: 18px; color: var(--plum); background: #fff; border: 3px solid var(--plum); border-radius: 10px; outline: none; }
.sqlogin__input:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(255,90,122,0.18); }
.sqlogin__form .cta { margin-top: 16px; width: 100%; min-width: 0; max-width: 100%; }
.sqlogin__why { list-style: none; margin: 26px 0 0; padding: 24px 0 0; border-top: 2px solid var(--lilac-4); display: grid; gap: 10px; font-size: 16px; color: var(--ink-2); }
.sqlogin__why li { padding-left: 26px; position: relative; }
.sqlogin__why li::before { content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--plum); }
.sqlogin__why b { color: var(--plum); }
.sqlogin__foot { margin: 22px 0 0; font-size: 15px; color: var(--gray); }
.sqlogin__foot a { color: var(--violet-deep); font-weight: 700; }

/* --- The account shell: tabs on the left, her page on the right --- */
.woocommerce-account .page-std__head { display: none; }
.woocommerce-account .page-std__body { padding-top: 30px; }
.woocommerce-account .sqlogin { margin: -30px -16px 0; }
.woocommerce-account.logged-in .woocommerce { display: grid; gap: 26px; }
@media (min-width: 900px) { .woocommerce-account.logged-in .woocommerce { grid-template-columns: 236px 1fr; gap: 40px; align-items: start; } }
/* Signed out there is no tab column, so the sign-in card gets the whole width to centre in. */
.woocommerce-account:not(.logged-in) .woocommerce { display: block; }
/* woocommerce-layout.css floats both columns, gives them percentage widths, and adds clearfix
   pseudo-elements. Inside a grid those pseudo-elements become grid items and shove the real
   columns into the wrong cells, so all three have to go. */
.woocommerce-account .woocommerce::before,
.woocommerce-account .woocommerce::after { display: none !important; }
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content { float: none !important; width: auto !important; min-width: 0; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border: 3px solid var(--plum); border-radius: 14px; overflow: hidden; background: #fff; }
.woocommerce-MyAccount-navigation li + li { border-top: 2px solid var(--lilac-4); }
.woocommerce-MyAccount-navigation a { display: block; padding: 15px 18px; font-weight: 700; font-size: 16px; color: var(--plum); text-decoration: none; border-left: 6px solid transparent; transition: background 120ms, border-color 120ms; }
.woocommerce-MyAccount-navigation a:hover { background: var(--lilac-3); }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--lilac-2); color: var(--plum); border-left-color: var(--violet); }
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--gray); font-weight: 600; }
.woocommerce-MyAccount-content { min-width: 0; }

/* ===== My Brain =====================================================================
   One column, four acts: the verdict, the chart, the six cards, the history. The page is a
   measuring instrument, so the numbers get the weight and everything else gets out of the way. */

/* --- Act one: the verdict --- */
.mbhead { background: var(--plum); color: #fff; border-radius: 18px; padding: 26px 24px; margin: 0 0 22px; display: grid; gap: 22px; }
@media (min-width: 900px) { .mbhead { grid-template-columns: 1fr auto; align-items: center; padding: 32px; gap: 34px; } }
.mbhead__eyebrow { margin: 0 0 8px; font-size: 11px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--yellow); }
.mybrain .mbhead h2 { margin: 0; font-size: 25px; font-weight: 800; line-height: 1.25; color: #fff; }
@media (min-width: 900px) { .mybrain .mbhead h2 { font-size: 31px; max-width: 22ch; } }
.mbhead__sub { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: #C7CFDD; }
.mbhead__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 540px) { .mbhead__stats { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .mbhead__stats { grid-template-columns: repeat(2, 1fr); min-width: 254px; } }
.mbstat { background: rgba(255,255,255,0.07); border: 2px solid rgba(255,255,255,0.18); border-radius: 12px; padding: 12px 10px; text-align: center; }
.mbstat b { display: block; font-size: 27px; font-weight: 800; line-height: 1; color: var(--yellow); letter-spacing: -0.5px; }
.mbstat b small { font-size: 15px; font-weight: 700; color: rgba(245,213,71,0.5); }
.mbstat span { display: block; margin-top: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: #C7CFDD; line-height: 1.3; }
.mbstat--due b { color: #fff; background: var(--violet); border-radius: 6px; padding: 2px 0; font-size: 20px; }
.mbstat--wait b { font-size: 21px; }

/* --- Act two: the chart --- */
.mbchart { background: var(--plum); border-radius: 18px; padding: 24px 20px 18px; margin: 0 0 26px; color: #fff; }
@media (min-width: 900px) { .mbchart { padding: 28px 30px 22px; } }
.mybrain .mbchart h3 { margin: 0 0 6px; font-size: 20px; font-weight: 800; color: var(--yellow); }
.mbchart header p { margin: 0 0 18px; font-size: 14.5px; line-height: 1.6; color: #C7CFDD; max-width: 62ch; }
.mbchart__plot { overflow-x: auto; }
.mbchart__svg { display: block; width: 100%; min-width: 460px; height: auto; }
.mbchart__key { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(255,255,255,0.15); }
.mbchart__key li { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; color: #D8DEE9; }
.mbchart__key i { width: 14px; height: 3px; border-radius: 2px; flex: none; }
.mbchart__key b { color: #fff; font-variant-numeric: tabular-nums; }

/* --- Section headings inside her page --- */
.mybrain .mbsec { margin: 0 0 14px; font-size: 12px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gray); }

/* --- Act three: the six cards --- */
.mbgrid-wrap { margin: 0 0 30px; }
.mybrain__grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .mybrain__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1180px) { .mybrain__grid { grid-template-columns: 1fr 1fr 1fr; } }
.mbcard { background: #fff; border: 3px solid var(--plum); border-radius: 14px; padding: 16px 18px 14px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.mbcard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--c, var(--plum)); }
.mybrain .mbcard h3 { margin: 4px 0 10px; font-size: 13px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--plum); }
.mbcard__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; min-height: 44px; }
.mbcard__num { font-size: 40px; font-weight: 800; line-height: 1; color: var(--plum); letter-spacing: -1.5px; }
.mbcard__num small { font-size: 14px; font-weight: 700; letter-spacing: 0; color: var(--gray); margin-left: 5px; white-space: nowrap; }
.mbcard__spark { width: 116px; height: 34px; flex: none; color: #C9CFDA; }
.mbcard.is-good .mbcard__spark { color: var(--lime-deep); }
.mbcard.is-bad .mbcard__spark { color: var(--violet); }
.mbcard__delta { margin: 12px 0 0; font-size: 14px; line-height: 1.45; color: var(--gray); }
.mbcard.is-good .mbcard__delta { color: #14421C; }
.mbcard.is-bad .mbcard__delta { color: var(--violet-deep); }
.mbcard__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mbcard__blurb { font-size: 12px; line-height: 1.35; color: #8C93A1; }
.mbcard__go { flex: none; font-weight: 800; font-size: 13px; letter-spacing: 0.6px; text-transform: uppercase; color: var(--plum); text-decoration: none; background: var(--yellow); border: 2px solid var(--plum); border-radius: 999px; padding: 7px 14px; transition: background 120ms; }
.mbcard__go:hover { background: var(--yellow-deep); }
.mbcard--empty { border-style: dashed; border-color: #C9CFDA; background: var(--lilac-3); justify-content: flex-start; }
.mbcard--empty::before { background: #DCE1EA; }
.mybrain .mbcard--empty h3 { color: #7E8695; }
.mbcard--empty .mbcard__go { background: #fff; }
.mbcard__invite { margin: 0 0 18px; font-size: 15px; line-height: 1.5; color: #7E8695; }
.mbcard__go--wide { display: block; margin-top: auto; text-align: center; padding: 11px 14px; }

/* --- Act four: every measurement --- */
.mbhist { margin: 0 0 26px; }
.mbhist__scroll { overflow-x: auto; border: 3px solid var(--plum); border-radius: 14px; background: #fff; }
.mbhist table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 430px; }
.mbhist th { background: var(--lilac-2); color: var(--plum); font-weight: 800; font-size: 11px; letter-spacing: 0.8px; text-transform: uppercase; text-align: left; padding: 11px 14px; }
.mbhist td { padding: 11px 14px; border-top: 1px solid var(--lilac-4); }
.mbhist .num { text-align: right; font-variant-numeric: tabular-nums; }
.mbhist td.num small { color: var(--gray); font-size: 12px; }
.mbhist td.is-good { color: #14421C; font-weight: 800; }
.mbhist td.is-bad { color: var(--violet-deep); font-weight: 800; }
.mbdot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-inline-end: 8px; }

.mybrain__note { margin: 18px 0 0; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); background: var(--lilac-2); border-left: 6px solid var(--violet); border-radius: 0 10px 10px 0; padding: 14px 18px; }
.mybrain__note b { color: var(--plum); }

/* --- Nothing on file yet: six doors, not one dead end --- */
.mbempty { background: #fff; border: 3px solid var(--plum); border-radius: 18px; padding: 34px 24px 30px; }
@media (min-width: 900px) { .mbempty { padding: 44px 44px 38px; } }
.mybrain .mbempty h2 { margin: 0 0 12px; font-size: 28px; font-weight: 800; color: var(--plum); line-height: 1.25; }
@media (min-width: 900px) { .mybrain .mbempty h2 { font-size: 34px; } }
.mbempty > p { font-size: 17px; line-height: 1.65; color: var(--ink-2); max-width: 60ch; margin: 0 0 26px; }
.mbempty__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .mbempty__list { grid-template-columns: 1fr 1fr; } }
.mbempty__list a { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 2px solid var(--lilac-4); border-radius: 12px; text-decoration: none; background: var(--lilac-3); transition: border-color 120ms, transform 120ms; }
.mbempty__list a:hover { border-color: var(--violet); transform: translateY(-2px); }
.mbempty__list b { color: var(--plum); font-size: 16px; }
.mbempty__list span { color: var(--gray); font-size: 13.5px; line-height: 1.45; }
.mbempty__foot { margin: 22px 0 0; font-size: 14px; color: var(--gray); }

/* --- WooCommerce tables inside the account (orders, addresses) --- */
.woocommerce-MyAccount-content h2, .woocommerce-MyAccount-content h3 { font-size: 22px; font-weight: 800; color: var(--plum); margin: 0 0 16px; }
.woocommerce-MyAccount-content table.shop_table { width: 100%; border-collapse: collapse; border: 3px solid var(--plum); border-radius: 12px; overflow: hidden; background: #fff; font-size: 15px; }
.woocommerce-MyAccount-content table.shop_table th { background: var(--lilac-2); color: var(--plum); font-weight: 800; font-size: 12px; letter-spacing: 0.8px; text-transform: uppercase; text-align: left; padding: 12px 14px; }
.woocommerce-MyAccount-content table.shop_table td { padding: 14px; border-top: 2px solid var(--lilac-4); }
.woocommerce-MyAccount-content .woocommerce-Button, .woocommerce-MyAccount-content .button { display: inline-block; background: var(--plum); color: #fff; font-weight: 700; font-size: 14px; padding: 10px 18px; border: 0; border-radius: 999px; text-decoration: none; cursor: pointer; }
.woocommerce-MyAccount-content .woocommerce-Button:hover, .woocommerce-MyAccount-content .button:hover { background: var(--plum-2); }
.woocommerce-MyAccount-content form .form-row { display: block; margin: 0 0 16px; }
.woocommerce-MyAccount-content label { display: block; font-weight: 700; font-size: 14px; color: var(--plum); margin: 0 0 6px; }
.woocommerce-MyAccount-content input[type="text"], .woocommerce-MyAccount-content input[type="email"], .woocommerce-MyAccount-content input[type="tel"], .woocommerce-MyAccount-content select { width: 100%; max-width: 420px; height: 48px; padding: 0 14px; font-family: inherit; font-size: 16px; border: 2px solid var(--plum); border-radius: 8px; background: #fff; color: var(--plum); }
.woocommerce-MyAccount-content .woocommerce-Message, .woocommerce-MyAccount-content .woocommerce-info { background: var(--lilac-2); border-left: 6px solid var(--violet); padding: 16px 18px; border-radius: 0 10px 10px 0; margin: 0 0 20px; }
.woocommerce-MyAccount-content .sq-hint { display: block; margin-top: 6px; font-size: 13px; color: var(--gray); }
.woocommerce-MyAccount-content .form-row-first, .woocommerce-MyAccount-content .form-row-last { display: inline-block; width: 100%; }
@media (min-width: 620px) { .woocommerce-MyAccount-content .form-row-first, .woocommerce-MyAccount-content .form-row-last { width: 48%; } .woocommerce-MyAccount-content .form-row-first { margin-right: 3%; } }
.woocommerce-MyAccount-content .clear { clear: both; }

/* --- The block under her numbers: the product for a visitor, her supply for a customer --- */
.mbridge { margin: 26px 0 0; background: var(--plum); color: #fff; border-radius: 18px; padding: 28px 24px; display: grid; gap: 22px; }
@media (min-width: 860px) { .mbridge { grid-template-columns: 1fr auto; align-items: center; padding: 32px; gap: 32px; } }
.mybrain .mbridge h3 { font-size: 25px; font-weight: 800; line-height: 1.2; margin: 0 0 12px; color: var(--yellow); }
.mbridge p { margin: 0 0 12px; font-size: 16px; line-height: 1.55; color: #D8DEE9; }
.mbridge p:last-child { margin-bottom: 0; }
.mbridge__line { border-left: 4px solid var(--violet); padding-left: 14px; color: #fff !important; }
.mbridge__line b { color: var(--yellow); }
.mbridge__line--open { border-left-color: var(--yellow); }
.mbridge .cta { min-width: 0; width: 100%; max-width: 100%; font-size: 17px; letter-spacing: 0.5px; }
@media (min-width: 860px) { .mbridge .cta { width: auto; max-width: 300px; } }
.cta--ghost { background: transparent; border: 3px solid var(--yellow); color: var(--yellow); box-shadow: none; }
.cta--ghost:hover { background: var(--yellow); color: var(--plum); }


/* --- Phone: the tabs become one scrolling row, so her numbers are the first thing on screen --- */
@media (max-width: 899px) {
  .woocommerce-MyAccount-navigation { margin: 0 0 4px; }
  .woocommerce-MyAccount-navigation ul { display: flex; gap: 8px; padding: 2px 0 6px; border: 0; border-radius: 0; background: transparent; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
  .woocommerce-MyAccount-navigation li { flex: none; }
  .woocommerce-MyAccount-navigation li + li { border-top: 0; }
  .woocommerce-MyAccount-navigation a { padding: 9px 16px; font-size: 14px; white-space: nowrap; background: #fff; border: 2px solid var(--plum); border-left-width: 2px; border-radius: 999px; }
  .woocommerce-MyAccount-navigation li.is-active a { background: var(--plum); color: #fff; border-color: var(--plum); border-left-color: var(--plum); }
  .woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a { border-color: #D8C6C2; color: var(--gray); }
  .mybrain__head { padding: 24px 20px; }
  .mybrain .mybrain__hello h2 { font-size: 24px; }
  .mbstat b { font-size: 26px; }
  .mbstat--wait b { font-size: 19px; }
}

/* .entry a paints every link in the account coral. These four are not article links. */
.mybrain .mbcard__go { color: var(--plum); }
.mybrain .mbridge .cta { color: #fff; }
.mybrain .mbridge .cta--ghost { color: var(--yellow); }
.mybrain .mbridge .cta--ghost:hover { color: var(--plum); }
.sqlogin .cta, .sqlogin .cta:hover { color: #fff; }
