:root {
  --blue-950: #071b4a;
  --blue-900: #092968;
  --blue-700: #075fe4;
  --blue-600: #0874f2;
  --blue-100: #eaf3ff;
  --gold: #f2b621;
  --gold-soft: #fff5d8;
  --ink: #0d1b34;
  --muted: #5e6c82;
  --line: #dce6f4;
  --surface: #ffffff;
  --canvas: #f7faff;
  --shadow: 0 18px 50px rgba(19, 62, 126, 0.12);
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue-700); }
img { display: block; max-width: 100%; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -9999px; top: 12px; z-index: 100; }
.skip-link:focus { left: 16px; padding: 10px 14px; background: white; border-radius: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(220, 230, 244, 0.8);
  background: rgba(247, 250, 255, 0.9);
  backdrop-filter: blur(18px);
}
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-weight: 750; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: white;
  background: linear-gradient(145deg, var(--blue-700), var(--blue-950));
  box-shadow: 0 8px 18px rgba(7, 95, 228, 0.22);
  letter-spacing: -0.04em;
}
.brand-mark strong { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { padding: 9px 13px; border-radius: 10px; color: var(--muted); text-decoration: none; font-size: 0.94rem; font-weight: 600; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue-700); background: var(--blue-100); }
.menu-button { display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--blue-100); color: var(--blue-900); font-size: 1.35rem; }

.hero { padding: 92px 0 78px; overflow: hidden; background: radial-gradient(circle at 85% 20%, #d9eaff 0, transparent 34%), linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 70px; }
.eyebrow { margin: 0 0 14px; color: var(--blue-700); font-size: 0.83rem; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.13; letter-spacing: -0.025em; }
h1 { max-width: 720px; margin-bottom: 20px; font-size: clamp(2.7rem, 6vw, 5.3rem); }
h2 { margin-bottom: 14px; font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { margin-bottom: 8px; font-size: 1.18rem; }
.hero-copy { max-width: 650px; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 21px; border-radius: 12px; text-decoration: none; font-weight: 700; }
.button-primary { color: white; background: var(--blue-700); box-shadow: 0 12px 26px rgba(7, 95, 228, 0.24); }
.button-secondary { color: var(--blue-900); border: 1px solid var(--line); background: white; }
.app-preview { position: relative; padding: 24px; border: 1px solid rgba(255,255,255,.8); border-radius: 32px; background: rgba(255,255,255,.7); box-shadow: var(--shadow); }
.preview-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.preview-logo { display: flex; align-items: center; gap: 12px; font-weight: 750; }
.preview-logo .brand-mark { width: 52px; height: 52px; }
.points { padding: 8px 12px; border-radius: 999px; color: #815b00; background: var(--gold-soft); font-size: .84rem; font-weight: 700; }
.progress-card { min-height: 180px; padding: 24px; border-radius: 20px; color: white; background: linear-gradient(135deg, #075fe4, #0b2b76); }
.progress-value { margin: 6px 0 18px; font-size: 3rem; font-weight: 800; }
.progress-track { height: 9px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.2); }
.progress-track span { display: block; width: 78%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #42d59c, #68d9ff); }
.mini-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 12px; }
.mini-card { padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: white; font-weight: 650; }
.mini-card span { display: block; margin-top: 4px; color: var(--muted); font-size: .8rem; font-weight: 450; }

.section { padding: 84px 0; }
.section-white { background: white; }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p { margin: 0; color: var(--muted); font-size: 1.06rem; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 9px 26px rgba(32, 73, 132, 0.07); }
.feature-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 14px; color: var(--blue-700); background: var(--blue-100); font-size: 1.25rem; font-weight: 800; }
.feature-grid .card:nth-child(3) .feature-icon { color: #825a00; background: var(--gold-soft); }
.card p { margin: 0; color: var(--muted); }
.cta { padding: 32px; display: flex; align-items: center; justify-content: space-between; gap: 32px; border-radius: 24px; color: white; background: linear-gradient(125deg, var(--blue-950), var(--blue-700)); box-shadow: var(--shadow); }
.cta h2 { margin-bottom: 8px; font-size: clamp(1.6rem, 3vw, 2.35rem); }
.cta p { margin: 0; color: #dceaff; }
.cta .button { flex: 0 0 auto; color: var(--blue-950); background: var(--gold); }

.page-hero { padding: 70px 0 42px; text-align: center; background: linear-gradient(180deg, #eef6ff, var(--canvas)); }
.page-hero h1 { max-width: none; margin-bottom: 12px; font-size: clamp(2.3rem, 5vw, 4rem); }
.page-hero p { max-width: 700px; margin: 0 auto; color: var(--muted); }
.legal-wrap { width: min(800px, calc(100% - 40px)); margin: 0 auto; padding: 28px 0 84px; }
.legal-card { padding: clamp(24px, 5vw, 48px); border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: var(--shadow); }
.legal-card h2 { margin-top: 36px; font-size: 1.45rem; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p, .legal-card li { color: #445269; }
.legal-card li + li { margin-top: 8px; }
.updated { display: inline-block; margin-bottom: 24px; color: var(--muted); font-size: .9rem; }
.support-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 22px; }
.contact-card { align-self: start; }
.contact-link { overflow-wrap: anywhere; font-size: 1.05rem; font-weight: 700; }
.faq { display: grid; gap: 12px; }
.faq details { padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.faq summary { cursor: pointer; color: var(--ink); font-weight: 700; }
.faq p { margin: 10px 0 0; color: var(--muted); }

.site-footer { padding: 34px 0; border-top: 1px solid var(--line); background: white; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-copy { color: var(--muted); font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 600; }
.footer-links a:hover { color: var(--blue-700); }

@media (max-width: 860px) {
  .hero { padding-top: 62px; }
  .hero-grid, .support-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 44px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-button { display: grid; place-items: center; }
  .nav-links { display: none; position: absolute; top: 64px; left: 20px; right: 20px; padding: 10px; align-items: stretch; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
}
@media (max-width: 560px) {
  .container, .legal-wrap { width: min(100% - 28px, 1120px); }
  .nav { min-height: 64px; }
  .hero { padding: 50px 0 58px; }
  h1 { font-size: 2.7rem; }
  .app-preview { padding: 15px; border-radius: 24px; }
  .feature-grid { grid-template-columns: 1fr; }
  .section { padding: 62px 0; }
  .cta, .footer-inner { align-items: stretch; flex-direction: column; }
  .cta .button { width: 100%; }
  .footer-links { gap: 12px 18px; }
}

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