:root {
  color-scheme: light;
  --navy-950: #061426;
  --navy-900: #081a31;
  --navy-850: #0b213d;
  --navy-800: #0e2c50;
  --blue-500: #58a6d6;
  --blue-300: #98c9e6;
  --ivory-50: #fbf8f1;
  --ivory-100: #f5f0e6;
  --ivory-200: #e9e1d3;
  --gold-500: #d2ae5c;
  --gold-600: #b58d39;
  --gold-700: #745617;
  --focus-ink: #174f73;
  --focus-halo: #fffdf8;
  --slate-300: #b8c3cf;
  --slate-400: #9ca9b8;
  --slate-600: #647284;
  --charcoal-800: #263342;
  --charcoal-900: #172234;
  --white: #ffffff;
  --line-dark: rgba(245, 240, 230, 0.16);
  --line-light: rgba(8, 26, 49, 0.14);
  --shadow-sm: 0 12px 32px rgba(6, 20, 38, 0.09);
  --shadow-lg: 0 30px 80px rgba(2, 11, 22, 0.28);
  --radius-sm: 0.75rem;
  --radius-md: 1.1rem;
  --radius-lg: 1.6rem;
  --content: 75rem;
  --content-narrow: 48rem;
  --header-height: 5rem;
  --font-display: Georgia, "Times New Roman", serif;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --step--1: clamp(0.82rem, 0.8rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.18vw, 1.1rem);
  --step-1: clamp(1.18rem, 1.08rem + 0.38vw, 1.42rem);
  --step-2: clamp(1.5rem, 1.29rem + 0.76vw, 2rem);
  --step-3: clamp(2rem, 1.64rem + 1.2vw, 2.8rem);
  --step-4: clamp(2.55rem, 1.96rem + 2vw, 4.1rem);
  --step-5: clamp(3.15rem, 2.18rem + 3.4vw, 5.8rem);
}

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

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

body {
  margin: 0;
  min-width: 0;
  background: var(--ivory-50);
  color: var(--charcoal-900);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

main {
  overflow: clip;
}

h1,
h2,
h3,
p,
ul,
ol,
blockquote,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: inherit;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
}

h2 {
  font-size: var(--step-3);
}

h3 {
  font-size: var(--step-1);
}

p,
li {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 0.08em;
}

a:hover {
  text-decoration-color: var(--gold-500);
}

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

picture {
  display: block;
}

[hidden] {
  display: none !important;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
[type="button"],
[type="submit"] {
  cursor: pointer;
}

:focus-visible {
  outline: 0.2rem solid var(--focus-ink);
  outline-offset: 0.14rem;
  box-shadow: 0 0 0 0.38rem var(--focus-halo);
}

::selection {
  background: var(--gold-500);
  color: var(--navy-950);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 999;
  padding: 0.7rem 1rem;
  border-radius: 0.45rem;
  background: var(--ivory-50);
  color: var(--navy-950);
  font-weight: 750;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container,
.container-narrow {
  width: min(100% - 2.5rem, var(--content));
  margin-inline: auto;
}

.container-narrow {
  max-width: var(--content-narrow);
}

.site-header {
  position: relative;
  z-index: 50;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--line-dark);
  background: var(--navy-950);
  color: var(--ivory-50);
}

.nav-shell {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 0.08rem;
  color: var(--ivory-50);
  line-height: 1.15;
  text-decoration: none;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.27rem;
  font-weight: 650;
  letter-spacing: -0.018em;
}

.brand-framework {
  color: var(--gold-500);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.75rem, 1.3vw, 1.35rem);
}

.primary-nav a {
  position: relative;
  color: var(--slate-300);
  font-size: 0.89rem;
  font-weight: 680;
  text-decoration: none;
  white-space: nowrap;
}

.primary-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -0.4rem;
  left: 0;
  height: 1px;
  background: var(--gold-500);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

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

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.primary-nav .nav-cta {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  border: 1px solid var(--gold-500);
  border-radius: 999px;
  color: var(--ivory-50);
}

.primary-nav .nav-cta:hover {
  background: var(--gold-500);
  color: var(--navy-950);
}

.nav-toggle {
  display: none;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: transparent;
  color: var(--ivory-50);
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin-inline: auto;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle-lines::before {
  transform: translateY(-0.37rem);
}

.nav-toggle-lines::after {
  transform: translateY(0.25rem);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before {
  transform: translateY(0.12rem) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after {
  transform: translateY(0) rotate(-45deg);
}

.page-main {
  min-height: 58vh;
}

.hero,
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy-950);
  color: var(--ivory-50);
}

.hero::before,
.page-hero::before {
  position: absolute;
  z-index: -1;
  width: 48rem;
  height: 48rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(55, 133, 184, 0.22), rgba(8, 26, 49, 0) 68%);
  content: "";
  pointer-events: none;
}

.hero::before {
  right: -14rem;
  bottom: -19rem;
}

.page-hero::before {
  top: -28rem;
  left: -18rem;
}

.hero-grid {
  display: grid;
  min-height: min(49rem, calc(100vh - var(--header-height)));
  align-items: center;
  gap: clamp(3rem, 6vw, 6rem);
  grid-template-columns: minmax(0, 1.18fr) minmax(18rem, 0.82fr);
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.hero-copy {
  max-width: 46rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  margin-bottom: 1.15rem;
  color: var(--gold-500);
  font-size: var(--step--1);
  font-weight: 820;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2.25rem;
  height: 1px;
  background: currentColor;
  content: "";
}

.display-title,
.page-title {
  margin-bottom: 1.35rem;
  font-size: var(--step-5);
}

.page-title {
  max-width: 54rem;
  font-size: var(--step-4);
}

.hero .display-title em,
.page-hero .page-title em {
  color: var(--gold-500);
  font-style: normal;
}

.hero-lede,
.page-lede {
  max-width: 44rem;
  margin-bottom: 0;
  color: var(--slate-300);
  font-size: var(--step-1);
  line-height: 1.58;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 780;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--gold-500);
  color: var(--navy-950);
}

.button-primary:hover {
  background: #dfbd6c;
}

.button-secondary {
  border-color: rgba(245, 240, 230, 0.36);
  background: rgba(245, 240, 230, 0.04);
  color: var(--ivory-50);
}

.button-secondary:hover {
  border-color: var(--gold-500);
  background: rgba(210, 174, 92, 0.08);
}

.button-dark {
  background: var(--navy-900);
  color: var(--ivory-50);
}

.button-dark:hover {
  background: var(--navy-800);
}

.button-ghost {
  border-color: var(--line-light);
  color: var(--navy-900);
}

.button-ghost:hover {
  border-color: var(--gold-600);
}

.button[aria-disabled="true"] {
  cursor: default;
  opacity: 0.62;
  pointer-events: none;
}

.trust-line,
.meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
  margin-top: 1.4rem;
  color: var(--slate-400);
  font-size: 0.87rem;
}

.trust-line span + span::before,
.meta-line span + span::before {
  margin-right: 0.85rem;
  color: var(--gold-500);
  content: "\00b7";
}

.hero-media {
  position: relative;
}

.hero-media::before {
  position: absolute;
  inset: 14% 10% -2%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(83, 157, 201, 0.12);
  filter: blur(2.2rem);
  content: "";
}

.hero-book-frame {
  overflow: hidden;
  border: 1px solid rgba(245, 240, 230, 0.18);
  border-radius: var(--radius-lg);
  background: var(--navy-900);
  box-shadow: var(--shadow-lg);
  transform: rotate(1deg);
}

.hero-book-frame img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
}

.hero-book-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  color: var(--slate-300);
  font-size: 0.8rem;
}

.hero-book-caption strong {
  color: var(--ivory-50);
}

.page-hero .container,
.page-hero .container-narrow {
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.4rem;
  color: var(--slate-400);
  font-size: 0.82rem;
}

.breadcrumbs a {
  color: var(--slate-300);
}

.breadcrumbs span + span::before {
  margin-right: 0.45rem;
  color: var(--slate-600);
  content: "/";
}

.section {
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
}

.section-dark {
  background: var(--navy-900);
  color: var(--ivory-50);
}

.section-deep {
  background: var(--navy-950);
  color: var(--ivory-50);
}

.section-soft {
  background: var(--ivory-100);
}

.section-head {
  display: grid;
  align-items: end;
  gap: 1.5rem 3rem;
  grid-template-columns: minmax(0, 0.85fr) minmax(18rem, 0.65fr);
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-head > * {
  margin-bottom: 0;
}

.section-kicker {
  margin-bottom: 0.85rem;
  color: var(--gold-700);
  font-size: var(--step--1);
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-dark .section-kicker,
.section-deep .section-kicker {
  color: var(--gold-500);
}

.section-intro,
.muted {
  color: var(--slate-600);
}

.section-dark .section-intro,
.section-deep .section-intro,
.section-dark .muted,
.section-deep .muted {
  color: var(--slate-300);
}

.pattern-grid,
.card-grid,
.topic-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.engagement-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pattern-card,
.card,
.topic-card {
  position: relative;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: var(--shadow-sm);
}

.pattern-card {
  min-height: 9.5rem;
  padding: 1.5rem;
}

.pattern-card::before {
  display: block;
  width: 2.4rem;
  height: 2px;
  margin-bottom: 1.15rem;
  background: var(--gold-600);
  content: "";
}

.pattern-card h3,
.card h3,
.topic-card h3 {
  margin-bottom: 0.65rem;
}

.pattern-card p,
.card p,
.topic-card p {
  margin-bottom: 0;
  color: var(--slate-600);
  font-size: 0.96rem;
}

.card,
.topic-card {
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.section-dark .card,
.section-deep .card,
.section-dark .topic-card,
.section-deep .topic-card {
  border-color: var(--line-dark);
  background: rgba(245, 240, 230, 0.035);
  box-shadow: none;
}

.section-dark .card p,
.section-deep .card p,
.section-dark .topic-card p,
.section-deep .topic-card p {
  color: var(--slate-300);
}

.split {
  display: grid;
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split-top {
  align-items: start;
}

.split-copy > :last-child {
  margin-bottom: 0;
}

.principle-panel,
.quote-panel,
.inset-panel {
  padding: clamp(1.8rem, 4vw, 3.2rem);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: rgba(245, 240, 230, 0.04);
}

.principle-panel blockquote,
.quote-panel blockquote {
  margin-bottom: 1.2rem;
  color: var(--ivory-50);
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.35;
}

.principle-panel cite,
.quote-panel cite {
  color: var(--gold-500);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.clear-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.clear-card {
  min-height: 15rem;
  padding: 1.35rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  background: rgba(245, 240, 230, 0.03);
}

.clear-letter {
  display: block;
  margin-bottom: 2.8rem;
  color: var(--gold-500);
  font-family: var(--font-display);
  font-size: 3.35rem;
  line-height: 1;
}

.clear-card h3 {
  margin-bottom: 0.55rem;
  color: var(--ivory-50);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 820;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.clear-card p {
  margin-bottom: 0;
  color: var(--slate-300);
  font-size: 0.89rem;
  line-height: 1.55;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(2.1rem, 6vw, 5rem);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: var(--navy-900);
  color: var(--ivory-50);
  box-shadow: var(--shadow-lg);
}

.cta-panel::after {
  position: absolute;
  right: -10rem;
  bottom: -12rem;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  background: rgba(75, 145, 188, 0.12);
  content: "";
  pointer-events: none;
}

.cta-panel > * {
  position: relative;
  z-index: 1;
}

.cta-panel h2 {
  max-width: 45rem;
  margin-bottom: 1rem;
}

.cta-panel p {
  max-width: 43rem;
  color: var(--slate-300);
}

.book-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.book-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  grid-template-columns: minmax(9.5rem, 0.48fr) minmax(0, 1fr);
}

.book-card-media {
  display: grid;
  min-height: 28rem;
  place-items: center;
  padding: 2rem;
  background: var(--navy-900);
}

.book-card-media img {
  max-height: 23rem;
  border-radius: 0.2rem;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.38);
}

.book-card-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.7rem, 4vw, 3rem);
}

.book-card-copy .button-row {
  margin-top: 1.2rem;
}

.status-pill {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 1rem;
  padding: 0.32rem 0.65rem;
  border: 1px solid rgba(181, 141, 57, 0.35);
  border-radius: 999px;
  color: #745617;
  font-size: 0.73rem;
  font-weight: 830;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.coming-soon-card {
  background: var(--ivory-100);
}

.coming-soon-art {
  display: grid;
  min-height: 28rem;
  place-items: center;
  padding: 2rem;
  background: var(--navy-850);
  color: var(--gold-500);
}

.coming-soon-art span {
  max-width: 12rem;
  font-family: var(--font-display);
  font-size: var(--step-3);
  line-height: 1.05;
  text-align: center;
}

.resource-feature {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  grid-template-columns: minmax(12rem, 0.6fr) minmax(0, 1fr);
}

.resource-art {
  display: grid;
  min-height: 25rem;
  align-content: center;
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--navy-900);
  color: var(--ivory-50);
}

.resource-art .clear-letter {
  margin-bottom: 1rem;
}

.resource-art p {
  max-width: 18rem;
  margin-bottom: 0;
  color: var(--slate-300);
}

.resource-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.5rem);
}

.resource-copy h2 {
  font-size: var(--step-2);
}

.availability-note {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--gold-600);
  background: var(--ivory-100);
  color: var(--charcoal-800);
  font-size: 0.93rem;
}

.availability-note strong {
  color: var(--navy-900);
}

.signup-layout {
  display: grid;
  align-items: start;
  gap: clamp(2.5rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 0.75fr) minmax(20rem, 0.55fr);
}

.signup-card {
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.signup-card h2 {
  font-family: var(--font-sans);
  font-size: var(--step-1);
  letter-spacing: -0.01em;
}

.form-note {
  margin: 1rem 0 0;
  color: var(--slate-600);
  font-size: 0.82rem;
}

.aweber-shell .af-form,
.aweber-shell .af-body,
.aweber-shell .af-header,
.aweber-shell .af-footer {
  max-width: 100% !important;
  background: transparent !important;
}

.aweber-shell input[type="text"],
.aweber-shell input[type="email"] {
  width: 100% !important;
  min-height: 3rem;
  padding: 0.7rem 0.85rem !important;
  border: 1px solid #a7b0bc !important;
  border-radius: 0.55rem !important;
  background: var(--white) !important;
  color: var(--charcoal-900) !important;
}

.aweber-shell input[type="submit"],
.aweber-shell button[type="submit"] {
  min-height: 3.1rem !important;
  padding: 0.75rem 1.25rem !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--gold-500) !important;
  color: var(--navy-950) !important;
  font-weight: 800 !important;
}

.aweber-shell input:focus-visible,
.aweber-shell button:focus-visible {
  outline: 0.2rem solid var(--focus-ink) !important;
  outline-offset: 0.14rem !important;
  box-shadow: 0 0 0 0.38rem var(--focus-halo) !important;
}

.check-list,
.plain-list,
.link-list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding-left: 1.55rem;
}

.check-list li + li,
.plain-list li + li {
  margin-top: 0.7rem;
}

.check-list li::before {
  position: absolute;
  top: 0.53rem;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  border: 2px solid var(--gold-600);
  border-radius: 50%;
  content: "";
}

.plain-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--gold-600);
  content: "\2014";
}

.prose {
  color: var(--charcoal-800);
}

.prose h2 {
  margin-top: 2.8rem;
  margin-bottom: 0.9rem;
  color: var(--navy-900);
  font-size: var(--step-2);
}

.prose h3 {
  margin-top: 2rem;
  margin-bottom: 0.65rem;
  color: var(--navy-900);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.prose a {
  color: #175f8f;
  font-weight: 650;
}

.prose ul,
.prose ol {
  padding-left: 1.35rem;
}

.prose li + li {
  margin-top: 0.45rem;
}

.disclaimer {
  padding: 1rem 1.2rem;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-sm);
  background: var(--ivory-100);
  color: var(--charcoal-800);
  font-size: 0.9rem;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.contact-band h2,
.contact-band p {
  margin-bottom: 0;
}

.contact-band h2 {
  font-size: var(--step-2);
}

.error-wrap {
  display: grid;
  min-height: calc(100vh - var(--header-height));
  place-items: center;
  padding-block: 5rem;
  background: var(--navy-950);
  color: var(--ivory-50);
  text-align: center;
}

.error-code {
  display: block;
  margin-bottom: 1rem;
  color: var(--gold-500);
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 11rem);
  line-height: 0.78;
}

.error-wrap p {
  max-width: 36rem;
  margin-inline: auto;
  color: var(--slate-300);
}

.site-footer {
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  border-top: 1px solid var(--line-dark);
  background: var(--navy-950);
  color: var(--slate-300);
}

.footer-grid {
  display: grid;
  gap: 2rem 4rem;
  grid-template-columns: minmax(13rem, 1.3fr) repeat(3, minmax(9rem, 0.55fr));
}

.footer-intro {
  max-width: 24rem;
}

.footer-intro p {
  margin-top: 1rem;
  color: var(--slate-400);
  font-size: 0.9rem;
}

.footer-heading {
  margin-bottom: 1rem;
  color: var(--ivory-50);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.link-list {
  margin-top: 0;
}

.link-list li + li {
  margin-top: 0.55rem;
}

.link-list a {
  color: var(--slate-300);
  font-size: 0.89rem;
  text-decoration: none;
}

.link-list a:hover {
  color: var(--ivory-50);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3.5rem;
  padding-block: 1.4rem;
  border-top: 1px solid var(--line-dark);
  color: var(--slate-400);
  font-size: 0.78rem;
}

.footer-bottom p {
  margin-bottom: 0;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.15rem;
}

.inline-links a {
  color: var(--slate-300);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 68rem) {
  .js .nav-toggle {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
  }

  .nav-shell {
    flex-wrap: wrap;
  }

  .primary-nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0;
    padding: 0.75rem 0 1.25rem;
  }

  .js .primary-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    align-content: start;
    overflow-y: auto;
    padding: 1.25rem;
    background: var(--navy-950);
  }

  .js .primary-nav[data-open="true"] {
    display: grid;
  }

  .primary-nav a {
    width: 100%;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line-dark);
    font-size: 1.05rem;
  }

  .primary-nav a:not(.nav-cta)::after {
    display: none;
  }

  .primary-nav .nav-cta {
    width: fit-content;
    margin-top: 1.25rem;
    padding-inline: 1.2rem;
    border-bottom: 1px solid var(--gold-500);
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 52rem;
  }

  .hero-media {
    max-width: 42rem;
  }

  .clear-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .book-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 50rem) {
  .section-head,
  .split,
  .signup-layout,
  .resource-feature {
    grid-template-columns: 1fr;
  }

  .pattern-grid,
  .card-grid,
  .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .clear-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .clear-card {
    min-height: 12rem;
  }

  .clear-letter {
    margin-bottom: 1.8rem;
  }

  .book-card {
    grid-template-columns: 1fr;
  }

  .book-card-media,
  .coming-soon-art {
    min-height: 22rem;
  }

  .contact-band,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 36rem) {
  .container,
  .container-narrow {
    width: min(100% - 1.5rem, var(--content));
  }

  .display-title {
    font-size: clamp(2.55rem, 12.75vw, 3rem);
  }

  .brand-name {
    font-size: 1.12rem;
  }

  .brand-framework {
    font-size: 0.54rem;
  }

  .hero-actions,
  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .pattern-grid,
  .card-grid,
  .topic-grid,
  .clear-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .clear-card {
    min-height: auto;
  }

  .trust-line,
  .meta-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.3rem;
  }

  .trust-line span + span::before,
  .meta-line span + span::before {
    display: none;
  }

  .hero-book-caption {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .button-row,
  .hero-actions {
    display: none !important;
  }

  body,
  .page-hero,
  .section-dark,
  .section-deep {
    background: #fff !important;
    color: #000 !important;
  }

  a {
    color: #000 !important;
  }
}
