/*  Dialektik — editorial palette (paper, ink, oxblood) + Fraunces / Hanken Grotesk via Google Fonts.  */

:root {
  --bg: #f1eadc; /* paper */
  --bg-elev: #e8dfca; /* deeper paper, for elevated surfaces */
  --ink: #181513;
  --ink-soft: #4a4540;
  --ink-faint: #8a8275;
  --rule: #c4bba2;
  --rule-strong: #a89e83;
  --accent: #5b1a1a; /* oxblood — for verdicts and critical CTAs */
  --accent-soft: #ead7c5;
  --ok: #2d6a4f;
  --warn: #8a5a1c;
  --err: #8a2818;
  --shadow: 0 1px 0 rgba(24, 21, 19, 0.05), 0 6px 24px rgba(24, 21, 19, 0.07);
  --serif:
    "Fraunces", ui-serif, "Iowan Old Style", "Charter", "Cambria", Georgia,
    serif;
  --sans:
    "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    "Roboto", "Helvetica", sans-serif;
  --mono:
    ui-monospace, "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.hidden {
  display: none !important;
}
.muted {
  color: var(--ink-soft);
}
.faint {
  color: var(--ink-faint);
}

/* ── Buttons ── */
button {
  font: inherit;
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--rule-strong);
  color: var(--ink);
  padding: 0.55rem 0.95rem;
  border-radius: 6px;
  transition:
    background 0.12s ease,
    border-color 0.12s ease;
}
button:hover:not(:disabled) {
  background: var(--bg-elev);
  border-color: var(--ink);
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button.primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
button.primary:hover:not(:disabled) {
  background: var(--accent);
  border-color: var(--accent);
}
button.accent {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
button.ghost {
  border-color: transparent;
}
button.small {
  padding: 0.3rem 0.55rem;
  font-size: 0.85rem;
}
button.danger {
  border-color: var(--err);
  color: var(--err);
}
button.danger:hover {
  background: var(--err);
  color: var(--bg);
}

/* ── Inputs ── */
input,
textarea {
  font: inherit;
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--rule-strong);
  border-radius: 6px;
  background: var(--bg-elev);
  color: var(--ink);
}
input:focus,
textarea:focus {
  border-color: var(--ink);
}
textarea {
  font-family: var(--sans);
  resize: vertical;
  min-height: 6rem;
  line-height: 1.55;
}

/* ── Auth screen ── */
.auth {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}
.auth-card {
  width: 100%;
  max-width: 26rem;
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
}
.brand {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 0.25rem;
  text-align: center;
}
.tagline {
  text-align: center;
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}
.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
}
.auth-tabs button {
  flex: 1;
  border: 0;
  border-radius: 0;
  padding: 0.55rem 0;
  border-bottom: 2px solid transparent;
  font-weight: 500;
  color: var(--ink-soft);
}
.auth-tabs button.active {
  border-bottom-color: var(--accent);
  color: var(--ink);
}
.auth-card form {
  display: grid;
  gap: 0.85rem;
}
.field-error {
  color: var(--err);
  font-size: 0.85rem;
  margin: 0;
  min-height: 1.2em;
}

/* ── App shell ── */
.app {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100vh;
}
.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--rule);
  background: var(--bg-elev);
}
.nav .brand {
  font-size: 1.25rem;
  margin: 0;
  text-align: left;
}
.nav-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.nav-actions .nav-link {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  padding: 0.4rem 0.65rem;
  border-radius: 6px;
}
.nav-actions .nav-link.active {
  color: var(--ink);
  background: var(--bg);
}

/* Usage pill */
.usage-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--rule-strong);
  border-radius: 99px;
  background: var(--bg-elev);
  font-size: 0.85rem;
  color: var(--ink-soft);
  cursor: default;
}
.usage-pill .dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 99px;
  background: var(--ok);
}
.usage-pill[data-status="amber"] .dot {
  background: var(--warn);
}
.usage-pill[data-status="red"] .dot {
  background: var(--err);
}
.usage-pill[data-status="amber"] {
  border-color: var(--warn);
  color: var(--ink);
}
.usage-pill[data-status="red"] {
  border-color: var(--err);
  color: var(--err);
}

/* ── Layout ── */
.layout {
  display: grid;
  grid-template-columns: 18rem 1fr;
  min-height: 0;
}
.sidebar {
  border-right: 1px solid var(--rule);
  background: var(--bg-elev);
  padding: 1rem;
  overflow-y: auto;
}
.sidebar h3 {
  font-family: var(--sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  margin: 1.25rem 0 0.5rem;
  font-weight: 600;
}
.chat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.chat-list li button {
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  padding: 0.5rem 0.65rem;
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chat-list li button:hover {
  background: var(--bg);
  color: var(--ink);
}
.chat-list li button.active {
  background: var(--accent-soft);
  color: var(--ink);
  border-color: var(--accent);
}

.main-pane {
  padding: 1.5rem;
  max-width: 60rem;
  margin: 0 auto;
  width: 100%;
}

/* ── Composer ── */
.composer {
  display: grid;
  gap: 0.85rem;
}
.composer h2 {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.composer .actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.composer .hint {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0;
}

/* Refine chat bubble */
.refine-thread {
  display: grid;
  gap: 0.65rem;
  max-height: 26rem;
  overflow-y: auto;
  padding: 0.5rem;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--bg-elev);
}
.bubble {
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  max-width: 85%;
  white-space: pre-wrap;
  line-height: 1.55;
}
.bubble.user {
  background: var(--ink);
  color: var(--bg);
  margin-left: auto;
}
.bubble.assistant {
  background: var(--bg);
  border: 1px solid var(--rule);
}

/* ── Debate live view ── */
.debate-stage {
  display: grid;
  gap: 1.25rem;
}
.round {
  display: grid;
  gap: 0.85rem;
}
.round h3 {
  font-family: var(--sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  margin: 0;
  font-weight: 600;
}
.agent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 0.85rem;
}
.agent-card {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 0.95rem 1.1rem;
  display: grid;
  gap: 0.5rem;
}
.agent-card .role {
  font-family: var(--sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--accent);
}
.agent-card .model {
  font-size: 0.78rem;
  color: var(--ink-faint);
  font-family: var(--mono);
}
.agent-card .text {
  font-size: 0.92rem;
  line-height: 1.55;
  white-space: pre-wrap;
  color: var(--ink-soft);
}
.agent-card .text:empty::after {
  content: "thinking…";
  color: var(--ink-faint);
  font-style: italic;
}
.agent-card.done .text {
  color: var(--ink);
}

.synth-card {
  background: var(--bg-elev);
  border: 2px solid var(--accent);
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow);
}
.synth-card h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  margin: 0 0 0.85rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.synth-card .text {
  font-size: 1rem;
  line-height: 1.65;
  white-space: pre-wrap;
}
.synth-card .text h2,
.synth-card .text h3 {
  font-family: var(--serif);
  font-weight: 600;
  margin: 1.2em 0 0.4em;
}
.synth-card .text h2 {
  font-size: 1.15rem;
}
.synth-card .text h3 {
  font-size: 1rem;
}
.synth-card .text strong {
  font-weight: 600;
}

.debate-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--ink-faint);
  font-family: var(--mono);
}

/* ── Banners ── */
.banner {
  border: 1px solid var(--rule-strong);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  background: var(--bg-elev);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.banner.warn {
  border-color: var(--warn);
  background: #f0e2c0;
}
.banner.err {
  border-color: var(--err);
  background: #ead4cd;
}
.banner .body {
  flex: 1;
  font-size: 0.9rem;
}
.banner .body strong {
  display: block;
  margin-bottom: 0.15rem;
}
.banner .actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

/* ── Billing ── */
.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.tier-card {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.25rem 1.35rem;
  display: grid;
  gap: 0.5rem;
}
.tier-card.current {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.tier-card h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  margin: 0;
  font-weight: 600;
}
.tier-card .price {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.tier-card .price small {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 400;
}
.tier-card ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.2rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.tier-card ul li {
  margin: 0.2rem 0;
}
.tier-card button {
  width: 100%;
}

/* ── Loading shimmer / spinner ── */
.spinner {
  display: inline-block;
  width: 0.85rem;
  height: 0.85rem;
  border: 2px solid var(--rule-strong);
  border-top-color: var(--ink);
  border-radius: 99px;
  animation: spin 0.65s linear infinite;
  vertical-align: middle;
  margin-right: 0.4rem;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── Marketing landing ── */
.landing {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.landing-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
}
.landing-nav .brand {
  font-size: 1.4rem;
  margin: 0;
}
.landing-nav .actions {
  display: flex;
  gap: 0.5rem;
}
.hero {
  padding: 3.5rem 0 4rem;
  text-align: center;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  font-weight: 600;
}
.hero p.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 38rem;
  margin: 0 auto 2rem;
  line-height: 1.55;
}
.hero .cta-row {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.hero .cta-row button {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

.section {
  padding: 3rem 0;
  border-top: 1px solid var(--rule);
}
.section h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2rem);
  margin: 0 0 0.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.section .sub {
  color: var(--ink-soft);
  margin: 0 0 2rem;
  max-width: 36rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem;
  counter-reset: step;
}
.step {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.5rem 1.5rem 1.65rem;
  position: relative;
  counter-increment: step;
}
.step::before {
  content: "0" counter(step);
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 0.65rem;
}
.step h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
  font-weight: 600;
}
.step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

.roles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0.85rem;
}

/* Five-roles section: 4 cards across the top, connector, synthesizer below.
   On narrow viewports the grid wraps and the connector hides — the card
   order alone preserves the semantic. */
.roles-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.role-connector {
  position: relative;
  height: 2.25rem;
  width: 100%;
  margin: 0.85rem 0 0.5rem;
}
/* Horizontal bracket spanning the full width above the synth card. */
.role-connector::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--rule-strong);
}
/* Wings: short vertical strokes at each tip, pointing up toward the four
   role cards — visual "this line gathers from those four". */
.role-connector .wing {
  position: absolute;
  top: -0.55rem;
  width: 1px;
  height: 0.6rem;
  background: var(--rule-strong);
}
.role-connector .wing-left {
  left: 0;
}
.role-connector .wing-right {
  right: 0;
}
/* Drop: vertical line from the center of the horizontal bracket down to the
   synthesizer card — the funnel. */
.role-connector .drop {
  position: absolute;
  top: 1px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: calc(100% - 1px);
  background: var(--rule-strong);
}

.role-synth {
  max-width: 22rem;
  margin: 0 auto;
  border-color: var(--accent);
  background: var(--accent-soft);
}
.role-tile {
  background: var(--bg-elev);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 1rem 1.15rem;
}
.role-tile .role-name {
  font-family: var(--sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 0.4rem;
}
.role-tile .role-job {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.faq details {
  border-bottom: 1px solid var(--rule);
  padding: 1rem 0;
}
.faq details:first-of-type {
  border-top: 1px solid var(--rule);
}
.faq summary {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "＋";
  color: var(--accent);
  font-weight: 400;
  transition: transform 0.15s;
}
.faq details[open] summary::after {
  content: "－";
}
.faq details p {
  margin: 0.85rem 0 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.landing-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--ink-faint);
  font-size: 0.88rem;
}

/* ── Mobile ── */
@media (max-width: 760px) {
  .nav {
    grid-template-columns: auto auto;
    gap: 0.5rem;
    padding: 0.65rem 0.85rem;
  }
  .nav .usage-pill {
    grid-column: 1 / -1;
    justify-self: stretch;
    justify-content: center;
  }
  .nav-actions button {
    padding: 0.35rem 0.55rem;
    font-size: 0.85rem;
  }
  .layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
    max-height: 14rem;
  }
  .main-pane {
    padding: 1rem;
  }
  .auth-card {
    padding: 1.5rem 1.25rem;
  }
  .synth-card {
    padding: 1.1rem 1.15rem;
  }
  /* Roles section: 4-col bracket doesn't make sense when cards wrap. Drop to
     auto-fit and hide the connector; the cards themselves carry the meaning. */
  .roles-four {
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  }
  .role-connector {
    display: none;
  }
  .role-synth {
    margin-top: 0.85rem;
  }
}

/* ─────────────────────────────────────────────────────────────
   MARKETING — editorial layout (added 2026-04-27)
   Used by index.html. Legacy .landing-* and .role-tile classes
   above are kept for backward compat; classes here define the
   new editorial structure.
   ───────────────────────────────────────────────────────────── */

.editorial {
  min-height: 100vh;
  font-feature-settings: "ss01", "kern", "liga", "calt", "onum";
  font-variation-settings:
    "opsz" 14,
    "SOFT" 50;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.08  0 0 0 0 0.07  0 0 0 0 0.06  0 0 0 0.04 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
  background-repeat: repeat;
}
.editorial ::selection {
  background: var(--accent);
  color: var(--bg);
}
.editorial a {
  color: inherit;
  text-decoration: none;
}

.editorial .label {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: inline-block;
}
.editorial .label--ox {
  color: var(--accent);
}

.editorial .fleuron {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin: 5rem auto 4.5rem;
  max-width: 76rem;
  padding: 0 1.5rem;
}
.editorial .fleuron::before,
.editorial .fleuron::after {
  content: "";
  flex: 0 0 5rem;
  height: 1px;
  background: var(--rule);
}
.editorial .fleuron-mark {
  width: 8px;
  height: 8px;
  background: var(--accent);
  transform: rotate(45deg);
  flex: 0 0 8px;
}

/* Masthead */
.editorial .masthead {
  max-width: 76rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 1.75rem;
}
.editorial .masthead-rules {
  position: relative;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 1.25rem 0 1.1rem;
}
.editorial .masthead-rules::before,
.editorial .masthead-rules::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ink);
}
.editorial .masthead-rules::before {
  top: 4px;
}
.editorial .masthead-rules::after {
  bottom: 4px;
}
.editorial .masthead-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}
.editorial .masthead-volume {
  font-family: var(--sans);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 500;
}
.editorial .masthead-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.25rem;
}
.editorial .masthead-actions a {
  font-family: var(--sans);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  transition: color 200ms ease;
}
.editorial .masthead-actions a:hover {
  color: var(--accent);
}
.editorial .masthead-actions a.cta {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  letter-spacing: 0.18em;
}
.editorial .masthead-actions a.cta:hover {
  color: var(--ink);
  border-color: var(--ink);
}
.editorial .wordmark {
  font-family: var(--serif);
  font-variation-settings:
    "opsz" 144,
    "SOFT" 30,
    "WONK" 1,
    "wght" 700;
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: -0.005em;
  line-height: 0.9;
  text-align: center;
  white-space: nowrap;
  color: var(--ink);
  display: inline-block;
}
.editorial .wordmark .delta {
  display: inline-block;
  color: var(--accent);
  font-style: italic;
  font-variation-settings:
    "opsz" 144,
    "SOFT" 50,
    "WONK" 1,
    "wght" 600;
  transform: translateY(-0.04em);
  margin-right: -0.04em;
}
.editorial .masthead-tagline {
  font-family: var(--serif);
  font-style: italic;
  text-align: center;
  color: var(--ink-soft);
  margin: 1rem 0 0;
  font-size: 1rem;
  font-variation-settings:
    "opsz" 14,
    "SOFT" 80,
    "wght" 380;
}

@media (max-width: 720px) {
  .editorial .masthead-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    text-align: center;
  }
  .editorial .masthead-actions {
    justify-content: center;
    gap: 1.25rem;
  }
}

/* Hero */
.editorial .hero-editorial {
  max-width: 76rem;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 2rem;
}
.editorial .hero-question {
  text-align: center;
  margin-bottom: 4rem;
}
.editorial .hero-question .label {
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.editorial .hero-question .label::before,
.editorial .hero-question .label::after {
  content: "";
  width: 1.4rem;
  height: 1px;
  background: var(--rule-strong);
}
.editorial .hero-question h1 {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 5.5vw, 4.25rem);
  font-weight: 380;
  font-variation-settings:
    "opsz" 144,
    "SOFT" 25,
    "wght" 380;
  line-height: 1.02;
  letter-spacing: -0.018em;
  max-width: 22ch;
  margin: 0 auto;
  color: var(--ink);
}
.editorial .hero-question h1 em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings:
    "opsz" 144,
    "SOFT" 80,
    "wght" 380;
}

.editorial .hero-debate {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: stretch;
}
.editorial .hero-debate-rule {
  background: var(--rule);
  width: 1px;
  position: relative;
}
.editorial .hero-debate-rule::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 6px;
  height: 6px;
  background: var(--bg);
  border: 1px solid var(--accent);
}
.editorial .hero-thesis {
  padding-right: 2.75rem;
}
.editorial .hero-antithesis {
  padding-left: 2.75rem;
}
.editorial .position-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--sans);
  font-size: 0.6875rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.editorial .position-label::after {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: var(--accent);
  opacity: 0.55;
}
.editorial .hero-thesis p,
.editorial .hero-antithesis p {
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-soft);
  text-align: justify;
  hyphens: auto;
  font-variation-settings:
    "opsz" 14,
    "SOFT" 60,
    "wght" 400;
  margin: 0;
}
.editorial .hero-thesis p strong,
.editorial .hero-antithesis p strong {
  font-weight: 600;
  color: var(--ink);
}

.editorial .hero-synthesis {
  max-width: 38rem;
  margin: 3.5rem auto 0;
  padding: 2.25rem 0 0;
  text-align: center;
  border-top: 1px solid var(--ink);
  position: relative;
  animation: editFadeUp 900ms 600ms cubic-bezier(0.2, 0.8, 0.3, 1) backwards;
}
.editorial .hero-synthesis::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -1px;
  transform: translate(-50%, -50%);
  width: 2.25rem;
  height: 0.7rem;
  background: var(--bg);
}
.editorial .hero-synthesis::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -1px;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 0.55rem;
  height: 0.55rem;
  background: var(--accent);
}
.editorial .hero-synthesis .label {
  margin-bottom: 1.25rem;
  padding-top: 1.5rem;
  display: inline-block;
}
.editorial .hero-synthesis p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.125rem, 1.85vw, 1.4rem);
  line-height: 1.4;
  color: var(--ink);
  font-variation-settings:
    "opsz" 36,
    "SOFT" 80,
    "wght" 380;
  max-width: 32ch;
  margin: 0 auto;
}
.editorial .hero-synthesis p .stress {
  font-style: normal;
  font-weight: 500;
  background: linear-gradient(transparent 65%, rgba(91, 26, 26, 0.14) 65%);
  padding: 0 0.05em;
}

@keyframes editFadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.editorial .hero-cta {
  margin-top: 3.5rem;
  text-align: center;
}
.editorial .btn-editorial {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1875rem;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding: 0.25rem 0 0.45rem;
  font-variation-settings:
    "opsz" 36,
    "SOFT" 80,
    "wght" 450;
  transition:
    color 220ms ease,
    border-color 220ms ease;
}
.editorial .btn-editorial .arrow {
  font-style: normal;
  display: inline-block;
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.3, 1);
}
.editorial .btn-editorial:hover,
.editorial .btn-editorial:focus-visible {
  color: var(--ink);
  border-color: var(--ink);
  outline: none;
}
.editorial .btn-editorial:hover .arrow,
.editorial .btn-editorial:focus-visible .arrow {
  transform: translateX(5px);
}
.editorial .btn-aside {
  display: block;
  font-family: var(--sans);
  font-size: 0.8125rem;
  color: var(--ink-faint);
  margin-top: 0.9rem;
  letter-spacing: 0.01em;
}
.editorial .btn-aside em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
  font-variation-settings:
    "opsz" 14,
    "SOFT" 80;
}

@media (max-width: 820px) {
  .editorial .hero-debate {
    grid-template-columns: 1fr;
  }
  .editorial .hero-debate-rule {
    width: 100%;
    height: 1px;
    margin: 2rem 0;
  }
  .editorial .hero-thesis,
  .editorial .hero-antithesis {
    padding: 0;
  }
}
@media (max-width: 480px) {
  .editorial .hero-editorial {
    padding: 3rem 1.25rem 1.5rem;
  }
  .editorial .hero-question {
    margin-bottom: 3rem;
  }
}

/* Verdict */
.editorial .verdict-section {
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.editorial .verdict-head {
  text-align: center;
  margin-bottom: 2.25rem;
}
.editorial .verdict-head .label {
  margin-bottom: 1.1rem;
}
.editorial .verdict-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.6vw, 2.625rem);
  font-weight: 380;
  font-variation-settings:
    "opsz" 96,
    "SOFT" 30,
    "wght" 380;
  line-height: 1.1;
  letter-spacing: -0.014em;
  max-width: 24ch;
  margin: 0 auto;
}
.editorial .verdict-head h2 em,
.editorial .ed-section-head h2 em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings:
    "opsz" 96,
    "SOFT" 80,
    "wght" 380;
}
.editorial .verdict-head .deck,
.editorial .ed-section-head .deck {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1.0625rem;
  margin: 1.1rem auto 0;
  max-width: 38rem;
  font-variation-settings:
    "opsz" 14,
    "SOFT" 70,
    "wght" 380;
}
.editorial .verdict-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--sans);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 0.75rem 0;
  margin: 0 auto 2.75rem;
  max-width: 60rem;
  font-weight: 500;
}
.editorial .verdict-meta strong {
  color: var(--ink);
  font-weight: 700;
}
.editorial .verdict-meta .meta-disposition strong {
  color: var(--accent);
}

.editorial .verdict-page {
  display: grid;
  grid-template-columns: minmax(0, 36rem) 1px minmax(14rem, 18rem);
  gap: 0 2.75rem;
  max-width: 60rem;
  margin: 0 auto;
  align-items: start;
}
.editorial .verdict-rule {
  background: var(--rule);
  width: 1px;
  align-self: stretch;
}
.editorial .verdict-question {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 2.25rem;
  font-variation-settings:
    "opsz" 36,
    "SOFT" 70,
    "wght" 380;
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
}
.editorial .verdict-question .q-mark {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-right: 0.7rem;
  font-style: normal;
  vertical-align: 0.18em;
}
.editorial .verdict-body {
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--ink);
  font-variation-settings:
    "opsz" 14,
    "SOFT" 50,
    "wght" 400;
  text-align: justify;
  hyphens: auto;
}
.editorial .verdict-body p {
  margin-bottom: 1rem;
}
.editorial .verdict-body p:last-child {
  margin-bottom: 0;
}
.editorial .verdict-body .lead .dropcap {
  float: left;
  font-family: var(--serif);
  font-size: 4.6rem;
  line-height: 0.85;
  font-weight: 600;
  font-variation-settings:
    "opsz" 144,
    "SOFT" 25,
    "wght" 600;
  color: var(--accent);
  margin: 0.2rem 0.5rem -0.15rem 0;
  padding-top: 0.05em;
  font-style: normal;
}
.editorial .verdict-body sup.fn {
  font-family: var(--sans);
  font-size: 0.62em;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0.05em;
  vertical-align: 0.55em;
}
.editorial .verdict-body em.term {
  font-style: italic;
  color: var(--accent);
  font-variation-settings:
    "opsz" 14,
    "SOFT" 80,
    "wght" 450;
}
.editorial .verdict-stamp {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--rule);
}
.editorial .verdict-stamp-text {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  margin: 0;
  font-variation-settings:
    "opsz" 14,
    "SOFT" 80,
    "wght" 400;
}
.editorial .verdict-stamp-text em {
  color: var(--ink);
  font-weight: 500;
}
.editorial .verdict-stamp-seal {
  width: 78px;
  height: 78px;
  flex: 0 0 78px;
}

.editorial .verdict-margin {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-soft);
  padding-top: 0.4rem;
  font-variation-settings:
    "opsz" 14,
    "SOFT" 70,
    "wght" 380;
}
.editorial .marginalia {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1.75rem;
}
.editorial .marginalia:last-child {
  margin-bottom: 0;
}
.editorial .marginalia p {
  margin: 0;
}
.editorial .marginalia-marker {
  position: absolute;
  left: 0;
  top: 0.05rem;
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 800;
  font-style: normal;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.editorial .marginalia em.role {
  font-style: normal;
  color: var(--ink);
  font-weight: 600;
  font-variation-settings:
    "opsz" 14,
    "SOFT" 50,
    "wght" 600;
}
.editorial .marginalia em.role::after {
  content: " · ";
  color: var(--ink-faint);
  font-weight: 400;
}

@media (max-width: 980px) {
  .editorial .verdict-page {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .editorial .verdict-rule {
    display: none;
  }
  .editorial .verdict-margin {
    border-top: 1px solid var(--rule);
    padding-top: 1.5rem;
    margin-top: 2rem;
  }
}
@media (max-width: 540px) {
  .editorial .verdict-meta {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
    padding: 0.9rem 0;
  }
  .editorial .verdict-stamp {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 1rem;
  }
  .editorial .verdict-body .lead .dropcap {
    font-size: 3.75rem;
  }
}

/* Generic editorial section header */
.editorial .ed-section-head {
  text-align: center;
  margin-bottom: 3.25rem;
  max-width: 76rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.5rem;
}
.editorial .ed-section-head .label {
  margin-bottom: 1.1rem;
}
.editorial .ed-section-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 380;
  font-variation-settings:
    "opsz" 96,
    "SOFT" 35,
    "wght" 380;
  line-height: 1.05;
  letter-spacing: -0.018em;
  margin: 0 auto;
  max-width: 22ch;
}

/* Bench */
.editorial .bench {
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.editorial .bench-panel {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  position: relative;
}
.editorial .bench-panel::before,
.editorial .bench-panel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ink);
}
.editorial .bench-panel::before {
  top: 4px;
}
.editorial .bench-panel::after {
  bottom: 4px;
}
.editorial .seat {
  padding: 2.75rem 1.5rem 2.25rem;
  border-right: 1px solid var(--rule);
  position: relative;
  cursor: default;
  transition: background 280ms ease;
}
.editorial .seat:last-child {
  border-right: 0;
}
.editorial .seat:hover {
  background: rgba(91, 26, 26, 0.028);
}
.editorial .seat-sigil {
  width: 3.4rem;
  height: 3.4rem;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  font-family: var(--serif);
  font-size: 1.625rem;
  color: var(--ink);
  font-variation-settings:
    "opsz" 36,
    "SOFT" 30,
    "wght" 500;
  position: relative;
  transition:
    border-color 280ms ease,
    color 280ms ease;
  background: var(--bg);
}
.editorial .seat-sigil::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  opacity: 0.22;
  transition: border-color 280ms ease;
}
.editorial .seat:hover .seat-sigil {
  border-color: var(--accent);
  color: var(--accent);
}
.editorial .seat:hover .seat-sigil::after {
  border-color: var(--accent);
}
.editorial .seat-number {
  position: absolute;
  top: 1.4rem;
  right: 1.5rem;
  font-family: var(--sans);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
  font-weight: 700;
}
.editorial .seat-name {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 480;
  font-variation-settings:
    "opsz" 36,
    "SOFT" 50,
    "wght" 480;
  line-height: 1.1;
  margin: 0 0 0.95rem;
  color: var(--ink);
  position: relative;
  display: inline-block;
}
.editorial .seat-name::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 380ms cubic-bezier(0.2, 0.8, 0.3, 1);
}
.editorial .seat:hover .seat-name::after {
  width: 100%;
}
.editorial .seat-mandate {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.55rem;
}
.editorial .seat-charge {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink-soft);
  font-variation-settings:
    "opsz" 14,
    "SOFT" 70,
    "wght" 380;
  margin: 0;
}

@media (max-width: 1100px) {
  .editorial .bench-panel {
    grid-template-columns: repeat(2, 1fr);
  }
  .editorial .seat {
    border-bottom: 1px solid var(--rule);
  }
  .editorial .seat:nth-child(2n) {
    border-right: 0;
  }
  .editorial .seat:nth-child(5) {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 0;
  }
  .editorial .seat:nth-child(4) {
    border-bottom: 0;
  }
}
@media (max-width: 600px) {
  .editorial .bench-panel {
    grid-template-columns: 1fr;
  }
  .editorial .seat {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }
  .editorial .seat:last-child {
    border-bottom: 0;
  }
  .editorial .seat:nth-child(5) {
    grid-column: auto;
  }
  .editorial .seat:nth-child(4) {
    border-bottom: 1px solid var(--rule);
  }
}

/* Movements */
.editorial .movements {
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.editorial .movements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.editorial .movement {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--rule);
  position: relative;
}
.editorial .movement:last-child {
  border-right: 0;
}
.editorial .movement-num {
  font-family: var(--serif);
  font-size: 3.25rem;
  font-weight: 380;
  font-variation-settings:
    "opsz" 144,
    "SOFT" 30,
    "wght" 380;
  font-style: italic;
  color: var(--accent);
  line-height: 0.9;
  margin-bottom: 1rem;
  display: block;
}
.editorial .movement h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 480;
  font-variation-settings:
    "opsz" 36,
    "SOFT" 50,
    "wght" 480;
  line-height: 1.1;
  margin: 0 0 0.65rem;
  letter-spacing: -0.005em;
}
.editorial .movement p {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  font-variation-settings:
    "opsz" 14,
    "SOFT" 60,
    "wght" 400;
}

@media (max-width: 820px) {
  .editorial .movements-grid {
    grid-template-columns: 1fr;
  }
  .editorial .movement {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
    padding: 2rem 1.5rem;
  }
  .editorial .movement:last-child {
    border-bottom: 0;
  }
}

/* Pricing — editorial tier cards (separate from app's .tier-card) */
.editorial .pricing {
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.editorial .ed-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.editorial .ed-tier {
  padding: 2.5rem 2rem 2.25rem;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
}
.editorial .ed-tier:last-child {
  border-right: 0;
}
.editorial .ed-tier.featured {
  background: rgba(91, 26, 26, 0.028);
}
.editorial .ed-tier.featured::before {
  content: "Most chosen";
  position: absolute;
  top: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  border-radius: 2px;
}
.editorial .ed-tier-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 480;
  font-variation-settings:
    "opsz" 36,
    "SOFT" 50,
    "wght" 480;
  margin: 0;
  letter-spacing: -0.005em;
}
.editorial .ed-tier-price {
  font-family: var(--serif);
  font-size: 3.25rem;
  font-weight: 400;
  font-variation-settings:
    "opsz" 144,
    "SOFT" 25,
    "wght" 400;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0.4rem 0 0.1rem;
  font-feature-settings: "lnum";
}
.editorial .ed-tier-price small {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 500;
  letter-spacing: 0;
  margin-left: 0.25rem;
}
.editorial .ed-tier-cadence {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  margin: 0 0 1rem;
  font-variation-settings:
    "opsz" 14,
    "SOFT" 70,
    "wght" 380;
}
.editorial .ed-tier-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.9375rem;
  color: var(--ink-soft);
  flex: 1;
}
.editorial .ed-tier-features li {
  padding-left: 1.25rem;
  position: relative;
}
.editorial .ed-tier-features li::before {
  content: "·";
  position: absolute;
  left: 0.4rem;
  top: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1;
}
.editorial .ed-tier-cta {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding: 0.2rem 0 0.35rem;
  align-self: flex-start;
  font-variation-settings:
    "opsz" 24,
    "SOFT" 80,
    "wght" 450;
  transition:
    color 220ms ease,
    border-color 220ms ease;
}
.editorial .ed-tier-cta:hover {
  color: var(--ink);
  border-color: var(--ink);
}
.editorial .ed-tier-cta .arrow {
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.3, 1);
  font-style: normal;
}
.editorial .ed-tier-cta:hover .arrow {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .editorial .ed-tiers {
    grid-template-columns: 1fr;
  }
  .editorial .ed-tier {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }
  .editorial .ed-tier:last-child {
    border-bottom: 0;
  }
  .editorial .ed-tier.featured::before {
    top: 0.85rem;
  }
}

/* FAQ */
.editorial .faq-section {
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.editorial .ed-faq {
  border-top: 1px solid var(--rule);
}
.editorial .ed-faq details {
  border-bottom: 1px solid var(--rule);
  padding: 1.4rem 0;
}
.editorial .ed-faq summary {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 450;
  font-variation-settings:
    "opsz" 36,
    "SOFT" 40,
    "wght" 450;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--ink);
}
.editorial .ed-faq summary::-webkit-details-marker {
  display: none;
}
.editorial .ed-faq summary .marker {
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 200ms ease;
  flex: 0 0 auto;
}
.editorial .ed-faq details[open] summary .marker {
  transform: rotate(45deg);
}
.editorial .ed-faq details p {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  line-height: 1.65;
  font-family: var(--serif);
  font-size: 1rem;
  max-width: 38rem;
  font-variation-settings:
    "opsz" 14,
    "SOFT" 60,
    "wght" 400;
}
.editorial .ed-faq details p a {
  color: var(--accent);
  border-bottom: 1px solid currentColor;
}

/* Closing CTA */
.editorial .closing-cta {
  max-width: 60rem;
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
  text-align: center;
}
.editorial .closing-cta h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 380;
  font-variation-settings:
    "opsz" 144,
    "SOFT" 30,
    "wght" 380;
  line-height: 1.05;
  letter-spacing: -0.018em;
  margin: 0 0 1.25rem;
  color: var(--ink);
}
.editorial .closing-cta h2 em {
  font-style: italic;
  color: var(--accent);
  font-variation-settings:
    "opsz" 144,
    "SOFT" 80,
    "wght" 380;
}
.editorial .closing-cta p {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1.125rem;
  margin: 0 0 2rem;
  font-variation-settings:
    "opsz" 14,
    "SOFT" 70,
    "wght" 400;
}
.editorial .closing-cta .btn-editorial {
  font-size: 1.375rem;
}

/* Colophon */
.editorial .colophon {
  max-width: 76rem;
  margin: 4rem auto 3rem;
  padding: 1.5rem 1.5rem 0;
  border-top: 1px solid var(--ink);
}
.editorial .colophon-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--sans);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  flex-wrap: wrap;
  gap: 1rem;
  font-weight: 500;
}
.editorial .colophon-row strong {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.22em;
}
.editorial .colophon-row em {
  font-family: var(--serif);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  font-variation-settings:
    "opsz" 14,
    "SOFT" 80,
    "wght" 400;
}
.editorial .colophon-links {
  display: flex;
  gap: 1.5rem;
}
.editorial .colophon-links a {
  color: var(--ink-faint);
  transition: color 200ms ease;
}
.editorial .colophon-links a:hover {
  color: var(--accent);
}

@media (max-width: 720px) {
  .editorial .colophon-row {
    justify-content: center;
    text-align: center;
    gap: 0.7rem;
    flex-direction: column;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .editorial *,
  .editorial *::before,
  .editorial *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─────────────────────────────────────────────────────────────
   CTA enhancements + long-form docs (added 2026-04-27 r2)
   Boosts conversion-point prominence while keeping the editorial
   idiom; adds doc styling for privacy/terms.
   ───────────────────────────────────────────────────────────── */

:root {
  --accent-deep: #401010;
}

/* Masthead "Get started" — small filled tag */
.editorial .masthead-actions a.cta {
  background: var(--accent);
  color: var(--bg);
  border: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  padding: 0.5rem 0.9rem;
  letter-spacing: 0.18em;
  box-shadow: 0 1px 0 rgba(24, 21, 19, 0.06);
  transition:
    background 200ms ease,
    border-color 200ms ease,
    transform 200ms ease,
    box-shadow 200ms ease;
}
.editorial .masthead-actions a.cta:hover,
.editorial .masthead-actions a.cta:focus-visible {
  background: var(--accent-deep);
  color: var(--bg);
  border-color: var(--accent-deep);
  transform: translateY(-1px);
  outline: none;
  box-shadow: 0 3px 8px rgba(91, 26, 26, 0.18);
}

/* Stamp button — large solid letterpress block for primary CTAs */
.editorial .btn-stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1875rem;
  background: var(--accent);
  color: var(--bg);
  padding: 0.95rem 1.85rem 1rem;
  border: 1px solid var(--accent-deep);
  font-variation-settings:
    "opsz" 36,
    "SOFT" 80,
    "wght" 500;
  letter-spacing: 0.005em;
  box-shadow:
    0 1px 0 rgba(24, 21, 19, 0.08),
    0 5px 16px rgba(91, 26, 26, 0.18);
  transition:
    background 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
  position: relative;
}
.editorial .btn-stamp .arrow {
  font-style: normal;
  display: inline-block;
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.3, 1);
}
.editorial .btn-stamp:hover,
.editorial .btn-stamp:focus-visible {
  background: var(--accent-deep);
  transform: translateY(-1px);
  outline: none;
  box-shadow:
    0 1px 0 rgba(24, 21, 19, 0.08),
    0 8px 24px rgba(91, 26, 26, 0.24);
}
.editorial .btn-stamp:hover .arrow,
.editorial .btn-stamp:focus-visible .arrow {
  transform: translateX(4px);
}

.editorial .closing-cta .btn-stamp {
  font-size: 1.3125rem;
  padding: 1.05rem 2rem 1.1rem;
}

/* Tier CTAs — slight weight + size bump for visibility */
.editorial .ed-tier-cta {
  font-size: 1.125rem;
  font-variation-settings:
    "opsz" 36,
    "SOFT" 80,
    "wght" 500;
}

.editorial .btn-aside {
  font-size: 0.875rem;
}

/* ─────────────────────────────────────────────────────────────
   Long-form documents (privacy, terms)
   ───────────────────────────────────────────────────────────── */

.editorial .doc {
  max-width: 44rem;
  margin: 2.5rem auto 4rem;
  padding: 0 1.5rem;
}
.editorial .doc-head {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--rule);
}
.editorial .doc-head .label {
  margin-bottom: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.editorial .doc-head .label::before,
.editorial .doc-head .label::after {
  content: "";
  width: 1.4rem;
  height: 1px;
  background: var(--rule-strong);
}
.editorial .doc-head h1 {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 380;
  font-variation-settings:
    "opsz" 144,
    "SOFT" 30,
    "wght" 380;
  line-height: 1.05;
  letter-spacing: -0.018em;
  margin: 0;
  color: var(--ink);
}
.editorial .doc-head .deck {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
  margin: 0.85rem auto 0;
  font-size: 1rem;
  font-variation-settings:
    "opsz" 14,
    "SOFT" 70,
    "wght" 380;
}
.editorial .doc-body {
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--ink);
  font-variation-settings:
    "opsz" 14,
    "SOFT" 50,
    "wght" 400;
}
.editorial .doc-body p {
  margin: 0 0 1.05rem;
}
.editorial .doc-body p:first-of-type {
  font-size: 1.125rem;
  color: var(--ink);
  font-variation-settings:
    "opsz" 14,
    "SOFT" 60,
    "wght" 400;
}
.editorial .doc-body h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 480;
  font-variation-settings:
    "opsz" 36,
    "SOFT" 50,
    "wght" 480;
  margin: 2.75rem 0 1rem;
  letter-spacing: -0.005em;
  color: var(--ink);
  position: relative;
  padding-top: 0.85rem;
}
.editorial .doc-body h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1.75rem;
  height: 2px;
  background: var(--accent);
}
.editorial .doc-body ul {
  margin: 0 0 1.05rem;
  padding-left: 1.5rem;
  list-style: none;
}
.editorial .doc-body ul li {
  margin: 0.45rem 0;
  position: relative;
  padding-left: 0.4rem;
}
.editorial .doc-body ul li::before {
  content: "·";
  position: absolute;
  left: -0.95rem;
  top: -0.05rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.4;
}
.editorial .doc-body strong {
  font-weight: 600;
  color: var(--ink);
}
.editorial .doc-body a {
  color: var(--accent);
  border-bottom: 1px solid currentColor;
  transition: color 200ms ease;
}
.editorial .doc-body a:hover {
  color: var(--accent-deep);
}
