*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  margin: 0;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2rem, 5.6vw, 3.5rem);
  letter-spacing: -0.005em;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  letter-spacing: -0.005em;
}

h3 {
  font-size: clamp(1.05rem, 3vw, 1.25rem);
}

p {
  margin: 0;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 60px 0;
}

.section--halftone {
  background-color: var(--color-bg);
  background-image: var(--bg-halftone);
  background-size: var(--bg-halftone-size);
}

.section-head {
  max-width: 720px;
  margin-bottom: var(--space-6);
}

.section-head--left {
  text-align: left;
  margin-left: 0;
}

/* Burst motif — symmetric 12-ray (§4.A) */

.burst-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--color-primary);
  -webkit-mask-image: var(--burst-mask);
  mask-image: var(--burst-mask);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-3);
  padding: 6px 14px 6px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 224, 70, 0.1);
  color: var(--color-primary-soft);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Buttons */

.btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--color-primary);
  color: var(--color-bg);
  padding: 0 22px;
  min-height: 52px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  filter: brightness(1.02);
}

.btn:active {
  transform: translateY(1px);
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-bg);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.9rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(19, 19, 19, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 700;
  white-space: nowrap;
}

.logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.desktop-nav {
  display: none;
  gap: 20px;
}

.desktop-nav a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--color-accent-blue);
}

.site-header .nav-wrap > .btn {
  display: none;
}

.mobile-menu-toggle {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #3a3a3a;
  background: #181818;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-menu-toggle svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.mobile-menu-panel {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #141414;
}

.mobile-menu-panel.open {
  display: block;
}

.mobile-menu-inner {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0 18px;
}

.mobile-menu-links {
  display: grid;
  gap: 10px;
}

.mobile-menu-links a {
  text-decoration: none;
  color: var(--color-text);
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 4px;
}

.mobile-menu-links a.is-active {
  color: var(--color-accent-blue);
}

.mobile-menu-cta {
  margin-top: var(--space-3);
}

/* Hero */

.hero {
  padding-top: 34px;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-6);
}

.hero-copy {
  max-width: 720px;
}

.hero-copy h1 {
  margin-bottom: var(--space-4);
}

.lead {
  color: var(--color-text-muted);
  max-width: 580px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: var(--space-6) 0 var(--space-4);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.trust-pill {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--surface-card);
  border-top: 1px solid var(--hairline-top);
  padding: 8px 14px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.hero-media {
  position: relative;
  display: grid;
  place-items: center;
  width: min(1000px, 100%);
  margin: 0 auto;
  padding: var(--space-5) 0 var(--space-4);
}

.hero-side-card {
  display: none;
  position: absolute;
  width: min(280px, 30vw);
  border-radius: var(--radius-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid var(--hairline-top);
  background: linear-gradient(160deg, rgba(28, 28, 28, 0.92), rgba(18, 18, 18, 0.88));
  backdrop-filter: blur(10px);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-soft);
  text-align: left;
  z-index: 1;
}

.hero-side-card h3 {
  margin: 0 0 var(--space-2);
  font-size: 1.05rem;
}

.hero-side-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.hero-side-card .side-label {
  margin: 0 0 var(--space-2);
  color: var(--color-accent-blue-soft);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-side-left {
  left: 0;
  top: 18%;
}

.hero-side-right {
  right: 0;
  top: 48%;
}

.hero-metric {
  display: none;
  position: absolute;
  min-width: 180px;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid var(--hairline-top);
  background: rgba(19, 19, 19, 0.9);
  backdrop-filter: blur(6px);
  text-align: center;
  z-index: 1;
}

.metric-value {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  line-height: 1.15;
  letter-spacing: -0.005em;
}

.metric-label {
  display: block;
  margin-top: 3px;
  color: var(--color-text-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-metric-left {
  left: 2%;
  bottom: 6%;
}

.hero-metric-right {
  right: 2%;
  bottom: 8%;
}

.phone-frame {
  position: relative;
  width: min(280px, 72vw);
  padding: 10px;
  border-radius: 42px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, #0f0f10, #1a1a1c);
  box-shadow: var(--shadow-soft);
  z-index: 2;
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 18px;
  border-radius: 999px;
  background: #0b0b0c;
  z-index: 2;
}

.phone-frame img {
  width: 100%;
  border-radius: 32px;
}

@media (min-width: 980px) {
  .hero-side-card,
  .hero-metric {
    display: block;
  }

  .hero-side-left {
    left: 3%;
    top: 20%;
  }

  .hero-side-right {
    right: 3%;
    top: 46%;
  }

  .hero-metric-left {
    left: 8%;
    bottom: 5%;
  }

  .hero-metric-right {
    right: 8%;
    bottom: 7%;
  }
}

/* Stat bar */

.proof-bar {
  padding-top: var(--space-3);
  padding-bottom: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-card);
  background: var(--surface-card);
  border-top: 1px solid var(--hairline-top);
  overflow: hidden;
}

.stat {
  padding: var(--space-5) var(--space-4);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat:nth-child(2n) {
  border-right: 0;
}

.stat:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1rem, 3.5vw, 1.35rem);
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}

.stat span {
  color: var(--color-text-muted);
  font-size: 0.82rem;
}

/* How it works */

.steps-path {
  display: grid;
  gap: var(--space-5);
}

.step-card {
  position: relative;
  border-radius: var(--radius-card);
  background: var(--surface-card);
  border-top: 1px solid var(--hairline-top);
  padding: var(--space-5);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.step-medallion {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto var(--space-4);
  display: grid;
  place-items: center;
}

.step-medallion .burst-bg {
  position: absolute;
  inset: 0;
  background: var(--color-accent-blue);
  -webkit-mask-image: var(--burst-mask);
  mask-image: var(--burst-mask);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

.step-medallion img {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.step-num {
  position: absolute;
  bottom: -4px;
  right: -4px;
  z-index: 2;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-bg);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  display: grid;
  place-items: center;
}

.step-card h3 {
  margin-bottom: var(--space-2);
}

.step-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* App preview */

.preview-section {
  background: linear-gradient(180deg, rgba(23, 134, 254, 0.14), rgba(23, 134, 254, 0.04));
}

.phone-stack {
  border-radius: var(--radius-card);
  background: var(--surface-card);
  border-top: 1px solid var(--hairline-top);
  padding: var(--space-5) var(--space-4);
}

.stack-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.stack-head h3 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.stack-controls {
  display: inline-flex;
  gap: 8px;
}

.stack-stage {
  position: relative;
  width: min(760px, 100%);
  margin: 0 auto;
  min-height: 420px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.stack-card {
  position: absolute;
  top: 24px;
  left: 50%;
  width: min(290px, 64vw);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-soft);
  transform-origin: center;
  transition: transform 0.35s ease, opacity 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}

.stack-card.left {
  transform: translateX(-98%) scale(0.86) rotate(-8deg);
  opacity: 0.7;
  z-index: 1;
}

.stack-card.active {
  transform: translateX(-50%) scale(1);
  opacity: 1;
  z-index: 3;
  box-shadow: 0 20px 40px rgba(23, 134, 254, 0.15), var(--shadow-soft);
}

.stack-card.right {
  transform: translateX(-2%) scale(0.86) rotate(8deg);
  opacity: 0.7;
  z-index: 1;
}

@media (max-width: 759px) {
  .phone-stack {
    padding-bottom: var(--space-4);
  }

  .stack-stage {
    min-height: 420px;
  }

  .stack-card {
    top: 4px;
  }
}

.carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 99px;
  border: 1px solid #3c3c3c;
  background: #1a1a1a;
  color: var(--color-text);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.carousel-btn:hover {
  border-color: var(--color-accent-blue);
  background: rgba(23, 134, 254, 0.12);
  color: var(--color-accent-blue-soft);
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}

.image-modal.open {
  display: grid;
  place-items: center;
}

.image-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(3px);
}

.image-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100% - 28px));
  max-height: calc(100vh - 32px);
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #111721;
  display: grid;
  place-items: center;
}

.image-modal-dialog img {
  max-width: 100%;
  max-height: calc(100vh - 90px);
  border-radius: 16px;
}

.image-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border-radius: 99px;
  border: 1px solid #4b5567;
  background: #1a2230;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

/* Features */

.features-grid {
  display: grid;
  gap: var(--space-4);
}

.feature-card {
  border-radius: var(--radius-card);
  background: var(--surface-card);
  border-top: 1px solid var(--hairline-top);
  padding: var(--space-5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  margin-bottom: var(--space-3);
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.feature-card:nth-child(odd) .feature-icon {
  background: rgba(255, 224, 70, 0.12);
  color: var(--color-primary);
  border: 1px solid rgba(255, 224, 70, 0.25);
}

.feature-card:nth-child(even) .feature-icon {
  background: rgba(23, 134, 254, 0.12);
  color: var(--color-accent-blue-soft);
  border: 1px solid rgba(23, 134, 254, 0.25);
}

.feature-card h3 {
  margin-bottom: var(--space-2);
}

.feature-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* True Cost */

.cost-section {
  overflow: hidden;
}

.cost-grid {
  display: grid;
  gap: var(--space-7);
  align-items: start;
}

.cost-copy ul {
  margin: var(--space-5) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-3);
}

.cost-copy li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.cost-copy li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 2px;
  background: var(--color-primary);
  transform: rotate(45deg);
}

.cost-copy .sub-lead {
  margin-top: var(--space-4);
  text-align: left;
}

.transparency-intro {
  margin-top: var(--space-3);
  text-align: left;
  max-width: 640px;
}

.cost-calculator {
  border-radius: var(--radius-card);
  background: var(--surface-card);
  border-top: 1px solid var(--hairline-top);
  padding: var(--space-6);
}

.calc-field {
  margin-bottom: var(--space-5);
}

.calc-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-text-muted);
}

.calc-amount-display {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: var(--space-3);
}

.calc-slider {
  width: 100%;
  accent-color: var(--color-accent-blue);
}

.calc-terms {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.calc-term-btn {
  min-height: 42px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.calc-term-btn:hover {
  border-color: var(--color-accent-blue);
}

.calc-term-btn.is-active {
  border-color: var(--color-accent-blue);
  background: rgba(23, 134, 254, 0.15);
  color: var(--color-text);
}

.calc-results {
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: var(--space-4);
}

.calc-result-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-3);
}

.calc-result-row span {
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

.calc-result-row strong {
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

.calc-result-row--highlight {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-soft);
  background: rgba(255, 224, 70, 0.1);
  border: 1px solid rgba(255, 224, 70, 0.2);
}

.calc-result-row--highlight span {
  color: var(--color-primary-soft);
}

.calc-result-row--highlight strong {
  color: var(--color-primary);
}

.calc-disclaimer {
  margin-top: var(--space-4);
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Transparency */

.transparency-grid {
  display: grid;
  gap: var(--space-4);
}

.transparency-card {
  border-radius: var(--radius-card);
  background: var(--surface-card);
  border-top: 1px solid var(--hairline-top);
  padding: var(--space-5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.transparency-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.transparency-card h3 {
  margin-bottom: var(--space-2);
  color: var(--color-accent-blue-soft);
}

.transparency-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.transparency-footer {
  margin-top: var(--space-6);
  display: flex;
  justify-content: center;
}

.badge-ssl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(23, 134, 254, 0.35);
  background: rgba(23, 134, 254, 0.1);
  color: var(--color-accent-blue-soft);
  padding: 0 16px;
  font-size: 0.82rem;
  font-weight: 600;
}

/* FAQ */

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-radius: var(--radius-soft);
  background: var(--surface-card);
  border-top: 1px solid var(--hairline-top);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-3);
  align-items: center;
  padding: var(--space-4);
  border: none;
  background: transparent;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-trigger:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--color-accent-blue);
  color: var(--color-accent-blue-soft);
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  fill: var(--color-text-muted);
  transition: transform 0.25s ease;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}

.faq-panel {
  display: none;
  padding: 0 var(--space-4) var(--space-4);
  padding-left: calc(var(--space-4) + 32px + var(--space-3));
}

.faq-item.is-open .faq-panel {
  display: block;
}

.faq-panel p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Final CTA */

.final-cta {
  padding-top: var(--space-8);
}

.cta-wrap {
  position: relative;
  border-radius: 28px;
  background: linear-gradient(120deg, var(--color-primary), var(--color-primary-soft));
  color: var(--color-bg);
  padding: var(--space-7) var(--space-6);
  overflow: hidden;
}

.cta-wrap .eyebrow {
  background: rgba(19, 19, 19, 0.12);
  color: var(--color-bg);
}

.cta-wrap .eyebrow .burst-icon {
  background: var(--color-accent-blue);
}

.cta-wrap h2 {
  margin: 0 0 var(--space-3);
  max-width: 520px;
}

.cta-wrap p {
  max-width: 520px;
  color: rgba(19, 19, 19, 0.75);
}

.cta-actions {
  margin-top: var(--space-5);
}

.store-btn {
  border-radius: var(--radius-pill);
  min-height: 50px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 600;
  color: var(--color-text);
  background: var(--color-bg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-btn:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.store-btn:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
}

/* Footer */

.site-footer {
  border-top: 1px solid #2b2b2b;
  margin-top: var(--space-6);
  padding: 34px 0 24px;
}

.footer-grid {
  display: grid;
  gap: 28px;
}

.footer-group h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: var(--space-3);
}

.footer-group a {
  display: block;
  text-decoration: none;
  color: var(--color-text-muted);
  margin-bottom: 7px;
}

.footer-group .logo {
  margin-bottom: var(--space-3);
}

.small-copy,
.legal p {
  margin: 10px 0 0;
  color: #9f9f9f;
  font-size: 0.84rem;
  line-height: 1.6;
}

.legal {
  border-top: 1px solid #262626;
  margin-top: 18px;
  padding-top: 12px;
}

/* Reveal */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

.reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.reveal:nth-child(3) {
  transition-delay: 0.16s;
}

.reveal:nth-child(4) {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Responsive */

@media (min-width: 640px) {
  .transparency-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 760px) {
  .section {
    padding: 74px 0;
  }

  .mobile-menu-toggle,
  .mobile-menu-panel {
    display: none !important;
  }

  .site-header .nav-wrap > .btn {
    display: inline-flex;
  }

  .desktop-nav {
    display: flex;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .stat {
    border-bottom: 0;
  }

  .stat:nth-child(2n) {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
  }

  .stat:last-child {
    border-right: 0;
  }

  .steps-path {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
  }

  .step-card:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 44px;
    right: -12px;
    width: 24px;
    border-top: 2px dashed rgba(255, 255, 255, 0.15);
    z-index: 1;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cost-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .stack-stage {
    min-height: 520px;
  }

  .stack-card {
    width: 310px;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }
}

@media (min-width: 860px) {
  .cta-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
  }

  .cta-actions {
    margin-top: 0;
    flex-shrink: 0;
  }
}
