:root {
  --ink: #12161c;
  --ink-2: #1b2029;
  --ink-line: #2a303b;
  --on-ink: #f5f5f5;
  --on-ink-muted: #aeb5c0;
  --orange: #fb9a22;
  --orange-deep: #f46c19;

  --bg: #f7f6f3;
  --surface: #ffffff;
  --text: #12161c;
  --muted: #4d5562;
  --line: #e2e0da;
  --link: #b24a06;
  --chip: #fdeedd;
  --chip-text: #7a3304;
  --focus: #f46c19;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12161c;
    --surface: #1b2029;
    --text: #f5f5f5;
    --muted: #aeb5c0;
    --line: #2a303b;
    --link: #fbaa4a;
    --chip: #3a2614;
    --chip-text: #fdd3a3;
    --focus: #fb9a22;
    color-scheme: dark;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--link);
  text-underline-offset: 0.18em;
}

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  background: var(--surface);
  color: var(--text);
  padding: 8px 12px;
  z-index: 10;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header and hero sit on the logo's ink in both themes. */
.top {
  background: var(--ink);
  color: var(--on-ink);
  border-bottom: 1px solid var(--ink-line);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--on-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

nav.site ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav.site a {
  color: var(--on-ink-muted);
  text-decoration: none;
  font-weight: 500;
}

nav.site a:hover,
nav.site a[aria-current="page"] {
  color: var(--on-ink);
}

.hero {
  padding: 72px 0 88px;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 16ch;
  margin: 0 0 20px;
}

.hero h1 .accent {
  background: linear-gradient(90deg, var(--orange), var(--orange-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  color: var(--on-ink-muted);
  font-size: 1.2rem;
  max-width: 58ch;
}

.hero.compact {
  padding: 40px 0 56px;
}

.hero.compact h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.crumbs {
  font-size: 0.9rem;
  color: var(--on-ink-muted);
  margin-bottom: 18px;
}

.crumbs a {
  color: var(--on-ink-muted);
}

.product-mark {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.product-mark img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
}

.product-mark h1 {
  margin: 0;
}

.button {
  display: inline-block;
  background: linear-gradient(90deg, var(--orange), var(--orange-deep));
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 10px;
}

.button.ghost {
  background: transparent;
  color: var(--on-ink);
  border: 1px solid var(--ink-line);
}

.button.plain {
  background: transparent;
  color: var(--link);
  border: 1px solid var(--line);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

main section {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

main section:last-child {
  border-bottom: 0;
}

h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
}

h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 16px;
  max-width: 68ch;
}

.eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--link);
  margin-bottom: 12px;
}

.section-lede {
  color: var(--muted);
  font-size: 1.1rem;
}

/* Product portfolio */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 32px;
  padding: 0;
  list-style: none;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}

.product-card header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.product-card header img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex: none;
}

.product-card h3 {
  margin: 0;
  font-size: 1.35rem;
}

.product-card .category {
  color: var(--muted);
  font-size: 0.92rem;
}

.product-card p {
  color: var(--muted);
}

.product-card .card-foot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
}

.product-card .card-foot a {
  font-weight: 600;
}

.product-card.upcoming {
  background: transparent;
  border-style: dashed;
  justify-content: center;
}

.product-card.upcoming h3 {
  color: var(--muted);
  margin-bottom: 8px;
}

.status {
  display: inline-block;
  background: var(--chip);
  color: var(--chip-text);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

/* Principles and feature lists */
.points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px 24px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.points li {
  border-top: 3px solid var(--orange);
  padding-top: 14px;
}

.points h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.points p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.note {
  color: var(--muted);
  font-size: 0.95rem;
}

dl.facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 10px 28px;
  margin: 24px 0 0;
}

dl.facts dt {
  font-weight: 600;
}

dl.facts dd {
  margin: 0;
  color: var(--muted);
}

.contact-band {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
}

.contact-band .button {
  margin-top: 8px;
}

footer.site {
  background: var(--ink);
  color: var(--on-ink-muted);
  padding: 32px 0 40px;
  font-size: 0.92rem;
}

footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
}

footer.site ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

footer.site a {
  color: var(--on-ink-muted);
}

.prose h2 {
  margin-top: 36px;
  font-size: 1.35rem;
}

@media (max-width: 560px) {
  .hero {
    padding: 48px 0 60px;
  }

  main section {
    padding: 48px 0;
  }

  dl.facts {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  dl.facts dd {
    margin-bottom: 12px;
  }

  .product-card,
  .contact-band {
    padding: 20px;
  }
}
