:root {
  --bg: #0b1020;
  --panel: rgba(17, 26, 47, 0.9);
  --panel-alt: #182544;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f7fb;
  --muted: #92a5c4;
  --coral: #ff7a59;
  --mint: #59d4a8;
  --sky: #69c8ff;
  --sand: #ffe4bb;
  --rose: #ff9da5;
  --shadow: 0 30px 80px rgba(2, 6, 14, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Aptos", "Trebuchet MS", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(255, 122, 89, 0.2), transparent 25%),
    radial-gradient(circle at 10% 30%, rgba(105, 200, 255, 0.16), transparent 20%),
    radial-gradient(circle at 80% 90%, rgba(89, 212, 168, 0.14), transparent 22%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
}

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

.site-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--coral), var(--sand));
  color: var(--bg);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.brand-mark-image {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: block;
  box-shadow: 0 12px 28px rgba(2, 6, 14, 0.28);
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
}

.nav a:hover,
.footer-links a:hover {
  color: var(--sand);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  min-height: 72vh;
}

.eyebrow {
  color: var(--sand);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  margin: 0 0 12px;
}

.hero h1,
.legal-layout h1 {
  margin: 0 0 18px;
  font-size: clamp(3rem, 6vw, 5.3rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero-text,
.section-heading p,
.cta-card p,
.legal-layout p,
.legal-layout li {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 22px;
}

.brand-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding: 10px 14px 10px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.brand-ribbon-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  flex: 0 0 auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--coral);
  color: var(--bg);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

.hero-points {
  margin: 0;
  padding-left: 20px;
  color: var(--text);
  display: grid;
  gap: 10px;
}

.hero-panel {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: min(410px, 100%);
  border-radius: 36px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(24, 37, 68, 0.9), rgba(17, 26, 47, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  position: relative;
}

.phone-notch {
  width: 132px;
  height: 22px;
  border-radius: 999px;
  background: rgba(2, 6, 14, 0.8);
  margin: 0 auto 18px;
}

.screen-card,
.mini-card,
.feature-card,
.quote-card,
.community-card,
.goal-card,
.cta-card,
.highlight-band,
.legal-layout {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.screen-card {
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  margin-bottom: 14px;
}

.card-label {
  margin: 0 0 8px;
  color: var(--sky);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 12px;
}

.card-value {
  margin: 0 0 8px;
  font-size: 30px;
  font-weight: 800;
}

.card-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.mini-card {
  border-radius: 22px;
  padding: 18px;
  min-height: 152px;
  background: rgba(255, 255, 255, 0.04);
}

.mini-card span {
  display: block;
  color: var(--text);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.mini-card strong {
  display: block;
  font-size: 24px;
  line-height: 1.1;
  margin-bottom: 10px;
}

.mini-card small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.mini-card.coral {
  background: rgba(255, 122, 89, 0.14);
}

.mini-card.mint {
  background: rgba(89, 212, 168, 0.14);
}

.mini-card.sky {
  background: rgba(105, 200, 255, 0.14);
}

.mini-card.wide {
  grid-column: 1 / -1;
  min-height: 136px;
}

.highlight-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 40px 0 70px;
  border-radius: 28px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
}

.stat {
  display: grid;
  gap: 8px;
}

.stat-number {
  font-size: 22px;
  font-weight: 800;
  color: var(--sand);
}

.stat-label {
  color: var(--muted);
  line-height: 1.6;
}

.section {
  margin: 0 0 76px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading h2,
.cta-card h2,
.legal-section h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.narrow {
  max-width: 640px;
}

.feature-grid,
.community-grid,
.goal-row {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.community-grid {
  grid-template-columns: 1.15fr 1fr 1fr;
}

.goal-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.community-card,
.goal-card,
.quote-card,
.cta-card,
.legal-layout {
  border-radius: 28px;
  background: var(--panel);
}

.feature-card,
.community-card,
.goal-card,
.quote-card {
  padding: 22px;
}

.feature-card h3,
.community-card h3,
.goal-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.feature-card p,
.community-card p,
.goal-card p,
.quote-card span {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.quote-card {
  background: linear-gradient(180deg, rgba(255, 122, 89, 0.16), rgba(17, 26, 47, 0.94));
}

.quote-card p {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.2;
  color: var(--text);
  font-weight: 800;
}

.cta-card {
  padding: 34px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 24px 0 10px;
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 8px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: flex-start;
  color: var(--muted);
}

.inner-page .site-shell {
  max-width: 940px;
}

.legal-layout {
  padding: 34px;
}

.legal-updated {
  margin-top: -4px;
  margin-bottom: 28px;
}

.legal-section {
  margin-bottom: 30px;
}

.legal-section ul {
  color: var(--muted);
  padding-left: 22px;
  display: grid;
  gap: 10px;
}

@media (max-width: 980px) {
  .hero,
  .feature-grid,
  .community-grid,
  .goal-row,
  .highlight-band,
  .footer {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 24px, 100%);
    padding-top: 16px;
  }

  .hero h1,
  .legal-layout h1 {
    font-size: 3rem;
  }

  .section-heading h2,
  .cta-card h2,
  .legal-section h2 {
    font-size: 2rem;
  }

  .hero-text,
  .section-heading p,
  .cta-card p,
  .legal-layout p,
  .legal-layout li {
    font-size: 16px;
  }

  .phone-frame,
  .legal-layout,
  .cta-card {
    padding: 20px;
  }

  .nav {
    gap: 12px;
    font-size: 14px;
  }

  .brand-ribbon {
    align-items: flex-start;
    border-radius: 20px;
  }
}
