:root {
  --container-max: 1220px;
  --container-pad: 64px;

  --dark: #0b0b0b;
  --dark-2: #101010;
  --text-on-dark: #f5f5f5;
  --muted-on-dark: #fff;
  --nav-muted: rgba(245, 245, 245, 0.62);

  --light: #f1f1f1;
  --light-2: #efefef;
  --text-on-light: #1b1b1b;
  --muted-on-light: rgba(0, 0, 0, 0.55);

  --faq-text: rgba(0, 0, 0, 0.74);
  --faq-title: #0d0d0d;
  --faq-rule: rgba(0, 0, 0, 0.32);
}

@font-face {
  font-family: "Lekton";
  src: url("./fonts/Lekton-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lekton";
  src: url("./fonts/Lekton-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Lekton";
  src: url("./fonts/Lekton-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Lekton", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",
    monospace;
  font-synthesis: none;
  color: #111;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  /* Enables container queries for responsive layout */
  container-type: inline-size;
  container-name: layout;
}

.hero {
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--text-on-dark);
  padding: 0 0 52px;
  height: 100svh;
  max-height: 1000px;
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 24px;
}

.logo {
  line-height: 1.02;
  font-weight: 700;
}

.logo-line {
  font-size: 40px;
}

.logo-line--bold {
  font-size: 40px;
}

.tm {
  font-size: 40px;
  vertical-align: top;
  margin-left: 4px;
  position: relative;
  top: -2px;
}

.nav {
  display: flex;
  gap: 26px;
  padding-top: 6px;
  font-size: 24px;
  letter-spacing: 0.01em;
}

.nav-link {
  color: var(--nav-muted);
}

.nav-link--active {
  color: var(--text-on-dark);
}

.hero-inner {
  padding-top: 72px;
}

.hero-title {
  margin: 0;
  font-size: 98px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  margin: 10px 0 0;
  max-width: 560px;
  font-size: 18px;
  line-height: 1.45;
  color: var(--muted-on-dark);
}

.main {
  background: #fff;
  padding: 46px 0 54px;
}

.faq-grid {
  display: grid;
  /* Responsive columns without brittle breakpoints */
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 48px;
  row-gap: 44px;
}

.faq-item {
  min-width: 0;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--faq-rule);
}

.faq-q {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: var(--faq-title);
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.faq-a {
  margin: 10px 0 0;
  font-size: 18px;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.68);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer {
  background: #eeeeee;
  padding: 40px 0 44px;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.footer-col {
  min-width: 240px;
}

.footer-col--right {
  text-align: left;
}

.footer-title {
  font-size: 34px;
  font-weight: 700;
  color: var(--text-on-light);
  margin-bottom: 12px;
}

.footer-link {
  display: block;
  font-size: 24px;
  color: var(--muted-on-light);
  margin-bottom: 10px;
  text-decoration: underline;
}

.footer-copy {
  font-size: 24px;
  color: rgba(0, 0, 0, 0.35);
  margin-top: 16px;
}

@media (max-width: 820px) {
  .container {
    padding: 0 28px;
  }

  .faq-grid {
    column-gap: 36px;
  }

  .hero-inner {
    padding-top: 56px;
  }
}

@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 22px;
  }

  .hero-title {
    font-size: 50px;
  }

  .faq-grid {
    column-gap: 26px;
    row-gap: 28px;
  }
}

@media (max-width: 420px) {
  .faq-grid {
    row-gap: 28px;
  }

  .footer-inner {
    flex-direction: column;
  }
}