/* Brand type register for every seo-pages consumer (30 pages incl. /pricing/):
   Archivo display + Inter body + IBM Plex Mono labels — same trio as the app. */
@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800;900&family=IBM+Plex+Mono:wght@400;500;600&family=Inter:wght@400..900&display=swap");

:root {
  color: #101827;
  /* Warm paper base — matches the app's --paper; was cool #f4f6f8 */
  background: #faf9f6;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(29, 78, 216, 0.35);
  outline-offset: 2px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

a {
  color: inherit;
}

pre {
  margin: 12px 0 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  border-radius: 8px;
  background: #101827;
  color: #dbeafe;
  padding: 12px;
}

pre code {
  color: inherit;
}

.page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.06), transparent 34%),
    #faf9f6;
}

.nav,
.hero,
.section,
.footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px;
}

.fableFooterNote {
  display: block;
  margin-top: 10px;
  /* size alone signals "quiet" — opacity stacked on muted text measured 2.60:1 */
  font-size: 0.85em;
}

.fableFooterNote a {
  text-decoration: underline;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  text-decoration: none;
}

.brand span {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #2563eb;
}

.navLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
}

.navLinks a {
  /* Real hit area — bare 14px anchors measured ~21px tall, under the 24px AA floor */
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
}

.hero {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: stretch;
}

.heroCopy,
.panel,
.card,
.answer,
.reportRow {
  background: #ffffff;
  border: 1px solid #dce3ec;
  /* 14px + negative-spread shadow = the app's card system */
  border-radius: 14px;
  box-shadow: 0 18px 40px -24px rgba(24, 33, 47, 0.18);
}

.heroCopy {
  padding: 36px;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-family: "Archivo", Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2.375rem, 1.9rem + 2.2vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.hero p,
.section p,
.card p,
.answer p,
.reportRow p,
.footer {
  /* #55566b = the app's --muted; #64748b measured 4.39:1 on the old bg (AA fail) */
  color: #55566b;
  line-height: 1.55;
}

.tagline {
  color: #334155 !important;
  font-size: 20px;
  margin: 18px 0 0;
}

.ctaRow {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  /* Ported from the app's .primaryCta: pill, brand accent, lift on hover */
  border-radius: 999px;
  background: #2563eb;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 24px -8px rgba(37, 99, 235, 0.35);
  transition: background 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s;
}

.button:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px -8px rgba(37, 99, 235, 0.45);
}

.button.secondary {
  background: #ffffff;
  color: #101827;
  border: 1.5px solid #cfd8e3;
  box-shadow: none;
}

.button.secondary:hover {
  background: #101827;
  color: #ffffff;
  border-color: #101827;
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .button:hover {
    transition: none;
    transform: none;
  }
}

.panel {
  padding: 20px;
}

.panel h2,
.section h2,
.card h2,
.answer h2 {
  margin: 0;
  font-family: "Archivo", Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.panel ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: #334155;
  line-height: 1.55;
}

.section {
  display: grid;
  gap: 16px;
}

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

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

.card,
.answer,
.reportRow {
  padding: 18px;
}

.eyebrow {
  /* Mono micro-cap register — matches the app's .eyebrow (styles.css:81) */
  display: block;
  color: #2563eb;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.price {
  display: block;
  margin-top: 10px;
  font-family: "Archivo", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Per-minute rate under a plan's monthly price — lets creators compare directly
   against the generation $/min costs shown above. */
.perMin {
  margin: 2px 0 0;
  color: #2563eb;
  font-size: 14px;
  font-weight: 600;
}
.perMin strong { font-weight: 900; }

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

.reportRow time {
  color: #2563eb;
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 600;
}

.footer {
  font-size: 14px;
}

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

  .heroCopy {
    padding: 24px;
  }
}

/* Fable substance-proof: real before/after on shipping products. */
.fableProofGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}
.fableProofCard {
  margin: 0;
  background: #ffffff;
  border: 1px solid #dce3ec;
  border-radius: 12px;
  overflow: hidden;
}
.fableProofCard img {
  display: block;
  width: 100%;
  height: auto;
}
.fableProofCard figcaption {
  color: #334155;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 16px;
}
.fableProofNote {
  color: #64748b;
  font-size: 13.5px;
  margin-top: 14px;
}
@media (max-width: 860px) {
  .fableProofGrid {
    grid-template-columns: 1fr;
  }
}
