:root {
  --background: #071827;
  --surface: #0D2333;
  --surface-high: #15364D;
  --accent: #1DB8A6;
  --accent-muted: #1A5450;
  --reward: #F59E0B;
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --border: #24475E;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(29, 184, 166, 0.12), transparent 34rem),
    var(--background);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
}

body.light-page {
  background: #F7FAFC;
  color: #0F172A;
}

body.light-page .site-header,
body.light-page .card,
body.light-page .policy-card {
  background: #FFFFFF;
  border-color: #D8E3E8;
}

body.light-page .muted,
body.light-page .eyebrow,
body.light-page .footer,
body.light-page .nav a {
  color: #475569;
}

body.light-page .logo-mark {
  background: #071827;
}

body.light-page .secondary-button {
  color: #0F172A;
  border-color: #D8E3E8;
}

body.light-page .policy-card h2 {
  color: #0F172A;
}

body.light-page .policy-card p,
body.light-page .policy-card li {
  color: #475569;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(7, 24, 39, 0.78);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner,
.section,
.footer-inner {
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--surface-high);
  border: 1px solid var(--border);
  position: relative;
}

.logo-mark::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 3px solid var(--accent);
  border-right-color: transparent;
  border-radius: 50%;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
}

.nav a {
  color: var(--text-secondary);
  text-decoration: none;
}

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

/* Site-wide default for plain content links. More specific link rules
   (.nav a, .footer a, .policy-card a, .brand, the buttons, .blog-row)
   have higher specificity and keep winning; only unstyled links change. */
a {
  color: var(--accent);
}

a:hover {
  color: #22CFC1;
}

.section {
  padding: 84px 0;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

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

h1 {
  font-size: clamp(44px, 7vw, 76px);
  max-width: 820px;
}

h2 {
  font-size: clamp(32px, 5vw, 52px);
}

h3 {
  font-size: 22px;
}

.lead {
  color: var(--text-secondary);
  font-size: clamp(18px, 2vw, 22px);
  max-width: 660px;
  margin: 24px 0 0;
}

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

.button-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
}

.primary-button {
  background: var(--accent);
  color: #041318;
}

.secondary-button {
  border: 1px solid var(--border);
  color: var(--text-primary);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.card,
.policy-card {
  background: rgba(13, 35, 51, 0.82);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
}

.card p,
.policy-card p,
.policy-card li {
  color: var(--text-secondary);
}

.card p:last-child,
.policy-card p:last-child {
  margin-bottom: 0;
}

.product-card {
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.app-icon {
  width: 84px;
  height: 84px;
  border-radius: 24px;
  background: var(--background);
  border: 1px solid var(--border);
  position: relative;
  margin-bottom: 28px;
}

.app-icon::before {
  content: "";
  position: absolute;
  inset: 19px;
  border: 6px solid #B8C7D1;
  border-right-color: transparent;
  border-radius: 50%;
}

.app-icon::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 39px;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--reward);
  font-size: 13px;
  font-weight: 750;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}

.feature-list li {
  display: flex;
  gap: 12px;
  color: var(--text-secondary);
}

.feature-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 10px;
  flex: 0 0 auto;
}

.policy-layout {
  max-width: 840px;
}

.policy-card {
  margin-top: 28px;
}

.policy-card h2 {
  font-size: 26px;
  margin-top: 34px;
}

.policy-card h2:first-child {
  margin-top: 0;
}

.policy-card a {
  color: var(--accent);
}

.footer {
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding: 28px 0;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 820px) {
  .header-inner {
    min-height: 64px;
  }

  .nav {
    gap: 14px;
  }

  .hero-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: auto;
  }

  .section {
    padding: 56px 0;
  }
}
