:root {
  --ground: #0B0B0D;
  --panel: #181B21;
  --ink: #F5F4F1;
  --muted: #A9ACB2;
  --hairline: #23262C;
  --accent: #E1BD71;
  --accent-muted: #A49B40;

  --serif: Georgia, "Iowan Old Style", ui-serif, serif;
  --sans: -apple-system, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

@media (hover: hover) and (pointer: fine) {
  a:hover {
    border-bottom-color: var(--accent);
  }
}

a:focus-visible,
summary:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* ---- Topbar ---- */

.topbar {
  margin-bottom: 56px;
}

.home-link {
  color: var(--muted);
  font-size: 13px;
  border: none;
}

@media (hover: hover) and (pointer: fine) {
  .home-link:hover {
    color: var(--accent);
    border: none;
  }
}

/* ---- Hero ---- */

.hero {
  display: flex;
  gap: 20px;
  margin-bottom: 72px;
}

.hero-rule {
  flex: 0 0 2px;
  background: var(--accent);
  border-radius: 1px;
}

.hero-copy h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.25;
  margin: 0 0 14px;
}

.eyebrow {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 20px;
}

.tagline {
  color: var(--accent);
  font-size: 17px;
  margin: 0 0 20px;
}

.availability {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

/* ---- Sections ---- */

.section-label {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  margin: 0 0 24px;
  color: var(--ink);
}

section {
  margin-bottom: 72px;
}

/* ---- Proof in numbers ---- */

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

.plate {
  position: relative;
  display: block;
  width: 100%;
  padding: 20px 14px;
  border: 0.5px solid var(--hairline);
  background: var(--panel);
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 220ms ease, transform 220ms ease;
}

.plate::before,
.plate::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
}

.plate::before {
  top: -1px;
  left: -1px;
  border-top: 1.5px solid var(--accent-muted);
  border-left: 1.5px solid var(--accent-muted);
}

.plate::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 1.5px solid var(--accent-muted);
  border-right: 1.5px solid var(--accent-muted);
}

@media (hover: hover) and (pointer: fine) {
  .plate:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
  }
}

.plate-value {
  display: block;
  font-family: var(--mono);
  font-size: 26px;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.plate-label {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

/* ---- Selected evidence ---- */

details.case {
  border: 0.5px solid var(--hairline);
  background: var(--panel);
  padding: 18px 20px;
  margin-bottom: 12px;
  transition: border-color 220ms ease;
}

@media (hover: hover) and (pointer: fine) {
  details.case:hover {
    border-color: var(--accent-muted);
  }
}

details.case summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 17px;
  list-style: none;
}

details.case summary::-webkit-details-marker {
  display: none;
}

.case-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.case-title-row::after {
  content: "+";
  font-family: var(--sans);
  color: var(--muted);
  font-size: 18px;
  flex-shrink: 0;
}

details.case[open] .case-title-row::after {
  content: "\2013";
}

.case-meta {
  display: block;
  text-align: right;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

details.case p {
  font-size: 15px;
  color: var(--muted);
  margin: 14px 0 4px;
}

details.case p .mech {
  color: var(--ink);
}

/* ---- Fit & contact ---- */

.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.fit-heading {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 15px;
  color: var(--ink);
  margin: 0 0 10px;
}

.fit-list {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--muted);
}

.fit-list li + li {
  margin-top: 8px;
}

.contact-links {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* ---- Footer ---- */

.footer {
  border-top: 0.5px solid var(--hairline);
  padding-top: 24px;
}

.footer p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

/* ---- Responsive ---- */

@media (max-width: 480px) {
  .hero-copy h1 {
    font-size: 28px;
  }

  .fit-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .plate,
  details.case {
    transition: none;
  }
}
