:root {
  --ink: #0e342e;
  --ink-soft: #3c5f58;
  --muted: #5f7f78;
  --jade: #0b7a5f;
  --jade-bright: #2fd3a0;
  --teal: #13a99b;
  --gold: #e9b44c;
  --glass: rgba(255, 255, 255, 0.52);
  --glass-strong: rgba(255, 255, 255, 0.72);
  --edge: rgba(255, 255, 255, 0.75);
  --line: rgba(14, 52, 46, 0.12);
  --shadow: 0 30px 80px -30px rgba(6, 70, 60, 0.45);
  --radius: 30px;
  --gutter: clamp(16px, 4.5vw, 56px);
  --display: "Bricolage Grotesque", "Be Vietnam Pro", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: #e4f6ef;
  font: 400 17px/1.65 "Be Vietnam Pro", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--jade-bright); color: #fff; }

/* The aurora: the same soft mint, sky and lilac light the app is drawn on. */
.aurora { position: fixed; inset: -20vmax; z-index: -2; pointer-events: none;
  background:
    radial-gradient(40vmax 40vmax at 12% 8%, #8fe8c8 0%, transparent 60%),
    radial-gradient(38vmax 38vmax at 88% 18%, #9fdcf0 0%, transparent 62%),
    radial-gradient(44vmax 44vmax at 20% 88%, #cfc6f6 0%, transparent 60%),
    radial-gradient(40vmax 40vmax at 86% 84%, #b8d5f6 0%, transparent 60%),
    linear-gradient(160deg, #dcf6ec, #e7f1fb 55%, #ece8fb);
  animation: drift 26s ease-in-out infinite alternate; }
.grain { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .22; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E"); }
@keyframes drift { to { transform: translate3d(-3vmax, 2vmax, 0) rotate(4deg) scale(1.05); } }

.wrap { width: min(1220px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Navigation: a floating glass bar, like the app's tab bar. */
.nav { position: fixed; z-index: 50; top: max(14px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%);
  width: min(1120px, calc(100% - 32px)); display: flex; align-items: center; gap: 10px;
  padding: 8px 8px 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.55); border: 1px solid var(--edge);
  backdrop-filter: blur(22px) saturate(170%); -webkit-backdrop-filter: blur(22px) saturate(170%);
  box-shadow: 0 10px 40px -18px rgba(6, 70, 60, .45); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 19px/1 var(--display); letter-spacing: -0.02em; }
.brand img { width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 4px 12px -4px rgba(6,70,60,.5); }
.nav .links { display: flex; gap: 2px; margin-left: auto; }
.nav .links a { text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 999px; color: var(--ink-soft); transition: background .2s, color .2s; }
.nav .links a:hover { background: rgba(255,255,255,.7); color: var(--ink); }
.lang { border: 0; cursor: pointer; font: 600 13px/1 "Be Vietnam Pro", sans-serif; letter-spacing: .06em; color: var(--ink);
  background: rgba(255,255,255,.75); border-radius: 999px; padding: 10px 12px; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; background: #0b0f0e;
  border-radius: 999px; padding: 10px 20px 10px 16px; font-weight: 600; font-size: 15px; white-space: nowrap;
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.6); transition: transform .15s ease-out; }
.store-btn:active { transform: scale(.96); }
.store-btn svg { width: 22px; height: 22px; flex: none; }
.store-btn small { display: block; font-size: 10.5px; font-weight: 500; opacity: .75; letter-spacing: .02em; line-height: 1.2; }
.store-btn b { display: block; font-size: 17px; line-height: 1.1; }
.nav .store-btn { padding: 9px 15px 9px 13px; }
.nav .store-btn small { display: none; }
.nav .store-btn b { font-size: 15px; }
@media (max-width: 860px) { .nav .links { display: none; } .nav .lang { margin-left: auto; } }

/* Hero */
.hero { min-height: 100svh; display: grid; align-items: center; padding: 120px 0 60px; position: relative; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 5vw, 70px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--jade);
  background: rgba(255,255,255,.6); border: 1px solid var(--edge); padding: 8px 14px 8px 10px; border-radius: 999px; }
.eyebrow i { width: 10px; height: 10px; border-radius: 50%; background: var(--jade-bright); box-shadow: 0 0 0 4px rgba(47,211,160,.25); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(47,211,160,0); } }
h1 { font: 800 clamp(46px, 7.2vw, 102px)/0.95 var(--display); letter-spacing: -0.045em; margin: 22px 0 22px; text-wrap: balance; }
h1 em { font-style: normal; background: linear-gradient(100deg, #0b7a5f, #13a99b 40%, #c8902a 70%, #0b7a5f); -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 220% 100%; animation: sheen 9s ease-in-out infinite; }
@keyframes sheen { 50% { background-position: 100% 0; } }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-soft); max-width: 36em; margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font: 500 14px/1.3 "Be Vietnam Pro", sans-serif; color: var(--ink-soft);
  background: rgba(255,255,255,.55); border: 1px solid var(--edge); border-radius: 999px; padding: 9px 14px; }
button.chip { cursor: pointer; }
.chip.wait::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(233,180,76,.25); }
.chip[hidden] { display: none; }
.price-note { margin-top: 18px; font-size: 15px; color: var(--muted); }
.price-note b { color: var(--ink); }

.stage { position: relative; aspect-ratio: 1 / 1.05; perspective: 1400px; }
.orb { position: absolute; width: 74%; aspect-ratio: 1; left: 13%; top: 6%; filter: drop-shadow(0 40px 60px rgba(6, 70, 60, .35)); }
.orb svg { width: 100%; height: 100%; overflow: visible; }
#liquid-level { transition: transform .3s linear; }
.wave { animation: wave 7s linear infinite; }
.wave.b { animation-duration: 11s; animation-direction: reverse; opacity: .6; }
@keyframes wave { to { transform: translateX(-400px); } }
.bubble { animation: rise 6s ease-in infinite; opacity: 0; }
@keyframes rise { 10% { opacity: .9; } 90% { opacity: .6; } to { transform: translateY(-260px); opacity: 0; } }
.star { transform-origin: 318px 90px; animation: twinkle 4.5s ease-in-out infinite; }
@keyframes twinkle { 50% { transform: scale(.82) rotate(18deg); opacity: .85; } }
.float { position: absolute; border-radius: 22px; overflow: hidden; border: 1px solid var(--edge); background: #fff;
  box-shadow: var(--shadow); will-change: transform; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.float img { width: 100%; height: auto; }
.f1 { width: 42%; right: -2%; bottom: -2%; transform: rotate(5deg); }
.f2 { width: 50%; left: -6%; bottom: 8%; transform: rotate(-6deg); aspect-ratio: 1.45; }
.f2 img { height: 100%; object-fit: cover; object-position: top; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .stage { max-width: 520px; width: 100%; margin: 10px auto 0; }
}

/* Marquee of what it finds */
.marquee { border-block: 1px solid var(--line); background: rgba(255,255,255,.35); overflow: hidden; padding: 18px 0; }
.track { display: flex; gap: 46px; width: max-content; animation: slide 38s linear infinite; }
.track span { font: 700 clamp(22px, 2.6vw, 34px)/1 var(--display); letter-spacing: -0.02em; white-space: nowrap; display: inline-flex; align-items: center; gap: 46px; }
.track span::after { content: "✦"; color: var(--gold); font-size: .7em; }
@keyframes slide { to { transform: translateX(-50%); } }

section { padding: clamp(70px, 11vw, 140px) 0; position: relative; }
section.tight { padding-top: 0; }
.kicker { font-weight: 600; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--jade); margin: 0 0 14px; }
h2 { font: 800 clamp(36px, 5.2vw, 72px)/0.98 var(--display); letter-spacing: -0.04em; margin: 0 0 20px; text-wrap: balance; }
h3 { font: 700 clamp(22px, 2.2vw, 28px)/1.15 var(--display); letter-spacing: -0.02em; margin: 0 0 10px; }
.sub { color: var(--ink-soft); font-size: clamp(17px, 1.5vw, 19px); max-width: 40em; }

/* Sticky story: the text scrolls, the app screen beside it changes. */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); }
.story .screens { position: sticky; top: 96px; height: calc(100vh - 120px); display: grid; place-items: center; }
.screen { position: absolute; height: min(100%, 700px); width: auto; max-width: 100%; object-fit: cover; object-position: top; border-radius: 28px; overflow: hidden; background: #fff; border: 1px solid var(--edge);
  box-shadow: var(--shadow); opacity: 0; transform: translateY(30px) scale(.96) rotate(-1.5deg); transition: opacity .6s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.screen.on { opacity: 1; transform: none; }
.steps { padding: 10vh 0 20vh; }
.step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .5s; }
.step.on { opacity: 1; }
.step .num { font: 800 15px/1 var(--display); color: var(--jade); letter-spacing: .1em; margin-bottom: 14px; }
.step p { color: var(--ink-soft); font-size: 18px; max-width: 30em; margin: 0; }
.step .shot-inline { display: none; }
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; }
  .story .screens { display: none; }
  .steps { padding: 0; }
  .step { min-height: 0; opacity: 1; margin-bottom: 70px; }
  .step .shot-inline { display: block; margin-top: 22px; border-radius: 24px; overflow: hidden; border: 1px solid var(--edge); box-shadow: var(--shadow); }
}

/* Swipe Mode demo */
.swipe { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.deck-wrap { display: grid; justify-items: center; gap: 22px; }
.deck { position: relative; width: min(100%, 380px); aspect-ratio: 1; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.card { position: absolute; inset: 0; border-radius: 30px; overflow: hidden; background: #fff; border: 4px solid #fff; box-shadow: var(--shadow); cursor: grab; will-change: transform; }
.card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.card .tag { position: absolute; top: 20px; padding: 8px 14px; border-radius: 12px; font: 800 20px/1 var(--display); letter-spacing: .04em; opacity: 0; border: 3px solid; background: rgba(255,255,255,.85); }
.card .tag.keep { left: 18px; color: var(--jade); border-color: var(--jade); transform: rotate(-12deg); }
.card .tag.drop { right: 18px; color: #c4453a; border-color: #c4453a; transform: rotate(12deg); }
.deck .empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 30px; border-radius: 30px; border: 2px dashed rgba(14,52,46,.2); color: var(--ink-soft); }
.deck .empty button { margin-top: 14px; }
.ctrl { display: flex; gap: 18px; }
.round { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--edge); background: var(--glass-strong); cursor: pointer; font-size: 26px; display: grid; place-items: center;
  box-shadow: 0 14px 30px -16px rgba(6,70,60,.6); transition: transform .15s ease-out; color: var(--ink); }
.round:active { transform: scale(.92); }
.round.drop { color: #c4453a; }
.round.keep { color: var(--jade); }
.tally { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.tally .chip b { color: var(--ink); }
@media (max-width: 900px) { .swipe { grid-template-columns: 1fr; } }

/* Rules */
.rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; }
.rule { padding: 26px 26px 24px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--edge);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.rule .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(140deg, #2fd3a0, #0b7a5f); color: #fff; font-size: 22px; box-shadow: 0 10px 24px -12px rgba(11,122,95,.8); }
.rule h3 { font-size: 21px; margin-bottom: 6px; }
.rule p { margin: 0; color: var(--ink-soft); font-size: 16px; }
@media (max-width: 760px) { .rules { grid-template-columns: 1fr; } }

/* Privacy band */
.band { border-radius: 40px; padding: clamp(36px, 6vw, 80px); background: linear-gradient(140deg, #06463c, #0b6f5b 55%, #13a99b); color: #eafaf4; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; width: 60%; aspect-ratio: 1; right: -18%; top: -40%; border-radius: 50%; background: radial-gradient(circle, rgba(255,243,207,.35), transparent 65%); pointer-events: none; }
.band h2 { color: #fff; max-width: 13em; }
.band .sub { color: #c4ece0; }
.facts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; position: relative; z-index: 1; }
.facts span { padding: 12px 18px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); font-weight: 600; }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1.15fr; gap: 18px; margin-top: 40px; align-items: stretch; }
.plan { border-radius: 34px; padding: 34px; background: var(--glass); border: 1px solid var(--edge); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); position: relative; }
.plan.pro { background: linear-gradient(160deg, rgba(255,255,255,.85), rgba(255,243,207,.75)); box-shadow: 0 40px 90px -40px rgba(200,144,42,.7); }
.plan .price { font: 800 clamp(48px, 6vw, 76px)/1 var(--display); letter-spacing: -0.04em; margin: 14px 0 6px; }
.plan .price small { font: 600 18px/1 "Be Vietnam Pro", sans-serif; letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--ink-soft); }
.plan li::before { content: "✓"; color: var(--jade); font-weight: 700; }
.plan.pro .badge { position: absolute; top: 24px; right: 24px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8a5c08; background: rgba(233,180,76,.25); border-radius: 999px; padding: 7px 12px; }
.fine { margin-top: 18px; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

/* iOS limits */
.limits { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; padding: 32px; border-radius: var(--radius); background: rgba(255,255,255,.45); border: 1px dashed rgba(14,52,46,.25); }
.limits .big { font: 800 64px/1 var(--display); color: var(--gold); }
.limits p { margin: 6px 0 0; color: var(--ink-soft); }
@media (max-width: 640px) { .limits { grid-template-columns: 1fr; } }

/* Mac */
.mac { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.mac-shots { position: relative; aspect-ratio: 1.3; }
.mac-shots img { position: absolute; width: 86%; border-radius: 16px; border: 1px solid var(--edge); box-shadow: var(--shadow); }
.mac-shots img:first-child { left: 0; top: 0; transform: rotate(-2deg); }
.mac-shots img:last-child { right: 0; bottom: 0; transform: rotate(2.5deg); }
.chip.soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
@media (max-width: 900px) { .mac { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 12px; margin-top: 36px; max-width: 860px; }
details { border-radius: 22px; background: var(--glass); border: 1px solid var(--edge); padding: 4px 22px; }
summary { cursor: pointer; list-style: none; padding: 18px 0; font: 700 19px/1.3 var(--display); display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 26px; line-height: .8; color: var(--jade); transition: transform .3s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 20px; color: var(--ink-soft); }

/* Final call */
.final { text-align: center; }
.final img { width: 120px; height: 120px; border-radius: 28px; margin: 0 auto 26px; box-shadow: 0 30px 60px -24px rgba(6,70,60,.6); }
.final h2 { max-width: 15em; margin-inline: auto; }
.final .cta { justify-content: center; }
footer { padding: 40px 0 60px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; }
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s ease, transform 1s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav, .rule, .plan, details { background: rgba(255,255,255,.95); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
