:root {
  --ink: #182026;
  --muted: #66717a;
  --line: #d9e0e5;
  --paper: #f7f3ea;
  --white: #ffffff;
  --mist: #eaf1f4;
  --blue: #214f74;
  --blue-dark: #17384f;
  --terracotta: #b45d46;
  --mustard: #d9a63a;
  --green: #456f5a;
  --shadow: 0 24px 60px rgba(24, 32, 38, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247, 243, 234, .94);
  border-bottom: 1px solid rgba(33, 79, 116, .16);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
}

.brand-name {
  font-size: 18px;
}

.nav {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  color: #34424b;
  font-size: 15px;
}

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(33, 79, 116, .12), transparent 42%),
    linear-gradient(180deg, #fbf8f0 0%, var(--paper) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -180px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(180, 93, 70, .14), rgba(180, 93, 70, 0) 68%);
  pointer-events: none;
}

.hero-grid {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .78fr);
  gap: 56px;
  align-items: center;
  padding: 72px 0 76px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--terracotta);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(40px, 6vw, 78px);
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
}

h3 {
  margin: 0;
  line-height: 1.22;
  font-size: 22px;
}

.lead {
  max-width: 660px;
  margin: 24px 0 0;
  color: #46525b;
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn,
.lead-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.btn-primary,
.lead-form button {
  color: var(--white);
  background: var(--blue);
}

.btn-primary:hover,
.lead-form button:hover {
  background: var(--blue-dark);
}

.btn-secondary {
  color: var(--blue-dark);
  background: var(--white);
  border-color: rgba(33, 79, 116, .22);
}

.hero-note {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  position: relative;
  z-index: 1;
  padding: 28px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(33, 79, 116, .16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: contain;
}

.visual-label {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  color: var(--white);
  background: rgba(23, 56, 79, .92);
  border-radius: 8px;
}

.visual-label strong {
  font-size: 20px;
}

.visual-label span {
  font-size: 13px;
  color: rgba(255, 255, 255, .82);
}

.quick-facts {
  background: var(--blue-dark);
  color: var(--white);
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.fact-grid article {
  min-height: 116px;
  padding: 24px;
  border-left: 1px solid rgba(255, 255, 255, .14);
}

.fact-grid article:last-child {
  border-right: 1px solid rgba(255, 255, 255, .14);
}

.fact-grid span {
  display: block;
  color: var(--mustard);
  font-size: 24px;
  font-weight: 800;
}

.fact-grid p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .78);
}

.section {
  padding: 96px 0;
}

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

.about-grid,
.quote-grid,
.legal-grid {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.text-column p,
.quote-grid p,
.legal-grid p {
  margin: 0 0 18px;
  color: #46525b;
  font-size: 18px;
}

.section-head {
  max-width: 780px;
  margin-bottom: 36px;
}

.section-head p:last-child {
  margin: 18px 0 0;
  color: #46525b;
  font-size: 18px;
}

.inside-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.inside-grid article {
  min-height: 370px;
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(33, 79, 116, .14);
  border-radius: 8px;
}

.inside-grid img {
  width: 100%;
  height: 170px;
  margin-bottom: 22px;
  object-fit: contain;
  background: #f7f3ea;
  border-radius: 8px;
}

.inside-grid p,
.reader-list p,
.reader-card p,
.order-grid p,
.plain-list,
.legal-box p,
.footer {
  color: var(--muted);
}

.reader-grid,
.order-grid {
  display: grid;
  grid-template-columns: minmax(300px, .78fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.reader-card {
  position: sticky;
  top: 104px;
  padding: 30px;
  background: var(--white);
  border: 1px solid rgba(33, 79, 116, .14);
  border-radius: 8px;
}

.reader-list {
  display: grid;
  gap: 16px;
}

.reader-list article {
  padding: 28px;
  background: #fbf8f0;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.reader-list span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--green);
  font-weight: 800;
}

.quote-band {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(23, 56, 79, .94), rgba(23, 56, 79, .84)),
    url("../images/page-spread.svg") center / 520px repeat;
}

.quote-band .eyebrow {
  color: var(--mustard);
}

.quote-grid p {
  color: rgba(255, 255, 255, .82);
  font-size: 20px;
}

.order-section {
  background: #fbf8f0;
}

.plain-list {
  padding-left: 20px;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: var(--white);
  border: 1px solid rgba(33, 79, 116, .14);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: #34424b;
  font-weight: 700;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--ink);
  background: #fbf8f0;
  font: inherit;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form .check {
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.lead-form .check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 700;
}

.legal-box {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-box h3 {
  margin-top: 24px;
  font-size: 18px;
}

.legal-box h3:first-child {
  margin-top: 0;
}

.legal-box .small {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.footer {
  padding: 28px 0;
  background: #111a20;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--white);
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 74px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .nav a {
    padding: 13px 12px;
  }

  .hero-grid,
  .about-grid,
  .quote-grid,
  .legal-grid,
  .reader-grid,
  .order-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: 0;
    padding-top: 48px;
  }

  .hero-visual {
    max-width: 520px;
  }

  .fact-grid,
  .inside-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reader-card {
    position: static;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .hero-grid {
    gap: 32px;
    padding-bottom: 48px;
  }

  h1 {
    font-size: 38px;
  }

  .lead {
    font-size: 18px;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .fact-grid,
  .inside-grid {
    grid-template-columns: 1fr;
  }

  .fact-grid article,
  .fact-grid article:last-child {
    border-right: 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
  }

  .section {
    padding: 68px 0;
  }

  .visual-label {
    position: static;
    margin-top: 14px;
    grid-template-columns: 1fr;
  }

  .footer-inner {
    display: grid;
  }
}
