:root {
  --tide: #3e6dd6;
  --tide-deep: #22458f;
  --ember: #e5604d;
  --ink: #16181d;
  --slate: #8a9099;
  --paper-top: #faf8f4;
  --paper-bottom: #f0ece2;
  --rule: #e2ded4;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Apple SD Gothic Neo", "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper-top);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.kicker {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 12px; font-weight: 700;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--tide);
}
.kicker .rule { flex: 1; height: 1px; background: rgba(22,24,29,.18); }
.kicker .num { color: rgba(22,24,29,.45); letter-spacing: .1em; }

/* ---------- nav ---------- */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,248,244,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(22,24,29,.08);
}
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.wordmark { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.wordmark img { width: 28px; height: 28px; border-radius: 7px; }
.wordmark span { font-family: var(--mono); font-size: 13px; font-weight: 800; letter-spacing: .24em; }
.lang { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; justify-content: flex-end; }
.lang a {
  font-size: 12px; font-weight: 700; text-decoration: none;
  padding: 4px 7px; border-radius: 7px; color: var(--slate);
}
.lang a:hover { color: var(--ink); }
.lang a.cur { color: var(--tide); pointer-events: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(165deg, var(--tide) 0%, var(--tide-deep) 100%);
}
.hero .ghost {
  position: absolute; right: -30px; top: -70px; z-index: 0;
  font-weight: 950; font-size: clamp(220px, 36vw, 460px); line-height: 1;
  color: rgba(255,255,255,.08); pointer-events: none; user-select: none;
  font-family: var(--mono); letter-spacing: -0.04em;
}
.hero .wrap {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
  padding-top: 72px; padding-bottom: 64px;
}
.hero .kicker { color: rgba(255,255,255,.92); }
.hero .kicker .rule { background: rgba(255,255,255,.35); }
.hero h1 {
  margin: 26px 0 0; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.16;
  font-weight: 900; letter-spacing: -0.015em; word-break: keep-all; overflow-wrap: break-word;
}
.hero h1 em { font-style: normal; border-bottom: 6px solid rgba(255,255,255,.4); }
.hero .sub { margin-top: 26px; max-width: 36em; font-size: 17px; color: rgba(255,255,255,.92); word-break: keep-all; overflow-wrap: break-word; }

.cta { margin: 30px 0 6px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  background: #0b0b0b; color: #fff; border-radius: 14px; padding: 12px 22px;
  border: 1px solid rgba(255,255,255,.25); transition: transform .15s ease;
}
.store-badge:hover { transform: translateY(-2px); }
.store-badge.soon { opacity: .6; cursor: default; }
.store-badge.soon:hover { transform: none; }
.store-badge svg { width: 26px; height: 26px; fill: #fff; }
.store-badge .txt { line-height: 1.15; text-align: left; }
.store-badge .txt small { display: block; font-size: 11px; opacity: .8; }
.store-badge .txt strong { font-size: 17px; font-weight: 700; letter-spacing: .01em; }
.cta .note { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: rgba(255,255,255,.85); }

/* ---------- hero visual: breathing orb + phone mockup ---------- */
.hero-visual { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px; }

.orb-stage { position: relative; width: 220px; height: 220px; flex: none; }
.orb {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.55), transparent 55%), var(--tide);
  box-shadow: 0 30px 60px rgba(0,0,0,.28);
  transform: scale(1);
  transition: transform 4s linear, background-color 4s linear;
}
.orb-count {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 56px; font-weight: 900; color: #fff; font-variant-numeric: tabular-nums;
}
.orb-label {
  position: absolute; left: 50%; bottom: -38px; transform: translateX(-50%);
  font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .26em;
  text-transform: uppercase; color: rgba(255,255,255,.85); white-space: nowrap;
}

.phone-mini {
  flex: none; width: 190px; border-radius: 34px; padding: 8px; background: #0b0b0d;
  box-shadow: 0 24px 50px rgba(0,0,0,.35), inset 0 0 0 2px rgba(255,255,255,.08);
}
.phone-mini .screen {
  position: relative; border-radius: 26px; overflow: hidden;
  background: linear-gradient(180deg, #1c1f26, #101216);
  padding: 34px 14px 22px; text-align: center; min-height: 230px;
}
.phone-mini .island {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 6px;
  background: #000; border-radius: 20px; padding: 6px 12px;
}
.phone-mini .mini-orb {
  width: 14px; height: 14px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.7), transparent 55%), var(--ember);
  animation: miniPulse 4s ease-in-out infinite;
}
.phone-mini .mini-timer { font-family: var(--mono); font-size: 11px; color: #fff; font-weight: 700; }
.phone-mini .clock { margin-top: 56px; font-size: 34px; font-weight: 700; color: #fff; letter-spacing: .01em; }
.phone-mini .caption {
  margin-top: 10px; font-family: var(--mono); font-size: 9px; letter-spacing: .16em;
  color: rgba(255,255,255,.55); text-transform: uppercase;
}
@keyframes miniPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.3); } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-bottom: 1px solid rgba(22,24,29,.1); background: var(--paper-top); }
.marquee .track {
  display: flex; gap: 48px; padding: 14px 0; width: max-content;
  font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .3em; color: var(--slate);
  animation: scroll 30s linear infinite;
}
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee .track { animation: none; }
  .orb { transition: none; }
  .phone-mini .mini-orb { animation: none; }
  .floating { animation: none; }
}

/* ---------- sections ---------- */
section { padding: 88px 0; }
section h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; letter-spacing: -0.015em; margin: 22px 0 14px; word-break: keep-all; overflow-wrap: break-word; }
section h2 em { font-style: normal; color: var(--tide); }
section .lede { color: var(--slate); max-width: 42em; font-size: 17px; word-break: keep-all; overflow-wrap: break-word; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.step { min-width: 0; position: relative; border-top: 1px solid var(--rule); padding-top: 22px; }
.step .n {
  position: absolute; right: 0; top: 6px; font-weight: 950; font-size: 84px; line-height: 1;
  color: rgba(22,24,29,.06); pointer-events: none;
}
.step h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.step p { color: var(--slate); font-size: 15px; word-break: keep-all; overflow-wrap: break-word; }
.step .tag { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .22em; color: var(--tide); display: block; margin-bottom: 10px; }

/* ---------- value: iPhone vs Mac ---------- */
.platform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 48px; }
.platform-card { min-width: 0; border: 1px solid var(--rule); border-radius: 20px; padding: 30px; background: #fff; }
.platform-card .tag { font-family: var(--mono); font-size: 11px; font-weight: 800; letter-spacing: .24em; color: var(--tide); }
.platform-card h3 { font-size: 20px; font-weight: 800; margin: 14px 0 10px; }
.platform-card p { color: var(--slate); font-size: 15px; word-break: keep-all; overflow-wrap: break-word; }

.iphone-mock {
  width: 150px; height: 140px; margin: 0 auto 22px; border-radius: 26px; position: relative;
  background: linear-gradient(180deg, #1c1f26, #101216); overflow: hidden;
}
.iphone-mock .island {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 5px; background: #000; border-radius: 16px; padding: 5px 10px;
}
.iphone-mock .mini-orb {
  width: 11px; height: 11px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.7), transparent 55%), var(--ember);
}
.iphone-mock .mini-timer { font-family: var(--mono); font-size: 9px; color: #fff; font-weight: 700; }
.iphone-mock .lock-time { position: absolute; top: 58px; left: 0; right: 0; text-align: center; color: #fff; font-size: 26px; font-weight: 700; }

.mac-mock {
  width: 100%; height: 140px; margin-bottom: 22px; position: relative; border-radius: 14px;
  background: linear-gradient(180deg, #eef0f3, #e2e5ea); overflow: hidden; border: 1px solid var(--rule);
}
.mac-mock .menubar { height: 26px; background: rgba(22,24,29,.94); display: flex; align-items: center; justify-content: flex-end; gap: 7px; padding: 0 12px; }
.mac-mock .menubar .dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.4); }
.mac-mock .menubar .menu-orb {
  width: 13px; height: 13px; border-radius: 50%; margin-left: 3px;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.7), transparent 55%), var(--tide);
}
.mac-mock .floating {
  position: absolute; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.6), transparent 55%), var(--ember);
  box-shadow: 0 14px 30px rgba(0,0,0,.2); animation: floatPulse 6s ease-in-out infinite;
}
@keyframes floatPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }

/* ---------- screenshots ---------- */
.shots { background: linear-gradient(180deg, var(--paper-top), var(--paper-bottom)); }
.shots .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 52px; align-items: start; }
.shots .phone-frame {
  position: relative; width: 100%; max-width: 260px; margin: 0 auto; border-radius: 44px; padding: 10px;
  background: #101010; box-shadow: 0 30px 60px rgba(0,0,0,.25), inset 0 0 0 2px rgba(255,255,255,.08);
}
.shots .phone-frame img { border-radius: 34px; width: 100%; }
.shots .phone-frame .island {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 24px; border-radius: 14px; background: #030303;
}
.shots figcaption { text-align: center; margin-top: 16px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--slate); }
.shots figure:nth-child(2) { transform: translateY(28px); }

/* ---------- feature grid ---------- */
.grid6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 32px; margin-top: 48px; }
.feat { min-width: 0; border-top: 1px solid var(--rule); padding-top: 18px; }
.feat h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.feat p { color: var(--slate); font-size: 14px; word-break: keep-all; overflow-wrap: break-word; }
.pro-chip {
  font-family: var(--mono); font-size: 9px; font-weight: 800; letter-spacing: .12em;
  color: #fff; background: var(--ember); border-radius: 5px; padding: 2px 6px; flex: none;
}

/* ---------- final cta / footer ---------- */
.final { background: linear-gradient(165deg, var(--tide), var(--tide-deep)); color: #fff; text-align: center; }
.final h2 { margin: 0 0 12px; }
.final .lede { color: rgba(255,255,255,.9); margin: 0 auto; }
.final .cta { justify-content: center; margin-bottom: 0; }

footer { background: var(--ink); color: #9a9ea6; padding: 44px 0; font-size: 14px; }
footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
footer .brand { display: flex; align-items: center; gap: 10px; color: #fff; }
footer .brand img { width: 24px; height: 24px; border-radius: 6px; }
footer .links { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { color: #9a9ea6; text-decoration: none; }
footer a:hover { color: #fff; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 12px; padding-top: 56px; }
  .hero-visual { margin-top: 26px; }
  .steps, .platform-grid, .grid6, .shots .row { grid-template-columns: 1fr; }
  .shots figure:nth-child(2) { transform: none; }
  section { padding: 64px 0; }
  .wordmark span { display: none; }
}
