:root {
  color-scheme: light;
  --ink: #17221d;
  --muted: #5c6962;
  --paper: #f4f1e9;
  --surface: rgba(255, 255, 255, 0.6);
  --line: rgba(23, 34, 29, 0.16);
  --accent: #d6ff6a;
  --accent-dark: #284435;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 86% 10%, rgba(214, 255, 106, 0.5), transparent 26rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.56), transparent 45%);
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: inherit;
  font-size: 0.9rem;
  font-weight: 720;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.environment,
.eyebrow,
footer {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 680;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

main {
  padding-block: clamp(72px, 11vw, 138px) 88px;
}

.hero {
  max-width: 850px;
}

.eyebrow {
  margin: 0 0 22px;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.3rem, 8.5vw, 7.1rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.lede {
  max-width: 610px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.65;
}

.product-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(64px, 10vw, 120px);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.product-nav a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  min-height: 142px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  background: var(--surface);
  transition: background-color 160ms ease, transform 160ms ease;
}

.product-nav a:hover,
.product-nav a:focus-visible {
  background: rgba(214, 255, 106, 0.32);
}

.product-nav a:focus-visible {
  outline: 3px solid var(--accent-dark);
  outline-offset: -3px;
}

.nav-index {
  align-self: start;
  color: var(--muted);
  font: 700 0.68rem/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.08em;
}

.nav-copy {
  display: grid;
  gap: 9px;
}

.nav-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 500;
}

.nav-copy small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.nav-arrow {
  font-size: 1.4rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 25px 36px;
  border-top: 1px solid var(--line);
  line-height: 1.5;
}

@media (max-width: 720px) {
  .site-header,
  main,
  footer {
    width: min(100% - 28px, 1120px);
  }

  .environment {
    display: none;
  }

  main {
    padding-top: 64px;
  }

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

  footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-nav a {
    transition: none;
  }
}
