:root {
  --bg: #0a0a0a;
  --bg-warm: #2e2924;
  --card: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.62);
  --text-dim: rgba(255, 255, 255, 0.38);
  --accent: #f5a62e;
  --accent-soft: rgba(245, 166, 46, 0.15);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --max: 1120px;
  --pad: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Layout helpers ---------- */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}

.h1 {
  font-size: clamp(36px, 5.2vw, 56px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

.h2 {
  font-size: clamp(32px, 4.2vw, 44px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
}

.lede {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--text-muted);
  max-width: 52ch;
  line-height: 1.55;
  margin: 0;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.brand-logo {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(32px, 5vw, 60px) 0 clamp(28px, 4vw, 56px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-copy { max-width: 600px; }
.hero-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 28px;
}
.hero-logo {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  display: block;
}
.hero-wordmark {
  font-size: clamp(36px, 4.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent);
}
@media (max-width: 820px) {
  .hero-logo { width: 52px; height: 52px; border-radius: 12px; }
  .hero-lockup { gap: 12px; margin-bottom: 20px; }
}
.hero-quote {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  color: var(--text-muted);
  margin: 0 0 32px;
  line-height: 1.4;
  max-width: 44ch;
  letter-spacing: -0.01em;
}
.hero-quote .accent { color: var(--accent); }
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-phone-wrap {
  margin-left: auto;
  width: 100%;
  max-width: 300px;
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-phone-wrap::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 56px;
  background: radial-gradient(ellipse at center, rgba(245, 166, 46, 0.28), transparent 65%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}
.hero-phone {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 1320 / 2868;
  object-fit: contain;
  border-radius: 56px;
  box-shadow:
    0 0 0 8px #161616,
    0 0 0 9px rgba(255, 255, 255, 0.04),
    0 30px 80px rgba(0, 0, 0, 0.7),
    0 0 80px rgba(245, 166, 46, 0.2);
}
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-phone-wrap { max-width: 260px; margin: 0 auto; }
  .hero-cta-row { justify-content: flex-start; }
}

/* ---------- App Store badge ---------- */
.appstore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: #fff;
  transition: transform 120ms ease, border-color 120ms ease;
}
.appstore:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.3);
}
.appstore .apple { width: 24px; height: 24px; }
.appstore .text small {
  display: block;
  font-size: 10px;
  line-height: 1.1;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2px;
}
.appstore .text strong {
  display: block;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.soon {
  font-size: 13px;
  color: var(--text-dim);
}

/* ---------- Features (numbered) ---------- */
.features {
  padding: clamp(60px, 8vw, 110px) 0;
  border-top: 1px solid var(--border);
}
.features-head { margin-bottom: 60px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 700px) {
  .features-grid { grid-template-columns: 1fr; }
}
.feature {
  position: relative;
  padding: 32px 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature .num {
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
}
.feature h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  position: relative;
}
.feature p {
  color: var(--text-muted);
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  position: relative;
}

/* ---------- How it works (3 steps) ---------- */
.how {
  padding: clamp(60px, 8vw, 110px) 0;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(245, 166, 46, 0.04));
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 760px) {
  .how-grid { grid-template-columns: 1fr; }
}
.step h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}
.step h3 .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--accent);
  margin-right: 10px;
  vertical-align: middle;
  transform: translateY(-2px);
}
.step p {
  color: var(--text-muted);
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

/* ---------- Pricing ---------- */
.pricing {
  padding: clamp(60px, 8vw, 110px) 0;
  border-top: 1px solid var(--border);
}
.price-card {
  max-width: 480px;
  margin: 40px auto 0;
  padding: 36px 32px;
  background: var(--bg-warm);
  border: 1px solid rgba(245, 166, 46, 0.25);
  border-radius: var(--radius-lg);
  text-align: center;
}
.price-card .price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin: 0 0 6px;
}
.price-card .price strong {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent);
}
.price-card .price span {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
}
.price-card .trial {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 24px;
}
.price-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  text-align: left;
}
.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 15px;
  color: var(--text);
}
.price-list svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--accent);
  margin-top: 2px;
}

/* ---------- Footer ---------- */
footer {
  padding: 40px 0 60px;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 13px;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a:hover { color: var(--text); }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text-muted);
}

/* ---------- Legal page ---------- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 20px 0 0;
  transition: color 120ms ease;
}
.back-link:hover { color: var(--accent); }
.back-link svg { width: 16px; height: 16px; }
.legal {
  padding: clamp(30px, 5vw, 60px) 0 clamp(50px, 7vw, 90px);
  max-width: 780px;
}
.legal h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 10px;
}
.legal .updated {
  color: var(--text-dim);
  font-size: 13px;
  margin-bottom: 40px;
}
.legal h2 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 36px 0 10px;
}
.legal p {
  color: var(--text-muted);
  margin: 0 0 12px;
  line-height: 1.6;
}
.legal a { color: var(--accent); }

/* ---------- Selection + focus ---------- */
::selection { background: var(--accent); color: #000; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
