:root {
  color-scheme: light;
  --paper: #f5f5f0;
  --ink: #162822;
  --muted: #4a6057;
  --rule: #aab9ae;
  --accent: #165c47;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
main {
  width: min(100% - clamp(40px, 8vw, 128px), 1170px);
  margin-inline: auto;
  padding: clamp(24px, 3.2vw, 52px) 0 clamp(40px, 6vw, 90px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: .86rem;
  font-weight: 550;
  line-height: 1.3;
  color: var(--muted);
}
.brand strong {
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: -.065em;
  color: var(--ink);
}
.brand span { border-inline-start: 1px solid var(--rule); padding-inline-start: 12px; }
h1 {
  margin: clamp(24px, 3vw, 44px) 0 clamp(27px, 3.2vw, 48px);
  font-size: clamp(2.4rem, 5vw, 4.65rem);
  font-weight: 600;
  letter-spacing: -.06em;
  line-height: 1.03;
  text-wrap: balance;
}
.variants {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(22px, 3.2vw, 48px);
  row-gap: clamp(28px, 4.5vw, 60px);
  margin: 0;
  padding: 0;
}
.variants a {
  display: block;
  height: 100%;
  color: var(--ink);
  text-decoration: none;
  border-top: 1px solid var(--rule);
}
.variants a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.caption {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(9px, 1.2vw, 17px);
  min-height: 60px;
  padding: 10px 0;
}
.number {
  color: var(--muted);
  font: 550 .82rem/1 "Segoe UI", Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: .045em;
}
.name {
  font-size: clamp(1.05rem, 1.65vw, 1.5rem);
  font-weight: 590;
  line-height: 1.18;
  letter-spacing: -.033em;
}
.arrow {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--accent);
}
.screen {
  display: block;
  overflow: hidden;
  border: 1px solid #d2d9d2;
  border-radius: 6px;
  background: #e5e9e2;
}
.screen img { width: 100%; height: auto; display: block; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.variants a:focus-visible .arrow { background: var(--accent); color: white; border-color: var(--accent); }
@media (hover: hover) {
  .variants a:hover { border-color: var(--accent); }
  .variants a:hover .name { color: var(--accent); }
  .variants a:hover .arrow { background: var(--accent); color: white; border-color: var(--accent); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .screen img { transition: transform 230ms ease-out; }
  .variants a:hover .screen img { transform: scale(1.012); }
}
@media (max-width: 700px) {
  .variants { grid-template-columns: minmax(0, 1fr); }
  .caption { min-height: 56px; gap: 12px; }
  .name { font-size: 1.16rem; }
}
