:root {
  --bg: #f6f4f1;
  --surface: #ffffff;
  --text: #1c1b19;
  --muted: #5f5b55;
  --line: #e4e0da;
  --accent: #4a5a78;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141413;
    --surface: #1e1e1c;
    --text: #f1efeb;
    --muted: #a8a39b;
    --line: #2e2d2a;
    --accent: #9fb0d0;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  padding-bottom: 28px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.wordmark img { border-radius: 7px; box-shadow: 0 0 0 1px var(--line); }

.top-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}
.top-link:hover { color: var(--text); }

.hero { padding-top: 12vh; padding-bottom: 10vh; }

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(36px, 7vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 650;
  text-wrap: balance;
}

.lede {
  margin: 24px 0 0;
  max-width: 34em;
  color: var(--muted);
  font-size: clamp(17px, 2.2vw, 20px);
}

.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px 32px;
  padding-bottom: 10vh;
}
.value { border-top: 1px solid var(--line); padding-top: 16px; }
.value h3 { margin: 0 0 4px; font-size: 16px; letter-spacing: -0.01em; }
.value p { margin: 0; color: var(--muted); font-size: 15px; }

.products { padding-bottom: 12vh; }

h2 {
  margin: 0 0 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

.card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  transition: border-color 0.15s, transform 0.15s;
}
.card:hover { border-color: var(--muted); transform: translateY(-2px); }
.card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.card-logo { flex: none; border-radius: 14px; }

.card h3 { margin: 0 0 6px; font-size: 20px; letter-spacing: -0.01em; }
.card p { margin: 0 0 14px; color: var(--muted); font-size: 16px; }

.card-link { font-size: 15px; font-weight: 600; color: var(--accent); }

.foot {
  padding-top: 24px;
  padding-bottom: 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.foot p { margin: 0; }

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

.foot-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}


.page { padding-top: 10vh; padding-bottom: 12vh; }

.page-title { font-size: clamp(30px, 5vw, 44px); max-width: none; }

.details {
  display: grid;
  grid-template-columns: 180px 1fr;
  margin: 40px 0 0;
  border-top: 1px solid var(--line);
}
.details dt,
.details dd {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.details dt { color: var(--muted); font-size: 15px; }
.details dd { font-size: 16px; }
.muted { color: var(--muted); }

@media (max-width: 480px) {
  .details { grid-template-columns: 1fr; }
  .details dt { padding-bottom: 0; border-bottom: 0; }
  .details dd { padding-top: 2px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .card { flex-direction: column; }
}
