:root {
  color-scheme: light;
  --ink: #11110f;
  --muted: #62645e;
  --line: #dbded3;
  --paper: #f7f7f2;
  --white: #ffffff;
  --soft: #eff2e8;
  --mint: #c7f3df;
  --blue: #9bc7ff;
  --yellow: #fff0a8;
  --accent: #11110f;
  --radius: 8px;
  --shadow: 0 28px 80px rgba(25, 28, 22, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(17, 17, 15, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 17, 15, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 56px 56px;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(247, 247, 242, 0.82);
  border-bottom: 1px solid var(--line);
  display: flex;
  height: 72px;
  justify-content: space-between;
  left: 0;
  padding: 0 clamp(18px, 4vw, 56px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand,
.nav-links,
.hero-actions,
.hero-stats,
.visual-topbar,
.preview-bar,
footer {
  align-items: center;
  display: flex;
}

.brand {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0;
}

.brand-mark {
  background: conic-gradient(from 180deg, var(--ink), var(--blue), var(--mint), var(--ink));
  border: 1px solid var(--ink);
  display: inline-block;
  height: 18px;
  width: 18px;
}

.nav-links {
  gap: 26px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.nav-links a,
.header-action,
.primary-button,
.secondary-button,
footer a {
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.header-action,
.primary-button,
.secondary-button {
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 700;
  min-height: 44px;
}

.header-action {
  align-items: center;
  background: var(--ink);
  color: var(--white);
  display: inline-flex;
  font-size: 0.86rem;
  padding: 0 18px;
}

.header-action:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.hero {
  display: grid;
  gap: clamp(32px, 5vw, 70px);
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.78fr);
  min-height: calc(100svh - 72px);
  padding: clamp(48px, 7vw, 92px) clamp(18px, 4vw, 56px) 44px;
}

.hero-copy {
  align-self: center;
  max-width: 920px;
}

.eyebrow {
  color: var(--muted);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", Inter, sans-serif;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(4rem, 8.5vw, 9.8rem);
  line-height: 0.88;
  margin-bottom: 26px;
  max-width: 1040px;
}

.hero-lede {
  color: var(--muted);
  font-size: clamp(1.06rem, 1.8vw, 1.42rem);
  line-height: 1.55;
  max-width: 720px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 36px;
}

.primary-button,
.secondary-button {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  padding: 0 20px;
}

.primary-button {
  background: var(--ink);
  color: var(--white);
}

.secondary-button {
  background: rgba(255, 255, 255, 0.52);
}

.primary-button:hover {
  background: #2b2b27;
}

.secondary-button:hover {
  background: var(--white);
}

.hero-stats {
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  flex-wrap: wrap;
  max-width: 720px;
  overflow: hidden;
}

.hero-stats div {
  background: rgba(255, 255, 255, 0.6);
  border-right: 1px solid var(--line);
  min-width: 180px;
  padding: 18px 20px;
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats dt {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.hero-stats dd {
  color: var(--muted);
  font-size: 0.86rem;
  margin: 6px 0 0;
}

.hero-visual {
  align-self: center;
  background:
    linear-gradient(135deg, rgba(199, 243, 223, 0.72), rgba(255, 255, 255, 0.75) 32%, rgba(155, 199, 255, 0.45)),
    var(--white);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.visual-topbar {
  background: var(--ink);
  color: var(--white);
  gap: 8px;
  height: 46px;
  padding: 0 16px;
}

.visual-topbar span {
  background: var(--white);
  border-radius: 999px;
  height: 8px;
  opacity: 0.7;
  width: 8px;
}

.visual-topbar strong {
  font-size: 0.78rem;
  margin-left: auto;
}

.signal-grid {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.signal-card,
.browser-preview,
.service-grid article,
.timeline article,
.plan-grid article {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(17, 17, 15, 0.14);
  border-radius: var(--radius);
}

.signal-card {
  padding: 18px;
}

.signal-card.active {
  background: var(--yellow);
  border-color: var(--ink);
}

.signal-card span,
.service-icon,
.timeline span,
.plan-grid span {
  color: var(--muted);
  display: inline-block;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.signal-card h2 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.signal-card p,
.service-grid p,
.timeline p,
.plan-grid p,
.relief-band p,
.section-heading p,
.final-cta p {
  color: var(--muted);
  line-height: 1.6;
}

.browser-preview {
  margin: 0 16px 16px;
  overflow: hidden;
}

.preview-bar {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  padding: 12px 14px;
}

.preview-bar span {
  color: var(--muted);
  font-size: 0.82rem;
}

.preview-bar strong {
  background: var(--mint);
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.7rem;
  padding: 4px 8px;
}

.preview-body {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.3fr 0.7fr;
  padding: 18px;
}

.preview-copy span,
.preview-copy b {
  display: block;
}

.preview-copy span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.preview-copy b {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.8rem;
  line-height: 1;
}

.preview-copy p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 12px 0 0;
}

.preview-panel {
  align-content: start;
  display: grid;
  gap: 8px;
}

.preview-panel span {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 10px;
  text-align: center;
}

.band,
.services,
.relief-band,
.plans,
.final-cta {
  padding: clamp(56px, 7vw, 98px) clamp(18px, 4vw, 56px);
}

.section-heading {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.6fr);
  margin-bottom: 34px;
}

.section-heading.compact {
  display: block;
  max-width: 900px;
}

.section-heading h2,
.relief-band h2,
.final-cta h2 {
  font-size: clamp(2.2rem, 4.4vw, 5.7rem);
  line-height: 0.95;
  margin-bottom: 0;
}

.section-heading p {
  font-size: 1.02rem;
  max-width: 610px;
}

.timeline,
.service-grid,
.plan-grid {
  display: grid;
  gap: 14px;
}

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

.timeline article,
.service-grid article,
.plan-grid article {
  padding: 22px;
}

.timeline h3,
.service-grid h3,
.plan-grid h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

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

.service-grid article:nth-child(1) {
  background: var(--mint);
}

.service-grid article:nth-child(2) {
  background: var(--white);
}

.service-grid article:nth-child(3) {
  background: var(--blue);
}

.service-grid article:nth-child(4) {
  background: var(--yellow);
}

.relief-band {
  align-items: end;
  background: var(--ink);
  color: var(--white);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.52fr);
}

.relief-band .eyebrow,
.relief-band p {
  color: rgba(255, 255, 255, 0.68);
}

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

.plan-grid article {
  min-height: 260px;
}

.plan-grid .featured {
  background: var(--ink);
  color: var(--white);
}

.plan-grid .featured p,
.plan-grid .featured span {
  color: rgba(255, 255, 255, 0.7);
}

.final-cta {
  background: linear-gradient(135deg, var(--yellow), var(--white) 44%, var(--mint));
  border-top: 1px solid var(--line);
  text-align: center;
}

.final-cta h2,
.final-cta p {
  margin-left: auto;
  margin-right: auto;
  max-width: 820px;
}

.final-cta p {
  font-size: 1.12rem;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  justify-content: space-between;
  padding: 28px clamp(18px, 4vw, 56px);
}

footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero,
  .section-heading,
  .relief-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    align-self: stretch;
  }

  .timeline,
  .service-grid,
  .plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 64px;
  }

  h1 {
    font-size: clamp(3.1rem, 15vw, 4.6rem);
  }

  .hero {
    padding-top: 38px;
  }

  .hero-stats {
    display: grid;
  }

  .hero-stats div,
  .hero-stats div:last-child {
    border-bottom: 1px solid var(--line);
    border-right: 0;
  }

  .hero-stats div:last-child {
    border-bottom: 0;
  }

  .preview-body,
  .timeline,
  .service-grid,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .section-heading h2,
  .relief-band h2,
  .final-cta h2 {
    font-size: clamp(2.4rem, 12vw, 4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
