:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #4b5563;
  --primary: #0b6cd4;
  --primary-strong: #0b4f99;
  --accent: #1ca34a;
  --border: #e2e8f0;
  --shadow: 0 12px 38px rgba(11, 108, 212, 0.14);
  --radius: 16px;
  --max-width: 1120px;
  --font-heading: 'Space Grotesk', 'Helvetica Neue', sans-serif;
  --font-body: 'Work Sans', 'Helvetica Neue', sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: radial-gradient(circle at 12% 20%, rgba(11, 108, 212, 0.08), transparent 40%),
              radial-gradient(circle at 78% 8%, rgba(28, 163, 74, 0.08), transparent 35%),
              var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary-strong); text-decoration: none; }
a:hover { text-decoration: underline; }

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

h1, h2, h3 { font-family: var(--font-heading); margin: 0 0 0.5rem; }

p { margin: 0 0 0.75rem; color: var(--muted); }

ul { padding-left: 1.2rem; margin: 0; color: var(--muted); }

strong { color: var(--text); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  z-index: 999;
}

.skip-link:focus { left: 0.5rem; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: rgba(246, 248, 251, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.topbar.minimal {
  position: static;
  background: linear-gradient(120deg, #ecfdf3, #f8fafc);
}

.brand { display: flex; align-items: center; gap: 0.75rem; }

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0b6cd4, #0b4f99);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(11, 108, 212, 0.2);
}

.brand-mark img { width: 32px; height: 32px; }

.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }

.brand-name { font-weight: 700; letter-spacing: 0.02em; }

.brand-tagline { font-size: 0.85rem; color: var(--muted); }

.nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 500;
  overflow-x: auto;
  padding: 0.35rem 0;
}

.nav a { color: var(--text); padding: 0.35rem 0.5rem; border-radius: 8px; white-space: nowrap; }

.nav a:hover { background: rgba(11, 108, 212, 0.08); text-decoration: none; }

.cta-group { display: flex; align-items: center; gap: 0.5rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.btn.solid { background: var(--primary); color: #fff; box-shadow: var(--shadow); }
.btn.solid:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(11, 79, 153, 0.25); }

.btn.soft { background: rgba(11, 108, 212, 0.08); color: var(--primary-strong); border-color: rgba(11, 108, 212, 0.18); }
.btn.soft:hover { transform: translateY(-1px); }

.btn.ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn.ghost:hover { background: rgba(11, 108, 212, 0.08); }

.hero {
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem 1.25rem 2.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: center;
}

.hero-text h1 { font-size: 2rem; margin-bottom: 0.75rem; }

.hero .lede { font-size: 1.05rem; color: var(--muted); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-strong);
  margin-bottom: 0.35rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1rem 0; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}

.hero-badges li {
  background: rgba(11, 108, 212, 0.08);
  color: var(--text);
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid rgba(11, 108, 212, 0.14);
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 440px;
  margin: 0 auto;
}

.card-header, .card-footer { display: flex; justify-content: space-between; align-items: center; }

.status {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.status-in-progress { background: rgba(28, 163, 74, 0.14); color: #166534; }

.step { display: grid; grid-template-columns: auto 1fr; gap: 0.65rem; align-items: start; margin-bottom: 0.5rem; }

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--border);
  margin-top: 0.2rem;
}

.dot.done { background: var(--primary); border-color: var(--primary); }
.dot.current { background: #e8f2ff; border-color: #0b6cd4; }

.step-title { margin: 0 0 0.1rem; font-weight: 700; color: var(--text); }
.step-desc { margin: 0; color: var(--muted); font-size: 0.95rem; }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem; box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04); }

.soft-card { background: linear-gradient(135deg, rgba(11, 108, 212, 0.06), rgba(28, 163, 74, 0.08)); }

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}

.section.alt { background: rgba(255, 255, 255, 0.8); border-radius: 22px; box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06); }

.section-header { max-width: 720px; }

.section-header h2 { font-size: 1.6rem; }

.steps-grid, .benefits-grid, .privacy-grid, .faq-grid, .store-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.icon-bubble {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(11, 108, 212, 0.12);
  color: var(--primary-strong);
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.benefits-grid ul { list-style: disc; padding-left: 1.1rem; }

.privacy-grid h3, .faq-item h3 { margin-bottom: 0.35rem; }

.policy-cta { display: flex; gap: 0.75rem; margin-top: 1rem; flex-wrap: wrap; }

.store-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.store-btn {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  border: 1px dashed rgba(11, 108, 212, 0.3);
  background: #fff;
  color: var(--text);
  font-weight: 600;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.store-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08); border-color: var(--primary); text-decoration: none; }

.store-name { font-size: 1rem; }
.store-copy { color: var(--muted); font-weight: 500; }

.faq-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem; box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04); }

.contact-line { margin: 0.35rem 0; color: var(--text); }

.footer {
  border-top: 1px solid var(--border);
  padding: 1.25rem;
  margin-top: 2rem;
  background: #fff;
}

.footer-inner { max-width: var(--max-width); margin: 0 auto; display: grid; gap: 0.35rem; align-items: center; }

.footer-links { display: flex; gap: 1rem; flex-wrap: wrap; }

.small { font-size: 0.9rem; color: var(--muted); }

.policy-hero { background: #f9fbff; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }

.policy-hero-content {
  max-width: 880px;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 1rem;
}

.policy-hero-content h1 { font-size: 1.8rem; margin-bottom: 0.4rem; }

.policy-main {
  max-width: 880px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.toc h2 { font-size: 1.1rem; margin-bottom: 0.5rem; }

.toc ol { padding-left: 1.1rem; margin: 0; display: grid; gap: 0.25rem; color: var(--muted); }

.policy-section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  border-left: 4px solid var(--primary);
}

.policy-list { margin: 0.4rem 0 0; padding-left: 1.1rem; display: grid; gap: 0.35rem; }

.token { background: rgba(11, 108, 212, 0.08); padding: 0.15rem 0.4rem; border-radius: 6px; font-family: 'Space Grotesk', monospace; }

.status, .hero-card, .card, .policy-section { animation: fade-up 220ms ease; }

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

@media (min-width: 768px) {
  .nav { display: flex; }
  .hero { grid-template-columns: 1.2fr 1fr; padding-top: 2.25rem; }
  .hero-text h1 { font-size: 2.4rem; }
  .section { padding: 3rem 1.25rem; }
  .steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .privacy-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .topbar { padding: 1rem 2rem; }
  .hero { padding: 2.75rem 2rem 3rem; }
  .section, .policy-hero-content, .policy-main { padding-left: 2rem; padding-right: 2rem; }
  .nav { gap: 1.25rem; }
}

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