/* ============================================================
   SYSTEM WISE — REVENUE SYSTEMS FOR HIGH-TICKET HOME SERVICES
   Design system: EOS technical dark × Krios editorial warmth ×
   Affinity institute craft. Brand: black + lime.
   ============================================================ */

:root {
  /* palette */
  --ink: #0b0d0a;
  --ink-2: #12150f;
  --ink-3: #1a1e15;
  --paper: #f4f0e6;
  --cream: #ece7d9;
  --lime: #c6f24e;
  --lime-deep: #7fa323;
  --lime-dark: #a8d62f;
  --muted-dark: #a8a494;
  --muted-light: #6d6a5c;
  --line-dark: rgba(255, 255, 255, 0.13);
  --line-light: rgba(11, 13, 10, 0.14);

  /* type */
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.7s;
  --radius: 14px;
  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1240px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { list-style: none; }
::selection { background: var(--lime); color: var(--ink); }

/* ---------- typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.display { font-size: clamp(2.7rem, 6.4vw, 5.2rem); }
.h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--muted-light); }
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.on-dark .eyebrow { color: var(--lime); }
.muted { color: var(--muted-light); }
.on-dark .muted { color: var(--muted-dark); }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 132px) 0; position: relative; }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .cols-4 { grid-template-columns: repeat(2, 1fr); } .cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

/* ---------- dark / light surfaces ---------- */
.dark { background: var(--ink); color: var(--cream); }
.dark-2 { background: var(--ink-2); color: var(--cream); }
.light { background: var(--paper); color: var(--ink); }
.cream { background: var(--cream); color: var(--ink); }

/* subtle grain for technical depth */
.grain::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
  padding: 20px 0;
}
.nav.scrolled { background: rgba(11, 13, 10, 0.92); backdrop-filter: blur(14px); padding: 12px 0; box-shadow: 0 1px 0 var(--line-dark); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; line-height: 1; font-family: var(--display); font-weight: 700; font-size: 1.45rem; letter-spacing: -0.02em; color: var(--cream); }
.brand img { height: 52px; width: auto; }
.brand b { color: var(--lime); font-weight: 700; }
.nav-center { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.nav-item { position: relative; }
.nav-item > a, .nav-toggle {
  font-size: 0.86rem; font-weight: 600; color: rgba(244, 240, 230, 0.82);
  position: relative; padding: 8px 0; display: inline-flex; align-items: center; gap: 5px;
  transition: color 0.25s; background: none; border: 0; cursor: pointer;
}
.nav-item > a::after, .nav-toggle::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav-item > a:hover, .nav-toggle:hover, .nav-item > a:hover::after, .nav-toggle:hover::after { color: var(--cream); transform: scaleX(1); }
.nav-item > a:hover::after, .nav-toggle:hover::after { transform: scaleX(1); }
.caret { font-size: 0.62rem; transition: transform 0.3s var(--ease); color: var(--lime); opacity: 0.95; }
.nav-item:hover .caret, .nav-item.open .caret { transform: rotate(180deg); }
.nav-flyout {
  position: absolute; top: 100%; left: -14px; min-width: 290px;
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 14px;
  padding: 14px; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.nav-item:hover .nav-flyout, .nav-item.open .nav-flyout { opacity: 1; visibility: visible; transform: translateY(4px); }
.nav-flyout .fl { display: block; padding: 10px 12px; border-radius: 10px; transition: background 0.25s; }
.nav-flyout .fl:hover { background: rgba(198,242,78,0.08); }
.nav-flyout .fl b { display: block; font-family: var(--display); font-size: 0.92rem; font-weight: 600; color: var(--cream); }
.nav-flyout .fl span { display: block; font-size: 0.74rem; color: var(--muted-dark); margin-top: 2px; line-height: 1.4; }
.nav-flyout .fl:hover b { color: var(--lime); }
.nav-flyout .fl-solo { display: block; padding: 10px 12px; border-radius: 10px; font-size: 0.86rem; font-weight: 600; color: var(--cream); transition: background 0.25s; }
.nav-flyout .fl-solo:hover { background: rgba(198,242,78,0.08); color: var(--lime); }
.nav-flyout .fl-head { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-dark); padding: 8px 12px 4px; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; gap: 5px; flex-direction: column; }
.burger span { width: 22px; height: 2px; background: var(--cream); transition: 0.3s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1180px) {
  .nav-links-mob { display: flex; }
  .nav-center { display: none; }
  .nav-cta .btn { display: none; }
  .burger { display: flex; }
}
.mob-menu {
  position: fixed; inset: 0; background: var(--ink); z-index: 99;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: 110px var(--gutter) 40px; overflow-y: auto;
  transform: translateY(-102%); transition: transform 0.5s var(--ease);
}
.mob-menu.open { transform: translateY(0); }
.mob-group { border-top: 1px solid var(--line-dark); padding: 18px 0; }
.mob-group > b { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime); display: block; margin-bottom: 12px; }
.mob-group a { display: block; font-family: var(--display); font-size: 1.25rem; font-weight: 600; color: var(--cream); padding: 8px 0; }
.mob-group a small { display: block; font-family: var(--body); font-size: 0.78rem; font-weight: 400; color: var(--muted-dark); margin-top: 2px; }
.mob-cta { margin-top: 24px; }
@media (min-width: 1181px) { .mob-menu, .burger { display: none !important; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-family: var(--body); font-weight: 700; font-size: 0.92rem; letter-spacing: 0.01em;
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, box-shadow 0.3s;
  white-space: nowrap;
}
.btn .arr { transition: transform 0.3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(198, 242, 78, 0.25); }
.btn-ghost { border: 1.5px solid rgba(244, 240, 230, 0.5); color: var(--cream); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(11, 13, 10, 0.25); }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 150px 0 90px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-grid-lines { position: absolute; inset: 0; opacity: 0.5;
  background-image: linear-gradient(rgba(244,240,230,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(244,240,230,0.045) 1px, transparent 1px);
  background-size: 90px 90px; mask-image: radial-gradient(ellipse at 30% 40%, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, black 20%, transparent 75%);
}
.hero-orb { position: absolute; width: 640px; height: 640px; border-radius: 50%; right: -180px; top: 50%; transform: translateY(-50%);
  background: radial-gradient(circle, rgba(198,242,78,0.14) 0%, rgba(198,242,78,0.05) 40%, transparent 70%);
  filter: blur(10px); animation: orb-drift 14s var(--ease) infinite alternate; }
@keyframes orb-drift { from { transform: translateY(-50%) translateX(0); } to { transform: translateY(-50%) translateX(-60px); } }
.hero-split { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-left { max-width: 760px; }
.hero .display { margin: 26px 0 24px; }
.hero .display .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero .display .w > span { display: inline-block; transform: translateY(110%); animation: word-in 0.8s var(--ease) forwards; }
@keyframes word-in { to { transform: translateY(0); } }
.hero .lead { max-width: 640px; }
.hero .btn-row { margin-top: 36px; }
.hero-stats { position: relative; z-index: 2; margin-top: clamp(56px, 8vw, 96px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.hero-stat { background: rgba(18, 21, 15, 0.85); padding: 28px clamp(18px, 3vw, 32px); }
.hero-stat b { display: block; font-family: var(--display); font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 700; color: var(--lime); letter-spacing: -0.03em; }
.hero-stat span { font-size: 0.8rem; color: var(--muted-dark); line-height: 1.45; display: block; margin-top: 6px; }
@media (max-width: 1100px) { .hero-split { grid-template-columns: 1fr; } .hero-right { max-width: 560px; } }
@media (max-width: 720px) { .hero-stats { grid-template-columns: 1fr; } }

/* ---------- hero right: leak visual ---------- */
.hero-right { position: relative; }
.leak-viz {
  background: rgba(18, 21, 15, 0.9); border: 1px solid var(--line-dark); border-radius: 20px;
  padding: clamp(20px, 2.6vw, 30px); position: relative; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.leak-viz::before { content: ""; position: absolute; top: -80px; right: -80px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(198,242,78,0.16), transparent 70%); }
.leak-viz .viz-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; position: relative; z-index: 1; }
.leak-viz .viz-head b { font-family: var(--display); font-size: 1.05rem; font-weight: 600; color: var(--cream); }
.leak-viz .viz-head span { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(244, 240, 230, 0.66); }
.lv-row { display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line-dark); position: relative; z-index: 1; }
.lv-row:first-of-type { border-top: 0; }
.lv-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-family: var(--mono); font-size: 0.66rem; color: var(--lime); background: rgba(198,242,78,0.1); border: 1px solid rgba(198,242,78,0.25); }
.lv-row .lv-label { font-size: 0.84rem; font-weight: 600; color: var(--cream); }
.lv-row .lv-sub { font-size: 0.7rem; color: rgba(244, 240, 230, 0.62); margin-top: 2px; }
.lv-val { font-family: var(--mono); font-size: 0.68rem; color: rgba(244, 240, 230, 0.72); }
.lv-bar { position: relative; z-index: 1; margin-top: 4px; height: 7px; border-radius: 99px; background: rgba(244,240,230,0.07); overflow: hidden; }
.lv-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--lime-deep), var(--lime)); transition: width 1.2s var(--ease); }
.lv-bar i.leak { background: linear-gradient(90deg, #b3362e, #e05c50); }
.viz-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-dark); position: relative; z-index: 1; }
.viz-foot .recovered { font-family: var(--display); font-size: 0.92rem; font-weight: 600; }
.viz-foot .recovered i { font-style: normal; color: var(--lime); }
.viz-foot .chip { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-dark); border: 1px dashed rgba(244,240,230,0.25); border-radius: 99px; padding: 5px 10px; }
.leak-viz .lv-bar i { width: 0; }
.leak-viz.animate .lv-bar i { width: var(--w); }
.leak-viz .lv-bar i.leak { width: 0; }
.leak-viz.animate .lv-bar i.leak { width: var(--w); }

/* ---------- hero right: pulse ring visual ---------- */
.hero-panel-alt { display: none; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding: 22px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 48px; animation: marquee 32s linear infinite; padding-right: 48px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee span { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dark); display: inline-flex; align-items: center; gap: 48px; }
.marquee span::after { content: "◆"; color: var(--lime); font-size: 0.5rem; }
.marquee.light-mode { border-color: var(--line-light); }
.marquee.light-mode span { color: var(--muted-light); }

/* ---------- cards ---------- */
.card {
  background: var(--ink-3); border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px); transition: transform 0.45s var(--ease), border-color 0.35s, background 0.35s;
  position: relative; overflow: hidden;
}
.light .card, .cream .card { background: #fffdf6; border-color: var(--line-light); }
.card:hover { transform: translateY(-6px); border-color: rgba(198, 242, 78, 0.5); }
.card .k { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime); display: block; margin-bottom: 14px; }
.light .card .k, .cream .card .k { color: var(--lime-deep); }
.card h3 { margin-bottom: 12px; }
.card p { font-size: 0.92rem; color: var(--muted-dark); line-height: 1.55; }
.light .card p, .cream .card p { color: var(--muted-light); }
.card .lnk { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 700; font-size: 0.88rem; color: var(--cream); }
.card .lnk .arr { color: var(--lime); transition: transform 0.3s var(--ease); }
.card:hover .lnk .arr { transform: translateX(5px); }
.light .card .lnk { color: var(--ink); }
.card-num { font-family: var(--display); font-size: 3rem; font-weight: 700; color: transparent; -webkit-text-stroke: 1px rgba(198, 242, 78, 0.4); position: absolute; top: 18px; right: 22px; }
.light .card-num { -webkit-text-stroke: 1px rgba(11, 13, 10, 0.25); }

/* leak list */
.leak { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: start; padding: 26px 0; border-top: 1px solid var(--line-dark); }
.light .leak { border-color: var(--line-light); }
.leak:last-child { border-bottom: 1px solid var(--line-dark); }
.light .leak:last-child { border-bottom-color: var(--line-light); }
.leak .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--lime); margin-top: 8px; box-shadow: 0 0 0 0 rgba(198,242,78,0.5); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(198,242,78,0.45); } 70% { box-shadow: 0 0 0 12px rgba(198,242,78,0); } 100% { box-shadow: 0 0 0 0 rgba(198,242,78,0); } }
.leak h3 { font-size: 1.15rem; margin-bottom: 6px; }
.leak p { font-size: 0.9rem; color: var(--muted-dark); max-width: 560px; }
.light .leak p { color: var(--muted-light); }
.leak .cost { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lime); white-space: nowrap; padding-top: 4px; }
.light .leak .cost { color: var(--lime-deep); }

/* ---------- steps / timeline ---------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 26px 0; border-top: 1px solid var(--line-dark); counter-increment: step; }
.light .step, .cream .step { border-color: var(--line-light); }
.step .n { font-family: var(--display); font-size: 1.6rem; font-weight: 700; color: var(--lime); }
.light .step .n, .cream .step .n { color: var(--lime-deep); }
.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.92rem; color: var(--muted-dark); max-width: 640px; }
.light .step p, .cream .step p { color: var(--muted-light); }

/* ---------- offer tiles ---------- */
.offer-tile { display: flex; flex-direction: column; }
.offer-tile .tag { align-self: flex-start; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin-bottom: 20px; }
.tag-core { background: rgba(198,242,78,0.12); color: var(--lime); border: 1px solid rgba(198,242,78,0.35); }
.tag-premium { background: var(--lime); color: var(--ink); }
.tag-front { background: transparent; color: var(--muted-dark); border: 1px dashed rgba(244,240,230,0.3); }
.light .tag-front { color: var(--muted-light); border-color: var(--line-light); }
.offer-tile h3 { font-size: 1.6rem; margin-bottom: 14px; }
.offer-tile .desc { flex: 1; font-size: 0.94rem; color: var(--muted-dark); }
.light .offer-tile .desc { color: var(--muted-light); }
.offer-tile ul { margin: 20px 0 24px; display: grid; gap: 10px; }
.offer-tile li { display: flex; gap: 10px; font-size: 0.88rem; color: var(--cream); }
.light .offer-tile li { color: var(--ink); }
.offer-tile li::before { content: "→"; color: var(--lime); font-weight: 700; }
.light .offer-tile li::before { color: var(--lime-deep); }

/* ---------- stats band ---------- */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--ink-2); padding: 30px 26px; }
.stat b { display: block; font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; color: var(--cream); letter-spacing: -0.03em; }
.stat b i { font-style: normal; color: var(--lime); }
.stat span { display: block; margin-top: 8px; font-size: 0.78rem; color: var(--muted-dark); line-height: 1.5; }
@media (max-width: 900px) { .stat-band { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stat-band { grid-template-columns: 1fr; } }

/* ---------- callout ---------- */
.callout { border-left: 3px solid var(--lime); background: rgba(198, 242, 78, 0.06); padding: clamp(20px, 3vw, 30px) clamp(20px, 3vw, 34px); border-radius: 0 var(--radius) var(--radius) 0; }
.light .callout, .cream .callout { background: rgba(127, 163, 35, 0.08); }
.callout .quote { font-family: var(--display); font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; }
.callout .src { font-family: var(--mono); font-size: 0.68rem; color: var(--muted-dark); margin-top: 12px; display: block; }
.light .callout .src { color: var(--muted-light); }

/* ---------- accordion ---------- */
.acc { border-top: 1px solid var(--line-dark); }
.light .acc, .cream .acc { border-color: var(--line-light); }
.acc:last-child { border-bottom: 1px solid var(--line-dark); }
.light .acc:last-child { border-bottom-color: var(--line-light); }
.acc-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; text-align: left; font-family: var(--display); font-size: 1.08rem; font-weight: 600; color: inherit; }
.acc-q .pm { font-size: 1.4rem; color: var(--lime); transition: transform 0.35s var(--ease); }
.light .acc-q .pm, .cream .acc-q .pm { color: var(--lime-deep); }
.acc.open .pm { transform: rotate(45deg); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.acc-a p { padding: 0 4px 24px; font-size: 0.94rem; color: var(--muted-dark); max-width: 720px; }
.light .acc-a p, .cream .acc-a p { color: var(--muted-light); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; }
.cta-band .display { max-width: 760px; margin: 0 auto 20px; }
.cta-band p { max-width: 620px; margin: 0 auto 36px; color: var(--muted-dark); }
.cta-band .btn-row { justify-content: center; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--cream); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line-dark); }
.footer .brand { margin-bottom: 16px; }
.footer p { font-size: 0.85rem; color: var(--muted-dark); max-width: 300px; }
.footer h4 { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 16px; font-weight: 500; }
.footer li { margin-bottom: 10px; }
.footer li a { font-size: 0.88rem; color: rgba(244,240,230,0.75); transition: color 0.25s; }
.footer li a:hover { color: var(--lime); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; font-size: 0.74rem; color: var(--muted-dark); }
.footer-bottom .mono { font-family: var(--mono); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: clamp(140px, 18vw, 190px) 0 clamp(60px, 7vw, 90px); position: relative; overflow: hidden; }
.page-hero .display { margin: 22px 0 20px; max-width: 900px; }
.page-hero .lead { max-width: 680px; }
.crumbs { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dark); }
.crumbs a:hover { color: var(--lime); }

/* ---------- include list ---------- */
.inc { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line-dark); align-items: start; }
.light .inc, .cream .inc { border-color: var(--line-light); }
.inc .ic { width: 40px; height: 40px; border-radius: 10px; background: rgba(198,242,78,0.12); border: 1px solid rgba(198,242,78,0.3); display: grid; place-items: center; font-family: var(--mono); font-size: 0.7rem; color: var(--lime); }
.light .inc .ic, .cream .inc .ic { color: var(--lime-deep); border-color: rgba(127,163,35,0.35); background: rgba(127,163,35,0.1); }
.inc h4 { font-size: 1.02rem; margin-bottom: 5px; }
.inc p { font-size: 0.88rem; color: var(--muted-dark); }
.light .inc p, .cream .inc p { color: var(--muted-light); }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 10px;
  color: var(--cream); font-family: var(--body); font-size: 0.95rem; padding: 14px 16px;
  transition: border-color 0.3s, box-shadow 0.3s; outline: none;
}
.light .field input, .light .field select, .light .field textarea { background: #fffdf6; border-color: var(--line-light); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(198,242,78,0.15); }
.field textarea { min-height: 110px; resize: vertical; }
.field select option { background: var(--ink); }

/* ---------- Tally-style multi-step qualification form ---------- */
.qf-card {
  background: var(--ink-3); border: 1px solid var(--line-dark); border-radius: 22px;
  padding: clamp(24px, 3.4vw, 44px); position: relative; overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}
.qf-card::before { content: ""; position: absolute; top: -120px; right: -120px; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(198,242,78,0.12), transparent 70%); }
.qf-progress { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; position: relative; z-index: 1; }
.qf-progress .bar { flex: 1; height: 5px; border-radius: 99px; background: rgba(244,240,230,0.16); overflow: hidden; }
.qf-progress .bar i { display: block; height: 100%; background: var(--lime); border-radius: 99px; transition: width 0.5s var(--ease); }
.qf-progress .step-no { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; color: rgba(244, 240, 230, 0.72); white-space: nowrap; }
.qf-step { display: none; position: relative; z-index: 1; }
.qf-step.active { display: block; animation: qf-in 0.45s var(--ease); }
@keyframes qf-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.qf-step h3 { font-family: var(--display); font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 600; margin-bottom: 8px; }
.qf-step .q-sub { font-size: 0.88rem; color: rgba(244, 240, 230, 0.66); margin-bottom: 24px; max-width: 460px; }
.qf-options { display: grid; gap: 10px; }
.qf-option {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  background: rgba(244,240,230,0.05); border: 1px solid rgba(244,240,230,0.2); border-radius: 14px;
  padding: 16px 18px; color: var(--cream); font-size: 0.94rem; font-weight: 500;
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease); cursor: pointer;
}
.qf-option:hover { border-color: rgba(198,242,78,0.45); transform: translateX(3px); }
.qf-option .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(244,240,230,0.55); flex-shrink: 0; display: grid; place-items: center; transition: border-color 0.25s; }
.qf-option .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); transform: scale(0); transition: transform 0.25s var(--ease); }
.qf-option.sel { border-color: var(--lime); background: rgba(198,242,78,0.08); }
.qf-option.sel .radio { border-color: var(--lime); }
.qf-option.sel .radio::after { transform: scale(1); }
.qf-option .opt-extra { margin-left: auto; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-dark); white-space: nowrap; }
.qf-field label { display: block; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 8px; }
.qf-field input, .qf-field select, .qf-field textarea {
  width: 100%; background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 12px;
  color: var(--cream); font-family: var(--body); font-size: 1rem; padding: 14px 16px;
  transition: border-color 0.3s, box-shadow 0.3s; outline: none;
}
.qf-field input:focus, .qf-field select:focus, .qf-field textarea:focus { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(198,242,78,0.15); }
.qf-field textarea { min-height: 100px; resize: vertical; }
.qf-field select option { background: var(--ink); }
.qf-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; gap: 12px; position: relative; z-index: 1; }
.qf-back { font-size: 0.86rem; font-weight: 600; color: var(--muted-dark); padding: 12px 8px; transition: color 0.25s; }
.qf-back:hover { color: var(--cream); }
.qf-next { margin-left: auto; }
.qf-done { display: none; text-align: center; position: relative; z-index: 1; padding: 18px 0 6px; }
.qf-done.active { display: block; animation: qf-in 0.5s var(--ease); }
.qf-done .tick { width: 64px; height: 64px; border-radius: 50%; background: rgba(198,242,78,0.12); border: 1px solid rgba(198,242,78,0.4); display: grid; place-items: center; margin: 0 auto 20px; color: var(--lime); font-size: 1.5rem; animation: pop 0.5s var(--ease); }
@keyframes pop { from { transform: scale(0.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.qf-done h3 { font-family: var(--display); font-size: 1.5rem; font-weight: 600; margin-bottom: 10px; }
.qf-done p { color: var(--muted-dark); font-size: 0.92rem; max-width: 420px; margin: 0 auto; line-height: 1.55; }
.qf-chip { display: inline-flex; align-items: center; gap: 8px; background: rgba(244,240,230,0.05); border: 1px solid var(--line-dark); border-radius: 99px; padding: 7px 14px; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-dark); }
.qf-chip i { font-style: normal; color: var(--lime); }

/* ---------- reveal animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal].in { opacity: 1; transform: translateY(0); }
[data-reveal="left"] { transform: translateX(-36px); }
[data-reveal="left"].in { transform: translateX(0); }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="right"].in { transform: translateX(0); }
[data-reveal="scale"] { transform: scale(0.94); }
[data-reveal="scale"].in { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero .display .w > span { transform: none; }
  .marquee-track { animation: none; }
}
