:root {
  --plum: #140610;
  --paper: #fbf4f6;
  --ink: #1c1428;
  --muted: #6a5562;
  --line: #eadde3;
  --link: #b01048;
  --sheet: #ffffff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 18px/1.55 Georgia, "Iowan Old Style", Palatino, "Palatino Linotype", serif;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); }
a:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
code { overflow-wrap: anywhere; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  color: var(--ink);
  padding: 6px 10px;
  z-index: 5;
}
.skip:focus { top: 8px; }
.top {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px;
  background: var(--plum);
  color: #fff;
}
.mark {
  display: block;
  line-height: 0;
}
.mark img {
  display: block;
  height: 40px;
  width: auto;
}
.nav {
  display: flex;
  flex: 1 1 16rem;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: flex-end;
  min-width: 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}
.nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.nav a[aria-current="page"] { border-bottom: 2px solid #fff; }
.top a:focus-visible { outline-color: #fff; }
.btn {
  display: inline-block;
  background: #e4b423;
  color: #1c1428;
  text-decoration: none;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
}
.btn:hover { background: #f2c84a; }
.top .btn { flex: 0 0 auto; }
main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 22px 20px 48px;
}
h1, h2, h3 {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h1 { font-size: clamp(2rem, 5vw, 2.7rem); margin: 0 0 12px; }
.brand {
  width: min(100%, 20rem);
  margin: 0.35rem auto 1.1rem;
  padding: 0.35rem 0.85rem;
  background: #fff;
  border-radius: 1.4rem;
  box-shadow: 0 10px 28px rgba(28, 20, 40, 0.1);
  line-height: 0;
}
.brand img {
  display: block;
  width: 100%;
  height: 8rem;
  object-fit: cover;
  object-position: center;
  border-radius: 1rem;
}
h2 { font-size: 1.35rem; margin: 1.6rem 0 0.4rem; }
h3 { font-size: 1.05rem; margin: 1rem 0 0.3rem; }
p, li { margin: 0.7rem 0; }
p, li, dd, dt, figcaption { overflow-wrap: break-word; }
.note { color: var(--muted); margin: 0 0 8px; }
.lede { font-size: 1.12rem; }
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border: 1px solid var(--line);
  background: var(--sheet);
  margin: 1.2rem 0 0.4rem;
}
.split section { padding: 0.9rem 1rem 1.1rem; }
.split section + section { border-left: 1px solid var(--line); }
.split h2 { margin-top: 0; }
.spec { margin: 1rem 0 0.2rem; }
.spec div {
  display: grid;
  grid-template-columns: 11.5rem minmax(0, 1fr);
  gap: 8px 16px;
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
}
.spec dt {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-weight: 700;
}
.spec dd { margin: 0; }
ol.steps { padding-left: 1.2rem; }
.compare {
  width: 100%;
  border-collapse: collapse;
  margin: 0.4rem 0 0.8rem;
}
.compare th,
.compare td {
  text-align: left;
  vertical-align: top;
  padding: 0.55rem 0.35rem 0.55rem 0;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.compare th {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-weight: 700;
  width: 11.5rem;
}
.compare caption {
  caption-side: bottom;
  text-align: left;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 0.82rem;
  color: var(--muted);
  padding: 0.35rem 0 0.2rem;
}
details {
  border-top: 1px solid var(--line);
  padding: 0.65rem 0;
}
details:last-of-type { border-bottom: 1px solid var(--line); }
summary {
  cursor: pointer;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-weight: 700;
}
.foot {
  max-width: 42rem;
  margin: 0 auto;
  padding: 8px 20px 36px;
  color: var(--muted);
  font-size: 0.95rem;
}
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.foot a { color: var(--muted); }
.plate {
  display: grid;
  grid-template-columns: minmax(0, 16rem) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: 0.8rem 0 0.2rem;
}
.frame {
  margin: 0;
  min-width: 0;
  background: var(--sheet);
  border: 1px solid var(--line);
  padding: 10px;
}
.frame img { display: block; width: 100%; height: auto; }
.plate > .frame img { width: auto; max-width: 100%; max-height: 28rem; }
figcaption {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--muted);
  margin-top: 8px;
}
.marks, .shots, .tiles {
  display: grid;
  gap: 12px;
  margin: 12px 0 0.2rem;
}
.marks, .tiles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.shots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.catalog { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.badges img { width: auto; height: 44px; }
@media (max-width: 800px) {
  .nav { flex: 1 0 100%; justify-content: flex-start; }
  .split { grid-template-columns: 1fr; }
  .split section + section { border-left: 0; border-top: 1px solid var(--line); }
  .spec div { grid-template-columns: 1fr; gap: 2px; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: auto; }
  .compare th { padding-bottom: 0; }
  .compare td { padding-top: 0.15rem; }
  .plate, .marks, .shots, .tiles, .catalog { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .plate { grid-template-columns: minmax(0, 1fr); }
  .plate > .frame { max-width: 16rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
