:root {
  --accent: #007aff;
  --accent-pressed: #0066d6;
  --accent-soft: rgba(0, 122, 255, 0.1);
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-elevated: #ffffff;
  --card: #f2f2f7;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-tertiary: #86868b;
  --separator: rgba(0, 0, 0, 0.08);
  --nav: rgba(255, 255, 255, 0.72);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.06);
  --radius: 28px;
  --bezel: 36px;
  --max: 1080px;
  --header-h: 52px;
  color-scheme: light;
}

[data-theme="dark"] {
  --accent: #0a95ff;
  --accent-pressed: #3dadff;
  --accent-soft: rgba(10, 149, 255, 0.16);
  --bg: #000000;
  --bg-alt: #000000;
  --bg-elevated: #1c1c1e;
  --card: #1c1c1e;
  --text: #f5f5f7;
  --text-secondary: rgba(235, 235, 245, 0.6);
  --text-tertiary: rgba(235, 235, 245, 0.38);
  --separator: rgba(255, 255, 255, 0.12);
  --nav: rgba(0, 0, 0, 0.72);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.47;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 22px;
  background: var(--nav);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--separator);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: 15px;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 22%;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 999px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.btn-ghost {
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--separator);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--text-secondary);
}

.icon-btn:hover {
  background: var(--accent-soft);
  color: var(--text);
}

.icon-btn svg {
  width: 16px;
  height: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
  transform: scale(1.02);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-pressed);
}

.btn-dark {
  background: #1d1d1f;
  color: #fff;
  height: 52px;
  padding: 0 20px 0 16px;
  gap: 10px;
}

[data-theme="dark"] .btn-dark {
  background: #fff;
  color: #000;
}

.btn-dark small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.72;
  line-height: 1.1;
}

.btn-dark strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.btn-dark svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.icon-sun {
  display: none;
}

[data-theme="dark"] .icon-moon {
  display: none;
}

[data-theme="dark"] .icon-sun {
  display: block;
}

.hero {
  padding: 72px 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 40px;
  align-items: center;
}

h1 {
  font-size: clamp(44px, 7vw, 76px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.lede {
  margin-top: 18px;
  max-width: 22em;
  font-size: 19px;
  line-height: 1.4;
  color: var(--text-secondary);
  font-weight: 400;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.hero-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-tertiary);
}

.phones {
  position: relative;
  height: 640px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.device {
  background: #111;
  border-radius: var(--bezel);
  overflow: hidden;
  box-shadow: var(--shadow), 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.device img {
  display: block;
  width: 100%;
  height: auto;
}

.device img.theme-dark {
  display: none;
}

[data-theme="dark"] .device img.theme-light {
  display: none;
}

[data-theme="dark"] .device img.theme-dark {
  display: block;
}

.phone {
  width: min(280px, 100%);
  position: relative;
}

.phone-front {
  z-index: 2;
  transform: translate(-28px, 20px);
}

.phone-back {
  position: absolute;
  width: min(240px, 70%);
  right: 4%;
  top: 12px;
  z-index: 1;
  transform: rotate(8deg) translateX(12px);
}

.rail {
  padding: 28px 0 80px;
}

.rail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 36px;
}

.rail-item h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.rail-item p {
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 22em;
}

.band {
  background: var(--bg-alt);
}

[data-theme="dark"] .band {
  background: #0b0b0d;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 96px 0;
}

.feature.reverse .copy {
  order: 2;
}

.kicker {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.feature h2,
.plus h2,
.privacy h2,
.cta-panel h2 {
  font-size: clamp(32px, 4.4vw, 48px);
  letter-spacing: -0.045em;
  line-height: 1.05;
  font-weight: 700;
}

.feature .copy p {
  margin-top: 14px;
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 28em;
}

.shot-wrap {
  display: flex;
  justify-content: center;
}

.shot-wrap .phone {
  width: min(292px, 82%);
}

.plus {
  padding: 96px 0 88px;
}

.plus-head {
  max-width: 16em;
  margin-bottom: 40px;
}

.plus-head p {
  margin-top: 12px;
  font-size: 18px;
  color: var(--text-secondary);
}

.plus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.plus-card {
  background: var(--card);
  border-radius: 24px;
  padding: 22px 20px 24px;
}

.plus-card h3 {
  font-size: 17px;
  letter-spacing: -0.03em;
  margin: 14px 0 6px;
}

.plus-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

.plus-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}

.plus-icon svg {
  width: 18px;
  height: 18px;
}

.privacy {
  padding: 0 0 96px;
}

.privacy-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: end;
  background: #000;
  color: #fff;
  border-radius: 32px;
  padding: 48px 24px 0 48px;
  overflow: hidden;
}

.privacy-panel .kicker {
  color: #0a95ff;
}

.privacy-panel h2 {
  color: #fff;
}

.privacy-panel p {
  margin-top: 12px;
  color: rgba(235, 235, 245, 0.64);
  font-size: 17px;
  max-width: 28em;
}

.policy-link {
  display: inline-flex;
  margin: 18px 0 48px;
  color: #0a95ff;
  font-weight: 600;
  font-size: 15px;
}

.privacy-shot {
  width: min(268px, 100%);
  margin-inline: auto;
  transform: translateY(18px);
}

.cta {
  padding: 0 0 96px;
}

.cta-panel {
  text-align: center;
  padding: 8px 24px 0;
}

.cta-panel img.cta-logo {
  width: 72px;
  height: 72px;
  border-radius: 22%;
  margin-bottom: 20px;
}

.cta-panel p {
  color: var(--text-secondary);
  margin: 12px auto 28px;
  max-width: 24em;
  font-size: 18px;
}

.cta-actions {
  display: flex;
  justify-content: center;
}

footer {
  padding: 0 0 40px;
  color: var(--text-tertiary);
  font-size: 13px;
}

.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--separator);
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
}

.foot-brand img {
  width: 20px;
  height: 20px;
  border-radius: 22%;
}

.foot a {
  color: var(--text-secondary);
}

.foot a:hover {
  color: var(--text);
}

@media (max-width: 960px) {
  .hero-grid,
  .feature,
  .feature.reverse,
  .privacy-panel,
  .rail-grid,
  .plus-grid {
    grid-template-columns: 1fr;
  }

  .feature.reverse .copy {
    order: 0;
  }

  .phones {
    height: 520px;
    margin-top: 8px;
  }

  .phone-front {
    transform: none;
  }

  .phone-back {
    right: 10%;
    transform: rotate(8deg);
  }

  .nav-links {
    display: none;
  }

  .privacy-panel {
    padding: 36px 22px 0;
  }

  .plus-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(var(--max), calc(100% - 32px));
  }

  .hero {
    padding-top: 40px;
  }

  h1 {
    font-size: 42px;
  }

  .lede,
  .feature .copy p,
  .plus-head p,
  .cta-panel p {
    font-size: 17px;
  }

  .phones {
    height: 460px;
  }

  .phone-back {
    display: none;
  }

  .brand span {
    display: none;
  }

  .btn-extra {
    display: none;
  }

  .plus-grid {
    grid-template-columns: 1fr;
  }

  .feature,
  .plus,
  .privacy,
  .cta {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .privacy {
    padding-top: 0;
  }
}

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

  .btn {
    transition: none;
  }
}
