:root {
  --ink: #241f19;
  --muted: #71675a;
  --paper: #fffaf1;
  --warm: #efe3cf;
  --accent: #7b4f2c;
  --line: rgba(36,31,25,.1);
  --white-glass: rgba(255,255,255,.65);
  --heading-font: 'perfectlynineties-regular', Georgia, serif;
}

@font-face {
  font-family: 'perfectlynineties-regular';
  src:
    url('/assets/fonts/perfectly-nineties/perfectlynineties-regular-webfont.woff2') format('woff2'),
    url('/assets/fonts/perfectly-nineties/perfectlynineties-regular-webfont.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

body {
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.82), transparent 35%),
    linear-gradient(135deg, #f7f1e6, #efe3cf);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  color: var(--ink);
}

section { overflow: hidden; }
p { line-height: 1.65; }
a { color: var(--accent); }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 3px solid rgba(123,79,44,.62);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 1050;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  padding: .75rem 1rem;
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
  color: var(--paper);
}

.brand, h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
}

.brand {
  font-size: 2.3rem;
  font-weight: 400;
  letter-spacing: 0;
  text-decoration: none;
  color: var(--ink);
}

.navbar { padding: 1.5rem 0; }
.nav-link { color: #5f564b; font-weight: 650; }
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--ink); }

.navbar-toggler {
  border-color: rgba(36,31,25,.16);
  border-radius: 999px;
  padding: .55rem .7rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 .2rem rgba(123,79,44,.15);
}

.deckle-nav-panel .btn-close {
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(36,31,25,.16);
  border-radius: 999px;
  background-size: .72rem;
  opacity: 1;
}

.deckle-nav-panel .btn-close:hover {
  border-color: rgba(36,31,25,.24);
}

.deckle-nav-panel .btn-close:focus,
.deckle-nav-panel .btn-close:active {
  box-shadow: 0 0 0 .2rem rgba(123,79,44,.15);
  outline: 0;
}

.deckle-nav-panel {
  background: rgba(255,250,241,.96);
  color: var(--ink);
}

.deckle-nav-panel .offcanvas-title {
  font-family: var(--heading-font);
  font-size: 2.4rem;
  line-height: 1;
}

.deckle-nav-panel .offcanvas-body {
  align-items: center;
}

.btn {
  border-radius: 999px;
  padding: .75rem 1.2rem;
  font-weight: 600;
}

.btn-dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn-dark:hover {
  background: #000;
  border-color: #000;
  color: var(--paper);
}

.btn-outline-dark {
  border-color: rgba(36,31,25,.22);
  color: var(--ink);
}

.btn-outline-dark:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  line-height: 1;
  color: var(--accent);
  font-weight: 700;
}

.text-muted-deckle { color: var(--muted); }

.lead {
  font-weight: 300;
}

.trust-strip,
.pricing-trust-strip {
  display: grid;
  gap: .85rem;
  margin-top: 1.5rem;
}

.trust-strip-home {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2.25rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
  padding: .85rem 1rem;
  border: 1px solid rgba(36,31,25,.1);
  border-radius: 1rem;
  background: rgba(255,250,241,.58);
  color: var(--ink);
  box-shadow: 0 12px 34px rgba(36,31,25,.06);
}

.trust-item i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  background: rgba(123,79,44,.1);
  color: var(--accent);
  font-size: 1rem;
  flex: 0 0 auto;
}

.trust-item span {
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.28;
}

.hero-section { padding: 5.5rem 0 7rem; }
.page-hero { padding: 5.5rem 0 4.5rem; }
.features-hero .hero-title { max-width: 980px; }
.faq-hero { padding-bottom: 5rem; }
.pricing-hero .hero-title { max-width: 980px; }
.legal-hero { padding-bottom: 2.5rem; }

.hero-title {
  font-size: clamp(4rem, 9vw, 6rem);
  line-height: .95;
  letter-spacing: 0;
  font-weight: 400;
  max-width: 850px;
}

.section-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: .98;
  letter-spacing: 0;
  font-weight: 400;
}

.marketing-section {
  padding: 6.5rem 0;
  border-top: 1px solid var(--line);
}

.section-band {
  background: rgba(255,250,241,.28);
}

.deckle-card, .mockup, .price-card {
  border-radius: 1.25rem;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 20px 50px rgba(0,0,0,.08);
}

.deckle-card, .mockup {
  background: var(--white-glass);
  backdrop-filter: blur(12px);
}

.deckle-card {
  padding: 2rem;
  height: 100%;
}

.deckle-card h3 {
  font-size: 2rem;
  letter-spacing: 0;
  margin-bottom: 1rem;
}

.compact-card h3 {
  font-size: 1.75rem;
}

.card-title-serif {
  font-family: var(--heading-font);
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  letter-spacing: 0;
}

.mockup { overflow: hidden; }
.mockup-top { border-bottom: 1px solid var(--line); }

.mockup-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(36,31,25,.16);
}

.book-preview {
  width: 240px;
  max-width: 100%;
  min-height: 360px;
  margin: 0 auto;
  padding: 2.2rem 1.4rem;
  border-radius: 1rem;
  background: #fffdf8;
  border: 1px solid rgba(36,31,25,.12);
  box-shadow: 0 30px 90px rgba(36,31,25,.13);
}

.book-preview h3 {
  text-align: center;
  margin-bottom: 3rem;
}

.line {
  height: 8px;
  border-radius: 999px;
  background: rgba(36,31,25,.12);
  margin-bottom: .75rem;
}

.sidebar-label {
  width: 52px;
  height: 9px;
  border-radius: 999px;
  background: rgba(123,79,44,.28);
  margin-bottom: 1rem;
}

.price-card {
  background: var(--ink);
  color: var(--paper);
  padding: 3rem;
}

.price-card {
  background:
    radial-gradient(circle at top left, rgba(255,255,255,.06), transparent 30%),
    #241f19;
}

.feature-list {
  padding-left: 1.2rem;
}

.feature-list li {
  margin-bottom: .8rem;
}

.price-card .btn-light {
  padding-inline: 1.5rem;
  font-weight: 700;
}

.price-card .btn-light:hover {
  background: #fffaf1;
}

.price-card .eyebrow { color: rgba(255,250,241,.72); }
.price-card p, .price-card li { color: rgba(255,250,241,.72); }

.price {
  font-size: clamp(3.8rem, 8vw, 5rem);
  line-height: .9;
  font-weight: 800;
}

.price span {
  font-size: 1.1rem;
  color: rgba(255,250,241,.65);
}

.free-price {
  color: var(--ink);
}

.free-price span {
  color: var(--muted);
}

.pricing-section {
  padding-top: 4.5rem;
}

.pricing-plan h2 {
  font-family: var(--heading-font);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: .9;
  letter-spacing: 0;
}

.pricing-list li {
  font-size: 1rem;
  line-height: 1.45;
}

.pricing-trust-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.25rem;
}

.pricing-trust-strip .trust-item {
  background: rgba(255,255,255,.52);
}

.pro-price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.pro-price-option {
  border: 1px solid rgba(255,250,241,.18);
  border-radius: 1rem;
  padding: 1.25rem;
  background: rgba(255,250,241,.06);
}

.pro-price-option .price {
  font-size: clamp(2.8rem, 5vw, 3.8rem);
}

.pro-price-option p {
  color: rgba(255,250,241,.72);
}

.featured-price {
  border-color: rgba(255,250,241,.42);
  background: rgba(255,250,241,.11);
}

.trial-path {
  display: grid;
  gap: 1rem;
  padding: 2rem;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(36,31,25,.09);
  border-radius: 1.25rem;
  box-shadow: 0 20px 50px rgba(0,0,0,.08);
}

.trial-step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(36,31,25,.1);
}

.trial-step:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.trial-step span {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: .8rem;
  font-weight: 800;
}

.trial-step h3 {
  font-size: 2rem;
  letter-spacing: 0;
  margin-bottom: .35rem;
}

.trial-step p {
  color: var(--muted);
  margin: 0;
}

.annual-rationale {
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(36,31,25,.09);
  border-radius: 1.25rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 18px 44px rgba(36,31,25,.07);
}

.annual-rationale p {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.rationale-grid > div {
  background: rgba(255,250,241,.72);
  border: 1px solid rgba(36,31,25,.08);
  border-radius: 1rem;
  padding: 1.25rem;
}

.rationale-grid h3 {
  font-size: 1.65rem;
  letter-spacing: 0;
  margin-bottom: .5rem;
}

.rationale-grid p {
  font-size: .95rem;
  margin: 0;
}

.pricing-faq-grid .faq-card {
  min-height: 190px;
}

.resources-section {
  padding-top: 4.5rem;
}

.resources-layout {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.resources-filter,
.share-card {
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(36,31,25,.09);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 16px 40px rgba(36,31,25,.07);
}

.resources-filter {
  position: sticky;
  top: 1.5rem;
}

.resource-search {
  width: 100%;
  border: 1px solid rgba(36,31,25,.16);
  border-radius: 999px;
  background: rgba(255,250,241,.76);
  color: var(--ink);
  padding: .8rem 1rem;
  outline: 0;
}

.resource-search:focus {
  border-color: rgba(123,79,44,.48);
  box-shadow: 0 0 0 .2rem rgba(123,79,44,.12);
}

.resource-fieldset {
  border: 0;
  padding: 0;
  margin: 1.25rem 0 0;
}

.resource-fieldset legend {
  float: none;
  width: auto;
  display: block;
  padding: 0;
  margin: 0 0 1rem;
}

.category-filter-list {
  display: grid;
  gap: .65rem;
}

.category-filter-list label {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--muted);
  font-weight: 650;
  cursor: pointer;
}

.category-filter-list input {
  accent-color: var(--accent);
}

.resources-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.resource-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.resource-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(36,31,25,.09);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 16px 38px rgba(36,31,25,.06);
  cursor: pointer;
  transition: transform .18s ease;
}

.resource-card:hover {
  transform: translateY(-3px);
}

.resource-card:focus-within {
  transform: translateY(-3px);
}

.resource-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: .98;
  margin-bottom: .85rem;
}

.resource-card h2 a {
  color: var(--ink);
  text-decoration: none;
}

.resource-card h2 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1rem;
}

.resource-card h2 a:hover {
  color: var(--accent);
}

.resource-meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1rem;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 650;
}

.resource-meta {
  margin-top: auto;
  padding-top: 1rem;
}

.resources-results {
  transition: opacity .18s ease;
}

.resources-results.is-loading {
  opacity: .62;
}

.article-hero .hero-title {
  max-width: 1000px;
}

.article-meta {
  margin-top: 1.5rem;
}

.article-section {
  padding-top: 4.5rem;
}

.article-copy {
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(36,31,25,.09);
  border-radius: 1.25rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: 0 18px 44px rgba(36,31,25,.07);
}

.article-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.article-copy li {
  color: var(--muted);
  font-size: 1.05rem;
}

.article-copy h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1;
  margin: 2.5rem 0 1rem;
}

.article-copy h2:first-child {
  margin-top: 0;
}

.article-copy ul {
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
}

.article-image {
  margin: 2rem 0;
}

.article-image img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(36,31,25,.1);
  border-radius: 1rem;
  box-shadow: 0 18px 44px rgba(36,31,25,.08);
}

.article-image figcaption {
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.5;
  margin-top: .8rem;
}

.article-copy pre {
  background: rgba(36,31,25,.07);
  border: 1px solid rgba(36,31,25,.09);
  border-radius: .85rem;
  color: var(--ink);
  padding: 1rem;
  white-space: pre-wrap;
}

.related-comparisons-card {
  background: rgba(255,250,241,.72);
  border: 1px solid rgba(36,31,25,.09);
  border-radius: 1rem;
  padding: 1.5rem;
  margin: 1.5rem 0 2.25rem;
}

.related-comparisons-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-comparisons-card li {
  border-top: 1px solid rgba(36,31,25,.09);
  padding: .75rem 0;
}

.related-comparisons-card li:first-child {
  border-top: 0;
  padding-top: 0;
}

.related-comparisons-card li:last-child {
  padding-bottom: 0;
}

.related-comparisons-card a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.related-comparisons-card a:hover {
  color: var(--accent);
}

.article-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(36,31,25,.09);
  border-radius: 1rem;
  margin: 1.5rem 0 2rem;
}

.article-copy table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: rgba(255,250,241,.72);
}

.article-copy th,
.article-copy td {
  padding: .9rem 1rem;
  border-bottom: 1px solid rgba(36,31,25,.09);
  text-align: left;
}

.article-copy th {
  color: var(--ink);
}

.article-sidebar {
  position: sticky;
  top: 1.5rem;
  display: grid;
  gap: 1.25rem;
}

.share-links {
  display: grid;
  gap: .65rem;
}

.share-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(36,31,25,.16);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.share-links a:hover {
  background: var(--ink);
  color: var(--paper);
}

.author-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(36,31,25,.09);
  border-radius: 1.25rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 18px 44px rgba(36,31,25,.07);
}

.author-card h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1;
}

.article-author-card {
  display: block;
  padding: 1.5rem;
  gap: 0;
}

.article-author-card h2 {
  font-size: 2.25rem;
  margin-bottom: .5rem;
}

.step-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(0,0,0,.08);
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  display: inline-grid;
  place-items: center;
  font-size: .8rem;
  font-weight: 800;
  flex: 0 0 auto;
}

.comparison-table {
  background: var(--white-glass);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 1.25rem;
  overflow: hidden;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(36,31,25,.09);
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.workflow-grid,
.feature-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.features-detail-section {
  padding-top: 4.5rem;
}

.feature-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.feature-detail-card {
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(36,31,25,.09);
  border-radius: 1rem;
  padding: 1.35rem;
  box-shadow: 0 14px 34px rgba(36,31,25,.06);
}

.feature-card-heading {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: .7rem;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  background: #fff0bf;
  color: var(--accent);
  font-family: var(--heading-font);
  font-size: 1.35rem;
  font-weight: 400;
}

.feature-detail-card h2,
.detail-block h3 {
  font-family: var(--heading-font);
  font-weight: 400;
  letter-spacing: 0;
}

.feature-detail-card h2 {
  font-size: 1.55rem;
  margin: 0;
}

.check-list,
.mini-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li,
.mini-list li {
  position: relative;
  color: var(--ink);
  line-height: 1.35;
}

.check-list li {
  padding-left: 1.15rem;
  margin-bottom: .55rem;
  font-size: .92rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #16884f;
  font-weight: 800;
}

.detail-block-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.detail-block {
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(36,31,25,.08);
  border-radius: 1rem;
  padding: 1.5rem;
}

.detail-block h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.mini-list li {
  padding-left: .9rem;
  margin-bottom: .45rem;
  color: var(--muted);
}

.mini-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 800;
}

.workflow-step {
  background: var(--white-glass);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: 0 20px 50px rgba(0,0,0,.07);
}

.workflow-step h3 {
  font-size: 2rem;
  letter-spacing: 0;
  margin-bottom: .65rem;
}

.workflow-media {
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(36,31,25,.1);
  border-radius: .9rem;
  background: rgba(255,253,248,.72);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45);
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.workflow-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.workflow-illustration {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: .9rem;
  border: 1px solid rgba(36,31,25,.1);
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,.85), transparent 30%),
    linear-gradient(135deg, rgba(255,253,248,.74), rgba(239,227,207,.58));
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.workflow-illustration::before {
  content: "";
  position: absolute;
  inset: auto -12% -36% 36%;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(123,79,44,.1);
}

.illustration-page,
.details-panel,
.style-page,
.preview-window,
.export-file {
  position: absolute;
  border: 1px solid rgba(36,31,25,.14);
  background: rgba(255,253,248,.88);
  box-shadow: 0 18px 38px rgba(36,31,25,.1);
}

.illustration-page {
  width: 34%;
  height: 58%;
  left: 18%;
  top: 16%;
  border-radius: .7rem;
  padding: 1rem;
}

.page-back {
  transform: rotate(-7deg) translate(-.55rem, .35rem);
  background: rgba(239,227,207,.72);
}

.page-front {
  transform: rotate(3deg);
}

.page-line,
.field-line,
.style-line {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: rgba(36,31,25,.16);
  margin-bottom: .6rem;
}

.page-line.wide,
.field-line.wide,
.style-line.wide {
  width: 82%;
}

.page-line,
.field-line,
.style-line {
  width: 64%;
}

.page-line.short,
.field-line.short,
.style-line.short {
  width: 45%;
}

.upload-tray {
  position: absolute;
  right: 18%;
  bottom: 24%;
  width: 24%;
  height: 12%;
  border: 2px solid rgba(36,31,25,.5);
  border-top: 0;
  border-radius: 0 0 .45rem .45rem;
}

.upload-arrow {
  position: absolute;
  right: 27%;
  top: 26%;
  width: 2px;
  height: 34%;
  background: var(--accent);
}

.upload-arrow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: .8rem;
  height: .8rem;
  border-left: 2px solid var(--accent);
  border-top: 2px solid var(--accent);
  transform: translateX(-50%) rotate(45deg);
}

.book-cover-shape {
  position: absolute;
  left: 14%;
  top: 20%;
  width: 27%;
  height: 58%;
  border-radius: .65rem;
  background: var(--ink);
  box-shadow: 0 18px 38px rgba(36,31,25,.14);
}

.book-cover-shape::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  top: 18%;
  height: 9px;
  border-radius: 999px;
  background: rgba(255,250,241,.72);
  box-shadow: 0 1.1rem 0 rgba(255,250,241,.38);
}

.details-panel {
  right: 14%;
  top: 18%;
  width: 42%;
  height: 38%;
  border-radius: .8rem;
  padding: 1rem;
}

.section-stack {
  position: absolute;
  right: 20%;
  bottom: 18%;
  display: grid;
  gap: .45rem;
  width: 34%;
}

.section-stack span {
  height: .75rem;
  border-radius: 999px;
  background: rgba(123,79,44,.24);
}

.style-page {
  left: 16%;
  top: 16%;
  width: 35%;
  height: 64%;
  border-radius: .75rem;
  padding: 1rem;
}

.style-heading {
  display: block;
  width: 58%;
  height: 12px;
  border-radius: 999px;
  background: var(--ink);
  margin: .1rem auto 1rem;
}

.swatch-row {
  position: absolute;
  right: 16%;
  top: 22%;
  display: flex;
  gap: .55rem;
}

.swatch-row span {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  border: 1px solid rgba(36,31,25,.12);
}

.swatch-row span:nth-child(1) { background: #fffaf1; }
.swatch-row span:nth-child(2) { background: #7b4f2c; }
.swatch-row span:nth-child(3) { background: #241f19; }

.slider-control {
  position: absolute;
  right: 16%;
  bottom: 28%;
  width: 34%;
  height: 3px;
  border-radius: 999px;
  background: rgba(36,31,25,.24);
}

.slider-control span {
  position: absolute;
  left: 55%;
  top: 50%;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 20px rgba(36,31,25,.18);
}

.preview-window {
  left: 13%;
  top: 16%;
  width: 54%;
  height: 60%;
  border-radius: .8rem;
  padding-top: 1.4rem;
}

.window-dot {
  position: absolute;
  top: .55rem;
  width: .42rem;
  height: .42rem;
  border-radius: 50%;
  background: rgba(36,31,25,.22);
}

.window-dot:nth-child(1) { left: .7rem; }
.window-dot:nth-child(2) { left: 1.35rem; }
.window-dot:nth-child(3) { left: 2rem; }

.preview-book {
  width: 38%;
  height: 66%;
  margin: .7rem auto 0;
  border-radius: .45rem;
  background: linear-gradient(90deg, rgba(36,31,25,.08), transparent 14%), #fffaf1;
  border: 1px solid rgba(36,31,25,.12);
}

.export-file {
  right: 12%;
  width: 22%;
  height: 24%;
  border-radius: .65rem;
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: .7rem;
  font-weight: 800;
}

.epub-file { top: 22%; }
.pdf-file {
  bottom: 20%;
  background: var(--ink);
  color: var(--paper);
}

.step-meta {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  display: inline-grid;
  place-items: center;
  font-size: .8rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.stacked-questions > div,
.contact-prompts > div {
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(36,31,25,.1);
}

.stacked-questions > div:last-child,
.contact-prompts > div:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.text-link {
  display: inline-flex;
  font-weight: 800;
  text-decoration: none;
}

.measure {
  max-width: 760px;
}

.legal-copy h2 {
  font-family: var(--heading-font);
  font-weight: 400;
  letter-spacing: 0;
}

.faq-help-card {
  background: rgba(255,255,255,.56);
  border: 1px solid rgba(36,31,25,.09);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 16px 40px rgba(36,31,25,.07);
}

.legal-copy p,
.legal-copy li {
  color: var(--muted);
  font-size: 1.05rem;
}

.legal-copy ul,
.legal-copy ol {
  margin-bottom: 1rem;
}

.legal-copy li {
  margin-bottom: .35rem;
}

.faq-section {
  padding-top: 4.5rem;
}

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

.faq-group {
  overflow: visible;
}

.faq-card-stack {
  display: grid;
  gap: 1rem;
}

.faq-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 1rem;
  min-height: 160px;
  padding: 1.35rem;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(36,31,25,.09);
  border-radius: 1rem;
  box-shadow: 0 16px 38px rgba(36,31,25,.06);
}

.faq-number {
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: .8rem;
  font-weight: 800;
}

.faq-card h2 {
  font-family: var(--heading-font);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: .95;
  letter-spacing: 0;
  margin-bottom: .7rem;
}

.faq-card p {
  color: var(--muted);
  font-size: .98rem;
  margin: 0;
}

.legal-copy {
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(36,31,25,.08);
  border-radius: 1.25rem;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.legal-copy h2 {
  margin-top: 2rem;
  font-size: 2rem;
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.footer-brand {
  font-size: 2rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding-top: 1.25rem;
  font-size: .9rem;
}

@media (max-width: 991.98px) {
  .deckle-nav-panel {
    width: min(86vw, 24rem);
    border-left: 1px solid rgba(36,31,25,.12);
    box-shadow: -24px 0 60px rgba(36,31,25,.14);
  }
  .deckle-nav-panel .offcanvas-header,
  .deckle-nav-panel .offcanvas-body {
    padding: 1.5rem;
  }
  .deckle-nav-panel .navbar-nav {
    gap: .35rem;
    width: 100%;
  }
  .deckle-nav-panel .nav-link {
    border-bottom: 1px solid rgba(36,31,25,.08);
    font-size: 1.05rem;
    padding: .9rem 0;
  }
  .deckle-nav-panel .btn {
    width: 100%;
  }
}

@media (max-width: 1199.98px) {
  .trust-strip-home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero-section { padding: 3rem 0 5rem; }
  .page-hero { padding: 3rem 0 3.5rem; }
  .hero-title { font-size: clamp(3.5rem, 16vw, 5rem); }
  .marketing-section { padding: 4.5rem 0; }
  .price-card, .deckle-card { padding: 1.5rem; }
  .trust-strip-home,
  .pricing-trust-strip {
    grid-template-columns: 1fr;
  }
  .workflow-grid,
  .feature-matrix,
  .feature-detail-grid,
  .detail-block-grid,
  .faq-grid,
  .rationale-grid,
  .pro-price-grid,
  .resources-layout,
  .resource-card-grid {
    grid-template-columns: 1fr;
  }
  .resources-filter,
  .article-sidebar {
    position: static;
  }
  .author-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .trial-step {
    grid-template-columns: 1fr;
  }
  .faq-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .footer-grid,
  .footer-bottom {
    flex-direction: column;
  }
  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .resource-card:hover,
  .resource-card:focus-within {
    transform: none;
  }
}
