/* =========================================================
   HOA Reserves — shared sub-page styles
   Layers on top of landing.css (tokens, .btn, .panel, .eyebrow, .nav, .footer,
   gauge/chart/list/deck tile components are all inherited from there)
   ========================================================= */

/* Faint fixed photographic backdrop — gives the dark screens depth & contrast
   (same spirit as the home "Get started" panel, but page-wide and very subtle).
   Uses a real .page-backdrop element (first child of <body>) rather than a pseudo
   so it composites reliably. */
.page-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url(assets/hero-tower.png);
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  opacity: 0.14;
}
/* soft scrim so text stays readable over the photo (separate layer = reliable) */
.page-backdrop::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,10,18,0.10) 0%, rgba(7,10,18,0.45) 55%, rgba(7,10,18,0.75) 100%);
}

/* ---------- Software page: static image background ----------
   Fades in as the user scrolls from the hero into the story section,
   then stays fixed behind every section below. Opacity is driven by
   inline script in software.html. */
.sw-static-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  will-change: opacity;
}
.sw-static-bg-veil {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(7,10,18,0.62) 0%,
      rgba(7,10,18,0.48) 40%,
      rgba(7,10,18,0.55) 75%,
      rgba(7,10,18,0.78) 100%);
  backdrop-filter: blur(10px) saturate(115%);
  -webkit-backdrop-filter: blur(10px) saturate(115%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

/* ---------- Software hero: intro video ----------
   Covers the hero on load, plays once, then fades out to reveal the
   frosted static background underneath. */
.sw-hero-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 1.1s var(--ease);
}
.sw-hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sw-hero-video::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,10,18,0.18) 0%, rgba(7,10,18,0.32) 60%, rgba(7,10,18,0.48) 100%);
  pointer-events: none;
}
.sw-hero-video.done { opacity: 0; }
.phero[data-defer-lit="1"] .phero-grid { position: relative; z-index: 3; }



/* Reduced-motion: show every hero/reveal end-state instead of the pre-animation hidden state */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .phero-eyebrow, .phero-sub, .phero-actions, .phero-visual,
  .float-card, .wf-node, .wf-badge,
  .phero h1 .ln > span,
  .lvl-list li, .proc-step, .proc-step .proc-badge {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* ---------- generic reveal (transition-based, no @keyframes) ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.reveal.d5 { transition-delay: 0.40s; }

/* ===================== PAGE HERO ===================== */
.phero {
  position: relative;
  padding: calc(var(--nav-h) + 16px) 0 80px;
  overflow: hidden;
}
.phero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(820px 520px at 80% -8%, rgba(238,138,91,0.14), transparent 60%),
    radial-gradient(720px 560px at 4% 6%, rgba(78,124,168,0.12), transparent 60%);
  pointer-events: none;
}
.phero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1.18fr;
  gap: 54px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.phero-copy { max-width: 560px; }
.phero-copy h1 {
  font-size: clamp(38px, 4.6vw, 62px);
  margin: 20px 0 0;
}
.phero-copy h1 .ln { display: block; overflow: hidden; }
.phero-copy h1 .ln > span {
  display: block;
  transform: translateY(110%);
  transition: transform 0.8s var(--ease);
}
.phero.lit h1 .ln > span { transform: none; }
.phero.lit h1 .ln:nth-child(2) > span { transition-delay: 0.08s; }
.phero.lit h1 .ln:nth-child(3) > span { transition-delay: 0.16s; }
.phero-sub {
  color: var(--text-2);
  font-size: 19px;
  line-height: 1.6;
  margin: 22px 0 0;
  max-width: 520px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease) 0.34s, transform 0.7s var(--ease) 0.34s;
}
.phero.lit .phero-sub { opacity: 1; transform: none; }
.phero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: 32px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease) 0.46s, transform 0.7s var(--ease) 0.46s;
}
.phero.lit .phero-actions { opacity: 1; transform: none; }
.phero-eyebrow {
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.6s var(--ease) 0.05s, transform 0.6s var(--ease) 0.05s;
}
.phero.lit .phero-eyebrow { opacity: 1; transform: none; }

/* hero visual frame (the animated dashboard / workflow) */
.phero-visual {
  position: relative;
  opacity: 0;
  transform: translateY(26px) scale(0.965);
  filter: blur(8px);
  transition: opacity 0.9s var(--ease) 0.3s, transform 0.9s var(--ease) 0.3s, filter 0.9s var(--ease) 0.3s;
}
.phero.lit .phero-visual { opacity: 1; transform: none; filter: none; }

/* floating mini-cards around a hero visual */
.float-card {
  position: absolute;
  background: linear-gradient(160deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  border: 1px solid var(--border-2);
  border-radius: 14px;
  padding: 12px 14px;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px -20px rgba(0,0,0,0.7);
  z-index: 4;
  opacity: 0;
  transform: translateY(14px) scale(0.92);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.phero.lit .float-card { opacity: 1; transform: none; }
.phero.lit .float-card.fc1 { transition-delay: 0.7s; }
.phero.lit .float-card.fc2 { transition-delay: 0.86s; }
.phero.lit .float-card.fc3 { transition-delay: 1.02s; }
.float-card .fc-k { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.float-card .fc-v { font-family: var(--font-display); font-weight: 700; font-size: 21px; margin-top: 3px; }
.float-card .fc-v.good { color: #7BD8A4; }
.float-card .fc-v.warm { color: var(--accent-2); }
.fc-spark { display: inline-flex; align-items: baseline; gap: 6px; }
.fc-trend { font-size: 12px; font-family: var(--font-mono); color: #7BD8A4; }

/* ===================== DASHBOARD MOCK (reusable) ===================== */
.dash {
  position: relative;
  background: linear-gradient(165deg, rgba(255,255,255,0.07), rgba(255,255,255,0.028));
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 40px 110px -50px rgba(0,0,0,0.85), inset 0 1px 0 rgba(255,255,255,0.06);
}
.dash::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(120% 80% at 80% -10%, rgba(238,138,91,0.12), transparent 60%);
  pointer-events: none;
}
.dash-bar { display: flex; align-items: center; gap: 8px; padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.dash-bar .dots { display: flex; gap: 6px; }
.dash-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.16); }
.dash-bar .dots i:first-child { background: var(--accent); }
.dash-title { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--text-2); }
.dash-pill { margin-left: auto; font-family: var(--font-mono); font-size: 10px; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 3px 9px; }

.dash-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; }
.dash-cell {
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  position: relative;
  min-width: 0;
}
.dash-cell .cell-lbl { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* mini stat row */
.stat-row { display: flex; gap: 10px; margin-top: 12px; }
.stat-box { flex: 1; background: rgba(255,255,255,0.035); border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
.stat-box .s-k { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.stat-box .s-v { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin-top: 4px; }
.stat-box .s-v.good { color: #7BD8A4; }

/* reusable count number */
.count { font-variant-numeric: tabular-nums; }

/* ---- Component Library: rows "added" one by one when panel is active ---- */
.comp-add { position: relative; }
.comp-add .comp-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 0 9px 12px; position: relative;
  border-bottom: 1px solid var(--border);
  opacity: 0; transform: translateX(-16px);
  transition: opacity 0.42s var(--ease), transform 0.42s var(--ease);
}
.comp-add .comp-row:last-child { border-bottom: none; }
/* little accent tick that flashes as the row lands */
.comp-add .comp-row::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 0; border-radius: 2px; background: var(--accent);
  transition: height 0.3s var(--ease);
}
.stage-panel.active .comp-add .comp-row,
.comp-add .comp-row.in { opacity: 1; transform: none; }
.stage-panel.active .comp-add .comp-row::before,
.comp-add .comp-row.in::before { height: 60%; }
.comp-add .comp-row.in:nth-child(1) { transition-delay: 0.10s; }
.comp-add .comp-row.in:nth-child(2) { transition-delay: 0.24s; }
.comp-add .comp-row.in:nth-child(3) { transition-delay: 0.38s; }
.comp-add .comp-row.in:nth-child(4) { transition-delay: 0.52s; }
.comp-add .comp-row.in:nth-child(5) { transition-delay: 0.66s; }
.comp-add .comp-row.in:nth-child(6) { transition-delay: 0.80s; }

/* ---- Report Builder: PDF deck flip loop (JS-driven transforms) ---- */
.rep-deck .deck-card { transition: transform 0.0s; } /* JS sets transform every frame */

/* draw-on-view line chart (transition-based) */
.draw-chart { width: 100%; height: auto; display: block; }
.draw-chart .dc-area { opacity: 0; transition: opacity 1.2s var(--ease) 0.3s; }
.draw-chart .dc-line {
  fill: none; stroke: var(--accent-2); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
}
.draw-chart.draw .dc-area { opacity: 1; }

/* bars that grow on view */
.bar-row { display: flex; align-items: flex-end; gap: 7px; height: 80px; margin-top: 10px; }
.bar-row .bar { flex: 1; background: linear-gradient(180deg, var(--accent), var(--accent-deep)); border-radius: 4px 4px 0 0; height: 0; transition: height 0.9s var(--ease); }
.bar-row .bar.cool { background: linear-gradient(180deg, var(--teal), #3c6b7a); opacity: 0.7; }

/* ===================== SCROLL STORY (sticky pinned visual + steps) ===================== */
.scroll-story { position: relative; padding: 30px 0 40px; }
.story-head { text-align: center; max-width: 720px; margin: 0 auto 10px; }
.story-head h2 { font-size: clamp(30px, 3.6vw, 46px); }
.story-head p { color: var(--text-2); margin-top: 14px; font-size: 18px; }

.story-cols {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: start;
}
/* left = sticky stage (offset below the sticky story-head title band) */
.story-sticky {
  position: sticky;
  top: calc(var(--nav-h) + 300px);
  height: min(56vh, 460px);
  display: flex;
  align-items: center;
}
.story-stage {
  position: relative;
  width: 100%;
  height: 100%;
}
.stage-panel {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
}
.stage-panel.active { opacity: 1; transform: none; pointer-events: auto; }

/* right = scrollable steps */
.story-steps { display: flex; flex-direction: column; }
.story-step {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 0;
}
.story-step .step-num {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
  transition: color 0.4s var(--ease);
}
.story-step .step-num::before {
  content: ""; width: 26px; height: 1px; background: rgba(255,255,255,0.2); transition: background 0.4s var(--ease), width 0.4s var(--ease);
}
.story-step.active .step-num { color: var(--accent-2); }
.story-step.active .step-num::before { background: var(--accent); width: 40px; }
.story-step h3 {
  font-size: clamp(24px, 2.5vw, 32px);
  margin: 14px 0 0;
  color: var(--text-2);
  transition: color 0.4s var(--ease), transform 0.5s var(--ease);
}
.story-step.active h3 { color: var(--text); }
.story-step p {
  margin: 14px 0 0; color: var(--muted); font-size: 17px; max-width: 440px;
  transition: color 0.4s var(--ease);
}
.story-step.active p { color: var(--text-2); }
.story-step .step-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.step-tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em;
  border: 1px solid var(--border); border-radius: 999px; padding: 5px 11px; color: var(--muted);
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease), background 0.4s var(--ease);
}
.story-step.active .step-tag { border-color: var(--border-2); color: var(--text-2); }
.story-step.active .step-tag.hot { background: rgba(238,138,91,0.14); border-color: rgba(238,138,91,0.4); color: var(--accent-2); }

/* progress rail down the left edge of the steps (desktop) */
.story-progress {
  position: absolute; left: -26px; top: 0; bottom: 0; width: 2px;
  background: rgba(255,255,255,0.08); border-radius: 2px;
}
.story-progress .fill { position: absolute; top: 0; left: 0; width: 100%; height: 0; background: linear-gradient(180deg, var(--accent), var(--accent-deep)); border-radius: 2px; }

/* ===================== WORKFLOW RAIL (reserve-studies hero) ===================== */
.wf-rail {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; position: relative;
}
.wf-node {
  background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 14px;
  padding: 16px 14px; position: relative;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), border-color 0.5s var(--ease), background 0.5s var(--ease);
}
.phero.lit .wf-node { opacity: 1; transform: none; }
.phero.lit .wf-node.n1 { transition-delay: 0.5s; }
.phero.lit .wf-node.n2 { transition-delay: 0.72s; }
.phero.lit .wf-node.n3 { transition-delay: 0.94s; }
.phero.lit .wf-node.n4 { transition-delay: 1.16s; }
.wf-node .wf-ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(238,138,91,0.14); border: 1px solid rgba(238,138,91,0.3); margin-bottom: 12px; }
.wf-node .wf-ico svg { width: 18px; height: 18px; stroke: var(--accent-2); fill: none; stroke-width: 1.8; }
.wf-node .wf-k { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.wf-node h4 { font-size: 15px; margin-top: 4px; }
.wf-arrow { position: absolute; top: 50%; right: -10px; transform: translateY(-50%); color: var(--faint); z-index: 2; font-size: 13px; }
.wf-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  background: rgba(123,216,164,0.12); border: 1px solid rgba(123,216,164,0.34); color: #9fe6bd;
  border-radius: 999px; padding: 8px 16px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em;
  opacity: 0; transform: translateY(10px) scale(0.96);
  transition: opacity 0.6s var(--ease) 1.45s, transform 0.6s var(--ease) 1.45s;
}
.phero.lit .wf-badge { opacity: 1; transform: none; }
.wf-badge .chk { width: 16px; height: 16px; border-radius: 50%; background: #7BD8A4; display: grid; place-items: center; }
.wf-badge .chk svg { width: 10px; height: 10px; stroke: #0b1f16; stroke-width: 3; fill: none; }

/* ===================== BENEFIT / TRUST GRID ===================== */
.section-head.left { text-align: left; max-width: 640px; }
.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 34px; }
.benefit {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px;
}
.benefit .b-ico { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(238,138,91,0.13); border: 1px solid rgba(238,138,91,0.28); }
.benefit .b-ico svg { width: 19px; height: 19px; stroke: var(--accent-2); fill: none; stroke-width: 1.8; }
.benefit h4 { font-size: 17px; }
.benefit p { color: var(--muted); font-size: 15px; margin-top: 5px; }

/* ===================== FEATURE CARDS ===================== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }
.fcard {
  position: relative;
  background: linear-gradient(165deg, rgba(255,255,255,0.055), rgba(255,255,255,0.022));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.fcard::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(90% 70% at 80% -10%, rgba(238,138,91,0.14), transparent 60%);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.fcard:hover { transform: translateY(-6px); border-color: var(--border-2); box-shadow: 0 30px 70px -40px rgba(0,0,0,0.8); }
.fcard:hover::before { opacity: 1; }
.fcard .f-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(238,138,91,0.13); border: 1px solid rgba(238,138,91,0.3); position: relative; z-index: 1; }
.fcard .f-ico svg { width: 22px; height: 22px; stroke: var(--accent-2); fill: none; stroke-width: 1.7; }
.fcard h4 { font-size: 18px; margin-top: 16px; position: relative; z-index: 1; }
.fcard p { color: var(--muted); font-size: 15px; margin-top: 8px; position: relative; z-index: 1; }
.fcard .f-foot { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.05em; color: var(--accent-2); position: relative; z-index: 1; }
.fcard .f-foot .arr { transition: transform 0.3s var(--ease); }
.fcard:hover .f-foot .arr { transform: translateX(5px); }

/* small inline visual inside feature cards */
.f-vis { margin-top: 16px; height: 56px; position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 5px; }
.f-vis .fb { flex: 1; background: linear-gradient(180deg, var(--accent), var(--accent-deep)); border-radius: 3px 3px 0 0; height: 40%; transition: height 0.5s var(--ease); }
.fcard:hover .f-vis .fb:nth-child(1) { height: 55%; }
.fcard:hover .f-vis .fb:nth-child(2) { height: 80%; }
.fcard:hover .f-vis .fb:nth-child(3) { height: 45%; }
.fcard:hover .f-vis .fb:nth-child(4) { height: 95%; }
.fcard:hover .f-vis .fb:nth-child(5) { height: 70%; }

/* ===================== CAPABILITY LIST (mobile-first features) ===================== */
.cap-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
.cap {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 24px 22px 26px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.cap::before {
  content: "";
  position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(var(--accent), var(--accent-deep));
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.45s var(--ease);
}
@media (hover: hover) {
  .cap:hover { transform: translateY(-4px); border-color: var(--border-2); background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03)); }
  .cap:hover::before { transform: scaleY(1); }
  .cap:hover .cap-ico { background: rgba(238,138,91,0.2); border-color: rgba(238,138,91,0.5); }
}
.cap-ico {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(238,138,91,0.13); border: 1px solid rgba(238,138,91,0.3);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.cap-ico svg { width: 22px; height: 22px; stroke: var(--accent-2); fill: none; stroke-width: 1.7; }
.cap-body { min-width: 0; padding-right: 28px; }
.cap-body h4 { font-size: 17px; line-height: 1.25; }
.cap-num { position: absolute; top: 20px; right: 22px; font-family: var(--font-mono); font-size: 12px; color: var(--faint); }
.cap-body p { color: var(--muted); font-size: 15px; margin-top: 7px; }
.cap-tag {
  display: inline-flex; align-items: center; margin-top: 14px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em;
  color: var(--accent-2);
  border: 1px solid rgba(238,138,91,0.28); border-radius: 999px;
  padding: 4px 11px; background: rgba(238,138,91,0.08);
}
@media (max-width: 760px) {
  .cap-list { grid-template-columns: 1fr; gap: 12px; }
  .cap { padding: 18px 20px 18px 22px; gap: 14px; }
  .cap-ico { width: 42px; height: 42px; }
  .cap-body { padding-right: 24px; }
}

/* ===================== PROSE SUMMARY (editorial text block) ===================== */
.prose-wrap {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 60px;
  margin-top: 14px;
  align-items: start;
}
.prose-aside { position: sticky; top: calc(var(--nav-h) + 44px); }
.prose-aside h2 { font-size: clamp(28px, 3.1vw, 40px); margin-top: 16px; }
.prose-aside .aside-note { color: var(--muted); font-size: 16px; margin-top: 18px; max-width: 340px; }
.prose { font-size: 18px; line-height: 1.78; color: var(--text-2); max-width: 66ch; }
.prose p { margin: 0 0 22px; }
.prose p.lead { font-size: 22px; line-height: 1.6; color: var(--text); margin-bottom: 28px; }
.prose .term { color: var(--accent-2); font-weight: 600; }
.prose b, .prose strong { color: var(--text); font-weight: 600; }
.prose-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
@media (max-width: 900px) {
  .prose-wrap { grid-template-columns: 1fr; gap: 30px; }
  .prose-aside { position: static; }
  .prose { font-size: 17px; }
  .prose p.lead { font-size: 20px; }
}

.benefit-grid.benefit-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .benefit-grid.benefit-3 { grid-template-columns: 1fr; } }

/* ===================== PROCESS TIMELINE (connected flow) ===================== */
.proc {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.proc-line {
  position: absolute;
  top: 21px; left: 12.5%; right: 12.5%;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  z-index: 0;
}
.proc-line .proc-fill {
  position: absolute; left: 0; top: 0; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  border-radius: 2px;
  box-shadow: 0 0 12px -2px var(--glow-warm);
}
.proc-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-right: 14px;
}
.proc-knob {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--bg-3);
  border: 1.5px solid rgba(255,255,255,0.18);
  margin-bottom: 16px;
  transition: border-color 0.5s var(--ease), background 0.5s var(--ease), box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}
.proc-knob svg { width: 21px; height: 21px; stroke: var(--muted); fill: none; stroke-width: 1.7; transition: stroke 0.5s var(--ease); }
.proc-step.on .proc-knob {
  border-color: var(--accent);
  background: rgba(238,138,91,0.14);
  box-shadow: 0 0 0 5px rgba(238,138,91,0.12);
  transform: translateY(-2px);
}
.proc-step.on .proc-knob svg { stroke: var(--accent-2); }
.proc-k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); transition: color 0.5s var(--ease); }
.proc-step.on .proc-k { color: var(--accent-2); }
.proc-step h4 { font-size: 17px; margin-top: 6px; color: var(--text-2); transition: color 0.5s var(--ease); }
.proc-step.on h4 { color: var(--text); }
.proc-step p { font-size: 14px; color: var(--muted); margin-top: 8px; }
.proc-badge {
  display: inline-flex; align-items: center; margin-top: 14px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em;
  color: var(--accent-2);
  border: 1px solid rgba(238,138,91,0.3); border-radius: 999px;
  padding: 5px 11px; background: rgba(238,138,91,0.08);
  opacity: 0; transform: translateY(6px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.proc-step.on .proc-badge { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .proc { grid-template-columns: 1fr; gap: 0; margin-top: 30px; }
  .proc-line { left: 21px; right: auto; top: 12px; bottom: 32px; width: 2px; height: auto; }
  .proc-line .proc-fill { width: 100%; height: 0; background: linear-gradient(180deg, var(--accent), var(--accent-deep)); }
  .proc-step { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 0 16px; padding: 0 0 30px 0; }
  .proc-step .proc-knob { margin-bottom: 0; flex: none; }
  .proc-step .proc-k { width: calc(100% - 60px); }
  .proc-step h4, .proc-step p, .proc-step .proc-badge { margin-left: 60px; }
  .proc-step h4 { margin-top: 4px; }
}

/* ===================== COMPARISON MATRIX (hero visual) ===================== */
.cmp-dash { }
.cmp-grid { display: grid; grid-template-columns: 1.3fr 0.9fr 0.9fr 0.9fr; gap: 0; margin-top: 4px; }
.cmp-grid > div { padding: 12px 8px; border-bottom: 1px solid var(--border); display: flex; align-items: center; }
.cmp-grid .cmp-head { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-2); justify-content: center; text-align: center; border-bottom: 1px solid var(--border-2); }
.cmp-grid .cmp-row-lbl { color: var(--text-2); font-size: 13px; }
.cmp-grid .cmp-cell { justify-content: center; }
.cmp-grid > div:nth-last-child(-n+4) { border-bottom: none; }
.cmp-chk { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(123,216,164,0.16); border: 1px solid rgba(123,216,164,0.4); opacity: 0; transform: scale(0.6); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.cmp-chk svg { width: 11px; height: 11px; stroke: var(--good); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.cmp-chk svg path { stroke-dasharray: 22; stroke-dashoffset: 22; transition: stroke-dashoffset 480ms cubic-bezier(.4,0,.2,1); }
.phero.lit .cmp-chk { opacity: 1; transform: none; }
.phero.lit .cmp-chk svg path { stroke-dashoffset: 0; }
.cmp-chk.dash { background: rgba(255,255,255,0.05); border-color: var(--border); }
.cmp-chk.dash::after { content: "—"; color: var(--faint); font-size: 13px; }
.cmp-chk.dash svg { display: none; }
/* Row-by-row stagger: Site inspection → Component review → Cost & life → Funding plan.
   Rows are tagged on .cmp-cell via JS (data-row="0..3"). Cells in each row tick in
   together; rows step 200ms apart, ~600ms warm-up so the eye lands on the dashboard. */
.phero.lit .cmp-cell[data-row="0"] .cmp-chk,
.phero.lit .cmp-cell[data-row="0"] .cmp-chk svg path { transition-delay: 0.60s; }
.phero.lit .cmp-cell[data-row="1"] .cmp-chk,
.phero.lit .cmp-cell[data-row="1"] .cmp-chk svg path { transition-delay: 0.80s; }
.phero.lit .cmp-cell[data-row="2"] .cmp-chk,
.phero.lit .cmp-cell[data-row="2"] .cmp-chk svg path { transition-delay: 1.00s; }
.phero.lit .cmp-cell[data-row="3"] .cmp-chk,
.phero.lit .cmp-cell[data-row="3"] .cmp-chk svg path { transition-delay: 1.20s; }
@media (prefers-reduced-motion: reduce) {
  .cmp-chk svg path { transition: none; stroke-dashoffset: 0; }
  .phero.lit .cmp-cell .cmp-chk,
  .phero.lit .cmp-cell .cmp-chk svg path { transition-delay: 0s !important; }
}

/* ===================== STUDY LEVEL CARDS ===================== */
.lvl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; align-items: stretch; }
.lvl-card {
  position: relative;
  display: flex; flex-direction: column;
  background: linear-gradient(165deg, rgba(255,255,255,0.06), rgba(255,255,255,0.022));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.lvl-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(95% 60% at 50% -10%, rgba(238,138,91,0.14), transparent 62%); opacity: 0.6; pointer-events: none; }
.lvl-card.featured { border-color: rgba(238,138,91,0.4); box-shadow: 0 30px 90px -50px rgba(238,138,91,0.5); }
@media (hover: hover) { .lvl-card:hover { transform: translateY(-6px); border-color: var(--border-2); box-shadow: 0 40px 90px -50px rgba(0,0,0,0.85); } }
.lvl-tag { align-self: flex-start; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-2); border: 1px solid rgba(238,138,91,0.3); background: rgba(238,138,91,0.08); border-radius: 999px; padding: 4px 11px; position: relative; z-index: 1; }
.lvl-card h3 { font-size: 23px; margin-top: 16px; position: relative; z-index: 1; }
.lvl-best { color: var(--accent-2); font-size: 14px; margin-top: 8px; position: relative; z-index: 1; font-weight: 600; }
.lvl-card > p { color: var(--text-2); font-size: 15px; margin-top: 12px; line-height: 1.6; position: relative; z-index: 1; }
.lvl-list { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 9px; position: relative; z-index: 1; }
.lvl-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); opacity: 0; transform: translateX(-6px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.lvl-list li .lv-dot { width: 16px; height: 16px; border-radius: 50%; flex: none; display: grid; place-items: center; background: rgba(238,138,91,0.16); border: 1px solid rgba(238,138,91,0.4); }
.lvl-list li .lv-dot svg { width: 9px; height: 9px; stroke: var(--accent-2); stroke-width: 3; fill: none; }
.lvl-card.in .lvl-list li { opacity: 1; transform: none; }
.lvl-card.in .lvl-list li:nth-child(1) { transition-delay: 0.18s; }
.lvl-card.in .lvl-list li:nth-child(2) { transition-delay: 0.30s; }
.lvl-card.in .lvl-list li:nth-child(3) { transition-delay: 0.42s; }
.lvl-card.in .lvl-list li:nth-child(4) { transition-delay: 0.54s; }
.lvl-card.in .lvl-list li:nth-child(5) { transition-delay: 0.66s; }
.lvl-gauge-wrap { display: flex; align-items: center; gap: 14px; margin-top: 18px; position: relative; z-index: 1; }
.lvl-gauge-wrap .gauge { width: 78px; height: 78px; }
.lvl-gauge-wrap .gauge svg { width: 78px; height: 78px; }
.lvl-gauge-wrap .gn { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.lvl-foot { margin-top: auto; padding-top: 22px; position: relative; z-index: 1; }
.lvl-foot .btn { width: 100%; justify-content: center; }

/* ---- Unified hover: lift + gold border glow + promote ghost CTA (matches pricing tiers) ---- */
.lvl-card { transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease, background 260ms ease; }
@media (hover: hover) {
  .lvl-card:hover {
    transform: translateY(-6px);
    border-color: rgba(244,176,122,0.45);
    box-shadow: 0 30px 80px -28px rgba(238,138,91,0.35), 0 1px 0 rgba(255,255,255,0.05) inset;
  }
  .lvl-card:hover::before { opacity: 1; }
  .lvl-card:hover .lvl-foot .btn.ghost {
    background: linear-gradient(180deg, #f4b07a, #ee8a5b);
    color: #2a1206;
    border-color: transparent;
    box-shadow: 0 14px 30px -12px rgba(238,138,91,0.55);
  }
}
@media (max-width: 900px) { .lvl-grid { grid-template-columns: 1fr; } }
.lvl-grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .lvl-grid-4 { grid-template-columns: 1fr; } }

/* ---- Level slider / carousel ---- */
.lvl-slider { position: relative; margin-top: 40px; }
.lvl-viewport { overflow: hidden; padding: 6px 2px 8px; }
.lvl-track {
  display: flex;
  gap: 20px;
  transition: transform 0.6s var(--ease);
  will-change: transform;
}
.lvl-track .lvl-card {
  flex: 0 0 calc((100% - 40px) / 3);   /* 3 visible on desktop */
  min-width: 0;
}
/* horizontal entrance: cards slide in from the left, staggered */
.lvl-track .lvl-card.reveal { opacity: 0; transform: translateX(-60px); }
.lvl-track .lvl-card.reveal.in { opacity: 1; transform: none; }
.lvl-track .lvl-card.reveal.in:nth-child(1) { transition-delay: 0.05s; }
.lvl-track .lvl-card.reveal.in:nth-child(2) { transition-delay: 0.16s; }
.lvl-track .lvl-card.reveal.in:nth-child(3) { transition-delay: 0.27s; }
.lvl-track .lvl-card.reveal.in:nth-child(4) { transition-delay: 0.38s; }

/* On mobile/tablet, only one card is visible — drop the slide and stagger
   so the card you're looking at fades in cleanly without offscreen motion. */
@media (max-width: 1100px) {
  .lvl-track .lvl-card.reveal { transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .lvl-track .lvl-card.reveal.in,
  .lvl-track .lvl-card.reveal.in:nth-child(1),
  .lvl-track .lvl-card.reveal.in:nth-child(2),
  .lvl-track .lvl-card.reveal.in:nth-child(3),
  .lvl-track .lvl-card.reveal.in:nth-child(4) { transition-delay: 0s; transform: none; }
}

.lvl-arrow {
  position: absolute; top: 38%; transform: translateY(-50%);
  z-index: 5; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(14,20,36,0.42);
  border: 1px solid rgba(238,138,91,0.55);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  box-shadow: 0 6px 18px -8px rgba(0,0,0,0.6);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
              box-shadow 0.35s var(--ease), transform 0.25s var(--ease), opacity 0.25s var(--ease);
  color: var(--accent-2);
}
.lvl-arrow svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.2; }
.lvl-arrow:hover {
  background: rgba(238,138,91,0.18);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.04);
}
/* brief "pressed" flash, then falls back to the translucent default */
.lvl-arrow:active,
.lvl-arrow.is-pressed {
  background: linear-gradient(160deg, rgba(238,138,91,0.95), rgba(214,99,52,0.95));
  border-color: rgba(255,184,138,0.9);
  color: #fff;
  box-shadow: 0 10px 26px -6px rgba(238,138,91,0.65), 0 0 0 5px rgba(238,138,91,0.22);
  transform: translateY(-50%) scale(0.96);
}
.lvl-arrow.lvl-prev { left: -14px; }
.lvl-arrow.lvl-next { right: -14px; }
.lvl-arrow[disabled] { opacity: 0.28; pointer-events: none; }

.lvl-dots { display: flex; justify-content: center; gap: 9px; margin-top: 24px; }
.lvl-dots button {
  width: 9px; height: 9px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--border-2); background: transparent; padding: 0;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.lvl-dots button.active { background: var(--accent); border-color: var(--accent); transform: scale(1.25); }

@media (max-width: 1100px) { .lvl-track .lvl-card { flex-basis: calc((100% - 20px) / 2); } }  /* 2 visible */
@media (max-width: 720px) {
  .lvl-track .lvl-card { flex-basis: 100%; }                                                   /* 1 visible */
  .lvl-arrow.lvl-prev { left: 2px; }
  .lvl-arrow.lvl-next { right: 2px; }
}

/* ===================== TRANSFORM FLOW (explanation block) ===================== */
.tflow { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 34px; }
.tflow-node {
  flex: 1; min-width: 200px; max-width: 280px;
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid var(--border); border-radius: 16px; padding: 20px;
  text-align: center;
  opacity: 0; transform: translateY(16px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), border-color 0.5s var(--ease);
}
.tflow.in .tflow-node { opacity: 1; transform: none; }
.tflow.in .tflow-node.t2 { transition-delay: 0.28s; }
.tflow.in .tflow-node.t3 { transition-delay: 0.56s; }
.tflow-node .tf-ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; margin: 0 auto 12px; background: rgba(238,138,91,0.14); border: 1px solid rgba(238,138,91,0.32); }
.tflow-node .tf-ico svg { width: 20px; height: 20px; stroke: var(--accent-2); fill: none; stroke-width: 1.7; }
.tflow-node h4 { font-size: 16px; }
.tflow-node p { color: var(--muted); font-size: 13px; margin-top: 5px; }
.tflow-arrow { color: var(--accent); font-family: var(--font-mono); font-size: 22px; opacity: 0; transition: opacity 0.5s var(--ease); flex: none; }
.tflow.in .tflow-arrow { opacity: 1; }
.tflow.in .tflow-arrow.a1 { transition-delay: 0.2s; }
.tflow.in .tflow-arrow.a2 { transition-delay: 0.48s; }
@media (max-width: 760px) {
  .tflow { flex-direction: column; }
  .tflow-node { max-width: 100%; width: 100%; }
  .tflow-arrow { transform: rotate(90deg); }
}

/* ===================== REVIEW LIST (condensed, low-chrome) ===================== */
.rev-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin-top: 32px; }
.rev-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--border-soft);
}
.rev-item .ri-ico {
  flex: none; width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(238,138,91,0.12); border: 1px solid rgba(238,138,91,0.28);
}
.rev-item .ri-ico svg { width: 19px; height: 19px; stroke: var(--accent-2); fill: none; stroke-width: 1.7; }
.rev-item h4 { font-size: 16px; }
.rev-item p { color: var(--muted); font-size: 14px; margin-top: 4px; line-height: 1.5; }
@media (max-width: 760px) {
  .rev-list { grid-template-columns: 1fr; gap: 0; }
  .rev-item { padding: 16px 2px; gap: 14px; }
}

/* ===================== CONTACT PAGE ===================== */
.phero-contact { min-height: auto; padding-top: calc(var(--nav-h) + 64px); padding-bottom: 8px; }
.contact-head { text-align: center; max-width: 640px; margin: 0 auto; }
.contact-head h1, .contact-head .chero-h1 { font-size: clamp(40px, 6.5vw, 72px); }
.contact-head .eyebrow { opacity: 1; transform: none; margin-bottom: 18px; }
.contact-head .chero-sub { color: var(--text-2); font-size: 19px; line-height: 1.55; margin-top: 22px; }
.contact-head .phero-sub { margin-left: auto; margin-right: auto; max-width: 540px; }

/* intent cards */
.intent {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  max-width: 820px; margin: 40px auto 0;
}
.intent-card {
  position: relative; text-align: left; cursor: pointer;
  display: flex; align-items: flex-start; gap: 16px;
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: linear-gradient(165deg, var(--bg-3), var(--bg-2));
  color: var(--text); font-family: inherit;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.intent-card:hover { transform: translateY(-3px); border-color: var(--border-2); }
.intent-card .ic-ico {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(238,138,91,0.12); border: 1px solid rgba(238,138,91,0.3);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.intent-card .ic-ico svg { width: 22px; height: 22px; stroke: var(--accent-2); fill: none; stroke-width: 1.7; }
.intent-card .ic-body { display: flex; flex-direction: column; gap: 4px; }
.intent-card .ic-k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.intent-card .ic-t { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.intent-card .ic-d { color: var(--text-2); font-size: 14px; line-height: 1.45; }
.intent-card .ic-check {
  position: absolute; top: 16px; right: 16px;
  width: 24px; height: 24px; border-radius: 50%;
  border: 1.5px solid var(--border-2);
  display: grid; place-items: center;
  opacity: 0.4; transition: all 0.35s var(--ease);
}
.intent-card .ic-check svg { width: 13px; height: 13px; stroke: var(--text); fill: none; stroke-width: 2.4; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset 0.4s var(--ease); }
.intent-card.is-active {
  border-color: var(--accent);
  background: linear-gradient(165deg, rgba(238,138,91,0.13), rgba(238,138,91,0.03));
  box-shadow: 0 0 0 4px rgba(238,138,91,0.1), 0 22px 50px -28px var(--glow-warm);
}
.intent-card.is-active .ic-ico { background: rgba(238,138,91,0.2); border-color: rgba(238,138,91,0.5); }
.intent-card.is-active .ic-check { opacity: 1; border-color: var(--accent); background: var(--accent); }
.intent-card.is-active .ic-check svg { stroke: #2A1206; stroke-dashoffset: 0; }

/* split grid */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }

/* form panel */
.form-panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(170deg, var(--bg-3), var(--bg-2));
  padding: 34px 36px 30px;
  box-shadow: 0 40px 110px -50px rgba(0,0,0,0.85);
}
.form-head h2 { font-size: 26px; transition: opacity 0.3s var(--ease); }
.form-head p { color: var(--text-2); font-size: 15.5px; margin-top: 8px; }
#contactForm { margin-top: 26px; display: flex; flex-direction: column; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field .fl { font-size: 13.5px; color: var(--text-2); font-weight: 500; }
.field .fl i { color: var(--accent-2); font-style: normal; }
.field input, .field textarea, .field select {
  font-family: inherit; font-size: 15px; color: var(--text);
  background: rgba(255,255,255,0.04);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 13px 15px;
  width: 100%;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field textarea { resize: vertical; min-height: 84px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 3px rgba(238,138,91,0.12);
}
.field input.invalid { border-color: #E0664A; box-shadow: 0 0 0 3px rgba(224,102,74,0.15); }
.select-wrap { position: relative; display: block; }
.select-wrap::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 38px; }
.field select option { background: var(--bg-3); color: var(--text); }
#tailoredField.pulse { animation: tfPulse 0.5s var(--ease); }
@keyframes tfPulse { 0% { transform: translateY(3px); opacity: 0.5; } 100% { transform: none; opacity: 1; } }
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.form-note { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }

/* success */
.form-done { text-align: center; padding: 30px 10px 14px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.form-done .done-ico {
  width: 60px; height: 60px; border-radius: 50%; margin-bottom: 10px;
  display: grid; place-items: center;
  background: linear-gradient(160deg, var(--accent-2), var(--accent));
  box-shadow: 0 16px 40px -14px var(--glow-warm);
}
.form-done .done-ico svg { width: 28px; height: 28px; stroke: #2A1206; fill: none; stroke-width: 2.4; }
.form-done h3 { font-size: 24px; }
.form-done p { color: var(--text-2); font-size: 15.5px; max-width: 360px; margin: 4px 0 16px; }

/* rail */
.contact-rail { display: flex; flex-direction: column; gap: 18px; position: sticky; top: calc(var(--nav-h) + 24px); }
.rail-block {
  border-radius: var(--radius); border: 1px solid var(--border);
  background: rgba(255,255,255,0.025); padding: 26px 26px 24px;
}
.next-steps { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.next-steps li { display: flex; gap: 15px; align-items: flex-start; }
.next-steps .ns-num {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--accent-2);
  background: rgba(238,138,91,0.12); border: 1px solid rgba(238,138,91,0.3);
}
.next-steps h4 { font-size: 15.5px; }
.next-steps p { color: var(--muted); font-size: 13.5px; margin-top: 4px; line-height: 1.5; }
.contact-direct .direct-row {
  display: flex; align-items: center; gap: 14px; padding: 13px 0;
  border-top: 1px solid var(--border-soft); color: var(--text);
  transition: opacity 0.2s var(--ease);
}
.contact-direct .direct-row:first-of-type { border-top: none; margin-top: 16px; }
.contact-direct a.direct-row:hover { opacity: 0.78; }
.contact-direct .dr-ico {
  flex: none; width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
}
.contact-direct .dr-ico svg { width: 19px; height: 19px; stroke: var(--accent-2); fill: none; stroke-width: 1.7; }
.contact-direct .dr-k { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.contact-direct .dr-v { display: block; font-size: 15px; margin-top: 2px; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 22px; }
  .contact-rail { position: static; }
}
@media (max-width: 680px) {
  .intent { grid-template-columns: 1fr; gap: 12px; }
  .field-row { grid-template-columns: 1fr; gap: 18px; }
  .form-panel { padding: 26px 22px 24px; }
}

/* ===================== SECTION SPACING ===================== */
.psec { padding: 88px 0; position: relative; }
.psec.tight { padding: 60px 0; }
.psec .section-head { text-align: center; max-width: 720px; margin: 0 auto; }
.psec .section-head.left { text-align: left; margin: 0; }
.psec .section-head h2 { font-size: clamp(30px, 3.4vw, 44px); margin-top: 16px; }
.psec .section-head p { color: var(--text-2); margin-top: 14px; font-size: 18px; }

/* ===================== PAGE-LINK CARDS (cross nav at bottom) ===================== */
.xnav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 36px; }
.xnav.xnav-single { grid-template-columns: 1fr; max-width: 520px; }
.xnav-card {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,0.035); border: 1px solid var(--border); border-radius: 16px; padding: 20px 22px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.xnav-card:hover { transform: translateY(-4px); border-color: var(--border-2); background: rgba(255,255,255,0.06); }
.xnav-card .xn-ico { flex: none; width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: rgba(238,138,91,0.13); border: 1px solid rgba(238,138,91,0.3); }
.xnav-card .xn-ico svg { width: 22px; height: 22px; stroke: var(--accent-2); fill: none; stroke-width: 1.7; }
.xnav-card .xn-k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.xnav-card h4 { font-size: 18px; margin-top: 3px; }
.xnav-card .arr { margin-left: auto; color: var(--accent-2); transition: transform 0.3s var(--ease); }
.xnav-card:hover .arr { transform: translateX(5px); }

/* ===================== FINAL CTA ===================== */
/* Panel, typography, and buttons — see site-cta.css */

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .phero-grid { grid-template-columns: 1fr; gap: 40px; }
  .phero-copy { max-width: 100%; }
  .story-cols { grid-template-columns: 1fr; gap: 0; }
  .story-sticky { position: relative; top: 0; height: auto; margin-bottom: 26px; }
  .story-stage { height: 360px; }
  .story-steps { gap: 0; }
  .story-step { min-height: auto; padding: 30px 0; }
  .story-progress { display: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .wf-rail { grid-template-columns: 1fr 1fr; }
  .wf-arrow { display: none; }
  .xnav { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .phero { padding-top: calc(var(--nav-h) + 12px); }
  .feature-grid { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
  .float-card { display: none; }
}

/* Demoted secondary CTA — text link styled to sit beside a primary button. */
.text-link-cta{
  display:inline-flex;align-items:center;gap:6px;
  font-family:var(--font-display,inherit);
  font-weight:600;font-size:14px;letter-spacing:.02em;
  color:#E8B66B;text-decoration:none;
  padding:14px 6px;border:0;background:transparent;
  transition:color .2s ease, transform .2s ease;
}
.text-link-cta:hover{color:#F4CE94;text-decoration:underline;text-underline-offset:4px;}
.text-link-cta .arr{transition:transform .2s ease;}
.text-link-cta:hover .arr{transform:translateY(2px);}
