:root {
  color-scheme: light;
  --navy: #061b3b;
  --ink: #12233d;
  --muted: #56667a;
  --teal: #00a9b3;
  --teal-dark: #008490;
  --orange: #ff6a00;
  --orange-dark: #dc5200;
  --yellow: #ffc947;
  --purple: #8658d3;
  --green: #68b82e;
  --line: #e5edf1;
  --paper: #fffaf4;
  --surface: #ffffff;
  --shadow: 0 20px 45px rgba(6, 27, 59, 0.14);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 10px clamp(20px, 5vw, 76px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 136px;
  height: 80px;
  object-fit: cover;
  object-position: 50% 34%;
  border-radius: 8px;
}

.footer-brand img {
  width: 156px;
  height: 92px;
  object-fit: cover;
  object-position: 50% 34%;
  border-radius: 8px;
}

.site-nav,
.header-actions {
  display: flex;
  align-items: center;
}

.site-nav {
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 900;
}

.site-nav a {
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a[aria-current="page"],
.site-footer a[aria-current="page"] {
  color: var(--orange);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--orange);
}

.header-actions {
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

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

.button.primary,
.header-button {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 12px 24px rgba(255, 106, 0, 0.24);
}

.button.primary:hover,
.button.primary:focus-visible,
.header-button:hover,
.header-button:focus-visible {
  background: var(--orange-dark);
}

.button.secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--navy);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
  box-shadow: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.88fr) minmax(420px, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  min-height: calc(100svh - 102px);
  padding: clamp(20px, 3vw, 34px) clamp(20px, 6vw, 88px) 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 75%, rgba(255, 106, 0, 0.12), transparent 32%),
    radial-gradient(circle at 82% 35%, rgba(0, 169, 179, 0.14), transparent 34%),
    #fff;
}

.hero::before {
  position: absolute;
  right: -10%;
  bottom: -44%;
  width: min(62vw, 780px);
  aspect-ratio: 1;
  content: "";
  background: #fff2df;
  border-radius: 50%;
}

.hero-copy-wrap,
.hero-scene {
  position: relative;
  z-index: 1;
}

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

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

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--navy);
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.8rem, 4.75vw, 4.7rem);
  line-height: 0.98;
}

h1 span {
  display: block;
  color: var(--orange);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3.1rem);
  line-height: 1.05;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.15;
}

h4 {
  font-size: 1.05rem;
  line-height: 1.2;
}

main > section {
  scroll-margin-top: 104px;
}

.hero-copy {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
}

.mini-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
}

.mini-steps span {
  display: inline-grid;
  min-width: 94px;
  justify-items: center;
  gap: 7px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
}

.mini-steps i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--teal);
  font-style: normal;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.rating-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
}

.rating-row span,
.review-card span {
  color: #ffbd00;
  font-weight: 900;
}

.rating-row p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.hero-scene {
  align-self: center;
}

.hero-scene img {
  width: min(100%, 710px);
  margin-inline: auto;
  filter: drop-shadow(0 22px 28px rgba(6, 27, 59, 0.13));
}

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

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.steps-section,
.converter-section,
.create-flow-section,
.books-section,
.books-hero,
.monsters-hero,
.monster-gallery-section,
.catalog-section,
.book-formats-section,
.about-section,
.pricing-section,
.reviews-section,
.faq-section,
.cta-section,
.book-page-cta {
  padding: clamp(48px, 7vw, 92px) clamp(20px, 6vw, 88px);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(20px, 6vw, 88px);
  background: var(--line);
  border-block: 1px solid var(--line);
}

.proof-strip span {
  display: grid;
  min-height: 78px;
  align-content: center;
  gap: 2px;
  padding: 12px 18px;
  background: #fff;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.proof-strip strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.converter-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.66fr) minmax(520px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  background:
    radial-gradient(circle at 16% 18%, rgba(0, 169, 179, 0.13), transparent 30%),
    #f7fcfd;
  border-top: 1px solid var(--line);
}

.converter-copy p:not(.eyebrow) {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.create-flow-section {
  display: grid;
  gap: clamp(22px, 4vw, 36px);
  min-height: calc(100svh - 102px);
  align-content: start;
  padding-top: clamp(28px, 4vw, 52px);
  padding-bottom: clamp(42px, 6vw, 72px);
  background:
    radial-gradient(circle at 14% 14%, rgba(0, 169, 179, 0.12), transparent 28%),
    #f7fcfd;
  border-top: 1px solid var(--line);
}

.create-flow-header {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 0.62fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: end;
  max-width: 1180px;
  width: 100%;
  margin-inline: auto;
}

.create-flow-copy {
  max-width: 620px;
}

.create-flow-copy h1 {
  max-width: 13ch;
  font-size: clamp(2.35rem, 3.5vw, 3.55rem);
  line-height: 1.02;
}

.create-flow-copy p:not(.eyebrow) {
  max-width: 44rem;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
}

.create-flow-meta {
  display: grid;
  justify-items: end;
}

.create-flow-meta .free-includes {
  margin-top: 0;
}

.create-flow-meta .converter-flow {
  width: 100%;
}

.free-includes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.free-includes span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid #caedf0;
  border-radius: 8px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 900;
}

.free-includes strong {
  color: var(--teal-dark);
  font-size: 1rem;
}

.converter-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-width: 460px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.converter-flow li {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.converter-flow i {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  background: #edf8f9;
  border-radius: 50%;
  color: var(--teal-dark);
  font-style: normal;
}

.converter-flow li.is-active,
.converter-flow li.is-complete {
  border-color: #9bdce2;
  color: var(--navy);
}

.converter-flow li.is-complete i {
  background: var(--teal);
  color: #fff;
}

.converter-tool {
  display: grid;
  grid-template-columns: minmax(230px, 0.88fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: stretch;
}

.create-flow-section .converter-tool {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  grid-template-columns: minmax(320px, 0.72fr) minmax(420px, 1fr);
}

.upload-panel,
.result-panel {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: clamp(18px, 2vw, 22px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(6, 27, 59, 0.09);
}

.upload-drop {
  display: grid;
  min-height: 126px;
  align-content: center;
  gap: 4px;
  padding: 18px;
  background: #f8fdfe;
  border: 2px dashed #a6dce1;
  border-radius: 8px;
  color: var(--navy);
  cursor: pointer;
  transition:
    background 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease;
}

.upload-drop.is-dragging {
  background: #eafafa;
  border-color: var(--teal);
  box-shadow: 0 12px 26px rgba(0, 169, 179, 0.16);
  transform: translateY(-1px);
}

.upload-drop span,
.result-label {
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.upload-drop strong {
  display: block;
  max-width: 100%;
  overflow: hidden;
  font-size: 1.08rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-drop small {
  color: var(--muted);
  font-weight: 800;
}

.upload-tips,
.converter-error,
.upload-action-status,
.interest-form p {
  margin: 0;
  font-size: 0.9rem;
}

.upload-tips {
  display: grid;
  gap: 7px;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.upload-tips li {
  position: relative;
  padding-left: 18px;
}

.upload-tips li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--teal);
  border-radius: 50%;
  transform: translateY(-50%);
}

.privacy-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.upload-action-status {
  color: var(--navy);
  font-weight: 900;
  text-align: center;
}

.converter-error {
  padding: 10px 12px;
  background: #fff3ed;
  border: 1px solid #ffd5c2;
  border-radius: 8px;
  color: #9f3100;
  font-weight: 800;
}

.upload-panel:focus-within .upload-drop {
  outline: 3px solid rgba(0, 169, 179, 0.22);
  outline-offset: 3px;
}

#monster-upload {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.converter-preview {
  position: relative;
  display: grid;
  min-height: 210px;
  place-items: center;
  overflow: hidden;
  background: #fff;
}

.monster-preview {
  min-height: clamp(300px, 34vw, 430px);
  border: 1px solid #d9edf0;
  border-radius: 8px;
  background: #f8fdfe;
}

.converter-preview img {
  width: min(330px, 100%);
  max-height: 270px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.monster-preview img {
  width: min(520px, 96%);
  max-height: 390px;
}

.is-example-preview .monster-preview img {
  opacity: 0.78;
}

.preview-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 5px 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.has-generated-preview .preview-badge {
  color: var(--teal-dark);
  border-color: #9bdce2;
}

.result-panel {
  grid-template-rows: auto 1fr;
}

.result-panel:focus {
  outline: 3px solid rgba(0, 169, 179, 0.22);
  outline-offset: 4px;
}

.result-panel h3 {
  margin: 0 0 8px;
}

.result-panel p {
  margin: 0;
  color: var(--muted);
}

.result-content {
  display: grid;
  align-content: start;
  gap: 0;
}

.result-trust-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.result-trust-points span {
  padding: 5px 9px;
  background: #fffaf4;
  border: 1px solid #ffd9bd;
  border-radius: 6px;
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 900;
}

.variation-controls {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 14px;
  background: #f8fdfe;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.upload-panel .variation-controls {
  margin-top: 0;
}

.variation-controls span {
  display: block;
  margin-bottom: 4px;
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.variation-controls p {
  font-size: 0.88rem;
}

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

.style-option {
  min-height: 46px;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.style-option:hover,
.style-option:focus-visible,
.style-option.is-active {
  border-color: var(--teal);
  background: #eafafa;
  color: var(--teal-dark);
}

.preview-history {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.preview-history[hidden] {
  display: none;
}

.preview-choice {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.preview-choice[aria-pressed="true"],
.preview-choice:hover,
.preview-choice:focus-visible {
  border-color: var(--orange);
  box-shadow: 0 8px 18px rgba(255, 106, 0, 0.14);
}

.preview-choice img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.result-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 18px;
}

.result-book-offer {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 16px;
  background: #fffaf4;
  border: 1px solid #ffd9bd;
  border-radius: 8px;
}

.book-offer-header {
  display: grid;
  gap: 6px;
}

.interest-form {
  display: grid;
  gap: 12px;
}

.interest-form[hidden] {
  display: none;
}

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

.interest-form input[type="email"] {
  min-width: 0;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
}

.interest-form input[type="text"] {
  min-width: 0;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
}

.storybook-format-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.storybook-format-choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 76px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.storybook-format-choice.is-featured {
  border-color: #ffd9bd;
}

.storybook-format-choice:has(input:checked),
.storybook-format-choice:hover,
.storybook-format-choice:focus-within {
  border-color: var(--teal);
  background: #eafafa;
}

.storybook-format-choice input {
  width: 16px;
  height: 16px;
  accent-color: var(--teal);
}

.storybook-format-choice span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.storybook-format-choice strong {
  color: var(--navy);
  font-size: 0.9rem;
}

.storybook-format-choice em,
.storybook-price-list em {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  padding: 2px 5px;
  background: #fff0df;
  border-radius: 5px;
  color: var(--orange-dark);
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
  vertical-align: middle;
}

.storybook-format-choice small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.print-proof-points {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  list-style: none;
}

.print-proof-points li {
  position: relative;
  padding-left: 18px;
}

.print-proof-points li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--orange);
  content: "✓";
  font-weight: 900;
}

.feature-permission {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: #fff;
  border: 1px solid #ffd9bd;
  border-radius: 8px;
}

.feature-permission p {
  margin: 4px 0 0;
}

.feature-check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

.feature-check input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--teal);
}

.feature-permission-fields {
  display: grid;
  gap: 10px;
  padding-top: 4px;
}

.feature-permission-fields > label:not(.feature-check) {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.interest-form p {
  color: var(--muted);
}

.converter-button {
  width: 100%;
}

.steps-section {
  background: #fff;
  border-top: 1px solid var(--line);
}

.steps-grid,
.book-grid,
.review-grid,
.faq-grid,
.trust-row {
  display: grid;
  gap: 18px;
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}

.step-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  min-height: 340px;
  padding: 24px;
  background: #fff;
  border-radius: 8px;
}

.step-number {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 14px;
  background: var(--teal);
  color: #fff;
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 900;
}

.step-card p,
.book-card p,
.review-card p,
.faq-grid p,
.about-section p,
.pricing-card p {
  color: var(--muted);
}

.step-art {
  width: 100%;
  height: auto;
  margin-top: 22px;
}

.step-art.image-art {
  position: relative;
  display: grid;
  width: auto;
  max-width: none;
  aspect-ratio: 1.95;
  align-items: center;
  justify-self: stretch;
  overflow: hidden;
}

.step-art img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  mix-blend-mode: multiply;
}

.books-section {
  background: linear-gradient(180deg, #fff 0%, #fffaf4 100%);
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.book-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 30px;
}

.book-card {
  display: grid;
  align-content: start;
  gap: 12px;
  text-align: left;
}

.book-preview {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 28px rgba(6, 27, 59, 0.12);
}

.book-preview img {
  width: 100%;
  aspect-ratio: 1.18;
  object-fit: cover;
}

.book-preview figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 6px;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.book-card h3 {
  margin-top: 2px;
}

.book-card p {
  margin: 8px 0 0;
  color: #fff;
}

.book-card p,
.trust-row span {
  display: inline-flex;
  justify-content: center;
  justify-self: center;
  width: fit-content;
  padding: 4px 10px;
  background: var(--teal);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 900;
}

.books-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(440px, 1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  min-height: calc(100svh - 102px);
  background:
    radial-gradient(circle at 86% 24%, rgba(255, 201, 71, 0.22), transparent 30%),
    radial-gradient(circle at 20% 88%, rgba(0, 169, 179, 0.15), transparent 28%),
    #fff;
}

.monsters-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(460px, 1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  min-height: calc(100svh - 102px);
  background:
    radial-gradient(circle at 82% 22%, rgba(255, 106, 0, 0.13), transparent 30%),
    radial-gradient(circle at 18% 86%, rgba(104, 184, 46, 0.14), transparent 28%),
    #fff;
}

.monsters-hero-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
}

.featured-transformation,
.monster-card {
  display: grid;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(6, 27, 59, 0.11);
}

.featured-transformation {
  gap: 18px;
  padding: 18px;
}

.transformation-images,
.monster-card-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.transformation-images figure,
.monster-card-images figure {
  position: relative;
  display: grid;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #f8fdfe;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.transformation-images img,
.monster-card-images img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.transformation-images span,
.monster-card-images span {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.featured-transformation-copy {
  display: grid;
  gap: 8px;
}

.featured-transformation-copy h2 {
  font-size: clamp(1.55rem, 3vw, 2.3rem);
}

.featured-transformation-copy p,
.monster-card-content p {
  margin: 0;
  color: var(--muted);
}

.monster-gallery-section {
  background: #fff;
}

.monster-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.monster-card {
  align-content: start;
  gap: 14px;
  padding: 14px;
}

.monster-card-content {
  display: grid;
  gap: 8px;
}

.feature-policy-section {
  border-top: 1px solid var(--line);
}

.books-hero-copy p:not(.eyebrow) {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
}

.book-hero-stack {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  gap: 14px;
  align-items: stretch;
}

.book-hero-stack figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(6, 27, 59, 0.11);
}

.book-hero-stack .book-hero-spread {
  grid-row: span 2;
}

.book-hero-stack img {
  width: 100%;
  height: 100%;
  min-height: 214px;
  object-fit: cover;
}

.book-hero-stack figcaption,
.story-status,
.format-card > span {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.book-hero-stack figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
}

.catalog-section {
  background: #fff;
}

.story-catalog-grid,
.format-grid {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

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

.story-card,
.format-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(6, 27, 59, 0.08);
}

.story-card figure {
  margin: -18px -18px 4px;
  overflow: hidden;
  background: #f8fdfe;
  border-radius: 8px 8px 0 0;
}

.story-card img {
  width: 100%;
  aspect-ratio: 1.36;
  object-fit: cover;
}

.story-card p,
.format-card p {
  margin: 0;
  color: var(--muted);
}

.story-status.available,
.format-card.recommended > span {
  color: var(--teal-dark);
  background: #eafafa;
}

.story-status.soon {
  color: #5b4289;
  background: #f0e9ff;
}

.story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.story-meta span {
  padding: 4px 8px;
  background: #fffaf4;
  border: 1px solid #ffd9bd;
  border-radius: 6px;
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 900;
}

.book-formats-section {
  background: #f7fcfd;
  border-block: 1px solid var(--line);
}

.format-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 960px;
  margin-inline: auto;
}

.format-card {
  padding: 28px;
}

.format-card > span {
  color: var(--orange-dark);
  background: #fff0df;
}

.format-card .price {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1;
}

.book-page-cta {
  display: grid;
  justify-items: center;
  gap: 22px;
  background: var(--paper);
  text-align: center;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.8fr);
  gap: clamp(24px, 6vw, 76px);
  align-items: center;
  background: #f3fcfd;
}

.about-section p {
  margin: 0;
  font-size: 1.12rem;
}

.trust-copy {
  display: grid;
  gap: 16px;
}

.feature-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-weight: 800;
}

.feature-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--teal-dark);
  content: "✓";
  font-weight: 900;
}

.pricing-section {
  background: #fff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 960px;
  margin: 30px auto 0;
}

.pricing-card {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 420px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(6, 27, 59, 0.08);
}

.pricing-card.featured {
  border-color: #9bdce2;
  background: #f8fdfe;
}

.pricing-card > span {
  width: fit-content;
  padding: 4px 10px;
  color: var(--teal-dark);
  background: #eafafa;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.pricing-card .price {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1;
}

.pricing-note {
  margin: -6px 0 0;
  font-size: 0.92rem;
  font-weight: 800;
}

.storybook-price-list {
  display: grid;
  gap: 8px;
}

.storybook-price-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-block: 1px solid var(--line);
}

.storybook-price-list div + div {
  border-top: 0;
}

.storybook-price-list strong {
  min-width: 0;
  color: var(--navy);
  font-size: 0.92rem;
}

.storybook-price-list span {
  color: var(--teal-dark);
  font-size: 0.9rem;
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
}

.pricing-card .button {
  width: fit-content;
  margin-top: auto;
}

.reviews-section {
  background:
    radial-gradient(circle at 84% 100%, rgba(0, 169, 179, 0.18), transparent 26%),
    #f5fcfd;
}

.review-grid,
.faq-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.review-card,
.faq-grid article {
  min-height: 178px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(6, 27, 59, 0.08);
}

.review-card p {
  margin: 10px 0 0;
}

.review-card span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 14px;
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  font-weight: 900;
}

.trust-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.trust-row span {
  min-height: 44px;
  align-items: center;
  color: var(--navy);
  background: #f6fbfc;
}

.faq-section {
  background: #fff;
}

.faq-grid article {
  box-shadow: none;
}

.cta-section {
  display: grid;
  flex-wrap: wrap;
  justify-items: center;
  gap: 22px;
  background: var(--paper);
  text-align: center;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 42px clamp(20px, 6vw, 88px);
  color: var(--muted);
  background: #f7fcfd;
  border-top: 1px solid var(--line);
}

.footer-brand {
  color: var(--navy);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}

.site-footer nav a {
  color: var(--navy);
  text-decoration: none;
}

.site-footer p {
  margin: 0;
  text-align: right;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

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

  .converter-section,
  .converter-tool,
  .create-flow-header,
  .books-hero,
  .monsters-hero {
    grid-template-columns: 1fr;
  }

  .create-flow-meta {
    justify-items: start;
  }

  .create-flow-section .converter-tool {
    grid-template-columns: 1fr;
  }

  .proof-strip,
  .book-grid,
    .pricing-grid,
    .story-catalog-grid,
    .monster-gallery-grid,
    .trust-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  main > section {
    scroll-margin-top: 150px;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 14px;
  }

  .brand img {
    width: 126px;
    height: 76px;
  }

  .header-actions {
    justify-content: end;
  }

  .header-button {
    min-height: 40px;
    padding-inline: 14px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: auto;
    padding-top: 38px;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(2.8rem, 14vw, 4.4rem);
  }

  .create-flow-copy h1 {
    max-width: none;
    font-size: clamp(2.35rem, 12vw, 3.6rem);
  }

  .steps-grid,
  .review-grid,
  .faq-grid,
  .about-section,
    .story-catalog-grid,
    .monster-gallery-grid,
    .format-grid,
    .pricing-grid,
    .site-footer {
    grid-template-columns: 1fr;
  }

  .step-card {
    min-height: 0;
  }

  .step-art.image-art {
    width: auto;
    max-width: none;
    aspect-ratio: 1.95;
  }

  .site-footer,
  .site-footer p {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .site-nav a:first-child {
    display: none;
  }

  .site-nav {
    gap: 16px;
    font-size: 0.9rem;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.35rem, 11vw, 3.1rem);
  }

  .hero-copy {
    margin-top: 16px;
  }

  .mini-steps {
    gap: 12px;
  }

  .mini-steps span {
    min-width: 82px;
  }

  .converter-flow,
  .style-options,
  .storybook-format-options,
  .interest-email-row {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-scene {
    display: none;
  }

  .proof-strip,
  .book-grid,
  .transformation-images,
  .monster-card-images,
  .trust-row {
    grid-template-columns: 1fr;
  }

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

  .book-hero-stack .book-hero-spread {
    grid-row: auto;
  }

  .book-preview img {
    aspect-ratio: 1.35;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
