:root {
  --bg: #000000;
  --bg-elevated: #0b0b10;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f5f5f7;
  --muted: #86868b;
  --faint: #6e6e73;
  --blue: #2997ff;
  --blue-strong: #0071e3;
  --blue-soft: rgba(41, 151, 255, 0.16);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius: 28px;
  --nav-h: 64px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  z-index: 100;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

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

.container.narrow {
  width: min(720px, calc(100% - 48px));
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  pointer-events: none;
}

.nav.is-scrolled {
  border-bottom-color: var(--line);
}

.nav.is-scrolled::before {
  background: rgba(0, 0, 0, 0.78);
}

.nav-inner {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-logo {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}

.brand-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

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

.nav-links a {
  color: var(--text);
  font-size: 13px;
  opacity: 0.82;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  opacity: 1;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-right: -6px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  padding: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  overflow: visible;
  color: #f5f5f7;
}

.nav-toggle span {
  position: static;
  display: block;
  width: 20px;
  height: 2px;
  margin: 0;
  background: #f5f5f7;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span:nth-child(1),
.nav-toggle span:nth-child(2),
.nav-toggle span:nth-child(3) {
  top: auto;
  left: auto;
  right: auto;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 40px;
}

.hero-glow {
  position: absolute;
  inset: -20% auto auto 50%;
  width: 720px;
  height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(41, 151, 255, 0.22), transparent 68%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.accent {
  background: linear-gradient(180deg, #7ec8ff 0%, var(--blue) 55%, #0a84ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin: 22px 0 0;
  font-size: 24px;
  line-height: 1.3;
  color: var(--text);
  letter-spacing: -0.02em;
}

.hero-body {
  margin: 16px 0 0;
  max-width: 520px;
  color: var(--muted);
  font-size: 17px;
}

.hero-note {
  margin: 16px 0 0;
  max-width: 520px;
  color: var(--faint);
  font-size: 14px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 980px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn.is-disabled,
.btn[aria-disabled="true"] {
  opacity: 0.72;
  pointer-events: none;
  transform: none;
  cursor: default;
}

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

.btn-primary:hover {
  background: #0077ed;
}

.btn-ghost {
  background: transparent;
  color: var(--blue);
  border: 1px solid rgba(41, 151, 255, 0.55);
}

.btn-ghost:hover {
  background: var(--blue-soft);
}

.btn-store {
  gap: 10px;
  min-height: 56px;
  padding: 8px 22px 8px 16px;
  background: #fff;
  color: #000;
  border-radius: 12px;
}

.btn-store:hover {
  background: #f5f5f7;
}

.btn-store small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  opacity: 0.8;
}

.btn-store span {
  display: block;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.apple-icon {
  width: 22px;
  height: 22px;
}

.iphone {
  position: relative;
  width: min(280px, 100%);
  margin: 0 auto;
  padding: 12px;
  background: linear-gradient(180deg, #2f2f36, #14141a);
  border-radius: 44px;
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.iphone img {
  display: block;
  width: 100%;
  border-radius: 34px;
}

.iphone-hero {
  width: min(320px, 100%);
}

.hero-device {
  display: flex;
  justify-content: center;
}

.section {
  padding: 108px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-header.align-left {
  text-align: left;
  margin-left: 0;
}

.section-header h2,
.download h2,
.about h2,
.support h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 650;
}

.section-header p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 21px;
  letter-spacing: -0.015em;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  align-items: end;
}

.shot {
  margin: 0;
  text-align: center;
}

.shot-featured .iphone {
  width: min(300px, 100%);
}

.shot figcaption {
  margin-top: 24px;
  color: var(--muted);
  font-size: 15px;
}

.shot figcaption strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
}

.feature-grid,
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 30px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  background: var(--surface-strong);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.card h3 {
  margin: 14px 0 8px;
  font-size: 21px;
  letter-spacing: -0.025em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--blue);
  background: var(--blue-soft);
}

.icon svg {
  width: 28px;
  height: 28px;
}

.step {
  position: relative;
}

.step-num {
  display: block;
  color: var(--blue);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.privacy {
  background:
    radial-gradient(ellipse at left top, rgba(41, 151, 255, 0.08), transparent 50%),
    var(--bg-elevated);
}

.privacy-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.privacy-copy p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 19px;
}

.privacy-copy .btn {
  margin-top: 12px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 24px 20px;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.about p,
.support p,
.terms-teaser p {
  color: var(--muted);
  font-size: 20px;
  margin: 0 0 16px;
}

.byline {
  color: var(--text) !important;
  font-size: 16px !important;
  margin-top: 28px !important;
}

.support,
.about,
.terms-teaser {
  text-align: center;
}

.support .section-header,
.about .section-header,
.terms-teaser .section-header {
  margin-bottom: 28px;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.footer-site {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.download {
  padding-top: 40px;
}

.download-card {
  text-align: center;
  padding: 72px 32px;
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(41, 151, 255, 0.12), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.download-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin-bottom: 18px;
}

.download p {
  margin: 12px auto 28px;
  max-width: 460px;
  color: var(--muted);
  font-size: 19px;
}

.legal {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.legal + .legal {
  padding-top: 0;
  border-top: 0;
}

.legal-updated {
  font-size: 14px !important;
  color: var(--faint) !important;
}

.legal-copy h2 {
  margin: 36px 0 12px;
  font-size: 22px;
  letter-spacing: -0.025em;
}

.legal-copy h3 {
  margin: 28px 0 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.legal-copy p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 16px;
}

.legal-copy ul {
  margin: 0 0 16px;
  padding-left: 22px;
  color: var(--muted);
  font-size: 16px;
}

.legal-copy li {
  margin: 6px 0;
}

.legal-copy .btn {
  margin: 8px 0 16px;
}

.legal-caps {
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.doc {
  padding: 48px 0 96px;
}

.doc-header {
  margin-bottom: 36px;
}

.doc-header h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 52px);
  letter-spacing: -0.035em;
}

.doc-header .lede {
  margin-top: 12px;
  font-size: 22px;
}

.footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--line);
  background: #050507;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  border-radius: 7px;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand strong {
  font-size: 15px;
}

.footer-brand span {
  color: var(--muted);
  font-size: 13px;
  max-width: 280px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-links a {
  color: var(--muted);
  font-size: 13px;
}

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

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}

.footer-contact {
  margin: 0;
  color: var(--faint);
  font-size: 12px;
}

.footer-contact a {
  color: var(--muted);
}

.copyright {
  margin: 0;
  color: var(--faint);
  font-size: 12px;
}

.reveal {
  --delay: 0s;
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) var(--delay) forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .privacy-layout,
  .shot-grid,
  .feature-grid,
  .step-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shot-grid {
    align-items: start;
  }

  .shot:last-child {
    grid-column: 1 / -1;
  }

  .hero-grid {
    gap: 40px;
  }
}

@media (max-width: 880px) {
  :root {
    --nav-h: 56px;
  }

  .container,
  .nav-inner,
  .container.narrow {
    width: min(var(--max), calc(100% - 32px));
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .nav-links a {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.03em;
    text-align: center;
    opacity: 1;
  }

  .hero {
    padding: 28px 0 20px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-device {
    margin-top: 12px;
  }

  .hero-grid,
  .privacy-layout,
  .shot-grid,
  .feature-grid,
  .step-grid,
  .footer-inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .footer-inner {
    gap: 20px;
  }

  .lede {
    font-size: 19px;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-body,
  .privacy-copy p,
  .about p,
  .support p,
  .terms-teaser p {
    font-size: 17px;
  }

  .section {
    padding: 80px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-header p {
    font-size: 18px;
  }

  .iphone-hero,
  .shot-featured .iphone,
  .iphone {
    width: min(240px, 78vw);
  }

  .download-card {
    padding: 48px 20px;
  }

  .hero-actions .btn,
  .support .btn,
  .privacy .btn,
  .terms-teaser .btn {
    width: 100%;
  }
}

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

  .reveal,
  .btn,
  .card {
    animation: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}
