/* Shared by the marketing pages and the order flow. */
.site-masthead {
  --masthead-unit: min(1vw, 12px);
  --paper: #fffaf0;
  --mint: #9ed8ba;
  color: var(--paper);
  font: 500 16px/1.35 Raleway, Arial, sans-serif;
}
.site-masthead .masthead-inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.8vw, 26px);
  width: 90.6%;
  max-width: 1200px;
  min-height: calc(8 * var(--masthead-unit));
  margin: 0 auto;
  text-shadow: 0 1px 8px #00181e;
}
.site-masthead .masthead-inner .brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: calc(.85 * var(--masthead-unit));
  color: inherit;
  font: 400 calc(3.1 * var(--masthead-unit))/1 "Titan One", Georgia, serif;
  white-space: nowrap;
}
.site-masthead .brand-glasses {
  display: block;
  width: calc(5.6 * var(--masthead-unit));
  height: auto;
  flex-shrink: 0;
}
.site-masthead .site-navigation,
.site-masthead .nav-links,
.site-masthead .nav-actions {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.1vw, 14px);
}
.site-masthead .site-navigation { flex: 1; justify-content: space-between; }
.site-masthead .masthead-inner a { text-decoration: none; }
.site-masthead .masthead-inner nav a {
  color: inherit;
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 750;
  white-space: nowrap;
}
.site-masthead .masthead-inner nav a:hover,
.site-masthead .nav-links > a[aria-current="page"] { color: var(--mint); }
.site-masthead :is(a, summary, button, select):focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }
.site-masthead .masthead-inner svg {
  display: block;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.site-masthead .masthead-inner nav .masthead-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(.8 * var(--masthead-unit));
  border-radius: calc(var(--masthead-unit));
  padding: calc(1.25 * var(--masthead-unit)) calc(1.5 * var(--masthead-unit));
  background: #d54b12;
  color: var(--paper);
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 800;
  text-shadow: none;
}
.site-masthead .masthead-inner nav .masthead-cta:hover { background: #bb3e03; color: var(--paper); }
.site-masthead .masthead-cta svg { width: 1.4em; height: 1.4em; }
.site-masthead .currency-switch select {
  padding: 5px;
  border: 1px solid #94d2bd55;
  border-radius: 6px;
  background: #00181e66;
  color: var(--paper);
  font: 600 11px Raleway, Arial, sans-serif;
  cursor: pointer;
}
.site-masthead .currency-switch option { color: #00181e; background: var(--paper); }
.site-masthead .menu-toggle { display: none; }

@media (max-width: 1270px) {
  .site-masthead .masthead-inner {
    width: min(90.6%, calc(100% - 40px));
    min-height: 77px;
    justify-content: space-between;
  }
  .site-masthead .masthead-inner .brand { gap: 9px; font-size: 31px; }
  .site-masthead .brand-glasses { width: 46px; }
  .site-masthead .site-navigation { justify-content: flex-end; }
  .site-masthead .nav-links { flex-wrap: wrap; gap: 0 clamp(12px, 2vw, 18px); }
  .site-masthead .nav-links > a,
  .site-masthead .features-menu summary { display: flex; align-items: center; min-height: 44px; }
  .site-masthead .menu-toggle {
    display: flex;
    order: 1;
    flex-direction: column;
    flex-shrink: 0;
    justify-content: center;
    gap: 7px;
    width: 40px;
    height: 40px;
    border: 1px solid #c4e6d266;
    border-radius: 6px;
    background: #00181e55;
    padding: 10px;
  }
  .site-masthead .menu-toggle span { height: 2px; width: 18px; background: var(--paper); }
  .site-masthead .nav-actions {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: max(4.7%, 20px);
    z-index: 10;
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    padding: 22px;
    border: 1px solid #94d2bd66;
    border-radius: 8px;
    background: #00252d;
    box-shadow: 0 15px 25px #00121966;
    flex-direction: column;
    align-items: stretch;
    gap: 17px;
  }
  .site-masthead .nav-actions.is-open { display: flex; }
  .site-masthead .nav-actions a, .site-masthead .currency-switch select { font-size: 14px; }
  .site-masthead .masthead-inner nav .masthead-cta { padding: 13px 16px; border-radius: 7px; }
}

@media (max-width: 700px) {
  .site-masthead .masthead-inner { flex-wrap: wrap; gap: 0 8px; padding-top: 16px; }
  .site-masthead .masthead-inner .brand { font-size: clamp(27px, 8vw, 31px); }
  .site-masthead .menu-toggle { order: 0; }
  .site-masthead .site-navigation { flex-basis: 100%; justify-content: flex-start; margin-top: 6px; }
  .site-masthead .nav-actions { max-height: calc(100dvh - 155px); }
}

.site-masthead .features-menu { position: relative; }
.site-masthead .features-menu summary {
  display: flex;
  align-items: center;
  gap: .35em;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 750;
}
.site-masthead .features-menu summary::-webkit-details-marker { display: none; }
.site-masthead .features-menu summary:hover,
.site-masthead .features-menu[open] summary { color: var(--mint); }
.site-masthead .features-menu summary svg { width: 1em; height: 1em; }
.site-masthead .features-menu[open] summary svg { rotate: 180deg; }
.site-masthead .features-menu-links {
  position: absolute;
  z-index: 1;
  top: calc(100% + 14px);
  left: -12px;
  min-width: max-content;
  padding: 5px;
  margin: 0;
  list-style: none;
  border: 1px solid #94d2bd66;
  border-radius: 12px;
  background: #00252d;
  box-shadow: 0 12px 25px #00121955;
}
.site-masthead .features-menu-links a { display: block; padding: 10px 12px; border-radius: 7px; }
.site-masthead .features-menu-links a:hover,
.site-masthead .features-menu-links a:focus-visible,
.site-masthead .features-menu-links a[aria-current="page"] { background: #94d2bd19; color: var(--mint); }
@media (max-width: 700px) {
  .site-masthead .features-menu-links {
    top: 100%;
    min-width: 0;
    width: max-content;
    max-width: min(300px, calc(100vw - 100px));
  }
  .site-masthead .features-menu-links a { white-space: normal; }
}
