:root {
  --ink: #07080C;
  --bg: #0B0D13;
  --panel: #10131C;
  --panel-2: #151927;
  --text: #F2F4F8;
  --muted: #98A1B5;
  --faint: #5C6478;
  --amber: #FFB020;
  --amber-2: #FF8A3D;
  --grad: linear-gradient(100deg, #FFB020, #FF8A3D);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --radius: 14px;
  --max: 1160px;
  --display: "Space Grotesk", "Segoe UI", sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--amber); color: #14181f; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
h1, h2, h3, .brand { font-family: var(--display); letter-spacing: -0.01em; }

/* ---------- Utility bar + header ---------- */
.utility {
  background: var(--ink); border-bottom: 1px solid var(--line);
  font-size: 0.78rem; color: var(--faint);
}
.utility .wrap { display: flex; justify-content: space-between; padding: 7px 24px; gap: 16px; }
.utility b { color: var(--muted); font-weight: 600; }
.utility a { color: var(--amber); text-decoration: none; font-weight: 700; }
header.site, header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(11, 13, 19, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.utility { position: static; backdrop-filter: none; }
.nav { display: flex; align-items: center; gap: 30px; padding: 16px 24px; max-width: var(--max); margin: 0 auto; }
.brand { font-weight: 700; font-size: 1.3rem; color: var(--text); text-decoration: none; line-height: 1.1; }
.brand span { color: var(--amber); }
.brand small {
  display: block; font-family: var(--body); font-size: 0.6rem; font-weight: 700;
  color: var(--faint); letter-spacing: 2.2px; text-transform: uppercase; margin-top: 2px;
}
.nav-links { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 600; transition: color .15s; }
.nav-links a:hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--grad); color: #14100a; font-weight: 800;
  font-family: var(--body); padding: 14px 28px; border-radius: 10px; text-decoration: none;
  border: none; font-size: 1rem; cursor: pointer;
  box-shadow: 0 6px 24px rgba(255, 158, 46, 0.28);
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(255, 158, 46, 0.4); }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-ghost {
  display: inline-block; color: var(--text); font-weight: 700; padding: 13px 26px;
  border-radius: 10px; text-decoration: none; border: 1px solid var(--line-strong);
  font-size: 0.95rem; transition: border-color .15s, background .15s;
}
.btn-ghost:hover { border-color: var(--amber); background: rgba(255, 176, 32, 0.06); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 480px at 78% -10%, rgba(255, 150, 40, 0.14), transparent 60%),
    linear-gradient(100deg, rgba(7, 8, 12, 0.95) 0%, rgba(7, 8, 12, 0.86) 45%, rgba(10, 12, 18, 0.66) 100%),
    url("/img/hero-night-post.jpg") center 28% / cover no-repeat,
    var(--ink);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent 0 79px, rgba(255,255,255,0.025) 79px 80px),
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(255,255,255,0.025) 79px 80px);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 56px; padding: 78px 0 66px; align-items: start; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--amber); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad); }
.hero h1 { font-size: 3.3rem; line-height: 1.06; font-weight: 700; margin-bottom: 22px; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { color: var(--muted); font-size: 1.14rem; margin-bottom: 30px; max-width: 33em; }
.hero .lede strong { color: var(--text); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* Stat band under hero copy */
.trust { display: grid; grid-template-columns: repeat(4, auto); gap: 10px 38px; margin-top: 42px; padding-top: 30px; border-top: 1px solid var(--line); }
.trust div { font-size: 0.8rem; color: var(--faint); font-weight: 600; }
.trust b { display: block; font-family: var(--display); color: var(--text); font-size: 1.6rem; font-weight: 700; line-height: 1.2; }
.trust b .accent { color: var(--amber); }

/* ---------- Quote card ---------- */
.quote-card {
  position: relative;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 30px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.quote-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: var(--radius);
  padding: 1px; background: linear-gradient(140deg, rgba(255,176,32,.55), transparent 40%, transparent 70%, rgba(255,138,61,.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.quote-card .pill {
  display: inline-block; font-size: 0.68rem; font-weight: 800; letter-spacing: 1.6px;
  text-transform: uppercase; color: #14100a; background: var(--grad);
  padding: 4px 12px; border-radius: 99px; margin-bottom: 14px;
}
.quote-card h2, .quote-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.quote-card > p { color: var(--muted); font-size: 0.88rem; margin-bottom: 8px; }
.quote-card label { display: block; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.4px; color: var(--muted); margin: 14px 0 5px; text-transform: uppercase; }
.quote-card input, .quote-card select, .quote-card textarea {
  width: 100%; padding: 12px 14px; border-radius: 9px; border: 1px solid var(--line-strong);
  background: var(--ink); color: var(--text); font-size: 0.96rem; font-family: var(--body);
  transition: border-color .15s;
}
.quote-card input:focus, .quote-card select:focus, .quote-card textarea:focus { outline: none; border-color: var(--amber); }
.quote-card .btn { width: 100%; margin-top: 20px; }
.form-note { font-size: 0.76rem; color: var(--faint); margin-top: 12px; text-align: center; }
.form-success { display: none; text-align: center; padding: 36px 10px; }
.form-success h3 { color: var(--amber); margin-bottom: 8px; }
.form-success p { color: var(--muted); }
.hp { position: absolute; left: -9999px; opacity: 0; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
section.alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--amber); margin-bottom: 14px;
}
h2.section-title { font-size: 2.3rem; line-height: 1.15; margin-bottom: 14px; }
.section-sub { color: var(--muted); max-width: 44em; margin-bottom: 44px; font-size: 1.05rem; }
.section-sub a { color: var(--amber); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .2s, border-color .2s;
}
section.alt .card { background: var(--panel-2); }
.card:hover { transform: translateY(-3px); border-color: rgba(255, 176, 32, 0.35); }
.card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.card h3 a { color: var(--text); text-decoration: none; }
.card h3 a:hover { color: var(--amber); }
.card p { color: var(--muted); font-size: 0.92rem; }
.card p a { color: var(--amber); }
.card .tag {
  display: inline-block; font-size: 0.66rem; font-weight: 800; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--amber); margin-bottom: 12px;
}
.card .icon { width: 40px; height: 40px; margin-bottom: 16px; color: var(--amber); }
.card .icon svg { width: 100%; height: 100%; }

/* ---------- Problem panel ---------- */
.problem {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  background: linear-gradient(120deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-strong); border-radius: 18px; padding: 48px;
}
.problem h2 { font-size: 1.9rem; line-height: 1.2; margin-bottom: 16px; }
.problem h2 em { font-style: normal; color: var(--amber); }
.problem p { color: var(--muted); margin-bottom: 14px; }
.problem p strong { color: var(--text); }
.exclusion {
  background: var(--ink); border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 26px; font-family: "Consolas", monospace; font-size: 0.85rem; color: var(--muted);
}
.exclusion .head { color: var(--faint); font-size: 0.7rem; letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 14px; }
.exclusion .strike { color: #E5484D; text-decoration: line-through; text-decoration-thickness: 1.5px; }
.exclusion .ok { color: #46C08A; }
.exclusion div { padding: 5px 0; border-bottom: 1px dashed var(--line); }
.exclusion div:last-child { border-bottom: none; }

/* ---------- Estimator ---------- */
.estimator {
  display: grid; grid-template-columns: 1fr 0.9fr; gap: 48px;
  background: var(--panel-2); border: 1px solid var(--line-strong);
  border-radius: 18px; padding: 44px 48px;
}
.estimator label { display: block; font-size: 0.8rem; font-weight: 700; color: var(--muted); margin: 22px 0 6px; text-transform: uppercase; letter-spacing: 1px; }
.estimator label output { color: var(--amber); font-size: 0.95rem; float: right; font-weight: 800; }
.estimator input[type="range"] { width: 100%; accent-color: var(--amber); height: 6px; cursor: pointer; }
.estimator .seg { display: flex; gap: 8px; margin-top: 4px; }
.estimator .seg button {
  flex: 1; padding: 10px 8px; border-radius: 9px; border: 1px solid var(--line-strong);
  background: var(--ink); color: var(--muted); font-weight: 700; font-size: 0.86rem;
  cursor: pointer; font-family: var(--body); transition: all .15s;
}
.estimator .seg button.on { background: var(--grad); color: #14100a; border-color: transparent; }
.est-result { text-align: center; align-self: center; }
.est-result .label { font-size: 0.76rem; letter-spacing: 2px; text-transform: uppercase; color: var(--faint); font-weight: 700; }
.est-result .figure { font-family: var(--display); font-size: 2.9rem; font-weight: 700; margin: 8px 0 2px; }
.est-result .figure span { color: var(--amber); }
.est-result .per { color: var(--muted); font-size: 0.9rem; margin-bottom: 18px; }
.est-result .fine { color: var(--faint); font-size: 0.76rem; margin-top: 14px; max-width: 26em; margin-left: auto; margin-right: auto; }

/* ---------- Comparison table ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 10px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.94rem; }
.compare th { font-family: var(--display); font-size: 1rem; color: var(--text); text-transform: none; letter-spacing: 0; }
.compare th.us { color: var(--amber); }
.compare td { color: var(--muted); }
.compare td.us { color: var(--text); font-weight: 600; background: rgba(255, 176, 32, 0.05); }
.compare tr td:first-child { color: var(--text); font-weight: 600; }
.compare .yes { color: #46C08A; font-weight: 800; margin-right: 8px; }
.compare .no { color: #E5484D; font-weight: 800; margin-right: 8px; }

/* ---------- Steps timeline ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.steps .card { position: relative; padding-top: 34px; overflow: visible; }
.steps .card::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: -20px; left: 24px;
  font-family: var(--display); font-weight: 700; font-size: 1rem;
  background: var(--grad); color: #14100a;
  padding: 7px 14px; border-radius: 9px; box-shadow: 0 6px 18px rgba(255,158,46,.3);
}
.steps .card .when { font-size: 0.72rem; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--amber); margin-bottom: 8px; }

/* ---------- Ticker ---------- */
.ticker-wrap { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink); padding: 18px 0; }
.ticker { display: flex; gap: 14px; width: max-content; animation: tick 36s linear infinite; }
.ticker span {
  white-space: nowrap; font-size: 0.82rem; font-weight: 700; color: var(--muted);
  border: 1px solid var(--line-strong); border-radius: 99px; padding: 8px 18px;
}
.ticker span b { color: var(--amber); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Photo strip ---------- */
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.photo-strip figure {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-strong); background: var(--panel);
}
.photo-strip img {
  width: 100%; height: 340px; object-fit: cover; display: block;
  filter: saturate(0.82) contrast(1.06) brightness(0.88);
  transition: transform .35s ease, filter .35s ease;
}
.photo-strip figure:hover img { transform: scale(1.04); filter: saturate(1) contrast(1.06) brightness(0.96); }
.photo-strip figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px;
  background: linear-gradient(180deg, transparent, rgba(7, 8, 12, 0.88));
  font-size: 0.8rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text);
}
.photo-strip figcaption b { color: var(--amber); }
@media (max-width: 700px) { .photo-strip { grid-template-columns: 1fr; } .photo-strip img { height: 240px; } }

/* ---------- Placements ---------- */
.placement { border-left: 3px solid var(--amber); }
.placement .meta { font-size: 0.72rem; letter-spacing: 1.4px; text-transform: uppercase; color: var(--faint); font-weight: 800; margin-bottom: 10px; }
.placement .num { font-family: var(--display); font-size: 1.7rem; font-weight: 700; color: var(--amber); }
.placement .num small { font-size: 0.9rem; color: var(--muted); font-family: var(--body); font-weight: 600; }

/* ---------- Article pages ---------- */
.article { max-width: 800px; margin: 0 auto; padding: 72px 24px; }
.article h1 { font-size: 2.5rem; line-height: 1.12; margin-bottom: 16px; }
.article .byline { color: var(--faint); font-size: 0.86rem; margin-bottom: 34px; }
.article h2 { font-size: 1.55rem; margin: 46px 0 14px; }
.article h3 { font-size: 1.15rem; margin: 28px 0 8px; }
.article p, .article li { color: #C3CAD8; }
.article p { margin-bottom: 16px; }
.article ul, .article ol { margin: 0 0 16px 24px; }
.article li { margin-bottom: 8px; }
.article strong { color: var(--text); }
.article a { color: var(--amber); }
.answer-box {
  background: var(--panel-2); border: 1px solid var(--line-strong); border-left: 4px solid var(--amber);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin: 0 0 30px;
}
.answer-box p { margin: 0; color: var(--text); }
table { width: 100%; border-collapse: collapse; margin: 18px 0 28px; font-size: 0.93rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
th { color: var(--amber); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 1.2px; font-weight: 800; }
td { color: #C3CAD8; }

/* ---------- FAQ ---------- */
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; transition: border-color .2s; }
.faq details[open] { border-color: rgba(255, 176, 32, 0.35); }
.faq summary { padding: 20px 24px; font-weight: 700; font-family: var(--display); cursor: pointer; list-style: none; position: relative; padding-right: 52px; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 15px; font-size: 1.6rem; color: var(--amber); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 20px; color: var(--muted); }
.faq details p a { color: var(--amber); }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center; padding: 92px 24px; position: relative; overflow: hidden;
  background: radial-gradient(700px 300px at 50% 120%, rgba(255,150,40,.18), transparent 65%), var(--ink);
  border-top: 1px solid var(--line);
}
.cta-band h2 { font-size: 2.4rem; margin-bottom: 12px; }
.cta-band p { color: var(--muted); margin-bottom: 30px; font-size: 1.05rem; }

/* ---------- Footer ---------- */
footer { position: static; border-top: 1px solid var(--line); padding: 56px 0 34px; background: var(--ink); backdrop-filter: none; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; margin-bottom: 34px; }
footer h4 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 2px; color: var(--faint); margin-bottom: 14px; }
footer a { color: var(--muted); text-decoration: none; display: block; margin-bottom: 9px; font-size: 0.9rem; }
footer a:hover { color: var(--text); }
footer p { color: var(--muted); font-size: 0.86rem; }
.foot-legal { border-top: 1px solid var(--line); padding-top: 22px; font-size: 0.78rem; color: var(--faint); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker { animation: none; }
}

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 95;
  background: rgba(11, 13, 19, 0.92); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-strong); padding: 12px 16px;
}
.mobile-cta .btn { width: 100%; text-align: center; padding: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero h1 { font-size: 2.4rem; }
  .hero-grid, .problem, .estimator { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .hero-grid { padding: 44px 0; gap: 36px; }
  .hero h1 { font-size: 2rem; }
  .nav-links { display: none; }
  .nav > .btn-sm { margin-left: auto; }
  .grid-3, .grid-2, .steps, .foot-grid { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr 1fr; }
  .problem, .estimator { padding: 28px; }
  .steps { gap: 34px; }
  .mobile-cta { display: block; }
  body { padding-bottom: 64px; }
  .utility .u-left { display: none; }
  h2.section-title { font-size: 1.75rem; }
  .cta-band h2 { font-size: 1.8rem; }
  section { padding: 60px 0; }
  .article h1 { font-size: 1.9rem; }
}
