:root {
  color-scheme: dark;
  --canvas: #111111;
  --surface: #17171d;
  --surface-raised: #20202a;
  --surface-muted: #eef1ff;
  --text-primary: #f4f4f6;
  --text-secondary: #c8c8d6;
  --text-tertiary: #9b9ba3;
  --border: rgba(238, 242, 255, 0.14);
  --border-strong: rgba(238, 242, 255, 0.24);
  --accent: #7367f0;
  --accent-link: #4d86ff;
  --accent-soft: rgba(115, 103, 240, 0.18);
  --success: #34c759;
  --danger: #c9563d;
  --shadow: rgba(0, 0, 0, 0.38);
  --radius: 28px;
  --radius-small: 18px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 10%, rgba(115, 103, 240, 0.24), transparent 34rem),
    radial-gradient(circle at 12% 18%, rgba(77, 134, 255, 0.14), transparent 28rem),
    linear-gradient(180deg, #111111 0%, #131318 42%, #101015 100%);
  color: var(--text-primary);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  min-width: 320px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent 75%);
}

img {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--text-primary);
  color: var(--canvas);
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(238, 242, 255, 0.08);
  background: rgba(17, 17, 17, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  border-radius: 12px;
  box-shadow: 0 12px 34px rgba(115, 103, 240, 0.22);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--border-strong);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  padding: 0;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(238, 242, 255, 0.34);
}

.nav-toggle:active {
  transform: translateY(1px);
}

.nav-toggle-line {
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  font-size: 0;
  line-height: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header[data-menu-open="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header[data-menu-open="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.site-header[data-menu-open="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-navigation {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.site-navigation a {
  transition: color 160ms ease;
}

.site-navigation a:hover,
.site-navigation a:focus-visible {
  color: var(--text-primary);
}

.hero {
  min-height: calc(100dvh - 72px);
  display: grid;
  align-items: center;
  padding: 72px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: clamp(36px, 7vw, 88px);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: 720px;
  font-size: clamp(3.2rem, 7vw, 6.6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.1;
}

.hero-body {
  max-width: 560px;
  margin-bottom: 28px;
  color: var(--text-secondary);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.store-badge {
  min-width: 188px;
  min-height: 58px;
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  background: #f4f4f6;
  color: #111111;
  padding: 9px 18px 10px;
  cursor: pointer;
  box-shadow: 0 22px 44px rgba(115, 103, 240, 0.24);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.store-badge span {
  display: block;
}

.store-copy span {
  font-size: 0.7rem;
  line-height: 1;
}

.store-copy strong {
  display: block;
  font-size: 1.36rem;
  line-height: 1;
  letter-spacing: 0;
}

.store-mark {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-size: 1.8rem;
  line-height: 1;
}

.store-badge:hover,
.store-badge:focus-visible {
  background: #ffffff;
  box-shadow: 0 24px 54px rgba(115, 103, 240, 0.34);
}

.store-badge:active {
  transform: translateY(1px) scale(0.99);
}

.store-badge-small {
  min-width: 142px;
  min-height: 44px;
  border-radius: 11px;
  padding: 7px 13px;
  box-shadow: none;
}

.store-badge-small .store-copy span {
  font-size: 0.56rem;
}

.store-badge-small .store-copy strong {
  font-size: 1rem;
}

.store-badge-small .store-mark {
  font-size: 1.35rem;
}

.secondary-link {
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(244, 244, 246, 0.34);
  padding: 8px 0;
}

.secondary-link:hover,
.secondary-link:focus-visible {
  color: var(--text-primary);
  border-color: var(--accent);
}

.store-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--text-tertiary);
}

.store-inline-status {
  display: block;
  margin-top: 8px;
  color: var(--text-tertiary);
  font-size: 0.86rem;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.halo {
  position: absolute;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.8;
}

.halo-one {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(115, 103, 240, 0.24), transparent 68%);
}

.halo-two {
  right: 4%;
  bottom: 10%;
  width: 230px;
  height: 230px;
  background: radial-gradient(circle, rgba(77, 134, 255, 0.18), transparent 70%);
}

.phone-frame {
  position: relative;
  width: min(330px, 72vw);
  aspect-ratio: 828 / 1792;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 48px;
  padding: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05)),
    #101015;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    0 36px 88px var(--shadow);
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 96px;
  height: 26px;
  border-radius: 0 0 18px 18px;
  background: #101015;
  transform: translateX(-50%);
  z-index: 2;
}

.phone-glass {
  height: 100%;
  overflow: hidden;
  border-radius: 36px;
  background: #f4f4f6;
}

.phone-glass img,
.mini-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proof-band {
  padding: 20px 0 72px;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 14px;
}

.proof-grid div,
.feature-card,
.core-panel,
.final-panel,
.faq-list details,
.legal-article {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.16);
}

.proof-grid div {
  border-radius: var(--radius-small);
  padding: 18px 20px;
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid span {
  margin-top: 5px;
  color: var(--text-tertiary);
}

.section {
  padding: 78px 0;
}

.feature-section h2 {
  max-width: 760px;
}

.feature-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  grid-template-areas:
    "large limit privacy"
    "large route privacy";
  gap: 16px;
  margin-top: 34px;
}

.feature-card {
  min-height: 230px;
  border-radius: var(--radius);
  padding: 28px;
}

.feature-card p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

.feature-card-large {
  grid-area: large;
  min-height: 476px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 24% 16%, rgba(115, 103, 240, 0.32), transparent 34%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
}

.feature-card-tinted {
  grid-area: limit;
  background:
    linear-gradient(135deg, rgba(115, 103, 240, 0.24), rgba(77, 134, 255, 0.1)),
    rgba(255, 255, 255, 0.05);
}

.feature-card:nth-child(3) {
  grid-area: route;
}

.feature-card:nth-child(4) {
  grid-area: privacy;
}

.feature-kicker {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
}

.core-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.core-copy p,
.preview-copy p,
.faq-grid > div:first-child p,
.final-panel p,
.legal-article p {
  color: var(--text-secondary);
}

.core-panel {
  border-radius: var(--radius);
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(115, 103, 240, 0.14), transparent 42%),
    rgba(255, 255, 255, 0.045);
}

.core-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
  padding: 0 18px;
  border-radius: 18px;
}

.core-line + .core-line {
  border-top: 1px solid rgba(238, 242, 255, 0.1);
}

.core-line span {
  color: var(--text-tertiary);
}

.core-line strong {
  font-size: clamp(1.3rem, 2.4vw, 2rem);
}

.preview-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(30px, 7vw, 96px);
  align-items: center;
}

.mini-phone {
  height: 520px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 44px;
  background: #f4f4f6;
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.24);
}

.preview-copy {
  max-width: 620px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

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

.faq-list details {
  border-radius: var(--radius-small);
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 750;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--text-secondary);
}

.final-cta {
  padding-bottom: 104px;
}

.final-panel {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  border-radius: var(--radius);
  padding: 28px;
  background:
    radial-gradient(circle at 90% 12%, rgba(115, 103, 240, 0.28), transparent 36%),
    rgba(255, 255, 255, 0.05);
}

.final-panel img {
  border-radius: 24px;
}

.final-panel h2 {
  margin-bottom: 8px;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
}

.final-panel p {
  margin-bottom: 0;
}

.site-footer {
  border-top: 1px solid rgba(238, 242, 255, 0.09);
  padding: 34px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--text-tertiary);
}

.footer-inner p {
  margin: 6px 0 0;
}

.footer-inner nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-inner a:hover,
.footer-inner a:focus-visible,
.legal-article a {
  color: var(--text-primary);
}

.legal-main {
  padding: 68px 0 96px;
}

.legal-article {
  max-width: 880px;
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 56px);
}

.legal-article h1 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
}

.legal-article section {
  margin-top: 34px;
}

.legal-article h2 {
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.legal-updated {
  color: var(--text-tertiary);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-visual,
  .proof-grid > div,
  .feature-card,
  .core-panel,
  .mini-phone,
  .preview-copy,
  .final-panel {
    animation: rise-in 620ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .hero-visual {
    animation-delay: 90ms;
  }

  .proof-grid > div:nth-child(2),
  .feature-card:nth-child(2),
  .core-panel,
  .preview-copy {
    animation-delay: 120ms;
  }

  .proof-grid > div:nth-child(3),
  .feature-card:nth-child(3) {
    animation-delay: 180ms;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-navigation {
    position: absolute;
    inset: 72px 20px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-small);
    background: rgba(23, 23, 29, 0.98);
    padding: 18px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  }

  .site-header[data-menu-open="true"] .site-navigation {
    display: flex;
  }

  .hero {
    padding-top: 46px;
  }

  .hero-grid,
  .core-grid,
  .preview-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .phone-frame {
    width: min(300px, 78vw);
  }

  .proof-grid,
  .feature-layout {
    grid-template-columns: 1fr;
  }

  .feature-layout {
    grid-template-areas:
      "large"
      "limit"
      "route"
      "privacy";
  }

  .feature-card-large {
    min-height: 300px;
  }

  .preview-grid {
    justify-items: start;
  }

  .mini-phone {
    width: min(260px, 72vw);
  }

  .final-panel {
    grid-template-columns: 72px 1fr;
  }

  .final-panel .store-badge {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .header-inner {
    min-height: 66px;
  }

  .site-navigation {
    top: 66px;
  }

  .hero {
    min-height: auto;
    padding: 42px 0 44px;
  }

  h1 {
    font-size: clamp(2.75rem, 16vw, 4.3rem);
  }

  .hero-body {
    font-size: 1rem;
  }

  .section {
    padding: 58px 0;
  }

  .proof-band {
    padding-bottom: 46px;
  }

  .feature-card,
  .core-panel,
  .final-panel,
  .legal-article {
    border-radius: 22px;
    padding: 22px;
  }

  .store-badge {
    width: 100%;
    justify-content: center;
  }

  .secondary-link {
    width: 100%;
    text-align: center;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
