:root{
  --bg: #050608;
  --bg-soft: #0a0c10;
  --card: rgba(14, 16, 20, 0.74);
  --card-border: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --text-dim: #b7bec5;
  --text-faint: #879098;
  --accent: #FE6507;
  --accent-soft: rgba(254, 101, 7, 0.16);
  --radius: 20px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --text-shadow-strong: 0 2px 20px rgba(0,0,0,0.7), 0 1px 3px rgba(0,0,0,0.8);
  --text-shadow-soft: 0 1px 12px rgba(0,0,0,0.6);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.skip-link{
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #001217;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 999;
}
.skip-link:focus{ left: 0; }

/* ---------- background frame-sequence canvas ---------- */
#webgl-canvas{
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  display: block;
  background: var(--bg);
  opacity: 0;
  transition: opacity 1s var(--ease);
}
#webgl-canvas.is-ready{ opacity: 1; }

.frame-loader{
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 40;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(10,12,16,0.6);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
  color: var(--text-faint);
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  opacity: 1;
  transition: opacity .6s var(--ease);
  pointer-events: none;
}
.frame-loader.is-hidden{ opacity: 0; }

.grain-veil{
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 20%, rgba(5,6,8,0.32) 0%, rgba(5,6,8,0.68) 55%, rgba(5,6,8,0.92) 100%);
}

/* ---------- nav ---------- */
.nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px clamp(20px, 5vw, 56px);
  transition: background var(--ease) .4s, border-color var(--ease) .4s, backdrop-filter var(--ease) .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled{
  background: rgba(5,6,8,0.7);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--card-border);
}
.nav__inner{
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
  text-shadow: var(--text-shadow-soft);
}
.nav__logo span{ color: var(--accent); }
.nav__logo sup{ font-size: 0.55em; opacity: .7; }

.nav__links{
  display: flex;
  gap: 32px;
  font-size: 0.92rem;
  color: var(--text-dim);
  text-shadow: var(--text-shadow-soft);
}
.nav__links a{
  color: inherit;
  text-decoration: none;
  transition: color .25s var(--ease);
  position: relative;
}
.nav__links a:hover{ color: var(--text); }

.nav__cta{
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.nav__cta:hover{ transform: translateY(-2px); box-shadow: 0 10px 30px -10px var(--accent-soft), 0 0 0 1px var(--accent-soft); }

@media (max-width: 780px){
  .nav__links{ display: none; }
}

/* ---------- buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
  cursor: pointer;
}
.btn--primary{
  background: var(--accent);
  color: #001217;
}
.btn--primary:hover{
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -12px rgba(254,101,7,.5);
}
.btn--ghost{
  background: rgba(255,255,255,0.03);
  color: var(--text);
  border-color: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover{
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-3px);
  background: rgba(255,255,255,0.06);
}
.btn--lg{ padding: 18px 34px; font-size: 1.05rem; }
.btn:disabled{
  cursor: wait;
  opacity: .66;
  transform: none;
  box-shadow: none;
}

/* ---------- reveal animation ---------- */
.reveal{
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  will-change: opacity, transform;
}
.reveal.in-view{
  opacity: 1;
  transform: translateY(0);
}

/* ---------- shared section layout ---------- */
main{ position: relative; z-index: 1; }

.section-kicker{
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  color: var(--accent);
  margin: 0 0 14px;
  text-shadow: var(--text-shadow-soft);
}

h1, h2, h3{
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
  text-shadow: var(--text-shadow-strong);
}

/* ---------- hero ---------- */
.hero{
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  text-align: left;
  padding: 140px clamp(24px, 6vw, 88px) 120px;
  position: relative;
}
.hero__content{ max-width: 620px; }
.eyebrow{
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: var(--accent);
  margin: 0 0 22px;
  text-shadow: var(--text-shadow-soft);
}
.hero h1{
  font-size: clamp(2.4rem, 6.4vw, 4.6rem);
  line-height: 1.06;
  color: var(--text);
}
.hero h1 em{
  font-style: normal;
  color: var(--accent);
}
.hero__lead{
  margin: 22px 0 0;
  max-width: 480px;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--text-dim);
  text-shadow: var(--text-shadow-soft);
}
.hero__actions{
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 34px;
}
.hero__phone{
  margin: 18px 0 0;
  color: var(--text-faint);
  font-size: 0.88rem;
  text-shadow: var(--text-shadow-soft);
}
.hero__phone a{ color: var(--text-dim); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 780px){
  .hero{ align-items: center; text-align: center; }
  .hero__lead{ margin-left: auto; margin-right: auto; }
  .hero__actions{ justify-content: center; }
}

.spec-pills{
  list-style: none;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0;
  margin: 30px 0 0;
}
.contact__inner .spec-pills{ margin: 28px 0 0; justify-content: flex-start; }
.spec-pills li{
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  border: 1px solid var(--card-border);
  background: rgba(5,6,8,0.55);
  padding: 8px 16px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.scroll-cue{
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-faint);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: var(--text-shadow-soft);
}
.scroll-cue__line{
  width: 1px;
  height: 46px;
  background: rgba(255,255,255,0.14);
  overflow: hidden;
  position: relative;
}
.scroll-cue__line i{
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine{
  0%{ top: -100%; }
  50%{ top: 0; }
  100%{ top: 100%; }
}

/* ---------- content wrapper (video plays behind the whole page) ---------- */
.content-solid{ position: relative; }

/* ---------- how it works (stepper) ---------- */
.stepper-section{
  min-height: 56vh;
  display: flex;
  align-items: center;
  padding: 60px clamp(24px, 6vw, 88px);
}
.stepper-section__inner{ max-width: 1100px; margin: 0 auto; width: 100%; }
.stepper-section h2{
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.18;
  max-width: 640px;
  margin-bottom: 46px;
}
.stepper{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
}
.stepper__num{
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
  margin-bottom: 14px;
}
.stepper__item h3{
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.stepper__item p{
  color: var(--text-dim);
  font-size: 0.94rem;
  margin: 0;
  text-shadow: var(--text-shadow-soft);
}
@media (max-width: 780px){
  .stepper{ grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- benefits (bento) ---------- */
.bento-section{
  padding: 100px clamp(24px, 6vw, 88px) 40px;
  max-width: 1320px;
  margin: 0 auto;
}
.bento-section__head{ max-width: 640px; margin: 0 0 40px; }
.bento-section__head h2{
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.18;
}
.bento{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--card-border);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.bento__item{
  background: var(--card);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  padding: clamp(26px, 3vw, 34px);
}
.bento__item--wide{ grid-column: span 2; }
.bento__icon{
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin-bottom: 20px;
}
.bento__icon svg{ width: 100%; height: 100%; }
.bento__item h3{
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.bento__item p{
  color: var(--text-dim);
  font-size: 0.92rem;
  margin: 0;
}
@media (max-width: 900px){
  .bento{ grid-template-columns: repeat(2, 1fr); }
  .bento__item--wide{ grid-column: span 2; }
}
@media (max-width: 620px){
  .bento{ grid-template-columns: 1fr; }
  .bento__item--wide{ grid-column: span 1; }
}

/* ---------- mid-page cta banner ---------- */
.cta-banner{ padding: 0 clamp(24px, 6vw, 88px) 100px; }
.cta-banner__inner{
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 28px clamp(24px, 4vw, 40px);
  background: var(--accent-soft);
  border: 1px solid rgba(254,101,7,.28);
  border-radius: var(--radius);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.cta-banner__inner p{
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text);
  text-shadow: var(--text-shadow-soft);
}
.cta-banner__link{
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .25s var(--ease);
  display: inline-flex;
}
.cta-banner__link:hover{ transform: translateX(4px); }

/* ---------- product spotlight ---------- */
.spotlight{
  max-width: 720px;
  margin: 0 auto;
  padding: 40px clamp(24px, 6vw, 88px) 100px;
}
.spotlight__inner h2{
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.18;
}
.spotlight__lead{
  margin: 18px 0 0;
  color: var(--text-dim);
  font-size: 1.02rem;
  text-shadow: var(--text-shadow-soft);
}
.spotlight__callouts{
  margin: 34px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.spotlight__callouts > div{
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 18px 20px;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}
.spotlight__callouts dt{
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 4px;
}
.spotlight__callouts dd{
  margin: 0;
  color: var(--text-faint);
  font-size: 0.86rem;
}
@media (max-width: 480px){
  .spotlight__callouts{ grid-template-columns: 1fr; }
}

/* ---------- specs ---------- */
.specs{
  padding: 40px clamp(24px, 6vw, 88px) 100px;
  display: flex;
  justify-content: center;
}
.specs__inner{
  max-width: 1100px;
  text-align: center;
  width: 100%;
}
.specs h2{
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  margin-bottom: 44px;
}
.specs-strip{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}
.specs-strip__item{
  flex: 1 1 150px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-left: 1px solid var(--card-border);
}
.specs-strip__item:first-child{ border-left: none; }
.specs-strip__value{
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  color: var(--accent);
  font-weight: 600;
  text-shadow: var(--text-shadow-soft);
}
.specs-strip__label{
  font-size: 0.82rem;
  color: var(--text-dim);
  text-shadow: var(--text-shadow-soft);
}
@media (max-width: 700px){
  .specs-strip__item{ flex: 1 1 45%; border-left: none; border-top: 1px solid var(--card-border); }
}

/* ---------- cta ---------- */
.cta{
  padding: 20px clamp(24px, 6vw, 88px) 120px;
  display: flex;
  justify-content: center;
  text-align: center;
}
.cta h2{
  font-size: clamp(2rem, 4.4vw, 3rem);
  line-height: 1.12;
}
.cta__text{
  margin: 22px 0 0;
  color: var(--text-dim);
  font-size: 1.05rem;
  text-shadow: var(--text-shadow-soft);
}
.cta__text a{
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(254,101,7,.6);
  text-underline-offset: 4px;
}
.cta__actions{
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 42px;
}
.cta__phone{
  margin-top: 26px;
  color: var(--text-faint);
  font-size: 0.92rem;
  text-shadow: var(--text-shadow-soft);
}
.cta__phone a{ color: var(--text-dim); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- contact form ---------- */
.contact__inner{
  max-width: 1100px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  text-align: left;
}
.contact-form{
  margin: 0;
  padding: clamp(24px, 4vw, 42px);
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
  display: grid;
  gap: 18px;
  text-align: left;
}
.contact-form__field{
  display: grid;
  gap: 9px;
}
.contact-form__field--hidden{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form label{
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-shadow: var(--text-shadow-soft);
}
.contact-form input,
.contact-form textarea{
  width: 100%;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  background: rgba(5,6,8,0.58);
  color: var(--text);
  font: inherit;
  padding: 15px 16px;
  outline: none;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.contact-form textarea{
  min-height: 150px;
  resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder{
  color: var(--text-faint);
}
.contact-form input:focus,
.contact-form textarea:focus{
  border-color: rgba(254,101,7,.72);
  background: rgba(5,6,8,0.72);
  box-shadow: 0 0 0 4px rgba(254,101,7,.14);
}
.contact-form__actions{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.contact-form__status{
  min-height: 1.4em;
  margin: 0;
  color: var(--text-faint);
  font-size: 0.9rem;
  text-align: right;
  flex: 1 1 260px;
}
.contact-form__status.is-success{
  color: #bff3c4;
}
.contact-form__status.is-error{
  color: #ffb4a3;
}

@media (max-width: 860px){
  .contact__inner{ grid-template-columns: 1fr; }
  .contact-form{ margin-top: 34px; }
}

@media (max-width: 620px){
  .contact-form{
    margin-top: 34px;
    padding: 22px;
  }
  .contact-form__actions{
    align-items: stretch;
  }
  .contact-form__actions .btn{
    width: 100%;
  }
  .contact-form__status{
    text-align: center;
    flex-basis: 100%;
  }
}

/* ---------- footer ---------- */
.footer{
  padding: 36px 24px 44px;
  border-top: 1px solid var(--card-border);
  position: relative;
  z-index: 1;
  background: rgba(5,6,8,0.78);
  backdrop-filter: blur(10px);
}
.footer__inner{
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer p{
  margin: 0;
  color: var(--text-faint);
  font-size: 0.82rem;
}

@media (max-width: 500px){
  .footer__inner{ flex-direction: column; text-align: center; }
}
