/* Components: header, menu, buttons, picker, cards, founder note, footer. */

/* ---------- Announcement bar ---------- */
.announce { background: var(--gradient); color: #fff; text-align: center; font-size: var(--step--1); font-weight: 500; }
.announce p { margin: 0; padding: var(--space-2) var(--gutter); }
.announce a { color: inherit; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: var(--space-3); color: var(--text); text-decoration: none; }
.logo-mark { flex: none; display: block; }
.logo-word { font-family: var(--font-brand); font-weight: 600; font-size: 1.2rem; letter-spacing: -.01em; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 64px; }
.main-nav { display: none; }
.main-nav ul { display: flex; gap: var(--space-1); }
.main-nav a { display: block; padding: var(--space-2) var(--space-3); border-radius: var(--radius-pill); color: var(--text); text-decoration: none; font-weight: 500; font-size: .95rem; transition: background var(--dur) var(--ease); }
.main-nav a:hover { background: var(--surface-2); }
.main-nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-text); }
.header-tools { display: flex; align-items: center; gap: var(--space-2); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface); cursor: pointer; transition: background var(--dur) var(--ease); }
.icon-btn:hover { background: var(--surface-2); }

/* The theme button shows a moon in light mode and a sun in dark mode */
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}

/* The full menu needs room for longer French/German labels plus the tools, so it appears from 1200px */
@media (min-width: 1200px) {
  .main-nav { display: block; }
  .menu-btn { display: none; }
}

/* ---------- Mobile menu sheet ---------- */
.menu-sheet { margin: 0 0 0 auto; width: min(360px, 88vw); max-width: none; height: 100dvh; max-height: none; border: 0; padding: var(--space-4) var(--gutter); background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.menu-sheet::backdrop { background: rgb(15 21 32 / .45); }
.menu-sheet[open] { animation: sheet-in var(--dur-slow) var(--ease); }
.menu-sheet-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-5); }
.menu-sheet nav a { display: block; padding: var(--space-3) 0; font-family: var(--font-display); font-size: 1.5rem; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--border); }
.menu-sheet nav a[aria-current="page"] { color: var(--brand-text); }
@keyframes sheet-in { from { transform: translateX(24px); opacity: 0; } }

/* ---------- Buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 48px; padding: 0 var(--space-5); border-radius: var(--radius-pill); border: 0; background: var(--brand); color: var(--on-brand); font-weight: 600; text-decoration: none; cursor: pointer; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-small { min-height: 40px; padding: 0 var(--space-4); font-size: var(--step--1); }
.link-btn { background: none; border: 0; padding: var(--space-2) 0; color: var(--brand-text); font-weight: 500; cursor: pointer; text-decoration: underline; text-underline-offset: .18em; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Hero + question picker ---------- */
.hero { padding-block: var(--space-7) var(--space-5); position: relative; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 340px; z-index: -1; background: radial-gradient(60% 80% at 15% 0%, color-mix(in srgb, var(--lilac-500) 22%, transparent), transparent 70%), radial-gradient(40% 60% at 95% 10%, color-mix(in srgb, var(--coral-500) 14%, transparent), transparent 70%); }
.hero-small { padding-block: var(--space-8); }
.hero-title { font-size: var(--step-3); font-weight: 800; letter-spacing: -.035em; max-width: 18ch; }
.hero-lead { font-size: var(--step-1); color: var(--text-muted); max-width: 44ch; }

/* Chips: sideways scroll on phones, wrap on desktop */
.chips-scroller { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); }
.chips-scroller::-webkit-scrollbar { display: none; }
.chips { display: flex; gap: var(--space-2); padding: var(--space-2) var(--gutter) var(--space-3); width: max-content; }
.chips li { scroll-snap-align: start; }
.chip { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 46px; padding: 0 var(--space-4); border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--surface); color: var(--text); font-weight: 500; white-space: nowrap; text-decoration: none; cursor: pointer; box-shadow: 0 1px 0 rgb(0 0 0 / .02); transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease), color var(--dur) var(--ease); }
.chip:hover { border-color: var(--lilac-500); transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.chip-icon { font-size: 1.1em; }
.chips-wrap { flex-wrap: wrap; width: auto; padding-inline: 0; }
@media (min-width: 768px) {
  .chips-scroller { overflow: visible; max-width: var(--wrap); margin-inline: auto; }
  .chips { flex-wrap: wrap; width: auto; }
}

/* Stephanie's one-liner for the chosen path */
.steph-line { display: flex; align-items: flex-start; gap: var(--space-3); margin-top: var(--space-4); padding: var(--space-4); max-width: 640px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); animation: rise var(--dur-slow) var(--ease); }
.steph-line[hidden] { display: none; }
.steph-line p { margin: 0; }
.steph-avatar { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--gradient); color: #fff; font-family: var(--font-display); font-weight: 700; }
.steph-sign { font-family: var(--font-hand); font-size: 1.3em; color: var(--accent-text); white-space: nowrap; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: var(--space-4); }
.cards { grid-template-columns: 1fr; }
@media (min-width: 600px) { .cards, .two { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card { position: relative; display: flex; flex-direction: column; padding: var(--space-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--lilac-500) 45%, var(--border)); }
.card[hidden] { display: none; }
.card.is-entering { animation: rise var(--dur-slow) var(--ease) both; animation-delay: calc(var(--n, 0) * 40ms); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-4); }
.card-tile { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--gradient); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.card-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); font-size: 1.3rem; }
.card-service .card-tile { background: var(--surface-2); color: var(--brand-text); }
.kind { font-size: .75rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--text-muted); }
.card-title { margin-bottom: var(--space-2); }
.card-link { color: var(--text); text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* whole card is clickable */
.card-link:focus-visible { outline: none; }
.card:has(.card-link:focus-visible) { outline: 2.5px solid var(--focus); outline-offset: 3px; }
.card-text { color: var(--text-muted); flex: 1; }
.card-foot { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.price { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; }
.price-free { color: var(--accent-text); }
.price-note { color: var(--text-muted); font-size: var(--step--1); }
.badge { display: inline-block; padding: 2px 10px; border-radius: var(--radius-pill); font-size: .78rem; font-weight: 600; }
.badge-soon { background: color-mix(in srgb, var(--coral-500) 14%, var(--surface)); color: var(--accent-text); }

/* ---------- Free tools teaser ---------- */
.tools-teaser { background: var(--surface-2); }
.tool-list { display: grid; gap: var(--space-3); }
@media (min-width: 768px) { .tool-list { grid-template-columns: repeat(2, 1fr); } }
.tool-list a { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-4); background: var(--surface); border-radius: var(--radius); color: var(--text); text-decoration: none; border: 1px solid transparent; transition: border-color var(--dur) var(--ease); }
.tool-list a:hover { border-color: var(--lilac-500); }
.tool-list strong { display: block; }
.tool-list span span { color: var(--text-muted); font-size: .95rem; }
.tool-icon { flex: none; font-size: 1.5rem; }

/* ---------- Founder note ---------- */
.founder-note { position: relative; margin: 0 auto; max-width: 640px; padding: var(--space-6) var(--space-5) var(--space-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); box-shadow: var(--shadow); transform: rotate(-.6deg); }
.founder-note::before { content: ""; position: absolute; top: -12px; left: 50%; width: 110px; height: 24px; transform: translateX(-50%) rotate(2deg); background: color-mix(in srgb, var(--lilac-300) 55%, transparent); border-radius: 3px; }
.founder-note blockquote { margin: 0; font-family: var(--font-hand); font-size: 1.55rem; line-height: 1.35; }
.founder-note blockquote p { margin-bottom: var(--space-3); }
.signature { width: 180px; height: auto; color: var(--text); margin-top: var(--space-2); }

/* ---------- Empty states ---------- */
.empty { padding: var(--space-5); border: 1.5px dashed var(--border); border-radius: var(--radius-l); }
.empty-icon { font-size: 1.6rem; display: block; margin-bottom: var(--space-3); }
.empty p { color: var(--text-muted); }

/* ---------- Newsletter ---------- */
.newsletter-box { display: grid; gap: var(--space-4); padding: var(--space-6) var(--space-5); border-radius: var(--radius-l); background: var(--gradient); color: #fff; }
.newsletter-box h2 { color: #fff; }
.newsletter-box p { margin: 0; max-width: 52ch; }
.newsletter-box .btn { background: #fff; color: var(--lilac-700); justify-self: start; }
@media (min-width: 768px) { .newsletter-box { grid-template-columns: 1fr auto; align-items: center; padding: var(--space-7); } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding-top: var(--space-7); margin-top: var(--space-5); font-size: .95rem; }
.footer-grid { display: grid; gap: var(--space-6); grid-template-columns: 1fr 1fr; }
.footer-brand, .footer-news { grid-column: 1 / -1; }
.footer-brand p { color: var(--text-muted); max-width: 36ch; margin-top: var(--space-3); }
.footer-col-title, .footer-social-title { font-weight: 600; margin-bottom: var(--space-3); color: var(--text); }
.footer-col li { margin-bottom: var(--space-2); }
.footer-grid a:not(.btn):not(.logo) { color: var(--text-muted); text-decoration: none; }
.footer-grid a:not(.btn):not(.logo):hover { color: var(--brand-text); }
.footer-news p:not(.footer-col-title) { color: var(--text-muted); }
.social-list { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.footer-base { margin-top: var(--space-6); padding-block: var(--space-5); border-top: 1px solid var(--border); color: var(--text-muted); font-size: var(--step--1); }
.footer-base p { margin: 0; }
@media (min-width: 960px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.4fr; }
  .footer-brand, .footer-news { grid-column: auto; }
}

/* ---------- Scroll reveal (only when JS is on and motion is allowed) ---------- */
/* Gentle reveal: content is always readable; it only drifts up a little as it comes into view (never hidden while waiting) */
.js .reveal { transform: translateY(10px); transition: transform var(--dur-slow) var(--ease); }
.js .reveal.is-visible { transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

/* ======================= Phase 2: currency, shop, product page ======================= */

/* ---------- Currency picker (header) ---------- */
.currency { position: relative; display: inline-flex; }
.currency-select { appearance: none; height: 44px; padding: 0 28px 0 12px; border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23888' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 11px center; color: var(--text); font: inherit; font-size: .88rem; font-weight: 500; cursor: pointer; }
.currency-select:hover { background-color: var(--surface-2); }

/* ---------- Buttons: secondary ---------- */
.btn-ghost { background: transparent; color: var(--brand-text); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-ghost:hover { background: var(--brand-soft); box-shadow: inset 0 0 0 1.5px currentColor; }
.buy { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ---------- Page heroes and small sections ---------- */
.hero-page { padding-block: var(--space-7) var(--space-4); }
.hero-page .hero-title { max-width: none; }
.section-tight { padding-block: var(--space-5); }
@media (min-width: 768px) { .section-tight { padding-block: var(--space-6); } }
.crumbs { padding-top: var(--space-4); font-size: var(--step--1); }
.crumbs a { text-decoration: none; color: var(--text-muted); }
.crumbs a:hover { color: var(--brand-text); }

/* ---------- Shop filters ---------- */
.filters { margin-bottom: var(--space-5); }
.filter-row { display: flex; flex-wrap: wrap; align-items: end; gap: var(--space-3) var(--space-4); margin-top: var(--space-2); }
.select-label { display: grid; gap: var(--space-1); font-size: var(--step--1); font-weight: 600; color: var(--text-muted); }
.select-label select { appearance: none; min-width: 150px; height: 44px; padding: 0 34px 0 14px; border: 1px solid var(--border); border-radius: var(--radius-s); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23888' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center; color: var(--text); font: inherit; font-weight: 500; }
.filter-count { margin: 0 0 0 auto; color: var(--text-muted); font-size: var(--step--1); align-self: center; }
.shop-empty { text-align: center; }
.shop-empty[hidden] { display: none; }

/* ---------- Product hero ---------- */
.product-hero { padding-block: var(--space-5) var(--space-6); }
.product-hero-grid { display: grid; gap: var(--space-6); align-items: center; }
.product-hero-grid > * { min-width: 0; } /* long content (e.g. two screenshots) scrolls instead of widening the page */
@media (min-width: 900px) { .product-hero-grid { grid-template-columns: 1.1fr .9fr; gap: var(--space-7); } }
.product-intro .hero-title { max-width: 14ch; }
.product-price { display: flex; align-items: baseline; gap: var(--space-2); flex-wrap: wrap; margin: var(--space-4) 0 var(--space-1); }
.price-big { font-size: 2rem; }
.pay-once { font-weight: 600; color: var(--accent-text); margin-bottom: var(--space-4); }
.product-intro .buy { margin-top: var(--space-4); }
.small-print { margin-top: var(--space-3); font-size: var(--step--1); color: var(--text-muted); max-width: 44ch; }

/* ---------- Device frames ---------- */
.product-media { display: flex; justify-content: center; }
.shots { display: flex; gap: var(--space-4); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--space-2); }
.shots .frame { scroll-snap-align: center; flex: none; }
.frame { margin: 0; background: var(--navy); box-shadow: var(--shadow); overflow: hidden; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame-phone { width: 240px; aspect-ratio: 9 / 19; border-radius: 36px; padding: 10px; }
.frame-phone img, .frame-phone .cover { border-radius: 27px; }
.frame-laptop { width: min(520px, 86vw); aspect-ratio: 16 / 10; border-radius: 14px; padding: 10px 10px 18px; }
.frame-laptop img { border-radius: 6px; }
.cover { height: 100%; display: flex; flex-direction: column; justify-content: center; gap: var(--space-3); padding: var(--space-5); background: var(--gradient); color: #fff; }
.cover-tile { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgb(255 255 255 / .22); font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; }
.cover-name { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; line-height: 1.1; }
.cover-line { font-size: .95rem; opacity: .92; }
.frame-cover { transform: rotate(2deg); }

/* ---------- Product sections ---------- */
.video { position: relative; aspect-ratio: 16 / 9; margin-top: var(--space-5); border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ticks li { position: relative; padding-left: 2rem; margin-bottom: var(--space-3); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M2.5 6.5l2.5 2.5 4.5-5' fill='none' stroke='%237766e8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center; }
.inside-grid { grid-template-columns: 1fr; }
@media (min-width: 600px) { .inside-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .inside-grid { grid-template-columns: repeat(3, 1fr); } }
.inside-item { padding: var(--space-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.inside-item h3 { font-size: 1.1rem; }
.inside-item p { margin: 0; color: var(--text-muted); }
.steps { counter-reset: step; display: grid; gap: var(--space-4); padding: 0; list-style: none; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.steps li { counter-increment: step; position: relative; padding: var(--space-5); padding-top: calc(var(--space-5) + 36px); background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); }
.steps li::before { content: counter(step); position: absolute; top: var(--space-4); left: var(--space-5); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--gradient); color: #fff; font-family: var(--font-display); font-weight: 700; }
.steps h3 { font-size: 1.1rem; }
.steps p { margin: 0; color: var(--text-muted); }
.tool-callout { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-5); background: var(--brand-soft); border-radius: var(--radius-l); color: var(--text); text-decoration: none; transition: transform var(--dur) var(--ease); }
.tool-callout:hover { transform: translateY(-2px); }
.tool-callout .eyebrow { display: block; margin-bottom: var(--space-1); }
.tool-callout strong { display: block; font-size: 1.15rem; }
.tool-callout span span:last-child { color: var(--text-muted); }
.tool-go { margin-left: auto; font-size: 1.4rem; color: var(--brand-text); }
.changelog li { display: flex; gap: var(--space-4); padding-block: var(--space-3); border-bottom: 1px solid var(--border); }
.changelog time { flex: none; color: var(--text-muted); font-size: var(--step--1); min-width: 90px; }

/* FAQ accordion */
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-4) 0; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.4rem; line-height: 1; color: var(--brand-text); transition: transform var(--dur) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq-a p { color: var(--text-muted); }

.closing { text-align: center; padding: var(--space-6) var(--space-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); }
.closing .buy { justify-content: center; }
.guarantee { color: var(--text-muted); }

/* ---------- Sticky buy bar (phones only) ---------- */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) var(--gutter) calc(var(--space-3) + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -8px 24px -16px rgb(0 0 0 / .35); transform: translateY(110%); visibility: hidden; transition: transform var(--dur) var(--ease), visibility var(--dur); }
.buybar.is-shown { transform: none; visibility: visible; }
.buybar-name { display: block; font-weight: 600; font-size: .95rem; line-height: 1.2; }
.buybar .price { font-size: 1rem; }
.buy-compact .btn { min-height: 44px; padding: 0 var(--space-4); }
.buy-compact .btn-ghost { display: none; }
.has-buybar .site-footer { padding-bottom: 80px; }
@media (min-width: 900px) {
  .buybar { display: none; }
  .has-buybar .site-footer { padding-bottom: 0; }
}

/* ======================= Phases 3 + 4 ======================= */

/* ---------- Header on phones: currency + theme live in the menu sheet ---------- */
@media (max-width: 599px) {
  .header-tools .currency-header, .header-tools .theme-toggle-header, .header-tools .lang-header { display: none; }
}
.lang { display: inline-flex; }
.sheet-tools + .sheet-tools { margin-top: var(--space-3); }
.player-audio { width: 100%; margin-top: var(--space-3); }
.compare-hint { display: inline-flex; align-items: center; gap: var(--space-2); margin: 0; align-self: center; }
.sheet-tools { display: flex; align-items: center; gap: var(--space-3); margin-top: var(--space-5); }
.sheet-tools-label { font-weight: 600; color: var(--text-muted); font-size: var(--step--1); }
.sheet-tools .theme-toggle { margin-left: auto; }

/* ---------- Search ---------- */
.search-dialog { width: min(640px, calc(100vw - 2 * var(--gutter))); max-height: 80dvh; margin: 10vh auto auto; padding: var(--space-4); border: 1px solid var(--border); border-radius: var(--radius-l); background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.search-dialog::backdrop { background: rgb(15 21 32 / .45); backdrop-filter: blur(2px); }
.search-dialog[open] { animation: rise var(--dur) var(--ease); }
.search-box { display: flex; align-items: center; gap: var(--space-3); padding: 0 var(--space-2) var(--space-3); border-bottom: 1px solid var(--border); color: var(--text-muted); }
.search-box svg { flex: none; }
.search-box input { flex: 1; min-width: 0; height: 44px; border: 0; background: none; color: var(--text); font: inherit; font-size: 1.1rem; }
.search-box input:focus { outline: none; }
.search-box input::-webkit-search-cancel-button { display: none; }
.search-status { margin: var(--space-3) var(--space-2) 0; }
.search-results { margin-top: var(--space-2); }
.search-results a { display: grid; gap: 2px; padding: var(--space-3); border-radius: var(--radius-s); color: var(--text); text-decoration: none; }
.search-results a:hover, .search-results a:focus-visible { background: var(--brand-soft); outline: none; }
.search-results a > span:last-child { color: var(--text-muted); font-size: .92rem; }

/* ---------- Save hearts ---------- */
.card-top-end { display: inline-flex; align-items: center; gap: var(--space-2); }
.save-btn { position: relative; z-index: 2; display: inline-grid; place-items: center; width: 40px; height: 40px; margin: -8px -8px -8px 0; border: 0; border-radius: 50%; background: none; color: transparent; cursor: pointer; transition: transform var(--dur) var(--ease); }
.save-btn svg path { stroke: var(--text-muted); }
.save-btn:hover { transform: scale(1.1); }
.save-btn[aria-pressed="true"] { color: var(--coral-500); }
.save-btn[aria-pressed="true"] svg path { stroke: var(--coral-500); }
.title-row { display: flex; align-items: flex-start; gap: var(--space-3); }
.title-row .save-btn { margin-top: .4em; }

/* ---------- Compare ---------- */
.compare-check { position: relative; z-index: 2; margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: var(--step--1); color: var(--text-muted); cursor: pointer; }
.compare-check input { width: 18px; height: 18px; accent-color: var(--lilac-600); }
.compare-tray { position: fixed; z-index: 25; left: 50%; bottom: var(--space-4); transform: translateX(-50%); width: min(640px, calc(100vw - 2 * var(--gutter))); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-3) var(--space-4); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); animation: rise var(--dur) var(--ease); }
.compare-tray[hidden] { display: none; }
.compare-tray p { margin: 0; font-weight: 500; }
.compare-tray-actions { display: flex; gap: var(--space-3); align-items: center; }
.compare-tray .btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.has-tray .site-footer { padding-bottom: 110px; }
.compare-dialog { width: min(920px, calc(100vw - 2 * var(--gutter))); max-height: 86dvh; padding: var(--space-5); border: 1px solid var(--border); border-radius: var(--radius-l); background: var(--surface); color: var(--text); }
.compare-dialog::backdrop { background: rgb(15 21 32 / .45); }
.compare-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-4); }
.compare-head h2 { margin: 0; }
.table-scroll { overflow-x: auto; }
.compare-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .95rem; }
.compare-table th, .compare-table td { padding: var(--space-3); border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.compare-table thead th { font-family: var(--font-display); font-size: 1.1rem; }
.compare-table thead a { color: var(--text); text-decoration: none; }
.compare-table tbody th { color: var(--text-muted); font-weight: 600; width: 22%; }
.compare-table ul { padding-left: 1.1em; list-style: disc; }
.compare-table .yes { color: var(--brand-text); font-weight: 700; font-size: 1.1rem; }
.compare-table .no { color: var(--text-muted); }
.th-price { display: block; margin-top: var(--space-1); }
.th-price .price { font-size: 1.1rem; }
.buy-row td .btn { min-height: 40px; }

/* ---------- "?" tips ---------- */
.tip { position: relative; display: inline-flex; vertical-align: middle; }
.tip-btn { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text-muted); font-size: .75rem; font-weight: 700; cursor: help; }
.tip-text { position: absolute; z-index: 40; bottom: calc(100% + 8px); left: 50%; width: max-content; max-width: min(280px, 80vw); transform: translateX(-50%); padding: var(--space-3); border-radius: var(--radius-s); background: var(--text); color: var(--bg); font-size: .85rem; font-weight: 400; line-height: 1.45; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease); pointer-events: none; }
.tip:hover .tip-text, .tip-btn:focus-visible + .tip-text, .tip-btn:focus + .tip-text { opacity: 1; visibility: visible; }
@media (max-width: 599px) { .tip-text { left: auto; right: -40px; transform: none; } }
.ai-note { display: flex; align-items: center; gap: var(--space-2); margin-top: var(--space-3); font-size: var(--step--1); color: var(--text-muted); }

/* ---------- VA Academy ---------- */
.which-grid { grid-template-columns: 1fr; }
@media (min-width: 768px) { .which-grid { grid-template-columns: repeat(3, 1fr); } }
.which { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); color: var(--text); text-decoration: none; transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.which:hover { transform: translateY(-2px); border-color: var(--lilac-500); }
.which-q { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.which-text { color: var(--text-muted); flex: 1; }
.which-go { font-weight: 600; color: var(--brand-text); }

/* ---------- Services ---------- */
.jump { margin-bottom: var(--space-5); }
.service-list { display: grid; gap: var(--space-4); }
.service { padding: var(--space-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); scroll-margin-top: 90px; }
.service-summary { font-weight: 500; }
.service .prose { font-size: 1rem; color: var(--text-muted); margin-bottom: var(--space-4); }
@media (min-width: 900px) { .service { display: grid; grid-template-columns: 1fr 1.6fr; column-gap: var(--space-6); } .service h2 { grid-row: span 3; } }

/* ---------- Forms ---------- */
.form-block { padding: var(--space-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); scroll-margin-top: 90px; }
.form-frame { width: 100%; min-height: 420px; border: 0; margin-top: var(--space-3); }
.form-soon { padding: var(--space-4); border: 1.5px dashed var(--border); border-radius: var(--radius); color: var(--text-muted); margin: 0; }
.contact-facts { display: grid; gap: var(--space-2); margin: var(--space-5) 0; }
.contact-facts li { display: flex; gap: var(--space-3); align-items: baseline; }
.contact-facts li > span { font-weight: 600; min-width: 3.5rem; color: var(--text-muted); }
.community-forms { align-items: start; }

/* ---------- Prose (legal, articles, about) ---------- */
.prose h2 { font-size: 1.4rem; margin-top: var(--space-6); }
.prose h3 { margin-top: var(--space-5); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 var(--space-4); }
.prose ul { list-style: disc; }
.prose li { margin-bottom: var(--space-2); }
.prose blockquote { margin: var(--space-5) 0; padding-left: var(--space-4); border-left: 3px solid var(--lilac-500); color: var(--text-muted); }
.prose img { border-radius: var(--radius); margin-block: var(--space-4); }
.legal { font-size: 1rem; }
.h3 { font-size: var(--step-1); }

/* ---------- About ---------- */
.about-grid { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 768px) { .about-grid { grid-template-columns: 1.4fr 1fr; } }
.about-hero .hero-title { font-size: var(--step-2); max-width: 26ch; line-height: 1.3; }
.portrait img, .portrait-placeholder { width: min(320px, 70vw); aspect-ratio: 1; border-radius: 50%; object-fit: cover; margin-inline: auto; box-shadow: var(--shadow); }
.portrait-placeholder { display: grid; place-items: center; background: var(--gradient); color: #fff; font-family: var(--font-display); font-size: 4.5rem; font-weight: 600; }
.media-hello { display: grid; gap: var(--space-5); }
.audio-card { padding: var(--space-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); }
.audio-card audio { width: 100%; }

/* ---------- Video + podcast players ---------- */
.lite-yt { cursor: pointer; }
.lite-yt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.play-btn { position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border: 0; border-radius: 50%; background: rgb(15 21 32 / .75); color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform var(--dur) var(--ease), background var(--dur) var(--ease); }
.lite-yt:hover .play-btn { transform: scale(1.06); background: var(--lilac-700); }
.episodes { display: grid; gap: var(--space-4); padding: 0; list-style: none; }
.episode { padding: var(--space-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); }
.player { width: 100%; border: 0; border-radius: var(--radius); margin-top: var(--space-3); }
.player-spotify { height: 152px; }
.player-apple { height: 175px; }
.video-item h3 { margin-top: var(--space-3); }

/* ---------- Journal + articles ---------- */
.article-head { padding-top: var(--space-5); }
.article-head .hero-title { max-width: none; }
.article-cover { width: 100%; border-radius: var(--radius-l); margin-block: var(--space-4); }
.toc details { margin: var(--space-5) 0; padding: var(--space-4) var(--space-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.toc summary { font-weight: 600; cursor: pointer; }
.toc ol { margin: var(--space-3) 0 0; padding-left: 1.3em; list-style: decimal; }
.toc li { margin-bottom: var(--space-1); }
.article-body { padding-bottom: var(--space-5); }
.article-body h2 { scroll-margin-top: 90px; }
.read-progress { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: 3px; }
.read-progress span { display: block; height: 100%; background: var(--gradient); transform: scaleX(0); transform-origin: left; }
.card[hidden] { display: none; }

/* ---------- Books ---------- */
.books { grid-template-columns: 1fr; gap: var(--space-5); }
.book { display: grid; grid-template-columns: 120px 1fr; gap: var(--space-5); align-items: start; padding: var(--space-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); }
@media (min-width: 768px) { .book { grid-template-columns: 180px 1fr; } }
.book-cover { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 6px; box-shadow: var(--shadow); }
.book-cover-blank { display: grid; place-items: center; padding: var(--space-3); background: var(--gradient); color: #fff; font-family: var(--font-display); text-align: center; }
.book .prose { font-size: 1rem; color: var(--text-muted); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: var(--space-4); }
@media (min-width: 768px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .quotes-wall { grid-template-columns: repeat(3, 1fr); } }
.quote { margin: 0; padding: var(--space-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); }
.quote blockquote { margin: 0 0 var(--space-4); font-size: 1.05rem; }
.quote blockquote p:last-child { margin: 0; }
.quote figcaption { display: flex; align-items: center; gap: var(--space-3); }
.quote figcaption img { border-radius: 50%; object-fit: cover; }
.quote figcaption span { display: grid; }
.quote figcaption span span { color: var(--text-muted); font-size: var(--step--1); }

/* ---------- Gentle newsletter prompt ---------- */
.news-prompt { display: grid; gap: var(--space-4); padding: var(--space-5); border-radius: var(--radius-l); background: var(--brand-soft); }
.news-prompt h2 { font-size: 1.3rem; margin-bottom: var(--space-2); }
.news-prompt p { margin: 0; color: var(--text-muted); }
.news-prompt .btn { justify-self: start; }
@media (min-width: 700px) { .news-prompt { grid-template-columns: 1fr auto; align-items: center; } }

.highlights { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0 0 var(--space-2); }
.highlights li { padding: 4px 12px; border-radius: var(--radius-pill); background: var(--brand-soft); color: var(--brand-text); font-size: var(--step--1); font-weight: 500; }

/* ======================= Design round (2026-09-30): brighter, sharper ======================= */

/* ---------- Homepage hero: question left, video or app showcase right ---------- */
.hero-home { padding-block: var(--space-7) var(--space-5); overflow: hidden; }
.hero-home::before { height: 640px; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); background:
  radial-gradient(45% 60% at 8% 0%, color-mix(in srgb, var(--lilac-500) 20%, transparent), transparent 70%),
  radial-gradient(35% 50% at 92% 18%, color-mix(in srgb, var(--coral-500) 16%, transparent), transparent 70%),
  radial-gradient(30% 40% at 60% 90%, color-mix(in srgb, var(--lilac-300) 18%, transparent), transparent 70%); }
.hero-grid { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: var(--space-7); } }
.hero-home .hero-title { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem); max-width: 14ch; }
.hero-home .hero-lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--text); max-width: 34ch; font-weight: 500; }
.hero-hint { margin: 0; color: var(--text-muted); font-size: var(--step-0); }
.hero-lead + .hero-hint { margin-top: calc(-1 * var(--space-2)); }
.hero-home .chips-scroller { margin-top: var(--space-4); }

/* Showcase: real app screens in phones, gently fanned */
.showcase { position: relative; margin-top: var(--space-5); height: clamp(380px, 62vw, 540px); display: flex; justify-content: center; align-items: center; }
.showcase::before { content: ""; position: absolute; inset: 12% 10%; border-radius: 50%; background: var(--gradient); filter: blur(60px); opacity: .28; }
.showcase-phone { position: absolute; display: block; width: clamp(140px, 24vw, 205px); aspect-ratio: 600 / 1298; padding: 7px; border-radius: 30px; background: #15121f; box-shadow: var(--shadow-lg); transition: transform var(--dur-slow) var(--ease); }
.showcase-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 24px; }
.showcase-0 { z-index: 3; }
.showcase-1 { z-index: 2; transform: translateX(-62%) rotate(-7deg) scale(.88); }
.showcase-2 { z-index: 1; transform: translateX(62%) rotate(7deg) scale(.88); }
.showcase-phone:hover { transform: translateY(-4%) scale(1.02); z-index: 4; }
.showcase-1 .showcase-badge, .showcase-2 .showcase-badge { display: none; }
.showcase-badge { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 4px; border-radius: var(--radius-pill); background: var(--surface); color: var(--text); font-size: .8rem; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow); }
.showcase-badge img { width: 24px; height: 24px; border-radius: 7px; }
@media (max-width: 959px) { .hero-visual { order: 2; } }

/* Welcome video beside the question */
.hero-video { margin: 0; }
.hero-video .video { border-radius: var(--radius-l); box-shadow: var(--shadow-lg); margin: 0; }
.hero-video figcaption { margin-top: var(--space-3); color: var(--text-muted); font-size: var(--step--1); }
.hero-video figcaption strong { color: var(--text); margin-right: var(--space-1); }

/* Dark mode: a stronger lilac + coral glow so the night view feels like the brand, not grey */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero-home::before { filter: saturate(1.4) brightness(1.35); } }
:root[data-theme="dark"] .hero-home::before { filter: saturate(1.4) brightness(1.35); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .card:hover, :root:not([data-theme="light"]) .dir-tile:hover { border-color: var(--lilac-500); } }

/* ---------- Fun strip: playful lines about remote life ---------- */
.fun { padding-block: var(--space-4) var(--space-2); }
.fun-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2); margin-bottom: var(--space-3); }
.fun-label { display: inline-block; padding: 2px 10px; border-radius: var(--radius-pill); background: var(--brand-soft); color: var(--brand-text); font-size: .78rem; font-weight: 600; letter-spacing: .02em; }
.fun-head strong { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: -.01em; }
.fun-row { display: grid; gap: var(--space-3); }
@media (min-width: 640px) { .fun-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .fun-row { grid-template-columns: repeat(4, 1fr); } }
.fun-card { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-4); background: var(--surface); border: 1px dashed var(--border-strong); border-radius: var(--radius); font-size: .95rem; line-height: 1.45; }
.fun-card[hidden] { display: none; }
.fun-emoji { flex: none; font-size: 1.4rem; line-height: 1; }

/* ---------- Promises: why people feel good buying here ---------- */
.promises { padding-block: var(--space-2) var(--space-4); }
.promise-row { display: grid; gap: var(--space-3); }
@media (min-width: 640px) { .promise-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .promise-row { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } } /* 3 or 4 promises both fill the row */
.promise-row li { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-4); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.promise-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--gradient); color: #fff; }
.promise-row strong { display: block; font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
.promise-row span span { display: block; color: var(--text-muted); font-size: .9rem; line-height: 1.45; margin-top: 3px; }

/* Language switch: a small globe so it's obvious you can change language */
.lang { position: relative; align-items: center; }
.lang-globe { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); display: grid; color: var(--text-muted); pointer-events: none; }
.lang-globe svg { width: 16px; height: 16px; }
.lang .lang-select { padding-left: 32px; }

/* ---------- Studio directory ---------- */
.dir-grid { display: grid; gap: var(--space-3); }
@media (min-width: 640px) { .dir-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .dir-grid { grid-template-columns: repeat(4, 1fr); } }
.dir-tile { display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-3); align-items: start; height: 100%; padding: var(--space-4); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); text-decoration: none; transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.dir-tile:hover { border-color: var(--lilac-500); transform: translateY(-2px); box-shadow: var(--shadow); }
.dir-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--brand-soft); color: var(--brand-text); }
.dir-text strong { display: block; font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; }
.dir-text span { display: block; color: var(--text-muted); font-size: .9rem; line-height: 1.45; margin-top: 2px; }
.dir-go { color: var(--brand-text); font-weight: 600; transition: transform var(--dur) var(--ease); }
.dir-tile:hover .dir-go { transform: translateX(3px); }

/* ---------- App icons on cards and product pages ---------- */
.card-appicon { width: 48px; height: 48px; border-radius: 13px; box-shadow: 0 6px 16px -8px rgb(21 18 31 / .45); }
/* Naira-only buttons stay hidden for visitors outside Nigeria (.btn's display would otherwise beat [hidden]) */
.btn[hidden] { display: none; }
.card-cover { height: 64px; width: auto; max-width: 96px; border-radius: 8px; object-fit: cover; box-shadow: 0 6px 16px -8px rgb(21 18 31 / .45); }
.product-appicon { width: 64px; height: 64px; border-radius: 17px; box-shadow: var(--shadow); align-self: center; }
.title-row .product-appicon + .hero-title { margin-bottom: 0; align-self: center; }

/* ---------- Shop: VA Academy banner ---------- */
.shop-banner { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); margin-bottom: var(--space-5); padding: var(--space-4) var(--space-5); border-radius: var(--radius); background: var(--brand-soft); color: var(--brand-text); font-weight: 600; text-decoration: none; }
.shop-banner:hover { text-decoration: underline; }

/* ---------- WhatsApp + email ---------- */
.contact-btns { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: var(--space-4) 0; }
.contact-btns-center { justify-content: center; }
.contact-btns-footer .btn { min-height: 40px; padding: 0 var(--space-4); font-size: var(--step--1); }
.btn-whatsapp { background: #1a7d44; color: #fff; }
.btn-whatsapp svg { flex: none; }
.wa-float { position: fixed; z-index: 28; right: var(--space-4); bottom: calc(var(--space-4) + env(safe-area-inset-bottom)); display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #1a7d44; color: #fff; box-shadow: var(--shadow-lg); transition: transform var(--dur) var(--ease); }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }
.has-buybar .wa-float { bottom: 88px; }
@media (min-width: 900px) { .has-buybar .wa-float { bottom: var(--space-4); } }

/* ---------- Sharper cards + buttons ---------- */
.card { border-color: var(--border); box-shadow: 0 1px 2px rgb(21 18 31 / .03); }
.card-title, .card-title a { font-family: var(--font-display); font-weight: 700; letter-spacing: -.015em; }
.price, .price-big { font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; }
.btn { font-weight: 600; letter-spacing: -.005em; }
.section-head h2, .section h2 { letter-spacing: -.03em; }

.hero-video video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }

/* ---------- Star ratings ---------- */
.stars { display: inline-flex; gap: 1px; font-size: 1.1rem; line-height: 1; letter-spacing: 0; }
.star { color: var(--border); }
.star.on { color: #e8a13a; }
.quote .stars { margin-bottom: var(--space-3); }
.rating-summary { display: flex; align-items: center; gap: var(--space-2); margin: 0 0 var(--space-4); color: var(--text-muted); }
.rating-summary strong { color: var(--text); font-size: 1.1rem; }

/* ---------- Audio stories + audiobooks ---------- */
.audio-item { display: grid; gap: var(--space-4); }
@media (min-width: 600px) { .audio-item:has(.audio-cover) { grid-template-columns: 96px 1fr; } }
.audio-cover { width: 96px; height: 96px; object-fit: cover; border-radius: var(--radius); }

/* ---------- Announcement countdown ---------- */
.countdown { font-variant-numeric: tabular-nums; opacity: .9; white-space: nowrap; }

/* Header gets tighter on small phones once the currency picker is in */
@media (max-width: 400px) {
  .logo-word { font-size: 1.05rem; }
  .header-tools { gap: var(--space-1); }
  .currency-select { padding: 0 22px 0 10px; background-position: right 8px center; }
}

/* ---------- Portfolio ---------- */
.work-card { gap: var(--space-2); }
.work-card .kind { margin: 0; }
.work-image { width: calc(100% + 2 * var(--space-5)); max-width: none; margin: calc(-1 * var(--space-5)) calc(-1 * var(--space-5)) var(--space-3); aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-l) var(--radius-l) 0 0; }
.work-more { color: var(--text-muted); font-size: .95rem; }
.work-more p:last-child { margin: 0; }

/* ---------- Saved list: header heart with count, buy buttons on saved cards ---------- */
.saved-link { position: relative; color: inherit; }
.saved-count { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--coral-500); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.saved-count[hidden] { display: none; }
.saved-slot { display: contents; }
.saved-buy { margin-top: var(--space-3); position: relative; z-index: 2; }
.saved-buy .buy { margin: 0; }
.saved-tools { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); }
.saved-tools[hidden] { display: none; }
.saved-tools .small-print { margin: 0; }

/* ===== Shop: "What it is" tabs + "What it's for" chips (2026-10-04) ===== */
.format-tabs .chips { padding-bottom: var(--space-2); }
.chip-tab { font-weight: 600; }
.goal-chips .chips { padding-top: 0; align-items: center; }
.chips-label { font-size: var(--step--1); font-weight: 600; color: var(--text-muted); padding-inline-end: var(--space-1); white-space: nowrap; }
.chip-small { min-height: 38px; padding: 0 var(--space-3); font-size: var(--step--1); }
.more-filters { position: relative; }
.more-filters > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: var(--space-1); min-height: 44px; padding: 0 var(--space-4); border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface); font-weight: 500; color: var(--text); }
.more-filters > summary::-webkit-details-marker { display: none; }
.more-filters > summary::after { content: "▾"; font-size: .8em; color: var(--text-muted); }
.more-filters[open] > summary::after { content: "▴"; }
.more-filters[open] .select-label { margin-top: var(--space-2); }

/* ===== Watch & Listen + Little Ones ===== */
.watch-section h2 { margin-bottom: var(--space-1); }
.watch-section .section-lead { margin-bottom: var(--space-4); }
.platform-links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin-top: var(--space-3); font-size: var(--step--1); }
.platform-verb { color: var(--text-muted); font-weight: 600; }
.platform-link { display: inline-flex; align-items: center; gap: 4px; min-height: 34px; padding: 0 var(--space-3); border: 1px solid var(--border); border-radius: var(--radius-pill); background: var(--surface); color: var(--text); text-decoration: none; font-weight: 500; }
.platform-link:hover, .platform-link:focus-visible { border-color: var(--lilac-500); color: var(--brand-text); }

/* ===== Phone homepage: the question and its choices come first, the app picture after them ===== */
@media (max-width: 959px) {
  .hero-home { display: flex; flex-direction: column; }
  .hero-home > .hero-grid { display: contents; }
  .hero-home .hero-copy { order: 1; width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
  .hero-home > .chips-scroller { order: 2; }
  .hero-home > .wrap { order: 3; }
  .hero-home .hero-visual { order: 4; width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
}
