:root {
  --paper: #e3d9cb;
  --paper-soft: #f1e9dc;
  --ink: #181411;
  --ink-soft: rgba(24, 20, 17, 0.74);
  --line: rgba(24, 20, 17, 0.14);
  --line-strong: rgba(24, 20, 17, 0.32);
  --accent: #8b351f;
  --accent-deep: #5a2316;
  --cream: #fffaf2;
  --night: #161210;
  --night-soft: #221a17;
  --night-line: rgba(255, 243, 225, 0.16);
  --night-copy: #f6ecde;
  --night-muted: rgba(246, 236, 222, 0.74);
  --shadow: 0 28px 80px rgba(34, 20, 14, 0.14);
  --shadow-strong: 0 28px 90px rgba(20, 14, 10, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(139, 53, 31, 0.12), transparent 32%),
    linear-gradient(180deg, #ddd0bf 0%, #d4c8b8 100%);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Avenir Next", "Helvetica Neue", "Apple SD Gothic Neo", sans-serif;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 100%);
  background-size: 34px 34px;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 40;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.96);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  mix-blend-mode: multiply;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.12) 0 0.8px, transparent 1px),
    radial-gradient(circle at 80% 40%, rgba(255, 255, 255, 0.16) 0 0.8px, transparent 1px),
    radial-gradient(circle at 42% 80%, rgba(0, 0, 0, 0.08) 0 0.8px, transparent 1px);
  background-size: 16px 16px, 24px 24px, 22px 22px;
}

.page-shell {
  width: min(1260px, calc(100% - 64px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.hero-panel,
.proof-panel,
.readiness-panel,
.downloads-panel,
.format-panel,
.pricing-panel,
.faq-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-panel,
.proof-panel,
.readiness-panel,
.format-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.08)),
    var(--paper-soft);
}

.downloads-panel,
.pricing-panel,
.faq-panel {
  color: var(--night-copy);
  background:
    radial-gradient(circle at top right, rgba(139, 53, 31, 0.24), transparent 28%),
    linear-gradient(180deg, var(--night-soft), var(--night));
  box-shadow: var(--shadow-strong);
}

.hero-panel {
  padding: 24px 26px 28px;
}

.hero-panel::before,
.hero-panel::after {
  content: "";
  position: absolute;
  width: 92px;
  height: 12px;
  background: rgba(109, 78, 61, 0.16);
}

.hero-panel::before {
  top: -8px;
  left: 42px;
  transform: rotate(-2deg);
}

.hero-panel::after {
  right: 76px;
  bottom: -7px;
  transform: rotate(1.8deg);
}

.topline,
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.eyebrow,
.section-chip,
.sheet-kicker,
.download-kicker,
.format-kicker,
.price-kicker,
.card-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(139, 53, 31, 0.24);
  background: rgba(255, 255, 255, 0.76);
  color: var(--accent-deep);
  font-family: "Menlo", "SFMono-Regular", monospace;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.topline-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.topline-badges span {
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(24, 20, 17, 0.18);
  background: rgba(255, 255, 255, 0.66);
  color: rgba(24, 20, 17, 0.96);
  font-family: "Menlo", monospace;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.8fr);
  gap: 22px;
  align-items: end;
  margin-top: 22px;
}

.serial {
  margin: 0 0 10px;
  color: rgba(24, 20, 17, 0.9);
  font-family: "Menlo", monospace;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.hero-copy h1,
.section-head h2 {
  margin: 0;
  font-family: "Baskerville", "Iowan Old Style", "Palatino Linotype", serif;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  max-width: 8ch;
  font-size: clamp(3.4rem, 8vw, 7rem);
  line-height: 0.9;
}

.hero-lede {
  max-width: 37ch;
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.primary-link,
.secondary-link,
.download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.primary-link,
.download-link {
  color: var(--cream);
  background: var(--accent);
  border-color: rgba(0, 0, 0, 0.18);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.18);
}

.accent-link {
  background: #3f1710;
}

.secondary-link {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.42);
}

.dark-outline {
  color: var(--night-copy);
  border-color: var(--night-line);
  background: rgba(255, 255, 255, 0.04);
}

.primary-link:hover,
.secondary-link:hover,
.download-link:hover,
.doc-links a:hover {
  transform: translateY(-1px);
}

.hero-points {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 18px;
  color: rgba(24, 20, 17, 0.82);
}

.hero-points li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-sheet {
  padding: 16px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.16)),
    rgba(255, 255, 255, 0.28);
}

.sheet-head {
  display: grid;
  gap: 10px;
}

.sheet-head strong {
  font-family: "Baskerville", serif;
  font-size: 1.4rem;
}

.sheet-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.sheet-grid article {
  display: grid;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.sheet-grid span {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid rgba(24, 20, 17, 0.14);
  background: rgba(255, 255, 255, 0.6);
  color: rgba(24, 20, 17, 0.92);
  font-family: "Menlo", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sheet-grid strong {
  line-height: 1.6;
}

.proof-panel,
.readiness-panel,
.downloads-panel,
.format-panel,
.pricing-panel,
.faq-panel {
  margin-top: 18px;
  padding: 24px 26px 26px;
}

.section-head h2 {
  max-width: 16ch;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.98;
}

.proof-grid,
.readiness-grid,
.download-grid,
.format-grid,
.pricing-grid,
.faq-grid {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.proof-grid,
.readiness-grid,
.download-grid,
.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proof-card,
.readiness-card,
.download-card,
.format-card,
.price-card,
.faq-grid article {
  position: relative;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
}

.paper-card,
.readiness-card,
.format-card {
  background: rgba(255, 255, 255, 0.48);
}

.ink-card,
.download-card,
.price-card,
.faq-grid article {
  border-color: var(--night-line);
  background: rgba(255, 255, 255, 0.04);
}

.subtle-card {
  background: rgba(255, 255, 255, 0.06);
}

.readiness-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
}

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

.readiness-list li {
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
  line-height: 1.6;
}

.readiness-list li[data-state="success"] {
  border-color: rgba(91, 32, 19, 0.24);
}

.readiness-list li[data-state="warning"] {
  border-color: rgba(139, 53, 31, 0.34);
  background: rgba(255, 248, 238, 0.74);
}

.contact-grid {
  display: grid;
  gap: 14px;
  margin: 16px 0 0;
}

.contact-grid div {
  display: grid;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.contact-grid dt {
  color: rgba(24, 20, 17, 0.72);
  font-family: "Menlo", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-grid dd {
  margin: 0;
  line-height: 1.6;
}

.card-tag,
.download-kicker,
.format-kicker,
.price-kicker {
  margin-bottom: 16px;
}

.proof-card h3,
.download-card h3,
.price-card h3,
.faq-grid h3 {
  margin: 0;
  font-family: "Baskerville", serif;
  font-size: 1.45rem;
}

.proof-card p,
.download-card p,
.faq-grid p {
  margin: 10px 0 0;
  line-height: 1.7;
}

.download-card p,
.price-card ul,
.faq-grid p {
  color: var(--night-muted);
}

.doc-links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.doc-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--night-line);
  background: rgba(255, 255, 255, 0.04);
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

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

.format-card ul,
.price-card ul {
  margin: 0;
  padding-left: 18px;
}

.format-card li,
.price-card li {
  margin-top: 10px;
  line-height: 1.6;
}

.pricing-grid .muted {
  background: rgba(255, 255, 255, 0.03);
}

.pricing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.price {
  margin: 12px 0 0;
  color: var(--night-copy);
  font-family: "Baskerville", serif;
  font-size: 2.6rem;
  letter-spacing: -0.04em;
}

.is-disabled {
  cursor: not-allowed;
  opacity: 0.42;
  pointer-events: none;
}

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

.faq-grid article {
  padding: 18px 18px 20px;
}

.downloads-panel .section-chip,
.pricing-panel .section-chip,
.mobile-panel .section-chip,
.faq-panel .section-chip,
.downloads-panel .download-kicker,
.mobile-panel .download-kicker,
.pricing-panel .price-kicker {
  border-color: rgba(255, 243, 225, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(246, 236, 222, 0.94);
}

a:focus-visible {
  outline: 2px solid rgba(139, 53, 31, 0.44);
  outline-offset: 4px;
}

@media (max-width: 1040px) {
  .hero-grid,
  .proof-grid,
  .readiness-grid,
  .download-grid,
  .pricing-grid,
  .format-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: grid;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100%, calc(100% - 28px));
    padding: 14px 0 28px;
  }

  .hero-panel,
  .proof-panel,
  .downloads-panel,
  .format-panel,
  .pricing-panel,
  .faq-panel {
    padding: 18px 16px 18px;
  }

  .topline,
  .section-head {
    display: grid;
  }

  .hero-copy h1 {
    font-size: 3.15rem;
  }

  .hero-actions {
    display: grid;
  }

  .pricing-actions {
    display: grid;
  }
}
