:root {
  --bg: #0b0b10;
  --card: #15151d;
  --border: #26262f;
  --text: #ffffff;
  --subtext: #9a9aa8;
  --accent: #7cffb2;
  --accent-dim: #1f3a2a;
  --radius: 18px;
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(11, 11, 16, 0.7);
  border-bottom: 1px solid var(--border);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; gap: 22px; font-size: 14px; color: var(--subtext); }
.nav-links a:hover { color: var(--text); }

/* Hero */
.hero { text-align: center; padding: 80px 0 60px; }
.hero img.appicon { width: 120px; height: 120px; border-radius: 27px; box-shadow: 0 0 60px rgba(124, 255, 178, 0.18); }
.hero h1 { font-size: 56px; font-weight: 900; letter-spacing: -2px; margin: 28px 0 10px; }
.hero .tag { font-size: 22px; color: var(--subtext); max-width: 560px; margin: 0 auto 16px; }
.hero .examples { color: var(--accent); font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 1px; margin-bottom: 32px; }

/* Buttons */
.stores { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 14px; font-weight: 700; font-size: 15px;
  border: 1px solid var(--border);
}
.store-btn.primary { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.store-btn.primary:hover { filter: brightness(1.05); }
.store-btn.muted { background: var(--card); color: var(--subtext); cursor: not-allowed; position: relative; }
.store-btn .soon {
  font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  background: var(--border); color: var(--subtext); padding: 2px 7px; border-radius: 999px;
}

/* Section */
section { padding: 64px 0; }
.section-title { font-size: 34px; font-weight: 800; letter-spacing: -1px; text-align: center; margin-bottom: 12px; }
.section-sub { color: var(--subtext); text-align: center; max-width: 560px; margin: 0 auto 44px; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; text-align: center;
}
.step .num {
  width: 40px; height: 40px; border-radius: 999px; background: var(--accent-dim);
  color: var(--accent); font-weight: 900; display: grid; place-items: center; margin: 0 auto 16px;
  border: 1px solid var(--accent);
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--subtext); font-size: 14px; }

/* Interactive demo */
.demo { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: 40px; }
.demo-clock {
  width: 260px; height: 260px; border-radius: 999px; display: grid; place-items: center;
  border: 2px solid var(--border); background: var(--card); transition: all .4s ease;
}
.demo-clock.match { border-color: var(--accent); background: var(--accent); }
.demo-clock .lbl { font-size: 11px; letter-spacing: 4px; font-weight: 800; color: var(--subtext); margin-bottom: 4px; }
.demo-clock.match .lbl { color: var(--bg); }
.demo-clock .t { font-size: 64px; font-weight: 900; font-variant-numeric: tabular-nums; letter-spacing: -2px; }
.demo-clock.match .t { color: var(--bg); }
.demo-caption { color: var(--subtext); min-height: 24px; text-align: center; }

/* Screens */
.screens { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.phone {
  width: 240px; aspect-ratio: 9 / 19.5; border-radius: 36px; background: #000;
  border: 8px solid #1c1c24; padding: 14px; position: relative; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.phone .screen { width: 100%; height: 100%; border-radius: 22px; background: var(--bg); display: flex; flex-direction: column; padding: 18px 14px; }
.phone .pn-time { color: var(--accent); font-size: 40px; font-weight: 900; text-align: center; font-variant-numeric: tabular-nums; margin: auto 0 6px; }
.phone .pn-pattern { color: var(--accent); font-size: 11px; letter-spacing: 3px; text-align: center; font-weight: 800; margin-bottom: auto; }
.phone .pn-cap { color: var(--subtext); font-size: 11px; text-align: center; }
.phone .pn-row { display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 10px; margin-bottom: 8px; }
.phone .pn-dot { width: 28px; height: 28px; border-radius: 999px; background: var(--accent-dim); border: 1px solid var(--accent); flex: none; }
.phone .pn-name { font-size: 13px; font-weight: 700; }
.phone .pn-meta { font-size: 10px; color: var(--subtext); }
.phone .pn-chip { margin-left: auto; font-size: 9px; font-weight: 800; color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 2px 7px; }
.phone-label { text-align: center; color: var(--subtext); font-size: 13px; margin-top: 12px; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 40px 0; color: var(--subtext); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
footer a:hover { color: var(--text); }
.footer-links { display: flex; gap: 20px; }

/* Legal pages */
.legal { padding: 60px 0; max-width: 760px; }
.legal h1 { font-size: 36px; font-weight: 800; margin-bottom: 8px; }
.legal .updated { color: var(--subtext); margin-bottom: 32px; }
.legal h2 { font-size: 20px; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--subtext); margin-bottom: 12px; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--accent); }

@media (max-width: 720px) {
  .hero h1 { font-size: 42px; }
  .steps { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
