:root {
  --bg: #11091f;
  --bg2: #1b1237;
  --text: #f7f1ff;
  --muted: #cbbde8;
  --line: rgba(255, 255, 255, 0.16);
  --glass: rgba(255, 255, 255, 0.09);
  --glass2: rgba(255, 255, 255, 0.14);
  --hot: #ff4fd8;
  --gold: #ffd36d;
  --cyan: #6df5ff;
  --violet: #9b6dff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -5;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 79, 216, 0.38), transparent 30%),
    radial-gradient(circle at 82% 10%, rgba(109, 245, 255, 0.28), transparent 28%),
    radial-gradient(circle at 50% 90%, rgba(255, 211, 109, 0.20), transparent 35%),
    linear-gradient(135deg, #0c0716, #1a0c2e 45%, #07192d);
  animation: backgroundDance 16s ease-in-out infinite alternate;
}

@keyframes backgroundDance {
  0% { transform: scale(1) translate3d(0, 0, 0); }
  50% { transform: scale(1.018) translate3d(-10px, 8px, 0); }
  100% { transform: scale(1.032) translate3d(12px, -10px, 0); }
}

.stage-glow,
.moving-grid {
  position: fixed;
  pointer-events: none;
  inset: 0;
}
.stage-glow {
  z-index: -4;
  background: radial-gradient(circle at center, transparent 0 22%, rgba(0,0,0,0.48) 85%);
}
.moving-grid {
  z-index: -3;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255,255,255,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 56px 56px;
  animation: gridFloat 22s linear infinite;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}
@keyframes gridFloat {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(56px, 56px, 0); }
}

/* The moving background stays abstract. No ghost words are drawn behind the content. */

a { color: inherit; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 16px;
  padding: 10px 14px;
  background: #fff;
  color: #111;
  border-radius: 12px;
  z-index: 20;
}
.skip-link:focus { left: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(10, 5, 24, 0.62);
  border-bottom: 1px solid var(--line);
  transform: translateY(-120%);
  opacity: 0;
  animation: headerDrop 1.05s cubic-bezier(.16, 1, .3, 1) .08s forwards;
}
@keyframes headerDrop {
  0% { transform: translateY(-120%); opacity: 0; }
  72% { transform: translateY(6px); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--hot), var(--cyan));
  color: #11091f;
  box-shadow: 0 0 30px rgba(255, 79, 216, 0.4);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.site-nav a,
.site-nav button {
  padding: 9px 10px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.86rem;
  font-family: inherit;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.site-nav a:hover,
.site-nav button:hover,
.site-nav a[aria-current="page"],
.site-nav button[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.10);
}
.site-nav .nav-cta {
  color: #12091f;
  background: linear-gradient(135deg, var(--gold), var(--hot));
}
.menu-button {
  display: none;
  appearance: none;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
}

.section-pad { padding: clamp(46px, 7vw, 88px) clamp(18px, 5vw, 72px); }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  min-height: calc(100vh - 82px);
}
.hero-copy, .page-hero { max-width: 850px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.78rem;
}
h1, h2, h3 { line-height: 1.04; margin: 0 0 18px; letter-spacing: -0.055em; }
h1 { font-size: clamp(2.7rem, 4.8vw, 4.85rem); max-width: 900px; }
h2 { font-size: clamp(1.85rem, 3.8vw, 3.65rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
.page-hero h1 { font-size: clamp(2.75rem, 5vw, 5rem); }
.card h2, .step h2 { font-size: clamp(1.75rem, 2.9vw, 2.7rem); letter-spacing: -0.045em; }
.contact-card h1 { font-size: clamp(2.25rem, 3.8vw, 4.1rem); }
p { color: var(--muted); font-size: clamp(1rem, 1.2vw, 1.15rem); }
.lead { color: var(--text); font-size: clamp(1.18rem, 2vw, 1.55rem); }
.rate-line {
  display: inline-block;
  margin: 8px 0 0;
  padding: 12px 16px;
  border: 1px solid rgba(255, 211, 109, 0.36);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 211, 109, 0.10);
  font-weight: 800;
}
.rate-line strong { color: var(--gold); }

.hero-line {
  color: var(--gold);
  font-size: clamp(2.1rem, 5vw, 4.8rem);
  font-weight: 950;
  letter-spacing: -0.075em;
  margin: -8px 0 24px;
  text-shadow: 0 0 34px rgba(255, 211, 109, 0.28);
}
.hero-actions, .contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
}
.button.primary {
  color: #130b25;
  background: linear-gradient(135deg, var(--gold), var(--hot));
  border: 0;
  box-shadow: 0 20px 60px rgba(255, 79, 216, 0.28);
}
.button.secondary { background: rgba(255,255,255,0.08); color: var(--text); }
.button.full { width: 100%; }
button.button {
  font-family: inherit;
  font-size: inherit;
}
.contact-action-status {
  min-height: 1.4em;
  margin-top: 10px;
  color: var(--gold);
  font-weight: 800;
}
.contact-phone, .contact-email {
  white-space: nowrap;
}


.hero-card,
.panel,
.card,
.step,
.contact-card,
.intake-card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,0.13), rgba(255,255,255,0.055));
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}
.hero-card { padding: clamp(24px, 4vw, 44px); transform: rotate(2deg); position: relative; overflow: hidden; }
.card-kicker {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: .78rem;
}
.clean-list { list-style: none; padding: 0; margin: 22px 0 0; }
.clean-list li { padding: 12px 0; border-top: 1px solid var(--line); color: var(--text); font-weight: 800; }

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.panel, .card, .step, .contact-card, .intake-card { padding: clamp(22px, 3vw, 36px); position: relative; overflow: hidden; }
.section-head { max-width: 820px; margin-bottom: 28px; }
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.compact { padding-top: 30px; }
.card { min-height: 230px; position: relative; overflow: hidden; }
.card::after {
  content: "";
  position: absolute;
  inset: auto -40px -70px auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109,245,255,.18), transparent 70%);
}

.quote-band {
  margin: clamp(32px, 5vw, 72px) clamp(18px, 5vw, 72px);
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 10px);
  background: linear-gradient(135deg, rgba(255,79,216,.18), rgba(109,245,255,.12));
  text-align: center;
  box-shadow: var(--shadow);
}
.quote-band p { color: var(--text); font-weight: 800; }
.quote-band a { text-decoration-thickness: 2px; text-underline-offset: 5px; }

.page-main { min-height: 75vh; }
.page-hero { margin: 0 auto; text-align: center; max-width: 980px; }
.page-hero .lead { max-width: 760px; margin-left: auto; margin-right: auto; }
.timeline { display: grid; gap: 22px; max-width: 980px; margin: 0 auto; }
.step { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 18px; align-items: start; }
.step span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(255,255,255,.12);
  color: var(--gold);
  font-weight: 950;
  grid-row: 1 / span 2;
}
.step h2,
.step p {
  grid-column: 2;
}
.step h2 { grid-row: 1; }
.step p { grid-row: 2; max-width: 68ch; }

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: 26px;
  align-items: start;
}
.intake-card label {
  display: block;
  margin: 14px 0 7px;
  color: var(--text);
  font-weight: 800;
}
.intake-card input,
.intake-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(0,0,0,.22);
  color: var(--text);
  padding: 13px 14px;
  font: inherit;
  outline: none;
}
.intake-card input:focus,
.intake-card textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(109,245,255,.12);
}
.form-note { font-size: .92rem; }
.direct-lines {
  margin: 24px 0 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(0,0,0,.18);
}
.direct-lines p { margin: 0 0 8px; color: var(--text); }
.direct-lines p:last-child { margin-bottom: 0; }
.form-status {
  margin: 0 0 18px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
}
.form-status p { margin: 6px 0 0; }
.form-status ul { margin: 8px 0 0; padding-left: 20px; }
.form-status.success { background: rgba(109,245,255,.12); border-color: rgba(109,245,255,.42); }
.form-status.error { background: rgba(255,79,216,.12); border-color: rgba(255,79,216,.42); }
.form-status.local-only { background: rgba(255,211,109,.12); border-color: rgba(255,211,109,.38); color: var(--text); }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }


.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: rgba(5, 3, 12, .46);
}
.site-footer p { margin: 0; font-size: .95rem; }
.site-footer a { color: var(--text); }

/* Build-on-scroll animation.
   Base state stays visible if JavaScript is blocked, so the page never becomes blank.
   When JavaScript is active, content is built onto the screen from the direction named
   in the HTML: left, right, top, or bottom. */
.reveal {
  opacity: 1;
  transform: none;
}
.js-ready .reveal {
  opacity: 0;
  transform: translate3d(0,0,0);
  will-change: opacity, transform;
}
.js-ready .reveal.in-view {
  animation: buildFromBottom 1.28s cubic-bezier(.16, 1, .3, 1) var(--build-delay, 0ms) both;
}
.js-ready .reveal.in-view.from-top,
.js-ready .reveal.in-view.drop-in {
  animation-name: buildFromTop;
}
.js-ready .reveal.in-view.from-bottom,
.js-ready .reveal.in-view.site-footer {
  animation-name: buildFromBottom;
}
.js-ready .reveal.in-view.from-left,
.js-ready .reveal.in-view.swing-left {
  animation-name: buildFromLeft;
}
.js-ready .reveal.in-view.from-right,
.js-ready .reveal.in-view.swing-right {
  animation-name: buildFromRight;
}

@keyframes buildFromLeft {
  0% { opacity: 0; transform: translate3d(-96vw, 0, 0) rotate(-10deg) scale(.84); }
  58% { opacity: 1; transform: translate3d(34px, 0, 0) rotate(1.5deg) scale(1.025); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) rotate(0) scale(1); }
}
@keyframes buildFromRight {
  0% { opacity: 0; transform: translate3d(96vw, 0, 0) rotate(10deg) scale(.84); }
  58% { opacity: 1; transform: translate3d(-34px, 0, 0) rotate(-1.5deg) scale(1.025); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) rotate(0) scale(1); }
}
@keyframes buildFromTop {
  0% { opacity: 0; transform: translate3d(0, -48vh, 0) rotateX(34deg) scale(.82); }
  60% { opacity: 1; transform: translate3d(0, 18px, 0) rotateX(-2deg) scale(1.02); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) rotateX(0) scale(1); }
}
@keyframes buildFromBottom {
  0% { opacity: 0; transform: translate3d(0, 48vh, 0) rotateX(-34deg) scale(.82); }
  60% { opacity: 1; transform: translate3d(0, -18px, 0) rotateX(2deg) scale(1.02); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) rotateX(0) scale(1); }
}

.hero-card::before, .panel::before, .card::before, .step::before, .contact-card::before, .intake-card::before, .quote-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,.28) 43%, rgba(109,245,255,.24) 50%, rgba(255,79,216,.20) 55%, transparent 63%);
  transform: translateX(-145%);
  opacity: 0;
}
.js-ready .reveal.in-view.hero-card::before,
.js-ready .reveal.in-view.panel::before,
.js-ready .reveal.in-view.card::before,
.js-ready .reveal.in-view.step::before,
.js-ready .reveal.in-view.contact-card::before,
.js-ready .reveal.in-view.intake-card::before,
.js-ready .reveal.in-view.quote-band::before {
  animation: scanBuild 1.28s cubic-bezier(.16,1,.3,1) calc(var(--build-delay, 0ms) + 90ms) both;
}
@keyframes scanBuild {
  0% { transform: translateX(-145%); opacity: 0; }
  12% { opacity: .95; }
  100% { transform: translateX(145%); opacity: 0; }
}

.button { transition: transform .22s ease, box-shadow .22s ease, background .22s ease; }
.button:hover { transform: translateY(-2px) scale(1.015); }
.button:active { transform: translateY(0) scale(.99); }



/* V9 content and navigation additions */
.site-nav { flex-wrap: wrap; justify-content: flex-end; }
.section-link { margin-top: 24px; }
.problem-cards .card h2,
.problem-cards .card h3 { letter-spacing: -0.04em; }
.process-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.mini-step {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,0.13), rgba(255,255,255,0.055));
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px);
}
.mini-step span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,.12);
  color: var(--gold);
  font-weight: 950;
}
.rate-card {
  border-color: rgba(255, 211, 109, 0.38);
  background: linear-gradient(145deg, rgba(255, 211, 109, 0.16), rgba(255, 79, 216, 0.08));
}
.check-list {
  margin: 16px 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  margin: 12px 0;
  color: var(--text);
  font-weight: 750;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--cyan);
  font-weight: 950;
}
.compact-list li { margin: 8px 0; }
.faq-list {
  display: grid;
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
}
.faq {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,0.12), rgba(255,255,255,0.055));
  border-radius: 22px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 950;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}
.faq p { margin-bottom: 0; }
.send-guide { margin-top: 18px; }
.footer-trust { margin-top: 8px !important; max-width: 680px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
  text-align: right;
  max-width: 620px;
}
.footer-links a,
.footer-links span {
  color: var(--muted);
  font-size: .95rem;
}
.footer-links a:hover { color: var(--text); }
/* Make first-screen content visible quickly while keeping the stage-entry effect. */
.js-ready .priority-reveal.in-view { animation-duration: .95s; }

@media (max-width: 900px) {
  .process-strip { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; text-align: left; }
  .menu-button { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(12, 7, 26, .94);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a, .site-nav button { padding: 14px; text-align: left; }
  .hero, .split, .cards, .contact-layout { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 58px; }
  .hero-card { transform: none; }
  .step { grid-template-columns: 1fr; }
  .step span, .step h2, .step p { grid-column: auto; grid-row: auto; }
  .site-footer { flex-direction: column; }
}

@media (max-width: 560px) {
  .brand-text { display: none; }
  .hero-actions, .contact-actions { flex-direction: column; }
  .button { width: 100%; }
  h1 { font-size: clamp(2.45rem, 15vw, 4.4rem); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .site-header { opacity: 1; transform: none; }
}

