/* PrestoComic public landing — pure HTML+CSS.
 *
 * Self-contained: this file is the ONLY stylesheet the landing page
 * loads. It does NOT import or share the React app's styles.css —
 * the public site lives outside the SPA on purpose, so its CSS is
 * its own contract.
 *
 * The visual identity (paper background, ink type, accent red,
 * Playfair display, JetBrains mono) is mirrored from the SPA so the
 * transition into the app feels continuous, but if the SPA's styles
 * drift this file does not follow.
 *
 * Copy values here if you change the brand tokens. Keep the file
 * short — this is marketing, not the editor. */

/* ─── Tokens ─────────────────────────────────────────────────────── */
/* Editorial / print-inspired palette. Values aligned to the Claude
 * Design source so the marketing site shares vocabulary with the
 * mockup; once these stabilise we may want to push them into the
 * SPA's tokens too, but for now the public site is self-contained. */
:root {
  --paper:        #f4ede0;     /* newsprint cream — body background */
  --paper-deep:   #ebe2d0;     /* shadowed paper — wells, mockup interior */
  --paper-bright: #faf5ea;     /* highlight paper — navbar, hero */
  --ink:          #1a1613;     /* deep ink — headings, primary text */
  --ink-soft:     #3a3128;     /* body copy */
  --ink-muted:    #7a6f60;     /* secondary, smallcaps tags */
  --ink-faint:    #b8ad9c;     /* tertiary, hairline rules */
  --rule:         #2a221c;     /* hairline rule (slightly warmer than ink) */
  --accent:       #c8321c;     /* comic-book red */
  --accent-deep:  #9a2413;     /* hover/depth */
  --accent-ink:   #2b0d07;     /* shadow on accent buttons */
  --kind-character: #c8321c;
  --kind-setting:   #3d5c2a;
  --kind-outfit:    #1f4a6b;
  --kind-object:    #b8862b;
  --kind-fx:        #7c3aed;
  --r-xs: 3px;
}

/* ─── Reset + base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}
/* Defensive: every section is now a full-bleed top-level block, so
 * we don't NEED this any more, but keeping `overflow-x: clip`
 * protects against any future inner element accidentally extending
 * past the viewport (e.g. via a negative-margin escape hatch).
 * `clip` over `hidden` because it doesn't create a stacking context
 * or a new scroll container. */
html { overflow-x: clip; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

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

/* Subtle paper grain via two layered radial gradients. Gives the
 * background some life without weighing the page down with an image. */
.paper-grain {
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0,0,0,0.012) 0, transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(0,0,0,0.012) 0, transparent 40%);
}

.mono { font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
/* Display matches the editorial system from the design source: heavy
 * weight, tight line-height, slight negative tracking. Used by every
 * section_h, hero h1, gallery card title, etc. */
.display {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.95;
}
.smallcaps {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 600;
}
.muted { color: var(--ink-muted); }
.brand-accent { color: var(--accent); }

/* ─── Buttons ────────────────────────────────────────────────────── */
/* Editorial button system — slightly smaller than a typical web
 * button (closer to magazine-print proportions), with a chunky
 * "stacked" shadow that mirrors the print typography. The accent
 * variant uses `--accent-ink` for the shadow so the depth reads as
 * a darker red, not the regular ink black. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--ink);
  background: var(--paper-bright);
  color: var(--ink);
  font: 600 13px/1.1 "Inter", -apple-system, sans-serif;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border-radius: 3px;
  transition: transform 80ms, box-shadow 80ms, background 120ms;
  box-shadow: 2px 2px 0 var(--ink);
}
.btn:hover {
  background: var(--paper-deep);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--ink);
}
.btn:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 var(--ink);
}
.btn.sm { padding: 6px 10px; font-size: 11.5px; }
.btn.primary {
  background: var(--ink);
  color: var(--paper-bright);
}
.btn.primary:hover { background: var(--accent-ink); }
.btn.accent {
  background: var(--accent);
  color: var(--paper-bright);
  border-color: var(--accent-ink);
  box-shadow: 2px 2px 0 var(--accent-ink);
}
.btn.accent:hover {
  background: var(--accent-deep);
  box-shadow: 3px 3px 0 var(--accent-ink);
}
.btn.ghost {
  background: transparent;
  box-shadow: none;
  border-color: var(--ink-faint);
  color: var(--ink-soft);
}
.btn.ghost:hover {
  color: var(--ink);
  border-color: var(--ink);
  background: var(--paper-deep);
  box-shadow: none;
  transform: none;
}

/* ─── Top navbar ─────────────────────────────────────────────────── */
.landing-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper-bright);
  border-bottom: 1px solid var(--ink-faint);
  backdrop-filter: saturate(140%) blur(6px);
  -webkit-backdrop-filter: saturate(140%) blur(6px);
}
.landing-topbar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.landing-topbar-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
}
.landing-topbar-wordmark {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.landing-topbar-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.landing-topbar-link {
  color: var(--ink);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 80ms;
}
.landing-topbar-link:hover { color: var(--accent); }
.landing-topbar-cta {
  margin-left: 4px;
}

/* ─── Page shell + sections ──────────────────────────────────────── */
/* ─── Section primitives ─────────────────────────────────────────── */
/* The marketing page is a stack of full-bleed `<section>` blocks
 * (each with its own background + optional border-bottom), each
 * containing a `.landing-section-inner` wrapper that constrains the
 * content to the editorial measure. This mirrors the source design
 * where every section breathes from edge to edge while typography
 * stays anchored to a 1240px max. */
.landing-section {
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}
.landing-section-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 32px 64px;
}

/* ─── Hero (two-column) ──────────────────────────────────────────── */
.landing-hero {
  background: var(--paper-bright);
  border-bottom: 1px solid var(--ink);
}
.landing-hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 32px 56px;
  display: grid;
  /* Text column slightly wider than the mockup, matching the source
   * design's 1.15 / 0.85 split — the headline gets room to breathe
   * while the mockup stays compact. */
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: start;
}
.landing-hero-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
}
.hero-h1 {
  margin: 0;
  font-size: clamp(56px, 9vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  /* Heavy display weight inherited from .display, but the em on the
   * second line stays heavy too (NOT the 400-weight italic used in
   * section headlines) — it's the loud, branded counterpoint. */
  color: var(--ink);
  text-wrap: balance;
}
.hero-h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 900;
  display: block;
}
.hero-subtitle {
  margin: 24px 0 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 520px;
  text-wrap: pretty;
}
.hero-cta-row {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.hero-cta-row .btn {
  font-size: 14px;
  padding: 12px 18px;
}

/* ─── Hero — editor mockup (right column) ────────────────────────── */
.landing-hero-mock {
  border: 1px solid var(--ink);
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--ink);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.hero-mock-prompt {
  padding: 14px;
  border-bottom: 1px solid var(--ink);
  background: var(--paper-bright);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-mock-label {
  font-size: 10px;
  color: var(--ink-muted);
  margin-bottom: -2px;
}
.hero-mock-prompt-box {
  border: 1px solid var(--ink-faint);
  background: var(--paper-bright);
  padding: 10px;
  font-size: 12.5px;
  /* Roomier line-height so the inline mention chips don't visually
   * collide with the next text line. */
  line-height: 1.85;
  color: var(--ink);
  border-radius: 3px;
  min-height: 88px;
  max-height: 88px;
  overflow-y: auto;
  overflow-x: hidden;
}
/* Inline mention chip — same visual language as the SPA editor's
 * `.mention-chip`, repeated here because the public landing ships its
 * own standalone stylesheet. */
.mention-chip,
.hero-mock-mention {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.05rem 0.45rem;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  background: var(--paper-bright);
  border: 1px solid var(--ink);
  border-radius: var(--r-xs);
  font-weight: 500;
  white-space: nowrap;
  cursor: default;
  /* Slight vertical lift so the chip baseline aligns with surrounding
   * text without overflowing the line-height. */
  line-height: 1.4;
}
.mention-chip--character,
.hero-mock-mention--character { border-color: var(--kind-character); }
.mention-chip--setting,
.hero-mock-mention--setting { border-color: var(--kind-setting); }
.mention-chip--object,
.hero-mock-mention--object { border-color: var(--kind-object); }
.mention-chip--outfit,
.hero-mock-mention--outfit { border-color: var(--kind-outfit); }
.mention-chip--fx { border-color: var(--kind-fx); }
.hero-mock-pages {
  padding: 12px;
}
.hero-mock-page {
  position: relative;
  /* Fixed height in lieu of aspect-ratio — real comic pages are tall
   * portrait and a square slot would crop. Letting the image keep
   * its natural ratio (height 100%, width auto) shows the full page;
   * lateral space fills with paper-deep. */
  height: 360px;
  border: 1px solid var(--ink);
  background: var(--paper-deep);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-mock-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 34px;
  height: 42px;
  border: 1px solid var(--ink);
  background: rgba(250, 245, 234, 0.92);
  color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  border-radius: 3px;
  font: 700 24px/1 "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 100ms, transform 80ms, box-shadow 80ms;
}
.hero-mock-arrow:hover {
  background: var(--paper-bright);
  transform: translateY(calc(-50% - 1px));
  box-shadow: 3px 3px 0 var(--ink);
}
.hero-mock-arrow:active {
  transform: translateY(calc(-50% + 1px));
  box-shadow: 1px 1px 0 var(--ink);
}
.hero-mock-arrow--prev { left: 28px; }
.hero-mock-arrow--next { right: 28px; }
.hero-mock-page img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.landing-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  scroll-margin-top: 80px; /* sticky navbar offset for #anchor jumps */
}
.landing-section-title {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.02em;
}
.landing-section-lede {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  max-width: 640px;
}

/* ─── Editorial section primitives ───────────────────────────────── */
/* Reusable across the marketing sections (workflow, gallery, …):
 * a smallcaps-mono eyebrow with a § number + tag, a display headline
 * that mixes bold + italic via <em>, and a quiet lede paragraph. */
.section-eyebrow {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 600;
}
.section-eyebrow-num { color: var(--ink-muted); margin-right: 4px; }
.section-eyebrow-tag { color: var(--accent); }

/* Section headline: heavy display weight inherited from `.display`,
 * size pinned at 56px on desktop (clamp on smaller screens). The
 * italic `<em>` part is intentionally LIGHTER (weight 400) — that's
 * the editorial counterpoint that sets these section headlines apart
 * from the hero's heavy h1. */
.section-h {
  margin: 0;
  font-size: clamp(40px, 5.5vw, 56px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section-h em {
  font-style: italic;
  font-weight: 400;
}

.section-subtitle {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 600px;
}

/* ─── Workflow section ("Studio in three acts") ──────────────────── */
.landing-workflow-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 36px;
}
.landing-workflow-head .section-subtitle {
  margin-top: 8px;
}

/* Step grid: bracketed by 3px double rules (top + bottom), with
 * single hairline `--rule` dividers between cells. The doubles are
 * the editorial signature; the single rules between cells are the
 * "column gutters" of a newspaper page. */
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 3px double var(--rule);
  border-bottom: 3px double var(--rule);
}
.workflow-step {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}
.workflow-step + .workflow-step {
  border-left: 1px solid var(--rule);
}

/* Step head: big bold-NOT-italic Playfair number, left-aligned.
 * Roman (not italic) — that contrast against the italic `<em>` in
 * the step h3 below is intentional. */
.workflow-step-head {
  margin-bottom: 18px;
}
.workflow-step-num {
  font-size: 56px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.04em;
}

.workflow-step-h {
  margin: 0 0 6px;
  font-size: 36px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.workflow-step-h em {
  font-style: italic;
  font-weight: 400;
}

.workflow-step-p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.workflow-step-p code {
  background: var(--paper-deep);
  padding: 1px 6px;
  font-size: 13px;
  border: 1px solid var(--ink-faint);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ─── Gallery (full-bleed dark editorial strip) ──────────────────── */
.landing-gallery {
  background: var(--ink);
  color: var(--paper-bright);
}
.landing-gallery-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px 32px 80px;
}
.landing-gallery-head {
  margin-bottom: 28px;
}
/* Headline on dark — cream lead with the italic `<em>` in accent
 * red (same red as on paper). The `.section-h` defaults handle
 * everything else. */
.landing-gallery .section-h { color: var(--paper-bright); }
.landing-gallery .section-h em { color: var(--accent); }

.landing-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.landing-gallery-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #0f0c0a;
  border: 1px solid var(--rule);
  transition: transform 80ms;
}
.landing-gallery-card:hover { transform: translate(-1px, -1px); }
.landing-gallery-card-cover {
  width: 100%;
  aspect-ratio: 2 / 3;
  background: #28262a;
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
}
.landing-gallery-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.landing-gallery-card-meta {
  padding: 14px 16px 16px;
}
.landing-gallery-card-title {
  margin: 4px 0 0;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--paper-bright);
  line-height: 1.05;
}

/* ─── Pricing (editorial typography, content unchanged) ──────────── */
.landing-pricing {
  text-align: center;
}
.landing-pricing .landing-section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding-top: 64px;
  padding-bottom: 72px;
}
.landing-pricing-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.landing-pricing .section-h {
  font-size: clamp(40px, 5.5vw, 56px);
}
.landing-pricing .section-subtitle {
  text-align: center;
  max-width: 520px;
}
.landing-pricing .hero-cta-row {
  justify-content: center;
  margin-top: 8px;
}

/* ─── Reinforcement CTA band (full-bleed accent-red) ─────────────── */
.landing-cta-band {
  background: var(--accent);
  color: var(--paper-bright);
  border-bottom: 1px solid var(--accent-ink);
}
.landing-cta-band-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.landing-cta-band-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.landing-cta-band-h {
  color: var(--paper-bright);
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0;
}
.landing-cta-band-h em {
  color: var(--paper-bright);
  font-style: italic;
  font-weight: 400;
}
/* Button on red: ink-black with an accent-ink stacked shadow. The
 * shadow reads as a darker red, not pitch black, which keeps the
 * tonal palette tight. */
.landing-cta-band-button {
  background: var(--ink);
  color: var(--paper-bright);
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--accent-ink);
  padding: 16px 24px;
  font-size: 16px;
  white-space: nowrap;
}
.landing-cta-band-button:hover {
  background: var(--accent-ink);
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--accent-ink);
}

/* ─── Auth modal (vanilla JS, opens in place) ────────────────────── */
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(26, 22, 19, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  /* Animate in subtly so the modal doesn't slam onto the page. */
  animation: auth-modal-fade 120ms ease-out;
}
.auth-modal[hidden] { display: none; }
@keyframes auth-modal-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.auth-modal-frame {
  width: 100%;
  max-width: 420px;
  background: var(--paper-bright);
  border: 1px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  display: flex;
  flex-direction: column;
}
.auth-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 600;
  background: var(--paper);
}
.auth-modal-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.auth-modal-body .field-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auth-modal-body .field {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: var(--paper-bright);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: var(--ink);
}
.auth-modal-body .field:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(200, 50, 28, 0.2);
}
.auth-modal-error {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--accent);
  background: rgba(200, 50, 28, 0.08);
  color: var(--accent-deep);
  font-size: 13px;
  border-radius: 3px;
}
.auth-modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}
.auth-modal-toggle {
  font-size: 12px;
  padding: 8px 12px;
}
.auth-modal-actions .btn.accent {
  font-size: 14px;
  padding: 11px 18px;
}

@media (max-width: 480px) {
  .auth-modal { padding: 12px; }
  .auth-modal-frame { max-width: 100%; box-shadow: 4px 4px 0 var(--ink); }
  .auth-modal-actions { flex-direction: column-reverse; align-items: stretch; }
  .auth-modal-actions .btn { width: 100%; justify-content: center; }
}

/* ─── Footer (full-bleed, 5-col layout) ──────────────────────────── */
.landing-footer {
  background: var(--paper-bright);
}
.landing-footer-inner {
  /* Single centred wrapper for both the link grid and the bottom
   * strip — they share alignment via this container so paddings
   * line up naturally. */
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 32px 32px;
}
.landing-footer-grid {
  /* Brand column (2fr) plus four equal placeholder columns. The
   * 3px double rule below is the editorial signature carried
   * through from the workflow grid. */
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 3px double var(--rule);
}
.landing-footer-brand {
  display: flex;
  flex-direction: column;
  max-width: 320px;
}
.landing-footer-wordmark {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
}
.landing-footer-tagline {
  margin: 16px 0 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.landing-footer-col {
  display: flex;
  flex-direction: column;
}
.landing-footer-col-h {
  font-size: 11px;
  color: var(--ink-muted);
  margin-bottom: 12px;
}
.landing-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.landing-footer-col a {
  color: var(--ink);
  text-decoration: none;
  font-size: 13.5px;
  transition: color 80ms;
}
.landing-footer-col a:hover { color: var(--accent); }

/* Bottom strip — mono smallcaps copyright (Roman numeral year +
 * city, editorial "colofón") on the left, language toggle on the
 * right. The strip lives inside `.landing-footer-inner` so it shares
 * alignment with the grid above. */
.landing-footer-bottom {
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10.5px;
  color: var(--ink-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
/* The lang toggle inherits the bottom strip's mono + uppercase
 * styling but keeps its own slightly larger size (11px) for tap
 * comfort. The label spans (`<a>` / `<span>`) inherit colour /
 * tracking from the strip. */
.landing-footer-bottom .landing-lang-toggle {
  font-size: 11px;
  letter-spacing: 0.08em;
}

/* Language toggle (footer): inactive lang is an underlined link, the
 * active one is plain text. Crawlers see both as real anchors when
 * they're on the other language page, so each variant points at the
 * other (paired with the hreflang tags in <head>). */
.landing-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--ink-muted);
}
.landing-lang-toggle a {
  color: var(--ink-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--ink-faint);
}
.landing-lang-toggle a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.landing-lang-active {
  color: var(--ink);
  font-weight: 600;
}
.landing-lang-sep { color: var(--ink-faint); }

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .landing-topbar-inner { padding: 10px 16px; gap: 12px; }
  .landing-topbar-nav { gap: 12px; }
  .landing-topbar-nav a.landing-topbar-link { display: none; }
  .landing-topbar-wordmark { font-size: 15px; }

  .landing-hero-inner {
    grid-template-columns: 1fr;
    padding: 48px 16px 56px;
    gap: 48px;
  }
  .hero-h1 { font-size: clamp(44px, 11vw, 72px); }
  .hero-subtitle { font-size: 16px; }
  .hero-mock-prompt { padding: 14px 14px 12px; }
  .hero-mock-page { height: 240px; }
  .hero-mock-foot { padding: 8px 14px; }

  .landing-section-inner { padding: 40px 16px 48px; }
  .landing-section-title { font-size: 22px; }

  /* Workflow section: stack to a single column, swap vertical
   * dividers for horizontal ones so the visual rhythm holds. */
  .workflow-steps { grid-template-columns: 1fr; }
  .workflow-step + .workflow-step {
    border-left: 0;
    border-top: 1px solid var(--ink);
  }
  .workflow-step { padding: 28px 16px; }
  .workflow-step-num { font-size: 52px; }
  .workflow-step-h { font-size: 26px; }

  /* Gallery: single column on phones. */
  .landing-gallery-inner { padding: 56px 16px 64px; }
  .landing-gallery-grid { grid-template-columns: 1fr; gap: 20px; }
  .landing-gallery-head { margin-bottom: 24px; }

  /* CTA band: stack headline + button. */
  .landing-cta-band-inner { padding: 56px 16px; flex-direction: column; align-items: flex-start; gap: 28px; }
  .landing-cta-band-button { width: 100%; justify-content: center; }

  /* Footer: collapse to brand on top, 2-col grid for links below. */
  .landing-footer-inner { padding: 40px 16px 24px; }
  .landing-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding-bottom: 24px;
  }
  .landing-footer-brand { grid-column: 1 / -1; }
  .landing-footer-bottom { padding-top: 14px; }
}
