* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font:
    16px/1.55 "Plus Jakarta Sans",
    system-ui,
    sans-serif;
  color: #16273b;
  background: #faf8f4;
}
a {
  color: inherit;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #28819b;
  outline-offset: 4px;
}
header,
footer {
  background: #102035;
  color: #fff;
}
.wrap {
  width: min(1180px, 91%);
  margin: auto;
}
.nav,
.foot,
.row,
.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav {
  min-height: 82px;
}
.brand {
  display: inline-flex;
  align-items: center;
  color: white;
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -1px;
}
.brand span,
.hero em {
  color: #e2bd7a;
}
.brand img {
  width: 38px;
  margin-right: 10px;
}
nav,
.actions,
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
nav a:hover,
a:hover {
  text-decoration: underline;
}
.pill,
.btn,
button,
.ghost {
  display: inline-block;
  border-radius: 7px;
  background: #dfb875;
  color: #142337;
  padding: 12px 20px;
  font-weight: 750;
  text-decoration: none;
  border: 0;
  font-size: 15px;
  cursor: pointer;
}
.ghost {
  background: none;
  color: #fff;
  border: 1px solid #7d8d9d;
}
.hero {
  background: #162d47;
  color: white;
  border-bottom: 6px solid #c9a15a;
}
.hero-in {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr;
  align-items: center;
  gap: 8%;
  padding: 78px 0 88px;
}
.eyebrow,
.category,
.print,
.journal-top {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.eyebrow {
  color: #e2bd7a;
}
.ink,
.category {
  color: #715524;
}
h1,
h2,
h3,
.journal a {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.12;
  margin: 0.3em 0 0.5em;
}
.hero h1 {
  font-size: clamp(48px, 6vw, 82px);
  letter-spacing: -0.045em;
}
.intro,
.lead {
  font-size: 19px;
  max-width: 690px;
}
.intro {
  color: #d5dfe8;
}
.actions {
  justify-content: flex-start;
  margin-top: 28px;
}
.journal {
  background: #f3eee1;
  color: #182d43;
  padding: 36px 32px 32px;
  box-shadow: 10px 10px 0 #9a8256;
  transform: rotate(1deg);
  border-left: 8px double #bca980;
}
.journal-top {
  display: flex;
  justify-content: space-between;
}
.rule {
  margin: 17px 0 42px;
  border-top: 2px solid #28415a;
}
.journal h2 {
  font-size: 38px;
}
.journal a {
  font-weight: bold;
  display: inline-block;
  margin-top: 28px;
}
.section,
.inner {
  padding: 62px 0;
}
.inner {
  min-height: 62vh;
}
.row {
  align-items: baseline;
}
.row > h2,
.row h2,
.inner h1 {
  font-size: clamp(32px, 4vw, 52px);
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 20px;
}
.card,
.panel,
details {
  background: #fff;
  border: 1px solid #dbd6cc;
  border-radius: 12px;
  padding: 24px;
}
.card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-top: 4px solid #aa8c51;
}
.card h3 {
  font-size: 28px;
}
.card p,
.panel p,
.lead {
  color: #435366;
}
.end {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #e9e4dc;
  padding-top: 16px;
  margin-top: auto;
  font-size: 14px;
}
.band {
  padding: 44px 0;
  background: #ece5d5;
}
.foot {
  padding: 36px 0;
}
.foot p {
  font-size: 14px;
  color: #c1cedb;
}
.foot nav {
  max-width: 670px;
}
.panel {
  max-width: 780px;
  margin: 22px 0;
}
.panel h2,
h2 {
  font-size: 30px;
}
.back {
  font-size: 14px;
  color: #655126;
}
.reading {
  font-size: 18px;
}
.exercise {
  background: #f3efdf;
  padding: 18px 24px;
  border-left: 4px solid #bf9757;
}
.tags {
  margin: 26px 0;
  gap: 8px;
}
.tags a {
  border: 1px solid #c7bfaf;
  padding: 6px 15px;
  border-radius: 18px;
  text-decoration: none;
}
.tags .on {
  background: #142c44;
  color: white;
}
form {
  max-width: 700px;
  display: grid;
  gap: 15px;
  margin: 20px 0;
}
form button {
  justify-self: start;
}
label {
  display: grid;
  gap: 5px;
  font-weight: 650;
}
input,
textarea,
select {
  width: 100%;
  font: inherit;
  padding: 10px;
  border: 1px solid #a5acac;
  border-radius: 5px;
  background: white;
  color: #13263a;
}
.notice {
  padding: 14px 18px;
  background: #e3f0e9;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 10px;
  background: white;
  color: #13263a;
}
.pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
details {
  margin: 12px 0;
}
summary {
  cursor: pointer;
  font-weight: 700;
}
.small {
  font-size: 14px;
}
button:hover,
.btn:hover {
  background: #eac789;
}
li {
  margin-bottom: 8px;
}
@media (max-width: 780px) {
  .nav,
  .foot,
  .row {
    align-items: start;
    flex-direction: column;
  }
  .nav {
    padding: 14px 0;
    gap: 8px;
  }
  .nav nav {
    gap: 12px;
  }
  .nav nav a {
    font-size: 13px;
  }
  .pill {
    padding: 5px 10px;
  }
  .hero-in,
  .pair {
    grid-template-columns: 1fr;
  }
  .hero-in {
    gap: 38px;
    padding: 42px 0;
  }
  .journal {
    max-width: 460px;
    transform: none;
  }
  .rule {
    margin: 12px 0 18px;
  }
  .journal a {
    margin-top: 4px;
  }
  .section,
  .inner {
    padding: 40px 0;
  }
  .row {
    gap: 5px;
  }
  .row > a {
    margin-bottom: 12px;
  }
  .foot {
    align-items: start;
  }
}

.brand img.brand-logo {
  display: block;
  width: clamp(171px, 18vw, 220px);
  height: auto;
  margin: 0;
}
.logo-download {
  font-size: 13px;
}
.logo-download div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 7px;
}
.library-notes {
  display: grid;
  grid-template-columns: minmax(160px, 0.85fr) minmax(200px, 1.15fr);
  gap: clamp(18px, 3vw, 44px);
  align-items: center;
}
.library-notes img,
.webinar-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.webinar-photo {
  margin: 0 0 24px;
}
.webinar-photo img {
  height: clamp(135px, 26vw, 270px);
  object-fit: cover;
}
@media (max-width: 640px) {
  .library-notes {
    grid-template-columns: 1fr;
  }
  .library-notes img {
    max-height: 190px;
    object-fit: cover;
  }
}
