/* =====================================================================
   Mind Screen — brand-matched single page
   Palette mirrors lib/theme/app_theme.dart
   ===================================================================== */

:root {
  /* Brand (mode-agnostic) */
  --brand-purple: #6C5DD3;
  --brand-blue:   #4A8BFF;
  --brand-purple-dark: #5B3FD6;
  --grad: linear-gradient(135deg, #6C5DD3 0%, #4A8BFF 100%);
  --success: #22C55E;

  /* Light tokens */
  --bg:            #F5F3FB;
  --surface:       #FFFFFF;
  --surface-var:   #EDE9F8;
  --text:          #1A1B3A;
  --text-sec:      #6B7280;
  --border:        #E5E1F2;
  --field:         #F3F0FA;
  --card-shadow:   0 18px 40px -22px rgba(60, 45, 130, .35);
  --hero-img:      url("../img/bg/light-desktop.png");
  --hero-img-wide: url("../img/bg/light-wide.png");
  --hero-img-mob:  url("../img/bg/light-mobile.png");
  --header-bg:     rgba(255, 255, 255, .72);
  --hero-fade:     linear-gradient(to bottom, rgba(245,243,251,0) 0%, var(--bg) 100%);
  --veil:          rgba(245, 243, 251, 0.78);
  --on-hero:       #1A1B3A;
  --on-hero-sec:   #4A4C6B;

  --maxw: 1180px;
  --radius: 20px;
  --radius-pill: 999px;
  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

[data-theme="dark"] {
  --bg:            #0E0B2E;
  --surface:       #1A1745;
  --surface-var:   #231F58;
  --text:          #FFFFFF;
  --text-sec:      #A0A3BD;
  --border:        #2A2750;
  --field:         #1F1B4D;
  --card-shadow:   0 22px 48px -20px rgba(0, 0, 0, .6);
  --hero-img:      url("../img/bg/dark-desktop.png");
  --hero-img-wide: url("../img/bg/dark-wide.png");
  --hero-img-mob:  url("../img/bg/dark-mobile.png");
  --header-bg:     rgba(14, 11, 46, .68);
  --hero-fade:     linear-gradient(to bottom, rgba(14,11,46,0) 0%, var(--bg) 100%);
  --veil:          rgba(14, 11, 46, 0.83);
  --on-hero:       #FFFFFF;
  --on-hero-sec:   #C9CBE6;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .4s ease, color .3s ease;
}
/* Site-wide ambient background: fixed meditation scene + readability veil */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2;
  background-image: var(--hero-img-wide);
  background-size: cover; background-position: center;
  transition: background-image .5s ease;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background: var(--veil); pointer-events: none;
  transition: background .4s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 600; font-size: 16px;
  border: none; cursor: pointer; border-radius: var(--radius-pill);
  padding: 15px 28px; transition: transform .18s ease, box-shadow .25s ease, opacity .2s;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 26px -10px rgba(108,93,211,.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(108,93,211,.85); }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--header-bg);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .4s;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-icon {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 11px;
  background: #fff; box-shadow: 0 3px 10px -3px rgba(60, 45, 130, .3);
  border: 1px solid var(--border);
}
.brand .brand-icon { width: 52px; height: 52px; border-radius: 14px; }
.brand-name {
  font-size: 1.22rem; font-weight: 800; letter-spacing: -.4px; white-space: nowrap;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.main-nav { display: flex; gap: 28px; margin-left: 8px; margin-right: auto; }
.main-nav a { font-size: 15px; font-weight: 500; color: var(--text-sec); transition: color .2s; }
.main-nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-switch { display: flex; background: var(--surface-var); border-radius: var(--radius-pill); padding: 3px; }
.lang-switch button {
  border: none; background: transparent; cursor: pointer; font-family: var(--font);
  font-weight: 600; font-size: 13px; color: var(--text-sec);
  padding: 6px 12px; border-radius: var(--radius-pill); transition: all .2s;
}
.lang-switch button.active { background: var(--grad); color: #fff; }

.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); cursor: pointer;
  display: grid; place-items: center; transition: all .2s;
}
.theme-toggle:hover { border-color: var(--brand-purple); color: var(--brand-purple); }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* Header CTA stays hidden while the hero download badges are on screen,
   then fades in once the user scrolls past the hero. */
.nav-cta { display: none; }
.site-header.past-hero .nav-cta { display: inline-flex; animation: ctaIn .35s ease both; }
@keyframes ctaIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background-image: var(--hero-img-wide);
  background-size: cover; background-position: center 30%;
  transition: background-image .5s ease;
}
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 42%; background: var(--hero-fade); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; text-align: center; padding: 120px 24px 90px; margin: 0 auto; max-width: 860px; }

.pill {
  display: inline-block; padding: 8px 18px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--border);
  color: var(--brand-purple); font-weight: 600; font-size: 13px; letter-spacing: .3px;
  box-shadow: 0 8px 22px -14px rgba(60,45,130,.5);
}
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.08; font-weight: 800;
  letter-spacing: -1.5px; margin: 26px 0 20px; color: var(--on-hero);
}
.hero-title span { display: block; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(1.02rem, 2vw, 1.22rem); color: var(--on-hero-sec); max-width: 640px; margin: 0 auto 34px; }

.store-badges { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  background: #101018; color: #fff; padding: 11px 20px; border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12); transition: transform .18s ease, box-shadow .25s;
  box-shadow: 0 12px 30px -16px rgba(0,0,0,.6);
}
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -16px rgba(0,0,0,.7); }
.store-badge span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-badge small { font-size: 10px; opacity: .8; text-transform: uppercase; letter-spacing: .5px; }
.store-badge strong { font-size: 16px; font-weight: 600; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--on-hero-sec); opacity: .85; }

/* ---------- Trust strip ---------- */
.trust { padding: 34px 0; border-bottom: 1px solid var(--border); }
.trust-label { text-align: center; color: var(--text-sec); font-size: 14px; margin-bottom: 16px; }
.scale-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.scale-chips li {
  font-size: 13px; font-weight: 700; letter-spacing: .5px; color: var(--brand-purple);
  background: var(--surface-var); padding: 7px 15px; border-radius: var(--radius-pill);
}

/* ---------- Generic section ---------- */
.section { padding: 96px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.eyebrow { display: inline-block; color: var(--brand-blue); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 800; letter-spacing: -1px; line-height: 1.15; }
.section-lead { margin-top: 16px; color: var(--text-sec); font-size: 1.05rem; }

/* ---------- 3 cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 28px; box-shadow: var(--card-shadow); transition: transform .25s ease, border-color .25s;
}
.feature-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--brand-purple) 40%, var(--border)); }
.feature-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff; margin-bottom: 20px; }
.ic-a { background: linear-gradient(135deg,#6C5DD3,#8B7BFF); }
.ic-b { background: linear-gradient(135deg,#4A8BFF,#6C5DD3); }
.ic-c { background: linear-gradient(135deg,#5B3FD6,#4A8BFF); }
.feature-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--text-sec); font-size: .98rem; }

/* ---------- How it works ---------- */
.how { background: transparent; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 24px 26px; box-shadow: var(--card-shadow);
}
.step-n {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 1.15rem; margin-bottom: 18px;
}
.step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--text-sec); font-size: .95rem; }

/* ---------- Tests grid ---------- */
.tests-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.test-card {
  position: relative; display: flex; flex-direction: column; align-items: center;
  width: 100%; font-family: inherit; color: var(--text); cursor: pointer;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 20px 22px; text-align: center;
  box-shadow: var(--card-shadow); transition: transform .25s ease, border-color .25s;
}
.test-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--brand-purple) 45%, var(--border)); }
.test-card:focus-visible { outline: 2px solid var(--brand-purple); outline-offset: 2px; }
.test-card img { width: 96px; height: 96px; object-fit: contain; margin: 0 auto 14px; }
[data-theme="dark"] .test-card img { filter: drop-shadow(0 0 1px rgba(255,255,255,.25)); }
.test-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.test-scale { font-size: 12px; color: var(--text-sec); font-weight: 600; letter-spacing: .4px; }
.test-more {
  margin-top: 12px; font-size: 12px; font-weight: 700; color: var(--brand-purple);
  opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s;
}
.test-card:hover .test-more, .test-card:focus-visible .test-more { opacity: 1; transform: none; }
.tests-foot { text-align: center; margin-top: 34px; color: var(--text-sec); font-size: .95rem; }

/* ---------- Test detail modal ---------- */
.test-modal {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(10, 8, 30, .55); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility .28s ease;
}
.test-modal.open { opacity: 1; visibility: visible; }
.tm-card {
  position: relative; width: 100%; max-width: 560px; max-height: 88vh; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--border); border-radius: 24px;
  padding: 34px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.6);
  transform: translateY(16px) scale(.98); transition: transform .28s ease;
}
.test-modal.open .tm-card { transform: none; }
.tm-close {
  position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; color: var(--text-sec);
  background: var(--surface-var); border: 1px solid var(--border); transition: all .2s;
}
.tm-close:hover { color: var(--brand-purple); border-color: var(--brand-purple); }
.tm-head { display: flex; gap: 18px; align-items: center; margin-bottom: 22px; padding-right: 34px; }
.tm-logo { width: 88px; height: 88px; object-fit: contain; flex-shrink: 0; }
[data-theme="dark"] .tm-logo { filter: drop-shadow(0 0 1px rgba(255,255,255,.25)); }
.tm-scale { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .6px; color: #fff; background: var(--grad); padding: 3px 10px; border-radius: var(--radius-pill); margin-bottom: 8px; }
.tm-head h3 { font-size: 1.3rem; font-weight: 800; line-height: 1.2; letter-spacing: -.4px; }
.tm-sub { font-size: .9rem; color: var(--text-sec); margin-top: 2px; }
.tm-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }
.tm-meta dt { font-size: 11px; text-transform: uppercase; letter-spacing: .8px; color: var(--brand-blue); font-weight: 700; margin-bottom: 4px; }
.tm-meta dd { font-size: .92rem; color: var(--text); }
.tm-history { margin-bottom: 22px; }
.tm-history h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .8px; color: var(--text-sec); margin-bottom: 8px; }
.tm-history p { font-size: .96rem; color: var(--text); line-height: 1.6; }
.tm-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 12px; }
.tm-stat { text-align: center; background: var(--surface-var); border: 1px solid var(--border); border-radius: 16px; padding: 18px 12px; }
.tm-stat-val { display: block; font-size: 1.5rem; font-weight: 800; color: var(--brand-purple); line-height: 1.1; }
.tm-stat-lbl { display: block; font-size: 12px; color: var(--text-sec); font-weight: 600; margin-top: 4px; }
.tm-accnote { text-align: center; font-size: .82rem; color: var(--text-sec); margin-bottom: 16px; }
.tm-disclaimer { font-size: .78rem; color: var(--text-sec); border-top: 1px solid var(--border); padding-top: 14px; line-height: 1.5; }
@media (max-width: 480px) {
  .tm-card { padding: 26px 20px; }
  .tm-head { flex-direction: column; text-align: center; padding-right: 0; }
  .tm-meta { grid-template-columns: 1fr; }
}

/* ---------- Voice ---------- */
.voice-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: center; }
.voice-visual {
  height: 240px; border-radius: 26px; background: var(--grad);
  display: grid; place-items: center; box-shadow: 0 30px 60px -28px rgba(108,93,211,.7); overflow: hidden;
}
.wave { display: flex; align-items: center; gap: 7px; height: 90px; }
.wave span { width: 8px; border-radius: 8px; background: rgba(255,255,255,.9); animation: wave 1.1s ease-in-out infinite; }
.wave span:nth-child(1){height:24px;animation-delay:0s}.wave span:nth-child(2){height:48px;animation-delay:.1s}
.wave span:nth-child(3){height:72px;animation-delay:.2s}.wave span:nth-child(4){height:40px;animation-delay:.3s}
.wave span:nth-child(5){height:88px;animation-delay:.4s}.wave span:nth-child(6){height:40px;animation-delay:.5s}
.wave span:nth-child(7){height:72px;animation-delay:.6s}.wave span:nth-child(8){height:48px;animation-delay:.7s}
.wave span:nth-child(9){height:24px;animation-delay:.8s}
@keyframes wave { 0%,100%{ transform: scaleY(.4);} 50%{ transform: scaleY(1);} }
.voice-text h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 800; letter-spacing: -.8px; margin-bottom: 16px; line-height: 1.2; }
.voice-text p { color: var(--text-sec); font-size: 1.05rem; }

/* ---------- Privacy ---------- */
.privacy-card {
  display: flex; gap: 28px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 26px;
  padding: 44px; box-shadow: var(--card-shadow);
}
.privacy-ic { flex-shrink: 0; width: 72px; height: 72px; border-radius: 20px; background: var(--grad); color: #fff; display: grid; place-items: center; }
.privacy-card h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 12px; letter-spacing: -.6px; }
.privacy-card p { color: var(--text-sec); }

/* ---------- Testimonials ---------- */
.quote { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--card-shadow); }
.quote blockquote { font-size: 1.05rem; line-height: 1.55; margin-bottom: 22px; }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--text-sec); font-weight: 500; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; }

/* ---------- CTA band ---------- */
.cta-band { padding: 84px 0; }
.cta-inner {
  text-align: center; background: var(--grad); border-radius: 32px; padding: 64px 32px;
  color: #fff; box-shadow: 0 40px 80px -34px rgba(108,93,211,.75);
}
.cta-inner h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -1px; margin-bottom: 12px; }
.cta-inner p { font-size: 1.1rem; opacity: .92; margin-bottom: 30px; }
.cta-inner .store-badge { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.28); backdrop-filter: blur(6px); }

/* ---------- FAQ ---------- */
.faq-container { max-width: 820px; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: var(--font); font-weight: 600; font-size: 1.05rem; color: var(--text);
  padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .chev { flex-shrink: 0; transition: transform .3s; color: var(--brand-purple); font-size: 1.4rem; line-height: 1; }
.faq-item.open .chev { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 24px 22px; color: var(--text-sec); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding-top: 64px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; padding-bottom: 48px; }
.footer-logo { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.footer-brand p { color: var(--text-sec); font-size: .95rem; max-width: 360px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; color: var(--text); }
.footer-col a { display: block; color: var(--text-sec); font-size: .95rem; margin-bottom: 11px; transition: color .2s; }
.footer-col a:hover { color: var(--brand-purple); }
.footer-disclaimer { padding: 24px 0; border-top: 1px solid var(--border); }
.footer-disclaimer p { color: var(--text-sec); font-size: .84rem; line-height: 1.6; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px 40px; color: var(--text-sec); font-size: .88rem; flex-wrap: wrap; gap: 16px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; color: var(--text-sec); transition: all .2s; }
.footer-social a:hover { color: var(--brand-purple); border-color: var(--brand-purple); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .tests-grid { grid-template-columns: repeat(3, 1fr); }
  .voice-inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-bg { background-image: var(--hero-img); }
  body::before { background-image: var(--hero-img); }
}
@media (max-width: 720px) {
  .main-nav, .nav-cta { display: none; }
  .site-header.past-hero .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .site-header.menu-open { background: var(--bg); }
  .main-nav.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border); padding: 18px 24px; gap: 18px;
  }
  .tests-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-bg { background-image: var(--hero-img-mob); background-position: center 20%; }
  body::before { background-image: var(--hero-img-mob); }
  .privacy-card { flex-direction: column; text-align: center; padding: 32px 24px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
}
@media (max-width: 460px) {
  .steps { grid-template-columns: 1fr; }
  .tests-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .wave span { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------------- "Coming soon" app-availability toast ---------------- */
.app-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(24px);
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: min(440px, calc(100vw - 32px));
  padding: 14px 16px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.app-toast.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.app-toast-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  color: #fff;
  background: var(--grad);
}
.app-toast-text { display: flex; flex-direction: column; gap: 3px; }
.app-toast-text strong { font-size: 15px; font-weight: 700; }
.app-toast-text span { font-size: 13.5px; line-height: 1.5; color: var(--text-sec); }
.app-toast-close {
  flex-shrink: 0;
  border: none; background: transparent; cursor: pointer;
  color: var(--text-sec); padding: 2px; margin: -2px -4px 0 0;
  border-radius: 8px; line-height: 0; transition: color .2s, background .2s;
}
.app-toast-close:hover { color: var(--text); background: var(--surface-var); }
@media (max-width: 520px) {
  .app-toast { bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .app-toast { transition: opacity .2s ease, visibility .2s; transform: translateX(-50%); }
  .app-toast.show { transform: translateX(-50%); }
}
