:root {
  --blue: #74a5d9;
  --blue-dark: #5e8fc5;
  --ink: #222021;
  --muted: #6f6f6f;
  --line: #dddddd;
  --paper: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a { color: var(--blue-dark); }

.topbar {
  min-height: 108px;
  border-bottom: 1px solid #ececec;
}

.topbar__inner,
.brand__inner,
.layout,
.footer__inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar__inner {
  min-height: 108px;
  display: flex;
  align-items: center;
  gap: 38px;
}

.topbar a {
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.topbar a[aria-current="page"] {
  padding: 13px 18px;
  color: white;
  background: var(--blue);
  border-radius: 2px;
  box-shadow: 0 2px 5px rgba(0,0,0,.15);
}

.brand {
  height: 260px;
  color: var(--blue);
  background: #242223;
}

.brand__inner {
  height: 100%;
  display: grid;
  place-items: center;
}

.brand a {
  color: inherit;
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 400;
  letter-spacing: .01em;
  text-decoration: none;
  text-transform: uppercase;
}

.mobile-toggle {
  display: none;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 62px;
  align-items: start;
  padding: 56px 0 72px;
}

.content {
  min-width: 0;
  font-size: 15px;
}

.content h1,
.content h2,
.content .j-header {
  margin: 0 0 32px;
  color: var(--blue);
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
}

.content h1 { font-size: clamp(34px, 3.8vw, 48px); }
.content h2, .content .j-header { font-size: clamp(25px, 3vw, 38px); }
.content h3 { margin: 28px 0 8px; font-size: 20px; }
.content p { margin: 0 0 25px; }
.content hr { margin: 34px 0; border: 0; border-top: 1px solid var(--line); }
.content img { max-width: 100%; height: auto; }

.content .cc-imagewrapper { margin-top: 0; }
.content .cc-m-image-align-2 { float: right; margin: 0 0 24px 32px; }
.content .cc-m-image-align-1 { float: left; margin: 0 32px 24px 0; }
.content #cc-m-textwithimage-image-7993158193 { width: 128px; }
.content #cc-m-textwithimage-image-7993212293 { width: 110px; }
.content #cc-m-textwithimage-image-8683198593,
.content #cc-m-textwithimage-image-8683202193 { width: 210px; }

.content .cc-m-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 28px 0;
}

.content .cc-m-video-wrapper iframe,
.content > iframe,
.content .j-video iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.content .cc-clear { clear: both; }
.content .cc-m-spacer { height: 20px; }

.home-intro p {
  margin-bottom: 23px;
  line-height: 1.5;
}

.legal-page h2 {
  margin: 34px 0 12px;
  font-size: 25px;
  text-transform: none;
}

.subnav {
  position: sticky;
  top: 24px;
  margin-top: -72px;
  padding: 20px 0;
  background: var(--blue);
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0,0,0,.14);
}

.subnav a {
  display: block;
  padding: 10px 22px;
  color: white;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.subnav a:hover,
.subnav a[aria-current="page"] { background: var(--blue-dark); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.product-card,
.rating-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
}

.product-card img {
  display: block;
  width: auto;
  max-height: 360px;
  margin: 0 auto 24px;
}

.product-card h2,
.rating-card h2 {
  margin-bottom: 16px;
  font-size: 25px;
}

.button {
  display: inline-block;
  padding: 13px 20px;
  color: white;
  background: var(--blue-dark);
  border-radius: 2px;
  font-weight: 700;
  text-decoration: none;
}

.button:hover { background: #4f7fb4; }
.button--disabled { color: #666; background: #e7e7e7; cursor: default; }
.rating-card { grid-column: 1 / -1; background: #f5f9fd; }
.stars { color: #f5a623; font-size: 25px; letter-spacing: 2px; }
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.review { padding: 20px; background: white; border-left: 4px solid var(--blue); }
.review p { margin-bottom: 8px; }

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label { display: grid; gap: 6px; font-weight: 700; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px;
  border: 1px solid #bdbdbd;
  border-radius: 2px;
  font: inherit;
}
.contact-form button { justify-self: start; border: 0; font: inherit; cursor: pointer; }

.footer {
  padding: 36px 0 52px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.footer__inner { display: flex; gap: 18px; flex-wrap: wrap; }
.footer a { color: var(--muted); }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .topbar { min-height: 102px; background: #242223; border: 0; }
  .topbar__inner { min-height: 102px; justify-content: flex-end; }
  .topbar__inner > a { display: none; }
  .brand { height: auto; }
  .brand__inner { display: block; padding: 0 20px 26px; }
  .brand a { font-size: 29px; }
  .mobile-toggle {
    display: block;
    position: absolute;
    top: 24px;
    right: 18px;
    width: 84px;
    height: 46px;
    border: 0;
    background: #efefef;
    color: #444;
    font-size: 26px;
    cursor: pointer;
  }
  .layout { display: block; width: 100%; padding: 26px 20px 52px; }
  .content { font-size: 16px; }
  .content h1 { font-size: 29px; }
  .content h2, .content .j-header { font-size: 25px; }
  .content .cc-m-image-align-2 { max-width: 42%; margin-left: 20px; }
  .content .cc-m-image-align-1 { max-width: 46%; margin-right: 20px; }
  .content .cc-m-video-wrapper iframe,
  .content > iframe,
  .content .j-video iframe { min-height: 0; }
  .subnav {
    display: none;
    position: static;
    margin: 0 0 28px;
    box-shadow: none;
  }
  body.nav-open .subnav { display: block; }
  .product-grid, .reviews { grid-template-columns: 1fr; }
  .rating-card { grid-column: auto; }
  .footer__inner { width: calc(100% - 40px); }
}

