/* ============================================================
   Praxa Tech — v3.2
   Brand system locked. Edit tokens only inside :root.
   ============================================================ */

:root {
  /* Primary */
  --ink:        #111111;
  --paper:      #FFFFFF;
  --bone:       #F7F5F0;

  /* Warm neutrals */
  --graphite:   #2A2A2A;
  --mid:        #5B5B5B;
  --mute:       #9A9A9A;
  --rule:       #E8E6E1;
  --hush:       #F2F0EB;

  /* Pine — the brand colour */
  --pine:       #1F4233;
  --pine-deep:  #163127;
  --pine-mute:  #A8C0B5;
  --pine-soft:  #C9D8D1;

  /* Functional */
  --stop:       #7A2A2A;

  /* Fonts */
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
a { color: var(--pine); text-decoration: none; }
a:hover { color: var(--pine-deep); }

/* ---------- Base ---------- */
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.num { font-family: var(--mono); font-weight: 500; }

/* Skip link */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--pine);
  color: var(--bone);
  padding: 12px 20px;
  z-index: 1000;
}
.skip:focus { left: 16px; top: 16px; }

/* Focus rings */
:focus-visible {
  outline: 3px solid var(--pine);
  outline-offset: 2px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
}

.section { padding: 120px 0; }
@media (max-width: 768px) {
  .section { padding: 80px 0; }
}

.section--paper { background: var(--paper); }
.section--bone  { background: var(--bone); }
.section--pine  { background: var(--pine); color: var(--bone); }
.section--ink   { background: var(--ink); color: var(--bone); }

/* ---------- Typography ---------- */
.display {
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
h1, .h1 {
  font-size: clamp(32px, 4.4vw, 40px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
}
h2, .h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h3, .h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}
.body-sm { font-size: 14px; line-height: 1.5; }
.caption {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--pine);
}
.section--pine .caption { color: var(--pine-mute); }

.lead { color: var(--mid); }
.section--pine .lead { color: var(--pine-soft); }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 80px;
  display: flex;
  align-items: center;
  z-index: 100;
  background: transparent;
  transition: background 200ms ease, border-color 200ms ease;
  border-bottom: 1px solid transparent;
}
.header__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--pine);
}
.header.is-on-hero .wordmark { color: var(--bone); }
.header.is-scrolled {
  background: var(--paper);
  border-bottom-color: var(--rule);
}
.header.is-scrolled .wordmark { color: var(--pine); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 4px;
  transition: background 150ms ease, color 150ms ease, transform 150ms ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; stroke-width: 1.5; }
.btn--primary {
  background: var(--pine);
  color: var(--bone);
}
.btn--primary:hover {
  background: var(--pine-deep);
  color: var(--bone);
}
.btn--ghost-pine {
  background: var(--bone);
  color: var(--pine);
}
.btn--ghost-pine:hover {
  background: var(--paper);
  color: var(--pine-deep);
}
.btn--small {
  padding: 10px 16px;
  font-size: 14px;
}

/* Header CTA: on hero (Pine bg) it's bone; on scrolled (paper) it's pine */
.header__cta {
  background: var(--bone);
  color: var(--pine);
}
.header__cta:hover { background: var(--paper); color: var(--pine-deep); }
.header.is-scrolled .header__cta {
  background: var(--pine);
  color: var(--bone);
}
.header.is-scrolled .header__cta:hover {
  background: var(--pine-deep);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 22% 18%, rgba(255, 255, 255, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 90%, rgba(22, 49, 39, 0.55) 0%, transparent 60%),
    linear-gradient(135deg, #234B3A 0%, #1F4233 45%, #163127 100%);
  color: var(--bone);
  display: flex;
  align-items: center;
  padding: 140px 0 120px;
  overflow: hidden;
  isolation: isolate;
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
}
.hero .caption { color: var(--pine-mute); margin-bottom: 28px; }
.hero .display {
  color: var(--bone);
  margin-bottom: 0;
}
.hero__display { display: block; }
.hero__sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--pine-soft);
  max-width: 680px;
  margin-bottom: 40px;
}
.hero__meta {
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--pine-mute);
  letter-spacing: 0.02em;
}

/* Hero accent rule that draws in */
.hero__rule {
  display: block;
  height: 2px;
  width: 0;
  background: var(--pine-mute);
  margin: 32px 0 32px;
  border-radius: 2px;
}

/* Hero background mark: πρᾶξις */
.hero__bgmark {
  position: absolute;
  right: -3%;
  bottom: -16%;
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', Times, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(280px, 42vw, 620px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--pine-mute);
  opacity: 0;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
  animation: bgMarkIn 2200ms cubic-bezier(0.22, 1, 0.36, 1) 500ms forwards;
}
@keyframes bgMarkIn {
  to { opacity: 0.08; }
}

/* Soft top-left light */
.hero__glow {
  position: absolute;
  top: -30%;
  left: -20%;
  width: 70%;
  height: 80%;
  background: radial-gradient(circle, rgba(201, 216, 209, 0.10) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  animation: glowIn 1800ms ease-out 300ms forwards;
}
@keyframes glowIn {
  to { opacity: 1; }
}

/* Etymology marker, bottom-right */
.hero__etymology {
  position: absolute;
  bottom: 40px;
  right: clamp(20px, 5vw, 64px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px);
  animation: heroEtymIn 900ms cubic-bezier(0.22, 1, 0.36, 1) 1400ms forwards;
}
@keyframes heroEtymIn { to { opacity: 1; transform: none; } }
.hero__etymology-word {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--pine-soft);
  letter-spacing: 0.01em;
}
.hero__etymology-meaning {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--pine-mute);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hero__etymology-meaning em {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.01em;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 13px;
  color: var(--pine-soft);
}
@media (max-width: 720px) {
  .hero__etymology { display: none; }
}

/* Staggered hero entrance */
.hero-step,
.hero-word {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 800ms cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0ms),
    transform 800ms cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0ms);
  will-change: opacity, transform;
}
.hero-word { display: inline-block; margin-right: 0.18em; }
.hero-word:last-child { margin-right: 0; }

.hero__inner.is-visible .hero-step,
.hero__inner.is-visible .hero-word {
  opacity: 1;
  transform: none;
}
.hero__inner.is-visible .hero__rule {
  width: 56px;
  transition: width 900ms cubic-bezier(0.22, 1, 0.36, 1) 680ms,
              opacity 600ms ease 680ms;
}

@media (prefers-reduced-motion: reduce) {
  .hero-step, .hero-word { opacity: 1; transform: none; transition: none; }
  .hero__rule { width: 56px; }
  .hero__bgmark { opacity: 0.08; animation: none; }
  .hero__glow { opacity: 1; animation: none; }
}

/* ---------- Two-column grid ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 800px) {
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
}

.section-head { margin-bottom: 56px; max-width: 720px; }
.section-head .caption { margin-bottom: 16px; }
.section-head h2 { margin-bottom: 0; }

/* Pain list */
.pains { }
.pains li {
  padding: 24px 0;
  border-top: 1px solid var(--rule);
}
.pains li:last-child { border-bottom: 1px solid var(--rule); }
.pains strong {
  display: block;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  font-size: 17px;
}
.pains span { color: var(--mid); }

/* ---------- Metric strip ---------- */
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 40px;
}
.metrics__item {
  padding: 40px 32px;
  border-left: 1px solid var(--rule);
}
.metrics__item:first-child { border-left: 0; }
.metrics__num {
  font-family: var(--mono);
  font-size: 36px;
  font-weight: 500;
  color: var(--pine);
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 12px;
}
.metrics__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.metrics__line { color: var(--mid); font-size: 14px; line-height: 1.5; }
@media (max-width: 720px) {
  .metrics { grid-template-columns: 1fr; }
  .metrics__item { border-left: 0; border-top: 1px solid var(--rule); padding: 28px 0; }
  .metrics__item:first-child { border-top: 0; }
}

/* ---------- Steps (stacked, two-column) ---------- */
.steps-stack {
  display: flex;
  flex-direction: column;
  gap: 96px;
}
.step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.step__visual {
  display: flex;
  justify-content: center;
}
.step__card {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 3;
  background: var(--bone);
  border-radius: 16px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow:
    0 24px 48px -16px rgba(31, 66, 51, 0.10),
    0 4px 12px -2px rgba(17, 17, 17, 0.04);
  transition:
    transform 400ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 400ms cubic-bezier(0.22, 1, 0.36, 1);
}
.step__card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 36px 64px -16px rgba(31, 66, 51, 0.18),
    0 8px 20px -4px rgba(17, 17, 17, 0.06);
}
.step__card svg {
  width: 100%;
  height: auto;
  max-width: 320px;
}
.step__content { max-width: 480px; }
.step__heading {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.step__num {
  font-family: var(--mono);
  font-size: clamp(56px, 7vw, 84px);
  color: var(--pine);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.step__title {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0;
}
.step__rule {
  width: 72px;
  height: 2px;
  background: var(--pine-mute);
  margin-bottom: 24px;
}
.step__desc {
  color: var(--mid);
  font-size: 17px;
  line-height: 1.6;
}
@media (max-width: 800px) {
  .steps-stack { gap: 64px; }
  .step {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .step__card {
    max-width: 380px;
    padding: 36px;
  }
  .step__heading { gap: 16px; margin-bottom: 14px; }
  .step__rule { margin-bottom: 18px; }
  .step__desc { font-size: 16px; }
}

/* ---------- Step SVG animations ----------
   Each .step has class .reveal. When the IntersectionObserver adds
   .is-visible, child SVG elements transition with staggered delays.
   Transforms use transform-box: fill-box so transform-origin works
   against the element's own bounding box (cross-browser-safe). */

.step-svg .anim-bar,
.step-svg .anim-row,
.step-svg .anim-play,
.step-svg .anim-glass,
.step-svg .anim-block,
.step-svg .anim-check,
.step-svg .anim-rocket,
.step-svg .anim-line {
  opacity: 0;
}

/* ---- Step 01 Demo ---- */
.step-svg--demo .anim-bar {
  transform: translateX(-14px);
  transition:
    opacity 600ms ease-out,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.step.is-visible .step-svg--demo .anim-bar { opacity: 1; transform: none; }
.step.is-visible .step-svg--demo .bar-accent { opacity: 0.42; }
.step.is-visible .step-svg--demo .bar-1 { transition-delay: 240ms; }
.step.is-visible .step-svg--demo .bar-2 { transition-delay: 400ms; }
.step.is-visible .step-svg--demo .bar-3 { transition-delay: 560ms; }
.step.is-visible .step-svg--demo .bar-4 { transition-delay: 720ms; }
.step-svg--demo .anim-play {
  transform: scale(0.55);
  transform-box: fill-box;
  transform-origin: center;
  transition:
    opacity 500ms ease,
    transform 600ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.step.is-visible .step-svg--demo .anim-play {
  opacity: 1;
  transform: none;
  transition-delay: 920ms;
}

/* ---- Step 02 Discovery ---- */
.step-svg--discovery .anim-check {
  stroke-dasharray: 32;
  stroke-dashoffset: 32;
  opacity: 1;
  transition: stroke-dashoffset 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.step.is-visible .step-svg--discovery .anim-check { stroke-dashoffset: 0; }
.step.is-visible .step-svg--discovery .check-1 { transition-delay: 240ms; }
.step.is-visible .step-svg--discovery .check-2 { transition-delay: 460ms; }
.step.is-visible .step-svg--discovery .check-3 { transition-delay: 680ms; }

.step-svg--discovery .anim-row {
  transform: translateX(-8px);
  transition:
    opacity 500ms ease-out,
    transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}
.step.is-visible .step-svg--discovery .anim-row { opacity: 1; transform: none; }
.step.is-visible .step-svg--discovery .row-1 { transition-delay: 360ms; }
.step.is-visible .step-svg--discovery .row-2 { transition-delay: 580ms; }
.step.is-visible .step-svg--discovery .row-3 { transition-delay: 800ms; }

.step-svg--discovery .anim-glass {
  transform: scale(0.55) translate(6px, 6px);
  transform-box: fill-box;
  transform-origin: center;
  transition:
    opacity 500ms ease,
    transform 700ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.step.is-visible .step-svg--discovery .anim-glass {
  opacity: 1;
  transform: none;
  transition-delay: 920ms;
}

/* ---- Step 03 Build ---- */
.step-svg--build .anim-block {
  transform: translateY(28px);
  transform-box: fill-box;
  transform-origin: center;
  transition:
    opacity 600ms ease-out,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
.step.is-visible .step-svg--build .anim-block { opacity: 1; transform: none; }
.step.is-visible .step-svg--build .block-bot { transition-delay: 240ms; }
.step.is-visible .step-svg--build .block-mid { transition-delay: 480ms; }
.step.is-visible .step-svg--build .block-top { transition-delay: 720ms; }

/* ---- Ambient (continuous) animations ----
   Triggered once the step is in-view (.step.is-visible).
   Honour prefers-reduced-motion (handled at the bottom of this file). */

/* Demo: highlight bar cycles through the 4 content rows */
.ambient-scan { opacity: 0; }
.step.is-visible .ambient-scan {
  animation: demoScan 5s ease-in-out 1400ms infinite;
}
@keyframes demoScan {
  0%, 4%   { transform: translateY(0);  opacity: 0; }
  10%, 22% { transform: translateY(0);  opacity: 0.13; }
  30%, 42% { transform: translateY(16px); opacity: 0.13; }
  50%, 62% { transform: translateY(32px); opacity: 0.18; }
  70%, 82% { transform: translateY(48px); opacity: 0.13; }
  92%      { opacity: 0; }
  100%     { transform: translateY(0);  opacity: 0; }
}

/* Discovery: magnifier roams around the document */
.step.is-visible .step-svg--discovery .anim-glass {
  animation: glassRoam 8s ease-in-out 1500ms infinite;
}
@keyframes glassRoam {
  0%,  100% { transform: translate(0, 0); }
  14%       { transform: translate(-100px, -88px); }
  28%       { transform: translate(-100px, -50px); }
  42%       { transform: translate(-100px, -12px); }
  56%       { transform: translate(-30px,  -50px); }
  70%       { transform: translate(-30px,  -88px); }
  85%       { transform: translate(-60px,  -30px); }
}

/* Build: progress bar inside the top (highlighted) block */
.ambient-progress {
  transform: scaleX(0);
  transform-box: fill-box;
  transform-origin: left center;
  opacity: 0;
}
.step.is-visible .ambient-progress {
  animation: buildProgress 3.4s ease-in-out 1700ms infinite;
}
@keyframes buildProgress {
  0%, 4%    { transform: scaleX(0);    opacity: 0; }
  12%       { transform: scaleX(0);    opacity: 0.7; }
  60%, 72%  { transform: scaleX(1);    opacity: 0.7; }
  86%       { transform: scaleX(1);    opacity: 0; }
  100%      { transform: scaleX(0);    opacity: 0; }
}

/* ---- Step 04 Go-live: full launch card ---- */
.step__card--launch {
  padding: 0;
  overflow: hidden;
}
.launch-streaks {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}
.streak {
  position: absolute;
  top: var(--top, 50%);
  right: -15%;
  width: var(--w, 40px);
  height: 2px;
  background: var(--pine);
  opacity: 0;
  border-radius: 2px;
  transform-origin: center;
  /* rotate FIRST so the subsequent translate runs along the streak's
     own rotated X-axis (its length), not the world X-axis. -45deg
     matches the rocket's effective 45° upper-right heading. */
  transform: rotate(-45deg) translateX(120px);
}
.step.is-visible .streak {
  animation: streakFly var(--t, 2.2s) linear var(--d, 0s) infinite;
}
@keyframes streakFly {
  0%   { transform: rotate(-45deg) translateX(120px);  opacity: 0; }
  10%  { opacity: var(--o, 0.3); }
  90%  { opacity: var(--o, 0.3); }
  100% { transform: rotate(-45deg) translateX(-620px); opacity: 0; }
}
.launch-vignette {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at 50% 50%, transparent 35%, var(--bone) 88%);
  pointer-events: none;
}
.launch-rocket {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  color: var(--pine);
  filter: drop-shadow(0 0 16px rgba(31, 66, 51, 0.35));
  opacity: 0;
  /* 7° CW on Lucide's natural ~52° rocket-body angle = clean 45° up-right.
     Streak rotation (-45°) is parallel; streak motion runs opposite. */
  transform: rotate(7deg) scale(0.7);
  transition:
    opacity 700ms ease,
    transform 800ms cubic-bezier(0.34, 1.56, 0.64, 1),
    filter 400ms ease;
}
.launch-rocket svg { width: 100%; height: 100%; display: block; }
.step.is-visible .launch-rocket {
  opacity: 1;
  transform: rotate(7deg) scale(1);
  transition-delay: 500ms;
  animation: rocketFly 3s ease-in-out 1300ms infinite;
}
@keyframes rocketFly {
  0%, 100% { transform: translate(0, 0) rotate(7deg); }
  50%      { transform: translate(3px, -7px) rotate(11deg); }
}
.step__card--launch:hover .launch-rocket {
  filter: drop-shadow(0 0 24px rgba(31, 66, 51, 0.55));
}
.step__card--launch:hover .streak {
  animation-duration: calc(var(--t, 2.2s) * 0.65);
}

@media (prefers-reduced-motion: reduce) {
  .step-svg .anim-bar,
  .step-svg .anim-row,
  .step-svg .anim-play,
  .step-svg .anim-glass,
  .step-svg .anim-block,
  .step-svg .anim-check {
    opacity: 1;
    transform: none;
    stroke-dashoffset: 0;
    transition: none;
    animation: none;
  }
  .step-svg--demo .bar-accent { opacity: 0.42; }
  .step.is-visible .streak,
  .step.is-visible .launch-rocket,
  .step.is-visible .ambient-scan,
  .step.is-visible .ambient-progress,
  .step.is-visible .step-svg--discovery .anim-glass {
    animation: none;
  }
  .launch-rocket { opacity: 1; transform: rotate(7deg); }
}

/* ---------- Industry pills ---------- */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}
.pill {
  display: inline-block;
  padding: 8px 14px;
  background: var(--hush);
  color: var(--mid);
  border: 1px solid var(--rule);
  border-radius: 4px;
  font-size: 13px;
}

/* ---------- Deliverables ---------- */
.deliverables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 48px;
}
.deliverables li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  font-size: 16px;
}
.deliverables li:last-child,
.deliverables li:nth-last-child(2) { /* last row, both columns */
  /* keep border for visual rhythm */
}
.deliverables svg {
  width: 14px; height: 14px;
  stroke: var(--pine);
  stroke-width: 2;
  flex-shrink: 0;
  margin-top: 6px;
}
@media (max-width: 720px) {
  .deliverables { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Trust ---------- */
.trust {
  padding: 140px 0;
  background: var(--pine);
  color: var(--bone);
  position: relative;
  overflow: hidden;
}
.trust__inner { max-width: 720px; margin: 0 auto; text-align: left; position: relative; z-index: 1; }
.trust__eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--pine-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.trust p {
  font-size: 22px;
  line-height: 1.55;
  color: var(--bone);
  margin: 0;
  letter-spacing: -0.005em;
}
@media (max-width: 768px) {
  .trust { padding: 88px 0; }
  .trust p { font-size: 19px; }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.field label .req { color: var(--pine); }
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  color: var(--ink);
  transition: border-color 120ms ease, box-shadow 120ms ease;
  font-family: var(--sans);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--pine);
  box-shadow: 0 0 0 3px rgba(31, 66, 51, 0.12);
}
.field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form__error {
  display: none;
  padding: 12px 16px;
  background: rgba(122, 42, 42, 0.06);
  border: 1px solid rgba(122, 42, 42, 0.2);
  border-radius: 4px;
  color: var(--stop);
  font-size: 14px;
  margin-bottom: 20px;
}
.form__error.is-visible { display: block; }

.form__submit {
  margin-top: 8px;
}
.form__submit .btn { width: 100%; justify-content: center; }
@media (min-width: 600px) {
  .form__submit .btn { width: auto; }
}

.turnstile-wrap { margin: 20px 0 8px; }

.success {
  background: var(--bone);
  border-left: 3px solid var(--pine);
  padding: 32px;
  border-radius: 0 4px 4px 0;
}
.success p { font-size: 17px; color: var(--ink); margin-bottom: 12px; }
.success__ref {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--mid);
  letter-spacing: 0.02em;
}

.next-card {
  background: var(--bone);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 24px;
}
.next-card h3 { margin-bottom: 16px; }
.next-card ol {
  counter-reset: step;
  padding: 0;
}
.next-card ol li {
  counter-increment: step;
  padding: 12px 0;
  padding-left: 32px;
  position: relative;
  color: var(--mid);
  font-size: 14px;
  line-height: 1.5;
  border-bottom: 1px solid var(--rule);
}
.next-card ol li:last-child { border-bottom: 0; padding-bottom: 0; }
.next-card ol li:first-child { padding-top: 0; }
.next-card ol li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 11px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--pine);
  font-weight: 500;
}
.next-card ol li:first-child::before { top: -1px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--bone);
  padding: 80px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer .wordmark {
  color: var(--pine-soft);
  font-size: 22px;
  display: block;
  margin-bottom: 8px;
}
.footer__tag { color: var(--pine-soft); font-size: 14px; }
.footer__contact a { color: var(--bone); }
.footer__contact a:hover { color: var(--pine-soft); }
.footer__contact div { margin-bottom: 6px; font-size: 14px; }
.footer__contact .site-link { color: var(--pine-soft); }
.footer__links { display: flex; flex-direction: column; gap: 8px; }
.footer__links a { color: var(--bone); font-size: 14px; }
.footer__links a:hover { color: var(--pine-soft); }
.footer__bottom {
  border-top: 1px solid var(--graphite);
  padding-top: 24px;
  font-size: 12px;
  color: var(--mute);
}
@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 400ms ease-out, transform 400ms ease-out;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
