:root {
  --navy: #0f2857;
  --navy-2: #173963;
  --blue: #0b5fbf;
  --teal: #1d9d72;
  --green: #198c62;
  --gold: #d6a23a;
  --ink: #10214a;
  --muted: #6e7d94;
  --paper: rgba(255, 255, 255, 0.93);
  --line: rgba(15, 40, 87, 0.13);
  --shadow: 0 24px 70px rgba(20, 40, 62, 0.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: "Assistant", Arial, sans-serif;
  background: #f4f8fb;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed;
  top: 8px;
  right: 8px;
  z-index: 9999;
  background: #fff;
  color: var(--navy);
  border-radius: 8px;
  padding: 10px 14px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.page-shell { width: 100%; overflow: hidden; }
.hero {
  position: relative;
  min-height: 642px;
  background:
    linear-gradient(180deg, rgba(235, 246, 250, .46) 0%, rgba(255,255,255,.12) 27%, rgba(16,37,62,.18) 100%),
    url("https://images.unsplash.com/photo-1776158830521-73d0b09e9bca?auto=format&fit=crop&fm=jpg&q=86&w=2400") center 58% / cover no-repeat,
    linear-gradient(145deg, #dce9ef 0%, #f6e8cc 50%, #8fa5b3 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 150px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(9,31,52,0), rgba(8,29,48,.16));
}
.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,.12), rgba(255,255,255,.03));
}
.gold-line {
  position: absolute;
  width: 720px;
  height: 430px;
  border: 1.4px solid rgba(216, 160, 47, .95);
  border-radius: 50%;
  pointer-events: none;
  opacity: .95;
}
.gold-line-left { left: -520px; top: 33px; transform: rotate(9deg); }
.gold-line-right { right: -530px; top: 68px; transform: rotate(-17deg); }

.site-header {
  position: relative;
  z-index: 20;
  width: 100%;
  padding-top: 13px;
}
.header-inner {
  width: min(1300px, calc(100% - 72px));
  margin: 0 auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 58px;
}
.brand {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  color: var(--navy);
}
.brand-mark { width: 90px; height: 90px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.brand-copy strong { font-size: 33px; font-weight: 800; letter-spacing: -.4px; white-space: nowrap; }
.brand-copy small { margin-top: 11px; color: #6a7181; font-size: 14px; font-weight: 500; white-space: nowrap; }

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
}
.nav-link {
  position: relative;
  border: 0;
  background: none;
  padding: 18px 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 19px;
  color: var(--navy);
}
.nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: 2px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .18s ease;
}
.nav-link:hover::after, .nav-link:focus-visible::after, .nav-link.active::after { transform: scaleX(1); }
.nav-divider { width: 1px; height: 44px; background: rgba(15,40,87,.15); margin-inline: 2px -3px; }
.favorites-icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-right: -8px;
  border: 0;
  background: rgba(255,255,255,.52);
  box-shadow: inset 0 0 0 1px rgba(15,40,87,.09);
  border-radius: 50%;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}
.favorites-icon-btn:hover { transform: translateY(-1px); background: rgba(255,255,255,.8); }
.favorites-icon-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--navy); stroke-width: 1.8; }
.favorites-count {
  position: absolute;
  top: -6px;
  left: -5px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--gold);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  border: 2px solid #eff6f7;
}
.mobile-menu-btn, .mobile-nav { display: none; }

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 23px 20px 86px;
}
.quote-card {
  position: relative;
  width: min(792px, 78vw);
  height: 398px;
  min-height: 398px;
  padding: 22px 74px 68px;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.90));
  border: 1px solid rgba(255,255,255,.85);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.quote-kicker {
  height: 42px;
  padding: 0 26px;
  border-radius: 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #dce9ff;
  color: #1d4f95;
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
}
.quote-kicker svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.quote-mark {
  height: 58px;
  margin-top: 12px;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 76px;
  line-height: .8;
  transform: scaleX(-1);
  font-weight: 700;
}
blockquote {
  margin: 6px 0 17px;
  min-height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 680px;
  font-size: var(--quote-size, 42px);
  line-height: 1.36;
  font-weight: 800;
  letter-spacing: -.7px;
  color: #0e1c45;
}
.quote-separator { width: 40px; height: 2px; background: #cbd2db; border-radius: 2px; }
.quote-source-wrap { margin-top: 19px; display: flex; flex-direction: column; align-items: center; gap: 7px; }
.quote-source {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 5px 19px;
  border-radius: 17px;
  background: #f4f6f8;
  color: #47566e;
  font-size: 14px;
  font-weight: 700;
}
.quote-exact-source { color: #7b8798; font-size: 12px; font-weight: 600; }
.next-quote-btn {
  position: absolute;
  right: 50%;
  bottom: -24px;
  transform: translateX(50%);
  width: 352px;
  max-width: calc(100% - 56px);
  height: 62px;
  border: 0;
  border-radius: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  cursor: pointer;
  color: white;
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(90deg, #0757aa 0%, #05708a 46%, #1ba56f 100%);
  box-shadow: 0 14px 28px rgba(5, 92, 126, .28), inset 0 0 0 1px rgba(255,255,255,.15);
  transition: transform .18s ease, box-shadow .18s ease;
}
.next-quote-btn:hover { transform: translateX(50%) translateY(-2px); box-shadow: 0 17px 32px rgba(5,92,126,.34); }
.next-quote-btn:active { transform: translateX(50%) translateY(0); }
.next-quote-btn svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.quote-actions {
  position: absolute;
  top: calc(100% + 40px);
  right: 50%;
  transform: translateX(50%);
  display: flex;
  gap: 14px;
}
.action-btn {
  height: 52px;
  min-width: 114px;
  padding: 0 20px;
  border-radius: 17px;
  border: 1px solid rgba(15,40,87,.08);
  background: rgba(255,255,255,.94);
  box-shadow: 0 8px 20px rgba(24,43,61,.12);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--navy);
  font-size: 17px;
  font-weight: 600;
  transition: transform .16s ease, background .16s ease;
}
.action-btn:hover { transform: translateY(-1px); background: #fff; }
.action-btn svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.action-btn.is-favorite { color: #b3264d; }
.action-btn.is-favorite svg { fill: #d94c70; stroke: #d94c70; }

.pillars {
  position: relative;
  z-index: 12;
  background: rgba(255,255,255,.98);
  min-height: 200px;
  display: grid;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.8);
}
.pillars-inner {
  width: min(1220px, calc(100% - 72px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 42px;
}
.pillar { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; min-width: 0; }
.pillar-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.pillar-icon svg { width: 37px; height: 37px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.pillar-icon.green { color: #1d9c65; background: #e5f5ed; }
.pillar-icon.blue { color: #006bb8; background: #e5f3fb; }
.pillar-icon.gold { color: #c38720; background: #fbf0df; }
.pillar-icon.indigo { color: #4a6ed1; background: #e9eefc; }
.pillar h2 { margin: 0; color: #10204b; font-size: 20px; font-weight: 800; }
.pillar p { margin: 2px 0 0; color: #7d889b; font-size: 16px; font-weight: 500; white-space: nowrap; }
.pillar-divider { width: 1px; height: 96px; background: #dde3e9; }

.site-footer {
  position: relative;
  min-height: 183px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #0b3555 0%, #0a2b51 45%, #071c34 100%);
}
.footer-wave { position: absolute; left: -4%; right: -4%; border-radius: 50% 50% 0 0; pointer-events: none; }
.footer-wave-a { height: 130px; bottom: -78px; background: rgba(5,113,130,.46); transform: rotate(-1.2deg); }
.footer-wave-b { height: 120px; bottom: -92px; background: rgba(19,124,103,.46); transform: rotate(1.8deg); }
.footer-gold-line {
  position: absolute;
  width: 900px;
  height: 200px;
  left: -440px;
  top: 52px;
  border: 1.2px solid rgba(216, 160, 47, .9);
  border-radius: 50%;
  transform: rotate(4deg);
}
.footer-inner {
  position: relative;
  z-index: 3;
  width: min(1060px, calc(100% - 72px));
  margin: 0 auto;
  min-height: 139px;
  padding-top: 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 54px;
}
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: 78px; height: 78px; object-fit: contain; }
.footer-brand > div { display: flex; flex-direction: column; align-items: flex-start; }
.footer-brand strong { font-size: 29px; line-height: 1; font-weight: 800; }
.footer-brand span { margin-top: 7px; color: rgba(255,255,255,.78); font-size: 14px; }
.footer-brand small { margin-top: 16px; color: rgba(255,255,255,.59); font-size: 13px; }
.footer-separator { width: 1px; height: 72px; background: rgba(255,255,255,.48); }
.contact-block { justify-self: end; text-align: right; }
.contact-block h2 { margin: 0 0 8px; font-size: 16px; font-weight: 800; }
.contact-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.contact-row a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: rgba(255,255,255,.92); font-size: 16px; }
.contact-row a:hover { color: #fff; }
.contact-row svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.copyright {
  position: relative;
  z-index: 3;
  min-height: 44px;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.55);
  font-size: 13px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(4,18,38,.58);
  backdrop-filter: blur(5px);
}
.modal {
  position: fixed;
  z-index: 100;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(580px, calc(100% - 36px));
  max-height: min(82vh, 760px);
  overflow: auto;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
  padding: 36px 40px 38px;
  text-align: right;
}
.modal:focus { outline: none; }
.modal-close {
  position: absolute;
  top: 14px;
  left: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #f1f4f7;
  color: var(--navy);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}
.modal-icon { display: flex; justify-content: center; margin-bottom: -2px; }
.modal-icon img { width: 80px; height: 80px; object-fit: contain; }
.modal h2 { margin: 6px 0 18px; text-align: center; font-size: 31px; color: var(--navy); }
.modal p { margin: 0 0 14px; color: #46556c; line-height: 1.75; font-size: 17px; }
.modal-lead { text-align: center; margin-top: -5px !important; }
.topics-modal { width: min(850px, calc(100% - 36px)); }
.category-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.category-chip {
  border: 1px solid #d7e0e9;
  background: #f8fafc;
  color: #213b63;
  border-radius: 22px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 700;
  transition: all .15s ease;
}
.category-chip:hover, .category-chip.active { border-color: #79a6cf; background: #eaf4ff; color: #0a579c; transform: translateY(-1px); }
.category-chip.all { background: linear-gradient(90deg,#edf5ff,#eaf8f2); }
.favorites-modal { width: min(760px, calc(100% - 36px)); }
.favorites-list { display: grid; gap: 12px; margin-top: 20px; }
.favorite-item {
  position: relative;
  padding: 17px 19px 16px 54px;
  border: 1px solid #e2e8ee;
  border-radius: 18px;
  background: #fbfcfd;
}
.favorite-item p { margin: 0 0 8px; color: #14294f; font-weight: 700; line-height: 1.55; }
.favorite-item small { display: block; color: #7b8798; font-size: 13px; }
.favorite-remove {
  position: absolute;
  left: 13px;
  top: 13px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: #fff0f3;
  color: #b72d50;
  cursor: pointer;
  font-size: 20px;
}
.empty-state { text-align: center; color: #7b8798; padding: 28px 8px 18px; }
.share-modal { width: min(480px, calc(100% - 36px)); }
.share-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.share-option {
  min-height: 56px;
  border: 1px solid #dce4eb;
  border-radius: 16px;
  background: #f8fafc;
  display: grid;
  place-items: center;
  text-decoration: none;
  cursor: pointer;
  font-weight: 800;
}
.share-option.whatsapp { color: #137c50; background: #ecf8f2; }
.share-option.telegram { color: #1878a8; background: #edf7fc; }
.share-option.email { color: #384e7a; }
.share-option.copy { color: #5a466f; }
.toast {
  position: fixed;
  z-index: 130;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  background: #102c4f;
  color: #fff;
  padding: 12px 20px;
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  font-weight: 700;
}
body.modal-open { overflow: hidden; }

button:focus-visible, a:focus-visible { outline: 3px solid rgba(26,120,200,.35); outline-offset: 3px; }

@media (max-width: 1120px) {
  .header-inner { width: min(100% - 40px, 1100px); }
  .brand-copy strong { font-size: 29px; }
  .brand-mark { width: 78px; height: 78px; }
  .main-nav { gap: 20px; }
  .nav-link { font-size: 18px; }
  .pillars-inner { gap: 22px; width: calc(100% - 40px); }
  .pillar p { white-space: normal; }
  .footer-inner { width: calc(100% - 52px); gap: 32px; }
}

@media (max-width: 860px) {
  .hero { min-height: 700px; background-position: center center; }
  .header-inner { min-height: 82px; width: calc(100% - 28px); justify-content: space-between; gap: 18px; }
  .brand-mark { width: 70px; height: 70px; }
  .brand-copy strong { font-size: 27px; }
  .brand-copy small { font-size: 12px; }
  .main-nav { display: none; }
  .mobile-menu-btn {
    width: 46px;
    height: 46px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border: 0;
    border-radius: 14px;
    background: rgba(255,255,255,.72);
    cursor: pointer;
    padding: 0 12px;
  }
  .mobile-menu-btn span { display: block; height: 2px; border-radius: 2px; background: var(--navy); }
  .mobile-nav {
    position: absolute;
    z-index: 30;
    top: 87px;
    left: 14px;
    right: 14px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 16px 42px rgba(11,39,65,.2);
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 8px;
  }
  .mobile-nav button { border: 0; border-radius: 12px; background: #f4f7fa; padding: 12px; font-weight: 700; cursor: pointer; }
  .hero-content { padding-top: 38px; padding-bottom: 100px; }
  .quote-card { width: min(680px, calc(100% - 18px)); height: 414px; min-height: 414px; padding: 22px 34px 70px; }
  blockquote { font-size: clamp(28px, 6vw, 39px); }
  .gold-line-left { left: -620px; }
  .gold-line-right { right: -620px; }
  .pillars { min-height: unset; padding: 44px 0; }
  .pillars-inner { grid-template-columns: 1fr 1fr; gap: 36px 18px; }
  .pillar-divider { display: none; }
  .site-footer { padding-top: 22px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; justify-items: center; padding-bottom: 26px; }
  .footer-separator { width: 180px; height: 1px; }
  .footer-brand, .contact-block { justify-self: center; }
  .contact-block { text-align: center; }
  .contact-row { justify-content: center; }
}

@media (max-width: 560px) {
  .hero { min-height: 670px; }
  .site-header { padding-top: 7px; }
  .header-inner { min-height: 74px; gap: 10px; }
  .brand { gap: 7px; }
  .brand-mark { width: 58px; height: 58px; }
  .brand-copy strong { font-size: 23px; }
  .brand-copy small { margin-top: 7px; font-size: 10.5px; }
  .hero-content { padding: 31px 9px 97px; }
  .quote-card { border-radius: 27px; width: calc(100% - 10px); height: 430px; min-height: 430px; padding: 18px 17px 72px; }
  .quote-kicker { height: 38px; padding: 0 17px; font-size: 14px; gap: 8px; }
  .quote-kicker svg { width: 21px; height: 21px; }
  .quote-mark { font-size: 66px; height: 51px; margin-top: 13px; }
  blockquote { min-height: 126px; margin-top: 2px; font-size: var(--quote-size-mobile, 31px); line-height: 1.34; letter-spacing: -.35px; }
  .quote-source-wrap { margin-top: 17px; }
  .next-quote-btn { height: 58px; max-width: calc(100% - 34px); bottom: -24px; font-size: 18px; }
  .quote-actions { top: calc(100% + 39px); gap: 10px; }
  .action-btn { min-width: 104px; height: 48px; border-radius: 15px; font-size: 16px; padding: 0 15px; }
  .pillars { padding: 42px 0 38px; }
  .pillars-inner { width: calc(100% - 22px); gap: 34px 12px; }
  .pillar { gap: 11px; }
  .pillar-icon { width: 61px; height: 61px; }
  .pillar-icon svg { width: 32px; height: 32px; }
  .pillar h2 { font-size: 17px; }
  .pillar p { font-size: 14px; line-height: 1.35; }
  .footer-inner { width: calc(100% - 28px); }
  .footer-brand img { width: 68px; height: 68px; }
  .footer-brand strong { font-size: 25px; }
  .footer-brand span { font-size: 12px; }
  .footer-brand small { font-size: 12px; margin-top: 12px; }
  .contact-row { flex-direction: column; gap: 9px; }
  .modal { padding: 34px 22px 28px; border-radius: 23px; }
  .modal h2 { font-size: 28px; }
  .category-grid { justify-content: stretch; }
  .category-chip { width: 100%; }
  .share-options { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* The supplied logo file contains transparent canvas beneath the symbol.
   Crop that unused lower area visually so the mark stays clean at small sizes. */
.brand-mark,
.footer-brand img,
.modal-icon img {
  clip-path: inset(0 0 22% 0);
  transform: scale(1.24) translateY(-2%);
  transform-origin: center top;
}

/* Desktop fidelity pass - closely matches the supplied mockup while leaving the mobile layout untouched. */
@media (min-width: 861px) {
  .hero {
    height: 642px;
    min-height: 642px;
    background:
      url("assets/hero-bg.jpg") center top / 1536px 642px no-repeat,
      linear-gradient(90deg, #d8e6ed 0%, #f4ead9 50%, #d9e3e7 100%);
  }


  .desktop-edge {
    position: absolute;
    z-index: 0;
    top: 0;
    bottom: 0;
    width: max(0px, calc((100% - 1536px) / 2 + 1px));
    pointer-events: none;
  }
  .desktop-edge-left { left: 0; }
  .desktop-edge-right { right: 0; }

  /* The reference mockup already contains the decorative gold curves. */
  .gold-line { display: none; }

  .hero-overlay {
    z-index: 2;
    background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01) 70%, rgba(8,29,48,.04));
  }

  /* Hide the baked header from the mockup background with a clean sky sample. */
  .desktop-header-cleaner {
    position: absolute;
    z-index: 3;
    top: 0;
    left: calc(50% + 120px);
    width: 650px;
    height: 140px;
    pointer-events: none;
    background: url("assets/header-sky.png") center / 100% 100% no-repeat;
  }

  /* Remove the third ("save") action that existed in the visual mockup. */

  .site-header { z-index: 20; padding-top: 10px; }
  .header-inner {
    width: min(1315px, calc(100% - 80px));
    min-height: 96px;
    gap: 46px;
  }
  .brand-mark { width: 88px; height: 88px; }
  .brand-copy strong { font-size: 31px; }
  .brand-copy small { margin-top: 10px; font-size: 13px; }
  .main-nav { gap: 30px; }
  .nav-link { font-size: 18px; padding: 17px 0; }
  .favorites-icon-btn { width: 40px; height: 40px; }

  .hero-content {
    z-index: 10;
    padding: 24px 20px 86px;
  }
  .quote-card {
    width: 792px;
    height: 398px;
    min-height: 398px;
    padding: 22px 74px 68px;
    border-radius: 36px;
    background: #fff;
    border: 1px solid rgba(16, 33, 74, .05);
    box-shadow: 0 24px 64px rgba(20, 40, 62, .18);
    backdrop-filter: none;
  }
  .quote-kicker { height: 42px; padding: 0 26px; }
  blockquote { max-width: 680px; }
  .next-quote-btn { width: 352px; height: 62px; bottom: -24px; }
  .quote-actions { top: calc(100% + 40px); gap: 14px; }
  .action-btn { min-width: 114px; height: 52px; }

  .pillars { height: 200px; min-height: 200px; }
  .pillars-inner { width: min(1220px, calc(100% - 72px)); }
  .site-footer { min-height: 182px; }
}

@media (min-width: 861px) {
  /* Align the desktop header and footer to the wide composition of the reference. */
  .header-inner {
    width: min(1480px, calc(100% - 44px));
  }

  .footer-inner {
    width: min(1240px, calc(100% - 70px));
    grid-template-columns: 376px 1px 1fr;
    gap: 26px;
  }
  .footer-brand { justify-self: start; }
  .contact-block { justify-self: start; }
}

@media (min-width: 861px) and (max-width: 1536px) {
  .desktop-edge { display: none; }
}

@media (min-width: 1537px) {
  .desktop-edge {
    display: block;
    width: calc((100% - 1536px) / 2 + 40px);
  }
  .desktop-edge-left {
    background: url("assets/edge-left.png") right top / 100% 642px no-repeat;
  }
  .desktop-edge-right {
    background: url("assets/edge-right.png") left top / 100% 642px no-repeat;
  }
}
