:root {
  --bg: #0e0f11;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f4f5f2;
  --muted: rgba(244, 245, 242, 0.6);
  --accent: #ccf54a;
  --accent-ink: #0e0f11;
  --radius: 22px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; }

/* .wrap only sets side spacing; vertical spacing goes on inner elements as padding. */
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

/* Navigation */
.nav { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 19px; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  font-weight: 600; font-size: 16px;
  background: var(--accent); color: var(--accent-ink);
}
.btn:hover { text-decoration: none; filter: brightness(1.05); }
.btn.ghost { background: var(--surface-strong); color: var(--text); }
.btn.soon { cursor: default; }

/* Hero */
.hero {
  position: relative;
  padding-top: 48px; padding-bottom: 72px;
  text-align: center;
}
.hero::before {
  content: ""; position: absolute; inset: -120px 0 auto; height: 620px; z-index: -1;
  background: radial-gradient(ellipse 60% 55% at 50% 40%, rgba(204, 245, 74, 0.14), transparent 70%);
}
.eyebrow { color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.hero h1 { font-size: clamp(40px, 7vw, 72px); font-weight: 800; padding-top: 14px; }
.hero .lead { max-width: 640px; margin: 18px auto 0; color: var(--muted); font-size: clamp(17px, 2.2vw, 20px); }
.hero .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; padding-top: 30px; }
.hero .note { color: var(--muted); font-size: 14px; padding-top: 14px; }

/* Landscape iPhone frame around a screenshot */
.phone {
  position: relative;
  margin: 56px auto 0; max-width: 900px;
  padding: 12px; border-radius: 52px;
  background: #1b1c1f;
  box-shadow: 0 0 0 1.5px #3a3b3f, 0 40px 120px rgba(0, 0, 0, 0.6), 0 0 160px rgba(204, 245, 74, 0.08);
}
.phone img { width: 100%; border-radius: 40px; aspect-ratio: 956 / 440; object-fit: cover; }
.phone.small { margin: 0; padding: 7px; border-radius: 30px; }
.phone.small img { border-radius: 24px; }

/* Sections */
section { padding-top: 72px; padding-bottom: 8px; }
.section-head { max-width: 640px; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 800; }
.section-head p { color: var(--muted); margin: 14px 0 0; }

/* How it works */
.how { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding-top: 32px; }
.how svg { width: 100%; max-width: 460px; height: auto; margin: 0 auto; display: block; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 14px; align-items: baseline; background: var(--surface); border-radius: 18px; padding: 16px 18px; }
.steps b { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 14px; }
.cable { stroke-dasharray: 6 8; animation: flow 0.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -14; } }
@media (prefers-reduced-motion: reduce) { .cable { animation: none; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-top: 32px; }
.feature { background: var(--surface); border-radius: var(--radius); padding: 22px; }
.feature h3 { font-size: 19px; }
.feature ul { margin: 12px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 15px; display: grid; gap: 6px; }
.feature li::before { content: "–"; color: var(--accent); margin-right: 8px; }
.icon { width: 40px; height: 40px; border-radius: 12px; background: rgba(204, 245, 74, 0.14); display: grid; place-items: center; margin-bottom: 14px; }
.icon svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Screenshot gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-top: 32px; }
.gallery figure { margin: 0; }
.gallery figcaption { color: var(--muted); font-size: 14px; padding-top: 12px; text-align: center; }

/* Compatibility and closing call */
.panel { background: var(--surface); border-radius: 28px; padding: 32px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.panel h2 { font-size: clamp(24px, 3.4vw, 32px); }
.panel p { color: var(--muted); margin: 10px 0 0; }

/* Legal and support pages */
.legal { max-width: 760px; padding-top: 24px; padding-bottom: 64px; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); font-weight: 800; padding-bottom: 8px; }
.legal h2 { font-size: 21px; padding-top: 30px; }
.legal h3 { font-size: 17px; padding-top: 18px; }
.legal p, .legal li { color: rgba(244, 245, 242, 0.82); }
.legal .meta { color: var(--muted); font-size: 15px; }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 56px 0 40px; }
.legal .summary { background: var(--surface); border-radius: 18px; padding: 6px 22px; }
.faq details { background: var(--surface); border-radius: 16px; padding: 4px 20px; margin-top: 10px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 12px 0; }
.faq details p, .faq details ol { margin-top: 0; }

/* Footer */
footer { border-top: 1px solid var(--line); margin-top: 80px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; padding-bottom: 40px; color: var(--muted); font-size: 14px; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--muted); }
footer .fine { width: 100%; font-size: 13px; color: rgba(244, 245, 242, 0.4); }

@media (max-width: 860px) {
  .how { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .panel { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .nav-links .hide-sm { display: none; }
  .features { grid-template-columns: 1fr; }
  .phone { padding: 6px; border-radius: 26px; margin-top: 40px; }
  .phone img { border-radius: 20px; }
  .panel { padding: 24px; }
}
