/* Shared shell — tokens from the extension's design system (canvas 2b/2d). */
:root {
  --rt-paper: #f7f5f0;
  --rt-surface: #ffffff;
  --rt-surface-2: #f1eee7;
  --rt-line: #e2ded4;
  --rt-line-strong: #cfc9bb;
  --rt-ink: #17181a;
  --rt-ink-2: #55584f;
  --rt-ink-3: #8b8e85;
  --rt-accent: #0e6b57;
  --rt-accent-press: #0a5546;
  --rt-accent-ink: #ffffff;
  --rt-accent-weak: #e2efe9;
  --rt-up: #0e6b57;
  --rt-down: #a6431f;
  --rt-font-sans: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --rt-font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gutter: 64px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--rt-paper);
  color: var(--rt-ink);
  font-family: var(--rt-font-sans);
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: var(--rt-accent);
}

a:hover {
  color: var(--rt-accent-press);
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
}

.eyebrow {
  align-self: flex-start;
  font: 500 10px/1 var(--rt-font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rt-accent);
  border: 1px solid var(--rt-line-strong);
  border-radius: 3px;
  padding: 5px 8px;
}

.lead {
  margin: 0;
  font-size: 17px;
  color: var(--rt-ink-2);
  max-width: 46ch;
  text-wrap: pretty;
}

/* ── Nav ─────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  border-bottom: 1px solid var(--rt-line);
}

.lockup {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--rt-ink);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 450;
  color: var(--rt-ink-2);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current] {
  color: var(--rt-ink);
}

.btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 22px;
  border-radius: 6px;
  background: var(--rt-accent);
  color: var(--rt-accent-ink);
  text-decoration: none;
}

.btn:hover {
  background: var(--rt-accent-press);
  color: var(--rt-accent-ink);
}

.btn--nav {
  font-size: 13px;
  padding: 8px 15px;
}

/* .nav-links a outranks .btn on specificity — restore the CTA ink. */
.nav-links a.btn {
  color: var(--rt-accent-ink);
}

/* ── Footer ──────────────────────────────────────────── */
footer {
  padding: 32px var(--gutter) 36px;
  background: var(--rt-surface-2);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.foot-id {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 52ch;
}

.foot-id .lockup {
  font-size: 13px;
}

.foot-id p {
  margin: 0;
  font-size: 11px;
  line-height: 1.6;
  color: var(--rt-ink-2);
  text-wrap: pretty;
}

.foot-links {
  display: flex;
  gap: 44px;
  align-items: baseline;
}

.foot-links a {
  font-size: 12px;
  font-weight: 450;
  color: var(--rt-ink-2);
}

.foot-links span {
  font: 400 12px var(--rt-font-mono);
  color: var(--rt-ink-3);
}

@media (max-width: 860px) {
  :root {
    --gutter: 20px;
  }

  .nav-links a:not(.btn) {
    display: none;
  }

  .lead {
    font-size: 15px;
  }

  footer {
    flex-direction: column;
    gap: 14px;
  }

  .foot-links {
    flex-wrap: wrap;
    gap: 20px;
  }
}
