@import url("../fonts/ubuntu.css");

/* =========================================================
   OMNI KARTING — design system
   Type: Ubuntu (UI + body) / Ubuntu Mono (data, times, numbers)
   ========================================================= */

:root {
  /* Surface */
  --ink-900: #08080a;
  --ink-800: #0e0e12;
  --ink-700: #14141a;
  --ink-600: #1c1c24;
  --ink-500: #262630;

  /* Line + text */
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f4f6;
  --text-dim: #b6b6c2;
  --text-mute: #82828f;

  /* Brand */
  --flame: #ff3d14;
  --flame-soft: #ff6a45;
  --amber: #ffc531;
  --track: #2f2f38;

  /* Type scale */
  --step--1: clamp(0.82rem, 0.79rem + 0.13vw, 0.89rem);
  --step-0: clamp(1rem, 0.96rem + 0.18vw, 1.08rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.4vw, 1.44rem);
  --step-2: clamp(1.45rem, 1.3rem + 0.75vw, 1.95rem);
  --step-3: clamp(1.8rem, 1.5rem + 1.4vw, 2.7rem);
  --step-4: clamp(2.2rem, 1.7rem + 2.4vw, 3.8rem);
  --step-5: clamp(2.9rem, 1.9rem + 4.6vw, 6rem);

  /* Rhythm */
  --gut: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7.5rem);
  --radius: 14px;
  --radius-sm: 9px;

  --shadow: 0 18px 50px -22px rgba(0, 0, 0, 0.9);
  --ease: cubic-bezier(0.22, 0.68, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink-900);
  color: var(--text);
  font-family: Ubuntu, "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: var(--step-0);
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Asphalt wash behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 520px at 78% -8%, rgba(255, 61, 20, 0.13), transparent 62%),
    radial-gradient(700px 480px at 4% 22%, rgba(255, 197, 49, 0.05), transparent 58%),
    var(--ink-900);
}

img,
svg,
video {
  max-width: 100%;
  display: block;
}

/* ---------- Headings ---------- */
h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.021em;
  text-wrap: balance;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.012em; }
h4 { font-size: var(--step-0); letter-spacing: 0; }

p { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--flame-soft);
  text-decoration: none;
  text-underline-offset: 3px;
}
a:hover { text-decoration: underline; }

strong { font-weight: 500; color: #fff; }

::selection {
  background: var(--flame);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout ---------- */
.wrap {
  width: min(1180px, 100% - (var(--gut) * 2));
  margin-inline: auto;
}
.wrap--narrow { width: min(840px, 100% - (var(--gut) * 2)); }

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--line { border-top: 1px solid var(--line); }

.stack > * + * { margin-top: 1.15rem; }

/* ---------- Eyebrow / section head ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  font-family: "UbuntuMono", ui-monospace, monospace;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--flame);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--flame);
}

.lede {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--text-dim);
  font-weight: 300;
  max-width: 62ch;
}

.section-head {
  max-width: 68ch;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(8, 8, 10, 0.78);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -0.02em;
  margin-right: auto;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand__mark {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--flame), #c41d00);
  display: grid;
  place-items: center;
  font-family: "UbuntuMono", monospace;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  box-shadow: 0 6px 18px -8px var(--flame);
}
.brand__sub {
  display: block;
  font-family: "UbuntuMono", monospace;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 1px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  display: block;
  padding: 0.5rem 0.78rem;
  border-radius: 8px;
  color: var(--text-dim);
  font-size: 0.94rem;
  font-weight: 400;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}
.nav__links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
}
.nav__links a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 61, 20, 0.13);
  box-shadow: inset 0 0 0 1px rgba(255, 61, 20, 0.28);
}

.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav__toggle svg { width: 20px; height: 20px; }

@media (max-width: 940px) {
  .nav__toggle { display: grid; }
  .nav__links {
    position: fixed;
    inset: 72px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gut) 1.5rem;
    background: var(--ink-800);
    border-bottom: 1px solid var(--line);
    transform: translateY(-140%);
    transition: transform 0.32s var(--ease);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .nav__links[data-open="true"] { transform: translateY(0); }
  .nav__links a {
    padding: 0.85rem 0.6rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .nav__links .btn {
    margin-top: 1rem;
    justify-content: center;
    border-bottom: 0;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.78rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.16s var(--ease), background 0.2s var(--ease),
    border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1.5px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--flame);
  color: #fff;
  box-shadow: 0 10px 26px -12px var(--flame);
}
.btn--primary:hover { background: #ff4f28; box-shadow: 0 14px 32px -12px var(--flame); }

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.04); }

.btn--wa {
  background: #1faa54;
  color: #fff;
  box-shadow: 0 10px 26px -14px #1faa54;
}
.btn--wa:hover { background: #23bd5e; }

.btn--sm { padding: 0.55rem 0.95rem; font-size: 0.87rem; }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 9vw, 7rem) clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
}

.hero__title {
  font-size: var(--step-5);
  line-height: 0.94;
  letter-spacing: -0.035em;
  margin-bottom: 1.1rem;
}
.hero__title em {
  font-style: normal;
  color: var(--flame);
  display: block;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-family: "UbuntuMono", monospace;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.hero__meta b { color: var(--text); font-weight: 700; }

/* Speed lines panel */
.hero__panel {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(
      -68deg,
      rgba(255, 255, 255, 0.045) 0 2px,
      transparent 2px 26px
    ),
    linear-gradient(160deg, var(--ink-600), var(--ink-800) 60%);
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}
.hero__panel::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(to top, rgba(255, 61, 20, 0.22), transparent);
}
.hero__panel figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  font-family: "UbuntuMono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.hero__panel .glyph {
  font-family: "UbuntuMono", monospace;
  font-size: clamp(3rem, 9vw, 5.5rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.07);
  letter-spacing: -0.04em;
  line-height: 1;
  text-align: center;
}

/* Checkered strip */
.checker {
  height: 8px;
  background-image:
    linear-gradient(45deg, var(--ink-600) 25%, transparent 25%),
    linear-gradient(-45deg, var(--ink-600) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--ink-600) 75%),
    linear-gradient(-45deg, transparent 75%, var(--ink-600) 75%);
  background-size: 16px 16px;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
  background-color: var(--ink-900);
  border-block: 1px solid var(--line);
}

/* ---------- Cards / grids ---------- */
.grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

.card {
  position: relative;
  padding: clamp(1.35rem, 2.4vw, 1.85rem);
  background: linear-gradient(170deg, var(--ink-700), var(--ink-800));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease);
}
.card:hover { border-color: var(--line-strong); }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--text-dim); font-size: 0.97rem; }

.card--link:hover { transform: translateY(-3px); border-color: rgba(255, 61, 20, 0.4); }

.card__num {
  font-family: "UbuntuMono", monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--flame);
  display: block;
  margin-bottom: 0.85rem;
}

.card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 61, 20, 0.12);
  color: var(--flame);
  margin-bottom: 1rem;
  font-family: "UbuntuMono", monospace;
  font-weight: 700;
}

/* Stat block */
.stat {
  padding: 1.35rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--ink-800);
}
.stat__val {
  display: block;
  font-family: "UbuntuMono", monospace;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-mute);
}

/* ---------- Tables ---------- */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-800);
  -webkit-overflow-scrolling: touch;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-size: 0.96rem;
}
caption {
  caption-side: top;
  text-align: left;
  padding: 1rem 1.15rem 0;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
}
th,
td {
  padding: 0.85rem 1.15rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
thead th {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-mute);
  background: rgba(255, 255, 255, 0.025);
  white-space: nowrap;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(255, 255, 255, 0.022); }
td.num,
th.num {
  font-family: "UbuntuMono", monospace;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: #fff;
}

/* ---------- Pills / tags ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-family: "UbuntuMono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.pill--flame { color: var(--flame); border-color: rgba(255, 61, 20, 0.4); background: rgba(255, 61, 20, 0.08); }
.pill--amber { color: var(--amber); border-color: rgba(255, 197, 49, 0.35); background: rgba(255, 197, 49, 0.07); }
.pill--live { color: #35d07f; border-color: rgba(53, 208, 127, 0.4); background: rgba(53, 208, 127, 0.08); }

/* ---------- Notice ---------- */
.notice {
  display: flex;
  gap: 0.9rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 197, 49, 0.28);
  background: rgba(255, 197, 49, 0.06);
  font-size: 0.95rem;
  color: var(--text-dim);
}
.notice strong { color: var(--amber); }
.notice::before {
  content: "!";
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: rgba(255, 197, 49, 0.16);
  color: var(--amber);
  font-family: "UbuntuMono", monospace;
  font-weight: 700;
  font-size: 0.85rem;
}
.notice--flame { border-color: rgba(255, 61, 20, 0.3); background: rgba(255, 61, 20, 0.06); }
.notice--flame strong { color: var(--flame-soft); }
.notice--flame::before { background: rgba(255, 61, 20, 0.15); color: var(--flame); }

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 0 0 1.6rem 3.25rem;
  counter-increment: step;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--ink-600);
  border: 1px solid var(--line-strong);
  font-family: "UbuntuMono", monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--flame);
}
.steps li::after {
  content: "";
  position: absolute;
  left: 1.06rem;
  top: 2.4rem;
  bottom: 0.3rem;
  width: 1px;
  background: var(--line);
}
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps h4 { margin-bottom: 0.25rem; }
.steps p { color: var(--text-dim); font-size: 0.95rem; margin: 0; }

/* ---------- Accordion (FAQ) ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 0;
  cursor: pointer;
  font-size: var(--step-0);
  font-weight: 500;
  color: var(--text);
  list-style: none;
  transition: color 0.18s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--flame-soft); }
.faq summary::after {
  content: "+";
  margin-left: auto;
  flex: none;
  font-family: "UbuntuMono", monospace;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--flame);
  transition: transform 0.24s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__body {
  padding: 0 3rem 1.35rem 0;
  color: var(--text-dim);
  font-size: 0.97rem;
  max-width: 72ch;
}

/* ---------- Forms ---------- */
.form {
  display: grid;
  gap: 1.15rem;
  padding: clamp(1.35rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(170deg, var(--ink-700), var(--ink-800));
}
.form__row {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.field { display: grid; gap: 0.45rem; }
.field > label {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-dim);
}
.field > label .req { color: var(--flame); }
.field .hint {
  font-size: 0.78rem;
  color: var(--text-mute);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
input[type="password"],
select,
textarea {
  width: 100%;
  padding: 0.72rem 0.85rem;
  background: var(--ink-900);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 0.96rem;
  line-height: 1.4;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
  color-scheme: dark;
}
textarea { resize: vertical; min-height: 118px; }
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--flame);
  box-shadow: 0 0 0 3px rgba(255, 61, 20, 0.15);
}
input::placeholder,
textarea::placeholder { color: var(--text-mute); }

.checkbox {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text-dim);
}
.checkbox input { margin-top: 0.25rem; accent-color: var(--flame); width: 16px; height: 16px; }

.form__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.25rem;
  border-top: 1px solid var(--line);
  margin-top: 0.25rem;
  padding-block-start: 1.15rem;
}
.form__note { font-size: 0.82rem; color: var(--text-mute); margin: 0; max-width: 42ch; }

.form__status {
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(53, 208, 127, 0.35);
  background: rgba(53, 208, 127, 0.08);
  color: #7be0ab;
  font-size: 0.92rem;
}
.form__status[hidden] { display: none; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink-800);
  padding-block: clamp(2.75rem, 6vw, 4.25rem) 1.75rem;
  margin-top: var(--section);
}
.footer__grid {
  display: grid;
  gap: 2.25rem;
  grid-template-columns: 1.4fr repeat(3, minmax(140px, 1fr));
}
@media (max-width: 820px) {
  .footer__grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
}
.footer__grid h4 {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 1rem;
  font-weight: 700;
}
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer__list a { color: var(--text-dim); font-size: 0.93rem; }
.footer__list a:hover { color: var(--text); }
.footer__bottom {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.83rem;
  color: var(--text-mute);
}

/* ---------- Utility ---------- */
.mono { font-family: "UbuntuMono", ui-monospace, monospace; font-variant-numeric: tabular-nums; }
.dim { color: var(--text-dim); }
.mute { color: var(--text-mute); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Page banner ---------- */
.page-hero {
  padding-block: clamp(3rem, 7vw, 5rem) clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  background:
    repeating-linear-gradient(-68deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 22px),
    linear-gradient(180deg, rgba(255, 61, 20, 0.06), transparent);
}
.crumb {
  font-family: "UbuntuMono", monospace;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 1rem;
}
.crumb a { color: var(--text-mute); }
.crumb a:hover { color: var(--flame); }

/* ---------- CTA band ---------- */
.cta-band {
  padding: clamp(2rem, 5vw, 3.25rem);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 61, 20, 0.28);
  background:
    radial-gradient(600px 240px at 88% 0%, rgba(255, 61, 20, 0.18), transparent 70%),
    linear-gradient(170deg, var(--ink-700), var(--ink-800));
  display: grid;
  gap: 1.5rem;
  align-items: center;
  grid-template-columns: 1fr auto;
}
@media (max-width: 760px) {
  .cta-band { grid-template-columns: 1fr; }
}
.cta-band h2 { margin-bottom: 0.4rem; font-size: var(--step-2); }
.cta-band p { color: var(--text-dim); margin: 0; }

/* ---------- Demo watermark ---------- */
.demo-flag {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 90;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  background: rgba(255, 197, 49, 0.14);
  border: 1px solid rgba(255, 197, 49, 0.35);
  color: var(--amber);
  font-family: "UbuntuMono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
}

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  }
  [data-reveal].is-in { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .demo-flag, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}
