:root {
  --bg: #0d0f2b;
  --bg-deep: #06081c;
  --bg-mid: #161a47;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.07);
  --accent: #00e5c3;
  --accent-soft: #4ff0d6;
  --accent-dim: rgba(0, 229, 195, 0.14);
  --violet: #9d7aff;
  --text: #ffffff;
  --text-secondary: rgba(236, 238, 248, 0.66);
  --text-muted: rgba(236, 238, 248, 0.4);
  --border: rgba(255, 255, 255, 0.1);
  --border-soft: rgba(255, 255, 255, 0.06);
  --radius: 20px;
  --maxw: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  min-height: 100vh;
  overflow-x: clip;
  position: relative;
}

/* ambient background glows */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 40% at 78% 8%, rgba(0, 229, 195, 0.16), transparent 60%),
    radial-gradient(50% 38% at 12% 22%, rgba(157, 122, 255, 0.14), transparent 60%),
    radial-gradient(70% 50% at 50% 108%, rgba(0, 229, 195, 0.08), transparent 60%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 45%, #0a0c24 100%);
}

img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: min(var(--maxw), 100% - 40px); margin: 0 auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: calc(12px + var(--safe-top)) 0 12px;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  background: rgba(6, 8, 28, 0.55);
  border-bottom: 1px solid var(--border-soft);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  min-height: 44px;
}
.logo:hover { text-decoration: none; opacity: 0.95; }

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: block;
  box-shadow: 0 4px 14px rgba(0, 229, 195, 0.35);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.92rem;
}
.site-nav a {
  color: var(--text-secondary);
  padding: 9px 14px;
  border-radius: 999px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  transition: color 0.15s, background 0.15s;
}
.site-nav a:hover { color: var(--text); text-decoration: none; background: var(--surface-2); }
.site-nav a.nav-cta {
  color: var(--bg-deep);
  background: var(--accent);
  font-weight: 700;
}
.site-nav a.nav-cta:hover { background: var(--accent-soft); color: var(--bg-deep); }
.nav-hide-mobile { }

/* ---------- Buttons / pills ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 229, 195, 0.3);
  color: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.coming-soon {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  padding: 15px 22px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.coming-soon strong { font-size: 1rem; font-weight: 800; letter-spacing: -0.01em; }
.coming-soon span { color: var(--text-secondary); font-size: 0.92rem; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  padding: clamp(36px, 7vw, 76px) 0 clamp(40px, 7vw, 72px);
}
.hero-copy { max-width: 38rem; }
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.2rem, 6vw, 3.85rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.04;
  text-wrap: balance;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--accent) 10%, var(--accent-soft) 60%, var(--violet) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .lead {
  margin: 0 0 28px;
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  color: var(--text-secondary);
  text-wrap: pretty;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.synced-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-top: 18px;
}

.showcase-panel {
  margin-top: 28px;
  padding: 22px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(0, 229, 195, 0.11), rgba(157, 122, 255, 0.08)),
    var(--surface);
  border: 1px solid rgba(0, 229, 195, 0.18);
  box-shadow: 0 24px 70px -48px rgba(0, 229, 195, 0.65);
}
.showcase-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--accent-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.showcase-panel h2 {
  margin: 14px 0 8px;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}
.showcase-panel p {
  margin: 0;
  color: var(--text-secondary);
}
.showcase-panel ul {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
}
.showcase-panel li {
  position: relative;
  padding-left: 22px;
  color: var(--text-secondary);
  font-size: 0.94rem;
}
.showcase-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(0, 229, 195, 0.5);
}

/* hero phones */
.hero-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 540px;
}
.interactive-stage {
  flex-direction: column;
  gap: 14px;
}
.interactive-stage .device {
  width: min(330px, 100%);
}
.phone-hint {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.86rem;
  text-align: center;
}
.hero-stage .device.back {
  position: absolute;
  transform: translateX(34%) translateY(6%) rotate(7deg) scale(0.9);
  opacity: 0.78;
  filter: saturate(0.95);
  z-index: 1;
}
.hero-stage .device.front {
  position: relative;
  transform: translateX(-14%) rotate(-3deg);
  z-index: 2;
}

/* ---------- iPhone frame ---------- */
.device {
  width: 290px;
  max-width: 100%;
  aspect-ratio: 942 / 2048;
  background: linear-gradient(150deg, #2b2d35 0%, #131419 48%, #07080b 100%);
  border-radius: 13.6% / 6.25%;
  padding: 3.2%;
  box-shadow:
    0 60px 100px -34px rgba(0, 0, 0, 0.85),
    0 18px 40px -20px rgba(0, 0, 0, 0.7),
    0 0 0 1.5px rgba(255, 255, 255, 0.08),
    inset 0 0 0 1.5px rgba(0, 0, 0, 0.6);
  position: relative;
}
.device::after {
  /* ambient teal glow behind phone */
  content: "";
  position: absolute;
  inset: -8% -10%;
  z-index: -1;
  background: radial-gradient(50% 42% at 50% 42%, rgba(0, 229, 195, 0.32), transparent 70%);
  filter: blur(36px);
}
.device .screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 10.6% / 4.85%;
  overflow: hidden;
  background: #06081c;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.device .screen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.device .island {
  position: absolute;
  top: 1.7%;
  left: 50%;
  transform: translateX(-50%);
  width: 33%;
  height: 3.1%;
  min-height: 22px;
  background: #000;
  border-radius: 999px;
  z-index: 3;
}

/* ---------- Section scaffolding ---------- */
.section { padding: clamp(48px, 8vw, 86px) 0; }
.section-head { max-width: 40rem; margin: 0 auto clamp(32px, 5vw, 52px); text-align: center; }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 4.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.section-head p { margin: 0; color: var(--text-secondary); font-size: 1.05rem; text-wrap: pretty; }

/* ---------- Feature rows (phone + copy) ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(28px, 5vw, 44px) 0;
}
.feature-row.reverse .feat-media { order: 2; }
.feat-media { display: flex; justify-content: center; }
.feat-copy { max-width: 30rem; }
.feat-copy .kicker {
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.feat-copy h3 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
}
.feat-copy p { margin: 0 0 18px; color: var(--text-secondary); }
.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tick-list li {
  display: flex; gap: 12px; align-items: flex-start;
  color: var(--text-secondary); font-size: 0.97rem;
}
.tick-list .tick {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent-dim); color: var(--accent);
  display: grid; place-items: center; font-size: 0.8rem; font-weight: 800;
  margin-top: 1px;
}
.tick-list li strong { color: var(--text); font-weight: 700; }

/* ---------- Feature grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 16px;
}
.card {
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(0, 229, 195, 0.32); background: var(--surface-2); }
.card .ic {
  width: 44px; height: 44px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--accent-dim);
  margin-bottom: 16px;
  color: var(--accent);
}
.card .ic svg { width: 22px; height: 22px; }
.card h3 { margin: 0 0 8px; font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; }
.card p { margin: 0; font-size: 0.95rem; color: var(--text-secondary); }

/* ---------- How it works ---------- */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 16px;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 26px 22px 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.steps li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: var(--bg-deep);
  font-weight: 800; font-size: 1rem;
  margin-bottom: 14px;
}
.steps li strong { display: block; color: var(--text); margin-bottom: 6px; font-size: 1.05rem; font-weight: 700; }
.steps li span { color: var(--text-secondary); font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 6vw, 60px) clamp(24px, 4vw, 48px);
  border-radius: 28px;
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 229, 195, 0.16), rgba(157, 122, 255, 0.12));
  border: 1px solid rgba(0, 229, 195, 0.22);
}
.cta-band h2 { margin: 0 0 12px; font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800; letter-spacing: -0.03em; }
.cta-band p { margin: 0 auto 24px; max-width: 32rem; color: var(--text-secondary); }

/* ---------- Footer ---------- */
.site-footer {
  padding: 36px 0 calc(44px + var(--safe-bottom));
  margin-top: 40px;
  border-top: 1px solid var(--border-soft);
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--text-secondary); padding: 4px 0; }

/* ---------- Legal pages ---------- */
.legal { padding: 36px 0 calc(72px + var(--safe-bottom)); max-width: 44rem; }
.legal h1 { margin: 0 0 8px; font-size: clamp(1.8rem, 5vw, 2.3rem); font-weight: 800; letter-spacing: -0.03em; }
.legal .updated { margin: 0 0 30px; font-size: 0.9rem; color: var(--text-muted); }
.legal h2 { margin: 30px 0 12px; font-size: 1.25rem; font-weight: 700; }
.legal h3 { margin: 20px 0 8px; font-size: 1.05rem; font-weight: 600; }
.legal p, .legal li { color: var(--text-secondary); overflow-wrap: anywhere; }
.legal ul { padding-left: 1.25em; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 8px; text-align: center; }
  .hero-copy { max-width: none; margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .synced-note { justify-content: center; }
  .showcase-panel { text-align: left; max-width: 36rem; margin-left: auto; margin-right: auto; }
  .hero-stage { min-height: 0; margin-top: 28px; }
  .interactive-stage .device { width: min(310px, 100%); }
  .hero-stage .device.front { transform: translateX(-12%) rotate(-3deg); }
  .hero-stage .device.back { transform: translateX(30%) translateY(5%) rotate(7deg) scale(0.88); }
  .feature-row { grid-template-columns: 1fr; gap: 28px; }
  .feature-row .feat-media { order: -1 !important; }
  .feature-row.reverse .feat-media { order: -1; }
  .feat-copy { max-width: none; text-align: center; margin: 0 auto; }
  .tick-list { text-align: left; max-width: 26rem; margin: 0 auto; }
}

@media (max-width: 560px) {
  .wrap { width: min(var(--maxw), 100% - 28px); }
  .site-nav .nav-hide-mobile { display: none; }
  .device { width: 230px; }
  .interactive-stage .device { width: min(270px, 100%); }
  .hero-stage .device.front { transform: rotate(-2deg); }
  .hero-stage .device.back { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card { transition: none; }
}
