:root {
  color-scheme: dark;
  --black: #000000;
  --surface: #111311;
  --surface-strong: #191c19;
  --line: #303530;
  --white: #ffffff;
  --muted: #a1a8a1;
  --green: #34c759;
  --amber: #ffb340;
  --red: #ff453a;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.nav {
  width: min(var(--max-width), calc(100% - 40px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 760; }
.brand img { width: 34px; height: 34px; border-radius: 7px; }
.nav-links { display: flex; align-items: center; gap: 24px; margin-left: auto; color: var(--muted); font-size: 14px; }
.language-switch {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--white);
  height: 36px;
  padding: 0 12px;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
}
.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 7px;
  background: var(--green);
  color: #001904;
  font-weight: 760;
}
.download-button::before { content: "↓"; margin-right: 9px; font-size: 20px; }
.download-button.small { min-height: 38px; padding: 0 14px; font-size: 14px; }

.hero {
  width: min(var(--max-width), calc(100% - 40px));
  min-height: min(630px, calc(100vh - 68px));
  margin: 0 auto;
  padding: 34px 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  align-items: center;
  gap: 72px;
}
.eyebrow { color: var(--green); font-size: 13px; font-weight: 760; text-transform: uppercase; }
h1 { margin: 14px 0 0; font-size: clamp(64px, 9vw, 128px); line-height: 0.88; letter-spacing: 0; }
.hero-lead { margin: 34px 0 0; max-width: 620px; font-size: clamp(25px, 3vw, 42px); line-height: 1.18; font-weight: 680; }
.hero-body { margin: 22px 0 0; max-width: 620px; color: var(--muted); font-size: 18px; }
.hero-actions { margin-top: 32px; display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.hero-note { color: var(--muted); font-size: 13px; }
.rhythm-line { display: flex; align-items: center; gap: 10px; margin-top: 42px; }
.rhythm-line span { width: 11px; height: 11px; border-radius: 50%; background: #626862; }
.rhythm-line span:nth-child(3) { width: 25px; height: 25px; background: var(--green); }

.phone-stage { position: relative; display: flex; justify-content: center; align-items: center; min-height: 570px; }
.phone-stage::before, .phone-stage::after { content: ""; position: absolute; width: 1px; background: var(--line); top: 6%; bottom: 6%; }
.phone-stage::before { left: 8%; }
.phone-stage::after { right: 8%; }
.phone {
  width: min(255px, 76%);
  aspect-ratio: 1206 / 2622;
  padding: 8px;
  border: 1px solid #4b514b;
  border-radius: 44px;
  background: #080908;
  box-shadow: 0 34px 80px rgba(0,0,0,.55);
  transform: rotate(2deg);
}
.phone img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 36px; }
.cadence-stamp { position: absolute; right: 0; bottom: 14%; border-left: 3px solid var(--amber); padding-left: 16px; }
.cadence-stamp strong { display: block; font: 760 52px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.cadence-stamp span { color: var(--muted); font-size: 12px; text-transform: uppercase; }

.section { padding: 112px 0; border-top: 1px solid var(--line); }
.section-inner { width: min(var(--max-width), calc(100% - 40px)); margin: 0 auto; }
.section h2 { max-width: 860px; margin: 0; font-size: clamp(36px, 5vw, 66px); line-height: 1.05; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 62px; border-block: 1px solid var(--line); }
.feature { padding: 34px 30px 40px; border-right: 1px solid var(--line); }
.feature:first-child { padding-left: 0; }
.feature:last-child { border-right: 0; }
.feature-marker { width: 13px; height: 13px; margin-bottom: 34px; background: var(--green); }
.feature:nth-child(2) .feature-marker { background: var(--amber); border-radius: 50%; }
.feature:nth-child(3) .feature-marker { background: var(--red); transform: rotate(45deg); }
.feature h3 { margin: 0; font-size: 23px; }
.feature p { margin: 13px 0 0; color: var(--muted); }

.screens { background: #080908; }
.screen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 58px; align-items: start; }
.screen-item:nth-child(2) { margin-top: 80px; }
.screen-item img { display: block; width: 100%; border: 1px solid var(--line); border-radius: 8px; }
.screen-item h3 { margin: 24px 0 0; font-size: 22px; }
.screen-item p { margin: 10px 0 0; color: var(--muted); }

.privacy-layout { display: grid; grid-template-columns: .7fr 1fr; gap: 90px; align-items: end; }
.privacy-copy p { margin: 28px 0 0; color: var(--muted); font-size: 18px; }
.privacy-signal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: end; height: 190px; }
.privacy-signal span { background: var(--green); min-height: 26px; }
.privacy-signal span:nth-child(2) { height: 42%; background: var(--amber); }
.privacy-signal span:nth-child(3) { height: 74%; }
.privacy-signal span:nth-child(4) { height: 100%; background: var(--white); }

.cta { border-top: 1px solid var(--line); padding: 92px 0; background: var(--green); color: #001904; }
.cta-inner { width: min(var(--max-width), calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.cta h2 { margin: 0; max-width: 760px; font-size: clamp(40px, 5vw, 70px); line-height: 1.02; }
.cta p { margin: 18px 0 0; max-width: 680px; }
.cta .download-button { background: #001904; color: var(--white); min-width: 250px; }
.footer { width: min(var(--max-width), calc(100% - 40px)); margin: 0 auto; padding: 34px 0; color: var(--muted); font-size: 13px; }

@media (max-width: 900px) {
  .nav-links a { display: none; }
  .hero { grid-template-columns: 1fr; gap: 34px; padding-top: 56px; }
  .phone-stage { min-height: auto; padding: 24px 0 50px; }
  .phone { width: min(330px, 82vw); }
  .cadence-stamp { right: 3%; bottom: 10%; }
  .feature-grid, .screen-grid { grid-template-columns: 1fr; }
  .feature { border-right: 0; border-bottom: 1px solid var(--line); padding-inline: 0; }
  .feature:last-child { border-bottom: 0; }
  .screen-item:nth-child(2) { margin-top: 0; }
  .screen-item { display: grid; grid-template-columns: minmax(190px, .75fr) 1fr; gap: 28px; align-items: center; }
  .screen-item h3 { margin-top: 0; }
  .privacy-layout { grid-template-columns: 1fr; gap: 50px; }
  .cta-inner { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .nav { width: min(100% - 24px, var(--max-width)); gap: 10px; }
  .nav-links { gap: 8px; }
  .download-button.small { width: 40px; padding: 0; font-size: 0; }
  .download-button.small::before { margin: 0; font-size: 19px; }
  .hero, .section-inner, .cta-inner, .footer { width: min(100% - 32px, var(--max-width)); }
  .hero { min-height: calc(100svh - 68px); padding: 22px 0 14px; gap: 6px; }
  h1 { font-size: 62px; }
  .hero-lead { font-size: 28px; }
  .hero-body { font-size: 16px; }
  .hero-actions { margin-top: 20px; }
  .rhythm-line { margin-top: 22px; }
  .phone-stage { min-height: 0; height: 230px; padding: 0; overflow: hidden; align-items: flex-start; }
  .phone { width: min(136px, 38vw); border-radius: 22px; padding: 4px; }
  .phone img { border-radius: 21px; }
  .section { padding: 78px 0; }
  .screen-item { display: block; }
  .screen-item + .screen-item { margin-top: 48px; }
  .screen-item h3 { margin-top: 20px; }
  .cadence-stamp { display: none; }
}

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