/* FutureReady — /new
   Loaded after /lead-form/lead.css, which supplies the tokens, buttons, hero wall and every form-step style.
   This file adds the page around it: header → hero overrides → sections → examples gallery → process →
   included → FAQ → inline form → footer → motion prefs. */

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
a { color: inherit; }
h3 { margin: 0; }

.skip { position: fixed; z-index: 50; left: 1rem; top: -4rem; padding: .7rem 1rem; border-radius: .7rem; background: #fff; color: #050B19; font-weight: 600; text-decoration: none; }
.skip:focus { top: 1rem; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-head {
  position: fixed; z-index: 20; top: 0; left: 0; right: 0;
  padding-top: env(safe-area-inset-top);
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.site-head.is-solid { background: rgba(5, 11, 25, .82); -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); box-shadow: 0 1px 0 var(--line); }
.head-in {
  max-width: var(--max); margin: 0 auto; height: 5.5rem;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0 var(--safe-r) 0 var(--safe-l);
  transition: height .45s var(--ease);
}
/* Logo starts large over the hero and settles to a compact size once the page scrolls. */
.site-head .brand img { height: 2.6rem; transition: height .45s var(--ease); }
.site-head.is-solid .head-in { height: 4.5rem; }
.site-head.is-solid .brand img { height: 1.9rem; }
.nav { display: none; gap: .25rem; margin-left: auto; }
.nav a { padding: .55rem .85rem; border-radius: .7rem; font-size: .9rem; font-weight: 500; color: var(--text-2); text-decoration: none; transition: color .25s, background .25s; }
.nav a:hover { color: #fff; background: rgba(160, 190, 255, .07); }
.head-cta { margin-left: auto; text-decoration: none; }
@media (max-width: 23.99rem) { .site-head .brand img { height: 2.2rem; } }
@media (min-width: 48rem) {
  .nav { display: flex; }
  .head-cta { margin-left: .5rem; }
  .head-in { height: 7rem; }
  .site-head .brand img { height: 3.6rem; }
  .site-head.is-solid .brand img { height: 2.3rem; }
}

/* ── Hero: the /lead-form intro, but scoped to the first screen instead of fixed ── */
.hero-wrap { position: relative; isolation: isolate; overflow: hidden; }
.hero-wrap .ambient, .hero-wrap .wall, .hero-wrap .veil { position: absolute; }
.hero-wrap .ambient { opacity: .8; }
.hero-wrap .intro { position: relative; z-index: 3; }
.wall.is-paused .belt { animation-play-state: paused; }
.hero-wrap::after { /* soft hand-off into the page below */
  content: ""; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 8rem; pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 11, 25, 0), var(--bg));
}
.intro-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.intro-cta .btn { text-decoration: none; }
.hero-alt svg { width: 1rem; height: 1rem; transition: transform .35s var(--ease); }
.hero-alt:hover svg { transform: translateY(2px); }
.intro .fine { margin-top: 1.25rem; }
@media (max-width: 29.99rem) { .hero-alt { width: 100%; justify-content: center; } }

/* ── Section shell ──────────────────────────────────────────────────────── */
.sec { position: relative; padding: clamp(5rem, 12vh, 8.5rem) 0; }
.sec + .sec::before { content: ""; position: absolute; top: 0; left: var(--safe-l); right: var(--safe-r); max-width: calc(var(--max) - 2 * var(--gutter)); margin: 0 auto; height: 1px; background: linear-gradient(90deg, rgba(160, 190, 255, 0), var(--line) 20%, var(--line) 80%, rgba(160, 190, 255, 0)); }
.sec-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--safe-r) 0 var(--safe-l); }
.sec-head { max-width: 40rem; }
.eyebrow-line::before { content: ""; width: 1.5rem; height: 1px; background: linear-gradient(90deg, var(--cyan), rgba(67, 197, 255, 0)); }
.sec-title { margin: 1.1rem 0 0; font-size: clamp(2rem, 7vw, 3.4rem); font-weight: 600; line-height: 1.05; letter-spacing: -.035em; text-wrap: balance; }
.sec-title em, .start-head em {
  font-style: normal;
  background: linear-gradient(100deg, #5DBBFF 0%, #3F86FF 42%, #A37BFF 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sec-lede { margin-top: 1.1rem; font-size: 1.0625rem; line-height: 1.6; color: var(--muted); max-width: 34rem; }
.sec-lede a { color: #9CC8FF; text-underline-offset: .2em; }

/* Reveal on scroll (only once JS is running, so nothing is hidden without it). */
/* An animation (fill: backwards) rather than a transition, so it never fights the elements' own hover transitions. */
.js-ready [data-reveal]:not(.is-in) { opacity: 0; }
.js-ready [data-reveal].is-in { animation: revealUp .9s var(--ease) var(--d, 0ms) backwards; }
@keyframes revealUp { from { opacity: 0; transform: translate3d(0, 22px, 0); } }

/* ── Recent examples gallery (the home page's two-column site cards, in this page's style) ── */
.gallery { display: grid; gap: 1.25rem; margin-top: 3rem; }
@media (min-width: 50rem) { .gallery { grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 4rem; } }
.gcard {
  position: relative; display: block; overflow: hidden; text-decoration: none; color: var(--text);
  border-radius: 1.25rem; background: rgba(16, 29, 54, .5);
  box-shadow: 0 0 0 1px var(--line), 0 40px 80px -50px rgba(0, 0, 0, .95);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.gcard-chrome { height: 2rem; padding: 0 .85rem; }
.gcard-chrome i { width: .45rem; height: .45rem; }
.gcard-chrome .card-addr { height: 1.15rem; font-size: .68rem; }
.gcard-shot { position: relative; display: block; aspect-ratio: 1000 / 613; overflow: hidden; background: #0B1428; }
.gcard-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform 1.2s var(--ease); }
.gcard-shot::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(122deg, rgba(255, 255, 255, .05) 0%, rgba(255, 255, 255, 0) 32%); }
.gcard-body { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.35rem 1.35rem; border-top: 1px solid rgba(160, 190, 255, .1); }
.gcard-text { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.gcard-cat { font-size: .6875rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: #9DB8E6; }
.gcard-name { font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.gcard-visit { flex: none; display: inline-flex; align-items: center; gap: .4rem; font-size: .875rem; font-weight: 500; color: #9CC8FF; }
.gcard-visit .ico { transition: transform .35s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .gcard:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(140, 205, 255, .45), 0 50px 90px -40px rgba(0, 0, 0, .95), 0 24px 60px -30px rgba(36, 136, 255, .5); }
  .gcard:hover .gcard-shot img { transform: scale(1.025); }
  .gcard:hover .gcard-visit .ico { transform: translate(2px, -2px); }
}

/* ── Process ────────────────────────────────────────────────────────────── */
.steps-row { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; gap: 1rem; position: relative; }
.pstep {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: 1.75rem 1.5rem 1.5rem; min-height: 15rem;
  border: 1px solid var(--line); border-radius: 1.4rem;
  background: linear-gradient(180deg, rgba(19, 33, 61, .7), rgba(10, 19, 38, .7));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 30px 60px -40px rgba(0, 0, 0, .9);
}
.pstep::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, rgba(67, 197, 255, 0), rgba(67, 197, 255, .55), rgba(154, 91, 255, 0)); }
.pstep-n {
  font-size: 4.25rem; font-weight: 700; line-height: 1; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1px rgba(120, 175, 255, .5);
  background: linear-gradient(180deg, rgba(67, 197, 255, .28), rgba(154, 91, 255, 0) 80%); -webkit-background-clip: text; background-clip: text;
}
.pstep h3 { margin-top: 1.5rem; font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; }
.pstep p { margin-top: .55rem; color: var(--muted); line-height: 1.55; }
.pstep-tag { align-self: flex-start; margin-top: auto; padding: .3rem .65rem; border-radius: 999px; font-size: .75rem; font-weight: 500; color: #BFE6FF; background: rgba(36, 136, 255, .12); border: 1px solid rgba(67, 197, 255, .25); }
.pstep p { margin-bottom: 1.5rem; }
@media (min-width: 48rem) {
  .steps-row { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 4rem; }
  .pstep { min-height: 19rem; padding: 2rem 1.75rem 1.75rem; }
}

/* ── Included ───────────────────────────────────────────────────────────── */
.inc-grid { display: grid; gap: 3rem; }
.inc-cards { display: grid; gap: 1rem; }
.inc {
  padding: 1.5rem; border: 1px solid var(--line); border-radius: 1.25rem;
  background: rgba(16, 29, 54, .45);
  transition: border-color .35s var(--ease), transform .35s var(--ease), background .35s var(--ease);
}
.inc-ico { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: .85rem; color: #BFE6FF; background: linear-gradient(155deg, rgba(36, 136, 255, .32), rgba(154, 91, 255, .14)); border: 1px solid rgba(120, 150, 255, .35); box-shadow: 0 12px 28px -14px rgba(36, 136, 255, .7); }
.inc-ico svg { width: 1.3rem; height: 1.3rem; }
.inc h3 { margin-top: 1.1rem; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.012em; }
.inc p { margin-top: .35rem; font-size: .9375rem; line-height: 1.5; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .inc:hover { transform: translateY(-3px); border-color: rgba(67, 197, 255, .35); background: rgba(19, 35, 66, .6); } }
.addons { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.25rem; padding: 1.1rem 1.25rem; border: 1px dashed var(--line-2); border-radius: 1.1rem; }
.addons-label { font-size: .6875rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: #9DB8E6; }
.addons ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.addons li { padding: .4rem .8rem; border-radius: 999px; font-size: .875rem; color: var(--muted); background: rgba(160, 190, 255, .06); border: 1px solid var(--line); }
.addons li b { font-weight: 500; color: var(--text); }
@media (min-width: 40rem) { .inc-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) {
  .inc-grid { grid-template-columns: .9fr 1.3fr; gap: 2.5rem 5rem; align-items: start; }
  .inc-grid .sec-head { position: sticky; top: 7rem; }
  .addons { grid-column: 2; }
}

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq-grid { display: grid; gap: 2.5rem; }
.faqs { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.35rem 0; cursor: pointer; list-style: none;
  font-size: 1.0625rem; font-weight: 500; letter-spacing: -.01em; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 1px solid var(--line-2);
  background:
    linear-gradient(#C3D0E6, #C3D0E6) center / .7rem 1.5px no-repeat,
    linear-gradient(#C3D0E6, #C3D0E6) center / 1.5px .7rem no-repeat;
  transition: transform .35s var(--ease), background-color .3s, border-color .3s;
}
.faq[open] summary::after { transform: rotate(45deg); border-color: rgba(67, 197, 255, .5); background-color: rgba(36, 136, 255, .15); }
.faq summary:hover { color: #fff; }
.faq p { padding: 0 3rem 1.4rem 0; color: var(--muted); line-height: 1.6; }
.faq[open] p { animation: fadeUp .5s var(--ease); }
@media (min-width: 64rem) { .faq-grid { grid-template-columns: .9fr 1.3fr; gap: 5rem; } }

/* ── Inline form ────────────────────────────────────────────────────────── */
.start { overflow: hidden; isolation: isolate; }
.start-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(48rem 30rem at 50% 30%, rgba(36, 136, 255, .14), rgba(36, 136, 255, 0) 70%),
    radial-gradient(36rem 26rem at 80% 80%, rgba(154, 91, 255, .1), rgba(154, 91, 255, 0) 70%);
}
.start-head { margin: 0 auto; text-align: center; }
.start-head .eyebrow { justify-content: center; }
.start-head .sec-lede { margin-left: auto; margin-right: auto; }
.start-head .chip-test { margin-top: 1rem; }
.form-panel {
  width: 100%; max-width: 40rem; margin: 3rem auto 0;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid var(--line); border-radius: 1.75rem;
  background: linear-gradient(180deg, rgba(14, 26, 50, .82), rgba(7, 14, 30, .88));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 60px 120px -60px rgba(0, 0, 0, .95), 0 40px 100px -70px rgba(36, 136, 255, .7);
  transition: max-width .45s var(--ease);
  scroll-margin-top: 6rem;
}
.form-panel.is-wide { max-width: 56rem; }
.form-panel.is-done { max-width: 70rem; }
.form-panel .flow-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .9rem; margin-bottom: 2rem; min-height: 2.75rem; }
.form-panel .back[hidden] { display: inline-flex !important; visibility: hidden; } /* keep the progress bar from jumping */
.form-panel.is-done .flow-head { grid-template-columns: 1fr auto; }
.form-panel.is-done .back { display: none !important; }
.form-panel .step-title { font-size: clamp(1.6rem, 5.5vw, 2.4rem); }
.form-panel .assemble .as-frame { transform: rotateY(-9deg) rotateX(5deg); }
.noscript-in { color: var(--text-2); }
.noscript-in a { color: #9CC8FF; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); padding: 3rem 0 calc(env(safe-area-inset-bottom) + 2.5rem); }
.foot-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--safe-r) 0 var(--safe-l); display: grid; gap: 1.75rem; }
.foot-brand img { height: 2rem; width: auto; display: block; opacity: .9; }
.foot-brand p { margin-top: .9rem; max-width: 22rem; font-size: .9375rem; color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.foot-links a { font-size: .9375rem; color: var(--text-2); text-decoration: none; transition: color .25s; }
.foot-links a:hover { color: #fff; }
.foot-copy { font-size: .8125rem; color: rgba(152, 169, 198, .7); }
@media (min-width: 48rem) {
  .foot-in { grid-template-columns: 1fr auto; align-items: end; }
  .foot-copy { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid var(--line); }
}

/* ── Reduced motion ─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .js-ready [data-reveal] { opacity: 1 !important; animation: none !important; }
}
