:root {
  color-scheme: light;
  --paper: #f7f8f4;
  --surface: #ffffff;
  --ink: #17201c;
  --muted: #5d6862;
  --line: #dfe5dc;
  --green: #1f6b5f;
  --green-dark: #15483f;
  --coral: #c45f42;
  --gold: #b58b2f;
  --shadow: 0 24px 70px rgba(23, 32, 28, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 750;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 40px;
  height: 40px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 14px;
  text-decoration: none;
}

.nav a:focus-visible,
.nav a:hover {
  background: var(--surface);
  color: var(--green-dark);
  outline: none;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 5vw, 72px);
  min-height: 70vh;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(56px, 9vw, 112px) 0 clamp(38px, 6vw, 74px);
}

.intro-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.eyebrow {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

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

h1 {
  font-size: 5.55rem;
  letter-spacing: 0;
  line-height: 1.08;
  margin-bottom: 30px;
  max-width: 820px;
  overflow-wrap: break-word;
}

.lede {
  color: var(--muted);
  font-size: 1.26rem;
  margin-bottom: 32px;
  max-width: 680px;
}

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-disclosure {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-top: 14px;
  max-width: 640px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 12px 19px;
  text-align: center;
  text-decoration: none;
  white-space: normal;
}

.button.primary {
  background: var(--green);
  color: #ffffff;
}

.button.primary:focus-visible,
.button.primary:hover {
  background: var(--green-dark);
  outline: none;
}

.button.secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.button.secondary:focus-visible,
.button.secondary:hover {
  border-color: var(--green);
  color: var(--green-dark);
  outline: none;
}

.portfolio-visual {
  align-self: center;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.78) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78) 1px, transparent 1px),
    #dce8dd;
  background-size: 34px 34px;
  border: 1px solid rgba(23, 32, 28, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.portfolio-map {
  display: block;
  height: auto;
  width: 100%;
}

.map-toolbar {
  fill: #f9fbf7;
}

.map-topline {
  stroke: var(--green);
  stroke-linecap: round;
  stroke-width: 10;
}

.map-links line {
  stroke: rgba(23, 32, 28, 0.24);
  stroke-linecap: round;
  stroke-width: 4;
}

.map-node {
  filter: drop-shadow(0 14px 18px rgba(23, 32, 28, 0.14));
}

.node-ring {
  fill: #ffffff;
}

.publishing-node {
  fill: var(--green);
}

.software-node {
  fill: var(--coral);
}

.media-node {
  fill: var(--gold);
}

.map-label {
  fill: var(--green-dark);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0;
  text-anchor: middle;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.brand-section,
.contact-section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(44px, 7vw, 80px) 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
}

h2 {
  font-size: 3.2rem;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 0;
  max-width: 680px;
  overflow-wrap: break-word;
}

.brand-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.brand-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-height: 274px;
  padding: 26px;
}

.card-mark {
  align-items: center;
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  font-size: 0.85rem;
  font-weight: 900;
  height: 46px;
  justify-content: center;
  margin-bottom: 24px;
  width: 46px;
}

.promptstage-mark {
  background: var(--green);
}

.stack-mark {
  background: var(--coral);
}

.press-mark {
  background: var(--gold);
}

.brand-card h3 {
  font-size: 1.3rem;
  letter-spacing: 0;
  margin-bottom: 10px;
}

.brand-card p {
  color: var(--muted);
  margin-bottom: 24px;
}

.brand-card a {
  color: var(--green-dark);
  font-weight: 800;
  margin-top: auto;
  text-decoration-color: rgba(31, 107, 95, 0.28);
  text-underline-offset: 4px;
}

.page-hero,
.content-section,
.signup-section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 5vw, 68px);
  padding: clamp(48px, 8vw, 96px) 0 clamp(34px, 6vw, 72px);
}

.page-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.page-hero h1 {
  font-size: clamp(3.1rem, 7vw, 5rem);
  overflow-wrap: anywhere;
}

.kit-hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.7rem);
  max-width: 920px;
}

.keep-together {
  white-space: nowrap;
}

.press-visual,
.kit-preview {
  align-self: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-height: 360px;
  min-width: 0;
  overflow: hidden;
}

.press-visual {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
}

.book-stack {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.book-stack span {
  border-radius: 8px;
  display: block;
  height: 74px;
  max-width: 100%;
}

.book-stack span:nth-child(1) {
  background: var(--green);
  margin-right: 44px;
  width: calc(100% - 44px);
}

.book-stack span:nth-child(2) {
  background: var(--coral);
  margin-left: 34px;
  width: calc(100% - 34px);
}

.book-stack span:nth-child(3) {
  background: var(--gold);
  margin-right: 16px;
  width: calc(100% - 16px);
}

.press-visual p {
  color: var(--green-dark);
  font-size: 1.2rem;
  font-weight: 850;
  margin: 28px 0 0;
}

.content-section {
  padding: clamp(38px, 6vw, 70px) 0;
}

.compact-heading {
  align-items: flex-start;
  flex-direction: column;
  gap: 0;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

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

.resource-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-height: 248px;
  padding: 24px;
}

.card-kicker {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 850;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.resource-card h3 {
  font-size: 1.28rem;
  margin-bottom: 10px;
}

.resource-card p:not(.card-kicker) {
  color: var(--muted);
}

.resource-card a,
.tool-strip a {
  color: var(--green-dark);
  font-weight: 850;
  margin-top: auto;
  text-decoration-color: rgba(31, 107, 95, 0.28);
  text-underline-offset: 4px;
}

.tool-strip a {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  padding: 24px;
  text-decoration: none;
}

.tool-strip span {
  font-size: 1.2rem;
  font-weight: 850;
}

.tool-strip strong {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 650;
  max-width: 560px;
}

.kit-preview {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(31, 107, 95, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(31, 107, 95, 0.08) 1px, transparent 1px),
    #fdfefb;
  background-size: 30px 30px;
  display: flex;
  justify-content: center;
  padding: 34px;
}

.kit-preview-page {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(23, 32, 28, 0.12);
  display: grid;
  gap: 14px;
  max-width: 260px;
  min-height: 300px;
  padding: 26px;
  width: 100%;
}

.kit-preview-page p {
  color: var(--green-dark);
  font-size: 1.22rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.kit-preview-page span {
  background: #eef3ec;
  border-left: 6px solid var(--green);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 800;
  padding: 12px 14px;
}

.kit-preview-page span:nth-child(3) {
  border-left-color: var(--coral);
}

.kit-preview-page span:nth-child(4) {
  border-left-color: var(--gold);
}

.kit-layout {
  align-items: start;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(24px, 5vw, 56px);
}

.section-copy {
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 0;
  max-width: 720px;
}

h2 + .section-copy {
  margin-top: 18px;
}

.check-list {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  list-style: none;
  margin: 0;
  padding: 18px;
}

.check-list li {
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  display: grid;
  font-size: 1.08rem;
  font-weight: 760;
  gap: 10px;
  grid-template-columns: 20px minmax(0, 1fr);
  padding: 15px 12px;
}

.check-list li::before {
  color: var(--green);
  content: "\2713";
  font-weight: 950;
}

.check-list li:last-child {
  border-bottom: 0;
}

.signup-section {
  align-items: stretch;
  display: grid;
  gap: clamp(24px, 5vw, 56px);
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  padding: clamp(38px, 6vw, 74px) 0;
}

.signup-copy {
  align-self: center;
}

.signup-copy h2 {
  margin-bottom: 18px;
}

.signup-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 0;
}

.bookfunnel-shell {
  align-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 16px;
  min-height: 220px;
  padding: 22px;
}

.bookfunnel-shell .button {
  justify-self: start;
}

.disabled-button {
  cursor: not-allowed;
}

.amazon-section {
  align-items: start;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.amazon-section .section-copy {
  margin-top: clamp(28px, 3vw, 42px);
}

.contact-section {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 28px;
  justify-content: space-between;
}

.email-link {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green-dark);
  display: inline-flex;
  font-size: 1.2rem;
  font-weight: 850;
  padding: 18px 20px;
  text-decoration: none;
}

.email-link:focus-visible,
.email-link:hover {
  border-color: var(--green);
  outline: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 32px;
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .intro {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 38px;
  }

  h1 {
    font-size: 4.2rem;
    line-height: 1.08;
  }

  h2 {
    font-size: 2.5rem;
  }

  .lede {
    font-size: 1.16rem;
  }

  .brand-list {
    grid-template-columns: 1fr;
  }

  .page-hero,
  .kit-layout,
  .signup-section,
  .amazon-section {
    grid-template-columns: 1fr;
  }

  .amazon-section .section-copy {
    margin-top: 0;
  }

  .press-visual,
  .kit-preview {
    min-height: 300px;
  }

  .resource-grid,
  .two-column-grid {
    grid-template-columns: 1fr;
  }

  .tool-strip a {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading,
  .contact-section,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-header,
  .intro,
  .page-hero,
  .content-section,
  .signup-section,
  .brand-section,
  .contact-section,
  .site-footer {
    width: min(1120px, calc(100% - 24px));
  }

  .brand span {
    font-size: 0.88rem;
  }

  .nav a {
    padding: 9px 11px;
  }

  h1 {
    font-size: 2.88rem;
    line-height: 1.1;
  }

  .page-hero h1,
  .kit-hero h1 {
    font-size: 2.05rem;
    line-height: 1.1;
  }

  .page-hero-copy,
  .intro-actions,
  .press-visual,
  .kit-preview,
  .kit-hero .lede {
    max-width: 360px;
  }

  h2 {
    font-size: 2.08rem;
  }

  .intro-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .intro-actions .button {
    width: 100%;
  }

  .lede {
    font-size: 1.06rem;
  }

  .email-link {
    font-size: 1rem;
  }

  .email-link {
    width: 100%;
    word-break: break-word;
  }

  .resource-card,
  .tool-strip a,
  .bookfunnel-shell {
    padding: 18px;
  }
}
