:root {
  --bone: #f5f5f7;
  --charcoal: #121212;
  --amber: #f59e0b;
  --slate: #64748b;
  --paper: rgba(245, 245, 247, 0.94);
  --muted: rgba(245, 245, 247, 0.72);
  --rule: rgba(245, 245, 247, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 16%, rgba(245, 158, 11, 0.18), transparent 28rem),
    linear-gradient(145deg, #090909 0%, var(--charcoal) 58%, #1a1a1a 100%);
  color: var(--bone);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(18, 18, 18, 0.14);
  background: var(--bone);
}

.header-brand {
  width: min(1180px, calc(100% - 36px));
  min-height: 78px;
  display: flex;
  align-items: center;
  margin: 0 auto;
}

.header-brand img {
  width: 148px;
  height: auto;
}

.dispatch,
.book-feature,
.signup-section,
.site-footer {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.brand-hero {
  min-height: calc(100vh - 73px);
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: clamp(72px, 10vw, 138px) max(18px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.94) 0%, rgba(8, 8, 8, 0.84) 35%, rgba(8, 8, 8, 0.32) 70%),
    url("assets/publisher-hero-laptop.png") center / cover no-repeat;
}

.hero-copy {
  max-width: 680px;
  padding-left: 18px;
}

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

h1,
h2,
blockquote {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.4rem, 7.4vw, 6.8rem);
  font-weight: 700;
  line-height: 0.9;
}

.tagline {
  margin-bottom: 22px;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 3rem);
  line-height: 1.06;
}

.intro {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.5vw, 1.22rem);
  line-height: 1.78;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.dispatch {
  padding: clamp(54px, 8vw, 104px) 0;
  border-top: 1px solid var(--rule);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading h2,
.book-copy h2,
.signup-copy h2 {
  margin-bottom: 0;
  font-size: clamp(2.3rem, 5vw, 5.1rem);
  font-weight: 700;
  line-height: 0.98;
}

.dispatch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--rule);
  background: var(--rule);
}

.dispatch-grid article {
  min-height: 255px;
  padding: 28px 24px;
  background: rgba(245, 245, 247, 0.06);
}

.dispatch-grid span {
  display: block;
  margin-bottom: 48px;
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 950;
}

.dispatch-grid h3 {
  margin-bottom: 14px;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.62rem;
  line-height: 1;
}

.dispatch-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.65;
}

.book-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.44fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  padding: clamp(58px, 9vw, 120px) 0;
  border-top: 1px solid var(--rule);
}

.section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -12px;
}

.book-art {
  width: min(360px, 100%);
  padding: 14px;
  border: 1px solid var(--rule);
  background: rgba(245, 245, 247, 0.08);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
}

.book-art img {
  width: 100%;
  max-height: 620px;
  height: auto;
  object-fit: contain;
}

.book-series {
  margin: 12px 0 26px;
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

blockquote {
  margin: 0 0 28px;
  color: var(--paper);
  font-size: clamp(1.55rem, 3vw, 3rem);
  line-height: 1.08;
}

.book-copy p:not(.eyebrow):not(.book-series) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.78;
}

.signup-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  margin-bottom: clamp(52px, 8vw, 94px);
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--rule);
  background: rgba(245, 245, 247, 0.08);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
}

.signup-copy p:not(.eyebrow) {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.signup-form label {
  display: block;
  margin-bottom: 12px;
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

input,
button {
  min-height: 56px;
  border: 0;
  border-radius: 0;
  font: inherit;
}

input {
  width: 100%;
  padding: 0 18px;
  background: var(--bone);
  color: var(--charcoal);
  outline: none;
}

input:focus {
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.46);
}

button {
  padding: 0 22px;
  background: var(--amber);
  color: var(--charcoal);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

button:hover,
button:focus-visible {
  background: #ffb12b;
}

button:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-message {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--paper);
  font-size: 0.95rem;
  font-weight: 800;
}

.form-message.success {
  color: #34d399;
}

.form-message.error {
  color: #f87171;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  padding: 24px 0 36px;
  border-top: 1px solid var(--rule);
  color: rgba(245, 245, 247, 0.5);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .signup-section {
    grid-template-columns: 1fr;
  }

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

  .book-art {
    max-width: 460px;
  }
}

@media (max-width: 760px) {
  .book-feature {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .header-brand {
    min-height: 70px;
  }

  .header-brand img {
    width: 134px;
  }

  h1 {
    font-size: clamp(3.35rem, 17vw, 5rem);
  }

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

  .dispatch-grid article {
    min-height: auto;
  }

  .dispatch-grid span {
    margin-bottom: 30px;
  }

  button {
    width: 100%;
  }
}
