:root {
  color-scheme: light;
  font-family: var(--bs-font-body, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  background: var(--bs-cream, #f6f1e8);
  color: var(--bs-charcoal, #2a2a2a);
  --ink: var(--bs-navy, #0f1f33);
  --muted: var(--bs-muted, #6f6a61);
  --line: rgba(15, 31, 51, 0.14);
  --paper: var(--bs-cream-2, #fbf7ef);
  --panel: #fffdf8;
  --green: var(--bs-copper, #b8662e);
  --blue: #2e5f8f;
  --rust: var(--bs-copper, #b8662e);
  --gold: var(--bs-gold, #c29a4b);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top left, rgba(194, 154, 75, 0.12), transparent 32%), var(--bs-cream, #f6f1e8);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

main {
  display: flex;
  flex-direction: column;
}

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

button,
.import-button {
  align-items: center;
  border: 0;
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
}

.secondary-button {
  background: #fffdf8;
  border: 1px solid var(--line);
  color: var(--ink);
}

.icon-button {
  background: #fffdf8;
  border: 1px solid var(--line);
  color: var(--ink);
  min-height: 34px;
  padding: 0 11px;
}

.is-hidden {
  display: none !important;
}

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

input,
select,
textarea {
  border: 1px solid #cfc6ba;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  min-height: 40px;
  padding: 9px 11px;
  width: 100%;
}

textarea {
  line-height: 1.5;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
.import-button:focus-visible {
  border-color: var(--green);
  outline: 3px solid rgba(23, 108, 95, 0.16);
}

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

h1 {
  font-size: clamp(2.35rem, 5.2vw, 5rem);
  line-height: 1.1;
}

h2 {
  font-size: 1.25rem;
  line-height: 1.2;
}

h3 {
  font-size: 1rem;
}

.site-header {
  align-items: center;
  background: rgba(236, 232, 223, 0.92);
  border-bottom: 1px solid rgba(32, 40, 45, 0.12);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  min-height: 58px;
  padding: 10px max(16px, calc((100vw - 1440px) / 2));
}

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

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  overflow: hidden;
  width: 40px;
}

.brand-mark img,
.brand-mark svg {
  display: block;
  height: 40px;
  width: 40px;
}

.brand-page {
  fill: #fffdf8;
}

.brand-ear {
  fill: var(--rust);
}

.brand-dog {
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.2;
}

.brand-eye {
  fill: var(--ink);
}

.brand-wordmark {
  letter-spacing: 0;
}

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

.site-nav a {
  border-radius: 6px;
  color: #39464d;
  font-size: 0.92rem;
  font-weight: 850;
  padding: 9px 10px;
  text-decoration: none;
}

.site-nav a:hover {
  background: #fffdf8;
}

.brand small,
.muted,
.element-item small,
.stats-grid small,
.target-row small {
  color: var(--muted);
}

.brand small,
.element-item small,
.target-row small {
  display: block;
  font-size: 0.82rem;
  margin-top: 2px;
}

.top-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.utility-status {
  display: none;
}

.hero-section,
.workflow-band,
.goals-section,
.sample-section,
.pricing-section,
.included-section,
.content-safety-section,
.studio-intro,
.legal-section {
  max-width: 1440px;
  width: calc(100% - 32px);
  margin: 0 auto;
}

.hero-section {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 0.95fr);
  justify-items: center;
  min-height: min(720px, calc(100vh - 58px));
  order: 1;
  padding: clamp(54px, 9vw, 112px) 0 clamp(34px, 6vw, 72px);
  text-align: left;
}

.hero-copy {
  max-width: 670px;
}

.hero-copy h1 {
  color: #172126;
  letter-spacing: 0;
  max-width: 820px;
}

.hero-lede {
  color: #4b5a61;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
  margin-top: 22px;
  max-width: 700px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  margin-top: 28px;
}

.primary-cta,
.secondary-cta {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  text-decoration: none;
}

.primary-cta {
  background: var(--green);
  color: #fff;
  cursor: pointer;
}

.secondary-cta {
  background: #fffdf8;
  border: 1px solid var(--line);
  color: var(--ink);
}

.hero-proof {
  align-items: center;
  color: #59666d;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: flex-start;
  margin-top: 24px;
  max-width: 760px;
}

.hero-proof span {
  display: inline-flex;
  gap: 6px;
  min-height: 0;
  padding: 0;
}

.hero-proof strong {
  color: var(--ink);
  display: inline;
  font-size: inherit;
}

.hero-visual {
  display: block;
  max-width: 680px;
  position: relative;
  width: 100%;
}

.hero-workshop-art {
  border: 1px solid #d7d0c4;
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(32, 40, 45, 0.16);
  display: block;
  width: 100%;
}

.hero-production-note {
  background: #fffdf8;
  border: 1px solid #d7d0c4;
  border-radius: 8px;
  bottom: clamp(14px, 3vw, 28px);
  box-shadow: 0 18px 42px rgba(32, 40, 45, 0.16);
  display: grid;
  gap: 4px;
  max-width: min(320px, calc(100% - 32px));
  padding: 16px 18px;
  position: absolute;
  right: clamp(14px, 3vw, 28px);
}

.hero-production-note span {
  color: var(--rust);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-production-note strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.hero-production-note small {
  color: var(--muted);
  font-size: 0.82rem;
}

.book-stack {
  display: grid;
  min-height: 560px;
  place-items: center;
  position: relative;
}

.sample-page,
.device-preview,
.mini-book {
  background: #fffdf8;
  border: 1px solid #cfc4b6;
  box-shadow: 0 24px 60px rgba(28, 38, 44, 0.18);
  color: #1e272c;
}

.sample-page-large {
  aspect-ratio: 5.5 / 8.5;
  max-width: min(420px, 88vw);
  padding: 58px 44px;
  width: 80%;
}

.sample-page-large h2 {
  font-family: Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
  line-height: 1.05;
  margin: 74px 0 22px;
  text-align: center;
}

.sample-page-large p,
.device-preview p,
.mini-book p {
  color: #52616a;
  line-height: 1.55;
}

.sample-kicker,
.mini-book span,
.device-preview span,
.pricing-label {
  color: var(--rust);
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sample-lines {
  display: grid;
  gap: 9px;
  margin-top: 40px;
}

.sample-lines span {
  background: #d8d0c5;
  display: block;
  height: 7px;
}

.sample-lines span:nth-child(2),
.sample-lines span:nth-child(5) {
  width: 82%;
}

.device-preview {
  border-radius: 24px;
  bottom: 34px;
  padding: 28px 24px;
  position: absolute;
  right: 0;
  width: min(250px, 48vw);
}

.device-preview h3 {
  font-size: 1.3rem;
  margin: 18px 0 10px;
}

.workflow-band,
.included-section {
  align-items: start;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.35fr);
  padding: clamp(22px, 4vw, 42px);
}

.pricing-section {
  order: 2;
}

.simplified-band {
  order: 3;
}

.sample-section {
  order: 4;
}

.included-section,
.content-safety-section,
.legal-section,
.studio-intro,
.workflow-test-drive,
.free-sample-tools,
.app-shell,
.site-footer {
  order: 5;
}

.why-pay-section {
  display: none;
}

.workflow-steps,
.included-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.simplified-band .workflow-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.workflow-steps article {
  border-left: 3px solid var(--green);
  padding-left: 14px;
}

.workflow-steps p {
  color: var(--muted);
  line-height: 1.5;
  margin-top: 8px;
}

.goals-section {
  display: grid;
  gap: 24px;
}

.goals-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.goals-grid article {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 16px;
}

.goals-grid strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.goals-grid p {
  color: #52616a;
  line-height: 1.5;
}

.sample-section,
.goals-section,
.pricing-section,
.included-section,
.content-safety-section,
.studio-intro,
.legal-section {
  padding: clamp(56px, 8vw, 96px) 0 0;
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 840px;
}

.section-heading h2,
.workflow-band h2,
.goals-section h2,
.included-section h2,
.studio-intro h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.05;
}

.section-heading p,
.goals-section p,
.studio-intro p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
}

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

.style-card {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 12px;
}

.style-card strong,
.style-card small {
  display: block;
}

.style-card small {
  color: var(--muted);
  line-height: 1.45;
}

.mini-book {
  aspect-ratio: 4 / 5.4;
  border-radius: 3px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 20px 16px;
}

.mini-book h3 {
  font-family: Georgia, serif;
  font-size: clamp(1.15rem, 1.6vw, 1.65rem);
  line-height: 1.08;
  margin-top: 28px;
  text-align: center;
}

.sample-showcase {
  align-items: center;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1fr);
  margin-top: 18px;
  padding: clamp(18px, 4vw, 34px);
}

.sample-showcase-copy {
  display: grid;
  gap: 14px;
}

.sample-showcase h3 {
  font-size: clamp(1.65rem, 3vw, 2.7rem);
  line-height: 1.05;
}

.sample-showcase p {
  color: #52616a;
  line-height: 1.55;
}

.sample-toggle {
  background: #ede7dc;
  border: 1px solid #d6cbbd;
  border-radius: 8px;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  width: min(100%, 320px);
}

.sample-toggle-button {
  background: transparent;
  color: #49565e;
}

.sample-toggle-button.is-active {
  background: #fff;
  color: var(--green);
  box-shadow: 0 1px 3px rgba(31, 38, 42, 0.12);
}

.sample-downloads {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sample-legal-note {
  font-size: 0.88rem;
}

.sample-library-page main {
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  margin: 0 auto;
  max-width: 1440px;
  padding: clamp(32px, 6vw, 72px) 16px 0;
  width: 100%;
}

.sample-library-hero {
  align-items: end;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
}

.sample-library-hero h1 {
  color: #172126;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  letter-spacing: 0;
  line-height: 1.02;
}

.sample-library-hero p,
.sample-library-note p,
.sample-library-card p {
  color: #52616a;
  line-height: 1.55;
}

.sample-library-hero > div > p:last-child {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  margin-top: 18px;
  max-width: 760px;
}

.sample-library-note,
.sample-library-controls,
.sample-library-card {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.sample-library-note {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.sample-library-controls {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(220px, 320px) auto;
  justify-content: start;
  padding: 16px;
}

.sample-library-controls label {
  color: #39464d;
  display: grid;
  font-size: 0.82rem;
  font-weight: 850;
  gap: 6px;
}

.sample-library-grid {
  display: grid;
  gap: 16px;
}

.sample-library-card {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  padding: 16px;
}

.sample-library-cover {
  align-content: space-between;
  aspect-ratio: 5 / 7.2;
  background: #fbfcff;
  border: 1px solid #b8c7ca;
  border-radius: 4px;
  color: #20282d;
  display: grid;
  gap: 12px;
  padding: 22px 18px;
}

.sample-library-cover[data-style*="nonfiction"] {
  background: #f8fbfd;
  border-color: #b7c8d8;
}

.sample-library-cover[data-style*="accessible"] {
  background: #fcfcff;
  border-color: #b8c7ca;
}

.sample-library-cover span,
.sample-library-cover small {
  color: var(--rust);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sample-library-cover strong {
  font-family: Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.05;
  text-align: center;
}

.sample-library-copy {
  align-content: center;
  display: grid;
  gap: 12px;
}

.sample-library-copy h2 {
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.sample-library-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.sample-library-links .download-link,
.sample-downloads .download-link {
  align-items: center;
  background: var(--green);
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  min-height: 42px;
  padding: 0 14px;
  text-decoration: none;
}

.sample-preview-frame {
  background: #e6dfd4;
  border: 1px solid #d2c7ba;
  border-radius: 8px;
  display: grid;
  min-height: 560px;
  overflow: hidden;
  padding: clamp(16px, 4vw, 30px);
  place-items: center;
}

.sample-mode {
  display: none;
}

.sample-mode.is-active {
  display: block;
}

.pdf-sim {
  aspect-ratio: 5.5 / 8.5;
  background: #fffdf8;
  border: 1px solid #cbbfac;
  box-shadow: 0 18px 42px rgba(31, 38, 42, 0.16);
  color: #20282d;
  font-family: Georgia, "Times New Roman", serif;
  max-width: 410px;
  padding: 58px 52px 42px;
  position: relative;
  width: min(100%, 410px);
}

.pdf-sim h4 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.05;
  margin: 72px 0 10px;
  text-align: center;
}

.sample-byline {
  color: #7a4a36;
  font-size: 0.95rem;
  margin-bottom: 42px;
  text-align: center;
}

.pdf-sim p:not(.sample-byline) {
  color: #30383d;
  font-size: 1.02rem;
  line-height: 1.72;
  margin-top: 1rem;
  text-align: justify;
}

.sample-page-number {
  bottom: 22px;
  color: #8a8076;
  font-size: 0.82rem;
  left: 0;
  position: absolute;
  right: 0;
  text-align: center;
}

.ereader-sim {
  background: #fbfaf7;
  border: 12px solid #20282d;
  border-radius: 32px;
  box-shadow: 0 18px 42px rgba(31, 38, 42, 0.18);
  color: #20282d;
  font-family: Georgia, "Times New Roman", serif;
  max-width: 360px;
  min-height: 500px;
  padding: 22px;
  width: min(100%, 360px);
}

.ereader-bar,
.ereader-controls {
  align-items: center;
  color: #607078;
  display: flex;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 850;
  justify-content: space-between;
}

.ereader-sim h4 {
  font-size: 1.75rem;
  line-height: 1.08;
  margin: 56px 0 28px;
}

.ereader-sim p {
  color: #283238;
  font-size: 1.06rem;
  line-height: 1.72;
  margin-top: 1rem;
}

.ereader-controls {
  border-top: 1px solid #d7d0c4;
  margin-top: 42px;
  padding-top: 16px;
}

.ereader-controls span {
  background: #d7d0c4;
  border-radius: 999px;
  height: 5px;
  width: 86px;
}

.literary-sample {
  background: #fffaf1;
}

.poetry-sample {
  background: #fbfcf8;
  border-color: #b9cab7;
}

.nonfiction-sample {
  background: #f8fbfd;
  border-color: #b7c8d8;
}

.art-sample {
  background: #f8f2ec;
  border-color: #d4b89e;
}

.genre-sample {
  background: #f4f1f8;
  border-color: #beb4cc;
}

.accessible-sample {
  background: #fcfcff;
  border-color: #b8c7ca;
}

.pricing-layout {
  display: grid;
  gap: 14px;
  grid-template-columns: 1.25fr 0.85fr 0.85fr;
  margin-top: 26px;
}

.simple-pricing-layout {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr) minmax(280px, 0.82fr);
}

.pricing-card {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  padding: 20px;
}

.featured-pricing {
  background: #1f2b30;
  color: #fff;
}

.featured-pricing p,
.featured-pricing .pricing-label {
  color: #d8e4df;
}

.pricing-card h3 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.first-book-offer h3 {
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 0.95;
}

.pricing-card p,
.pricing-card li {
  color: #52616a;
  line-height: 1.5;
}

.featured-pricing p {
  color: #d8e4df;
}

.update-export-card {
  background: #f9fbf8;
  border-color: #bac9bb;
}

.update-export-card h3 {
  color: #1f6a4d;
}

.pricing-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.price-table {
  background: rgba(255, 253, 248, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  display: grid;
  gap: 0;
  grid-template-columns: 1fr auto;
  overflow: hidden;
}

.price-table span,
.price-table strong {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding: 11px 12px;
}

.price-table span:nth-last-child(2),
.price-table strong:last-child {
  border-bottom: 0;
}

.plan-button {
  margin-top: auto;
}

.plan-button.ghost {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--green);
}

.simple-ladder {
  align-items: center;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #52616a;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  line-height: 1.4;
  margin-top: 14px;
  padding: 14px;
}

.simple-ladder strong {
  color: var(--ink);
}

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

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

.pack-grid article,
.included-grid span {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.pack-grid strong,
.pack-grid span,
.pack-grid small {
  display: block;
}

.pack-grid span {
  color: var(--green);
  font-size: 1.3rem;
  font-weight: 900;
  margin-top: 8px;
}

.pack-grid small {
  color: var(--muted);
  margin-top: 2px;
}

.guarantee-strip {
  align-items: center;
  background: #e7f3ed;
  border: 1px solid #a8d8b5;
  border-radius: 8px;
  color: #1a5e36;
  display: grid;
  gap: 6px;
  grid-template-columns: auto 1fr;
  line-height: 1.45;
  margin-top: 14px;
  padding: 16px;
}

.comparison-note {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #52616a;
  line-height: 1.5;
  margin-top: 14px;
  padding: 16px;
}

.comparison-note strong {
  color: var(--ink);
  display: block;
  margin-bottom: 6px;
}

.included-section {
  margin-top: clamp(56px, 8vw, 96px);
}

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

.safety-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 26px;
}

.safety-grid article {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 16px;
}

.safety-grid strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.safety-grid p,
.safety-note {
  color: #52616a;
  line-height: 1.5;
}

.safety-grid a {
  color: var(--green);
  font-weight: 850;
  text-decoration: none;
}

.safety-note {
  background: #f4efe7;
  border: 1px solid #ded6ca;
  border-radius: 8px;
  margin-top: 14px;
  padding: 14px;
}

.studio-intro {
  padding-bottom: 20px;
}

.free-sample-tools {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  margin: 0 auto 14px;
  max-width: 1720px;
  padding: clamp(18px, 3vw, 28px);
  width: min(1720px, calc(100vw - 24px));
}

.workflow-test-drive {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  margin: 0 auto 14px;
  max-width: 1720px;
  padding: clamp(18px, 3vw, 28px);
  width: min(1720px, calc(100vw - 24px));
}

.greeting-card-maker {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  margin: 0 auto 14px;
  max-width: 1720px;
  padding: clamp(18px, 3vw, 28px);
  width: min(1720px, calc(100vw - 24px));
}

.greeting-card-workspace {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(280px, 0.75fr) minmax(360px, 1fr);
}

.greeting-card-form textarea {
  min-height: 280px;
}

#greeting-card-file {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.import-button-lite {
  cursor: pointer;
}

.greeting-card-preview {
  background: #e9e1d6;
  border: 1px solid #d7d0c4;
  border-radius: 8px;
  min-height: 520px;
  overflow: auto;
  padding: 18px;
}

.greeting-card-sheet {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  margin: 0 auto;
  max-width: 900px;
}

.greeting-card-sheet + .greeting-card-sheet {
  margin-top: 18px;
}

.greeting-card-fold {
  background: #d4cbc0;
  min-height: 100%;
}

.greeting-card-panel {
  aspect-ratio: 5 / 7;
  background: #fffdf8;
  border: 1px solid #cfbfad;
  border-radius: 4px;
  box-shadow: 0 18px 42px rgba(32, 40, 45, 0.12);
  color: #20282d;
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 54px);
}

.greeting-card-cover,
.greeting-card-back,
.greeting-card-inside-left {
  align-content: center;
  text-align: center;
}

.greeting-card-cover span {
  color: var(--rust);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.greeting-card-cover h3 {
  font-family: Georgia, serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 500;
  line-height: 1.02;
}

.greeting-card-inside {
  align-content: center;
  font-family: Georgia, serif;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.6;
}

.greeting-card-signature {
  font-style: italic;
  margin-top: 18px;
  text-align: right;
}

.greeting-card-preview[data-card-style="warm"] .greeting-card-panel {
  background: #fff8ef;
  border-color: #d5a66e;
}

.greeting-card-preview[data-card-style="modern"] .greeting-card-panel {
  background: #fbfcff;
  border-color: #b7c8d8;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

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

.wizard-step {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 9px;
  padding: 14px;
}

.wizard-step span {
  color: var(--rust);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.wizard-step p {
  color: var(--muted);
  line-height: 1.5;
}

.wizard-step label {
  color: #39464d;
  font-size: 0.82rem;
  font-weight: 850;
}

.workflow-wizard-preview {
  align-items: start;
  background: #f4efe7;
  border: 1px solid #ded6ca;
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(240px, 0.6fr) 1fr;
  padding: 16px;
}

.workflow-wizard-preview strong,
.workflow-wizard-preview span {
  display: block;
}

.workflow-wizard-preview span {
  color: var(--muted);
  margin-top: 4px;
}

.workflow-wizard-preview ol {
  color: #52616a;
  line-height: 1.55;
  margin: 0;
}

.sample-tool-head {
  align-items: end;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr auto;
}

.sample-tool-head h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.08;
}

.sample-tool-head p {
  color: var(--muted);
  line-height: 1.5;
  margin-top: 8px;
  max-width: 760px;
}

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

.sample-tool-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 14px;
}

.sample-tool-card.is-locked {
  background: #f6f1e9;
}

.sample-tool-card label {
  color: #39464d;
  font-size: 0.82rem;
  font-weight: 850;
}

.sample-tool-card textarea {
  min-height: 170px;
}

.legal-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 26px;
}

.legal-grid article {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 16px;
}

.legal-grid h3 {
  font-size: 1.08rem;
}

.legal-grid p {
  color: #52616a;
  line-height: 1.5;
}

.site-footer {
  align-items: start;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: grid;
  gap: 14px;
  grid-template-columns: auto auto minmax(260px, 520px);
  justify-content: space-between;
  margin: 48px auto 0;
  max-width: 1440px;
  padding: 24px 16px 34px;
  width: calc(100% - 32px);
}

.site-footer nav {
  display: flex;
  gap: 12px;
}

.site-footer a {
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
}

.site-footer p {
  line-height: 1.45;
}

.app-shell {
  width: min(1720px, calc(100vw - 24px));
  margin: 0 auto;
  padding: 0 0 28px;
}

#manuscript-file {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.status {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 800;
  min-height: 32px;
  padding: 6px 10px;
}

.workflow-status {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 850;
  min-height: 32px;
  padding: 6px 10px;
}

.top-actions .utility-status {
  display: none;
}

.workflow-status[data-state="busy"] {
  background: #fff8df;
  border-color: #e3c76f;
  color: #7b5d13;
}

.workflow-status[data-state="ok"] {
  background: #e7f3ed;
  border-color: #a8d8b5;
  color: #146c2e;
}

.workflow-status[data-state="bad"] {
  background: #fff0ee;
  border-color: #f0b3aa;
  color: #9f2d20;
}

.workflow-status[data-auth-state="signed-in"] {
  background: #e7f3ed;
  border-color: #a8d8b5;
  color: #146c2e;
}

.auth-panel {
  background: rgba(32, 40, 45, 0.36);
  display: grid;
  inset: 0;
  padding: 22px;
  place-items: center;
  position: fixed;
  z-index: 40;
}

.auth-card {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(31, 38, 42, 0.22);
  display: grid;
  gap: 14px;
  max-width: 560px;
  padding: 20px;
  width: min(100%, 560px);
}

.auth-head {
  align-items: start;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr auto;
}

.auth-head h2 {
  font-size: 1.8rem;
}

.auth-head p,
.auth-note {
  color: var(--muted);
  line-height: 1.5;
}

.auth-tabs {
  background: #ede7dc;
  border: 1px solid #d6cbbd;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
}

.auth-tab {
  background: transparent;
  color: #49565e;
}

.auth-tab.is-active {
  background: #fff;
  color: var(--green);
  box-shadow: 0 1px 3px rgba(31, 38, 42, 0.12);
}

.auth-form {
  display: grid;
  gap: 8px;
}

.auth-form label {
  color: #39464d;
  font-size: 0.82rem;
  font-weight: 850;
}

.status[data-state="ok"] {
  background: #e7f3ed;
  border-color: #a8d8b5;
  color: #146c2e;
}

.status[data-state="bad"] {
  background: #fff0ee;
  border-color: #f0b3aa;
  color: #9f2d20;
}

.workspace {
  align-items: stretch;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(250px, 330px) minmax(520px, 1fr) minmax(300px, 390px);
  min-height: calc(100vh - 94px);
}

.navigator-panel,
.editor-panel,
.settings-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
}

.navigator-panel,
.settings-panel {
  overflow: auto;
  padding: 14px;
}

.panel-head {
  align-items: start;
  display: flex;
  justify-content: space-between;
}

.eyebrow {
  color: var(--rust);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 6px;
  text-transform: uppercase;
}

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

.stats-grid span {
  background: #f4efe7;
  border: 1px solid #ded6ca;
  border-radius: 6px;
  padding: 8px;
}

.stats-grid strong {
  display: block;
  font-size: 1rem;
}

.stats-grid small {
  display: block;
  font-size: 0.72rem;
  margin-top: 2px;
}

.element-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.element-item {
  align-items: start;
  background: #fffdf8;
  border: 1px solid #ddd3c6;
  color: var(--ink);
  display: grid;
  gap: 4px;
  justify-content: stretch;
  min-height: 78px;
  padding: 10px;
  text-align: left;
}

.element-item.is-selected {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(23, 108, 95, 0.12);
}

.kind {
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 900;
  justify-self: start;
  padding: 3px 7px;
}

.kind.front {
  background: var(--blue);
}

.kind.chapter {
  background: var(--green);
}

.kind.back {
  background: var(--gold);
}

.editor-panel {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  overflow: hidden;
}

.editor-toolbar {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 14px;
}

.segmented {
  background: #ede7dc;
  border: 1px solid #d6cbbd;
  border-radius: 8px;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
}

.segmented button {
  background: transparent;
  color: #49565e;
  min-height: 34px;
  padding: 0 12px;
}

.segmented button.is-active {
  background: #fff;
  color: var(--green);
  box-shadow: 0 1px 3px rgba(31, 38, 42, 0.12);
}

.element-form {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
  padding: 14px;
}

.element-form label,
.settings-form label {
  color: #39464d;
  font-size: 0.82rem;
  font-weight: 850;
}

.element-options {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: auto auto minmax(120px, 180px) auto;
}

.check-row {
  align-items: center;
  display: inline-grid;
  gap: 8px;
  grid-template-columns: auto 1fr;
}

.check-row input {
  min-height: auto;
  width: auto;
}

.form-message {
  color: var(--blue);
  font-size: 0.88rem;
  min-height: 18px;
}

.preview-wrap {
  background: #d8d1c6;
  overflow: auto;
  padding: 20px;
}

.book-preview {
  display: grid;
  justify-items: center;
}

.preview-page {
  background: #fffdf8;
  border: 1px solid #c9bdae;
  box-shadow: 0 18px 44px rgba(31, 38, 42, 0.18);
  color: #202020;
  font-family: var(--body-font), Georgia, serif;
  line-height: 1.68;
  min-height: 640px;
  padding: 58px 66px;
  overflow: hidden;
  position: relative;
  width: min(100%, 560px);
}

.preview-page > * {
  position: relative;
  z-index: 1;
}

.preview-page.ebook {
  border-radius: 8px;
  min-height: 580px;
}

.preview-page.print {
  aspect-ratio: 5.5 / 8.5;
  border-radius: 2px;
}

.preview-page.card-page {
  aspect-ratio: 11 / 8.5;
  min-height: 420px;
  padding: 34px;
  width: min(100%, 820px);
}

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

.studio-card-preview section {
  align-content: center;
  background: #fffaf2;
  border: 1px solid #d3c3b2;
  display: grid;
  min-height: 260px;
  padding: 28px;
}

.studio-card-preview small {
  color: var(--rust);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.studio-card-preview strong {
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  line-height: 1.05;
  text-align: center;
}

.studio-card-preview p {
  margin: 0 0 0.7em;
}

.studio-card-preview span {
  display: block;
}

.preview-page.draft-preview::after {
  color: rgba(54, 61, 64, 0.13);
  content: "Draft";
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(4.8rem, 16vw, 7.6rem);
  font-weight: 900;
  left: 50%;
  letter-spacing: 0;
  line-height: 1;
  pointer-events: none;
  position: absolute;
  text-transform: uppercase;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-32deg);
  white-space: nowrap;
  z-index: 0;
}

.preview-page.accessible {
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  line-height: 1.78;
}

.preview-page.large-print {
  font-size: 1.14rem;
}

.preview-page h2 {
  font-size: calc(1.6rem * var(--heading-scale));
  line-height: 1.1;
  margin: 48px 0 26px;
  text-align: center;
}

.preview-page.modern h2 {
  color: var(--blue);
  font-family: Inter, Arial, sans-serif;
  text-transform: uppercase;
}

.preview-page.literary h2 {
  font-style: italic;
  font-weight: 500;
}

.preview-page.script h2 {
  color: var(--rust);
}

.preview-page.poem-page {
  background: #fffefb;
  padding-left: clamp(34px, 9vw, 82px);
  padding-right: clamp(34px, 9vw, 82px);
}

.preview-page.poem-page h2 {
  font-size: calc(1.28rem * var(--heading-scale));
  font-style: normal;
  font-weight: 500;
  margin-bottom: 36px;
  margin-top: 64px;
}

.poem-preview-body {
  margin: 0 auto;
  max-width: 27rem;
}

.poem-preview-body p {
  margin: 0 0 1.45rem;
  text-align: left !important;
  text-indent: 0;
}

.poem-preview-body span {
  display: block;
  overflow-wrap: anywhere;
}

.preview-page.ragged p {
  text-align: left;
}

.preview-page.justified p {
  text-align: justify;
}

.preview-body.drop-cap p:first-child::first-letter {
  color: var(--rust);
  float: left;
  font-size: 4rem;
  line-height: 0.82;
  padding-right: 8px;
}

.preview-body p + p {
  margin-top: 1rem;
}

.preview-body a {
  color: var(--blue);
}

.preview-body blockquote {
  border-left: 4px solid #d4c2a6;
  color: #4e5a5f;
  font-style: italic;
  margin: 1.2rem 0;
  padding: 0.1rem 0 0.1rem 1rem;
}

.preview-body ul,
.preview-body ol {
  margin: 1rem 0 0;
  padding-left: 1.4rem;
}

.preview-body li + li {
  margin-top: 0.25rem;
}

.preview-body code {
  background: #f0e9df;
  border: 1px solid #ded1c0;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  padding: 0.05rem 0.25rem;
}

.preview-body pre {
  background: #f0e9df;
  border: 1px solid #ded1c0;
  border-radius: 6px;
  line-height: 1.45;
  overflow: auto;
  padding: 0.85rem;
  white-space: pre-wrap;
}

.md-subhead {
  font-family: Inter, Arial, sans-serif;
  font-size: 1.08rem;
  line-height: 1.3;
  margin: 1.4rem 0 0.55rem;
  text-align: left;
}

.scene-break {
  align-items: center;
  display: flex;
  height: 2.5rem;
  justify-content: center;
}

.scene-break::before {
  color: var(--gold);
  content: "* * *";
  font-weight: 900;
}

.md-image {
  border: 1px solid #ddd1c3;
  border-radius: 6px;
  margin: 1.2rem 0;
  overflow: hidden;
}

.md-image div {
  align-items: center;
  background: #eee7dc;
  color: #81756b;
  display: flex;
  font-family: Inter, Arial, sans-serif;
  font-weight: 900;
  height: 150px;
  justify-content: center;
}

.md-image figcaption {
  color: var(--muted);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.82rem;
  line-height: 1.35;
  padding: 0.65rem;
}

.preview-topline {
  color: #7c7268;
  display: flex;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  justify-content: space-between;
  text-transform: uppercase;
}

.settings-form {
  display: grid;
  gap: 8px;
}

.autopilot-form {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.autopilot-form label {
  color: #39464d;
  font-size: 0.82rem;
  font-weight: 850;
}

.button-row {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
}

.validation-actions {
  grid-template-columns: 1fr;
  margin-top: 10px;
}

.toggle-grid {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.credit-settings {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  margin-top: 6px;
  padding-top: 12px;
}

.credit-settings :disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.premium-credit-row {
  border-top: 1px solid var(--line);
  margin-top: 2px;
  padding-top: 10px;
}

.credit-settings-note {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
  margin: -2px 0 0;
}

.validation-section,
.export-section {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 14px;
}

.validation-list,
.auto-decisions,
.markdown-preflight-report,
.target-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.auto-decisions {
  background: #eef6f3;
  border: 1px solid #c8ded5;
  border-radius: 6px;
  color: #30554b;
  font-size: 0.88rem;
  line-height: 1.4;
  padding: 10px;
}

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

.preflight-stats span,
.preflight-fixes {
  background: #fffdf8;
  border: 1px solid #ded6ca;
  border-radius: 6px;
  color: #52616a;
  padding: 8px;
}

.preflight-stats strong {
  color: var(--ink);
  display: block;
  font-size: 1rem;
}

.policy-check-title {
  margin-top: 16px;
}

.preflight-fixes ul,
.preflight-issues {
  display: grid;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
}

.preflight-fixes li {
  line-height: 1.35;
  margin-left: 18px;
}

.preflight-issues small {
  color: #64727a;
  display: block;
  font-size: 0.78rem;
  line-height: 1.35;
  margin-top: 5px;
}

.auto-decisions ul {
  margin: 0;
  padding-left: 18px;
}

.section-title-row {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.master-printer-panel .button-row {
  margin-top: 10px;
}

.master-printer-report,
.targeted-update-report {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.quality-pill {
  background: #f4efe7;
  border: 1px solid #ded6ca;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  min-width: 58px;
  padding: 4px 9px;
  text-align: center;
}

.quality-pill[data-level="good"] {
  background: #e7f3ed;
  border-color: #a8d8b5;
  color: #146c2e;
}

.quality-pill[data-level="warn"] {
  background: #fff8df;
  border-color: #e3c76f;
  color: #7b5d13;
}

.quality-pill[data-level="bad"] {
  background: #fff0ee;
  border-color: #f0b3aa;
  color: #9f2d20;
}

.mp-card,
.mp-mini-card {
  background: #fffdf8;
  border: 1px solid #ded6ca;
  border-radius: 6px;
  padding: 10px;
}

.mp-card strong,
.mp-mini-card strong {
  display: block;
}

.mp-card p,
.mp-card small,
.mp-mini-card small {
  color: #52616a;
  display: block;
  font-size: 0.86rem;
  line-height: 1.4;
  margin-top: 4px;
}

.mp-colophon pre {
  background: #f7f3ec;
  border: 1px solid #e4d9ca;
  border-radius: 6px;
  color: #364246;
  font: 0.76rem/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  margin: 8px 0 0;
  max-height: 220px;
  overflow: auto;
  padding: 9px;
  white-space: pre-wrap;
}

.mp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.mp-meta span,
.mp-issue-list span {
  background: #eef2f2;
  border: 1px solid #d8e1df;
  border-radius: 999px;
  color: #415057;
  font-size: 0.72rem;
  font-weight: 850;
  padding: 3px 7px;
}

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

.mp-profile-browser {
  display: grid;
  gap: 10px;
}

.mp-browser-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.mp-browser-head strong {
  color: var(--ink);
}

.mp-browser-head span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

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

.mp-profile-card {
  background: #fffdf8;
  border: 1px solid #ded6ca;
  border-radius: 6px;
  display: grid;
  gap: 6px;
  padding: 10px;
}

.mp-profile-card.is-recommended {
  border-color: #9ec8b2;
  box-shadow: inset 3px 0 0 #2f7a57;
}

.mp-profile-card-head {
  align-items: start;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.mp-profile-card-head strong {
  color: var(--ink);
}

.mp-profile-card-head span {
  background: #eef2f2;
  border: 1px solid #d8e1df;
  border-radius: 999px;
  color: #415057;
  font-size: 0.7rem;
  font-weight: 850;
  padding: 2px 6px;
  white-space: nowrap;
}

.mp-profile-card p,
.mp-profile-card small {
  color: #52616a;
  line-height: 1.35;
}

.mp-profile-card p {
  font-size: 0.84rem;
}

.mp-profile-card small {
  font-size: 0.76rem;
}

.mp-warning-list {
  color: #7b5d13;
  display: grid;
  font-size: 0.75rem;
  gap: 4px;
  margin: 0;
  padding-left: 16px;
}

.mp-ai-candidates {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 10px;
}

.mp-mini-card span {
  color: var(--green);
  display: block;
  font-size: 0.78rem;
  font-weight: 850;
  margin-top: 3px;
}

.mp-issue-list {
  display: grid;
  gap: 6px;
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.mp-issue-list li {
  align-items: center;
  color: #52616a;
  display: flex;
  font-size: 0.86rem;
  gap: 6px;
  line-height: 1.35;
}

.mp-unsatisfied {
  border-color: #c7d6d0;
}

.mp-ai-workflows {
  border-color: #b8cfd8;
}

.mp-proof-list {
  display: grid;
  gap: 4px;
  margin-top: 8px;
}

.mp-proof-list small {
  color: #5c686e;
  font-size: 0.76rem;
  line-height: 1.35;
}

.targeted-update-panel {
  background: #fbfaf6;
}

.targeted-update-policy {
  margin: 10px 0 4px;
}

.update-policy-card {
  background: #f4f8f1;
  border: 1px solid #c8d6c3;
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 10px 12px;
}

.update-policy-card strong {
  color: #1f4f3a;
  font-size: 0.9rem;
}

.update-policy-card p {
  color: #52616a;
  font-size: 0.84rem;
  line-height: 1.45;
  margin: 0;
}

.update-policy-card[data-update-policy-state="paid"] {
  background: #fff8eb;
  border-color: #dec791;
}

.update-policy-card[data-update-policy-state="paid"] strong {
  color: #7a4b00;
}

.export-policy-inline,
.targeted-update-policy-inline {
  margin: 8px 0;
}

.targeted-update-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 8px;
}

.targeted-update-grid label,
.targeted-update-addition label,
.targeted-update-panel > label {
  color: #39464d;
  display: grid;
  font-size: 0.82rem;
  font-weight: 850;
  gap: 5px;
  margin-top: 8px;
}

.targeted-update-addition {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
  margin-top: 8px;
}

.targeted-update-summary small {
  color: var(--green);
  display: block;
  font-size: 0.78rem;
  font-weight: 850;
  margin-top: 5px;
}

.artistic-print-panel .button-row {
  margin-top: 10px;
}

.aps-controls,
.artistic-print-report,
.aps-concepts,
.aps-previews {
  display: grid;
  gap: 8px;
}

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

.aps-controls label {
  display: grid;
  gap: 4px;
}

.aps-controls span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.aps-controls select {
  min-width: 0;
}

.aps-toggle-grid {
  margin-top: 8px;
}

.aps-warning-copy {
  margin-top: 8px;
}

.artistic-print-report {
  margin-top: 10px;
}

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

.mp-mini-card.is-selected {
  border-color: #9d6f3f;
  box-shadow: inset 0 0 0 1px rgba(157, 111, 63, 0.25);
}

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

.aps-preview-card {
  background: #fffdf8;
  border: 1px solid #ded6ca;
  border-radius: 6px;
  overflow: hidden;
  padding: 10px;
}

.aps-preview-card > strong,
.aps-preview-card > small {
  display: block;
}

.aps-preview-card > small {
  color: var(--muted);
  font-size: 0.75rem;
  margin-top: 6px;
}

.aps-preview-page {
  aspect-ratio: 0.66;
  background: linear-gradient(180deg, #fffdf8, #fbf7ee);
  border: 1px solid #e5dac9;
  color: #202326;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 8px;
  min-height: 132px;
  padding: 14px;
  text-align: center;
}

.aps-preview-page h4 {
  font-family: var(--serif);
  font-size: clamp(1rem, 1.4vw, 1.28rem);
  letter-spacing: 0;
  line-height: 1.15;
  margin: 6px 0;
}

.aps-preview-page p {
  color: #465157;
  font-size: 0.74rem;
  line-height: 1.35;
}

.aps-kicker,
.aps-ornament,
.aps-title-mark {
  color: #8f2f25;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.aps-drop::first-letter {
  color: #8f2f25;
  float: left;
  font-family: var(--serif);
  font-size: 2.8em;
  line-height: 0.82;
  padding-right: 5px;
}

.aps-preview-spread {
  display: grid;
  gap: 10px;
  grid-template-columns: 0.42fr 1fr;
  text-align: left;
}

.aps-preview-spread aside {
  border-right: 1px solid #d8c5aa;
  color: #7b4c3a;
  font-size: 0.7rem;
  line-height: 1.25;
  padding-right: 8px;
}

.aps-preview-spread span {
  color: var(--muted);
  font-size: 0.64rem;
  text-transform: uppercase;
}

.validation-item,
.target-row,
.export-result {
  background: #fffdf8;
  border: 1px solid #ded6ca;
  border-radius: 6px;
  padding: 10px;
}

.validation-item p {
  color: #52616a;
  font-size: 0.88rem;
  line-height: 1.4;
  margin-top: 4px;
}

.validation-item.error {
  border-color: #e5aaa1;
}

.validation-item.warn {
  border-color: #e3c76f;
}

.validation-item.info {
  border-color: #aac5df;
}

.target-row {
  align-items: start;
  display: grid;
  gap: 8px;
  grid-template-columns: auto 1fr;
}

.target-row input {
  margin-top: 3px;
  min-height: auto;
  width: auto;
}

#export-button {
  margin-top: 10px;
  width: 100%;
}

.export-result {
  color: #52616a;
  font-size: 0.88rem;
  line-height: 1.45;
  margin-top: 10px;
}

@media (max-width: 1100px) {
  .aps-controls,
  .aps-concepts,
  .aps-previews {
    grid-template-columns: 1fr;
  }
}

.export-result ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.artifact-summary {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(86px, 1fr));
  margin-top: 10px;
}

.artifact-summary span {
  background: #f4efe7;
  border: 1px solid #ded6ca;
  border-radius: 6px;
  padding: 8px;
}

.artifact-summary strong,
.artifact-summary small {
  display: block;
}

.artifact-summary small {
  color: var(--muted);
  font-size: 0.76rem;
  margin-top: 2px;
}

.export-result details {
  margin-top: 10px;
}

.export-result summary {
  cursor: pointer;
  font-weight: 850;
}

.download-link {
  align-items: center;
  background: var(--blue);
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  margin-top: 10px;
  min-height: 38px;
  padding: 0 12px;
  text-decoration: none;
}

.warning-copy,
.error {
  color: #9f2d20;
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  padding: 16px;
}

@media (max-width: 1240px) {
  .hero-section,
  .pricing-layout {
    grid-template-columns: 1fr;
  }

  .hero-section {
    align-items: start;
    gap: 26px;
    padding-top: 34px;
  }

  .hero-visual {
    max-width: 680px;
  }

  .book-stack {
    min-height: 440px;
    place-items: start center;
  }

  .sample-page-large {
    max-width: 320px;
    padding: 42px 32px;
    width: min(320px, 74vw);
  }

  .sample-page-large h2 {
    margin-top: 42px;
  }

  .device-preview {
    right: 80px;
  }

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

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

  .sample-showcase {
    grid-template-columns: 1fr;
  }

  .sample-library-hero,
  .sample-library-card {
    grid-template-columns: 1fr;
  }

  .pack-grid,
  .included-grid,
  .safety-grid,
  .legal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workspace {
    grid-template-columns: minmax(250px, 320px) 1fr;
  }

  .settings-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  body {
    overflow-x: hidden;
  }

  .app-shell {
    width: min(100vw - 16px, 1720px);
  }

  .site-header,
  .workspace,
  .editor-toolbar,
  .element-options {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr;
  }

  .site-nav {
    justify-content: start;
  }

  .targeted-update-addition {
    grid-template-columns: 1fr;
  }

  .top-actions {
    justify-content: start;
  }

  .sample-tool-head,
  .sample-library-controls,
  .free-tool-grid,
  .workflow-wizard,
  .workflow-wizard-preview,
  .greeting-card-workspace,
  .greeting-card-sheet {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: clamp(1.85rem, 8vw, 2.2rem);
    max-width: calc(100vw - 24px);
    overflow-wrap: anywhere;
  }

  .hero-lede {
    font-size: 1rem;
    max-width: calc(100vw - 24px);
    overflow-wrap: anywhere;
  }

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

  .primary-cta,
  .secondary-cta {
    max-width: calc(100vw - 18px);
    width: 100%;
  }

  .hero-section,
  .workflow-band,
  .goals-section,
  .sample-section,
  .pricing-section,
  .included-section,
  .content-safety-section,
  .studio-intro {
    width: calc(100% - 18px);
  }

  .legal-section {
    width: calc(100% - 18px);
  }

  .hero-proof,
  .workflow-band,
  .workflow-steps,
  .goals-grid,
  .included-section,
  .included-grid,
  .sample-grid,
  .pack-grid,
  .safety-grid,
  .legal-grid,
  .guarantee-strip {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    width: calc(100% - 18px);
  }

  .book-stack {
    min-height: 360px;
  }

  .sample-preview-frame {
    min-height: 460px;
  }

  .pdf-sim {
    padding: 42px 32px 34px;
  }

  .device-preview {
    position: static;
    transform: translateY(-42px);
    width: 78%;
  }

  .preview-page {
    min-height: 520px;
    padding: 38px 30px;
  }

  .mp-profile-grid {
    grid-template-columns: 1fr;
  }

  .mp-candidates {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  .hero-section,
  .workflow-band,
  .goals-section,
  .sample-section,
  .pricing-section,
  .included-section,
  .studio-intro,
  .legal-section,
  .app-shell {
    max-width: 372px;
    margin-left: 9px;
    margin-right: 9px;
  }

  .free-sample-tools {
    margin-left: 9px;
    margin-right: 9px;
    max-width: 372px;
    width: auto;
  }

  .workflow-test-drive {
    margin-left: 9px;
    margin-right: 9px;
    max-width: 372px;
    width: auto;
  }

  .site-header {
    max-width: 372px;
    margin-left: 9px;
    margin-right: 9px;
  }

  .site-footer {
    margin-left: 9px;
    margin-right: 9px;
    max-width: 372px;
  }
}

main > .hero-section {
  order: 1;
}

main > .format-strip {
  order: 2;
}

main > .feature-section {
  order: 3;
}

main > .benefits-section {
  order: 4;
}

main > .workflow-section {
  order: 5;
}

main > .sample-section {
  order: 6;
}

main > .book-credit-section {
  order: 7;
}

main > .about-section {
  order: 8;
}

main > .pricing-section {
  order: 9;
}

main > .included-section,
main > .legal-section,
main > .studio-intro,
main > .workflow-test-drive,
main > .free-sample-tools,
main > .greeting-card-maker,
main > .app-shell {
  order: 10;
}

main > .why-pay-section {
  display: none !important;
}

/* BookSetter launch directive overrides */
.tm,
.brand-tm {
  font-size: 0.55em;
  line-height: 0;
  margin-left: 0.05em;
  vertical-align: super;
}

.eyebrow,
.site-nav,
.bs-btn,
.sample-kicker,
.mini-book span,
.device-preview span,
.pricing-label,
.hero-production-note span,
.format-strip span,
.composition-sidebar span,
.composition-panel span {
  letter-spacing: 0;
}

.site-header {
  backdrop-filter: blur(12px);
  background: rgba(246, 241, 232, 0.9);
  border-bottom: 1px solid rgba(15, 31, 51, 0.12);
  min-height: 76px;
  padding: 12px max(18px, calc((100vw - 1180px) / 2));
  position: sticky;
  top: 0;
  z-index: 50;
}

.brand.bs-logo {
  flex: 0 0 auto;
  width: min(252px, 50vw);
}

.brand.bs-logo img {
  display: block;
  height: auto;
  width: 100%;
}

.nav-primary,
.primary-cta,
.plan-button {
  background: var(--bs-copper, #b8662e);
  box-shadow: 0 10px 24px rgba(184, 102, 46, 0.22);
  color: #fff;
}

.nav-primary:hover,
.primary-cta:hover,
.plan-button:hover {
  background: var(--bs-copper-700, #9f5425);
}

.nav-import {
  display: none;
}

.secondary-button,
.secondary-cta {
  background: rgba(255, 253, 248, 0.72);
  border-color: rgba(15, 31, 51, 0.18);
  color: var(--bs-navy, #0f1f33);
}

.hero-section,
.format-strip,
.feature-section,
.book-credit-section,
.about-section,
.workflow-band,
.goals-section,
.sample-section,
.pricing-section,
.included-section,
.content-safety-section,
.studio-intro,
.legal-section {
  max-width: 1180px;
}

.hero-section {
  min-height: min(760px, calc(100vh - 76px));
  padding: clamp(58px, 8vw, 104px) 0 clamp(32px, 6vw, 72px);
}

.hero-copy h1,
.section-heading h2,
.workflow-band h2,
.goals-section h2,
.included-section h2,
.studio-intro h2,
.book-credit-section h2,
.about-section h2 {
  color: var(--bs-navy, #0f1f33);
  font-family: var(--bs-font-display, Georgia, serif);
  font-weight: 700;
  letter-spacing: 0;
}

.hero-copy h1 {
  font-size: clamp(3.05rem, 6.8vw, 6.4rem);
  line-height: 0.99;
}

.brand-rule {
  align-items: center;
  color: var(--bs-copper, #b8662e);
  display: inline-flex;
  gap: 12px;
  margin-top: 18px;
}

.brand-rule::before,
.brand-rule::after {
  background: currentColor;
  content: "";
  height: 1px;
  width: 56px;
}

.brand-rule span {
  background: var(--bs-gold, #c29a4b);
  height: 7px;
  transform: rotate(45deg);
  width: 7px;
}

.hero-proof span {
  color: var(--bs-muted, #6f6a61);
  font-weight: 750;
}

.hero-proof span::before {
  color: var(--bs-copper, #b8662e);
  content: "✓";
  font-weight: 900;
  margin-right: 7px;
}

.product-composition {
  align-content: center;
  display: grid;
  gap: 12px;
  grid-template-areas:
    "book book"
    "manuscript export"
    "credit credit";
  grid-template-columns: minmax(0, 1fr) minmax(142px, 0.55fr);
  min-height: auto;
}

.composition-book {
  background: #fffdf8;
  border: 1px solid rgba(194, 154, 75, 0.34);
  border-radius: 18px;
  box-shadow: 0 26px 70px rgba(15, 31, 51, 0.16);
  display: grid;
  grid-area: book;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  position: relative;
  width: 100%;
  z-index: 1;
}

.composition-book article {
  font-family: var(--bs-font-book, Georgia, serif);
  min-height: 380px;
  padding: clamp(34px, 5vw, 54px) clamp(26px, 4vw, 40px);
}

.composition-book article + article {
  border-left: 1px solid var(--bs-parchment, #e7dec8);
}

.composition-book span,
.composition-sidebar span,
.composition-panel span {
  color: var(--bs-copper, #b8662e);
  display: block;
  font-family: var(--bs-font-body, Inter, sans-serif);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.composition-book h2 {
  color: var(--bs-navy, #0f1f33);
  font-family: var(--bs-font-display, Georgia, serif);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.06;
  margin: 12px 0 24px;
}

.composition-book p {
  color: #403b35;
  font-size: 1.02rem;
  line-height: 1.7;
}

.composition-sidebar,
.composition-panel {
  background: rgba(251, 247, 239, 0.92);
  border: 1px solid rgba(15, 31, 51, 0.14);
  border-radius: 14px;
  box-shadow: 0 16px 38px rgba(15, 31, 51, 0.1);
  display: grid;
  gap: 8px;
  padding: 16px;
  position: relative;
  z-index: 2;
}

.composition-sidebar {
  grid-area: manuscript;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: auto;
}

.composition-sidebar span {
  grid-column: 1 / -1;
}

.composition-sidebar strong,
.composition-panel strong {
  color: var(--bs-navy, #0f1f33);
  font-size: 0.9rem;
}

.composition-panel {
  grid-area: export;
  width: auto;
}

.hero-production-note {
  bottom: auto;
  grid-area: credit;
  justify-self: end;
  max-width: min(360px, 100%);
  position: relative;
  right: auto;
  width: 100%;
}

.format-strip {
  border-block: 1px solid rgba(15, 31, 51, 0.1);
  margin: 0 auto;
  padding: 18px 0;
  width: calc(100% - 32px);
}

.format-strip__inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: space-between;
}

.format-strip strong,
.format-strip span {
  color: var(--bs-navy, #0f1f33);
  font-size: 0.9rem;
}

.format-strip span {
  font-weight: 850;
  text-transform: uppercase;
}

.feature-section,
.book-credit-section,
.about-section {
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) 0 0;
  width: calc(100% - 32px);
}

.feature-section .feature-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 28px;
}

.feature-section .feature-grid article,
.book-credit-badge,
.about-section,
.goals-grid article,
.style-card,
.sample-showcase,
.pricing-card,
.sample-library-card {
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid rgba(194, 154, 75, 0.34);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 31, 51, 0.08);
}

.feature-section .feature-grid article {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.feature-section .feature-grid span {
  color: var(--bs-copper, #b8662e);
  font-size: 1.8rem;
}

.feature-section .feature-grid strong {
  color: var(--bs-navy, #0f1f33);
  font-family: var(--bs-font-display, Georgia, serif);
  font-size: 1.18rem;
}

.feature-section .feature-grid p {
  color: var(--bs-muted, #6f6a61);
  line-height: 1.5;
}

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

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

.workflow-steps article {
  border-left-color: var(--bs-copper, #b8662e);
}

.book-credit-section {
  align-items: center;
  display: grid;
  gap: clamp(22px, 5vw, 56px);
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
}

.book-credit-copy {
  display: grid;
  gap: 12px;
}

.book-credit-copy p,
.about-copy p {
  color: var(--bs-muted, #6f6a61);
  font-size: 1.08rem;
  line-height: 1.6;
}

.book-credit-badge {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 22px;
  text-align: center;
}

.book-credit-badge img {
  max-width: 240px;
}

.book-credit-badge strong {
  color: var(--bs-navy, #0f1f33);
  font-size: 1.1rem;
}

.book-credit-badge span {
  color: var(--bs-muted, #6f6a61);
  font-size: 0.9rem;
}

.about-section {
  align-items: center;
  display: grid;
  gap: clamp(22px, 5vw, 56px);
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  padding: clamp(24px, 5vw, 44px);
}

.about-copy {
  display: grid;
  gap: 12px;
}

.about-mascot {
  margin: 0;
}

.about-mascot img {
  border-radius: 18px;
  display: block;
  width: 100%;
}

.about-mascot figcaption {
  color: var(--bs-muted, #6f6a61);
  font-size: 0.84rem;
  line-height: 1.45;
  margin-top: 10px;
}

.site-footer .brand.bs-logo {
  width: min(240px, 70vw);
}

.site-footer {
  grid-template-columns: minmax(180px, 240px) minmax(160px, auto) minmax(0, 1fr);
  max-width: 1180px;
}

.site-footer p {
  min-width: 0;
}

@media (max-width: 1100px) {
  .feature-section .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  .brand.bs-logo {
    width: min(220px, 70vw);
  }

  .site-header {
    max-width: none;
  }

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

  .hero-copy h1 {
    font-size: clamp(2.1rem, 9.2vw, 3.05rem);
    line-height: 1.02;
    max-width: min(100%, 9.1em);
    text-wrap: balance;
  }

  .hero-lede {
    max-width: min(100%, 34ch);
  }

  .product-composition {
    grid-template-areas:
      "book"
      "manuscript"
      "export"
      "credit";
    grid-template-columns: 1fr;
    min-height: auto;
  }

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

  .composition-book article + article {
    border-left: 0;
    border-top: 1px solid var(--bs-parchment, #e7dec8);
  }

  .composition-sidebar,
  .composition-panel,
  .hero-production-note {
    justify-self: stretch;
    margin-top: 12px;
    position: static;
    width: auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
    width: calc(100% - 18px);
  }

  .format-strip {
    width: calc(100% - 18px);
  }

  .site-footer nav {
    flex-wrap: wrap;
  }

  .book-credit-section,
  .about-section,
  .sample-showcase,
  .sample-library-hero,
  .sample-library-card {
    grid-template-columns: 1fr;
  }

  .feature-section .feature-grid,
  .benefits-section .goals-grid,
  .workflow-section .workflow-steps {
    grid-template-columns: 1fr;
  }

  .book-credit-section,
  .about-section,
  .feature-section {
    width: calc(100% - 18px);
  }
}

@media (max-width: 500px) {
  .hero-copy h1 {
    font-size: clamp(2.05rem, 9.4vw, 2.45rem);
  }
}

.marketing-page .site-header {
  margin: 0;
  max-width: none;
  width: 100%;
}

.marketing-main {
  display: grid;
  gap: clamp(28px, 5vw, 58px);
  margin: 0 auto;
  max-width: 1180px;
  padding: clamp(42px, 8vw, 92px) 20px;
  width: 100%;
}

.marketing-hero {
  display: grid;
  gap: 18px;
  max-width: 860px;
}

.marketing-hero h1 {
  color: var(--bs-navy, #0f1f33);
  font-family: var(--bs-font-display, Georgia, serif);
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
}

.marketing-hero p {
  color: var(--bs-muted, #6f6a61);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.65;
  margin: 0;
  max-width: 700px;
}

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

.marketing-grid article,
.marketing-cta,
.marketing-faq {
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid rgba(194, 154, 75, 0.34);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(15, 31, 51, 0.08);
  padding: clamp(20px, 4vw, 30px);
}

.marketing-grid strong,
.marketing-cta h2,
.marketing-faq h2 {
  color: var(--bs-navy, #0f1f33);
  font-family: var(--bs-font-display, Georgia, serif);
  font-size: 1.35rem;
  letter-spacing: 0;
}

.marketing-grid p,
.marketing-faq p {
  color: var(--bs-muted, #6f6a61);
  line-height: 1.6;
  margin: 10px 0 0;
}

.marketing-cta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
}

.marketing-cta h2 {
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 1.05;
  margin: 0;
  max-width: 760px;
}

.marketing-pricing {
  margin-top: 0;
}

.marketing-pricing .pricing-card h2 {
  color: var(--bs-navy, #0f1f33);
  font-family: var(--bs-font-display, Georgia, serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  margin: 0;
}

.about-marketing-hero {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  max-width: none;
}

.about-marketing-hero img {
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 31, 51, 0.14);
  width: 100%;
}

@media (max-width: 900px) {
  .marketing-grid,
  .about-marketing-hero {
    grid-template-columns: 1fr;
  }
}

@media print {
  @page {
    margin: 0.25in;
    size: Letter landscape;
  }

  body.printing-greeting-card > *:not(main),
  body.printing-greeting-card main > *:not(.greeting-card-maker),
  body.printing-greeting-card .greeting-card-maker > *:not(.greeting-card-workspace),
  body.printing-greeting-card .greeting-card-form {
    display: none !important;
  }

  body.printing-greeting-card {
    background: #fff;
  }

  body.printing-greeting-card .greeting-card-maker,
  body.printing-greeting-card .greeting-card-preview {
    border: 0;
    margin: 0;
    max-width: none;
    padding: 0;
    width: auto;
  }

  body.printing-greeting-card .greeting-card-sheet {
    box-shadow: none;
    gap: 0.18in;
    grid-template-columns: 1fr 1px 1fr;
    max-width: none;
  }

  body.printing-greeting-card .greeting-card-panel {
    box-shadow: none;
    break-inside: avoid;
  }
}
