:root {
  color-scheme: light;
  --navy: #071426;
  --blue: #2f4a94;
  --ink-muted: #475569;
  --border: #e2e8f0;
  font: 100%/1.55 Roboto, "Segoe UI", Arial, sans-serif;
  color: var(--navy);
  background: #f8fafc;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
img { display: block; }
a { color: var(--blue); text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.wrap { width: min(75rem, calc(100% - 6rem)); margin-inline: auto; }
.masthead { background: #fff; border-bottom: 1px solid var(--border); }
.bar, .brand, .footer { display: flex; align-items: center; }
.bar { justify-content: space-between; gap: 1rem; min-height: 5.2rem; }
.brand { gap: .8rem; font-size: .95rem; letter-spacing: .105em; font-weight: 750; color: var(--navy); text-decoration: none; white-space: nowrap; }
.brand b { color: var(--blue); font-weight: 650; }
.home { font-size: .94rem; font-weight: 550; text-decoration: none; }
.home:hover, .footer a:hover { text-decoration: underline; }
.catalog { padding-block: clamp(2.2rem, 6.5vw, 5.5rem) clamp(2.5rem, 7vw, 6rem); }
h1, h2 { margin: 0; line-height: 1.04; letter-spacing: -.043em; overflow-wrap: break-word; }
h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); font-weight: 650; }
.catalog > h1 { margin-bottom: clamp(1.5rem, 3.5vw, 2.6rem); }
.chart, .handoff-card { background: white; border: 1px solid var(--border); border-radius: 1.5rem; }
.chart-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.chart { display: flex; flex-direction: column; padding: .65rem; }
.preview { display: block; aspect-ratio: 1000 / 456; background: #f0f4fa; border-radius: 1rem; overflow: hidden; }
.preview img { width: 100%; height: 100%; object-fit: cover; }
.preview img.coverage-image { object-fit: contain; }
.details { display: flex; flex: 1; flex-direction: column; padding: .9rem .55rem .5rem; }
h2 { font-weight: 650; font-size: clamp(1.25rem, 2vw, 1.65rem); }
.area { margin: .65rem 0 0; color: var(--ink-muted); font-size: 1.05rem; }
.chart .area { font-size: .85rem; margin: .35rem 0 .85rem; }
.chart .actions { margin-top: auto; }
.actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .55rem 1.13rem; border: 1px solid transparent; border-radius: .65rem; font-size: 1rem; font-weight: 600; line-height: 1.25; text-decoration: none; text-align: center; }
.primary { background: var(--blue); color: #fff; }
.primary:hover { background: #243b79; }
.secondary { background: #fff; color: var(--blue); border-color: #bdc8d9; }
.secondary:hover { background: #eef2fa; }
.footer { margin-top: auto; border-top: 1px solid var(--border); padding: 1.2rem 0 1.6rem; justify-content: space-between; gap: .5rem 1.5rem; color: var(--ink-muted); font-size: .87rem; flex-wrap: wrap; }
.footer a { color: inherit; }
.handoff { padding-block: clamp(2rem, 6vw, 4.5rem); }
.handoff-card { max-width: 63rem; margin-inline: auto; }
.handoff-body { padding: clamp(1.4rem, 4vw, 2.65rem); }
.handoff-body h1 { font-size: clamp(2.2rem, 5vw, 3.25rem); }
.handoff-gallery { display: grid; gap: 1.75rem; margin-top: 1.55rem; }
.handoff-gallery figure { margin: 0; }
.handoff-gallery h2 { margin-bottom: .65rem; font-size: 1rem; letter-spacing: 0; }
.handoff-image { width: 100%; height: auto; border-radius: 1rem; }
.handoff-gallery figcaption { color: var(--ink-muted); font-size: .7rem; margin-top: .35rem; }
.handoff-body .actions { margin-top: 1.45rem; }
[hidden] { display: none !important; }
.device-link { margin-top: 1.5rem; padding: .8rem 1rem; border: 1px solid var(--border); border-radius: .9rem; }
.device-link > summary { font-weight: 600; cursor: pointer; }
.device-link img { margin-top: .6rem; }
@media (max-width: 64rem) {
  .chart-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 48rem) {
  .wrap { width: min(40rem, calc(100% - 2rem)); }
  .bar { min-height: 4.4rem; }
  .catalog { padding-top: 2rem; }
}
@media (max-width: 36rem) {
  .chart-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 25rem) {
  .brand { gap: .43rem; font-size: .82rem; }
  .brand img { width: 31px; height: auto; }
  .home { font-size: .86rem; }
  .actions > .button { width: 100%; }
}
