:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --bg-tint: #f6f7fb;
  --surface: #ffffff;
  --text: #0f1222;
  --text-soft: #4a5068;
  --muted: #6b7189;
  --border: #e6e8f0;
  --border-strong: #d5d9e6;
  --brand: #5b5bf7;
  --brand-deep: #4338ca;
  --brand-gradient: linear-gradient(120deg, #5b5bf7 0%, #7a3ff2 55%, #c13bd8 100%);
  --glow-a: rgba(91, 91, 247, 0.18);
  --glow-b: rgba(193, 59, 216, 0.12);
  --success: #0f9f6e;
  --shadow-sm: 0 1px 2px rgba(15, 18, 34, 0.06);
  --shadow-md: 0 1px 2px rgba(15, 18, 34, 0.04), 0 12px 32px -12px rgba(15, 18, 34, 0.14);
  --radius: 18px;
  --container: 1120px;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI Variable',
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    sans-serif;
  font-feature-settings: 'cv11', 'ss01';
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0d12;
    --bg-tint: #10131b;
    --surface: #131722;
    --text: #eef0f6;
    --text-soft: #b6bccd;
    --muted: #8a91a6;
    --border: #222736;
    --border-strong: #2e3446;
    --brand: #8b8bff;
    --brand-deep: #a5a5ff;
    --glow-a: rgba(122, 122, 255, 0.2);
    --glow-b: rgba(193, 59, 216, 0.14);
    --success: #34d399;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -16px rgba(0, 0, 0, 0.6);
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

a {
  color: var(--brand-deep);
  text-underline-offset: 3px;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  z-index: 10;
}

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

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  text-decoration: none;
  color: var(--text);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.wordmark .emblem {
  border-radius: 9px;
  box-shadow: var(--shadow-sm);
}

.wordmark-text {
  font-weight: 750;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.wordmark-text span {
  font-weight: 500;
  color: var(--muted);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-header nav a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 15px;
  font-weight: 550;
}

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

.site-header nav .nav-cta {
  color: var(--text);
  padding: 8px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
}

.site-header nav .nav-cta:hover {
  border-color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  background: var(--text);
  color: var(--bg);
  font-weight: 650;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid var(--text);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.button-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.button-light {
  background: #ffffff;
  color: #1e1b4b;
  border-color: #ffffff;
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

.lead {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-soft);
  max-width: 620px;
}

.muted {
  color: var(--muted);
}

.gradient-text {
  white-space: nowrap;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 88px;
  background:
    radial-gradient(600px 320px at 50% -40px, var(--glow-a), transparent 70%),
    radial-gradient(520px 300px at 85% 30%, var(--glow-b), transparent 70%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
  opacity: 0.45;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}

.hero-emblem .emblem {
  border-radius: 24px;
  box-shadow:
    0 20px 50px -18px rgba(91, 91, 247, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.hero h1 {
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 800;
  letter-spacing: -0.035em;
  max-width: 900px;
}

.hero .lead {
  margin: 0 auto;
}

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

.section {
  padding: 96px 0;
}

.section-tinted {
  background: var(--bg-tint);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 640px;
  margin-bottom: 44px;
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 750;
}

.section-head p:not(.eyebrow) {
  color: var(--text-soft);
  font-size: 18px;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr));
  gap: 24px;
}

.app-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.app-card-upcoming {
  justify-content: center;
  align-items: flex-start;
  background: transparent;
  border-style: dashed;
  border-color: var(--border-strong);
  box-shadow: none;
}

.app-card-upcoming h3 {
  font-size: 20px;
}

.app-card-upcoming a {
  font-weight: 650;
  text-decoration: none;
}

.app-card-upcoming a:hover {
  text-decoration: underline;
}

.upcoming-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 15px;
  font-size: 30px;
  font-weight: 300;
  color: var(--brand-deep);
  background: color-mix(in srgb, var(--brand) 10%, transparent);
}

.app-card > p {
  color: var(--text-soft);
}

.app-card-head {
  display: flex;
  align-items: center;
  gap: 18px;
}

.app-icon {
  flex: none;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
}

.app-card-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.app-card h3 {
  font-size: 24px;
  font-weight: 750;
}

.app-tagline {
  color: var(--muted);
  margin-top: 4px;
}

.badge {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--brand-deep);
  background: color-mix(in srgb, var(--brand) 12%, transparent);
}

.badge-live {
  color: var(--success);
  background: color-mix(in srgb, var(--success) 14%, transparent);
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.checklist li {
  position: relative;
  padding-left: 30px;
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      center / 20px no-repeat,
    var(--brand-gradient);
}

.app-stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.app-stores-note {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  padding: 12px 16px;
  border: 1px dashed var(--border-strong);
  border-radius: 12px;
}

.app-legal {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.app-legal a {
  color: var(--text-soft);
  text-decoration: none;
}

.app-legal a:hover {
  color: var(--text);
  text-decoration: underline;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 20px;
}

.principle {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.principle-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--brand-deep);
  background: color-mix(in srgb, var(--brand) 12%, transparent);
}

.principle h3 {
  font-size: 18px;
  font-weight: 700;
}

.principle p {
  color: var(--text-soft);
  font-size: 15px;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 48px;
  border-radius: 24px;
  color: #ffffff;
  background:
    radial-gradient(400px 200px at 90% 0%, rgba(255, 255, 255, 0.18), transparent 70%),
    var(--brand-gradient);
  box-shadow: 0 30px 60px -30px rgba(91, 91, 247, 0.7);
}

.cta h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 750;
  margin-bottom: 8px;
}

.cta p {
  color: rgba(255, 255, 255, 0.85);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  font-size: 15px;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
}

.footer-brand {
  flex: 2 1 280px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand p {
  color: var(--muted);
}

.footer-column {
  flex: 1 1 160px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.footer-column a {
  color: var(--text-soft);
  text-decoration: none;
}

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

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

.legal {
  max-width: 800px;
  padding-top: 40px;
  padding-bottom: 80px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

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

.breadcrumb [aria-current] {
  color: var(--text);
  font-weight: 600;
}

.legal-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 28px 0 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.legal-header h1 {
  font-size: clamp(30px, 4.5vw, 42px);
  font-weight: 800;
  margin-bottom: 6px;
}

.prose {
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.75;
}

.prose h2 {
  color: var(--text);
  font-size: 21px;
  font-weight: 700;
  margin: 40px 0 12px;
}

.prose p,
.prose ul {
  margin: 0 0 16px;
}

.prose ul {
  padding-left: 22px;
}

.prose li {
  margin-bottom: 8px;
}

.prose li::marker {
  color: var(--brand);
}

.legal-related {
  margin-top: 40px;
  padding: 18px 22px;
  border-radius: 14px;
  background: var(--bg-tint);
  border: 1px solid var(--border);
  color: var(--text-soft);
}

.not-found {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding-top: 120px;
  padding-bottom: 140px;
}

.not-found h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
}

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

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

  .hero {
    padding: 64px 0 56px;
  }

  .section {
    padding: 64px 0;
  }

  .app-card,
  .cta {
    padding: 26px;
  }

  .footer-brand {
    flex-basis: 100%;
  }
}

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

  .button {
    transition: none;
  }
}
