:root {
  --ink: #0b1220;
  --ink-soft: #3a4558;
  --mist: #e8eef8;
  --paper: #f4f7fc;
  --brand: #2172ed;
  --brand-deep: #0f4fbf;
  --line: rgba(11, 18, 32, 0.1);
  --white: #ffffff;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-sans: "Sora", "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-sans);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(33, 114, 237, 0.22), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(15, 79, 191, 0.12), transparent 50%),
    linear-gradient(180deg, #f7f9fd 0%, var(--paper) 42%, #eef2f8 100%);
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.18em; }

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}

.site-logo:hover { text-decoration: none; color: var(--brand-deep); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover { color: var(--ink); }

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 1.5rem 4.5rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 8% -8% -20% 35%;
  background:
    linear-gradient(145deg, rgba(33, 114, 237, 0.95), rgba(15, 79, 191, 0.72)),
    repeating-linear-gradient(
      -18deg,
      rgba(255, 255, 255, 0.07) 0 2px,
      transparent 2px 14px
    );
  border-radius: 2.5rem 0 0 2.5rem;
  transform: skewY(-3deg);
  animation: plane-in 1.1s ease both;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 34rem;
  animation: rise 0.9s ease both;
}

.hero-brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 9vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.hero-line {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 550;
  max-width: 18ch;
}

.hero-support {
  margin: 0 0 1.75rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.55;
  max-width: 32ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.store-row {
  gap: 0.85rem;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 11.5rem;
  padding: 0.55rem 1rem 0.55rem 0.75rem;
  border-radius: 10px;
  background: #0b1220;
  color: #fff;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease;
}

a.store-badge:hover {
  text-decoration: none;
  background: #171f30;
  color: #fff;
  transform: translateY(-1px);
}

.store-badge.is-soon {
  opacity: 0.72;
  cursor: default;
}

.store-badge-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.store-badge-eyebrow {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.85;
}

.store-badge-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.store-badge-soon {
  margin-top: 0.15rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9db7ff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 10px;
  padding: 0.85rem 1.2rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

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

.btn-primary {
  background: var(--brand);
  color: var(--white);
}

.btn-primary:hover { background: var(--brand-deep); color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.65); color: var(--ink); }

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 1.5rem 4.5rem;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
  font-size: 1.05rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem 2rem;
}

.feature h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.feature p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
  font-size: 0.98rem;
}

.feature-index {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
  animation: rise 0.55s ease both;
}

.legal-page h1 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  letter-spacing: -0.035em;
}

.legal-page .updated {
  margin: 0 0 2rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.legal-page h2 {
  margin: 2rem 0 0.65rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.legal-page p,
.legal-page li {
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: 1rem;
}

.legal-page ul {
  padding-left: 1.2rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(8px);
}

.site-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.4rem 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.site-footer p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.site-footer nav {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.site-footer nav a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
}

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

@keyframes plane-in {
  from { opacity: 0; transform: skewY(-3deg) translateX(40px); }
  to { opacity: 1; transform: skewY(-3deg) translateX(0); }
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
  }

  .hero::before {
    inset: auto -20% -35% -20%;
    height: 42%;
    border-radius: 2rem 2rem 0 0;
    transform: none;
    animation: none;
    opacity: 0.9;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
