@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: optional;
  src: url("../assets/fonts/inter-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: optional;
  src: url("../assets/fonts/space-grotesk-latin.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url("../assets/fonts/ibm-plex-mono-500-latin.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url("../assets/fonts/ibm-plex-mono-600-latin.woff2") format("woff2");
}

:root {
  --ink: #0b0e11;
  --paper: #f6f4ef;
  --paper-2: #edeae2;
  --line: #dad5c9;
  --risk: #c8392b;
  --perf: #3d7f45;
  --value: #4da4d6;
  --cat: #c28d1b;
  --accent: #4da4d6;
  --muted: #6b6660;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 640px) {
  .wrap {
    padding: 0 20px;
  }
}

/* ---------- topbar ---------- */
.topbar {
  background: var(--ink);
  color: #cfcabf;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  padding-bottom: 12px;
}
.topbar a {
  text-decoration: none;
}
.topbar nav a {
  margin-left: 18px;
}
.topbar nav a:hover {
  color: #fff;
}

/* ---------- header ---------- */
header.site {
  background: var(--ink);
  color: #fff;
  padding: 18px 0 0;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid #24292e;
}
.logo {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 19px;
  text-decoration: none;
  color: #fff;
  letter-spacing: -0.01em;
}
.logo span {
  color: var(--accent);
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
}
.nav-links a {
  text-decoration: none;
  color: #cfcabf;
}
.nav-links a:hover {
  color: #fff;
}
.nav-cta {
  background: var(--accent);
  color: #000 !important;
  padding: 9px 18px;
  border-radius: 3px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.menu-toggle {
  display: none;
}

/* ---------- hero ---------- */
.hero {
  background: var(--ink);
  color: #fff;
  padding: 72px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 5vw, 62px);
  margin-bottom: 18px;
}
.hero .eyebrow {
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}
.hero p.lede {
  font-size: 18px;
  line-height: 1.6;
  color: #cfcabf;
  max-width: 46ch;
  margin: 0 0 28px;
}
.hero .actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn {
  border: none;
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 3px;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
}
.btn-primary {
  background: var(--accent);
  color: #000;
}
.btn-primary:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}
.btn-ghost {
  border: 1px solid #3a4047;
  color: #fff;
}
.btn-ghost:hover {
  border-color: #fff;
}

/* signature triangle diagram */
.triad {
  position: relative;
  aspect-ratio: 1/1;
  max-width: 440px;
  margin: 0 auto;
  scale: 1.5;
  transform: translateY(5%);
}
.triad svg {
  width: 100%;
  height: 100%;
}
.triad-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  fill: #cfcabf;
}

/* ---------- intro ---------- */
.intro {
  padding: 84px 0;
}
.intro .wrap {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
}
.intro img {
  margin: 0 auto 18px;
  width: 75%;
}
.intro h2 {
  font-size: 30px;
  margin-bottom: 20px;
}
.intro p {
  font-size: 16px;
  line-height: 1.75;
  color: #2c2a27;
  margin: 0 0 18px;
}
.intro strong {
  color: var(--ink);
}
.qlist {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}
.qlist li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  align-items: flex-start;
}
.qlist li:last-child {
  border-bottom: 1px solid var(--line);
}
.qlist .mark {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  color: var(--accent);
  flex: 0 0 auto;
}
.shot {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 18px 40px -22px rgba(11, 14, 17, 0.35);
}

/* ---------- pillars ---------- */
.pillars {
  background: var(--paper-2);
  padding: 84px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pillars-head {
  max-width: 60ch;
  margin-bottom: 48px;
}
.pillars-head .eyebrow {
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}
.pillars-head h2 {
  font-size: 30px;
}
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.pillar {
  background: var(--paper);
  padding: 36px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pillar .num {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: #9a9488;
}
.pillar h3 {
  font-size: 24px;
}
.pillar .tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: var(--muted);
}
.pillar .swatch {
  width: 34px;
  height: 6px;
  border-radius: 3px;
}
.pillar.risk .swatch {
  background: var(--risk);
}
.pillar.perf .swatch {
  background: var(--perf);
}
.pillar.value .swatch {
  background: var(--value);
}
.pillar a.learn {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 2px solid currentColor;
  width: max-content;
  padding-bottom: 1px;
}
.pillar.risk a.learn {
  color: var(--risk);
}
.pillar.perf a.learn {
  color: var(--perf);
}
.pillar.value a.learn {
  color: var(--value);
}

.category-band {
  margin-top: 1px;
  background: var(--cat);
  color: #241c05;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 32px;
  border: 1px solid var(--line);
  border-top: none;
}
.category-band .left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.category-band h3 {
  font-size: 20px;
}
.category-band .tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
}
.category-band a.learn {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: #241c05;
  border-bottom: 2px solid currentColor;
  padding-bottom: 1px;
}

/* ---------- empowers ---------- */
.empowers {
  padding: 70px 0;
}
.empowers .wrap {
  max-width: 880px;
}
.empowers h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  color: #2c2a27;
}
.empowers h3 strong {
  color: var(--ink);
}

/* ---------- vendors / cta section ---------- */
.checkcta {
  background: var(--ink);
  color: #fff;
  padding: 84px 0;
}
.checkcta .wrap {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 48px;
  align-items: center;
}
.checkcta h2 {
  font-size: 30px;
  margin-bottom: 24px;
}
.checklist {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
}
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 11px 0;
  font-size: 16px;
  color: #e7e4dc;
}
.check {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.check svg {
  width: 11px;
  height: 11px;
}
.checkcta .right h2 {
  text-align: center;
  margin-bottom: 24px;
}
.checkcta .shot-frame {
  border: 1px solid #8d99a5;
  border-radius: 6px;
  overflow: hidden;
}

/* ---------- footer ---------- */
footer.site {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding: 28px 0;
  text-align: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- module modal ---------- */
.modal {
  border: none;
  padding: 16px;
  margin: 0;
  max-width: none;
  width: 100%;
  height: 100%;
  background: transparent;
  display: grid;
  place-items: center;
}
.modal:not([open]) {
  display: none;
}
.modal::backdrop {
  background: rgba(11, 14, 17, 0.55);
}
.modal-panel {
  position: relative;
  width: min(640px, 100%);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 36px 36px 28px;
  max-height: min(80vh, 720px);
  overflow: auto;
  box-shadow: 0 24px 48px -20px rgba(11, 14, 17, 0.45);
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 8px;
}
.modal-close:hover {
  color: var(--ink);
}
.modal-content h2 {
  font-size: 22px;
  margin-bottom: 14px;
}
.modal-content p {
  font-size: 15px;
  line-height: 1.7;
  color: #2c2a27;
  margin: 0 0 14px;
}
.modal-content > :last-child {
  margin-bottom: 0;
}
.modal-content strong {
  color: var(--ink);
}
.modal-content .qlist {
  margin-top: 8px;
}
.modal-content .qlist li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.modal-content .contact-phone,
.modal-content .contact-email {
  font-family: "IBM Plex Mono", monospace;
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.modal-content .contact-phone:hover,
.modal-content .contact-email:hover {
  text-decoration: underline;
}

.cookie-notice {
  position: fixed;
  z-index: 50;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 420px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: var(--ink);
  color: #cfcabf;
  border: 1px solid #8d99a5;
  border-radius: 6px;
  box-shadow: 0 16px 40px -16px rgba(11, 14, 17, 0.55);
}
.cookie-notice[hidden] {
  display: none;
}
.cookie-notice p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  flex: 1;
}
.cookie-notice .btn {
  flex-shrink: 0;
  padding: 8px 14px;
  font-size: 13px;
}

@media (max-width: 900px) {
  .hero .wrap,
  .intro .wrap,
  .checkcta .wrap {
    grid-template-columns: 1fr;
  }
  .pillar-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .triad {
    max-width: 320px;
  }
  .intro img {
    width: 100%;
  }
}
