:root {
  --bg: #f4efe6;
  --ink: #071724;
  --ink-soft: #3d4952;
  --surface: #fffaf3;
  --surface-muted: #efe5d6;
  --gold: #c1914c;
  --gold-dark: #93652a;
  --teal: #0a2636;
  --teal-soft: #15384b;
  --line: rgba(7, 23, 36, 0.12);
  --shadow: 0 18px 48px rgba(7, 23, 36, 0.14);
  --container: min(1120px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #f7f0e8 0%, #eee0cf 100%);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 239, 230, 0.88);
  border-bottom: 1px solid rgba(7, 23, 36, 0.08);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

.brand {
  width: 178px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand img {
  width: 100%;
  height: auto;
}

.header-title {
  display: grid;
  gap: 3px;
}

.header-title strong {
  color: var(--ink);
  font-size: clamp(1.65rem, 2.8vw, 3rem);
  line-height: 1.02;
}

.header-title span {
  color: var(--gold-dark);
  font-size: 1.08rem;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.screen {
  display: none;
}

.screen-active {
  display: block;
}

.toast-stack {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  pointer-events: none;
}

.toast {
  width: min(480px, calc(100vw - 32px));
  padding: 16px 18px;
  border-radius: 18px;
  color: #fffaf3;
  text-align: center;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  box-shadow: 0 14px 34px rgba(7, 23, 36, 0.22);
}

.toast-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast-info,
.toast-warning {
  background: rgba(147, 101, 42, 0.92);
}

.toast-success {
  background: rgba(35, 111, 75, 0.92);
}

.toast-error {
  background: rgba(152, 38, 38, 0.92);
}

.hero {
  padding: 38px 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.58fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.hero-copy,
.copy-card,
.card,
.notice-card,
.step-card {
  background: rgba(255, 250, 243, 0.94);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hero-media img,
.author-image,
.banner-image,
.wide-image {
  width: 100%;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-media img {
  max-height: 620px;
  object-fit: contain;
}

.hero-heading {
  max-width: 960px;
  margin: 0 auto 30px;
  text-align: center;
}

.eyebrow,
.section-label {
  margin: 0 0 16px;
  color: var(--gold-dark);
  font-size: 0.82rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

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

h1,
h2 {
  margin: 0 0 18px;
  color: var(--ink);
  line-height: 1.02;
}

h1 {
  font-size: clamp(1.65rem, 2.8vw, 3rem);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 3rem);
}

h3 {
  margin: 0 0 12px;
}

p {
  line-height: 1.66;
}

.lead {
  color: var(--teal-soft);
  font-size: 1.22rem;
}

.hero-subtitle {
  margin-top: -4px;
  color: var(--gold-dark);
  font-size: 1.08rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.skills-line,
.skills-cloud,
.question-line,
.closing-line {
  color: var(--gold-dark);
  font-weight: 700;
}

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

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

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

.button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.button-small {
  min-height: 42px;
  padding: 0 18px;
  color: var(--teal);
  background: transparent;
  border-color: rgba(7, 23, 36, 0.18);
}

.button-primary {
  background: linear-gradient(135deg, var(--gold), #d2ad6f);
  color: #fffaf3;
}

.button-secondary {
  background: transparent;
  color: var(--teal);
  border-color: rgba(7, 23, 36, 0.18);
}

.section {
  padding: 42px 0;
}

.pdf-flow {
  display: grid;
  gap: 28px;
}

.flow-block {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 30px;
  background: rgba(255, 250, 243, 0.82);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.flow-block h2 {
  text-transform: uppercase;
}

.flow-block h3 {
  margin-top: 24px;
  color: var(--teal);
}

.flow-block p:last-child,
.flow-block ul:last-child {
  margin-bottom: 0;
}

.flow-dark {
  background: linear-gradient(135deg, var(--teal), var(--teal-soft));
  color: #fff7eb;
}

.flow-dark h2 {
  color: #fff7eb;
}

.full-banner-image {
  width: 100%;
  display: block;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.inline-banner-image {
  width: 100%;
  display: block;
  margin: 18px 0 26px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.author-flow {
  max-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 28px;
  align-items: start;
}

.section-dark {
  background: linear-gradient(135deg, var(--teal), var(--teal-soft));
  color: #fff7eb;
}

.section-dark h2,
.section-dark .section-label {
  color: #fff7eb;
}

.section-soft {
  background: rgba(255, 250, 243, 0.34);
}

.intro-grid,
.text-grid,
.movement-grid,
.author-grid {
  display: grid;
  gap: 28px;
}

.intro-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
}

.copy-stack {
  display: grid;
  gap: 4px;
}

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

.copy-card,
.card,
.notice-card,
.step-card {
  padding: 28px;
}

.copy-card-accent {
  background: linear-gradient(180deg, rgba(10, 38, 54, 0.96), rgba(7, 23, 36, 0.96));
  color: #fff7eb;
}

.copy-card-accent h2 {
  color: #fff7eb;
}

.bullet-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  line-height: 1.55;
}

.wide-copy {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px;
  background: rgba(255, 250, 243, 0.74);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.movement-grid {
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  align-items: center;
}

.wide-image {
  aspect-ratio: 1298 / 693;
}

.movement-heading {
  margin-bottom: 20px;
  text-transform: uppercase;
}

.movement-heading p {
  margin: 0 0 4px;
  color: var(--gold-dark);
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-weight: 700;
  line-height: 1.08;
}

.movement-heading h2 {
  margin: 0;
  line-height: 1.02;
}

.banner-image {
  aspect-ratio: 1300 / 732;
}

.narrow-top {
  margin-top: 26px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.step-card {
  box-shadow: none;
}

.step-card span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--gold);
  color: #fffaf3;
  font-weight: 700;
}

.step-card h3 {
  font-size: 1rem;
  line-height: 1.22;
}

.step-card p {
  font-size: 0.95rem;
}

.author-grid {
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  align-items: start;
}

.author-copy {
  padding: 12px 0;
}

.section-final {
  padding-bottom: 72px;
}

.final-call {
  max-width: 860px;
  text-align: center;
}

.footnote {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.form-layout,
.notice-layout {
  max-width: 920px;
  padding: 52px 0 80px;
}

.section-heading {
  text-align: center;
  margin-bottom: 24px;
}

.section-heading h1 {
  font-size: clamp(1.65rem, 2.8vw, 3rem);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.full-width {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink-soft);
}

input,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(7, 23, 36, 0.14);
  border-radius: 14px;
  background: #fffdf8;
  color: var(--ink);
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(193, 145, 76, 0.28);
  border-color: rgba(193, 145, 76, 0.46);
}

.notice-card {
  max-width: 760px;
  margin: 0 auto;
}

.notice-card h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

@media (max-width: 980px) {
  .hero-grid,
  .intro-grid,
  .text-grid,
  .movement-grid,
  .author-grid,
  .author-flow {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .copy-card,
  .card,
  .notice-card,
  .wide-copy {
    padding: 22px;
    border-radius: 20px;
  }

  .hero {
    padding-top: 28px;
  }

  .form-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
