/* propane — landing page. "Kinetic pitch geometry": hairline white line-art over
   pure black that draws itself on scroll. Builds entirely on brand.css tokens —
   no colors or fonts beyond the shared system. Animation is restricted to
   transform / opacity / stroke-dashoffset so the scroll loop stays GPU-cheap. */

/* ── fixed pitch-geometry canvas ──────────────────────────────────────────────
   A single full-viewport SVG sits behind everything, pinned. Its paths are drawn
   by landing.mjs as scroll progresses (stroke-dashoffset → 0). It never blocks
   pointer input and sits below the page content. */
.pitch {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.pitch svg {
  width: 100%;
  height: 100%;
  display: block;
}
/* hairline engineered strokes — never blobby. Dash setup is written by JS per
   path (pathLength based); these are the static, brand-consistent defaults. */
.pitch [data-draw] {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pitch .ln-faint  { stroke: var(--line-2); }
.pitch .ln-mute   { stroke: var(--ink-4); }
.pitch .ln-hair   { stroke-width: 1; }
.pitch .ln-bold   { stroke-width: 1.5; }
.pitch .nodepulse { fill: var(--ink); stroke: none; }

/* moving ball that rides the hero trajectory arc; position driven by JS via the
   --ball var (0..1 along the arc). */
.pitch .ball {
  fill: var(--ink);
  filter: drop-shadow(0 0 10px rgba(255,255,255,.55));
}

/* the whole page scrolls above the fixed canvas */
.page { position: relative; z-index: 1; }

/* ── nav ──────────────────────────────────────────────────────────────────────
   brand.css gives .nav a permanent blur. On the landing page we want it fully
   transparent at the top and only frost once scrolled, so we neutralise the base
   look and re-apply it via .is-scrolled (toggled in JS). */
.nav.nav--landing {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
  transition: background var(--t) var(--ease),
              backdrop-filter var(--t) var(--ease),
              border-color var(--t) var(--ease);
}
.nav.nav--landing.is-scrolled {
  background: rgba(0, 0, 0, .62);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav .nav-actions { display: flex; align-items: center; gap: .6rem; }
@media (max-width: 520px) {
  .nav .nav-actions .btn--ghost { display: none; }
}

/* ── shared section rhythm ────────────────────────────────────────────────────
   Every beat is a generous full scroll moment with lots of negative space. */
.beat {
  position: relative;
  padding-block: clamp(96px, 17vh, 200px);
}
.beat > .wrap { position: relative; }
.beat-head { max-width: 56ch; }
.beat-head .kicker { display: block; margin-bottom: 1.1rem; }
.beat-head h2 { margin-bottom: 1rem; }
.beat-head p { font-size: clamp(1rem, 1.7vw, 1.2rem); color: var(--ink-2); max-width: 48ch; }

/* ── hero ─────────────────────────────────────────────────────────────────────*/
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-block: clamp(120px, 20vh, 220px) clamp(80px, 12vh, 140px);
}
.hero .wrap { width: 100%; }
.hero .kicker { display: block; margin-bottom: 1.6rem; }
.hero h1 {
  max-width: 16ch;
  margin-bottom: 1.6rem;
}
/* fine, restrained line-break control on the big headline */
.hero h1 .nb { white-space: nowrap; }
.hero .sub {
  font-family: var(--mono);
  font-size: clamp(.84rem, 1.5vw, 1rem);
  letter-spacing: .02em;
  color: var(--ink-2);
  max-width: 46ch;
  margin-bottom: 2.4rem;
  line-height: 1.7;
}
.hero .cta-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.hero .telemetry {
  margin-top: clamp(48px, 9vh, 96px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  max-width: 640px;
}
.hero .telemetry .cell {
  background: rgba(7, 7, 7, .72);
  backdrop-filter: blur(6px);
  padding: 1.1rem 1.2rem;
}
.hero .telemetry .stat-num {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--ink);
  display: block;
  line-height: 1;
}
.hero .telemetry .stat-lab {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: .55rem;
  display: block;
}
@media (max-width: 560px) {
  .hero .telemetry { grid-template-columns: 1fr; max-width: 360px; }
}

/* a scroll cue under the hero */
.scroll-cue {
  margin-top: clamp(40px, 8vh, 80px);
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.scroll-cue .cue-line {
  width: 1px; height: 34px;
  background: linear-gradient(var(--ink-3), transparent);
  position: relative; overflow: hidden;
}
.scroll-cue .cue-line::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(var(--ink), transparent);
  transform: translateY(-100%);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue { 0% { transform: translateY(-100%); } 60%,100% { transform: translateY(100%); } }

/* ── how it works — 3 numbered steps ─────────────────────────────────────────*/
.steps {
  margin-top: clamp(48px, 8vh, 88px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.step {
  background: var(--bg-1);
  padding: clamp(22px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  min-height: 280px;
}
.step .step-n {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .2em;
  color: var(--ink-3);
}
.step-art {
  height: 116px;
  margin: 1.3rem 0 1.5rem;
}
.step-art svg { width: 100%; height: 100%; overflow: visible; }
.step-art [data-draw] {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.step-art .dot { fill: var(--ink); stroke: none; }
.step-art .dim { stroke: var(--ink-4); }
.step h3 { margin-bottom: .55rem; }
.step p { font-size: .95rem; color: var(--ink-2); }
.step .step-tag {
  margin-top: auto;
  padding-top: 1.2rem;
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-4);
}
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; }
}

/* ── variant fan-out ─────────────────────────────────────────────────────────*/
.fanout {
  margin-top: clamp(44px, 7vh, 80px);
  display: grid;
  grid-template-columns: 1.05fr 1.2fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.fanout-art {
  aspect-ratio: 5 / 4;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 90% at 8% 50%, rgba(255,255,255,.05), transparent 60%),
    var(--bg-1);
  overflow: hidden;
}
.fanout-art svg { width: 100%; height: 100%; display: block; overflow: visible; }
.fanout-art [data-draw] {
  fill: none;
  stroke: var(--ink-2);
  stroke-width: 1.1;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fanout-art .trunk { stroke: var(--ink); stroke-width: 1.6; }
.fanout-art .leaf { fill: var(--bg); stroke: var(--ink-2); stroke-width: 1.1; }
.fanout-art .src  { fill: var(--ink); stroke: none; }
.fanout-art .lab  { font-family: var(--mono); font-size: 9px; letter-spacing: .12em; fill: var(--ink-3); text-transform: uppercase; }
.fanout-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .55rem; }
.fanout-list li {
  display: flex; align-items: baseline; gap: .8em;
  font-size: .96rem; color: var(--ink-2);
}
.fanout-list li b { color: var(--ink); font-weight: 600; }
.fanout-list li .ix {
  font-family: var(--mono); font-size: .7rem; color: var(--ink-4);
  letter-spacing: .12em; min-width: 2.4em;
}
@media (max-width: 820px) {
  .fanout { grid-template-columns: 1fr; }
  .fanout-art { aspect-ratio: 16 / 10; }
}

/* ── scope strip ─────────────────────────────────────────────────────────────*/
.scope {
  padding-block: clamp(70px, 12vh, 130px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 7, 7, .55);
  backdrop-filter: blur(3px);
}
.scope .wrap {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 2rem;
}
.scope .scope-line {
  font-size: clamp(1.4rem, 3.4vw, 2.4rem);
  font-weight: 720; letter-spacing: -.035em; line-height: 1.08;
  max-width: 22ch;
}
.scope .scope-meta { display: grid; gap: 1.2rem; }
.scope .scope-meta .row { display: flex; align-items: baseline; gap: .8rem; }
.scope .scope-meta .k { font-family: var(--mono); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); min-width: 9ch; }
.scope .scope-meta .v { font-family: var(--mono); font-size: .9rem; color: var(--ink); }

/* ── pricing teaser ──────────────────────────────────────────────────────────*/
.pricing { text-align: center; }
.pricing .wrap { display: flex; flex-direction: column; align-items: center; }
.pricing .price-big {
  font-size: clamp(3rem, 11vw, 8rem);
  font-weight: 780; letter-spacing: -.05em; line-height: .95;
  margin-block: .4rem .2rem;
}
.pricing .price-big .unit { font-size: .32em; color: var(--ink-3); font-weight: 600; letter-spacing: -.02em; }
.pricing .price-sub { font-family: var(--mono); font-size: .82rem; letter-spacing: .04em; color: var(--ink-2); max-width: 40ch; margin-bottom: 2rem; }
.pricing .price-row { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }

/* ── footer ──────────────────────────────────────────────────────────────────*/
.foot {
  border-top: 1px solid var(--line);
  padding-block: clamp(40px, 7vh, 64px);
  background: rgba(0, 0, 0, .7);
  backdrop-filter: blur(4px);
}
.foot .wrap {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1.4rem;
}
.foot .brandmark { font-size: 1.05rem; }
.foot .foot-links { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.foot .foot-links a { font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); transition: color var(--t-fast) var(--ease); }
.foot .foot-links a:hover { color: var(--ink); }
.foot .fine { font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; color: var(--ink-4); }

/* ── reduced motion: everything draws fully, no scrubbing, no looping cues ────*/
@media (prefers-reduced-motion: reduce) {
  .pitch [data-draw] { stroke-dashoffset: 0 !important; }
  .step-art [data-draw], .fanout-art [data-draw] { stroke-dashoffset: 0 !important; }
  .scroll-cue .cue-line::after { animation: none; transform: none; }
  .pitch .ball { display: none; }
}
