[data-bs-theme="light"] {
    --rdt-hero-top: #885eb2; --rdt-hero-bottom: #5d3fb0;
    --rdt-primary: #5b47d6; --rdt-primary-soft: #8a63d9; --rdt-accent: #6f5fe8;
    --rdt-surface: #f8f6fe; --rdt-card: #fff; --rdt-field: #eff1fc;
    --rdt-border: #e0e3f7; --rdt-divider: #ddd7f3; --rdt-ink: #1f2552;
    --rdt-muted: #555d80; --rdt-link: #4b3fcf; --rdt-tile: #e1e4fb;
    --rdt-selected: #e9e4fb; --rdt-success: #66bf84; --rdt-danger: #cc4a35; --rdt-danger-ink: #b93a28;
    --rdt-danger-tint: #fceceb; --rdt-danger-button: #b93a28; --rdt-button-end: #7650bc;
    --bs-primary-rgb: 91,71,214; --bs-body-color-rgb: 31,37,82;
    --bs-body-bg-rgb: 248,246,254; --bs-link-color-rgb: 75,63,207; --bs-danger-rgb: 204,74,53;
}
[data-bs-theme="dark"] {
    --rdt-hero-top: #313131; --rdt-hero-bottom: #241c44;
    --rdt-primary: #6d5fe0; --rdt-primary-soft: #9a78e6; --rdt-accent: #8c7ff5;
    --rdt-surface: #171a33; --rdt-card: #262a4b; --rdt-field: #262a4b;
    --rdt-border: #383e68; --rdt-divider: #34396a; --rdt-ink: #f2f3ff;
    --rdt-muted: #c2c6e3; --rdt-link: #b3aaff; --rdt-tile: #353b72;
    --rdt-selected: #2c3160; --rdt-success: #6fb687; --rdt-danger: #ce8074; --rdt-danger-ink: #d58c80;
    --rdt-danger-tint: #3c2a40; --rdt-danger-button: #a83323; --rdt-button-end: #6954ba;
    --bs-primary-rgb: 109,95,224; --bs-body-color-rgb: 242,243,255;
    --bs-body-bg-rgb: 23,26,51; --bs-link-color-rgb: 179,170,255; --bs-danger-rgb: 206,128,116;
}
[data-bs-theme] {
    color-scheme: light;
    --rdt-premium-top: #ffe9a3; --rdt-premium-bottom: #ffc857;
    --rdt-premium-border: #e9a43a; --rdt-premium-ink: #8a4b0c; --rdt-on-primary: #fff;
    --bs-primary: var(--rdt-primary); --bs-body-bg: var(--rdt-surface);
    --bs-tertiary-bg: var(--rdt-surface); --bs-secondary-bg: var(--rdt-field);
    --bs-body-color: var(--rdt-ink); --bs-emphasis-color: var(--rdt-ink);
    --bs-heading-color: var(--rdt-ink); --bs-secondary-color: var(--rdt-muted);
    --bs-border-color: var(--rdt-border); --bs-link-color: var(--rdt-link);
    --bs-link-hover-color: var(--rdt-link); --bs-danger: var(--rdt-danger);
    --bs-focus-ring-color: color-mix(in srgb, var(--rdt-accent) 25%, transparent);
    --bs-font-sans-serif: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --bs-body-font-family: var(--bs-font-sans-serif);
}
[data-bs-theme="dark"] { color-scheme: dark; }
[data-bs-theme] { --rdt-shadow: 0 10px 30px rgb(71 45 137 / 8%); --rdt-radius: 18px; }
[data-bs-theme="dark"] { --rdt-shadow: 0 10px 30px rgb(0 0 0 / 25%); }

/* Base (from the portal) */
html { scroll-behavior: smooth; }
body { font-size: 16px; line-height: 1.5; min-height: 100vh; display: flex; flex-direction: column; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.025em; }
h2 { font-size: 32px; margin-bottom: 12px; }
h3 { font-size: 19px; margin-bottom: 6px; }
p { margin-bottom: 12px; }
a { text-underline-offset: .2em; }
::selection { background: var(--rdt-selected); color: var(--rdt-ink); }
:focus-visible { outline: 3px solid var(--rdt-accent); outline-offset: 4px; box-shadow: none; }
.btn:focus-visible, .navbar-toggler:focus-visible, .nav-link:focus-visible, summary:focus-visible {
    outline: 3px solid var(--rdt-accent);
    outline-offset: 3px;
    box-shadow: none;
}
:target { scroll-margin-top: 24px; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 2000; background: var(--rdt-card); padding: 12px; border-radius: 14px; }
.skip-link:focus { top: 12px; }
.site-main:focus { outline: none; }
.site-main { flex: 1; }

/* Header */
.site-header, .site-footer { background: var(--rdt-card); }
.site-header { position: sticky; top: 0; z-index: 20; box-shadow: 0 1px 0 var(--rdt-border); }
.navbar { padding-inline: 12px; min-height: 72px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; gap: 16px; }
.brand { color: var(--rdt-ink); display: inline-flex; align-items: center; gap: 12px; font-size: 26px; font-weight: 700; text-decoration: none; letter-spacing: -.03em; }
.brand:hover { color: var(--rdt-ink); }
.brand img { object-fit: contain; flex-shrink: 0; }
.nav-tools { display: flex; align-items: center; order: 3; gap: 8px; }
.navbar-nav { align-items: center; gap: 8px; }
.nav-link { color: var(--rdt-ink); background: transparent; border: 0; min-height: 48px; display: flex; align-items: center; gap: 6px; padding: 8px 12px !important; font-weight: 600; font-size: 15px; border-radius: 12px; }
.nav-link:hover, .nav-link:focus { color: var(--rdt-link); }
.portal-link .bi { font-size: 12px; }
.language-toggle { white-space: nowrap; min-height: 48px; padding: 8px; color: var(--rdt-ink); font-weight: 700; }
.theme-toggle { color: var(--rdt-ink); min-width: 48px; min-height: 48px; background: var(--rdt-selected); border-radius: 14px; }
.language-toggle, .theme-toggle {
    --bs-btn-color: var(--rdt-ink); --bs-btn-hover-color: var(--rdt-link);
    --bs-btn-active-color: var(--rdt-link); --bs-btn-hover-bg: var(--rdt-selected);
}
.no-js .theme-toggle, .no-js .language-menu { display: none; }
.dropdown-menu { --bs-dropdown-bg: var(--rdt-card); --bs-dropdown-color: var(--rdt-ink); --bs-dropdown-link-color: var(--rdt-ink); --bs-dropdown-link-hover-bg: var(--rdt-selected); --bs-dropdown-link-hover-color: var(--rdt-ink); --bs-dropdown-link-active-bg: var(--rdt-selected); --bs-dropdown-link-active-color: var(--rdt-link); border-radius: 14px; border-color: var(--rdt-border); }
.dropdown-item { padding: 12px 16px; }
.dropdown-item[aria-current="true"] { color: var(--rdt-link); font-weight: 700; }

/* Buttons (from the portal) */
.btn { font-weight: 600; display: inline-flex; justify-content: center; align-items: center; gap: 10px; }
.btn-primary { --bs-btn-color: #fff; --bs-btn-bg: var(--rdt-primary); --bs-btn-border-color: transparent; --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--rdt-primary); --bs-btn-hover-border-color: var(--rdt-accent); --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--rdt-primary); --bs-btn-active-border-color: var(--rdt-primary); background: linear-gradient(110deg,var(--rdt-primary),var(--rdt-button-end)); border-radius: 28px; min-height: 52px; padding: 12px 28px; }
.btn-primary:hover { background: var(--rdt-primary); }
.btn-soft { --bs-btn-color: var(--rdt-link); --bs-btn-bg: var(--rdt-tile); --bs-btn-hover-color: var(--rdt-link); --bs-btn-hover-bg: var(--rdt-selected); --bs-btn-active-color: var(--rdt-link); --bs-btn-active-bg: var(--rdt-selected); background: var(--rdt-tile); color: var(--rdt-link); border: 1px solid transparent; border-radius: 22px; min-height: 48px; padding: 10px 22px; }
.btn-soft:hover { background: var(--rdt-selected); }

/* Hero */
.site-hero { position: relative; color: #fff; background: linear-gradient(125deg, var(--rdt-hero-top), var(--rdt-hero-bottom)); }
.hero-decor { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-decor::before, .hero-decor::after { content: ""; position: absolute; bottom: 0; width: 300px; height: 320px; background: url("../img/hero_branch_left.svg") center / contain no-repeat; opacity: .16; }
.hero-decor::before { left: -110px; transform: rotate(22deg); }
.hero-decor::after { right: -50px; top: -20px; bottom: auto; background-image: url("../img/hero_branch_right.svg"); transform: rotate(-16deg); }
.hero-inner { position: relative; display: flex; align-items: center; gap: 32px; min-height: 300px; padding-top: 40px; padding-bottom: 72px; }
.hero-copy { position: relative; z-index: 2; flex: 1 1 55%; }
.hero-copy h1 { font-size: clamp(36px, 4.4vw, 58px); font-weight: 800; color: #fff; line-height: 1.12; max-width: 640px; margin-bottom: 16px; }
.hero-copy p { color: #fff; font-size: 20px; line-height: 1.45; max-width: 560px; margin: 0 0 28px; opacity: .95; }
.hero-mascot img { position: relative; z-index: 1; width: 380px; max-width: 40vw; height: auto; }
.hero-waves { position: absolute; left: 0; width: 100%; height: 70px; bottom: -1px; z-index: 2; pointer-events: none; }
.wave-back { fill: #fff; opacity: .25; }
.wave-front { fill: var(--rdt-surface); }
.hero-home .hero-inner { min-height: 0; align-items: flex-start; padding-top: 72px; padding-bottom: 96px; }
html:lang(pt-BR) .hero-copy h1, html:lang(fr-CA) .hero-copy h1 { font-size: clamp(34px, 3.8vw, 52px); }
.hero-home .hero-copy { padding-top: 24px; }
.hero-visual { position: relative; z-index: 3; flex: 0 0 auto; width: 420px; display: flex; justify-content: center; align-self: flex-end; margin-bottom: -150px; }
.hero-phone { width: 270px; }
.hero-peek { position: absolute; right: -70px; bottom: 70px; width: 250px; z-index: 4; }
.hero-peek img { width: 100%; height: auto; }

/* Phone frame around app screenshots */
.phone-frame { position: relative; background: #15132a; border-radius: 40px; padding: 10px; box-shadow: 0 18px 32px rgb(40 22 96 / 24%), inset 0 0 0 2px #3a355c; }
.phone-frame::before { content: ""; position: absolute; top: 18px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #15132a; z-index: 2; }
.phone-frame img { display: block; width: 100%; height: auto; border-radius: 30px; }

/* Store badges */
.store-badges { display: flex; flex-wrap: wrap; gap: 14px; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; min-width: 176px; min-height: 58px; padding: 8px 18px 8px 14px; border-radius: 12px; background: #000; color: #fff; border: 1px solid #a6a6a6; text-decoration: none; line-height: 1.05; transition: transform .15s ease, box-shadow .15s ease; }
.store-badge:hover, .store-badge:focus-visible { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgb(0 0 0 / 25%); }
.store-badge .bi { font-size: 30px; line-height: 1; }
.store-badge span { display: flex; flex-direction: column; text-align: left; }
.store-badge small { font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.store-badge strong { font-size: 22px; font-weight: 600; letter-spacing: -.02em; }

/* Sheet below the hero */
.home-sheet { position: relative; z-index: 5; padding-bottom: 72px; }
.site-card { background: var(--rdt-card); border: 1px solid var(--rdt-border); border-radius: var(--rdt-radius); box-shadow: var(--rdt-shadow); }
.section-title { text-align: center; font-size: clamp(26px, 3vw, 36px); margin: 72px 0 28px; }

/* Showcase carousel */
.showcase { margin-top: -24px; }
.showcase-card { background: var(--rdt-card); border: 1px solid var(--rdt-border); border-radius: 28px; box-shadow: var(--rdt-shadow); padding: 36px 96px 24px; overflow: hidden; }
.showcase-card::after { content: ""; position: absolute; right: -30px; top: 20px; width: 260px; height: 300px; background: url("../img/hero_branch_right.svg") center / contain no-repeat; opacity: .07; filter: invert(30%) sepia(60%) saturate(800%) hue-rotate(230deg); pointer-events: none; }
.showcase-slide { padding: 4px 0 36px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 48px; }
.showcase-visual { display: flex; justify-content: center; }
.showcase-visual .phone-frame { width: 280px; }
.eyebrow { color: var(--rdt-link); font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.showcase-copy h2 { font-size: clamp(28px, 3.3vw, 44px); font-weight: 800; line-height: 1.15; margin-bottom: 18px; }
.lead-text { color: var(--rdt-muted); font-size: 20px; line-height: 1.5; max-width: 520px; }
.carousel-control-prev, .carousel-control-next { width: 88px; opacity: 1; z-index: 3; }
.carousel-arrow { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--rdt-card); color: var(--rdt-link); font-size: 24px; box-shadow: 0 6px 18px rgb(71 45 137 / 18%); border: 1px solid var(--rdt-border); transition: transform .15s ease; }
.carousel-control-prev:hover .carousel-arrow, .carousel-control-next:hover .carousel-arrow { transform: scale(1.06); }
.carousel-control-prev:focus-visible, .carousel-control-next:focus-visible { outline: none; }
.carousel-control-prev:focus-visible .carousel-arrow, .carousel-control-next:focus-visible .carousel-arrow { outline: 3px solid var(--rdt-accent); outline-offset: 3px; }
.carousel-indicators { position: static; margin: 0; gap: 10px; }
.carousel-indicators [data-bs-target] { width: 12px; height: 12px; border-radius: 6px; border: 0; margin: 0; background-color: var(--rdt-divider); opacity: 1; text-indent: 0; transition: width .25s ease, background-color .25s ease; }
.carousel-indicators .active { width: 36px; background-color: var(--rdt-primary); }
.swipe-hint { display: none; }
/* Without JavaScript the slides become a horizontal scroll-snap strip. */
.no-js .carousel-inner { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
.no-js .carousel-item { display: block; flex: 0 0 100%; float: none; margin-right: 0; scroll-snap-align: start; }
.no-js .carousel-control-prev, .no-js .carousel-control-next, .no-js .carousel-indicators { display: none; }

/* What is a thought record */
.thought-record { display: flex; align-items: center; gap: 32px; margin-top: 32px; padding: 40px 48px; overflow: hidden; }
.thought-record-copy { flex: 1 1 60%; }
.thought-record-copy p { color: var(--rdt-muted); font-size: 18px; max-width: 620px; }
.thought-record-mascot { flex: 0 0 auto; }
.thought-record-mascot img { width: 340px; height: auto; margin: -24px -16px -40px 0; }
.record-steps { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.record-steps li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 20px; background: var(--rdt-selected); color: var(--rdt-ink); font-size: 14px; font-weight: 600; }
.record-steps .bi { color: var(--rdt-link); }

/* Features */
.feature-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.feature-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 24px 28px; transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgb(71 45 137 / 14%); }
.feature-mascot img { width: auto; height: 150px; max-width: 100%; object-fit: contain; margin-bottom: 12px; }
.feature-card p { color: var(--rdt-muted); margin: 0; }

/* How it works */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.step { display: flex; align-items: flex-start; gap: 18px; counter-increment: step; }
.step-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 76px; width: 76px; height: 76px; border-radius: 50%; background: var(--rdt-selected); color: var(--rdt-link); font-size: 30px; }
.step h3::before { content: counter(step) ". "; }
.step h3 { padding-bottom: 8px; border-bottom: 1px solid var(--rdt-divider); }
.step p { color: var(--rdt-muted); margin: 0; }

/* Premium teaser */
.premium-card { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 72px; padding: 36px 40px; border: 2px solid var(--rdt-premium-top); background: linear-gradient(100deg, var(--rdt-card) 55%, color-mix(in srgb, var(--rdt-premium-top) 28%, var(--rdt-card))); overflow: hidden; }
.premium-copy { display: flex; gap: 20px; align-items: flex-start; }
.premium-crown { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--rdt-premium-top), var(--rdt-premium-bottom)); border: 1px solid var(--rdt-premium-border); }
.premium-copy h2 { font-size: clamp(26px, 2.8vw, 34px); font-weight: 800; }
.premium-copy p { color: var(--rdt-link); font-size: 18px; max-width: 560px; }
.premium-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; color: var(--rdt-muted); }
.premium-list li { display: flex; gap: 10px; align-items: center; }
.premium-list .bi { color: var(--rdt-premium-border); font-size: 18px; }
.premium-mascot img { width: 340px; height: auto; margin: -24px -16px -44px 0; }

/* FAQ (native details: works without JavaScript, one open at a time through name="faq") */
.faq-list { padding: 8px 24px; }
.faq-item + .faq-item, .faq-more { border-top: 1px solid var(--rdt-divider); }
.faq-item summary { display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 12px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 17px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-question { flex: 1; }
.faq-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; background: var(--rdt-selected); color: var(--rdt-link); }
.faq-chevron { color: var(--rdt-link); transition: transform .2s ease; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 52px 16px; color: var(--rdt-muted); }
.faq-answer p { margin: 0; max-width: 75ch; }
.faq-more { display: flex; justify-content: center; padding: 16px 0 12px; }

/* Download band */
.cta-band { position: relative; color: #fff; background: linear-gradient(125deg, var(--rdt-hero-top), var(--rdt-hero-bottom)); padding: 96px 0 72px; overflow: hidden; }
.cta-waves-top, .cta-waves-bottom { position: absolute; left: 0; width: 100%; height: 70px; z-index: 1; pointer-events: none; }
.cta-waves-top { top: -1px; transform: scaleY(-1); }
.cta-waves-bottom { bottom: -1px; }
.cta-waves-bottom .wave-front { fill: var(--rdt-card); }
.cta-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-copy h2 { color: #fff; font-size: clamp(32px, 4vw, 52px); font-weight: 800; margin-bottom: 12px; }
.cta-copy p { font-size: 20px; margin-bottom: 28px; opacity: .95; }
.cta-mascot img { width: 400px; max-width: 38vw; height: auto; margin-bottom: -40px; }

/* Footer */
.site-footer { padding: 28px 0 20px; }
.footer-content { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 28px; }
.footer-brand { font-size: 24px; }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 20px; }
.footer-links a, .footer-email { color: var(--rdt-ink); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; }
.footer-links a:hover, .footer-email:hover { color: var(--rdt-link); text-decoration: underline; }
.footer-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 0; }
.footer-languages { display: flex; gap: 12px; }
.footer-languages a { font-size: 13px; color: var(--rdt-muted); min-height: 32px; display: inline-flex; align-items: center; text-decoration: none; font-weight: 600; }
.footer-languages a[aria-current="true"] { color: var(--rdt-link); border-bottom: 2px solid var(--rdt-link); }
.footer-publisher { margin: 0; color: var(--rdt-muted); font-size: 13px; }
.footer-note { border-top: 1px solid var(--rdt-divider); margin-top: 16px; padding-top: 16px; }
.footer-note p { margin: 0; color: var(--rdt-muted); font-size: 13px; text-align: center; }

/* Error page */
.error-card { max-width: 640px; margin: 0 auto; padding: 32px; text-align: center; }
.error-card p { color: var(--rdt-muted); font-size: 18px; }

.request-error { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--rdt-card); color: var(--rdt-danger); padding: 16px 24px; border: 1px solid var(--rdt-danger); border-radius: 18px; z-index: 1500; width: min(90%,600px); }
.htmx-request.btn { opacity: .65; pointer-events: none; }

[data-bs-theme="dark"] .store-badge { border-color: #6b6f8e; }
[data-bs-theme="dark"] .premium-card { border-color: color-mix(in srgb, var(--rdt-premium-border) 60%, transparent); }
[data-bs-theme="dark"] .premium-copy p { color: var(--rdt-link); }

@media (max-width: 1199.98px) {
    .showcase-card { padding: 36px 72px 24px; }
    .hero-visual { width: 360px; }
    .hero-peek { width: 200px; right: -50px; }
}
@media (max-width: 991.98px) {
    h2 { font-size: 26px; }
    .navbar { gap: 4px; min-height: 64px; }
    .brand { font-size: 22px; gap: 8px; }
    .brand img { width: 36px; height: 36px; }
    .nav-tools { order: 0; margin-left: auto; gap: 4px; }
    .navbar-toggler { border: 0; padding: 4px 0; color: var(--rdt-ink); min-width: 48px; min-height: 48px; font-size: 28px; }
    .theme-toggle { min-width: 44px; min-height: 44px; padding: 8px; background: transparent; }
    .language-toggle { font-size: 14px; padding: 6px; }
    .navbar-nav { align-items: stretch; gap: 0; padding: 8px 0; }
    .no-js .navbar-collapse { display: block; }
    .no-js .navbar-toggler { display: none; }
    .hero-inner, .hero-home .hero-inner { flex-direction: column; align-items: stretch; gap: 24px; min-height: 0; padding-top: 32px; }
    .hero-home .hero-copy { padding-top: 0; }
    .hero-copy h1 { font-size: clamp(32px, 8.4vw, 44px); }
    html:lang(fr-CA) .hero-copy h1, html:lang(pt-BR) .hero-copy h1 { font-size: clamp(29px, 7.6vw, 42px); }
    .hero-copy p { font-size: 18px; margin-bottom: 20px; }
    .hero-home .hero-inner { padding-bottom: 0; }
    .hero-visual { width: 100%; align-self: center; margin-bottom: -64px; }
    .hero-phone { width: 230px; }
    .hero-peek { width: 160px; right: max(0px, calc(50% - 230px)); bottom: 90px; }
    .hero-mascot { align-self: flex-end; }
    .hero-mascot img { width: 240px; max-width: 60vw; }
    .hero-waves { height: 44px; }
    .showcase-card { padding: 28px 16px 20px; border-radius: 24px; }
    .showcase-slide { grid-template-columns: 1fr; gap: 24px; text-align: center; }
    .showcase-visual .phone-frame { width: 230px; }
    .showcase-copy h2 { font-size: clamp(24px, 6.6vw, 32px); }
    .lead-text { font-size: 17px; margin-inline: auto; }
    .carousel-control-prev, .carousel-control-next { width: 56px; height: 460px; }
    .carousel-arrow { width: 44px; height: 44px; font-size: 20px; }
    .swipe-hint { display: block; text-align: center; color: var(--rdt-muted); font-size: 13px; margin: 10px 0 0; }
    .no-js .swipe-hint { display: block; }
    .thought-record { flex-direction: column-reverse; align-items: stretch; padding: 24px 20px; gap: 8px; }
    .thought-record-mascot { align-self: center; }
    .thought-record-mascot img { width: 240px; margin: -8px 0 -8px; }
    .thought-record-copy p { font-size: 16px; }
    .section-title { text-align: left; margin: 48px 0 20px; }
    .feature-grid { grid-template-columns: 1fr; gap: 12px; }
    .feature-card { flex-direction: row; text-align: left; gap: 16px; padding: 14px 18px 14px 12px; }
    .feature-card h3 { font-size: 18px; margin-bottom: 2px; }
    .feature-card p { font-size: 14px; }
    .feature-mascot { flex: 0 0 100px; display: flex; justify-content: center; }
    .feature-mascot img { width: 100px; height: 84px; object-fit: contain; margin: 0; }
    .steps { grid-template-columns: 1fr; gap: 12px; }
    .step { background: var(--rdt-card); border: 1px solid var(--rdt-border); border-radius: var(--rdt-radius); padding: 14px 18px; }
    .step-icon { flex-basis: 52px; width: 52px; height: 52px; font-size: 22px; }
    .step h3 { border: 0; padding: 0; font-size: 18px; margin-bottom: 2px; }
    .step p { font-size: 14px; }
    .premium-card { flex-direction: column; align-items: stretch; margin-top: 48px; padding: 24px 20px 0; }
    .premium-copy { flex-direction: column; gap: 12px; }
    .premium-copy p { font-size: 16px; }
    .premium-mascot { align-self: flex-end; }
    .premium-mascot img { width: 220px; margin: -24px -8px 0 0; }
    .faq-list { padding: 4px 16px; }
    .faq-item summary { font-size: 16px; gap: 12px; }
    .faq-answer { padding: 0 0 16px 48px; }
    .cta-band { padding: 80px 0 56px; text-align: center; }
    .cta-inner { flex-direction: column; gap: 8px; }
    .cta-copy p { font-size: 17px; }
    .cta-copy .store-badges { justify-content: center; }
    .cta-mascot img { width: 260px; max-width: 70vw; margin-bottom: -24px; }
    .cta-waves-top, .cta-waves-bottom { height: 44px; }
    .footer-content { flex-direction: column; text-align: center; gap: 8px; }
    .footer-links { justify-content: center; gap: 0 16px; }
    .footer-meta { align-items: center; }
}
@media (max-width: 399.98px) {
    .brand { font-size: 19px; }
    .store-badge { min-width: 0; flex: 1 1 150px; padding: 8px 12px; }
    .store-badge strong { font-size: 18px; }
    .store-badge .bi { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.hero-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; padding: 0; margin: 1.25rem 0; list-style: none; font-size: .9rem; }
.hero-facts li::before { content: "✓ "; }

.store-badges { align-items: center; }
.store-link { display: inline-flex; margin-block: 12px; }
.store-link img { display: block; object-fit: contain; }
@media (max-width: 399.98px) {
    .store-link[data-store="app-store"] img { width: 144px; height: 48px; }
    .store-link[data-store="google-play"] img { width: 166px; height: 64px; }
}

@media (max-width: 991.98px) {
    .showcase { margin-top: 0; padding-top: 96px; }
    .showcase > .section-title { margin-top: 0; }
}
