:root {
  color-scheme: dark;
  --bg: #0c0d0f;
  --surface: #17191d;
  --border: #30343b;
  --text: #f5f3ef;
  --muted: #a9adb5;
  --accent: #ff792d;
}

* { box-sizing: border-box; }

html { background: var(--bg); scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: inherit; text-underline-offset: .2em; }

.skip-link {
  position: fixed;
  z-index: 10;
  top: .75rem;
  left: .75rem;
  padding: .65rem 1rem;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-200%);
}

.skip-link:focus { transform: translateY(0); }

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

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

.site-header a { text-decoration: none; }
.site-header nav { display: flex; gap: 1.25rem; }

main { padding-block: clamp(2rem, 6vw, 5rem); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .55rem; color: var(--muted); font-size: .9rem; margin-bottom: 2rem; }

h1,
h2,
p { margin-top: 0; }

h1 {
  max-width: 15ch;
  margin-bottom: .75rem;
  font-size: clamp(2.6rem, 8vw, 6.5rem);
  line-height: .92;
  letter-spacing: -.055em;
  text-transform: uppercase;
}

h2 { margin-top: 3rem; font-size: clamp(1.5rem, 4vw, 2.4rem); line-height: 1.1; }
.eyebrow { color: var(--accent); font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.style, .lead { color: var(--muted); }
.lead { max-width: 65ch; font-size: clamp(1.05rem, 2vw, 1.3rem); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
}

.hero figure { margin: 0; }
.hero img { display: block; width: 100%; height: auto; border-radius: 1rem; background: var(--surface); }
figcaption { margin-top: .5rem; color: var(--muted); font-size: .8rem; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.primary {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: .7rem 1.1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #111;
  font-weight: 800;
  text-decoration: none;
}

.metrics,
.details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  margin: 3rem 0;
  padding: 1px;
  background: var(--border);
}

.metrics div,
.details div { padding: 1rem; background: var(--surface); }
dt { color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
dd { margin: .25rem 0 0; font-weight: 700; }

.intro { max-width: 780px; margin-bottom: 4rem; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding: 0; list-style: none; }
.product-grid a { display: grid; height: 100%; gap: .65rem; padding: 1rem; border: 1px solid var(--border); border-radius: 1rem; background: var(--surface); text-decoration: none; }
.product-grid img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: .65rem; background: #111; }
.product-grid strong { font-size: 1.1rem; }
.product-grid span { color: var(--muted); }

footer { display: flex; justify-content: space-between; gap: 1rem; padding-block: 2rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .8rem; }
footer p { margin: 0; }

@media (max-width: 720px) {
  .site-header { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 1rem; }
  .site-header nav { flex-wrap: wrap; }
  .hero { grid-template-columns: 1fr; }
  .hero figure { order: -1; max-width: 420px; }
  .product-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
}
