:root {
  --blue: #196290;
  --text: #5a5a5a;
  --heading: #3a3a3a;
  --line: #e4e7e8;
  --paper: #ffffff;
  --soft: #f4f8fb;
  --max: 760px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "Open Sans", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: 8px 12px;
  z-index: 10;
}
.skip:focus { left: 8px; top: 8px; }

.site-header {
  text-align: center;
  padding: 28px 20px 8px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}

.branding .title {
  display: inline-block;
  color: var(--blue);
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.2;
  text-decoration: none;
}

.branding .title:hover { text-decoration: none; color: var(--blue); }

.branding .description {
  margin-top: 2px;
  color: var(--text);
  font-size: 14px;
  font-weight: 300;
}

.menu-toggle {
  display: none;
  margin: 16px auto 0;
  width: 52px;
  height: 46px;
  border: 0;
  background: var(--blue);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
}

#site-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 26px;
  padding: 18px 16px 14px;
}

#site-nav a {
  color: #4a4a4a;
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 3px solid transparent;
}

#site-nav a:hover,
#site-nav a[aria-current="page"] {
  color: var(--blue);
  border-bottom-color: var(--blue);
  text-decoration: none;
}

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #123;
  line-height: 0;
}

.hero img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: center 45%;
  display: block;
}

.hero-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(760px, 88%);
  text-align: center;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
  line-height: 1.35;
}

.hero-text h1 {
  margin: 0;
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-text p {
  margin: 10px 0 0;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 300;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 42px 22px 64px;
}

main h1,
main h2 {
  color: var(--heading);
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.2px;
}

main h1 { font-size: 32px; margin: 0 0 18px; }
main h2 { font-size: 22px; margin: 32px 0 10px; }

.page-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 22px 0;
}

.page-head h1 {
  margin: 0;
  color: var(--heading);
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-size: 32px;
  font-weight: 500;
}

.crumbs {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 22px 0;
  font-size: 14px;
}

.notice {
  background: var(--soft);
  border-left: 4px solid var(--blue);
  padding: 14px 16px;
  margin: 0 0 22px;
}

.notice p { margin: 0 0 8px; }
.notice p:last-child { margin-bottom: 0; }

ul.clean,
ol.clean { padding-left: 1.2em; }
ul.clean li,
ol.clean li { margin: 0 0 10px; }

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}

.card {
  display: block;
  border: 1px solid var(--line);
  padding: 16px 16px 14px;
  text-decoration: none;
  color: var(--heading);
}

.card:hover {
  border-color: var(--blue);
  text-decoration: none;
}

.card strong {
  display: block;
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 4px;
}

.card span { color: var(--text); font-size: 14px; }

.model-layout {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 28px;
  align-items: start;
}

.model-layout img {
  width: 100%;
  border: 1px solid var(--line);
  background: #fafafa;
}

dl.specs { margin: 0; }
dl.specs div {
  display: grid;
  grid-template-columns: 11em 1fr;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
dt { font-weight: 600; color: var(--heading); }
dd { margin: 0; }

.file-list { list-style: none; padding: 0; margin: 18px 0 0; }
.file-list li {
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
}
.file-list a { font-weight: 600; word-break: break-word; }
.file-list .meta {
  font-weight: 400;
  font-size: 13px;
  color: #888;
  margin-left: 8px;
}

main.library { max-width: 880px; }
.crumbs.library { max-width: 880px; }

.jump a { margin-right: 10px; white-space: nowrap; }

.back-top { font-size: 14px; }

.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li {
  padding: 10px 0 10px 0;
  border-bottom: 1px solid var(--line);
}
.timeline .year {
  display: inline-block;
  min-width: 3.4em;
  font-family: Montserrat, "Segoe UI", sans-serif;
  font-weight: 600;
  color: var(--blue);
}

.site-footer {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 22px 16px 32px;
  font-size: 13px;
  color: #888;
}

@media (max-width: 800px) {
  .menu-toggle { display: inline-flex; }
  #site-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 0;
  }
  #site-nav.open { display: flex; }
  #site-nav a {
    padding: 12px 8px;
    border-bottom: 1px solid var(--line);
  }
  .cards,
  .model-layout,
  dl.specs div { grid-template-columns: 1fr; }
  .hero img { max-height: 320px; }
  main { padding-top: 28px; }
}
