@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("fonts/fira-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Fira Sans";
  src: url("fonts/fira-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --navy: #263246;
  --header: #10131c;
  --footer-bottom: #1d2738;
  --yellow: #ffe107;
  --green: #bdd83a;
  --red: #d83a3a;
  --light: #f7f7f7;
  --text: #868990;
  --max: 1170px;
  --heading: "Montserrat", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Fira Sans", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
}

main { flex: 1 0 auto; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); }

h1, h2, h3, h4 {
  font-family: var(--heading);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 .6em;
}
h1 { font-size: 44px; }
h2 { font-size: 28px; }
h3 { font-size: 18px; }
@media (max-width: 780px) {
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
}
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 10px; top: 10px; background: #fff; padding: 8px 12px; z-index: 10; }

header.site {
  background: var(--header);
  border-bottom: 1px solid rgba(255,255,255,.1);
  position: relative;
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 82px; gap: 16px;
}
header.site .logo img { width: 135px; }

nav.main ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; }
nav.main a {
  display: block; padding: 6px 10px; color: #fff; text-decoration: none;
  font-size: 15px; border-bottom: 2px solid transparent;
}
nav.main a:hover { color: var(--yellow); }
nav.main a[aria-current="page"] { border-bottom-color: var(--red); }
nav.main a.login {
  font-family: var(--heading); font-weight: 700; font-size: 14px; text-transform: uppercase;
  color: var(--yellow); border: 1px solid var(--yellow); padding: 12px 35px; margin-left: 24px;
}
nav.main a.login:hover { background: var(--yellow); color: #fff; }

details.menu { display: none; }
details.menu summary {
  list-style: none; cursor: pointer; color: #fff; font-family: var(--heading); font-weight: 600;
  padding: 8px 14px; border: 1px solid rgba(255,255,255,.4);
}
details.menu summary::-webkit-details-marker { display: none; }

@media (max-width: 1024px) {
  nav.main.wide { display: none; }
  details.menu { display: block; }
  details.menu[open] nav.main {
    position: absolute; left: 0; right: 0; top: 83px; background: var(--header);
    padding: 8px 20px 20px; z-index: 5;
  }
  details.menu nav.main ul { flex-direction: column; align-items: stretch; }
  details.menu nav.main a.login { margin: 12px 0 0; text-align: center; }
}

.button {
  display: inline-block; background: transparent; color: var(--yellow);
  border: 1px solid var(--yellow); font-family: var(--heading); font-weight: 700;
  font-size: 14px; text-transform: uppercase; text-decoration: none;
  padding: 12px 35px; border-radius: 0;
}
.button:hover { background: var(--yellow); color: #fff; }
.on-light .button, section:not(.dark) .button { color: var(--navy); }
.on-light .button:hover, section:not(.dark) .button:hover { color: #fff; }

.hero {
  background: var(--header) url("img/hero.jpg") center / cover no-repeat;
  color: #fff; text-align: center;
  min-height: calc(100vh - 83px);
  display: flex; align-items: center; justify-content: center;
  padding: 80px 0;
}
.hero h1 { color: #fff; font-size: clamp(36px, 6vw, 56px); font-weight: 700; margin-bottom: 0; }
.hero h1::after {
  content: ""; display: block; width: 170px; height: 1px; background: var(--yellow);
  margin: 10px auto 14px;
}
.hero p { font-size: 22px; letter-spacing: .03em; margin-bottom: 44px; }
.hero .button { color: #fff; }

.page-title { padding: 90px 0 10px; }
.page-title h1 { margin: 0; }

section { padding: 70px 0; }
.page-title + section { padding-top: 40px; }
section:not(.alt):not(.dark) + section:not(.alt):not(.dark) { padding-top: 0; }
section.alt { background: var(--light); }
section.dark { background: var(--navy); color: #c9ccd3; }
section.dark h1, section.dark h2, section.dark h3 { color: #fff; }
.center { text-align: center; }
.eyebrow { color: var(--green); font-family: var(--heading); font-weight: 700; letter-spacing: .12em; margin-bottom: .2em; }
.lead { font-size: 18px; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }

.cols { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; align-items: center; }
.cols-3 { display: grid; gap: 32px; grid-template-columns: repeat(3, 1fr); }
.cols-5 { display: grid; gap: 24px; grid-template-columns: repeat(5, 1fr); }
@media (max-width: 800px) {
  .cols, .cols-3 { grid-template-columns: 1fr; }
  .cols-5 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) { .cols-5 { grid-template-columns: 1fr; } }

.refs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 40px; }
.refs img { width: 140px; }

.stores { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.2em; }
.stores a {
  background: var(--header); color: #fff; text-decoration: none; font-weight: 500;
  padding: 10px 20px;
}
.stores a:hover { background: var(--navy); }

.step .num {
  display: inline-flex; width: 44px; height: 44px; border-radius: 50%;
  background: var(--yellow); color: var(--header); font-family: var(--heading); font-weight: 700;
  align-items: center; justify-content: center; margin-bottom: 10px;
}

ul.check { padding-left: 1.2em; }

.shot { box-shadow: 0 6px 24px rgba(16,19,28,.15); }

.stat { text-align: center; font-family: var(--heading); font-weight: 600; color: var(--navy); }
.stat strong { display: block; font-size: 48px; color: var(--yellow); line-height: 1.1; }

.price-cards { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; max-width: 760px; margin: 0 auto; }
@media (max-width: 640px) { .price-cards { grid-template-columns: 1fr; } }
.price { border: 1px solid #e5e5e5; text-align: center; padding: 36px 24px; background: #fff; }
.price .tier { font-family: var(--heading); font-weight: 700; letter-spacing: .12em; color: var(--text); }
.price .amount { font-family: var(--heading); font-size: 36px; font-weight: 700; color: var(--navy); margin: .2em 0; }

ol.how { padding-left: 1.4em; }
ol.how > li { margin-bottom: 1.2em; }
ol.how li::marker { font-weight: 500; color: var(--navy); }

.figure-row { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; margin: 24px 0 40px; }
@media (max-width: 700px) { .figure-row { grid-template-columns: 1fr; } }
figure { margin: 0; }
figure figcaption { font-size: 15px; margin-top: 10px; }
.phone { max-width: 300px; margin: 0 auto; }
.icon-row { display: flex; gap: 16px; align-items: center; margin-bottom: 12px; }
.icon-row img { width: 48px; flex: none; }

footer.site { flex-shrink: 0; font-size: 14px; color: var(--text); }
footer.site .widgets { background: var(--navy); padding: 72px 0 62px; }
footer.site .widgets .wrap { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 60px; }
@media (max-width: 700px) { footer.site .widgets .wrap { grid-template-columns: 1fr; gap: 40px; } }
footer.site h3 { color: #fff; font-size: 20px; font-weight: 600; margin: 0 0 17px; }
footer.site h3::after {
  content: ""; display: block; width: 50px; height: 3px; background: var(--red); margin-top: 17px;
}
footer.site a { color: var(--text); text-decoration: none; }
footer.site a:hover { color: #fff; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: 6px; }
footer.site .bottom { background: var(--footer-bottom); padding: 20px 0; }

.cards > div { background: #fff; box-shadow: 0 11px 40px rgba(79,118,157,.1); padding: 50px 31px; }

.bars { max-width: 760px; margin: 40px auto 0; }
.bar { margin-bottom: 40px; }
.bar span { display: block; font-weight: 500; color: var(--navy); text-transform: uppercase; margin-bottom: 8px; }
.bar .track { height: 7px; background: rgba(216,58,58,.1); overflow: hidden; }
.bar .fill { height: 100%; width: var(--pct); background: var(--yellow); }

@keyframes fade-in-right-big {
  from { opacity: 0; transform: translate3d(2000px, 0, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes bar-fill {
  from { width: 0; }
  to { width: var(--pct); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-text { animation: fade-in-right-big 1s ease-out both; }
  .hero { overflow: hidden; }
  @supports (animation-timeline: view()) {
    .bar .fill {
      animation: bar-fill ease-in-out both;
      animation-timeline: view();
      animation-range: entry 10% cover 35%;
    }
  }
  nav.main a, .button, .stores a, footer.site a { transition: color .3s, background-color .3s, border-color .3s; }
  .cards > div { transition: transform .3s, box-shadow .3s; }
  .cards > div:hover { transform: translateY(-6px); box-shadow: 0 18px 50px rgba(79,118,157,.18); }
}
.prose { max-width: 760px; }
