:root {
  --bg: #f4efe4;
  --bg-alt: #ece5d8;
  --surface: rgba(255, 251, 245, 0.7);
  --surface-strong: rgba(255, 248, 240, 0.92);
  --ink: #132235;
  --muted: #556476;
  --line: rgba(19, 34, 53, 0.12);
  --accent: #cb5d1f;
  --accent-soft: #f1d1b7;
  --sky: #8fb9df;
  --shadow: 0 25px 60px rgba(19, 34, 53, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(143, 185, 223, 0.45), transparent 32%),
    radial-gradient(circle at 85% 8%, rgba(203, 93, 31, 0.18), transparent 18%),
    linear-gradient(180deg, #f7f1e7 0%, #f2ecdf 46%, #ebe2d3 100%);
  font-family: "Source Sans 3", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(19, 34, 53, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 34, 53, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 90%);
}

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

p {
  margin: 0;
  line-height: 1.55;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.98;
  font-family: "Space Grotesk", sans-serif;
}

.page-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding-bottom: 2rem;
}

.success-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
}

.success-card {
  max-width: 42rem;
}

.site-header,
.site-footer,
.proof-band,
.hero,
.section {
  backdrop-filter: blur(8px);
}

.site-header {
  position: sticky;
  top: 0.75rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.95rem 1.2rem;
  background: rgba(255, 250, 244, 0.8);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 18px 45px rgba(19, 34, 53, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--ink), #2e4f6f);
  color: #fff7f1;
  font-size: 0.95rem;
}

.site-nav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
}

.site-nav a {
  font-size: 0.98rem;
}

.section,
.proof-band,
.hero {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero,
.section {
  margin-top: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  gap: 1.4rem;
  padding: clamp(1.4rem, 2vw, 2rem);
}

.hero-copy,
.hero-panel,
.feature-card,
.timeline-step,
.cta-card {
  border-radius: calc(var(--radius-lg) - 8px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.2rem;
  min-height: 540px;
  padding: clamp(1rem, 1.8vw, 1.6rem);
}

.eyebrow,
.panel-label,
.proof-kicker,
.timeline-step span,
.tag-row span,
.fine-print {
  font-family: "IBM Plex Mono", monospace;
}

.eyebrow,
.panel-label {
  color: var(--accent);
  font-size: 0.83rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(3.2rem, 8vw, 6.9rem);
  letter-spacing: -0.06em;
}

.hero-text {
  max-width: 56ch;
  font-size: 1.2rem;
  color: var(--muted);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

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

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

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.4);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: 1.4rem;
  background:
    linear-gradient(180deg, rgba(255, 252, 248, 0.86), rgba(247, 239, 228, 0.86)),
    linear-gradient(135deg, rgba(143, 185, 223, 0.4), transparent 56%);
}

.hero-panel::after {
  position: absolute;
  right: -2rem;
  top: -1rem;
  width: 8rem;
  height: 8rem;
  border-radius: 2rem;
  transform: rotate(18deg);
  background: rgba(203, 93, 31, 0.08);
  content: "";
}

.signal-list {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.signal-card {
  position: relative;
  padding: 1rem 1rem 1rem 4rem;
  background: var(--surface-strong);
  border: 1px solid rgba(19, 34, 53, 0.08);
  border-radius: 1.25rem;
}

.signal-card h2 {
  margin-bottom: 0.55rem;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.signal-card p {
  color: var(--muted);
}

.signal-index {
  position: absolute;
  left: 1rem;
  top: 1.05rem;
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.9rem;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
  padding: 1.15rem 1.2rem;
  border-radius: 1.6rem;
  background: rgba(255, 250, 244, 0.78);
}

.proof-kicker {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-band p {
  font-size: 1.02rem;
  font-weight: 700;
}

.section {
  padding: clamp(1.4rem, 2vw, 2rem);
}

.section-alt {
  background:
    linear-gradient(135deg, rgba(143, 185, 223, 0.12), transparent 50%),
    rgba(255, 250, 244, 0.72);
}

.section-heading {
  display: grid;
  gap: 0.75rem;
  max-width: 60rem;
}

.section-heading.narrow {
  max-width: 44rem;
}

.section-heading h2 {
  font-size: clamp(2.1rem, 4vw, 4rem);
  letter-spacing: -0.05em;
}

.section-heading p:last-child {
  font-size: 1.1rem;
  color: var(--muted);
}

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

.feature-card,
.timeline-step,
.cta-card {
  padding: 1.2rem;
  background: var(--surface-strong);
  border: 1px solid rgba(19, 34, 53, 0.08);
}

.feature-card h3,
.timeline-step h3,
.cta-card h2 {
  margin-bottom: 0.7rem;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.feature-card p,
.timeline-step p,
.about-columns p,
.cta-card p {
  color: var(--muted);
  font-size: 1.04rem;
}

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

.timeline-step {
  min-height: 240px;
}

.timeline-step span {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.84rem;
}

.about-layout {
  background:
    linear-gradient(180deg, rgba(255, 250, 244, 0.78), rgba(244, 238, 227, 0.9)),
    radial-gradient(circle at 82% 30%, rgba(143, 185, 223, 0.18), transparent 24%);
}

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

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.tag-row span {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(19, 34, 53, 0.1);
  background: rgba(255, 255, 255, 0.45);
  color: var(--ink);
  font-size: 0.8rem;
}

.cta-section {
  background:
    linear-gradient(135deg, rgba(19, 34, 53, 0.95), rgba(46, 79, 111, 0.92)),
    linear-gradient(180deg, rgba(143, 185, 223, 0.2), transparent);
}

.cta-card {
  background: rgba(255, 250, 244, 0.08);
  border-color: rgba(255, 250, 244, 0.18);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
  margin-top: 1.3rem;
}

.contact-details,
.contact-form {
  padding: 1.1rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 250, 244, 0.18);
  background: rgba(255, 250, 244, 0.06);
}

.contact-hook {
  font-size: 1.08rem;
}

.contact-block {
  margin-top: 1rem;
}

.contact-block h3 {
  margin-bottom: 0.4rem;
  font-size: 1rem;
  letter-spacing: 0;
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  color: #fff7ef;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(255, 250, 244, 0.18);
  border-radius: 0.9rem;
  background: rgba(255, 250, 244, 0.92);
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .button {
  width: 100%;
}

.cta-card .eyebrow,
.cta-card h2,
.cta-card p,
.cta-card .fine-print,
.cta-card a {
  color: #f9f3ea;
}

.cta-card .button-primary {
  background: #fff7ef;
  color: var(--ink);
}

.cta-card .button-secondary {
  border-color: rgba(255, 250, 244, 0.26);
  background: transparent;
  color: #fff7ef;
}

.fine-print {
  margin-top: 1rem;
  font-size: 0.76rem;
  opacity: 0.85;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 1rem;
  padding: 1rem 0 0.4rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .timeline,
  .proof-band,
  .card-grid,
  .about-columns,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: auto;
  }

  .site-header,
  .site-footer {
    border-radius: 1.4rem;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 1rem), var(--max-width));
  }

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

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

  .section-heading h2,
  .cta-card h2 {
    font-size: clamp(1.9rem, 10vw, 2.8rem);
  }

  .button {
    width: 100%;
  }

  .hero-actions,
  .cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}
