@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,400&family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&display=swap');

:root {
  --bg: #FAFAF8;
  --bg-deep: #EEECEA;
  --surface: rgba(255, 255, 253, 0.88);
  --surface-strong: rgba(255, 255, 253, 0.97);
  --surface-dark: #0C1A30;
  --ink: #0C1A30;
  --ink-soft: #5E6E82;
  --line: rgba(12, 26, 48, 0.10);
  --line-strong: rgba(12, 26, 48, 0.18);
  --brand: #1B4FBF;
  --brand-strong: #0F3182;
  --brand-soft: #EBF1FF;
  --accent: #059669;
  --accent-soft: #D1FAE5;
  --shadow: 0 20px 60px rgba(12, 26, 48, 0.09);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "DM Sans", "Helvetica Neue", sans-serif;
  background: var(--bg);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 96px 0; }
.section-tight { padding: 56px 0; }
.muted { color: var(--ink-soft); }

/* ── Labels ── */
.eyebrow, .pill, .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 253, 0.85);
  font-family: "DM Sans", sans-serif;
}
.eyebrow, .pill {
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow::before, .pill::before, .tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), var(--brand));
}

/* ── Headings ── */
h1, h2, h3, h4 {
  margin: 0 0 14px;
  color: var(--ink);
  line-height: 1.05;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
}
h1 { font-size: clamp(3rem, 5.8vw, 5.6rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.6rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.65rem); letter-spacing: -0.02em; }
h4 { font-size: 1rem; font-family: "DM Sans", sans-serif; font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 16px; }
.lead { font-size: 1.12rem; font-weight: 500; color: var(--ink); }
.kicker { font-size: 1.04rem; color: var(--ink-soft); }

/* ── Buttons ── */
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-size: 0.94rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(12, 26, 48, 0.14); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
}
.btn-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 253, 0.90);
  color: var(--ink);
}

/* ── Navigation ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(250, 250, 248, 0.84);
  border-bottom: 1px solid rgba(12, 26, 48, 0.07);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  font-family: "Playfair Display", Georgia, serif;
  background: linear-gradient(140deg, var(--brand), var(--brand-strong));
  box-shadow: 0 8px 22px rgba(27, 79, 191, 0.30);
}
.logo-label {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}
.logo-label small {
  display: block;
  margin-top: 1px;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 400;
}
.nav-links { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.nav-links a {
  color: var(--ink-soft);
  font-size: 0.93rem;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }

/* ── Hero ── */
.page-hero { padding-top: 48px; }
.hero-grid,
.grid-2,
.grid-3,
.grid-4,
.footer-grid,
.support-grid,
.contact-grid,
.app-hero,
.app-showcase,
.inline-grid {
  display: grid;
  gap: 20px;
}
.hero-grid { grid-template-columns: 1.08fr 0.92fr; align-items: stretch; }
.grid-2,
.support-grid,
.contact-grid,
.inline-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.footer-grid { grid-template-columns: 1.2fr 0.8fr 0.9fr; }
.app-hero { grid-template-columns: 0.96fr 1.04fr; align-items: center; }
.app-showcase { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ── Surfaces ── */
.surface,
.hero-shell,
.hero-stage,
.card,
.app-shell,
.cta-band,
.legal-panel,
.app-feature {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface-strong) 0%, var(--surface) 100%);
  box-shadow: var(--shadow);
}
.hero-shell, .hero-stage { border-radius: var(--radius-xl); }
.card, .app-shell, .cta-band, .legal-panel, .app-feature { border-radius: var(--radius-lg); }
.hero-shell, .hero-stage, .card, .app-shell, .cta-band, .legal-panel, .app-feature { padding: 28px; }

.hero-copy > p,
.hero-copy > .lead { max-width: 680px; }

/* ── Stats ── */
.mini-stats, .metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.mini-stat, .metric {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 253, 0.88);
  border: 1px solid rgba(12, 26, 48, 0.08);
}
.mini-stat strong, .metric strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.5rem;
  font-family: "Playfair Display", serif;
  color: var(--brand);
  font-weight: 700;
  line-height: 1;
}

/* ── Hero Stage ── */
.hero-stage {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(27, 79, 191, 0.28), transparent 42%),
    radial-gradient(ellipse at 20% 80%, rgba(5, 150, 105, 0.18), transparent 38%),
    linear-gradient(150deg, #0C1A30 0%, #142240 60%, #0C1A30 100%);
  border-color: rgba(255, 255, 255, 0.07);
}
.hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(12, 26, 48, 0.45) 100%);
  pointer-events: none;
}
.hero-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  opacity: 0.85;
}
.hero-note {
  position: absolute;
  z-index: 2;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(12, 26, 48, 0.35);
  max-width: 240px;
  color: #e8f0ff;
}
.hero-note strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.98rem;
  color: #fff;
  font-family: "DM Sans", sans-serif;
}
.hero-note .muted { color: rgba(195, 215, 255, 0.78); }
.hero-note.top { top: 24px; right: 24px; }
.hero-note.bottom { left: 24px; bottom: 24px; }

/* ── Section header ── */
.section-head { max-width: 760px; margin-bottom: 30px; }

/* ── App cards ── */
.app-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 100%;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 253, 0.90);
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.app-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(12, 26, 48, 0.14);
}
.app-card-copy { padding: 20px 24px 26px; }
.app-thumb {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: linear-gradient(150deg, var(--brand-soft), var(--bg-deep));
}
.app-thumb img { width: 100%; height: 100%; object-fit: cover; }
.app-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.tag { padding: 6px 12px; color: var(--ink); font-size: 0.79rem; font-weight: 600; }
.tag.accent::before { background: var(--accent); }
.tag.gold::before { background: var(--brand); }

/* ── Editorial blocks ── */
.editorial { display: grid; gap: 18px; }
.editorial-block {
  padding: 32px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 253, 0.90);
  box-shadow: var(--shadow);
}
.editorial-block.dark {
  color: #ddeeff;
  background:
    radial-gradient(ellipse at top right, rgba(27, 79, 191, 0.22), transparent 40%),
    radial-gradient(ellipse at bottom left, rgba(5, 150, 105, 0.14), transparent 40%),
    linear-gradient(150deg, #0C1A30 0%, #132038 100%);
  border-color: rgba(255, 255, 255, 0.07);
}
.editorial-block.dark h2,
.editorial-block.dark h3,
.editorial-block.dark p,
.editorial-block.dark .muted { color: inherit; }

/* ── Lists ── */
.bullet-list, .legal ul, .list-clean { margin: 0; padding: 0; list-style: none; }
.bullet-list li, .legal li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 20px;
}
.bullet-list li::before, .legal li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.74em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--brand));
}

/* ── Compact grid ── */
.compact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.compact-card {
  padding: 22px;
  border-radius: 20px;
  border: 1px solid rgba(12, 26, 48, 0.09);
  background: rgba(255, 255, 253, 0.90);
}

/* ── Notice & disclaimer ── */
.notice {
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(12, 26, 48, 0.09);
  background: rgba(27, 79, 191, 0.05);
  font-size: 0.94rem;
  color: var(--ink-soft);
}
.disclaimer-box {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid rgba(12, 26, 48, 0.10);
  background: rgba(12, 26, 48, 0.03);
  font-size: 0.90rem;
  color: var(--ink-soft);
}
.disclaimer-box strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ── Split band ── */
.split-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: center;
}

/* ── Table ── */
.legal-panel table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(12, 26, 48, 0.09);
}
.legal-panel th, .legal-panel td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(12, 26, 48, 0.08);
  font-size: 0.94rem;
}
.legal-panel th {
  background: rgba(27, 79, 191, 0.06);
  font-weight: 600;
}
.legal-panel tr:last-child td { border-bottom: 0; }

/* ── App detail ── */
.app-shell { overflow: hidden; }
.app-shell img { width: 100%; border-radius: 20px; }
.app-specs { display: grid; gap: 14px; }
.app-spec {
  padding: 16px 0;
  border-bottom: 1px solid rgba(12, 26, 48, 0.08);
}
.app-spec:last-child { border-bottom: 0; padding-bottom: 0; }
.app-spec strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.80rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  font-family: "DM Sans", sans-serif;
}
.app-details {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
}
.app-feature { min-height: 100%; }

/* ── FAQ ── */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px solid rgba(12, 26, 48, 0.09);
  background: rgba(255, 255, 253, 0.90);
}

/* ── Legal content ── */
.legal .card h2 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-top: 30px;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.legal .card h2:first-child { margin-top: 0; }
.legal .card p,
.legal .card li { font-size: 0.97rem; }

/* ── Status badge ── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(5, 150, 105, 0.10);
  color: #065F46;
  border: 1px solid rgba(5, 150, 105, 0.22);
}
.status-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  flex-shrink: 0;
}

/* ── Footer ── */
.footer {
  margin-top: 48px;
  padding: 36px 0 56px;
  border-top: 1px solid rgba(12, 26, 48, 0.08);
  color: var(--ink-soft);
}
.footer .logo-label { color: var(--ink); }
.footer-note, .small { font-size: 0.92rem; }
.center { text-align: center; }
.empty-state { max-width: 720px; margin: 0 auto; }
hr.sep { margin: 28px 0; border: 0; border-top: 1px solid rgba(12, 26, 48, 0.08); }

/* ── Responsive ── */
@media (max-width: 1080px) {
  .hero-grid, .grid-4, .grid-3, .grid-2, .footer-grid,
  .support-grid, .contact-grid, .app-hero, .app-showcase,
  .split-band, .app-details, .compact-grid, .inline-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body { line-height: 1.60; }
  .container { width: min(var(--max), calc(100% - 28px)); }
  .nav { min-height: auto; padding: 14px 0 16px; }
  .nav, .nav-links { flex-direction: column; align-items: flex-start; gap: 10px; }
  .section { padding: 72px 0; }
  .hero-shell, .hero-stage, .card, .app-shell,
  .cta-band, .legal-panel, .app-feature,
  .editorial-block { padding: 22px; }
  .mini-stats, .metrics { grid-template-columns: 1fr; }
  .hero-note { position: static; max-width: none; margin-top: 16px; }
  .app-card-copy { padding: 18px 20px 22px; }
}
