:root {
  --teal: #005852;
  --teal-dark: #004943;
  --ink: #101c1e;
  --muted: #4f5d5b;
  --cream: #fbf8f1;
  --line: #d9dfd9;
  --soft-green: #dce9df;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.45;
}

body.modal-open {
  overflow: hidden;
}

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

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

h1,
h2,
h3,
p {
  margin: 0;
}

figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.page {
  width: 1024px;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  background: #ffffff;
}

.header {
  height: 94px;
  display: grid;
  grid-template-columns: 230px 1fr 195px;
  align-items: start;
  border-bottom: 1px solid #edf0ec;
  background: #ffffff;
}

.header-logo {
  width: 142px;
  height: 92px;
  margin: 1px 0 0 43px;
  object-fit: contain;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  padding-top: 47px;
  color: #111c1d;
  font-size: 11px;
  font-weight: 500;
}

.nav a {
  position: relative;
  white-space: nowrap;
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: var(--teal);
}

.header-cta {
  justify-self: end;
  min-width: 160px;
  height: 33px;
  margin: 35px 53px 0 0;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--teal);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.resources-hero {
  min-height: 408px;
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(251, 248, 241, 0.98), rgba(251, 248, 241, 0.7)),
    #fbf8f1;
}

.hero-copy {
  padding: 58px 30px 58px 62px;
}

.eyebrow,
.section-kicker {
  color: var(--teal);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 430px;
  margin-top: 10px;
  color: #10181b;
  font-size: 51px;
  font-weight: 600;
  line-height: 0.93;
}

.hero-copy h1 em {
  display: block;
  color: var(--teal);
  font-style: italic;
  font-weight: 500;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 400px;
  margin-top: 22px;
  color: #263433;
  font-size: 13px;
  line-height: 1.65;
}

.hero-note {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 25px;
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 800;
}

.hero-note::before {
  content: "";
  width: 31px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--teal);
}

.guide-scene {
  position: relative;
  align-self: stretch;
  min-height: 408px;
}

.guide-sheet {
  position: absolute;
  width: 210px;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 1px solid rgba(0, 73, 67, 0.16);
  border-radius: 5px;
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(25, 54, 51, 0.18);
}

.guide-sheet img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guide-sheet:nth-child(1) {
  z-index: 3;
  top: 49px;
  left: 148px;
  transform: rotate(2deg);
}

.guide-sheet:nth-child(2) {
  z-index: 2;
  top: 68px;
  left: 42px;
  transform: rotate(-8deg);
}

.guide-sheet:nth-child(3) {
  z-index: 1;
  top: 82px;
  right: -2px;
  transform: rotate(9deg);
}

.resource-library {
  padding: 50px 62px 62px;
  background: #ffffff;
}

.library-heading {
  max-width: 620px;
}

.library-heading h2 {
  margin-top: 8px;
  color: #10181b;
  font-size: 35px;
  font-weight: 600;
  line-height: 1;
}

.library-heading p {
  margin-top: 14px;
  color: #40504e;
  font-size: 12px;
  line-height: 1.6;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 18px;
  margin-top: 30px;
}

.resource-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
}

.resource-preview {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream);
}

.resource-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 13%;
  transition: transform 220ms ease;
}

.resource-card:hover .resource-preview img {
  transform: scale(1.025);
}

.resource-type {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 8px;
  border-radius: 4px;
  background: rgba(0, 73, 67, 0.92);
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.resource-content {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  padding: 18px;
}

.resource-content h3 {
  color: #10181b;
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}

.resource-content p {
  margin-top: 10px;
  color: #40504e;
  font-size: 11px;
  line-height: 1.55;
}

.download-button {
  width: 100%;
  min-height: 40px;
  margin-top: auto;
  border: 1px solid var(--teal);
  border-radius: 5px;
  padding: 10px 14px;
  background: var(--teal);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
}

.download-button:hover,
.download-button:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  background: var(--teal-dark);
}

.list-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 30px;
  padding: 20px 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.list-note strong {
  color: var(--teal-dark);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 23px;
  font-weight: 600;
}

.list-note p {
  color: #40504e;
  font-size: 11px;
  line-height: 1.55;
}

.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 34px 62px;
  border-top: 1px solid #e5ded2;
  border-bottom: 1px solid #e5ded2;
  background: #f4eee6;
}

.cta-band h2 {
  color: #10284a;
  font-size: 28px;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
}

.cta-band p {
  margin-top: 8px;
  color: #34413f;
  font-size: 12px;
}

.button-primary {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--teal);
  border-radius: 5px;
  padding: 11px 18px;
  background: var(--teal);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.footer-main {
  height: 114px;
  display: grid;
  grid-template-columns: 296px 181px 268px 279px;
  align-items: start;
  background: #ffffff;
}

.footer-logo {
  width: 154px;
  height: 100px;
  margin: 4px 0 0 76px;
  object-fit: contain;
}

.footer-col {
  height: 74px;
  margin-top: 17px;
  padding-left: 23px;
  border-left: 1px solid #d8ddd8;
}

.footer-col h3 {
  color: #10181b;
  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 2px;
  margin-top: 8px;
  color: #172222;
  font-size: 9.5px;
  line-height: 1.24;
}

.footer-copy {
  width: 184px;
  margin-top: 9px;
  color: #172222;
  font-size: 9.5px;
  line-height: 1.36;
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 11px;
}

.social {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--teal);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
}

.footer-bottom {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 80px;
  background: var(--teal);
  color: #ffffff;
  font-size: 9px;
}

.legal {
  display: flex;
  gap: 14px;
}

.modal-backdrop {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(9, 27, 27, 0.64);
  backdrop-filter: blur(5px);
}

.modal-backdrop[hidden] {
  display: none;
}

.download-modal {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  border-radius: 7px;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
}

.modal-preview {
  min-height: 500px;
  background: var(--cream);
}

.modal-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.modal-panel {
  padding: 38px 38px 32px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid #cad4cf;
  border-radius: 50%;
  background: #ffffff;
  color: var(--teal-dark);
  font-size: 22px;
  line-height: 1;
}

.modal-panel h2 {
  max-width: 390px;
  margin-top: 8px;
  color: #10181b;
  font-size: 34px;
  font-weight: 600;
  line-height: 0.98;
}

.modal-intro {
  margin-top: 13px;
  color: #40504e;
  font-size: 11px;
  line-height: 1.55;
}

.resource-form {
  display: grid;
  gap: 13px;
  margin-top: 21px;
}

.resource-form label {
  display: grid;
  gap: 6px;
  color: #253331;
  font-size: 10px;
  font-weight: 800;
}

.resource-form input[type="text"],
.resource-form input[type="email"] {
  width: 100%;
  min-height: 42px;
  border: 1px solid #cbd5d0;
  border-radius: 5px;
  padding: 10px 11px;
  color: var(--ink);
  background: #ffffff;
  font-size: 13px;
}

.resource-form input:focus {
  border-color: var(--teal);
  outline: 2px solid rgba(0, 88, 82, 0.12);
}

.consent {
  grid-template-columns: 17px 1fr !important;
  gap: 9px !important;
  align-items: start;
  color: #40504e !important;
  font-size: 9.5px !important;
  font-weight: 500 !important;
  line-height: 1.45;
}

.consent input {
  width: 15px;
  height: 15px;
  margin: 1px 0 0;
}

.submit-download {
  min-height: 44px;
  border: 0;
  border-radius: 5px;
  padding: 11px 15px;
  background: var(--teal);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.submit-download:disabled {
  cursor: wait;
  opacity: 0.68;
}

.privacy-note {
  color: #6a7775;
  font-size: 9px;
  line-height: 1.4;
}

.form-status {
  min-height: 18px;
  color: #8a2424;
  font-size: 10px;
  font-weight: 700;
}

.download-success {
  display: grid;
  align-content: center;
  min-height: 390px;
}

.download-success[hidden] {
  display: none;
}

.success-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--soft-green);
  color: var(--teal-dark);
  font-size: 22px;
  font-weight: 800;
}

.download-success h2 {
  margin-top: 17px;
}

.download-success p {
  margin-top: 12px;
  color: #40504e;
  font-size: 11px;
  line-height: 1.55;
}

.download-success a {
  width: fit-content;
  margin-top: 20px;
}

@media (max-width: 760px) {
  .page {
    width: 100%;
  }

  .header,
  .resources-hero,
  .cta-band,
  .footer-main,
  .footer-bottom,
  .download-modal {
    height: auto;
    grid-template-columns: 1fr;
  }

  .header {
    padding: 14px 20px 18px;
  }

  .header-logo,
  .header-cta,
  .footer-logo {
    margin: 0;
  }

  .nav {
    flex-wrap: wrap;
    gap: 17px;
    justify-content: flex-start;
    padding-top: 17px;
  }

  .header-cta {
    justify-self: start;
    margin-top: 17px;
  }

  .hero-copy {
    padding: 40px 24px 22px;
  }

  .hero-copy h1 {
    font-size: 43px;
  }

  .guide-scene {
    overflow: hidden;
    min-height: 330px;
  }

  .guide-sheet {
    width: min(37vw, 146px);
  }

  .guide-sheet:nth-child(1) {
    top: 18px;
    left: 50%;
    transform: translateX(-50%) rotate(2deg);
  }

  .guide-sheet:nth-child(2) {
    top: 38px;
    left: 22px;
  }

  .guide-sheet:nth-child(3) {
    top: 45px;
    right: 22px;
  }

  .resource-library {
    padding: 40px 24px 46px;
  }

  .resource-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .resource-content {
    min-height: 180px;
  }

  .list-note,
  .cta-band {
    grid-template-columns: 1fr;
    padding: 25px 24px;
  }

  .footer-main {
    padding: 28px 24px;
    gap: 20px;
  }

  .footer-col {
    height: auto;
    margin-top: 0;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 24px;
  }

  .download-modal {
    max-height: calc(100vh - 24px);
  }

  .modal-preview {
    display: none;
  }

  .modal-panel {
    padding: 38px 23px 26px;
  }

  .modal-panel h2 {
    padding-right: 26px;
    font-size: 31px;
  }
}

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