/* Simi landing v4 — "the app on stage".
   Every colour, radius, shadow and font below is copied from the app canon
   (esim-web/src/ui/tokens.css). No foreign accents: yellow appears only as
   the canon confetti colour, exactly as in the app's illustrations. */

/* ── Tokens: light ───────────────────────────────────────────────── */
:root {
  --bg: #edf2f6;
  --surface: #ffffff;
  --elevated: #ffffff;
  --nav-bg: #f9fbfc;
  --text: #16212b;
  --text-secondary: #7a8894;
  --text-muted: #8a98a5;
  --text-faint: #9aa7b2;
  --text-soft: #5b6975;
  --border: #dde4ea;
  --hairline: #edf0f2;
  --accent: #4aa3dc;
  --accent-deep: #2f8fc7;
  --accent-text: #ffffff;
  --tint: #d9eaf6;
  --tint-soft: #e9f3fb;
  --tint-text: #2379a8;
  --segmented-track: #c7d6e2;
  --success: #3fa35c;
  --nav-pill: #d6e9f6;
  --nav-active: #1e7dbb;
  --rail: #7fb3d4;
  --chevron: #b7c2cc;
  --halo: #e3eef7;
  --halo-soft: #e9f1f7;
  --confetti-blue: #8fc7ec;
  --confetti-pink: #f2a0ae;
  --confetti-sky: #9fd1f0;
  --confetti-yellow: #f7d774;
  --mascot: #98cde9;
  --balance-gradient: linear-gradient(135deg, #4fa6de, #2f7fb8);
  --usage-gradient: linear-gradient(90deg, #2a93d1, #4fb0e6);

  --radius-sm: 11px;
  --radius-md: 14px;
  --radius-lg: 16px;
  --radius-card: 18px;
  --radius-tile: 11px;
  --radius-pill: 999px;

  --shadow-card: 0 3px 12px rgba(21, 24, 27, .06);
  --shadow-card-hover: 0 8px 22px rgba(42, 147, 209, .13);
  --shadow-cta: 0 10px 22px rgba(61, 154, 214, .38);
  --shadow-cta-hover: 0 12px 28px rgba(42, 147, 209, .36);
  --shadow-chip: 0 2px 8px rgba(21, 24, 27, .05);
  --shadow-qr: 0 8px 24px rgba(21, 24, 27, .1);
  --shadow-phone: 0 40px 80px -30px rgba(31, 90, 130, .45), 0 18px 40px -20px rgba(21, 24, 27, .25);

  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --duration: 160ms;
  --ease-sheet: cubic-bezier(.2, .9, .3, 1);

  --bezel: #16212b;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

/* ── Tokens: dark (system, unless the visitor pinned light) ─────── */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c0f12; --surface: #171c20; --elevated: #1e242a; --nav-bg: #12171b;
    --text: #edf1f3; --text-secondary: #9aabb8; --text-muted: #8fa0ac; --text-faint: #70808c; --text-soft: #b5c2cc;
    --border: #232a30; --hairline: #20262b;
    --accent: #5eb1e3; --accent-deep: #7fc0ea; --accent-text: #08222f;
    --tint: #173846; --tint-soft: #12242e; --tint-text: #7fc0ea; --segmented-track: #26333f;
    --success: #55bf75;
    --nav-pill: #173846; --nav-active: #7fc0ea; --rail: #4f7c99; --chevron: #566773;
    --halo: #16242e; --halo-soft: #121d24;
    --confetti-blue: #6fa8cc; --confetti-pink: #c98895; --confetti-sky: #7fafce; --confetti-yellow: #cbb25f;
    --usage-gradient: linear-gradient(90deg, #58b0e6, #7fc6ed);
    --shadow-card: 0 3px 12px rgba(0, 0, 0, .25);
    --shadow-card-hover: 0 8px 22px rgba(0, 0, 0, .35);
    --shadow-cta: 0 8px 20px rgba(0, 0, 0, .3);
    --shadow-cta-hover: 0 12px 28px rgba(0, 0, 0, .38);
    --shadow-chip: 0 2px 8px rgba(0, 0, 0, .25);
    --shadow-qr: 0 8px 24px rgba(0, 0, 0, .35);
    --shadow-phone: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px #232a30;
    --bezel: #05070a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0c0f12; --surface: #171c20; --elevated: #1e242a; --nav-bg: #12171b;
  --text: #edf1f3; --text-secondary: #9aabb8; --text-muted: #8fa0ac; --text-faint: #70808c; --text-soft: #b5c2cc;
  --border: #232a30; --hairline: #20262b;
  --accent: #5eb1e3; --accent-deep: #7fc0ea; --accent-text: #08222f;
  --tint: #173846; --tint-soft: #12242e; --tint-text: #7fc0ea; --segmented-track: #26333f;
  --success: #55bf75;
  --nav-pill: #173846; --nav-active: #7fc0ea; --rail: #4f7c99; --chevron: #566773;
  --halo: #16242e; --halo-soft: #121d24;
  --confetti-blue: #6fa8cc; --confetti-pink: #c98895; --confetti-sky: #7fafce; --confetti-yellow: #cbb25f;
  --usage-gradient: linear-gradient(90deg, #58b0e6, #7fc6ed);
  --shadow-card: 0 3px 12px rgba(0, 0, 0, .25);
  --shadow-card-hover: 0 8px 22px rgba(0, 0, 0, .35);
  --shadow-cta: 0 8px 20px rgba(0, 0, 0, .3);
  --shadow-cta-hover: 0 12px 28px rgba(0, 0, 0, .38);
  --shadow-chip: 0 2px 8px rgba(0, 0, 0, .25);
  --shadow-qr: 0 8px 24px rgba(0, 0, 0, .35);
  --shadow-phone: 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px #232a30;
  --bezel: #05070a;
  color-scheme: dark;
}

/* ── Base ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background-color .3s ease, color .3s ease;
}
main { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }
.mono { font-family: var(--mono); font-feature-settings: 'tnum' 1; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--surface); color: var(--text); padding: 10px 16px;
  border-radius: var(--radius-pill); box-shadow: var(--shadow-card); text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.ambient { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ambient span { position: absolute; border-radius: 50%; background: radial-gradient(circle, var(--halo) 0%, transparent 68%); }
.ambient__a { width: 900px; height: 900px; right: -260px; top: -300px; }
.ambient__b { width: 760px; height: 760px; left: -320px; top: 55%; background: radial-gradient(circle, var(--halo-soft) 0%, transparent 68%) !important; }

.microlabel {
  font: 600 10.5px/1 var(--mono); letter-spacing: 1px; text-transform: uppercase; color: var(--text-faint);
  display: inline-flex; align-items: center; gap: 10px;
}
.microlabel::after { content: ''; width: 28px; height: 1px; background: var(--border); }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 600; line-height: 1.2;
}
.pill--tint { background: var(--tint); color: var(--tint-text); }
.pill--success { background: var(--surface); color: var(--success); box-shadow: var(--shadow-chip); }
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; position: relative; }
.pill__dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid currentColor; opacity: 0; animation: ping 2.4s var(--ease-sheet) infinite; }

/* Buttons: the app's CTA pill */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: var(--radius-pill); border: 0; cursor: pointer;
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: transform var(--duration) var(--ease-sheet), box-shadow var(--duration) ease, background-color var(--duration) ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 15px 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: var(--accent-text); box-shadow: var(--shadow-cta); }
.btn--primary:hover { background: var(--accent-deep); box-shadow: var(--shadow-cta-hover); }
:root[data-theme="dark"] .btn--primary:hover { background: var(--accent-deep); }
.btn--surface { background: var(--surface); color: var(--text); box-shadow: var(--shadow-card); }
.btn--surface:hover { box-shadow: var(--shadow-card-hover); }
.btn--white { background: #fff; color: #1e6fa3; box-shadow: 0 10px 24px rgba(8, 40, 64, .25); }
.btn--glass { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.btn--glass:hover { background: rgba(255, 255, 255, .24); }

/* ── Header ─────────────────────────────────────────────────────── */
.top { position: sticky; top: 0; z-index: 50; padding-top: 10px; }
.top__bar {
  display: flex; align-items: center; gap: 20px; height: 64px;
  transition: background-color .25s ease, box-shadow .25s ease;
}
.top.is-stuck .top__bar {
  background: color-mix(in srgb, var(--nav-bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: var(--shadow-card); border-radius: 22px;
  max-width: calc(var(--wrap) + 2 * var(--gutter) - 16px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__disc {
  width: 40px; height: 40px; border-radius: 50%; background: var(--tint);
  display: grid; place-items: center; overflow: hidden;
}
.brand__disc img { width: 34px; height: 34px; transform: translateY(3px); }
.brand__word { font-weight: 800; font-size: 21px; letter-spacing: -.03em; }
.top__nav { display: flex; gap: 4px; margin-left: 12px; }
.top__nav a {
  padding: 8px 14px; border-radius: var(--radius-pill); text-decoration: none;
  font-size: 14.5px; font-weight: 500; color: var(--text-soft);
  transition: background-color var(--duration) ease, color var(--duration) ease;
}
.top__nav a:hover { background: var(--nav-pill); color: var(--nav-active); }
.top__tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* language: the app's segmented control */
.lang-toggle {
  display: inline-flex; padding: 3px; gap: 2px; border-radius: var(--radius-pill);
  background: var(--segmented-track);
}
.lang-toggle__btn {
  border: 0; background: transparent; cursor: pointer;
  padding: 6px 10px; border-radius: var(--radius-pill);
  font: 600 12px/1 var(--mono); letter-spacing: .5px; color: var(--text-soft);
  transition: background-color var(--duration) ease, color var(--duration) ease, box-shadow var(--duration) ease;
}
.lang-toggle__btn[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-chip); }

.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--surface); color: var(--accent-deep);
  box-shadow: var(--shadow-chip);
  transition: transform var(--duration) var(--ease-sheet);
}
.theme-toggle:hover { transform: rotate(-18deg); }
.theme-toggle svg { grid-area: 1 / 1; transition: opacity .25s ease, transform .35s var(--ease-sheet); }
.theme-toggle__moon { opacity: 0; transform: scale(.4) rotate(-40deg); }
:root[data-theme="dark"] .theme-toggle__sun { opacity: 0; transform: scale(.4) rotate(40deg); }
:root[data-theme="dark"] .theme-toggle__moon { opacity: 1; transform: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle__sun { opacity: 0; transform: scale(.4) rotate(40deg); }
  :root:not([data-theme="light"]) .theme-toggle__moon { opacity: 1; transform: none; }
}

/* ── Hero ───────────────────────────────────────────────────────── */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 48px; align-items: center;
  padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(56px, 8vw, 110px);
}
.hero__eyebrow { margin-bottom: 22px; }
.hero__title {
  font-weight: 800; font-size: clamp(42px, 5.2vw, 76px); line-height: .98; letter-spacing: -.045em;
  text-wrap: balance;
}
.hero__accent {
  color: var(--accent); display: inline;
  background: linear-gradient(transparent 70%, var(--tint) 70%, var(--tint) 92%, transparent 92%);
}
.hero__sub { margin-top: 26px; max-width: 34em; font-size: clamp(16.5px, 1.4vw, 19px); color: var(--text-soft); line-height: 1.6; }
.hero__sub strong { color: var(--text); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px;
  border-radius: var(--radius-md); background: var(--surface); box-shadow: var(--shadow-chip);
  text-decoration: none; color: var(--text); border: 1px solid var(--hairline);
  transition: transform var(--duration) var(--ease-sheet);
}
.store:hover { transform: translateY(-2px); }
.store__txt { display: flex; flex-direction: column; line-height: 1.1; }
.store__small { font-size: 10.5px; color: var(--text-muted); }
.store__big { font-size: 14px; font-weight: 700; }

/* the stage: phone + halo + mascot + floating app cards */
.stage { position: relative; display: grid; justify-items: center; padding: 20px 0 0; }
.stage__halo { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.stage__halo span { grid-area: 1 / 1; border-radius: 50%; border: 1px solid var(--border); }
.stage__halo span:nth-child(1) { width: 430px; height: 430px; background: var(--halo); border: 0; }
.stage__halo span:nth-child(2) { width: 560px; height: 560px; opacity: .8; }
.stage__halo span:nth-child(3) { width: 690px; height: 690px; opacity: .45; }
.stage__mascot {
  position: absolute; width: 200px; height: auto; right: -40px; top: -70px; z-index: 1;
  transform: rotate(8deg); pointer-events: none;
  filter: drop-shadow(0 16px 24px rgba(31, 90, 130, .18));
  animation: floaty 4.5s ease-in-out infinite;
}

.phone { position: relative; z-index: 2; width: min(300px, 78vw, 33vh); perspective: 1400px; }
.phone__frame {
  position: relative; border-radius: 52px; padding: 12px;
  background: var(--bezel); box-shadow: var(--shadow-phone), inset 0 0 0 2px rgba(255, 255, 255, .08);
  transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 4deg)) translateY(var(--py, 0));
  transform-style: preserve-3d; transition: transform .6s var(--ease-sheet);
}
.phone__island {
  position: absolute; z-index: 4; left: 50%; top: 22px; transform: translateX(-50%);
  width: 92px; height: 26px; border-radius: 20px; background: #000;
}
.phone__screen {
  position: relative; overflow: hidden; border-radius: 40px;
  aspect-ratio: 716 / 1560; background: #edf2f6; isolation: isolate;
}
.screen {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04) translateY(10px);
  transition: opacity .55s ease, transform .7s var(--ease-sheet);
}
.screen.is-active { opacity: 1; transform: none; }
.phone__glare {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, .22) 0%, transparent 32%);
  mix-blend-mode: soft-light;
}

.float {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  background: var(--surface); border-radius: var(--radius-card); box-shadow: var(--shadow-qr);
  padding: 10px 14px 10px 10px; animation: floaty 4.5s ease-in-out infinite;
}
.float--price { left: -6px; top: 26%; animation-delay: -1.5s; }
.float--scan { right: -14px; bottom: 26%; animation-delay: -3s; }
.float--signal { left: 6%; bottom: 13%; padding: 9px 13px; gap: 8px; font-size: 13px; font-weight: 600; color: var(--success); animation-delay: -.8s; }
.float__flag { width: 38px; height: 38px; border-radius: var(--radius-tile); background: var(--tint-soft); display: grid; place-items: center; font-size: 22px; }
.float__txt { display: flex; flex-direction: column; line-height: 1.15; }
.float__small { font-size: 12px; color: var(--text-secondary); }
.float__big { font-size: 18px; font-weight: 600; color: var(--accent-deep); }
.float__tile { width: 38px; height: 38px; border-radius: var(--radius-tile); background: var(--accent); color: var(--accent-text); display: grid; place-items: center; }
.float__label { font-size: 14px; font-weight: 600; }
.bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.bars i { width: 3px; border-radius: 2px; background: currentColor; }
.bars i:nth-child(1) { height: 35%; } .bars i:nth-child(2) { height: 55%; } .bars i:nth-child(3) { height: 78%; } .bars i:nth-child(4) { height: 100%; }

/* tour switcher: app segmented control with autoplay progress */
.tour {
  position: relative; z-index: 3; margin-top: 30px;
  display: inline-flex; gap: 2px; padding: 4px; border-radius: var(--radius-pill);
  background: var(--segmented-track);
}
.tour__tab {
  position: relative; overflow: hidden; border: 0; background: transparent; cursor: pointer;
  padding: 9px 16px; border-radius: var(--radius-pill);
  font-size: 13.5px; font-weight: 600; color: var(--text-soft); white-space: nowrap;
  transition: background-color var(--duration) ease, color var(--duration) ease, box-shadow var(--duration) ease;
}
.tour__tab.is-active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-chip); }
.tour__bar { position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--hairline); opacity: 0; }
.tour__bar::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.tour__tab.is-active .tour__bar { opacity: 1; }
.tour.is-playing .tour__tab.is-active .tour__bar::after { animation: fill var(--tour-ms, 4200ms) linear forwards; }
.tour:not(.is-playing) .tour__tab.is-active .tour__bar::after { transform: scaleX(1); }

/* ── Sections ───────────────────────────────────────────────────── */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section__head { margin-bottom: clamp(28px, 4vw, 48px); }
.section__head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.section__title {
  margin-top: 14px; font-weight: 800; letter-spacing: -.04em; line-height: 1.02;
  font-size: clamp(34px, 4.6vw, 60px); text-wrap: balance;
}
.section__lead { max-width: 30em; color: var(--text-secondary); font-size: 16px; }

.card {
  background: var(--surface); border-radius: var(--radius-card); box-shadow: var(--shadow-card);
  transition: box-shadow .25s ease, transform .35s var(--ease-sheet);
}
.tile {
  width: 46px; height: 46px; border-radius: var(--radius-tile); background: var(--tint);
  color: var(--accent-deep); display: grid; place-items: center; font-size: 20px; font-weight: 600;
}

/* bento */
.bento { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.bento .card { padding: 28px; position: relative; overflow: hidden; }
.bento .card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.bento h3 { margin-top: 20px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.bento p { margin-top: 10px; color: var(--text-secondary); font-size: 15.5px; }
.bento p strong { color: var(--text); font-weight: 600; }
.bento__cover { grid-row: span 2; display: grid; grid-template-rows: auto 1fr; min-height: 520px; }
.bento__copy { max-width: 26em; }

.globe { position: relative; align-self: end; justify-self: center; width: min(400px, 100%); aspect-ratio: 1; margin-top: 12px; }
.globe__orbits { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--rail); stroke-width: 1.2; stroke-dasharray: 3 6; opacity: .7; animation: spin 60s linear infinite; }
.globe__num {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -62%);
  font-size: clamp(64px, 8vw, 104px); font-weight: 600; letter-spacing: -.05em; color: var(--accent);
  line-height: 1;
}
.globe__pin { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px var(--tint); }
.globe__pin--a { left: 10%; top: 44%; }
.globe__pin--b { right: 14%; top: 26%; background: var(--confetti-pink); box-shadow: 0 0 0 6px var(--tint-soft); }
.globe__pin--c { right: 20%; bottom: 22%; background: var(--success); box-shadow: 0 0 0 6px var(--tint-soft); }
.globe__mascot { position: absolute; width: 46%; left: 50%; bottom: -4%; transform: translateX(-50%); }

.receipt {
  margin-top: 22px; padding: 14px 16px; border-radius: var(--radius-md);
  background: var(--tint-soft); display: grid; gap: 8px; font-size: 14px; color: var(--text-soft);
  border: 1px dashed var(--rail);
}
.receipt__row { display: flex; justify-content: space-between; }
.receipt__row--total { border-top: 1px solid var(--border); padding-top: 8px; color: var(--text); font-weight: 600; }
.receipt__row--total .mono { color: var(--accent-deep); font-size: 17px; }

.bento__install { padding-right: 150px !important; }
.qrpulse { position: absolute; right: 28px; top: 50%; transform: translateY(-50%); width: 96px; height: 96px; }
.qrpulse__code {
  position: absolute; inset: 0; border-radius: var(--radius-lg); border: 9px solid #fff; box-shadow: var(--shadow-qr);
  background: repeating-conic-gradient(#16212b 0 25%, #fff 0 50%) 0 0 / 13px 13px;
}
.qrpulse__code::before {
  content: ''; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 5px;
  background: #fff; box-shadow: inset 0 0 0 4px #16212b, inset 0 0 0 7px #fff, inset 0 0 0 11px #16212b,
    56px 0 0 0 #fff, 0 56px 0 0 #fff;
}
.qrpulse__code::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px; border-radius: 9px;
  background: var(--accent) url("img/simi-waving.webp") 50% 20% / 120% no-repeat; box-shadow: 0 0 0 4px #fff;
}
.qrpulse__ring { position: absolute; inset: -10px; border-radius: 22px; border: 2px solid var(--accent); opacity: 0; animation: ring 2.6s var(--ease-sheet) infinite; }

/* ── Story (#how) ───────────────────────────────────────────────── */
.story { position: relative; }
.story__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
.story__steps { list-style: none; margin: 0; padding: 0; }
.story__step {
  min-height: 58vh; display: flex; align-items: center; gap: 24px;
  opacity: .38; transition: opacity .45s ease;
}
.story__step:first-child { min-height: 46vh; align-items: flex-start; padding-top: 6vh; }
.story__step:last-child { min-height: 52vh; }
.story__step.is-current { opacity: 1; }
.story__n {
  flex: none; width: 58px; height: 58px; border-radius: var(--radius-lg); display: grid; place-items: center;
  background: var(--surface); box-shadow: var(--shadow-card); font-size: 17px; font-weight: 600; color: var(--text-muted);
  transition: background-color .35s ease, color .35s ease, transform .45s var(--ease-sheet);
}
.story__step.is-current .story__n { background: var(--accent); color: var(--accent-text); transform: scale(1.06); box-shadow: var(--shadow-cta); }
.story__body h3 { font-size: clamp(26px, 3vw, 38px); font-weight: 750; letter-spacing: -.035em; line-height: 1.08; }
.story__body p { margin-top: 12px; color: var(--text-secondary); font-size: 17px; max-width: 24em; }
.story__shot { display: none; }

.story__stage { position: relative; }
.story__sticky { position: sticky; top: 12vh; height: 76vh; display: grid; place-items: center; }
.story__rail { position: absolute; left: 0; top: 10%; bottom: 10%; width: 3px; border-radius: 3px; background: var(--border); overflow: hidden; }
.story__rail-fill { position: absolute; inset: 0; background: var(--usage-gradient); transform-origin: top; transform: scaleY(var(--p, 0)); }
.phone--story { width: min(300px, 32vh); }
.phone--story .phone__frame { --ry: 0deg; --rx: 0deg; }
.story__sticky .online { position: absolute; right: 6%; top: 18%; opacity: 0; transform: translateY(10px) scale(.9); transition: opacity .4s ease, transform .5s var(--ease-sheet); }
.story.is-done .online { opacity: 1; transform: none; }

.tap {
  position: absolute; z-index: 2; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%;
  background: rgba(74, 163, 220, .28); border: 2px solid rgba(255, 255, 255, .9);
  left: 50%; top: 91%; opacity: 0; pointer-events: none;
}
.tap.is-tapping { animation: tap .9s var(--ease-sheet); }

.confetti { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.confetti i {
  position: absolute; left: 50%; top: 40%; width: 9px; height: 14px; border-radius: 2px;
  animation: burst 1.5s var(--ease-sheet) forwards;
}

/* ── Prices ─────────────────────────────────────────────────────── */
.picker { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 22px; align-items: start; }
.picker__list { list-style: none; margin: 0; padding: 8px; }
.picker__row {
  display: grid; grid-template-columns: 48px 1fr auto 14px; align-items: center; gap: 16px;
  padding: 14px 16px 14px 12px; border-radius: var(--radius-lg); cursor: pointer; position: relative;
  transition: background-color var(--duration) ease;
}
.picker__row + .picker__row::before { content: ''; position: absolute; left: 76px; right: 16px; top: 0; height: 1px; background: var(--hairline); }
.picker__row:hover { background: var(--tint-soft); }
.picker__row.is-selected { background: var(--tint); }
.picker__row.is-selected::before, .picker__row.is-selected + .picker__row::before { opacity: 0; }
.picker__flag { width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--bg); display: grid; place-items: center; font-size: 26px; }
.picker__row.is-selected .picker__flag { background: var(--surface); }
.picker__place { font-weight: 600; font-size: 17px; }
.picker__price { color: var(--text-secondary); font-size: 14px; white-space: nowrap; }
.picker__price .mono { color: var(--accent-deep); font-weight: 600; font-size: 17px; margin-left: 2px; }
.picker__chev { color: var(--chevron); transition: transform var(--duration) var(--ease-sheet), color var(--duration) ease; }
.picker__row.is-selected .picker__chev { color: var(--accent-deep); transform: translateX(3px); }
.picker__more {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-top: 6px; padding: 16px 16px 10px; border-top: 1px solid var(--hairline); color: var(--text-secondary); font-size: 14.5px;
}
.link-arrow { color: var(--accent-deep); font-weight: 600; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }

.ticket { position: sticky; top: 100px; padding: 28px; overflow: hidden; }
.ticket::before {
  content: ''; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%;
  background: var(--halo); pointer-events: none;
}
.ticket__top { position: relative; display: flex; align-items: center; gap: 14px; }
.ticket__flag { width: 56px; height: 56px; border-radius: var(--radius-md); background: var(--tint-soft); display: grid; place-items: center; font-size: 32px; }
.ticket__place { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.ticket__badge { margin-left: auto; font-size: 11.5px; padding: 5px 10px; }
.ticket__price { position: relative; margin-top: 30px; display: flex; align-items: baseline; gap: 10px; }
.ticket__from { color: var(--text-secondary); font-size: 16px; }
.ticket__amount { font-size: clamp(52px, 6vw, 76px); font-weight: 600; letter-spacing: -.05em; color: var(--accent); line-height: 1; }
.ticket__amount.is-swap { animation: pop .45s var(--ease-sheet); }
.ticket__bars { display: flex; gap: 6px; margin: 24px 130px 26px 0; }
.ticket__bars i { flex: 1; height: 8px; border-radius: 4px; background: var(--usage-gradient); opacity: .9; }
.ticket__bars i:nth-child(n+5) { background: var(--hairline); }
.ticket__mascot { position: absolute; width: 110px; right: 18px; top: 92px; opacity: .95; pointer-events: none; }

/* ── CTA band ──────────────────────────────────────────────────── */
.cta { padding-bottom: clamp(64px, 8vw, 110px); }
.cta__card {
  position: relative; overflow: hidden; border-radius: 32px; background: var(--balance-gradient); color: #fff;
  padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); align-items: center; gap: 24px;
  box-shadow: var(--shadow-cta);
}
.cta__title { font-weight: 800; font-size: clamp(32px, 4.4vw, 58px); letter-spacing: -.04em; line-height: 1.02; text-wrap: balance; }
.cta__body { margin-top: 16px; font-size: 18px; opacity: .88; max-width: 28em; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta__mascot { width: 100%; max-width: 300px; justify-self: center; animation: floaty 4.5s ease-in-out infinite; filter: drop-shadow(0 20px 26px rgba(8, 40, 64, .3)); }
.cta__confetti { position: absolute; inset: 0; pointer-events: none; }
.cta__confetti i { position: absolute; width: 10px; height: 16px; border-radius: 3px; opacity: .9; animation: drift 6s ease-in-out infinite; }
.cta__confetti i:nth-child(4n+1) { background: #8fc7ec; }
.cta__confetti i:nth-child(4n+2) { background: #f2a0ae; }
.cta__confetti i:nth-child(4n+3) { background: #f7d774; }
.cta__confetti i:nth-child(4n+4) { background: #ffffff; opacity: .55; }
.cta__confetti i:nth-child(1) { left: 6%; top: 12%; transform: rotate(20deg); }
.cta__confetti i:nth-child(2) { left: 44%; top: 8%; transform: rotate(-30deg); animation-delay: -1s; }
.cta__confetti i:nth-child(3) { left: 62%; top: 20%; transform: rotate(60deg); animation-delay: -2s; }
.cta__confetti i:nth-child(4) { left: 90%; top: 10%; animation-delay: -3s; }
.cta__confetti i:nth-child(5) { left: 84%; top: 78%; transform: rotate(-12deg); animation-delay: -1.5s; }
.cta__confetti i:nth-child(6) { left: 56%; top: 88%; transform: rotate(40deg); animation-delay: -2.5s; }
.cta__confetti i:nth-child(7) { left: 30%; top: 86%; animation-delay: -.5s; }
.cta__confetti i:nth-child(8) { left: 3%; top: 70%; transform: rotate(-50deg); animation-delay: -4s; }
.cta__confetti i:nth-child(9) { left: 74%; top: 46%; transform: rotate(15deg); animation-delay: -3.5s; }
.cta__confetti i:nth-child(10) { left: 22%; top: 30%; transform: rotate(80deg); animation-delay: -4.5s; }

/* ── Footer ─────────────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--border); padding-block: 36px 44px; }
.foot__row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 28px; }
.foot__tag { color: var(--text-secondary); font-size: 14.5px; }
.foot__links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot__links a { color: var(--text-soft); text-decoration: none; font-size: 14.5px; }
.foot__links a:hover { color: var(--accent-deep); }
.foot__legal { grid-column: 1 / -1; color: var(--text-faint); font-size: 13px; }

/* ── Legal pages (privacy, terms): the document as one app card ── */
.legal {
  width: calc(100% - 2 * var(--gutter)); max-width: 820px;
  margin: clamp(12px, 3vw, 32px) auto clamp(48px, 8vw, 96px);
  padding: clamp(24px, 5vw, 56px);
  background: var(--surface); border-radius: 26px; box-shadow: var(--shadow-card);
}
.legal a:not(.back) { overflow-wrap: anywhere; }
.legal .back {
  display: inline-flex; align-items: center; margin-bottom: 22px;
  color: var(--accent-deep); font-weight: 600; font-size: 14.5px; text-decoration: none;
}
.legal .back:hover { color: var(--accent); }
.legal h1 { font-size: clamp(25px, 3.2vw + 13px, 44px); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; }
.legal .effective {
  display: inline-block; margin-top: 16px; padding: 7px 14px; border-radius: var(--radius-pill);
  background: var(--tint); color: var(--tint-text); font-size: 13px; font-weight: 600;
}
.legal-note {
  margin-top: 16px; padding: 12px 16px; border-radius: var(--radius-md);
  background: var(--tint-soft); color: var(--text-soft); font-size: 14.5px;
}
.legal h2 {
  margin: 36px 0 12px; padding-top: 24px; border-top: 1px solid var(--hairline);
  font-size: 20px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25;
}
.legal h2:first-of-type { margin-top: 32px; border-top: 0; padding-top: 0; }
.legal p, .legal li { color: var(--text-soft); }
.legal p + p { margin-top: 12px; }
.legal strong { color: var(--text); font-weight: 600; }
.legal a:not(.back) { color: var(--accent-deep); text-underline-offset: 3px; }
.legal ul { margin: 12px 0; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal li::marker { color: var(--accent); }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14.5px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--hairline); }
.legal th {
  color: var(--text-secondary); font: 600 11px/1.3 var(--mono); letter-spacing: .8px; text-transform: uppercase;
  border-bottom-color: var(--border);
}
.legal td { color: var(--text-soft); }

/* ── Reveal (driven by landing.js) ───────────────────────────── */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .8s var(--ease-sheet); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .bento [data-reveal]:nth-child(2) { transition-delay: .08s; }
.js .bento [data-reveal]:nth-child(3) { transition-delay: .16s; }

/* hero load choreography */
.js .hero__copy > * { animation: rise .8s var(--ease-sheet) both; }
.js .hero__copy > :nth-child(2) { animation-delay: .06s; }
.js .hero__copy > :nth-child(3) { animation-delay: .14s; }
.js .hero__copy > :nth-child(4) { animation-delay: .22s; }
.js .hero__copy > :nth-child(5) { animation-delay: .3s; }
.js .stage .phone { animation: phoneIn 1.1s var(--ease-sheet) .1s both; }

/* ── Keyframes (sd-floaty / sd-pop / sd-confetti from the app) ─── */
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes pop { 0% { transform: scale(.86); opacity: .3; } 60% { transform: scale(1.04); opacity: 1; } 100% { transform: none; } }
@keyframes ping { 0% { opacity: .7; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.8); } }
@keyframes ring { 0% { opacity: .8; transform: scale(.92); } 100% { opacity: 0; transform: scale(1.18); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fill { to { transform: scaleX(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes phoneIn { from { opacity: 0; transform: translateY(60px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes tap { 0% { opacity: 0; transform: scale(.4); } 30% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.6); } }
@keyframes burst {
  0% { opacity: 1; transform: translate(0, 0) rotate(0); }
  100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)); }
}
@keyframes drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .top__nav { display: none; }
  .stage__halo span:nth-child(3) { display: none; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 56px; }
  .hero__copy { text-align: left; }
  .stage__mascot { width: 170px; right: 0; top: -40px; }
  .bento { grid-template-columns: 1fr; }
  .bento__cover { grid-row: auto; min-height: 0; }
  .story__grid { grid-template-columns: 1fr; gap: 0; }
  .story__stage { display: none; }
  .story__step, .story__step:first-child, .story__step:last-child {
    min-height: 0; opacity: 1; padding: 0; margin-bottom: 20px;
    display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start;
    background: var(--surface); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: 22px 22px 0; overflow: hidden;
  }
  .story__n { width: 52px; height: 52px; background: var(--accent); color: var(--accent-text); }
  .story__shot {
    display: block; grid-column: 1 / -1; width: min(240px, 72%); justify-self: center; margin-top: 18px;
    border-radius: 28px 28px 0 0; border: 8px solid var(--bezel); border-bottom: 0;
    aspect-ratio: 716 / 780; object-fit: cover; object-position: top;
  }
  .picker { grid-template-columns: 1fr; }
  .ticket { position: relative; top: 0; }
  .cta__card { grid-template-columns: 1fr; }
  .cta__mascot { max-width: 200px; justify-self: end; margin-top: -10px; }
  .foot__row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .top__bar { gap: 10px; height: 58px; }
  .legal { padding: 22px 18px; border-radius: 22px; }
  .legal table { font-size: 13.5px; }
  .legal th, .legal td { padding: 9px 8px; }
  .top.is-stuck .top__bar { border-radius: 18px; }
  .top__cta { display: none; }
  .brand__word { font-size: 19px; }
  .lang-toggle__btn { padding: 6px 8px; }
  .hero__title { font-size: clamp(40px, 12vw, 52px); }
  .hero__cta .btn { flex: 1 1 100%; }
  .stage__halo span:nth-child(1) { width: 300px; height: 300px; }
  .stage__halo span:nth-child(2) { width: 380px; height: 380px; }
  .stage__mascot { width: 128px; right: -6px; top: -26px; }
  .phone { width: min(270px, 72vw); }
  .phone__frame { border-radius: 42px; padding: 10px; }
  .phone__screen { border-radius: 33px; }
  .phone__island { width: 74px; height: 22px; top: 18px; }
  .float--price { left: 0; top: 20%; }
  .float--scan { right: 0; bottom: 30%; }
  .float--signal { left: 4px; bottom: 16%; }
  .float__flag, .float__tile { width: 32px; height: 32px; font-size: 18px; }
  .float__big { font-size: 16px; }
  .float__label { font-size: 13px; }
  .tour__tab { padding: 8px 11px; font-size: 12.5px; }
  .bento .card { padding: 22px; }
  .bento__install { padding-right: 22px !important; padding-bottom: 140px !important; }
  .qrpulse { top: auto; bottom: 26px; right: 50%; transform: translateX(50%); }
  .picker__row { grid-template-columns: 42px 1fr auto 10px; gap: 12px; padding: 12px 10px 12px 8px; }
  .picker__flag { width: 42px; height: 42px; font-size: 22px; }
  .picker__row + .picker__row::before { left: 62px; }
  .ticket { padding: 22px; }
  .ticket__mascot { width: 84px; top: 88px; right: 12px; }
  .ticket__bars { margin-right: 96px; }
  .cta__card { border-radius: 26px; }
  .cta__actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .phone__frame { transform: none; }
  .confetti { display: none; }
}
