:root {
  --ink: #282828;
  --ink-soft: #2e2e2e;
  --charcoal: #3c3c3c;
  --header: #44433f;
  --footer-bar: #383837;
  --gold: #ffab00;
  --gold-star: rgba(218, 165, 32, 0.96);
  --cream: #faf9f6;
  --sand: #f7e5c3;
  --mist: #f5f7fa;
  --white: #ffffff;
  --max: 1400px;
  --copy: 1040px;
  --header-h: 88px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink-soft);
  background: var(--white);
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  line-height: 1.7;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 100;
  background: var(--gold);
  color: var(--ink);
  padding: 8px 14px;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

/* Header */

.site-header {
  background: var(--header);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 10px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}

.site-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 2;
}

.site-brand img {
  height: 76px;
  width: auto;
  display: block;
}

#site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.nav-list a {
  display: block;
  color: var(--white);
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 15px 40px;
  transition: color 0.2s ease;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--gold);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  color: var(--white);
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.menu-toggle:hover {
  color: var(--gold);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.download-btn {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--ink);
  font-family: "Lato", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 3px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.download-btn:hover {
  background: #ffc107;
}

.download-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--charcoal);
  color: var(--white);
  font-family: "Lato", sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 3px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: #2a2a2a;
  transform: translateY(-1px);
}

.btn-lg {
  font-size: 18px;
  padding: 14px 32px;
}

/* Layout helpers */

.section {
  padding: 90px 24px;
}

.section-tight {
  padding: 60px 24px 0;
}

.section-bottom {
  padding: 0 24px 60px;
}

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

.wrap-copy {
  max-width: var(--copy);
  margin: 0 auto;
}

.hero {
  background: var(--cream);
  padding: 90px 24px;
}

.hero-grid,
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  padding: 20px 20px 20px 56px;
}

.gold {
  background: var(--sand);
}

.mist {
  background: var(--mist);
}

h1,
h2,
.cta-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  text-transform: capitalize;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 8px;
}

h1 {
  font-size: 42px;
}

h2 {
  font-size: 45px;
  text-align: center;
}

h2.align-left {
  text-align: left;
}

.rule {
  width: 152px;
  height: 3px;
  background: var(--gold);
  border: 0;
  margin: 10px 0 24px;
}

.rule-center {
  margin-left: auto;
  margin-right: auto;
  width: min(467px, 56%);
}

.lede,
.body-copy {
  font-family: "Open Sans", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 28px;
}

.body-copy {
  max-width: 46em;
}

.body-copy.center,
.lede.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hero-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.hero-accent {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 18px;
  background: var(--gold);
}

.media-frame {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.media-frame img {
  width: 100%;
  object-fit: cover;
}

.section-head {
  text-align: center;
  margin-bottom: 36px;
}

.video-wrap {
  position: relative;
  width: min(840px, 100%);
  margin: 0 auto 48px;
  aspect-ratio: 16 / 9;
  background: #111;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hero.page-hero {
  padding: 28px 24px 8px;
}

.page-hero .section-head {
  margin-bottom: 0;
}

.page-hero h1 {
  text-align: center;
}

.page-hero .rule {
  margin-left: auto;
  margin-right: auto;
}

.video-review {
  max-width: 840px;
  margin: 0 auto 64px;
}

.video-review:last-child {
  margin-bottom: 0;
}

.video-review .video-wrap {
  width: 100%;
  margin-bottom: 20px;
}

.video-review .video-wrap.video-wrap--portrait {
  aspect-ratio: 9 / 16;
  width: min(360px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.video-quote {
  margin: 0;
  padding: 28px 32px;
  background: var(--white);
  border-radius: 4px;
  border-left: 4px solid var(--gold);
}

.video-quote p {
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.617;
  color: var(--ink-soft);
  margin: 0 0 16px;
  text-align: center;
}

/* Testimonials */

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.card {
  background: var(--white);
  border-radius: 4px;
  padding: 32px;
  margin: 16px;
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.07);
}

.card p {
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.617;
  color: var(--ink-soft);
  margin: 0 0 16px;
}

.stars {
  display: flex;
  justify-content: center;
  gap: 2px;
  color: var(--gold-star);
  font-size: 0.875rem;
  letter-spacing: 1px;
}

.stars span {
  font-style: normal;
}

/* Benefit list */

.benefit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.benefit-item {
  background: var(--white);
  border-radius: 4px;
  padding: 32px;
  border-left: 4px solid var(--gold);
}

.benefit-item h2,
.benefit-item h3 {
  font-size: 24px;
  text-align: left;
  text-transform: none;
  margin: 0 0 10px;
}

.benefit-item p {
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}

.fact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.fact-list li {
  background: var(--white);
  border-radius: 4px;
  padding: 20px 24px;
  border-left: 4px solid var(--gold);
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--ink-soft);
}

.content-link {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}

.content-link:hover {
  color: var(--charcoal);
}

.note-copy {
  margin: 36px auto 0;
}

/* CTA */

.cta {
  position: relative;
  min-height: 400px;
  padding: 5%;
  background:
    linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)),
    url("../images/handshake.jpg") center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1025px) {
  .cta {
    background-attachment: fixed;
  }
}

.cta-panel {
  position: relative;
  width: min(920px, 100%);
  background: rgba(255, 255, 255, 0.85);
  padding: 90px 48px;
  text-align: center;
}

.cta-title {
  font-family: "Roboto", sans-serif;
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.17;
  color: rgba(0, 0, 0, 0.8);
  text-transform: none;
}

.cta-panel .body-copy {
  font-weight: 600;
  max-width: 36em;
}

/* Footer */

.site-footer {
  background: var(--header);
  color: var(--white);
}

.footer-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.footer-logo {
  display: block;
  flex-shrink: 0;
}

.footer-logo img {
  width: 112px;
  height: auto;
}

.footer-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  min-width: 0;
}

.footer-about-text {
  margin: 0;
  max-width: 40em;
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  text-align: left;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 0;
}

.footer-nav a {
  font-family: "Lato", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--gold);
}

.footer-nav-sep {
  width: 1px;
  height: 14px;
  margin: 0 18px;
  background: rgba(255, 255, 255, 0.3);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  color: var(--white);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.social-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.social-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-btn--facebook {
  background: #1877f2;
}

.social-btn--pinterest {
  background: #e60023;
}

.footer-bar {
  background: var(--footer-bar);
  text-align: center;
  padding: 10px 16px;
  font-family: "Lato", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--white);
}

.back-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 40;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.back-top svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 1024px) {
  .hero,
  .section {
    padding: 60px 20px;
  }

  .hero-copy {
    padding: 0;
  }

  h1 {
    font-size: 2em;
  }

  h2 {
    font-size: 2em;
  }

  .cta-title {
    font-size: 28px;
  }

  .cta-panel {
    padding: 48px 24px;
  }

  .nav-list a {
    padding-left: 28px;
    padding-right: 28px;
  }
}

@media (max-width: 767px) {
  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .site-brand img {
    height: 64px;
  }

  .nav-wrap {
    justify-content: flex-start;
    padding: 12px 25px;
  }

  #site-nav {
    flex: 0;
  }

  .download-btn {
    right: 64px;
    font-size: 11px;
    padding: 8px 10px;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    background: #1e3a8a;
    border-radius: 10px;
    padding: 8px 0;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    padding: 18px 25px;
  }

  .hero-grid,
  .split,
  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 50px 20px;
    text-align: center;
  }

  h1 {
    font-size: 28px;
    text-align: center;
  }

  .rule {
    margin-left: auto;
    margin-right: auto;
  }

  .lede,
  .body-copy {
    font-size: 16px;
    text-align: left;
  }

  .hero-copy .btn {
    width: 100%;
  }

  .card {
    margin: 8px 0;
  }

  .benefit-item {
    padding: 24px;
  }

  .benefit-item h2,
  .benefit-item h3 {
    font-size: 20px;
  }

  .hero.page-hero {
    padding: 20px 20px 4px;
  }

  .video-review {
    margin-bottom: 40px;
  }

  .video-quote {
    padding: 20px 18px;
  }

  .video-quote p {
    font-size: 16px;
  }

  .footer-main {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 40px 24px 36px;
    text-align: center;
  }

  .footer-logo img {
    width: 104px;
  }

  .footer-copy {
    align-items: center;
  }

  .footer-about-text {
    text-align: center;
    max-width: 34ch;
  }

  .footer-meta {
    justify-content: center;
  }

  .footer-nav {
    justify-content: center;
  }

  .cta {
    padding: 90px 15px;
  }

  .cta-title {
    font-size: 25px;
  }

  .footer-bar {
    font-size: 12px;
  }
}
