:root {
  color-scheme: dark;
  --bg: #000;
  --text: #f3f3ef;
  --soft: #c8c8bf;
  --muted: #85857d;
  --quiet: #55554f;
  --panel: #0d0d0c;
  --panel-2: #151513;
  --panel-soft: #080808;
  --line: #242420;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(180deg, #050505 0%, var(--bg) 34%, var(--bg) 100%);
  background-size: 80px 80px, auto;
  color: var(--text);
  font-family: "Space Grotesk", Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  min-height: 100vh;
  padding: 42px 64px 44px;
}

.topbar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 34px;
  align-items: center;
  margin-bottom: 18vh;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.topbar p,
.topbar a {
  margin: 0;
}

.topbar nav {
  display: flex;
  gap: 18px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-weight: 500;
}

.wordmark img {
  display: block;
  width: 86px;
  height: auto;
}

.topbar nav a {
  color: var(--soft);
  border-bottom: 1px solid var(--quiet);
}

p,
blockquote,
figure {
  margin-top: 0;
}

.block {
  width: min(720px, 100%);
  margin-left: min(29vw, 440px);
}

.block p {
  margin-bottom: 24px;
  color: var(--soft);
  font-size: clamp(19px, 2vw, 27px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.16;
}

.eyebrow {
  margin-bottom: 18px !important;
  color: var(--quiet) !important;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px !important;
  letter-spacing: -0.01em !important;
  line-height: 1.2 !important;
  text-transform: lowercase;
}

.block .lead {
  color: var(--text);
  font-size: clamp(30px, 4vw, 56px);
  letter-spacing: -0.07em;
  line-height: 0.98;
}

.intro {
  margin-bottom: 13vh;
}

.quote {
  width: min(760px, 100%);
  margin: 0 0 13vh auto;
  padding: 28px 30px 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, var(--panel-2), rgba(13, 13, 12, 0.4)),
    var(--panel);
}

blockquote {
  margin-bottom: 18px;
  color: var(--text);
  font-size: clamp(26px, 4.6vw, 64px);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.95;
}

figcaption {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: -0.01em;
}

.africa {
  margin-bottom: 19vh;
}

.products,
.site-footer {
  width: min(720px, 100%);
  margin-left: auto;
}

.products {
  margin-bottom: 13vh;
}

.product {
  display: grid;
  grid-template-columns: 36px 1fr 1.75fr;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  font-size: clamp(15px, 1.45vw, 18px);
  letter-spacing: -0.035em;
  transition: background 160ms ease, padding 160ms ease;
}

.product:hover {
  padding-right: 14px;
  padding-left: 14px;
  background: var(--panel-soft);
}

.product img {
  width: 36px;
  height: 36px;
}

.product span:last-child {
  color: var(--muted);
}

.product-page img {
  width: 54px;
  height: 54px;
  margin-bottom: 26px;
}

.quote.compact {
  margin-bottom: 11vh;
}

.legal-page {
  min-height: 52vh;
}

.region-check {
  margin-top: 44px;
}

.region-check label {
  display: block;
  margin-bottom: 10px;
  color: var(--quiet);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: -0.01em;
  text-transform: lowercase;
}

.region-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.region-row input,
.region-row button {
  min-height: 48px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  letter-spacing: -0.03em;
}

.region-row input {
  width: 100%;
  padding: 0 14px;
  outline: none;
}

.region-row input::placeholder {
  color: var(--quiet);
}

.region-row input:focus {
  border-color: var(--muted);
}

.region-row button {
  padding: 0 18px;
  cursor: pointer;
}

.region-row button:hover {
  background: var(--panel-2);
}

.availability {
  min-height: 34px;
  margin-top: 22px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: -0.01em;
}

.availability p {
  margin: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}

.result {
  color: var(--soft) !important;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: -0.02em;
}

.site-footer a {
  color: var(--muted);
  transition: color 160ms ease;
}

.site-footer a:hover {
  color: var(--text);
}

@media (max-width: 820px) {
  main {
    padding: 26px 22px 36px;
  }

  .topbar {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 13vh;
  }

  .wordmark img {
    width: 80px;
  }

  .topbar nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .block,
  .quote,
  .products,
  .site-footer {
    width: 100%;
    margin-left: 0;
  }

  .intro,
  .quote {
    margin-bottom: 10vh;
  }

  .product {
    grid-template-columns: 36px 1fr;
  }

  .product span:last-child {
    grid-column: 2;
  }

  .region-row {
    grid-template-columns: 1fr;
  }

  .site-footer {
    gap: 7px;
  }
}
