@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-400.ttf") format("truetype");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-500.ttf") format("truetype");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-600.ttf") format("truetype");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-700.ttf") format("truetype");
}

:root {
  color-scheme: dark;
  --black: #000000;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --soft: rgba(255, 255, 255, 0.84);
  --line: rgba(255, 255, 255, 0.16);
  --panel: rgba(255, 255, 255, 0.04);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--black);
  color: var(--white);
  font-family:
    "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

a:focus-visible,
.button:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
}

strong,
b {
  font-weight: 600;
}

.site-header,
main,
.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  padding: 34px 0 22px;
  border-bottom: 1px solid var(--line);
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  color: var(--white);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.brand-tagline {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

main {
  padding: 56px 0 76px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 48px;
  align-items: start;
}

.kicker {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(44px, 7vw, 82px);
  font-weight: 500;
  line-height: 0.98;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 500;
  line-height: 1.08;
}

h3 {
  margin: 0;
  color: var(--white);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
}

p,
li {
  color: var(--muted);
  font-size: 17px;
}

.lead {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--soft);
  font-size: 20px;
  line-height: 1.6;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  border-color: var(--white);
  background: var(--white);
  color: var(--black);
}

.fact-card {
  border: 1px solid var(--line);
  padding: 26px;
  background: var(--panel);
}

.fact-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--white);
  font-size: 18px;
}

.fact-card p {
  margin: 0;
}

.section {
  padding-top: 76px;
  scroll-margin-top: 96px;
}

.section-intro {
  max-width: 760px;
  margin: 18px 0 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 34px;
  border: 1px solid var(--line);
  background: var(--line);
}

.panel {
  min-height: 210px;
  padding: 26px;
  background: var(--black);
}

.panel p {
  margin: 16px 0 0;
  font-size: 15px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 34px;
  border: 1px solid var(--line);
  background: var(--line);
}

.two-col > article {
  padding: 28px;
  background: var(--black);
}

.plain-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding-left: 20px;
}

.note {
  margin-top: 24px;
  border: 1px solid var(--line);
  padding: 22px;
}

.footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  padding: 28px 0 42px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
}

@media (max-width: 840px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .top-row {
    display: grid;
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 22px;
  }

  .brand-name,
  .brand-tagline {
    white-space: nowrap;
  }

  .nav-links {
    justify-content: flex-start;
    gap: 14px 20px;
  }

  .grid,
  .two-col {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(42px, 12vw, 64px);
  }
}
