:root {
  --bg: #0b0e13;
  --surface: #131a24;
  --surface-2: #1a2432;
  --text: #f2f5f9;
  --muted: #b8c2cf;
  --accent: #7fb0ff;
  --accent-strong: #3b82f6;
  --line: #26334a;
  --radius: 20px;
  --shadow: 0 24px 60px rgb(0 0 0 / 45%);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  background:
    radial-gradient(900px 500px at 85% -5%, rgb(59 130 246 / 22%), transparent 60%),
    radial-gradient(700px 420px at 5% 20%, rgb(127 176 255 / 12%), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.8;
}
.container { width: min(1120px, 92%); margin-inline: auto; }
.skip-link {
  position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 20;
  background: var(--text); color: #0b0e13; padding: .6rem 1rem; border-radius: 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 1rem; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid #ffd166; outline-offset: 3px;
}
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgb(11 14 19 / 82%); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .8rem; }
.brand { color: var(--text); font-weight: 800; font-size: 1.1rem; text-decoration: none; }
nav { display: flex; gap: 1.1rem; flex-wrap: wrap; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover { color: var(--text); }
section { padding-block: clamp(3.5rem, 9vw, 6rem); }
h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); line-height: 1.15; margin: .2em 0; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 .4rem; }
.eyebrow { color: var(--accent); font-weight: 700; margin: 0; }
.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); max-width: 34rem; }
.disclosure { color: #ffd166; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.hero-actions, .explore-box .button { margin-top: 1.4rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.button {
  display: inline-block; border: 1px solid var(--line); border-radius: 999px;
  padding: .75rem 1.5rem; font: inherit; font-weight: 700; text-decoration: none;
  cursor: pointer; min-height: 48px;
}
.button-primary { background: var(--accent-strong); color: #fff; border-color: transparent; }
.button-primary:hover { background: #2f6fe0; }
.button-ghost { background: transparent; color: var(--text); }
.product-figure { margin: 0; }
.viewer {
  position: relative; aspect-ratio: 1; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden;
  display: grid; place-items: center;
}
.viewer img, .viewer canvas { width: 100%; height: 100%; object-fit: contain; display: block; }
.viewer canvas { cursor: grab; touch-action: pan-y; }
.viewer canvas:active { cursor: grabbing; }
figcaption { color: var(--muted); text-align: center; margin-top: .8rem; font-size: .95rem; }
.section-intro { color: var(--muted); max-width: 44rem; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; }
.feature-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; opacity: 0; transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.feature-card.is-visible { opacity: 1; transform: none; }
.feature-card h3 { margin-top: 0; font-size: 1.25rem; }
.feature-card p { color: var(--muted); margin: 0; }
.color-picker { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.color-button {
  display: inline-flex; align-items: center; gap: .6rem; font: inherit; font-weight: 700;
  background: var(--surface); color: var(--text); border: 2px solid var(--line);
  border-radius: 999px; padding: .65rem 1.1rem; cursor: pointer; min-height: 48px;
}
.color-button[aria-pressed="true"] { border-color: var(--accent); background: var(--surface-2); }
.color-button:disabled { opacity: .55; cursor: not-allowed; }
.swatch { width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgb(255 255 255 / 35%); flex: none; }
.swatch-graphite { background: #3a3f44; }
.swatch-sand { background: #d9c7a5; }
.swatch-blue { background: #2e4a6b; }
.color-status { color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-top: 1.6rem; }
table { border-collapse: collapse; width: 100%; min-width: 520px; }
caption { text-align: start; padding: 1rem 1.2rem; font-weight: 700; }
th, td { padding: .9rem 1.2rem; border-top: 1px solid var(--line); text-align: start; }
th { width: 30%; color: var(--accent); }
td { color: var(--muted); }
.explore-box {
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 5vw, 3rem);
  text-align: center;
}
.explore-box p { color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); padding-block: 1.6rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; }
.footer-inner p { color: var(--muted); margin: 0; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .feature-card { transition: none; opacity: 1; transform: none; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .features-grid { grid-template-columns: 1fr; }
  .header-inner { flex-direction: column; align-items: flex-start; }
}
