:root {
  --bg: #0E1116;
  --bg-alt: #141922;
  --panel: #1A2029;
  --line: #262D38;
  --text: #E8EBF0;
  --muted: #9AA3B2;
  --red: #E0352F;
  --red-dark: #B8261F;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--red); text-decoration: none; }
a:hover { color: #FF5A53; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .02em; }
.muted { color: var(--muted); }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(14, 17, 22, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand img { height: 44px; width: 44px; display: block; }
.brand span { font-weight: 500; font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.brand span b { font-weight: 800; color: var(--red); }
.foot-brand { margin-bottom: 14px; }
.foot-brand img { height: 36px; width: 36px; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { color: var(--text); font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--red); }
.nav-cta { border: 1px solid var(--red); color: var(--red) !important; padding: 8px 16px; border-radius: 4px; }
.nav-cta:hover { background: var(--red); color: #fff !important; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; }

/* hero */
.hero { padding: 96px 0 72px; border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 20% 0%, rgba(224,53,47,.14), transparent 55%); }
.hero.small { padding: 64px 0 48px; }
.hero h1 { max-width: 20ch; }
.hero .sub { max-width: 62ch; color: var(--muted); font-size: 1.15rem; }
.eyebrow { color: var(--red); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1em; }
.eyebrow a { color: var(--red); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.btn { display: inline-block; background: var(--red); color: #fff; font-weight: 700; padding: 13px 24px; border-radius: 4px; }
.btn:hover { background: var(--red-dark); color: #fff; }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.btn.ghost:hover { border-color: var(--red); color: var(--red); }

/* sections */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

/* tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 28px; }
.tile { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 26px; color: var(--text); transition: border-color .15s, transform .15s; }
.tile:hover { border-color: var(--red); transform: translateY(-2px); color: var(--text); }
.tile h3 { color: var(--text); }
.tile p { color: var(--muted); font-size: .95rem; flex: 1; }
.tile .more { color: var(--red); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }

/* differentiators and uses */
.diffs, .uses { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px 40px; margin-top: 28px; }
.diff h3, .use h3 { padding-left: 14px; border-left: 3px solid var(--red); }
.diff p, .use p { color: var(--muted); font-size: .97rem; }
.note { margin-top: 36px; padding: 16px 20px; border: 1px dashed var(--line); border-radius: 6px; color: var(--muted); display: inline-block; }

/* data */
.databox { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 8px 24px; }
.databox > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.databox > div:last-child { border-bottom: 0; }
.databox span { color: var(--muted); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.databox strong { font-weight: 600; word-break: break-word; }
.creds { list-style: none; margin: 0; padding: 0; }
.creds li { padding: 12px 0 12px 18px; border-bottom: 1px solid var(--line); position: relative; }
.creds li:last-child { border-bottom: 0; }
.creds li::before { content: ""; position: absolute; left: 0; top: 22px; width: 8px; height: 8px; background: var(--red); border-radius: 1px; }
table.data { width: 100%; border-collapse: collapse; }
table.data th, table.data td { text-align: left; padding: 16px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { color: var(--muted); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; width: 180px; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.chip { border: 1px solid var(--line); color: var(--text); padding: 8px 14px; border-radius: 999px; font-size: .9rem; font-weight: 600; }
.chip:hover { border-color: var(--red); color: var(--red); }

/* contact band */
.contact-band { text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); }
.contact-band p { font-size: 1.1rem; }

/* footer */
.site-footer { padding: 56px 0 32px; border-top: 1px solid var(--line); background: #0A0D11; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-h { color: var(--text); font-weight: 700; margin-bottom: 10px; }
.foot-grid a { display: block; color: var(--muted); margin-bottom: 8px; }
.foot-grid a:hover { color: var(--red); }
.copy { color: var(--muted); margin-top: 40px; font-size: .8rem; }

/* mobile */
@media (max-width: 800px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 12px; text-align: center; border-bottom: 0 !important; }
  .brand img { height: 38px; width: 38px; }
  .brand span { font-size: .9rem; }
  .hero { padding: 64px 0 48px; }
  .section { padding: 48px 0; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .databox > div { grid-template-columns: 1fr; gap: 2px; }
  table.data th { width: 120px; }
}
@media (max-width: 480px) {
  .foot-grid { grid-template-columns: 1fr; }
  .site-header .brand span { display: none; }
}
