@font-face {
  font-family: "Inter Display";
  src: url("/assets/fonts/inter-display-black.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter Display";
  src: url("/assets/fonts/inter-display-extrabold.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

:root {
  --ink: #0d0d12;
  --ink-2: #1a1a24;
  --ink-3: #2a2a38;
  --paper: #fbf8f1;
  --paper-2: #f2ecdf;
  --line: #ded6c4;
  --muted: #555362;
  --hot: #ff4d1c;
  --hot-text: #b5330c; /* --hot darkened for small text: 5.18:1 on --paper-2, 5.75:1 on --paper */
  --volt: #c8f135;
  --radius: 16px;
  --wrap: 1140px;
  --display: "Inter Display", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --pop: 6px 6px 0 var(--ink);
  font-size: 17px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0 0 0.5em; }
h1 { font-weight: 900; font-size: clamp(2.2rem, 5.4vw, 3.6rem); letter-spacing: -0.03em; }
h2 { font-weight: 900; font-size: clamp(1.9rem, 4.2vw, 2.9rem); letter-spacing: -0.025em; }
h3 { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0 0 1em; }
a { color: inherit; }
::selection { background: var(--volt); color: var(--ink); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

section { padding: 88px 0; scroll-margin-top: 68px; }
.band { background: var(--paper-2); }

.kicker {
  display: inline-block; font-family: var(--mono); font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--hot-text); margin: 0 0 14px;
}
.kicker::before { content: "> "; }

/* Bot mark: a little Missouri-shaped robot that blinks. The body is an SVG
   background; the antenna stem and light are the pseudo-elements, set over the
   antenna's spot on the state's northern border (44.6% across). */
.bot {
  position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 3px;
  width: 36px; height: 32px; padding-bottom: 6px; background: url("/assets/logo/smtb-body.svg") center / contain no-repeat; margin-top: 6px;
}
.bot::before {
  content: ""; position: absolute; left: 44.6%; top: -7px; width: 2px; height: 7px;
  background: var(--hot); transform: translateX(-50%);
}
.bot::after {
  content: ""; position: absolute; left: 44.6%; top: -12px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--volt); transform: translateX(-50%); animation: ping 2.4s ease-in-out infinite;
}
.bot i { display: block; width: 4px; height: 8px; border-radius: 2px; background: var(--ink); animation: blink 5s infinite; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(0.1); } }
@keyframes ping { 0%, 100% { box-shadow: 0 0 0 0 rgba(200, 241, 53, 0.7); } 50% { box-shadow: 0 0 0 6px rgba(200, 241, 53, 0); } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(13, 13, 18, 0.94); color: #fff;
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--ink-3);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand {
  display: inline-flex; white-space: nowrap; align-items: center; gap: 12px; text-decoration: none;
  font-family: var(--display); font-weight: 900; font-size: 1.15rem; letter-spacing: -0.01em; text-transform: uppercase;
}
nav { display: flex; align-items: center; gap: 24px; }
nav a { text-decoration: none; opacity: 0.85; font-weight: 600; }
nav a:hover { opacity: 1; color: var(--volt); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 12px;
  background: var(--hot); color: var(--ink); font-weight: 800; text-decoration: none;
  border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
}
.btn::after { content: "\2192"; transition: transform 0.15s ease; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:hover::after { transform: translateX(4px); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn:focus-visible, nav a:focus-visible, .scenario-tabs button:focus-visible { outline: 3px solid var(--volt); outline-offset: 3px; }
.btn-small { white-space: nowrap; padding: 8px 16px; font-size: 0.9rem; opacity: 1 !important; box-shadow: 3px 3px 0 var(--volt); border-color: var(--ink); }
.btn-small:hover { color: var(--ink) !important; box-shadow: 4px 4px 0 var(--volt); }
.btn-ghost { background: transparent; color: #fff; border-color: #fff; box-shadow: 4px 4px 0 var(--volt); }
.btn-ghost:hover { box-shadow: 6px 6px 0 var(--volt); }
.btn-light { background: var(--ink); color: #fff; }
.btn-light:hover { background: var(--ink-2); }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff; padding: 96px 0 92px;
  background-color: var(--ink);
  background-image:
    radial-gradient(600px 400px at 85% 10%, rgba(255, 77, 28, 0.28), transparent 70%),
    radial-gradient(500px 360px at 0% 100%, rgba(200, 241, 53, 0.16), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: auto, auto, 40px 40px, 40px 40px;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 0.78rem; color: var(--volt); font-weight: 700;
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--volt);
  animation: ping 2.4s ease-in-out infinite;
}
.hero h1 { max-width: 16em; }
.hero-title { font-size: clamp(2.5rem, 6.4vw, 4.7rem); text-transform: uppercase; letter-spacing: -0.015em; word-spacing: 0.08em; line-height: 1; }
.hero-title .zap { color: var(--ink); background: var(--volt); padding: 0 0.12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.subhead { font-size: clamp(1.15rem, 2.4vw, 1.4rem); font-weight: 700; max-width: 26em; margin-bottom: 0.8em; }
.lede { font-size: 1.12rem; max-width: 38em; opacity: 0.88; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin: 30px 0 36px; }
.proof { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 0.92rem; opacity: 0.85; }
.proof li::before { content: "\2713"; color: var(--volt); font-weight: 900; margin-right: 8px; }

/* Bot console */
.console {
  background: var(--ink-2); border: 2px solid #fff; border-radius: var(--radius);
  box-shadow: 10px 10px 0 var(--hot); overflow: hidden; color: #e9e9f1;
  transform: rotate(1.2deg);
}
.console-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; background: var(--ink); border-bottom: 1px solid var(--ink-3);
  font-family: var(--mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em;
}
.status { display: inline-flex; align-items: center; gap: 8px; color: var(--volt); font-weight: 700; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--volt); animation: ping 1.6s ease-in-out infinite; }
.scenario-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 16px 0; }
.scenario-tabs button {
  font: 700 0.78rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.06em; cursor: pointer;
  color: #c9c9d6; background: transparent; border: 1px solid var(--ink-3); border-radius: 999px; padding: 7px 11px;
}
.scenario-tabs button[aria-pressed="true"] { background: var(--volt); color: var(--ink); border-color: var(--volt); }
.log { list-style: none; margin: 0; padding: 16px; min-height: 13.5em; font-family: var(--mono); font-size: 0.86rem; line-height: 1.5; }
.log li { display: grid; grid-template-columns: 5.6em 1fr; gap: 10px; padding: 5px 0; animation: line-in 0.35s ease both; }
.log time { color: #8c8ca0; }
.log .ok { color: var(--volt); font-weight: 700; }
.log .in { color: #ffb199; }
.log .caret::after { content: "\2588"; margin-left: 2px; color: var(--volt); animation: caret 1s steps(1) infinite; }
@keyframes line-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes caret { 50% { opacity: 0; } }
.console-note { margin: 0; padding: 0 16px 14px; font-size: 0.78rem; color: #8c8ca0; }

/* Ticker */
.ticker { background: var(--hot); color: var(--ink); border-block: 2px solid var(--ink); overflow: hidden; padding: 14px 0; }
.ticker-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.ticker-track span {
  font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.15rem;
  letter-spacing: -0.01em; white-space: nowrap; padding-right: 28px;
}
.ticker-track span::after { content: "\25CF"; margin-left: 28px; font-size: 0.6em; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 32px; counter-reset: step; }
.steps > div {
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--pop); transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.steps > div:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--hot); }
.step-num {
  display: block; font-family: var(--display); font-weight: 900; font-size: 3.4rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 2px var(--ink); margin-bottom: 14px;
}
.steps p { color: var(--muted); margin: 0; }

/* Packages */
.section-lede { color: var(--muted); max-width: 40em; margin-bottom: 40px; font-size: 1.08rem; }
.pkg {
  border: 2px solid var(--ink); border-radius: var(--radius); padding: 30px;
  margin-bottom: 28px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 30px;
  background: var(--paper); box-shadow: var(--pop); transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.pkg:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.pkg header p { color: var(--muted); }
.pkg-tag {
  display: inline-block; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem;
  font-weight: 700; background: var(--ink); color: var(--volt) !important; padding: 5px 10px; border-radius: 6px; margin-bottom: 12px;
}
.pkg h3 { font-size: 1.6rem; font-weight: 900; }
.pkg-note { grid-column: 1 / -1; margin: 0; font-size: 0.92rem; color: var(--muted); border-top: 2px dashed var(--line); padding-top: 14px; }
.tiers { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tiers li {
  background: var(--paper-2); border: 2px solid transparent; border-radius: 12px; padding: 14px 18px;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.tiers li:hover { border-color: var(--ink); background: #fff; }
.tiers p { margin: 4px 0 0; font-size: 0.95rem; color: var(--muted); }
.tier-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.tier-name { font-weight: 800; }
.price { font-family: var(--display); font-weight: 900; font-size: 1.15rem; color: var(--ink); white-space: nowrap; }
.pkg-more { margin: 0; }
.pkg-more a { font-weight: 800; color: var(--ink); text-decoration-color: var(--hot); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.pkg-more a::after { content: " \2192"; }

/* Sectors */
.sectors { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.sectors li {
  color: var(--muted); background: var(--paper); border: 2px solid var(--ink); border-radius: 14px; padding: 20px 22px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.sectors li:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--hot); }
.sectors strong { color: var(--ink); display: block; font-family: var(--display); font-weight: 800; font-size: 1.08rem; margin-bottom: 4px; }
.sectors a { text-decoration: none; }
.sectors a:hover strong { text-decoration: underline; text-decoration-color: var(--hot); }

/* Service pages */
.crumbs { font-family: var(--mono); font-size: 0.8rem; margin-bottom: 20px; opacity: 0.85; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: var(--volt); }
.prose { max-width: 44em; }
.prose h3 { margin-top: 1.6em; }
.checks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 2em; }
.checks li::before {
  content: "\2713"; position: absolute; left: 0; top: 0.15em; display: grid; place-items: center;
  width: 1.3em; height: 1.3em; border-radius: 5px; background: var(--volt); color: var(--ink); font-weight: 900; font-size: 0.85em;
}

/* About */
.about { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: center; }
.about-photo {
  display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius); background: var(--ink); border: 2px solid var(--ink);
  box-shadow: 12px 12px 0 var(--hot); transform: rotate(-2deg);
}

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 32px; }
.faq > div { background: var(--paper); border: 2px solid var(--ink); border-radius: 14px; padding: 22px 24px; }
.faq h3 { font-size: 1.12rem; margin-bottom: 0.5em; }
.faq p { color: var(--muted); margin: 0; }

/* CTA */
.cta { position: relative; overflow: hidden; background: var(--hot); color: var(--ink); text-align: center; border-top: 2px solid var(--ink); }
.cta h2 { font-size: clamp(2.2rem, 5.6vw, 4rem); text-transform: uppercase; letter-spacing: -0.015em; word-spacing: 0.08em; max-width: 14em; margin-inline: auto; }
.cta p { max-width: 34em; margin: 0 auto 1.6em; font-weight: 500; }
.cta .cta-alt { margin-top: 1.6em; font-size: 0.95rem; }
.cta-alt a { font-weight: 700; }
.cta-alt a[href^="tel:"] { white-space: nowrap; }
.cta-bot { width: 72px; height: 64px; gap: 7px; padding-bottom: 12px; background-image: url("/assets/logo/smtb-body-ink.svg"); margin: 18px auto 26px; animation: hop 2.8s ease-in-out infinite; }
.cta-bot::before { background: var(--ink); height: 12px; top: -12px; width: 3px; }
.cta-bot::after { width: 12px; height: 12px; top: -20px; }
.cta-bot i { width: 7px; height: 14px; border-radius: 4px; background: var(--volt); }
@keyframes hop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Footer */
.site-footer { padding: 32px 0; font-size: 0.88rem; color: #b7b7c6; background: var(--ink); }
.site-footer p { margin: 0; }
.site-footer .slogan { margin-bottom: 10px; font-family: var(--display); font-weight: 900; font-size: 1.15rem; color: var(--volt); }
.site-footer a { color: #fff; }

/* Scroll reveal, only when the script runs */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .console { transform: none; }
}

@media (max-width: 820px) {
  section { padding: 64px 0; }
  .hero { padding: 72px 0; }
  .steps, .sectors, .about, .pkg, .faq { grid-template-columns: 1fr; }
  .about-photo { max-width: 260px; margin-inline: auto; }
  .site-header nav a:not(.btn) { display: none; }
  .brand { font-size: 0.95rem; gap: 10px; }
  .btn-small { padding: 7px 12px; font-size: 0.85rem; }
  .btn-small::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ticker-track { flex-wrap: wrap; width: auto; justify-content: center; }
  .ticker-track .dup { display: none; }
  .ticker-track { gap: 4px 22px; padding: 0 16px; }
  .ticker-track span { font-size: 0.95rem; padding-right: 0; }
  .ticker-track span::after { display: none; }
}
