/* Estero, the website. The app's own night palette and type. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/BricolageGrotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/InstrumentSans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --night: #0f1230;
  --night2: #181c3e;
  --night-line: #2a2f5c;
  --aurora: #19d3a2;
  --aurora-deep: #0ea97e;
  --solar: #f5a524;
  --signal: #f2555a;
  --lilac: #8b95ff;
  --rose: #ff7ab6;
  --sky-blue: #5cc8ff;
  --ink: #f4f5ff;
  --soft: #9da3cc;
  --faint: #6c72a0;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-line: rgba(255, 255, 255, 0.11);
  --display: "Bricolage Grotesque", ui-rounded, system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, sans-serif;
  --wrap: 1120px;
  --gutter: 20px;
  --spring: cubic-bezier(0.16, 1, 0.3, 1);
  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--night);
  color: var(--soft);
  font: 500 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* The sky: the same dusk the app opens on, drifting slowly. */
.sky {
  position: absolute; inset: 0 0 auto 0; height: 1100px; z-index: -1; pointer-events: none; overflow: hidden;
  background: linear-gradient(180deg, #1b2050 0%, var(--night) 70%);
}
.sky::before, .sky::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px);
  animation: drift 18s ease-in-out infinite alternate;
}
.sky::before { width: 640px; height: 520px; right: 4%; top: 2%; background: rgba(25, 211, 162, 0.2); }
.sky::after { width: 560px; height: 440px; left: -6%; top: -8%; background: rgba(139, 149, 255, 0.2); animation-duration: 22s; animation-direction: alternate-reverse; }
@keyframes drift { to { translate: -60px 70px; scale: 1.15; } }

/* Chinese and Arabic: the system's own fonts carry the letters; Latin letters and figures keep the house fonts. */
:root:lang(zh-Hans) {
  --display: "Bricolage Grotesque", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  --body: "Instrument Sans", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
}
:root:lang(ar) {
  --display: "Bricolage Grotesque", "SF Arabic", "Geeza Pro", "Noto Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
  --body: "Instrument Sans", "SF Arabic", "Geeza Pro", "Noto Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;
}
:lang(zh-Hans) h1, :lang(zh-Hans) h2, :lang(zh-Hans) h3 { letter-spacing: 0; }
:lang(zh-Hans) body { line-height: 1.75; }
:lang(zh-Hans) h1 { font-size: clamp(46px, 7.6vw, 90px); line-height: 1.1; }
:lang(ar) *, :lang(ar) *::before, :lang(ar) *::after { letter-spacing: 0 !important; }
:lang(ar) body { line-height: 1.8; }
:lang(ar) h1 { line-height: 1.25; }
:lang(ar) h2, :lang(ar) h3 { line-height: 1.35; }
:lang(ar) .hero h1 .w { padding-bottom: 0.3em; margin-bottom: -0.3em; }
[dir="rtl"] .js .form-mock tbody tr { transform: translateX(16px); }
[dir="rtl"] .js .form-mock.in tbody tr { transform: none; }

a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; letter-spacing: -0.02em; line-height: 1.05; }
h1 { font-weight: 800; font-size: clamp(50px, 8.4vw, 98px); letter-spacing: -0.04em; line-height: 0.98; }
h2 { font-weight: 800; font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.03em; }
h3 { font-weight: 750; font-size: 22px; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0; }
strong { color: var(--ink); font-weight: 650; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; padding-block: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 800 24px/1 var(--display); letter-spacing: -0.02em; }
.brand svg { width: 28px; height: 28px; }
.nav { display: flex; gap: 6px; }
.nav a { text-decoration: none; color: var(--soft); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.nav a:hover, .nav a:focus-visible { color: var(--ink); background: var(--glass); outline: none; }
.nav { align-items: center; }

/* The language menu: every option highlights on hover. */
.lang { position: relative; }
.lang summary {
  list-style: none; display: inline-flex; align-items: center; gap: 7px; cursor: pointer; user-select: none;
  color: var(--soft); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 17px; height: 17px; flex: none; }
.lang summary:hover, .lang summary:focus-visible, .lang[open] summary { color: var(--ink); background: var(--glass); outline: none; }
.lang ul {
  position: absolute; z-index: 30; top: calc(100% + 8px); inset-inline-end: 0; min-width: 190px; margin: 0; padding: 6px; list-style: none;
  background: rgba(24, 28, 62, 0.97); border: 1px solid var(--glass-line); border-radius: 16px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.75); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.lang a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--soft); font-weight: 600; font-size: 15px; }
.lang a:hover, .lang a:focus-visible { background: rgba(255, 255, 255, 0.09); color: var(--ink); outline: none; }
.lang a[aria-current="true"] { color: var(--ink); }
.lang a[aria-current="true"]::after { content: "\2713"; color: var(--aurora); font-weight: 700; }
.foot-langs { flex-basis: 100%; }
.foot-langs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-langs a { color: var(--soft); text-decoration: none; font-weight: 600; }
.foot-langs a:hover { color: var(--ink); text-decoration: underline; }
.foot-langs a[aria-current="true"] { color: var(--ink); }

/* Shared */
section { padding-block: 80px; }
.section-head { max-width: 38em; }
.section-head p { margin-top: 16px; font-size: 19px; }
.kicker { display: inline-block; font-weight: 700; font-size: 14px; color: var(--aurora); margin-bottom: 12px; }
.kicker.pro { color: var(--solar); }
.tag { display: inline-block; font: 700 12px/1 var(--body); padding: 6px 10px; border-radius: 999px; letter-spacing: 0.01em; }
.tag.free { color: var(--aurora); background: rgba(25, 211, 162, 0.12); }
.tag.pro { color: var(--solar); background: rgba(245, 165, 36, 0.12); }
.card { background: var(--glass); border: 1px solid var(--glass-line); border-radius: 26px; padding: 26px; }

.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 36px; }
.store {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  background: var(--ink); color: var(--night); border-radius: 14px; padding: 12px 20px 12px 16px;
  font: 700 16px/1.15 var(--body);
}
.store svg { width: 22px; height: 22px; flex: none; }
.store small { display: block; font-size: 11px; font-weight: 600; opacity: 0.7; letter-spacing: 0.01em; }
.store.soon { background: var(--glass); color: var(--ink); border: 1px solid var(--glass-line); cursor: default; }
.cta .note { font-size: 15px; color: var(--faint); }

.phone {
  width: min(340px, 74vw);
  border-radius: 13.5% / 6.2%; overflow: hidden;
  border: 1px solid var(--glass-line);
  box-shadow: 0 40px 120px -30px rgba(25, 211, 162, 0.4), 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}

/* Reveal on scroll. Hidden states apply only when the script runs. */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--spring), transform 1.1s var(--spring); }
.js [data-reveal].in { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 40px; align-items: center;
  min-height: min(820px, calc(100svh - 76px)); padding-block: 12px 64px;
}
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero h1 .w > span { display: inline-block; animation: rise 1.1s var(--spring) both; }
.hero h1 .w:nth-child(2) > span { animation-delay: 0.08s; }
.hero h1 .w:nth-child(3) > span { animation-delay: 0.16s; }
.hero h1 .w:nth-child(4) > span { animation-delay: 0.24s; }
.hero h1 .w:nth-child(5) > span { animation-delay: 0.32s; }
.hero h1 .w:nth-child(6) > span { animation-delay: 0.4s; }
.hero h1 .w:nth-child(n + 7) > span { animation-delay: 0.48s; }
@keyframes rise { from { transform: translateY(110%); } }
.hero .lead { font-size: clamp(18px, 2.1vw, 22px); line-height: 1.5; color: var(--soft); margin-top: 26px; max-width: 26em; animation: fadeUp 1s 0.45s var(--spring) both; }
.hero .cta { animation: fadeUp 1s 0.6s var(--spring) both; }

.hero-visual { position: relative; justify-self: center; perspective: 1400px; }
.hero-phone { will-change: transform; }
.hero-phone .phone { animation: phoneIn 1.6s 0.2s var(--spring) both; }
@keyframes phoneIn { from { opacity: 0; transform: translateY(90px) rotateX(18deg) scale(0.9); } }

.callout { position: absolute; z-index: 2; will-change: transform; }
.callout > div {
  display: grid; grid-template-columns: auto auto; column-gap: 9px; align-items: center;
  padding: 11px 16px 11px 13px; border-radius: 18px;
  background: rgba(32, 37, 84, 0.66); border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.6);
  animation: pop 0.9s var(--bounce) both, bob 5s ease-in-out infinite alternate;
}
.callout i { grid-row: span 2; width: 10px; height: 10px; border-radius: 50%; }
.callout b { color: var(--ink); font-size: 14px; line-height: 1.2; }
.callout span { color: var(--soft); font-size: 13px; line-height: 1.3; font-weight: 600; }
.dot-aurora { background: var(--aurora); box-shadow: 0 0 12px var(--aurora); }
.dot-solar { background: var(--solar); box-shadow: 0 0 12px var(--solar); }
.dot-lilac { background: var(--lilac); box-shadow: 0 0 12px var(--lilac); }
.c1 { top: 15%; inset-inline-start: -22%; }
.c1 > div { animation-delay: 1s, 1.9s; }
.c2 { top: 47%; inset-inline-end: -18%; }
.c2 > div { animation-delay: 1.15s, 2.4s; }
.c3 { bottom: 13%; inset-inline-start: -14%; }
.c3 > div { animation-delay: 1.3s, 2s; }
@keyframes pop { from { opacity: 0; scale: 0.6; } }
@keyframes bob { to { translate: 0 -12px; } }

/* Figures */
.stats { padding-block: 24px 40px; }
.stats ul { list-style: none; margin: 0; padding: 34px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-block: 1px solid var(--glass-line); }
.stats b {
  display: block; font: 800 clamp(46px, 6vw, 72px)/1 var(--display); letter-spacing: -0.045em; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #ffffff 30%, #8f97d6); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stats b { white-space: nowrap; }
.stats b .unit { display: inline; margin: 0; margin-inline-start: 0.14em; font-size: 0.42em; letter-spacing: 0; }
.stats li > span { display: block; margin-top: 10px; font-size: 15px; line-height: 1.4; max-width: 14em; }

/* The story: one phone, held in place, while its screens change. */
.story { padding-block: 0; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.story-steps { padding-block: 16vh 22vh; }
.step { min-height: 58vh; display: flex; flex-direction: column; justify-content: center; transition: opacity 0.6s ease; }
.js .step { opacity: 0.18; }
.js .step.is-active { opacity: 1; }
.step h2 { font-size: clamp(40px, 5.2vw, 68px); }
.step p { font-size: 21px; line-height: 1.5; margin-top: 18px; max-width: 21em; }
.step-media { display: none; }

.story-stage { position: sticky; top: max(80px, calc(50vh - 316px)); align-self: start; display: grid; place-items: center; padding-block: 0; }
.glow {
  position: absolute; width: 440px; height: 440px; border-radius: 50%; top: 50%; left: 50%; translate: -50% -50%;
  background-color: var(--glow, var(--aurora)); opacity: 0.32; filter: blur(100px);
  transition: background-color 1s ease;
}
.device {
  --dw: 296px;
  position: relative; width: var(--dw); padding: 9px; border-radius: calc(var(--dw) * 0.17);
  background: #05061a; border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 2px #22275a, 0 50px 120px -40px rgba(0, 0, 0, 0.85);
}
.screen {
  position: relative; aspect-ratio: 720 / 1565; border-radius: calc(var(--dw) * 0.145); overflow: hidden;
  background: #0d1b3b; container-type: inline-size; isolation: isolate;
}
.screen .shot {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: translateY(12%) scale(0.92);
  transition: opacity 0.5s ease, transform 0.95s var(--spring);
}
.screen .shot.is-past { transform: translateY(-12%) scale(0.92); }
.screen .shot.is-on { opacity: 1; transform: none; }

.story-dots { position: absolute; inset-inline-end: 0; top: 50%; translate: 0 -50%; list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.story-dots button { display: block; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgba(255, 255, 255, 0.22); cursor: pointer; transition: height 0.5s var(--spring), background-color 0.3s; }
.story-dots button:hover { background: rgba(255, 255, 255, 0.5); }
.story-dots button[aria-current="step"] { height: 30px; background: var(--ink); }
.rail-dots { display: none; }

/* The arrival notice, on a Lock Screen inside the phone. */
.lock {
  padding: 15cqw 4.5cqw 0;
  background:
    radial-gradient(80% 50% at 30% 18%, rgba(139, 149, 255, 0.55), transparent 70%),
    radial-gradient(80% 50% at 80% 92%, rgba(25, 211, 162, 0.42), transparent 70%),
    linear-gradient(180deg, #2a2f72, #141838);
}
.lock-time { text-align: center; color: rgba(255, 255, 255, 0.94); font: 700 24cqw/1 var(--display); letter-spacing: -0.04em; }
.lock-date { text-align: center; color: rgba(255, 255, 255, 0.82); font-weight: 600; font-size: 4.8cqw; margin: 2cqw 0 12cqw; }
.notice {
  background: rgba(30, 33, 70, 0.66); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 7cqw; padding: 4cqw 4.4cqw;
  display: grid; grid-template-columns: 11cqw 1fr auto; gap: 0.8cqw 3cqw; align-items: start;
  opacity: 0; transform: translateY(-50%) scale(0.86);
  transition: opacity 0.4s ease 0.35s, transform 0.8s var(--bounce) 0.35s;
}
.notice img { width: 11cqw; height: 11cqw; border-radius: 2.6cqw; grid-row: span 2; }
.notice b { color: var(--ink); font-size: 4.4cqw; line-height: 1.3; }
.notice small { color: var(--faint); font-size: 3.8cqw; }
.notice span { grid-column: 2 / 4; color: var(--ink); font-size: 4.2cqw; line-height: 1.35; }
.notice-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4cqw; margin-top: 2.4cqw; opacity: 0; transform: translateY(-8px); transition: opacity 0.5s ease 0.9s, transform 0.6s var(--spring) 0.9s; }
.notice-actions div {
  background: rgba(30, 33, 70, 0.66); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 5cqw;
  text-align: center; padding: 3.4cqw; color: var(--ink); font-weight: 650; font-size: 4.2cqw;
}
.notice-actions div:first-child { color: var(--aurora); }
.lock.is-on .notice, .lock.is-on .notice-actions { opacity: 1; transform: none; }
.lock.is-on .notice-actions div:first-child { animation: tap 1.4s 1.7s ease-out both; }
@keyframes tap { 0% { box-shadow: 0 0 0 0 rgba(25, 211, 162, 0.7); } 40% { background: rgba(25, 211, 162, 0.3); } 100% { box-shadow: 0 0 0 4cqw rgba(25, 211, 162, 0); } }

/* Rules: one ring, every clock. */
.rules-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.rule-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.rule-tabs button {
  position: relative; overflow: hidden; font: 650 15px/1 var(--body); color: var(--soft);
  background: var(--glass); border: 1px solid var(--glass-line); border-radius: 999px; padding: 11px 17px; cursor: pointer;
  transition: color 0.25s, background-color 0.25s;
}
.rule-tabs button:hover { color: var(--ink); background: rgba(255, 255, 255, 0.12); }
.rule-tabs button:focus-visible { outline: 2px solid var(--aurora); outline-offset: 2px; }
.rule-tabs button.is-on { color: var(--night); background: var(--ink); }
.rule-tabs button::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; height: 3px; width: 0; background: var(--aurora-deep); }
.rule-tabs button.is-playing::after { animation: tabfill 4.6s linear forwards; }
@keyframes tabfill { to { width: 100%; } }
@media (hover: hover) { .rules-grid:hover .rule-tabs button.is-playing::after { animation-play-state: paused; } }
.rule-panels { margin-top: 30px; min-height: 118px; }
.rule-panels h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 28px; }
.rule-panels p { margin-top: 12px; font-size: 19px; max-width: 24em; }
.rule-panels [role="tabpanel"]:not([hidden]) { animation: fadeUp 0.55s var(--spring) both; }

.ring { --ring: var(--aurora); position: relative; width: min(390px, 78vw); aspect-ratio: 1; justify-self: center; }
.ring::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; background-color: var(--ring); opacity: 0.16; filter: blur(60px); transition: background-color 0.8s; }
.ring svg { position: relative; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ring circle { fill: none; stroke-width: 20; }
.ring .track { stroke: rgba(255, 255, 255, 0.07); }
.ring .arc {
  stroke: var(--ring); stroke-linecap: round; stroke-dasharray: 703.7; stroke-dashoffset: 203;
  transition: stroke-dashoffset 1.2s var(--spring), stroke 0.6s ease;
  filter: drop-shadow(0 0 14px var(--ring));
}
.ring-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-num b { font: 800 clamp(72px, 10vw, 112px)/1 var(--display); color: var(--ink); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.ring-num span { font-weight: 600; color: var(--soft); font-size: 17px; line-height: 1.3; margin-top: 8px; max-width: 11em; justify-self: center; }

/* Feature with a picture beside it. */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-text p { margin-top: 18px; font-size: 20px; line-height: 1.5; max-width: 24em; }

/* A form laid out as the application asks for it. */
.form-mock {
  justify-self: center; width: min(480px, 100%); background: #f6f6fb; color: #1d2142; border-radius: 22px; padding: 26px 24px;
  box-shadow: 0 40px 100px -30px rgba(139, 149, 255, 0.5), 0 20px 50px -20px rgba(0, 0, 0, 0.6); font-size: 13px;
}
.js .form-mock { transform: translateY(40px) rotate(2deg); }
.js .form-mock.in { transform: rotate(-1.5deg); }
.form-head b { display: block; font: 800 24px/1 var(--display); letter-spacing: -0.02em; color: #12153a; }
.form-head span { display: block; margin-top: 8px; color: #5b6088; font-size: 13px; }
.form-mock table { width: 100%; border-collapse: collapse; margin-top: 18px; }
.form-mock th { text-align: start; font-size: 10.5px; font-weight: 700; color: var(--aurora-deep); padding: 0 0 8px; padding-inline-end: 6px; vertical-align: bottom; }
.form-mock td { padding: 9px 6px 9px 0; border-top: 1px solid #dfe0ee; font-variant-numeric: tabular-nums; }
.form-mock td:last-child, .form-mock th:last-child { text-align: end; padding-inline-end: 0; }
.js .form-mock tbody tr { opacity: 0; transform: translateX(-16px); transition: opacity 0.5s ease, transform 0.7s var(--spring); }
.js .form-mock.in tbody tr { opacity: 1; transform: none; }
.form-mock.in tbody tr:nth-child(1) { transition-delay: 0.35s; }
.form-mock.in tbody tr:nth-child(2) { transition-delay: 0.5s; }
.form-mock.in tbody tr:nth-child(3) { transition-delay: 0.65s; }
.form-total { margin-top: 14px; font-weight: 700; color: #12153a; font-variant-numeric: tabular-nums; }

/* Everywhere on the phone. */
.bento { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bento > li { background: var(--glass); border: 1px solid var(--glass-line); border-radius: 26px; padding: 20px 22px 22px; font-size: 15px; line-height: 1.45; overflow: hidden; }
.bento > li.wide { grid-column: span 2; }
.bento strong { display: block; font-size: 17px; margin-bottom: 2px; }
.viz { height: 112px; display: grid; place-items: center; margin-bottom: 14px; }

.island {
  height: 38px; width: 118px; overflow: hidden; background: #000; border-radius: 999px;
  display: flex; align-items: center; gap: 9px; padding: 0 14px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 20px 40px -14px rgba(0, 0, 0, 0.8);
  animation: island 5.5s var(--spring) infinite;
}
@keyframes island { 0%, 16% { width: 118px; height: 38px; } 28%, 72% { width: 262px; height: 56px; } 84%, 100% { width: 118px; height: 38px; } }
.island-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--aurora); box-shadow: 0 0 12px var(--aurora); }
.island-a { color: #fff; font-weight: 650; font-size: 14px; white-space: nowrap; }
.island-b { margin-inline-start: auto; color: var(--aurora); font-weight: 750; font-size: 15px; white-space: nowrap; animation: islandText 5.5s ease infinite; }
@keyframes islandText { 0%, 22% { opacity: 0; } 32%, 66% { opacity: 1; } 76%, 100% { opacity: 0; } }

.widget { position: relative; width: 96px; height: 96px; border-radius: 24px; display: grid; place-items: center; background: linear-gradient(160deg, #262d6c, #141838); border: 1px solid var(--glass-line); }
.widget svg { position: absolute; width: 66px; height: 66px; transform: rotate(-90deg); }
.widget circle { fill: none; stroke-width: 6; stroke: rgba(255, 255, 255, 0.1); }
.widget .w-arc { stroke: var(--aurora); stroke-linecap: round; stroke-dasharray: 150.8; stroke-dashoffset: 43.6; transition: stroke-dashoffset 1.6s var(--spring) 0.3s; }
.js li:not(.in) .widget .w-arc { stroke-dashoffset: 150.8; }
.widget b { font: 800 22px/1 var(--display); color: var(--ink); }

.siri { position: relative; width: 74px; height: 74px; border-radius: 50%; background: conic-gradient(var(--aurora), var(--lilac), var(--rose), var(--solar), var(--aurora)); filter: blur(5px); animation: spin 7s linear infinite, breathe 2.2s ease-in-out infinite alternate; }
.siri::after { content: ""; position: absolute; inset: 13px; border-radius: 50%; background: #10143a; filter: blur(5px); }
@keyframes spin { to { rotate: 360deg; } }
@keyframes breathe { to { scale: 1.16; } }

.cc { position: relative; width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; background-color: rgba(255, 255, 255, 0.12); animation: press 3.4s ease-in-out infinite; }
.cc svg { width: 36px; height: 36px; }
.cc::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--aurora); opacity: 0; animation: ripple 3.4s ease-out infinite; }
@keyframes press { 0%, 30%, 100% { scale: 1; background-color: rgba(255, 255, 255, 0.12); } 36% { scale: 0.86; } 44%, 82% { scale: 1; background-color: rgba(25, 211, 162, 0.3); } }
@keyframes ripple { 0%, 36% { opacity: 0; scale: 1; } 40% { opacity: 0.9; } 72%, 100% { opacity: 0; scale: 1.7; } }

.family { display: flex; padding-inline-start: 12px; }
.family i { width: 42px; height: 42px; border-radius: 50%; margin-inline-start: -12px; border: 3px solid #1a1e47; transition: transform 0.6s var(--bounce); animation: bob 2.6s ease-in-out infinite alternate; }
.family i:nth-child(1) { background: linear-gradient(140deg, #4ef0c3, var(--aurora-deep)); }
.family i:nth-child(2) { background: linear-gradient(140deg, #b3baff, #6670e8); transition-delay: 0.08s; animation-delay: 0.3s; }
.family i:nth-child(3) { background: linear-gradient(140deg, #ffa8cf, #e3529a); transition-delay: 0.16s; animation-delay: 0.6s; }
.family i:nth-child(4) { background: linear-gradient(140deg, #ffd27a, #e08a0b); transition-delay: 0.24s; animation-delay: 0.9s; }
.family i:nth-child(5) { background: linear-gradient(140deg, #9be0ff, #2e9fd6); transition-delay: 0.32s; animation-delay: 1.2s; }
.js li:not(.in) .family i { transform: scale(0); }

.viz.marquee { display: flex; align-items: center; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; direction: ltr; animation: marquee 24s linear infinite; }
.marquee-track span { margin-inline-end: 12px; color: var(--ink); font-weight: 650; font-size: 17px; padding: 10px 18px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Privacy */
.privacy { padding-block: 40px; }
.privacy-band {
  border-radius: 34px; padding: 48px;
  background: linear-gradient(140deg, rgba(25, 211, 162, 0.13), rgba(139, 149, 255, 0.08) 60%, transparent);
  border: 1px solid var(--glass-line);
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px 40px; align-items: center;
}
.privacy-band h2 { font-size: clamp(32px, 4vw, 46px); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin: 0; padding: 0; list-style: none; }
.facts li { padding-inline-start: 32px; position: relative; font-size: 17px; line-height: 1.4; color: var(--ink); font-weight: 600; }
.facts li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 1px; width: 21px; height: 21px; border-radius: 50%;
  background: rgba(25, 211, 162, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2319d3a2' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 21px no-repeat;
}

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan.pro { border-color: rgba(245, 165, 36, 0.45); background: linear-gradient(180deg, rgba(245, 165, 36, 0.10), var(--glass) 55%); }
.plan h3 { display: flex; align-items: center; gap: 10px; }
.plan .price { font: 800 44px/1 var(--display); color: var(--ink); letter-spacing: -0.03em; margin-top: 18px; }
.plan .price span { font: 600 15px/1 var(--body); color: var(--soft); letter-spacing: 0; margin-inline-start: 4px; }
.plan .alt { font-size: 15px; margin-top: 8px; min-height: 24px; }
.plan ul { list-style: none; margin: 22px 0 0; padding: 22px 0 0; border-top: 1px solid var(--glass-line); display: grid; gap: 10px; font-size: 16px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "\2713"; color: var(--aurora); font-weight: 700; }
.plan.pro li::before { color: var(--solar); }
.fineprint { margin-top: 22px; font-size: 14px; color: var(--faint); }

.final { text-align: center; padding-block: 72px 110px; }
.final .cta { justify-content: center; }
.final img.icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 28px; animation: halo 3.2s ease-in-out infinite alternate; }
@keyframes halo { from { box-shadow: 0 20px 50px -14px rgba(25, 211, 162, 0.35); } to { box-shadow: 0 24px 80px -6px rgba(25, 211, 162, 0.7); } }

/* Footer */
footer { border-top: 1px solid var(--glass-line); padding: 40px 0 56px; font-size: 14px; color: var(--faint); }
.foot { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: flex-start; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot nav a { color: var(--soft); text-decoration: none; font-weight: 600; }
.foot nav a:hover { color: var(--ink); text-decoration: underline; }
.foot .disclaimer { flex-basis: 100%; max-width: 46em; line-height: 1.55; }

/* Documents: privacy, terms, support */
.doc { max-width: calc(760px + 2 * var(--gutter)); padding-block: 40px 96px; }
.doc h1 { font-size: clamp(40px, 6vw, 60px); }
.doc .updated { margin-top: 14px; color: var(--faint); font-size: 15px; }
.doc .lang-note { margin-top: 10px; color: var(--faint); font-size: 14px; }
.doc .summary { margin-top: 32px; padding: 24px 26px; border-radius: 22px; background: var(--glass); border: 1px solid var(--glass-line); color: var(--ink); font-size: 18px; }
.doc h2 { font-size: 26px; margin-top: 48px; letter-spacing: -0.015em; }
.doc h2.flush { margin-top: 0; }
.doc h3 { font-size: 19px; margin-top: 28px; }
.doc p, .doc ul, .doc ol { margin-top: 14px; }
.doc ul, .doc ol { padding-inline-start: 22px; }
.doc li { margin-top: 8px; }
.doc a { color: var(--aurora); }
.doc table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 15px; }
.doc th, .doc td { text-align: start; padding: 12px 0; padding-inline-end: 14px; border-bottom: 1px solid var(--glass-line); vertical-align: top; }
.doc th { color: var(--ink); font-weight: 650; }
.faq details { border-bottom: 1px solid var(--glass-line); padding: 18px 0; }
.faq summary { cursor: pointer; color: var(--ink); font-weight: 650; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--aurora); font-weight: 700; }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--aurora); }
.faq details p { margin-top: 10px; }
.contact { margin-top: 48px; padding: 28px; border-radius: 22px; background: var(--glass); border: 1px solid var(--glass-line); }
.contact a.mail { display: inline-block; margin-top: 10px; font: 750 22px/1.2 var(--display); color: var(--ink); }

/* Above the page until focused: off to a side, it would widen right-to-left pages. */
.skip { position: absolute; inset-inline-start: 8px; top: -80px; background: var(--ink); color: var(--night); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { top: 8px; }

/* Tablets and phones: the story becomes a row to swipe. */
@media (max-width: 900px) {
  section { padding-block: 60px; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-block: 20px 40px; gap: 48px; }
  .c1 { inset-inline-start: -12%; top: 10%; }
  .c2 { inset-inline-end: -12%; }
  .c3 { inset-inline-start: -8%; }
  .stats ul { grid-template-columns: 1fr 1fr; gap: 28px 18px; padding: 28px 0; }

  .story { padding-block: 40px 20px; }
  .story-grid { display: block; }
  .story-stage { display: none; }
  .story-steps {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    padding: 4px var(--gutter) 8px; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: none;
  }
  .story-steps::-webkit-scrollbar { display: none; }
  .step {
    flex: 0 0 min(80%, 340px); min-height: 0; opacity: 1 !important; justify-content: flex-start; scroll-snap-align: center;
    background: var(--glass); border: 1px solid var(--glass-line); border-radius: 28px; padding: 22px 22px 26px;
  }
  .step-media { display: block; margin: 0 auto 22px; }
  .step-media .device { --dw: min(196px, 52vw); }
  .step h2 { font-size: 28px; }
  .step p { font-size: 16px; margin-top: 10px; }
  .rail-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
  .rail-dots i { width: 7px; height: 7px; border-radius: 99px; background: rgba(255, 255, 255, 0.25); transition: width 0.4s var(--spring), background-color 0.3s; }
  .rail-dots i.is-on { width: 24px; background: var(--ink); }

  .rules-grid { grid-template-columns: 1fr; gap: 28px; }
  .ring { order: -1; width: min(300px, 74vw); }
  .rules-text { text-align: start; }
  .rule-tabs { margin-top: 24px; }
  .rule-panels { min-height: 130px; }
  .rule-panels h3 { font-size: 23px; }
  .rule-panels p { font-size: 17px; }

  .feature, .privacy-band { grid-template-columns: 1fr; gap: 36px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento > li { padding: 16px 16px 18px; font-size: 14px; }
  .viz { height: 92px; margin-bottom: 10px; }
  .island { animation-name: islandSmall; }
  @keyframes islandSmall { 0%, 16% { width: 108px; height: 36px; } 28%, 72% { width: 230px; height: 50px; } 84%, 100% { width: 108px; height: 36px; } }
  .privacy-band { padding: 34px 24px; }
  .family i { width: 32px; height: 32px; margin-inline-start: -10px; border-width: 2px; }
  .js .form-mock, .js .form-mock.in { transform: none; }
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav .wide-only { display: none; }
  .lang summary span { display: none; }
  .lang summary { padding: 8px 10px; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .nav a { padding: 8px 9px; font-size: 14px; }
  .feature-text p { font-size: 17px; }
  .facts { grid-template-columns: 1fr; }
  .callout b { font-size: 13px; }
  .callout span { font-size: 12px; }
  .callout > div { padding: 9px 13px 9px 11px; }
}

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