/* ==========================================================================
   Olosho — Core Stylesheet
   Semantic, mobile-first, low-specificity component styles.
   ========================================================================== */

/* ---- Self-hosted fonts --------------------------------------------- */
/* Nunito — rounded humanist family. Three cuts are supplied; the lightest
   cut carries regular body text so the weight ramp reads correctly. */
@font-face {
  font-family: "Nunito";
  src: url("../fonts/light_font.ttf") format("truetype");
  font-weight: 300 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/regular_font.ttf") format("truetype");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/bold_font.ttf") format("truetype");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}
/* Socafe — expressive display face for headings, brand and stat numbers. */
@font-face {
  font-family: "Socafe";
  src: url("../fonts/other_font.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

/* ---- Reset ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
/*
   `overflow-x: clip` on the root removes the few pixels of horizontal
   scroll that decorative bleed (hero aurora) and pre-reveal transforms
   (`[data-reveal="right"]` starts 24px off-axis) would otherwise expose on
   phones. `clip` — unlike `hidden` — does not create a scroll container, so
   the sticky header and FAQ chip rail keep working.
*/
html { color-scheme: light dark; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---- Base ----------------------------------------------------------- */
body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: var(--lh-snug);
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-family: var(--font-display); font-size: var(--fs-hero); line-height: var(--lh-tight); font-weight: var(--fw-black); }
h2 { font-family: var(--font-display); font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
p { text-wrap: pretty; }
strong { color: var(--ink); font-weight: var(--fw-semi); }

/* ---- Layout primitives --------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2rem);
}
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--soft { background: var(--grad-soft); }
.section--tint { background: var(--bg-tint); }
.section--dark { background: var(--grad-dark); color: rgba(255,255,255,.78); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.section-head { max-width: 42rem; margin-inline: auto; text-align: center; margin-bottom: var(--sp-7); }
.section-head p { margin-top: var(--sp-4); font-size: var(--fs-md); color: var(--ink-mute); }
.section--dark .section-head p { color: rgba(255,255,255,.72); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--fs-xs); font-weight: var(--fw-bold);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-600);
}
.eyebrow--on-dark { color: #ffb0cd; }

.lead { font-size: var(--fs-md); color: var(--ink-mute); }

/* ---- Grid helpers --------------------------------------------------- */
.grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); }

/* ---- Buttons -------------------------------------------------------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.5rem;
  font-size: var(--fs-sm); font-weight: var(--fw-bold); letter-spacing: -.01em;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 0; border-radius: var(--r-pill); cursor: pointer;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out),
              background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
  will-change: transform;
}
.btn:hover { transform: translate3d(0, -2px, 0); }
.btn:active { transform: translate3d(0, 0, 0) scale(.98); }
.btn-primary { background: var(--grad-brand); box-shadow: var(--shadow-brand); }
.btn-primary:hover { box-shadow: 0 18px 36px rgba(226,64,122,.42); }
.btn-dark { background: var(--ink); }
.btn-dark:hover { background: #000; box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--brand); color: var(--brand-600); }
.btn-light { background: #fff; color: #18141f; box-shadow: var(--shadow-sm); }
.btn-light:hover { box-shadow: var(--shadow-md); }
.btn-block { display: flex; width: 100%; }
.btn-lg { min-height: 56px; padding: 1rem 2rem; font-size: var(--fs-base); }

/* Store download buttons */
.store-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; min-width: 190px; padding: .55rem 1rem;
  background: #18141f; border-radius: var(--r-md);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.store-btn:hover { transform: translate3d(0,-2px,0); box-shadow: var(--shadow-md); }
.store-btn:active { transform: scale(.98); }
.store-btn img { height: 40px; width: auto; }
.store-btn--outline { background: transparent; box-shadow: inset 0 0 0 2px var(--line); }
.store-btn--featured {
  background: #fff; box-shadow: 0 0 0 3px var(--brand), var(--shadow-brand);
}
.store-btn--featured img { filter: none; }
.store-group { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: stretch; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: var(--fw-bold); color: var(--brand-600); }
.link-arrow svg { transition: transform var(--dur) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---- Header / navigation ------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: var(--surface); }
}
.nav {
  display: flex; align-items: center; gap: var(--sp-4);
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: .6rem; margin-right: auto; }
.brand img { width: 40px; height: 40px; border-radius: 11px; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: var(--fw-black); letter-spacing: -.03em;
  color: var(--ink);
}
.brand-name b { color: var(--brand); }

.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links a {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 .85rem; border-radius: var(--r-pill);
  font-size: var(--fs-sm); font-weight: var(--fw-semi); color: var(--ink-soft);
  transition: color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}
.nav-links a:hover { color: var(--brand-600); background: var(--bg-soft); }
.nav-links a[aria-current="page"] { color: var(--brand-600); }
.nav-cta { margin-left: .5rem; }
.nav-actions { display: flex; align-items: center; gap: var(--sp-3); }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-left: auto;
  background: transparent; border: 0; border-radius: var(--r-sm); cursor: pointer;
}
.nav-toggle span { position: relative; display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--dur) var(--ease-out), background-color var(--dur); }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform var(--dur) var(--ease-out), top var(--dur) var(--ease-out);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---- Theme toggle --------------------------------------------------- */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex: none;
  background: transparent; border: 1px solid var(--line); border-radius: var(--r-pill);
  color: var(--ink-soft); cursor: pointer;
  transition: color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
}
.theme-toggle:hover { background: var(--bg-soft); color: var(--ink); border-color: var(--line-soft); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .i-sun { display: none; }
.theme-toggle .i-moon { display: block; }
: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]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme]) .theme-toggle .i-moon { display: none; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links, .nav-cta {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: .15rem;
    padding: var(--sp-4) clamp(1.15rem, 4vw, 2rem) var(--sp-6);
    background: var(--surface); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translate3d(0, -12px, 0); opacity: 0; visibility: hidden;
    transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility var(--dur);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav-links a { min-height: 52px; font-size: var(--fs-base); border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav-cta { margin-top: var(--sp-4); inset: auto 0 auto 0; border-bottom: 0; box-shadow: none; padding-top: 0; }
  .nav-links a, .nav-cta { transform: none; }
  .nav-open .nav-links, .nav-open .nav-cta { transform: translate3d(0,0,0); opacity: 1; visibility: visible; }
  .nav-open .nav-cta { position: static; }
}

/* ---- Hero ----------------------------------------------------------- */
.hero { position: relative; overflow: clip; background: var(--grad-soft); padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 5.5rem); }
.hero::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: min(46rem, 90vw); aspect-ratio: 1; border-radius: 50%;
  top: -22rem; right: -14rem;
  background: radial-gradient(circle at 30% 30%, rgba(226,64,122,.20), rgba(139,92,246,.06) 55%, transparent 72%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-copy { max-width: 40rem; min-width: 0; }
.hero h1 { margin-top: var(--sp-5); }
.hero h1 .accent {
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin-top: var(--sp-5); font-size: var(--fs-md); color: var(--ink-soft); max-width: 34rem; }
.hero-actions { margin-top: var(--sp-6); }
.hero-note { margin-top: var(--sp-4); font-size: var(--fs-sm); color: var(--ink-mute); }
.hero-badges { display: flex; flex-wrap: wrap; gap: var(--sp-4) var(--sp-6); margin-top: var(--sp-7); }
.hero-badge { display: flex; align-items: center; gap: .6rem; font-size: var(--fs-sm); color: var(--ink-soft); }
.hero-badge strong { font-size: 1.15rem; display: block; line-height: 1.1; }
.hero-badge svg { color: var(--brand); flex: none; }
.hero-visual { position: relative; display: flex; justify-content: center; min-width: 0; }
/* The fanned screens have intrinsic widths that exceed the column on small
   screens; minmax(0,1fr) + min-width:0 lets the track shrink to the viewport
   so the copy/badges are never pushed past the right edge and clipped. */
@media (max-width: 860px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero-visual { order: -1; } }

/* ---- Phone mockup (pure CSS, no photos) ---------------------------- */
.phone {
  /* The mockup always renders as a light device screen, in either theme. */
  --ink: #18141f; --ink-soft: #4c4757; --ink-mute: #7b7686;
  --line: #ece7f0; --line-soft: #f5f1f8; --bg-soft: #f8f5fc; --surface: #ffffff;
  position: relative; width: min(19rem, 78vw); aspect-ratio: 9 / 19;
  background: #fff; border-radius: 2.5rem; padding: .6rem;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(24,20,31,.05);
}
.phone::before {
  content: ""; position: absolute; top: 1.1rem; left: 50%; transform: translateX(-50%);
  width: 34%; height: 6px; border-radius: var(--r-pill); background: rgba(24,20,31,.12);
}
.phone-screen {
  height: 100%; border-radius: 2rem; overflow: hidden; background: #fff;
  display: flex; flex-direction: column; border: 1px solid var(--line-soft);
}
.phone-status { display: flex; justify-content: space-between; padding: .55rem .9rem 0; font-size: .6rem; font-weight: 700; color: var(--ink-mute); }
.phone-appbar { display: flex; align-items: center; justify-content: space-between; padding: .5rem .9rem; }
.phone-appbar .t { font-weight: var(--fw-black); color: var(--ink); font-size: .95rem; }
.phone-appbar img { width: 22px; height: 22px; border-radius: 6px; }
.phone-body { padding: .35rem .9rem .9rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.pcard {
  border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-xs);
  border: 1px solid var(--line-soft);
}
.pcard-img { height: 7.2rem; background: var(--grad-brand-2); position: relative; }
.pcard-img::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.35), transparent 60%); }
.pcard-meta { padding: .6rem .7rem; display: flex; justify-content: space-between; align-items: center; }
.pcard-meta .nm { font-size: .8rem; font-weight: var(--fw-bold); color: var(--ink); }
.pcard-meta .loc { font-size: .68rem; color: var(--ink-mute); }
.chip-row { display: flex; gap: .35rem; flex-wrap: wrap; }
.chip { font-size: .64rem; font-weight: 700; padding: .28rem .55rem; border-radius: var(--r-pill); background: var(--bg-soft); color: var(--brand-600); }
.chat { display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.msg { max-width: 82%; padding: .45rem .65rem; border-radius: 14px; font-size: .7rem; line-height: 1.35; }
.msg.in { background: var(--line-soft); color: var(--ink-soft); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.out { background: var(--grad-brand); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.phone-input { margin-top: auto; display: flex; gap: .4rem; align-items: center; }
.phone-input span { flex: 1; height: 30px; border-radius: var(--r-pill); background: var(--line-soft); }
.phone-input i { width: 30px; height: 30px; border-radius: 50%; background: var(--grad-brand); flex: none; }

.phone-stack { position: relative; }
.phone-stack .phone { position: relative; }
.phone-float {
  position: absolute; z-index: 3; bottom: 8%; left: -6%;
  display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem;
  background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  font-size: var(--fs-xs); font-weight: var(--fw-semi); color: var(--ink);
}
.phone-float .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(31,157,107,.18); }
.phone-float--2 { bottom: auto; top: 12%; left: auto; right: -5%; }
@media (max-width: 520px) { .phone-float, .phone-float--2 { display: none; } }

/* ---- Stat strip ----------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: var(--sp-5); text-align: center; }
.stat { padding: var(--sp-5) var(--sp-4); }
.stat .n { font-family: var(--font-display); font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.6rem); font-weight: var(--fw-black); color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.stat .n em { font-style: normal; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .l { margin-top: .5rem; font-size: var(--fs-sm); color: var(--ink-mute); }
.section--dark .stat .n { color: #fff; }
.section--dark .stat .l { color: rgba(255,255,255,.7); }

/* ---- Cards ---------------------------------------------------------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.3rem, 3vw, 1.9rem);
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur);
}
.card:hover { transform: translate3d(0,-4px,0); box-shadow: var(--shadow-md); border-color: var(--line-soft); }
.card h3 { font-size: var(--fs-lg); margin-bottom: .5rem; }
.card p { color: var(--ink-mute); font-size: var(--fs-sm); }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; margin-bottom: var(--sp-4); border-radius: var(--r-md);
  background: var(--bg-soft); color: var(--brand-600);
}
.card-icon svg { width: 26px; height: 26px; }

/* ---- Steps ---------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: var(--sp-5); }
.step { position: relative; display: grid; grid-template-columns: auto 1fr; gap: var(--sp-5); align-items: start; padding: clamp(1.2rem,3vw,1.7rem); background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-xs); }
.step-n {
  counter-increment: step; width: 46px; height: 46px; border-radius: var(--r-md);
  display: grid; place-items: center; font-weight: var(--fw-black); color: #fff;
  background: var(--grad-brand); font-size: 1.05rem;
}
.step-n::before { content: counter(step); }
.step h3 { font-size: var(--fs-lg); margin-bottom: .35rem; }
.step p { color: var(--ink-mute); }

/* ---- Feature list --------------------------------------------------- */
.check-list { display: grid; gap: .85rem; }
.check-list li { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; color: var(--ink-soft); }
.check-list svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 2px; }
.section--dark .check-list li { color: rgba(255,255,255,.82); }
.section--dark .check-list svg { color: #ff9ac0; }

/* ---- Showcase ------------------------------------------------------- */
.showcase { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.showcase .phone { width: min(16rem, 70vw); margin-inline: auto; }
.showcase-text h3 { font-size: var(--fs-xl); margin-bottom: var(--sp-4); }
.showcase-text p { color: var(--ink-mute); }

/* ---- FAQ ------------------------------------------------------------ */
.faq { max-width: var(--container-narrow); margin-inline: auto; display: grid; gap: var(--sp-3); }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 0 var(--sp-5); overflow: hidden;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.faq details[open] { border-color: rgba(226,64,122,.35); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 60px; padding-block: .9rem; cursor: pointer; list-style: none;
  font-size: var(--fs-md); font-weight: var(--fw-semi); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { position: relative; width: 22px; height: 22px; flex: none; }
.faq summary .ico::before, .faq summary .ico::after {
  content: ""; position: absolute; inset: 50% 0 auto; height: 2px; background: var(--brand); border-radius: 2px; transform: translateY(-50%);
}
.faq summary .ico::after { transform: translateY(-50%) rotate(90deg); transition: transform var(--dur) var(--ease-out); }
.faq details[open] summary .ico::after { transform: translateY(-50%) rotate(0deg); }
.faq .faq-body { padding-bottom: 1.2rem; color: var(--ink-mute); }
.faq .faq-body a { color: var(--brand-600); font-weight: var(--fw-semi); }

/* ---- CTA band ------------------------------------------------------- */
.cta-band { position: relative; overflow: clip; background: var(--grad-brand-2); color: #fff; }
.cta-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 15% 20%, rgba(255,255,255,.16), transparent 45%);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-inner { text-align: center; max-width: 44rem; margin-inline: auto; }
.cta-inner h2 { color: #fff; font-size: var(--fs-2xl); }
.cta-inner p { margin-top: var(--sp-4); color: rgba(255,255,255,.86); font-size: var(--fs-md); }
.cta-inner .store-group { justify-content: center; margin-top: var(--sp-6); }
.cta-band .store-btn--outline { box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); }
.cta-band .store-btn--outline:hover { background: rgba(255,255,255,.12); }

/* ---- Footer --------------------------------------------------------- */
.site-footer { background: var(--plum-800); color: rgba(255,255,255,.7); padding-block: clamp(3rem, 6vw, 4.5rem) var(--sp-6); }
.site-footer a { color: rgba(255,255,255,.74); transition: color var(--dur); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
.footer-brand .brand-name { color: #fff; font-size: 1.5rem; }
.footer-brand p { margin-top: var(--sp-4); max-width: 26rem; font-size: var(--fs-sm); }
.footer-social { display: flex; gap: .6rem; margin-top: var(--sp-5); }
.footer-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--r-sm); background: rgba(255,255,255,.08); }
.footer-social a:hover { background: var(--brand); color: #fff; }
.footer-col h4 { color: #fff; font-size: var(--fs-sm); font-weight: var(--fw-bold); letter-spacing: .04em; text-transform: uppercase; margin-bottom: var(--sp-4); }
.footer-col ul { display: grid; gap: .7rem; font-size: var(--fs-sm); }
.footer-stores { display: grid; gap: .6rem; margin-top: var(--sp-4); }
.footer-stores .store-btn { min-width: 0; }
.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: space-between; align-items: center;
  font-size: var(--fs-xs);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; }
.age-tag { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .7rem; border: 1px solid rgba(255,255,255,.28); border-radius: var(--r-pill); font-weight: var(--fw-bold); font-size: var(--fs-xs); }
.footer-tm { margin-top: var(--sp-4); font-size: var(--fs-xs); color: rgba(255,255,255,.62); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
/* The sticky mobile download bar is pinned to the bottom of the viewport, so
   the footer reserves matching space (bar ≈ 48px button + .6rem padding) to keep
   its last lines — the copyright and trademark notice — clear of it. Applies to
   every page, including those without a [data-sticky-stop] marker. */
@media (max-width: 860px) {
  .site-footer { padding-bottom: calc(6rem + env(safe-area-inset-bottom)); }
}

/* ---- Page hero (inner pages) --------------------------------------- */
.page-hero { background: var(--grad-soft); padding-block: clamp(2.5rem, 6vw, 4rem) clamp(2rem, 5vw, 3rem); border-bottom: 1px solid var(--line-soft); }
.page-hero .breadcrumbs { font-size: var(--fs-xs); color: var(--ink-mute); display: flex; gap: .5rem; align-items: center; margin-bottom: var(--sp-4); }
.page-hero .breadcrumbs a { color: var(--brand-600); }
.page-hero h1 { font-size: var(--fs-2xl); max-width: 30ch; }
.page-hero p { margin-top: var(--sp-4); font-size: var(--fs-md); color: var(--ink-mute); max-width: 46ch; }

/* ---- Content / legal prose ------------------------------------------ */
.prose { max-width: var(--measure); }
.prose h2 { font-size: var(--fs-xl); margin-top: var(--sp-8); }
.prose h3 { font-size: var(--fs-lg); margin-top: var(--sp-6); }
.prose p, .prose ul, .prose ol { margin-top: var(--sp-4); color: var(--ink-soft); }
.prose ul { list-style: disc; padding-left: 1.3rem; display: grid; gap: .4rem; }
.prose ul li { padding-left: .2rem; }
.prose a { color: var(--brand-600); font-weight: var(--fw-semi); text-decoration: underline; text-decoration-color: rgba(226,64,122,.4); text-underline-offset: 3px; }
.prose .meta { margin-top: var(--sp-4); padding: .9rem 1.2rem; background: var(--bg-soft); border-radius: var(--r-md); font-size: var(--fs-sm); color: var(--ink-soft); }
.prose .summary { margin-top: var(--sp-5); padding: 1.2rem 1.4rem; border-left: 4px solid var(--brand); background: var(--bg-tint); border-radius: 0 var(--r-md) var(--r-md) 0; }
.prose :first-child { margin-top: 0; }

.legal-layout { display: grid; grid-template-columns: 250px minmax(0,1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 1.5rem); font-size: var(--fs-sm); }
.legal-toc h2 { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-mute); margin-bottom: var(--sp-4); }
.legal-toc ol { display: grid; gap: .5rem; counter-reset: toc; padding-left: 0; list-style: none; }
.legal-toc a { color: var(--ink-soft); display: block; padding: .2rem 0; border-left: 2px solid transparent; padding-left: .7rem; }
.legal-toc a:hover, .legal-toc a:focus-visible { color: var(--brand-600); border-color: var(--brand); }
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; } .legal-toc { position: static; padding: 1.1rem 1.3rem; background: var(--bg-tint); border-radius: var(--r-md); border: 1px solid var(--line); } }

/* ---- Forms ---------------------------------------------------------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.4rem, 4vw, 2.4rem); box-shadow: var(--shadow-sm); }
.field { margin-top: var(--sp-4); }
.field:first-of-type { margin-top: 0; }
.field label { display: block; font-size: var(--fs-sm); font-weight: var(--fw-semi); color: var(--ink); margin-bottom: .4rem; }
.field .req { color: var(--brand); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 50px; padding: .8rem 1rem;
  background: var(--bg-tint); border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: var(--fs-base); color: var(--ink);
  transition: border-color var(--dur), box-shadow var(--dur), background-color var(--dur);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand); background: var(--surface);
  box-shadow: 0 0 0 4px rgba(226,64,122,.14);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--danger); }
.field-error { display: none; margin-top: .4rem; font-size: var(--fs-xs); color: var(--danger); font-weight: var(--fw-semi); }
.field-error.is-visible { display: block; }
.form-note { margin-top: var(--sp-4); font-size: var(--fs-xs); color: var(--ink-mute); }
.hp-field { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form-status { margin-top: var(--sp-4); padding: .9rem 1.1rem; border-radius: var(--r-sm); font-size: var(--fs-sm); font-weight: var(--fw-semi); display: none; }
.form-status.is-visible { display: block; }
.form-status--ok { background: rgba(31,157,107,.12); color: var(--success); }
.form-status--err { background: rgba(217,45,74,.1); color: var(--danger); }

/* ---- Contact detail list ------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: var(--sp-5); }
.contact-item { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-4); }
.contact-item .ci-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-md); background: var(--bg-soft); color: var(--brand-600); flex: none; }
.contact-item h3 { font-size: var(--fs-base); }
.contact-item p, .contact-item a { color: var(--ink-soft); font-size: var(--fs-sm); }
.contact-item a:hover { color: var(--brand-600); }

/* ---- Membership plans ---------------------------------------------- */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: var(--sp-5); }
.feature-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.4rem,4vw,2rem); box-shadow: var(--shadow-xs); }

/* ---- QR modal ------------------------------------------------------- */
.modal {
  position: fixed; inset: 0; z-index: var(--z-overlay);
  display: grid; place-items: center; padding: var(--sp-4);
  background: var(--overlay);
  opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease-out), visibility var(--dur);
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal-dialog {
  position: relative; width: min(24rem, 100%);
  background: var(--surface); border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.2rem);
  text-align: center; box-shadow: var(--shadow-lg);
  transform: translate3d(0, 14px, 0) scale(.98);
  transition: transform var(--dur) var(--ease-out);
}
.modal.is-open .modal-dialog { transform: none; }
.modal-dialog h2 { font-size: var(--fs-lg); }
.modal-dialog p { margin-top: var(--sp-3); font-size: var(--fs-sm); color: var(--ink-mute); }
.modal-qr { display: grid; place-items: center; margin: var(--sp-5) auto; padding: var(--sp-4); background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); width: fit-content; }
.modal-close { position: absolute; top: .6rem; right: .6rem; width: 44px; height: 44px; border: 0; background: transparent; border-radius: var(--r-sm); cursor: pointer; display: grid; place-items: center; color: var(--ink-mute); }
.modal-close:hover { background: var(--bg-soft); color: var(--ink); }

/* ---- Sticky mobile download bar ------------------------------------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-sticky);
  padding: .6rem max(1rem, env(safe-area-inset-left)) calc(.6rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-right));
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(23,18,28,.08);
  transform: translate3d(0, 120%, 0);
  transition: transform var(--dur-slow) var(--ease-out), visibility var(--dur-slow);
  visibility: hidden;
}
.sticky-cta.is-visible { transform: none; visibility: visible; }
.sticky-cta a { width: 100%; }
@media (min-width: 861px) { .sticky-cta { display: none; } }

/* ---- Header CTA inside the collapsible menu ------------------------- */
.nav-links .btn.nav-cta { color: #fff; }
@media (max-width: 900px) {
  .nav-links a.nav-cta {
    justify-content: center; margin-top: var(--sp-4);
    border-bottom: 0; border-radius: var(--r-pill);
  }
}

/* ---- Footer store buttons on the dark surface ----------------------- */
.footer-stores .store-btn { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.footer-stores .store-btn:hover { background: rgba(255,255,255,.14); }

/* ---- Screenshot frame (real app imagery) ---------------------------- */
.device-shot { position: relative; margin-inline: auto; }
.device-shot img { width: 100%; height: auto; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }

/* ---- Utilities ------------------------------------------------------ */
.desktop-only { display: none; }
@media (min-width: 861px) { .desktop-only { display: inline-flex; } }
.text-center { text-align: center; }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 2000;
  background: var(--brand); color: #fff; padding: .7rem 1.1rem; border-radius: var(--r-sm);
  transition: top var(--dur) var(--ease-out);
}
.skip-link:focus { top: 1rem; }
.divider { height: 1px; background: var(--line); border: 0; }
.nowrap { white-space: nowrap; }

/* ==========================================================================
   UI uplift — layered gradients, richer surfaces and micro-interactions.
   Additive only; every rule builds on the component styles above.
   ========================================================================== */

/* Hero and inner page heroes get a soft, layered mesh behind the content. */
.hero { background: var(--grad-mesh), var(--grad-soft); }
.page-hero { background: var(--grad-mesh), var(--grad-soft); }

/* Dark bands get the same mesh at reduced strength. */
.section--dark { position: relative; isolation: isolate; }
.section--dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--grad-mesh); opacity: .85; pointer-events: none;
}

/* Centred eyebrow with hairline rules either side. */
.section-head .eyebrow::before,
.section-head .eyebrow::after {
  content: ""; width: clamp(1rem, 4vw, 2rem); height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-600));
}
.section-head .eyebrow::after { background: linear-gradient(90deg, var(--brand-600), transparent); }

/* Cards: gradient hairline border that fades in on hover/focus. */
.card { position: relative; }
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  padding: 1px; opacity: 0;
  background: linear-gradient(140deg, rgba(226,64,122,.55), rgba(139,92,246,.12) 45%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  transition: opacity var(--dur) var(--ease-out);
}
.card:hover::after, .card:focus-within::after { opacity: 1; }

/* Icon tiles fill with brand gradient while the card is hovered. */
.card-icon {
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out),
              box-shadow var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
  box-shadow: inset 0 0 0 1px rgba(226,64,122,.10);
}
.card:hover .card-icon { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-brand); transform: translateY(-2px); }

/* Stat tiles read as elevated cards. */
.stat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.stat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.section--dark .stat { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); box-shadow: none; }
.section--dark .stat:hover { background: rgba(255,255,255,.09); }

/* Primary buttons catch a moving sheen on hover. */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -70%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.38), transparent);
  transform: skewX(-18deg); pointer-events: none;
  transition: left var(--dur-slow) var(--ease-out);
}
.btn-primary:hover::after { left: 135%; }

/* Header gains a soft shadow once the page has scrolled. */
.site-header { transition: box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out); }
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--line); }

/* Small capsule used for source/tag chips across the site. */
.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .7rem; border-radius: var(--r-pill);
  font-size: var(--fs-xs); font-weight: var(--fw-bold);
  background: var(--bg-soft); color: var(--brand-600);
}
.pill--on-dark { background: rgba(255,255,255,.12); color: #fff; }

/* Hero badges get a subtle tile treatment. */
.hero-badge {
  padding: .55rem .85rem; border-radius: var(--r-md);
  background: var(--surface); box-shadow: var(--shadow-xs);
  border: 1px solid var(--line);
}

/* Footer social tiles lift on hover. */
.footer-social a { transition: transform var(--dur) var(--ease-out), background-color var(--dur), color var(--dur); }
.footer-social a:hover { transform: translateY(-3px); }

/* Feature panel gets the mesh sheen. */
.feature-panel { background: var(--grad-mesh), var(--surface); }

/* ==========================================================================
   Showcase — real app imagery: hero device fan, screenshot rails, bento
   features. Additive only. Every image ships intrinsic width/height, so the
   layout is stable without CSS or JS; rails scroll natively.
   ========================================================================== */

/* ---- Reusable app-screenshot frame ---------------------------------- */
.app-shot {
  position: relative;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.app-shot__img { display: block; width: 100%; height: auto; }

/* ---- Hero device fan (three real screens, gently fanned) ------------- */
.hero-fan {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 36rem;
  margin-inline: auto;
}
.hero-fan .app-shot { border-radius: clamp(16px, 3vw, 24px); }
.hero-fan__main {
  position: relative; z-index: 3;
  width: min(15rem, 48vw);
  box-shadow: var(--shadow-lg), var(--shadow-brand);
}
.hero-fan__side {
  position: relative; z-index: 1;
  width: min(11.5rem, 38vw);
  box-shadow: var(--shadow-lg);
  opacity: .97;
}
.hero-fan__side--l { --float-base: rotate(-8deg) scale(.9); transform: var(--float-base); margin-right: -18%; }
.hero-fan__side--r { --float-base: rotate(8deg) scale(.9); transform: var(--float-base); margin-left: -18%; }

/* ---- Aurora glow behind the hero ------------------------------------ */
.hero .aurora {
  position: absolute; z-index: 0; pointer-events: none;
  inset: -30% -12% auto -12%; height: 130%;
  background:
    radial-gradient(38% 40% at 16% 26%, rgba(226,64,122,.36), transparent 62%),
    radial-gradient(34% 36% at 84% 20%, rgba(139,92,246,.30), transparent 60%),
    radial-gradient(42% 44% at 62% 84%, rgba(32,49,82,.30), transparent 66%);
  filter: blur(28px);
  opacity: .9;
  animation: aurora-drift 20s var(--ease-in-out) infinite alternate;
}

/* ---- Horizontal screenshot rail (native scroll + snap) --------------- */
.shot-strip .section-head { margin-bottom: var(--sp-6); }
.shot-gallery {
  --rail-pad: max(clamp(1.15rem, 4vw, 2rem),
                  calc((100vw - var(--container)) / 2 + clamp(1.15rem, 4vw, 2rem)));
  display: flex;
  gap: clamp(1rem, 3vw, 1.75rem);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding: var(--sp-3) var(--rail-pad) var(--sp-6);
  scroll-padding-inline: var(--rail-pad);
  scrollbar-width: thin;
}
.shot-gallery::-webkit-scrollbar { height: 8px; }
.shot-gallery::-webkit-scrollbar-track { background: transparent; }
.shot-gallery::-webkit-scrollbar-thumb { background: var(--line); border-radius: var(--r-pill); }
.shot-gallery__item {
  flex: 0 0 auto;
  width: clamp(11rem, 40vw, 15rem);
  scroll-snap-align: center;
  display: flex; flex-direction: column; gap: .85rem;
  text-align: center; margin: 0;
}
.shot-gallery__item figcaption { font-size: var(--fs-sm); font-weight: var(--fw-semi); color: var(--ink-soft); }

/* Store rails live inside the container, so they need no outer gutter. */
.shot-gallery--store {
  padding-inline: 0;
  scroll-padding-inline: 0;
  gap: clamp(.85rem, 2.5vw, 1.25rem);
  padding-block: var(--sp-2) var(--sp-4);
}
.shot-gallery--store .app-shot {
  flex: 0 0 auto;
  width: clamp(9rem, 26vw, 12.5rem);
  scroll-snap-align: start;
  border-radius: var(--r-md);
}

/* Store rail heading (platform pill + label). */
.rail-head { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin: var(--sp-6) 0 var(--sp-3); }
.rail-head h3 { margin: 0; font-size: var(--fs-lg); }

/* ---- Bento feature grid --------------------------------------------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(1rem, 2.5vw, 1.5rem);
}
.bento__tile {
  position: relative;
  grid-column: span 2;
  min-height: 16rem;
  border-radius: var(--r-xl);
  overflow: hidden;
  isolation: isolate;
  background: var(--plum);
  box-shadow: var(--shadow-md);
  transform-style: preserve-3d;
  transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out);
}
.bento__tile--wide { grid-column: span 3; min-height: 19rem; }
.bento__tile:hover { box-shadow: var(--shadow-lg); }
.bento__tile > picture { position: absolute; inset: 0; }
.bento__tile > picture img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.bento__tile:hover > picture img { transform: scale(1.06); }
.bento__tile::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  /* Dark shading that separates the image from the copy below it: the top of
     the tile stays clear so the photo reads, then it ramps into a solid scrim
     behind the text. */
  background: linear-gradient(180deg,
    rgba(16,24,40,0) 30%,
    rgba(16,24,40,.45) 56%,
    rgba(16,24,40,.82) 82%,
    rgba(16,24,40,.95) 100%);
}
.bento__copy { position: absolute; inset: auto 0 0 0; z-index: 1; padding: var(--sp-5); color: #fff; }
.bento__copy h3 { color: #fff; margin: .6rem 0 .35rem; font-size: var(--fs-lg); }
.bento__copy p { color: rgba(255,255,255,.85); font-size: var(--fs-sm); }

@media (max-width: 760px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__tile, .bento__tile--wide { grid-column: span 2; min-height: 15rem; }
}

/* ---- Phone-framed showcase screenshot ------------------------------- */
.device-shot--phone { max-width: 19rem; }

