:root {
  --bg: #f5f5f7;
  --ink: #1d1d1f;
  --ink-secondary: #6e6e73;
  --ink-tertiary: #86868b;
  --line: rgba(0, 0, 0, 0.08);
  --accent: #1a3a6b;
  --accent-soft: #2a5088;
  --max: 980px;
  --header-h: 48px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-weight: 400;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* —— Header —— */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 clamp(20px, 4vw, 48px);
  color: rgba(255, 255, 255, 0.92);
}

.brand {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.8125rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
}

.site-nav a {
  transition: color 0.25s var(--ease);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
}

.nav-cta {
  color: #fff !important;
  font-weight: 500;
}

/* —— Hero —— */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-height: 100svh;
  padding: 0 clamp(20px, 4vw, 40px) clamp(56px, 9vw, 96px);
  overflow: hidden;
  text-align: center;
  color: #fff;
  background: #0c1524;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(10, 16, 28, 0.38) 0%,
      rgba(10, 16, 28, 0.12) 26%,
      rgba(10, 16, 28, 0.28) 52%,
      rgba(10, 16, 28, 0.72) 78%,
      rgba(10, 16, 28, 0.88) 100%
    );
}

.hero-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 38%;
  animation: hero-media-in 1.6s var(--ease) both;
}

@media (min-aspect-ratio: 16/9) {
  .hero-media img {
    object-position: center 42%;
  }
}

@media (min-aspect-ratio: 2/1) {
  .hero-media img {
    object-position: center 46%;
  }
}

@media (max-aspect-ratio: 3/4) {
  .hero-media img {
    object-position: center 32%;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  animation: hero-rise 1s var(--ease) 0.2s both;
}

.brand-hero {
  margin: 0 0 14px;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: #fff;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.88);
}

.hero-text {
  margin: 14px auto 0;
  max-width: 34ch;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 20px;
  margin-top: 36px;
}

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

.hero .btn-primary:hover,
.hero .btn-primary:focus-visible {
  background: rgba(255, 255, 255, 0.9);
}

.hero .btn-secondary {
  color: rgba(255, 255, 255, 0.9);
  min-height: auto;
  padding: 0;
}

.hero .btn-secondary:hover,
.hero .btn-secondary:focus-visible {
  color: #fff;
  transform: none;
}

/* —— Buttons —— */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition:
    background-color 0.25s var(--ease),
    color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.btn:hover,
.btn:focus-visible {
  transform: scale(1.02);
}

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

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-soft);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  color: var(--accent-soft);
}

/* —— Sections —— */

.section {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: clamp(80px, 12vw, 128px) 0;
  text-align: center;
}

.section-kicker {
  margin: 0 0 10px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.section h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.section-lead {
  margin: 16px auto 0;
  max-width: 42ch;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-secondary);
}

/* —— Features —— */

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 56px);
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.feature-list h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.feature-list p {
  margin: 8px 0 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-secondary);
}

.feature-list li {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  animation: fade-up 0.7s var(--ease) both;
}

.feature-list li:nth-child(1) {
  animation-delay: 0.05s;
}

.feature-list li:nth-child(2) {
  animation-delay: 0.15s;
}

.feature-list li:nth-child(3) {
  animation-delay: 0.25s;
}

/* —— Safety —— */

.safety {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* —— CTA —— */

.cta {
  padding-bottom: clamp(96px, 14vw, 140px);
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.store-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 168px;
  min-height: 52px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  transition:
    background-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.store-badge:hover,
.store-badge:focus-visible {
  background: #000;
  transform: translateY(-1px);
}

.store-badge-kicker {
  font-size: 0.6875rem;
  font-weight: 400;
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.72);
}

.store-badge-name {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* —— Footer —— */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--ink-tertiary);
}

.site-footer span:first-child {
  font-weight: 500;
  color: var(--ink-secondary);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.footer-legal a {
  color: var(--ink-tertiary);
  transition: color 0.25s var(--ease);
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--ink-secondary);
}

/* —— Legal pages —— */

.site-header--solid {
  position: sticky;
  background: rgba(245, 245, 247, 0.92);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.site-header--solid .site-nav {
  color: var(--ink-secondary);
}

.site-header--solid .site-nav a:hover,
.site-header--solid .site-nav a:focus-visible {
  color: var(--ink);
}

.site-header--solid .nav-cta {
  color: var(--accent) !important;
}

.legal-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.legal {
  flex: 1;
  width: min(100% - 40px, 720px);
  margin: 0 auto;
  padding: 40px 0 80px;
}

.legal-back {
  margin: 0 0 28px;
  font-size: 0.875rem;
  color: var(--ink-secondary);
}

.legal-back a:hover,
.legal-back a:focus-visible {
  color: var(--accent);
}

.legal h1 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.legal-meta {
  margin: 10px 0 0;
  font-size: 0.8125rem;
  color: var(--ink-tertiary);
}

.legal-body {
  margin-top: 36px;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--ink-secondary);
}

.legal-body h2 {
  margin: 36px 0 12px;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.legal-body h3 {
  margin: 28px 0 10px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.legal-body p {
  margin: 0 0 14px;
}

.legal-body ul,
.legal-body ol {
  margin: 0 0 16px;
  padding-left: 1.25em;
}

.legal-body li {
  margin-bottom: 8px;
}

.legal-body li:last-child {
  margin-bottom: 0;
}

.legal-body hr {
  margin: 32px 0;
  border: none;
  border-top: 1px solid var(--line);
}

.legal-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-body strong {
  color: var(--ink);
  font-weight: 500;
}

/* —— Motion —— */

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

@keyframes hero-media-in {
  from {
    opacity: 0;
    transform: scale(1.06);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* —— Responsive —— */

@media (max-width: 720px) {
  .site-nav {
    gap: 16px;
  }

  .site-nav a:not(.nav-cta) {
    display: none;
  }

  .feature-list {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .feature-list li {
    padding-top: 24px;
  }

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

  .footer-legal {
    order: 1;
  }

  .footer-copy {
    order: 2;
  }
}
