@import url("./viewer.css");
@import url("./sections.css");

:root {
  color-scheme: light;
  --paper: #f5f6f7;
  --ink: #171d23;
  --muted: #5c6670;
  --line: #d9dfe4;
  --blue: #315d7c;
  --wash: #eaf0f4;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}
body {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button,
input {
  font: inherit;
}
button,
input[type="checkbox"],
input[type="range"] {
  cursor: pointer;
}
button {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
figure,
fieldset,
dl,
dd,
h1,
h2,
h3 {
  margin: 0;
}
fieldset {
  border: 0;
  padding: 0;
  min-width: 0;
}
p {
  margin: 0 0 1em;
  color: var(--muted);
}
h1,
h2 {
  font-weight: 500;
  letter-spacing: -0.052em;
  line-height: 1.08;
}
h1 {
  font-size: clamp(45px, 4.7vw, 72px);
}
h2 {
  font-size: clamp(36px, 3.8vw, 56px);
}
h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.35;
}
.wrap {
  width: min(1320px, calc(100% - 64px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: -90px;
  left: 20px;
  padding: 12px 20px;
  background: white;
  z-index: 20;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-block: 27px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}
.brand img {
  width: 48px;
  object-fit: contain;
}
.brand span {
  line-height: 1.3;
}
.brand small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 3px;
}
.site-header nav {
  display: flex;
  gap: 25px;
  font-size: 13px;
}
.site-header nav a {
  text-decoration: none;
  padding-block: 10px;
}
.site-header nav a:hover,
.text-link:hover {
  color: var(--blue);
  text-decoration: underline;
}
.hero {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  align-items: center;
  padding-block: 50px;
  gap: 20px;
}
.lead {
  font-size: 18px;
  line-height: 1.7;
  margin-block: 28px;
  max-width: 35ch;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
.primary {
  color: white;
  background: var(--blue);
}
.primary:hover {
  background: #224861;
}
.secondary {
  color: var(--ink);
  background: transparent;
  border: 1px solid #b8c3cb;
}
.secondary:hover {
  background: var(--wash);
}
.text-link {
  font-size: 13px;
  font-weight: 600;
}
.hero-note {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
  margin: 26px 0 0;
}
.hero-image img {
  width: 100%;
}
.hero-image figcaption {
  font-size: 11px;
  color: var(--muted);
  text-align: right;
  padding-top: 12px;
}
.spec-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
  padding-block: 28px;
  border-block: 1px solid var(--line);
}
.spec-strip dt {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
.spec-strip dd {
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.025em;
}
.spec-strip dd span {
  font-size: 13px;
  letter-spacing: 0;
}
.section {
  padding-block: 90px;
}
.section-intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 42px;
}
.section-intro p {
  color: var(--muted);
  max-width: 51ch;
  margin: 0;
}
.notice {
  padding: 20px 24px;
  background: var(--wash);
  margin-top: 15px;
  border-radius: 6px;
}
@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 0.9fr 1.1fr;
  }
  .hero .lead {
    font-size: 16px;
  }
  .spec-strip dd {
    font-size: 18px;
  }
  .spec-strip dd span {
    display: block;
    font-size: 12px;
  }
  .section-intro {
    gap: 40px;
  }
}
@media (max-width: 800px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    flex-wrap: wrap;
    gap: 15px;
    padding-block: 22px;
  }
  .site-header nav {
    width: 100%;
    gap: 20px;
    font-size: 12px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 25px 35px;
    gap: 20px;
  }
  h1 {
    font-size: clamp(43px, 10vw, 64px);
  }
  .lead {
    max-width: 45ch;
    margin-block: 21px;
  }
  .hero-note {
    margin-top: 20px;
  }
  .hero-image figcaption {
    text-align: left;
  }
  .spec-strip {
    grid-template-columns: 1fr 1fr;
    gap: 25px 16px;
    padding-block: 26px;
  }
  .spec-strip dd {
    font-size: clamp(17px, 4.5vw, 21px);
  }
  .section {
    padding-block: 60px;
  }
  .section-intro {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 30px;
  }
  .section-intro p {
    font-size: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
