/* Summit Nexus brand: the logo kit is built for dark backgrounds,
   so the company site is always dark. Brand red: #e71930. */
:root {
  --bg: #0a0a0b;
  --surface: #141416;
  --text: #f4f3f1;
  --muted: #a4a4aa;
  --line: #26262a;
  --brand: #e71930;
  --accent: #ff4458;        /* brand red, lightened for readable links on black */
  --accent-soft: #2a0d11;
  --max: 1040px;
  --radius: 14px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--accent); text-underline-offset: 3px; }

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

/* Header */
.site-header { 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: 10px;
  font-weight: 650; letter-spacing: -0.01em; font-size: 18px;
  color: var(--text); text-decoration: none;
}
.brand .wordmark { font-size: 14px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; }
.brand img.mark { width: auto; height: 32px; border-radius: 0; }
.hero-lockup { display: block; width: min(460px, 100%); height: auto; margin: 0 0 48px; }
.hero {
  background:
    radial-gradient(ellipse 60% 70% at 85% 0%, rgba(231, 25, 48, 0.16), transparent 70%);
}
.hero h1 .red { color: var(--brand); }
.button { color: #fff; background: var(--brand); }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.nav { display: flex; gap: 24px; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

/* Hero */
.hero { padding-top: 112px; padding-bottom: 96px; }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 16px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 60px); line-height: 1.08;
  letter-spacing: -0.03em; font-weight: 700; margin: 0 0 24px; max-width: 16ch;
}
.lede { font-size: 20px; color: var(--muted); max-width: 40ch; margin: 0; }

/* Sections */
section { padding: 72px 0; border-top: 1px solid var(--line); }
section h2 { font-size: 28px; letter-spacing: -0.02em; margin: 0 0 8px; }
.section-intro { color: var(--muted); margin: 0 0 36px; }

/* Product cards */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.card {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  color: inherit; text-decoration: none;
  transition: border-color .15s, transform .15s;
}
a.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card img { width: 56px; height: 56px; border-radius: 13px; }
.card h3 { margin: 0; font-size: 20px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .more { margin-top: auto; font-size: 15px; font-weight: 600; color: var(--accent); }
.card.placeholder { border-style: dashed; justify-content: center; color: var(--muted); }
.badge {
  align-self: flex-start; font-size: 12px; font-weight: 600;
  padding: 3px 10px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
}

/* Two-column text */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.cols p { margin: 0 0 16px; }
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts li span:first-child { color: var(--muted); }

/* Prose pages */
.prose { max-width: 720px; padding: 64px 0 96px; }
.prose h1 { font-size: 40px; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 8px; }
.prose .updated { color: var(--muted); margin: 0 0 40px; }
.prose h2 { font-size: 22px; margin: 40px 0 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 16px 0; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--muted); font-weight: 600; }
.prose code { font-size: 14px; background: var(--accent-soft); padding: 1px 6px; border-radius: 5px; }
.table-scroll { overflow-x: auto; }

.button {
  display: inline-block; padding: 12px 20px; border-radius: 10px;
  background: var(--accent); color: var(--bg); font-weight: 600;
  text-decoration: none;
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.site-footer a { color: var(--muted); }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }

@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .hero { padding-top: 72px; padding-bottom: 64px; }
  section { padding: 56px 0; }
  .cols { grid-template-columns: 1fr; gap: 24px; }
  .nav { gap: 16px; }
  .brand .wordmark { display: none; }
  .prose h1 { font-size: 32px; }
}
