:root {
  --paper: #f8f6ea;
  --paper-strong: #fffdf5;
  --ink: #21304f;
  --muted: rgba(33, 48, 79, 0.72);
  --line: rgba(34, 68, 131, 0.16);
  --coffee: #3153a4;
  --warm: #ffd643;
  --warm-deep: #ffb800;
  --blue: #2a9df4;
  --blue-deep: #2563eb;
  --mint: #74d3ae;
  --shadow-soft: 0 22px 60px rgba(37, 72, 140, 0.11);
  --shadow-strong: 0 28px 76px rgba(37, 72, 140, 0.18);
  --radius-lg: 2rem;
  --radius-md: 1.25rem;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  -webkit-tap-highlight-color: rgba(42, 157, 244, 0.18);
  background:
    radial-gradient(circle at top left, rgba(42, 157, 244, 0.2), transparent 24rem),
    radial-gradient(circle at 82% 16%, rgba(255, 214, 67, 0.24), transparent 22rem),
    radial-gradient(circle at 72% 56%, rgba(116, 211, 174, 0.16), transparent 22rem),
    linear-gradient(180deg, #fffef8 0%, #f8f6ea 44%, #eef5ff 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
}

button,
input,
summary {
  font: inherit;
}

.site-chrome {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.site-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.7;
}

.site-glow-one {
  top: -10rem;
  left: -7rem;
  width: 28rem;
  height: 28rem;
  background: radial-gradient(circle, rgba(42, 157, 244, 0.26) 0%, rgba(42, 157, 244, 0) 70%);
}

.site-glow-two {
  right: -8rem;
  top: 12rem;
  width: 24rem;
  height: 24rem;
  background: radial-gradient(circle, rgba(255, 214, 67, 0.28) 0%, rgba(255, 214, 67, 0) 72%);
}

.site-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(37, 72, 140, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 72, 140, 0.04) 1px, transparent 1px);
  background-size: 2.2rem 2.2rem;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.25), transparent 70%);
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(var(--max-width), calc(100vw - 2rem));
  margin: 0 auto;
  padding: 1.1rem 0 4rem;
}

.site-header {
  position: sticky;
  top: 0.9rem;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.95rem 1.15rem;
  border: 2px solid rgba(42, 157, 244, 0.14);
  border-radius: 2rem;
  background: rgba(255, 253, 245, 0.82);
  box-shadow: 0 20px 40px rgba(37, 72, 140, 0.08);
  backdrop-filter: blur(20px);
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(42, 157, 244, 0.24);
  box-shadow: 0 26px 48px rgba(37, 72, 140, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand-wordmark {
  width: 5.5rem;
  height: auto;
  flex: 0 0 auto;
}

.brand-lockup {
  display: grid;
  gap: 0.1rem;
}

.brand-name {
  color: var(--ink);
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1;
}

.brand-label {
  color: var(--blue-deep);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.site-nav a:not(.button):hover,
.site-nav a:not(.button):focus-visible {
  color: var(--blue-deep);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.button:hover,
.button:focus-visible,
.footer-link:hover,
.footer-link:focus-visible {
  transform: translateY(-1px);
}

.button:focus-visible,
.footer-link:focus-visible,
.site-nav a:focus-visible,
.faq-item summary:focus-visible {
  outline: 2px solid rgba(42, 157, 244, 0.45);
  outline-offset: 3px;
}

.button-nav,
.button-secondary,
.footer-link {
  border-color: rgba(42, 157, 244, 0.18);
  background: rgba(255, 255, 255, 0.78);
}

.button-primary {
  color: #14306f;
  background: linear-gradient(135deg, #ffe86b 0%, #ffd643 42%, #74d3ae 100%);
  box-shadow: 0 18px 34px rgba(42, 157, 244, 0.18);
}

.button-secondary-warm {
  background: linear-gradient(135deg, rgba(42, 157, 244, 0.1), rgba(116, 211, 174, 0.14));
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.4rem;
  align-items: center;
  padding: 4rem 0 2.6rem;
}

.hero-copy {
  max-width: 33rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--blue-deep);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.final-cta h2 {
  margin: 0;
  font-family: "Trebuchet MS", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero h1 {
  font-size: clamp(2.75rem, 5.7vw, 4.85rem);
  max-width: 10.5ch;
}

.hero-text,
.section-copy,
.story-step p,
.pillar p,
.faq-item p,
.hero-poster-copy p,
.site-footer p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-text {
  max-width: 31rem;
}

.section-reveal {
  opacity: 1;
  transform: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.65rem;
}

.hero-notes {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.hero-notes li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--muted);
}

.hero-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--mint));
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.7rem;
}

.proof-pill {
  padding: 0.52rem 0.84rem;
  border: 1px solid rgba(42, 157, 244, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--blue-deep);
  font-weight: 700;
  font-size: 0.92rem;
}

.hero-media {
  display: flex;
  justify-content: flex-end;
}

.hero-poster {
  position: relative;
  width: min(44rem, 100%);
  min-height: 32rem;
  padding: 1.25rem;
  border: 2px solid rgba(42, 157, 244, 0.14);
  border-radius: 2rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.94) 0%, rgba(234, 246, 255, 0.94) 60%, rgba(248, 251, 224, 0.9) 100%);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}

.hero-poster::before {
  content: "";
  position: absolute;
  inset: auto auto 0 -3rem;
  width: 16rem;
  height: 16rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 214, 67, 0.3) 0%, rgba(255, 214, 67, 0) 72%);
}

.hero-poster::after {
  content: "";
  position: absolute;
  right: -3rem;
  top: -2rem;
  width: 16rem;
  height: 16rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(42, 157, 244, 0.24) 0%, rgba(42, 157, 244, 0) 72%);
}

.hero-poster-copy {
  position: relative;
  z-index: 2;
  width: min(17rem, 72%);
  padding: 0.95rem 1rem;
  border: 2px solid rgba(42, 157, 244, 0.12);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 30px rgba(37, 72, 140, 0.08);
}

.hero-poster-label,
.step-number,
.outcome-label {
  margin: 0 0 0.35rem;
  color: var(--blue-deep);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-image {
  border-radius: 1.3rem;
  box-shadow: 0 22px 40px rgba(57, 39, 25, 0.16);
}

.hero-image-primary {
  position: absolute;
  top: 3.3rem;
  right: 1.25rem;
  width: clamp(22rem, 50vw, 35rem);
  border: 2px solid rgba(42, 157, 244, 0.12);
}

.hero-image-secondary {
  position: absolute;
  left: 1.35rem;
  bottom: 1.4rem;
  width: clamp(9.5rem, 20vw, 12.8rem);
  border: 8px solid rgba(255, 255, 255, 0.96);
}

.story-section,
.proof-section,
.real-homes-section,
.faq-section {
  padding: 3.25rem 0 0;
}

.section-heading {
  display: grid;
  gap: 0.7rem;
  max-width: 45rem;
}

.section-heading-tight {
  max-width: 38rem;
}

.section-heading h2,
.final-cta h2 {
  font-size: clamp(2.25rem, 4vw, 3.75rem);
}

.story-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.story-step,
.pillar,
.proof-quote,
.outcome-row,
.faq-item,
.final-cta,
.site-footer {
  border: 2px solid rgba(42, 157, 244, 0.12);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-soft);
}

.story-step:nth-child(1),
.pillar:nth-child(1),
.outcome-row:nth-child(1) {
  border-color: rgba(42, 157, 244, 0.18);
}

.story-step:nth-child(2),
.pillar:nth-child(2),
.outcome-row:nth-child(2) {
  border-color: rgba(255, 214, 67, 0.22);
}

.story-step:nth-child(3),
.pillar:nth-child(3),
.outcome-row:nth-child(3) {
  border-color: rgba(116, 211, 174, 0.24);
}

.pillar:nth-child(4) {
  border-color: rgba(94, 117, 255, 0.18);
}

.story-step,
.pillar,
.proof-quote,
.faq-item {
  padding: 1.5rem;
  border-radius: var(--radius-md);
}

.story-step h3,
.pillar h3 {
  margin: 0;
  font-size: 1.22rem;
}

.story-step p,
.pillar p {
  margin: 0.75rem 0 0;
  font-size: 0.99rem;
}

.proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
  gap: 1.25rem;
  align-items: start;
  margin-top: 2rem;
}

.proof-quote-column {
  display: grid;
  gap: 1rem;
}

.proof-quote {
  margin: 0;
  position: relative;
  overflow: hidden;
}

.proof-quote::before {
  content: "“";
  position: absolute;
  top: 0.25rem;
  right: 1rem;
  color: rgba(42, 157, 244, 0.14);
  font-family: "Trebuchet MS", sans-serif;
  font-size: 4rem;
  line-height: 1;
}

.proof-quote p {
  margin: 0;
  max-width: 26rem;
  font-family: "Trebuchet MS", "Avenir Next", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.proof-outcome-column {
  display: grid;
  gap: 0.95rem;
}

.outcome-row {
  padding: 1.2rem 1.3rem;
  border-radius: 1.2rem;
}

.outcome-row strong {
  display: block;
  font-size: 1.2rem;
}

.proof-actions {
  margin-top: 0.25rem;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.faq-list {
  display: grid;
  gap: 0.95rem;
  margin-top: 1.8rem;
}

.faq-item {
  border-radius: 1.2rem;
}

.faq-item[open] {
  border-color: rgba(42, 157, 244, 0.28);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary span:first-child {
  font-size: 1.05rem;
  font-weight: 700;
}

.faq-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  color: var(--blue-deep);
  background: rgba(255, 214, 67, 0.28);
  font-size: 0.88rem;
  font-weight: 900;
}

.faq-item p {
  margin: 1rem 0 0;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(87, 68, 46, 0.09);
  font-size: 0.99rem;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  margin-top: 3.25rem;
  padding: 1.8rem;
  border-radius: 1.8rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(233, 247, 255, 0.92) 55%, rgba(250, 252, 222, 0.92) 100%);
  box-shadow: 0 24px 50px rgba(37, 72, 140, 0.14);
}

.final-cta .section-copy {
  margin: 0.8rem 0 0;
  max-width: 34rem;
}

.site-footer {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
  padding: 1.35rem 1.5rem;
  border-radius: 1.4rem;
}

.site-footer p {
  margin: 0;
  font-size: 0.97rem;
}

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

.footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0 1rem;
  border-radius: 999px;
}

.noscript-shell {
  width: min(38rem, calc(100vw - 2rem));
  margin: 4rem auto;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: rgba(255, 250, 244, 0.9);
  box-shadow: var(--shadow-soft);
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 3.2rem;
  }

  .hero-copy,
  .section-heading {
    max-width: none;
  }

  .hero-media {
    justify-content: flex-start;
  }

  .proof-layout,
  .final-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    flex-direction: column;
    align-items: stretch;
    border-radius: 1.6rem;
  }

  .brand {
    justify-content: flex-start;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .story-steps,
  .pillar-grid {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    min-height: 28rem;
  }

  .hero-image-primary {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin-top: 1rem;
  }

  .hero-image-secondary {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    width: clamp(7.6rem, 28vw, 10.4rem);
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(var(--max-width), calc(100vw - 1rem));
    padding-top: 0.55rem;
    padding-bottom: 3rem;
  }

  .site-header {
    gap: 0.95rem;
    padding: 1rem;
  }

  .brand {
    align-items: center;
    gap: 0.65rem;
  }

  .brand-wordmark {
    width: 4.7rem;
  }

  .brand-lockup {
    text-align: center;
  }

  .brand-name {
    font-size: 1.45rem;
  }

  .site-nav {
    width: 100%;
    gap: 0.75rem;
    font-size: 0.92rem;
  }

  .site-nav a:not(.button) {
    width: calc(50% - 0.4rem);
  }

  .site-nav .button {
    width: 100%;
  }

  .hero {
    padding-top: 2.4rem;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 13vw, 3.6rem);
  }

  .hero-text,
  .section-copy,
  .hero-notes li,
  .story-step p,
  .pillar p,
  .faq-item p {
    font-size: 1rem;
  }

  .hero-actions,
  .footer-links {
    flex-direction: column;
  }

  .hero-actions .button,
  .footer-link,
  .final-cta .button {
    width: 100%;
  }

  .hero-poster {
    min-height: 24rem;
    padding: 1rem;
  }

  .hero-poster-copy {
    width: 100%;
    padding: 0.35rem 0.2rem 0;
  }

  .hero-poster-copy p {
    font-size: 0.96rem;
  }

  .hero-image-secondary {
    width: 7.4rem;
    border-width: 6px;
  }

  .story-section,
  .proof-section,
  .real-homes-section,
  .faq-section {
    padding-top: 3.5rem;
  }

  .final-cta {
    margin-top: 3.5rem;
    padding: 1.4rem;
  }
}

@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;
    scroll-behavior: auto !important;
  }

  .hero,
  .story-section,
  .proof-section,
  .real-homes-section,
  .faq-section,
  .final-cta,
  .site-footer {
    opacity: 1;
    transform: none;
  }
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--paper-strong);
  box-shadow: var(--shadow-soft);
}

.skip-link:focus-visible {
  top: 1rem;
}

.hero,
.story-section,
.proof-section,
.real-homes-section,
.faq-section,
.final-cta,
.site-footer,
section[id] {
  scroll-margin-top: 7rem;
}
