:root {
  --bg: #0E0F12; --card: #17191E; --card2: #1E2128; --line: #2A2E37;
  --text: #F2F3F5; --muted: #8B90A0; --accent: #7CF2C3; --accent-ink: #0B2A1F;
  --warm: #FFB86B; --hot: #FF6B6B;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
  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 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; z-index: 10; }

/* Header and footer */
.site-header { padding: 20px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 600 1.15rem var(--display); }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.site-header nav { display: flex; gap: 20px; font-size: .95rem; }
.site-header nav a { color: var(--muted); text-decoration: none; }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--text); }
.site-footer { border-top: 1px solid var(--line); margin-top: 96px; padding: 40px 0 56px; color: var(--muted); font-size: .9rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 16px; }
.site-footer nav a { color: var(--text); text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }
.site-footer p { max-width: 720px; }

/* Hero */
.hero { padding-top: 56px; padding-bottom: 40px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero .lede { font-size: clamp(1.15rem, 2.2vw, 1.35rem); color: #C9CCD6; max-width: 34ch; }
.hero-icon { width: 88px; height: 88px; border-radius: 20px; margin-bottom: 24px; box-shadow: 0 12px 40px rgba(124,242,195,.12); }
.badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; padding: 12px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); font-weight: 600; }
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.hero-phone { justify-self: center; }

/* Phone frame for screenshots */
.phone { border-radius: 36px; overflow: hidden; border: 1px solid #262A32; box-shadow: 0 30px 80px rgba(0,0,0,.55); background: #000; }
.hero-phone .phone { width: min(300px, 70vw); }

/* Sections */
section { padding: 56px 0; }
.section-intro { max-width: 620px; margin-bottom: 32px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.steps li { background: var(--card); border-radius: 22px; padding: 24px; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(124,242,195,.12); color: var(--accent); font-weight: 700; margin-bottom: 16px; }
.steps p { color: #C9CCD6; margin: 0; }

/* Signals */
.signals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.signal { background: var(--card); border-radius: 22px; padding: 20px 22px 24px; --c: var(--accent); }
.signal.warm { --c: var(--warm); }
.signal.hot { --c: var(--hot); }
.signal h3 { margin: 0; }
.signal p { margin: 2px 0 0; color: var(--muted); font-size: .95rem; }
.rhythm { display: flex; align-items: center; gap: 10px; height: 24px; margin-top: 18px; }
.rhythm i { display: block; height: 8px; border-radius: 4px; background: var(--c); width: 24px; }
.ack { display: inline-flex; gap: 8px; align-items: center; margin-top: 20px; padding: 12px 16px; border-radius: 14px; background: rgba(124,242,195,.1); color: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .signal .rhythm i { animation: pulse 2.6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .18s); }
  @keyframes pulse { 0%, 60%, 100% { opacity: 1; } 30% { opacity: .35; } }
}

/* Screenshots */
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 280px)); justify-content: center; gap: 32px; margin: 0; }
.shots figure { margin: 0; }
.shots figcaption { color: var(--muted); font-size: .9rem; text-align: center; margin-top: 12px; }

/* Cards */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card { background: var(--card); border-radius: 22px; padding: 24px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding-left: 28px; position: relative; margin: 0 0 10px; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.wearables { list-style: none; padding: 0; margin: 0; }
.wearables li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.wearables li:first-child { border-top: 0; padding-top: 0; }
.tag { font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.tag.now { background: rgba(124,242,195,.14); color: var(--accent); }
.tag.soon { background: var(--card2); color: var(--muted); }

/* Text pages */
.doc { padding-top: 32px; }
.doc h1 { font-size: clamp(2.1rem, 5vw, 3rem); }
.doc h2 { font-size: 1.45rem; margin-top: 2.2em; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: .4em; }
.doc .updated { color: var(--muted); }
details { background: var(--card); border-radius: 18px; padding: 0 22px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 600; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details > div { padding-bottom: 18px; color: #C9CCD6; }
details > div p:last-child, details > div ol:last-child, details > div ul:last-child { margin-bottom: 0; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; gap: 40px; }
  .steps, .signals, .grid2 { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .site-header nav { gap: 14px; }
  section { padding: 40px 0; }
  .shots { grid-template-columns: 1fr; max-width: 280px; margin: 0 auto; gap: 32px; }
  .phone { border-radius: 24px; }
}
details > div ul, details > div ol { margin-top: 0; }
