:root {
  --bg: #ff7a1f;
  --surface: #ff8b3d;
  --surface-deep: #e8660c;
  --ink: #050f16;
  --muted: #3d1702;
  --accent: #050f16;
  --accent-ink: #ff7a1f;
  --field-1: #ffffff;
  --field-1-surface: #e8eef2;
  --field-1-ink: #050f16;
  --field-1-muted: #2b3945;
  --field-dark: #050f16;
  --field-dark-surface: #101e29;
  --field-dark-ink: #ffffff;
  --field-dark-muted: #c2ced8;

  --font-sans: 'General Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Strictly 5 typographic size tokens per viewport */
  --step-small: 15px;
  --step-body: 18px;
  --step-lead: 26px;
  --step-head: 44px;
  --step-display: 56px;

  --gutter: 32px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 1024px) {
  :root {
    --step-small: 15px;
    --step-body: 18px;
    --step-lead: 24px;
    --step-head: 36px;
    --step-display: 44px;
  }
}

@media (max-width: 640px) {
  :root {
    --step-small: 14px;
    --step-body: 17px;
    --step-lead: 21px;
    --step-head: 28px;
    --step-display: 34px;
    --gutter: 16px;
  }
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--ink);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background-color: var(--bg);
  color: var(--ink);
  font-size: var(--step-body);
  line-height: 1.5;
  overflow-x: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button,
input,
select {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 0.98;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.num {
  font-variant-numeric: tabular-nums;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

/* Page Frame & 12-Col Editorial Grid */
.frame {
  width: 100%;
  padding-inline: var(--gutter);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  width: 100%;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: var(--step-body);
  line-height: 1.1;
  padding: 18px 28px;
  cursor: pointer;
  transition: transform 220ms var(--ease-out), opacity 220ms var(--ease-out);
}

.btn-primary:hover {
  transform: translateY(-3px);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg);
  color: var(--ink);
  font-weight: 700;
  font-size: var(--step-body);
  line-height: 1.1;
  padding: 18px 28px;
  cursor: pointer;
  transition: transform 220ms var(--ease-out), opacity 220ms var(--ease-out);
}

.btn-light:hover {
  transform: translateY(-3px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: var(--step-body);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
}

.text-link:hover {
  opacity: 0.78;
  transform: translateX(3px);
}

/* Top Navigation Bar */
.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 24px;
  padding-inline: var(--gutter);
}

.wordmark {
  font-weight: 700;
  font-size: var(--step-body);
  letter-spacing: -0.03em;
  color: var(--field-dark-ink);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: var(--step-body);
  color: var(--field-dark-muted);
  transition: color 180ms var(--ease-out), opacity 180ms var(--ease-out);
}

.nav-links a:hover {
  color: var(--field-dark-ink);
}

.nav-cta {
  padding: 13px 22px;
  font-size: var(--step-small);
  background-color: var(--bg);
  color: var(--ink);
}

/* SECTION 0: HERO — View with two cards in the corner */
.hero {
  position: relative;
  min-height: 100svh;
  background-color: var(--field-dark);
  color: var(--field-dark-ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.hero-body {
  padding-inline: var(--gutter);
  padding-top: 24px;
  padding-bottom: 40px;
  flex: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  align-items: center;
}

.hero-copy {
  grid-column: 1 / 6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  z-index: 3;
}

.hero-title {
  font-size: var(--step-display);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 14ch;
  color: var(--field-dark-ink);
}

.hero-standfirst {
  font-size: var(--step-body);
  line-height: 1.5;
  color: var(--field-dark-muted);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding-top: 6px;
}

.hero-actions .btn-primary {
  background-color: var(--bg);
  color: var(--ink);
}

.hero-actions .text-link {
  color: var(--field-dark-ink);
}

.hero-stage {
  grid-column: 6 / 13;
  position: relative;
  min-height: 540px;
  background-color: var(--field-dark-surface);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-crossfade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-crossfade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1600ms var(--ease-out), transform 4500ms var(--ease-out);
}

.hero-crossfade img.is-active {
  opacity: 0.74;
  transform: scale(1);
}

.hero-pin {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--field-dark);
  color: var(--field-1);
  padding: 10px 16px;
  font-size: var(--step-small);
  font-weight: 500;
}

.pin-dot {
  width: 8px;
  height: 8px;
  background-color: var(--bg);
  display: inline-block;
  flex-shrink: 0;
}

.hero-corner-cards {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  padding: 28px;
  margin-top: auto;
}

.corner-card {
  width: 220px;
  background-color: var(--field-1);
  color: var(--field-1-ink);
  display: flex;
  flex-direction: column;
  transition: transform 240ms var(--ease-out);
}

.corner-card:hover {
  transform: translateY(-4px);
}

.corner-card-media {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background-color: var(--field-dark-surface);
}

.corner-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: transform 400ms var(--ease-out);
}

.corner-card:hover .corner-card-media img {
  transform: scale(1.05);
}

.corner-card-bar {
  min-height: 44px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  background-color: var(--field-1);
  color: var(--field-1-ink);
  font-size: var(--step-small);
  font-weight: 700;
}

/* SECTION 1: FEATURES — Paragraph with picture words */
.section-features {
  background-color: var(--field-1);
  color: var(--field-1-ink);
  padding-block: 148px;
}

.features-header-row {
  margin-bottom: 44px;
  align-items: end;
}

.features-heading {
  grid-column: 1 / 6;
  font-size: var(--step-head);
  max-width: 14ch;
}

.features-note {
  grid-column: 6 / 13;
  font-size: var(--step-body);
  color: var(--field-1-muted);
}

.picture-statement {
  grid-column: 1 / 13;
  font-size: var(--step-lead);
  line-height: 1.38;
  font-weight: 500;
  color: var(--field-1-ink);
  max-width: 62ch;
}

.features-bottom {
  margin-top: 64px;
  align-items: start;
}

.features-stat-mosaic {
  grid-column: 1 / 6;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background-color: var(--field-1-surface);
}

.mosaic-tile {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mosaic-tile-alt {
  background-color: var(--bg);
  color: var(--ink);
}

.mosaic-figure {
  font-size: var(--step-lead);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.mosaic-caption {
  font-size: var(--step-small);
  line-height: 1.4;
}

.features-support {
  grid-column: 6 / 13;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.features-support p {
  font-size: var(--step-body);
  line-height: 1.5;
}

/* SECTION 2: SHOWCASE + LIVE LANDING FLASH BUILDER & 6-SECTION INSPECTOR */
.section-showcase {
  background-color: var(--field-dark);
  color: var(--field-dark-ink);
  padding-block: 140px;
}

.showcase-top {
  margin-bottom: 48px;
  align-items: end;
}

.showcase-heading {
  grid-column: 1 / 6;
  font-size: var(--step-head);
  color: var(--field-dark-ink);
  max-width: 14ch;
}

.showcase-intro {
  grid-column: 6 / 13;
  font-size: var(--step-body);
  line-height: 1.5;
  color: var(--field-dark-muted);
}

.builder-workbench {
  grid-column: 1 / 13;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

/* Left Column: Onboarding Controls */
.builder-controls {
  grid-column: 1 / 5;
  background-color: var(--field-dark-surface);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.builder-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.builder-label {
  font-size: var(--step-small);
  font-weight: 700;
  color: var(--bg);
}

.builder-input {
  width: 100%;
  background-color: var(--field-1);
  color: var(--field-1-ink);
  padding: 12px 14px;
  font-size: var(--step-body);
  font-weight: 700;
}

.builder-hint {
  font-size: var(--step-small);
  color: var(--field-dark-muted);
}

.builder-pills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.builder-pill {
  padding: 10px 12px;
  background-color: var(--field-dark);
  color: var(--field-dark-ink);
  font-size: var(--step-small);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out);
}

.builder-pill.is-active,
.builder-pill[aria-selected="true"] {
  background-color: var(--bg);
  color: var(--ink);
}

.builder-style-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.builder-style-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background-color: var(--field-dark);
  color: var(--field-dark-ink);
  text-align: left;
  cursor: pointer;
  transition: background-color 180ms var(--ease-out);
}

.builder-style-btn.is-active {
  background-color: var(--field-1);
  color: var(--field-1-ink);
}

.style-swatch {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: inline-block;
}

.swatch-dark {
  background-color: #050f16;
}

.swatch-minimal {
  background-color: #ffffff;
}

.swatch-warm {
  background-color: #ff7a1f;
}

.style-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.style-meta strong {
  font-size: var(--step-small);
  font-weight: 700;
}

.style-meta span {
  font-size: var(--step-small);
  opacity: 0.8;
  line-height: 1.3;
}

.builder-summary-box {
  background-color: var(--field-dark);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.builder-wa-preview {
  font-size: var(--step-small);
  line-height: 1.45;
  color: var(--field-dark-ink);
}

.builder-wa-preview strong {
  color: var(--bg);
  display: block;
  margin-bottom: 4px;
}

.builder-submit-btn {
  width: 100%;
  text-align: center;
  font-size: var(--step-small);
  padding: 14px 16px;
}

/* Right Column: Live 6-Section Browser Viewport */
.builder-viewport-wrap {
  grid-column: 5 / 13;
  background-color: var(--field-dark-surface);
  display: flex;
  flex-direction: column;
}

.browser-chrome {
  background-color: #09151f;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.browser-url-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--field-dark-surface);
  padding: 10px 14px;
}

.browser-ssl {
  background-color: var(--bg);
  color: var(--ink);
  font-size: var(--step-small);
  font-weight: 700;
  padding: 3px 8px;
}

.browser-url {
  font-size: var(--step-small);
  font-weight: 700;
  color: var(--field-dark-ink);
}

.browser-section-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sec-jump {
  padding: 7px 12px;
  background-color: var(--field-dark-surface);
  color: var(--field-dark-muted);
  font-size: var(--step-small);
  font-weight: 700;
  cursor: pointer;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out);
}

.sec-jump:hover,
.sec-jump.is-active {
  background-color: var(--bg);
  color: var(--ink);
}

/* Live Client Landing Page Themes inside Preview Canvas */
.preview-canvas {
  max-height: 540px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  transition: background-color 240ms var(--ease-out), color 240ms var(--ease-out);
}

.preview-canvas.theme-dark {
  --pv-bg: #08131c;
  --pv-surface: #112230;
  --pv-ink: #ffffff;
  --pv-muted: #b6c4d0;
  --pv-accent: #ff7a1f;
  --pv-accent-ink: #050f16;
}

.preview-canvas.theme-minimal {
  --pv-bg: #ffffff;
  --pv-surface: #e8eef2;
  --pv-ink: #050f16;
  --pv-muted: #354552;
  --pv-accent: #050f16;
  --pv-accent-ink: #ffffff;
}

.preview-canvas.theme-warm {
  --pv-bg: #ff7a1f;
  --pv-surface: #ff9147;
  --pv-ink: #050f16;
  --pv-muted: #3d1702;
  --pv-accent: #050f16;
  --pv-accent-ink: #ff7a1f;
}

.pv-section {
  background-color: var(--pv-bg);
  color: var(--pv-ink);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pv-section:nth-child(even) {
  background-color: var(--pv-surface);
}

.pv-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
}

.pv-brand {
  font-size: var(--step-body);
  font-weight: 700;
}

.pv-badge {
  background-color: var(--pv-accent);
  color: var(--pv-accent-ink);
  font-size: var(--step-small);
  font-weight: 700;
  padding: 4px 10px;
}

.pv-tag {
  font-size: var(--step-small);
  font-weight: 700;
  color: var(--pv-accent);
}

.preview-canvas.theme-warm .pv-tag,
.preview-canvas.theme-minimal .pv-tag {
  color: var(--pv-ink);
}

.pv-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  align-items: center;
}

.pv-hero-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pv-headline {
  font-size: var(--step-lead);
  font-weight: 700;
  line-height: 1.1;
}

.pv-sub {
  font-size: var(--step-small);
  line-height: 1.45;
  color: var(--pv-muted);
}

.pv-cta-btn {
  align-self: flex-start;
  background-color: var(--pv-accent);
  color: var(--pv-accent-ink);
  font-size: var(--step-small);
  font-weight: 700;
  padding: 12px 18px;
  cursor: pointer;
}

.pv-hero-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #050f16;
}

.pv-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.06);
}

.pv-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.pv-benefit-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pv-benefit-item strong {
  font-size: var(--step-small);
  font-weight: 700;
}

.pv-benefit-item span {
  font-size: var(--step-small);
  color: var(--pv-muted);
  line-height: 1.38;
}

.pv-catalog-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.pv-catalog-hint {
  font-size: var(--step-small);
  color: var(--pv-muted);
}

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

.ui-product-card {
  background-color: var(--pv-surface);
  color: var(--pv-ink);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.ui-prod-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.ui-prod-name {
  font-weight: 700;
  font-size: var(--step-body);
  color: var(--pv-ink);
}

.ui-prod-price {
  font-weight: 700;
  font-size: var(--step-small);
  color: var(--pv-ink);
  white-space: nowrap;
}

.ui-prod-desc {
  font-size: var(--step-small);
  line-height: 1.4;
  color: var(--pv-muted);
}

.ui-prod-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 14px;
  background-color: var(--pv-accent);
  color: var(--pv-accent-ink);
  font-weight: 700;
  font-size: var(--step-small);
  cursor: pointer;
}

.pv-quotes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pv-quote {
  background-color: var(--pv-bg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: var(--step-small);
  line-height: 1.42;
}

.pv-quote footer {
  font-weight: 700;
  color: var(--pv-muted);
}

.pv-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pv-faq-row {
  background-color: var(--pv-surface);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: var(--step-small);
}

.pv-faq-row span {
  color: var(--pv-muted);
}

.pv-footer-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: var(--step-small);
  color: var(--pv-muted);
}

/* SECTION 3: HOW IT WORKS — Connected Start-to-Finish Flow */
.section-process {
  background-color: var(--bg);
  color: var(--ink);
  padding-block: 148px;
}

.process-intro-row {
  margin-bottom: 48px;
  align-items: end;
}

.process-heading {
  grid-column: 1 / 6;
  font-size: var(--step-head);
  max-width: 13ch;
}

.process-lead {
  grid-column: 6 / 13;
  font-size: var(--step-body);
  line-height: 1.5;
  font-weight: 500;
}

/* Top Start-to-Finish Route Bar */
.flow-route-bar {
  grid-column: 1 / 13;
  display: grid;
  grid-template-columns: 1.1fr 2fr 1.1fr;
  align-items: stretch;
  background-color: var(--field-dark);
  color: var(--field-dark-ink);
  margin-bottom: 32px;
}

.flow-endpoint {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.flow-start {
  background-color: var(--field-dark-surface);
}

.flow-finish {
  background-color: var(--field-1);
  color: var(--field-1-ink);
}

.flow-badge {
  font-size: var(--step-small);
  font-weight: 700;
  color: var(--bg);
}

.flow-finish .flow-badge {
  color: var(--ink);
}

.flow-endpoint strong {
  font-size: var(--step-lead);
  line-height: 1.1;
}

.flow-track {
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 10px;
}

.flow-node {
  background-color: var(--field-dark-surface);
  color: var(--field-dark-ink);
  padding: 8px 14px;
  font-size: var(--step-small);
  font-weight: 700;
}

.flow-arrow {
  font-size: var(--step-lead);
  font-weight: 700;
  color: var(--bg);
}

/* 4-Stage Sequential Pipeline */
.flow-pipeline {
  grid-column: 1 / 13;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.flow-stage {
  background-color: var(--surface);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.flow-stage-final {
  background-color: var(--field-dark);
  color: var(--field-dark-ink);
}

.flow-stage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 8px;
}

.flow-time {
  background-color: var(--field-dark);
  color: var(--field-dark-ink);
  font-size: var(--step-small);
  font-weight: 700;
  padding: 5px 10px;
}

.flow-stage-final .flow-time {
  background-color: var(--bg);
  color: var(--ink);
}

.flow-connector {
  font-size: var(--step-small);
  font-weight: 700;
  color: var(--muted);
}

.flow-stage-final .flow-connector {
  color: var(--bg);
}

.process-stage-title {
  font-size: var(--step-lead);
  font-weight: 700;
  max-width: 15ch;
}

.process-stage-copy {
  font-size: var(--step-body);
  line-height: 1.48;
  color: var(--ink);
}

.flow-stage-final .process-stage-copy {
  color: var(--field-dark-muted);
}

.process-stage-meta {
  margin-top: auto;
  padding-top: 12px;
  font-size: var(--step-small);
  font-weight: 700;
  color: var(--muted);
}

.flow-stage-final .process-stage-meta {
  color: var(--bg);
}

/* SECTION 4: PRICING — Two plans, two fields (split) */
.section-pricing {
  width: 100%;
}

.pricing-split {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  width: 100%;
}

.plan-field {
  min-height: 82svh;
  padding: 64px var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
}

.plan-field-split {
  grid-column: 1 / 6;
  background-color: var(--field-1);
  color: var(--field-1-ink);
}

.plan-field-full {
  grid-column: 6 / 13;
  background-color: var(--field-dark);
  color: var(--field-dark-ink);
}

.plan-top {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.plan-name {
  font-size: var(--step-head);
  line-height: 0.98;
  max-width: 12ch;
}

.plan-who {
  font-size: var(--step-lead);
  line-height: 1.35;
  font-weight: 500;
}

.plan-details {
  font-size: var(--step-body);
  line-height: 1.52;
}

.plan-field-full .plan-details {
  color: var(--field-dark-muted);
}

.plan-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-top: auto;
}

.plan-price-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.plan-price {
  font-size: var(--step-display);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.035em;
}

.plan-period {
  font-size: var(--step-small);
  font-weight: 500;
}

/* Post-delivery transparent conditions band (unboxed editorial columns) */
.pricing-terms-band {
  background-color: var(--surface);
  color: var(--ink);
  padding-block: 64px;
  padding-inline: var(--gutter);
}

.terms-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.terms-heading {
  grid-column: 1 / 5;
  font-size: var(--step-head);
  max-width: 14ch;
}

.terms-items {
  grid-column: 5 / 13;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.term-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.term-box strong {
  font-size: var(--step-lead);
  line-height: 1.15;
}

.term-box p {
  font-size: var(--step-body);
  line-height: 1.48;
}

/* SECTION 5: FAQ — A band per question */
.section-faq {
  width: 100%;
}

.faq-header-band {
  background-color: var(--field-dark);
  color: var(--field-dark-ink);
  min-height: 32svh;
  padding: 56px var(--gutter);
  display: flex;
  align-items: flex-end;
}

.faq-header-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: end;
}

.faq-main-title {
  grid-column: 1 / 6;
  font-size: var(--step-head);
  color: var(--bg);
  max-width: 13ch;
}

.faq-main-sub {
  grid-column: 6 / 13;
  font-size: var(--step-body);
  line-height: 1.5;
  color: var(--field-dark-muted);
}

.faq-band {
  padding: 56px var(--gutter);
  width: 100%;
}

.faq-band-light {
  background-color: var(--field-1);
  color: var(--field-1-ink);
}

.faq-band-tone {
  background-color: var(--field-1-surface);
  color: var(--field-1-ink);
}

.faq-band-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.faq-question {
  grid-column: 1 / 6;
  font-size: var(--step-lead);
  line-height: 1.12;
  max-width: 18ch;
}

.faq-answer {
  grid-column: 6 / 13;
  font-size: var(--step-body);
  line-height: 1.55;
  color: var(--field-1-ink);
}

/* SECTION 6: FOOTER — Contact as the headline */
.site-footer {
  background-color: var(--bg);
  color: var(--ink);
  padding: 80px var(--gutter) 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 56px;
}

.footer-top-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.footer-brand-note {
  grid-column: 1 / 5;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand-note strong {
  font-size: var(--step-lead);
}

.footer-brand-note p {
  font-size: var(--step-body);
  line-height: 1.45;
}

.footer-onboarding-note {
  grid-column: 5 / 11;
  background-color: var(--surface);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-onboarding-note h2 {
  font-size: var(--step-lead);
  max-width: 18ch;
}

.footer-onboarding-note p {
  font-size: var(--step-body);
  line-height: 1.48;
}

.footer-back-top {
  grid-column: 11 / 13;
  justify-self: end;
  font-weight: 700;
  font-size: var(--step-body);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-monument {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-cta-link {
  display: inline-block;
  font-size: var(--step-display);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--ink);
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
}

.footer-cta-link:hover {
  opacity: 0.82;
  transform: translateX(6px);
}

.footer-bottom-meta {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  align-items: end;
  padding-top: 24px;
  font-size: var(--step-small);
}

.footer-legal-links {
  grid-column: 1 / 5;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.legal-trigger {
  font-weight: 700;
  font-size: var(--step-small);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.footer-credits {
  grid-column: 5 / 10;
  font-size: var(--step-small);
  line-height: 1.45;
  color: var(--muted);
}

.footer-credits a {
  text-decoration: underline;
}

.footer-location {
  grid-column: 10 / 13;
  justify-self: end;
  font-size: var(--step-small);
  font-weight: 700;
}

/* LEGAL MODAL (Ley 1581 de 2012) — display: none when closed so it never covers page text */
.legal-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(5, 15, 22, 0.82);
  display: none;
  visibility: hidden;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
}

.legal-modal-backdrop.is-open {
  display: flex;
  visibility: visible;
}

.legal-modal-dialog {
  background-color: var(--field-1);
  color: var(--field-1-ink);
  max-width: 720px;
  width: 100%;
  max-height: 86svh;
  overflow-y: auto;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.legal-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.legal-modal-head h3 {
  font-size: var(--step-lead);
  max-width: 22ch;
}

.legal-close-btn {
  background-color: var(--ink);
  color: var(--field-1);
  font-weight: 700;
  font-size: var(--step-small);
  padding: 10px 16px;
  cursor: pointer;
}

.legal-modal-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: var(--step-small);
  line-height: 1.55;
}

/* Motion Layer — Staggered Entrance (keeps content visible while animating transform) */
.reveal-item {
  opacity: 1;
  transform: translateY(0);
  transition: transform 650ms var(--ease-out), opacity 650ms var(--ease-out);
}

.js-motion .reveal-item.is-pending {
  opacity: 0.85;
  transform: translateY(22px);
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .js-motion .reveal-item.is-pending {
    opacity: 1;
    transform: none;
  }
}

/* RESPONSIVE TABLET (<= 1024px) */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
  .hero-copy {
    grid-column: 1 / 13;
    padding-bottom: 24px;
  }
  .hero-stage {
    grid-column: 1 / 13;
    min-height: 440px;
  }
  .features-heading,
  .features-note,
  .features-stat-mosaic,
  .features-support,
  .showcase-heading,
  .showcase-intro,
  .builder-controls,
  .builder-viewport-wrap,
  .process-heading,
  .process-lead,
  .terms-heading,
  .terms-items,
  .faq-main-title,
  .faq-main-sub,
  .faq-question,
  .faq-answer,
  .footer-brand-note,
  .footer-onboarding-note,
  .footer-back-top,
  .footer-legal-links,
  .footer-credits,
  .footer-location {
    grid-column: 1 / 13;
  }
  .process-columns,
  .terms-items,
  .flow-route-bar {
    grid-template-columns: 1fr;
  }
  .flow-pipeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .plan-field-split,
  .plan-field-full {
    grid-column: 1 / 13;
    min-height: auto;
  }
  .footer-back-top,
  .footer-location {
    justify-self: start;
  }
}

/* RESPONSIVE PHONE (<= 640px) */
@media (max-width: 640px) {
  .nav-links {
    display: none;
  }
  .hero-stage {
    min-height: 380px;
  }
  .hero-corner-cards {
    padding: 16px;
    gap: 12px;
    justify-content: space-between;
  }
  .corner-card {
    width: calc(50% - 6px);
  }
  .section-features,
  .section-showcase,
  .section-process {
    padding-block: 80px;
  }
  .ui-products-grid,
  .pv-hero-grid,
  .pv-benefits-grid,
  .pv-quotes-grid,
  .flow-pipeline {
    grid-template-columns: 1fr;
  }
  .plan-field {
    padding: 48px var(--gutter);
  }
  .plan-bottom .btn-primary,
  .plan-bottom .btn-light {
    width: 100%;
  }
  .faq-header-band {
    min-height: auto;
    padding: 40px var(--gutter);
  }
  .faq-band {
    padding: 36px var(--gutter);
  }
  .site-footer {
    padding: 56px var(--gutter) 36px;
    gap: 36px;
  }
  .legal-modal-dialog {
    padding: 24px;
  }
}
