/* ============================================================
   Neural Ghost — Home stylesheet
   Editorial-brutalist. Paper × ink × machine.
   Solo aplica a index.html.
   ============================================================ */

:root {
  --paper:        #f4efe4;
  --paper-warm:   #ede6d6;
  --paper-cool:   #ffffff;
  --ink:          #111111;
  --ink-soft:     #2b2b2a;
  --ink-mute:     #5f5b53;
  --rule:         #2b2b2a;
  --rule-soft:    #c9c1ad;
  --rule-hair:    #d8d0bb;
  --stamp:        #b8341c;
  --stamp-deep:   #8a2412;
  --night:        #0c0a06;
  --night-soft:   #1a1812;
  --night-rule:   #2a2620;
  --night-text:   #ddd4bd;
  --serif:        'Fraunces', 'GT Sectra', 'Charter', Georgia, serif;
  --sans:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono:         'JetBrains Mono', 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --col:          minmax(0, 1fr);
  --gutter:       clamp(20px, 4vw, 56px);
  --bleed:        clamp(20px, 5vw, 80px);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: 'kern', 'liga', 'calt';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

::selection { background: var(--ink); color: var(--paper); }

/* Subtle paper texture — repeating SVG noise.
   Kept minimal so it never reads as a stock graphic. */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0.07  0 0 0 0 0.07  0 0 0 0 0.07  0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .55;
  mix-blend-mode: multiply;
  z-index: 1;
}
main, header.masthead, footer.colophon { position: relative; z-index: 2; }

/* ===== Layout container ===== */
.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--bleed);
}

/* ===== Typography primitives ===== */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.section-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--ink-mute);
  font-weight: 500;
}
.display {
  font-family: var(--serif);
  font-weight: 460;
  font-stretch: 110%;
  font-style: normal;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--ink);
  font-feature-settings: 'ss01','ss02','onum';
}
.h-xl { font-size: clamp(48px, 7.5vw, 104px); }
.h-lg { font-size: clamp(38px, 5vw, 64px); }
.h-md { font-size: clamp(28px, 3.4vw, 42px); }
.h-sm { font-size: clamp(20px, 2vw, 26px); }

.lede {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(19px, 1.6vw, 24px);
  line-height: 1.45;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
}

p { margin: 0 0 1em; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 6px 10px;
  border: 1px solid var(--rule);
  background: var(--paper);
}
.kicker .dot {
  width: 6px; height: 6px; background: var(--stamp); border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(184,52,28,.18);
}

.stamp {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--stamp);
  border: 1.5px solid var(--stamp);
  padding: 3px 8px;
  transform: rotate(-1.5deg);
}

/* ===== Hairline rules ===== */
.rule       { height: 1px; background: var(--rule);      width: 100%; }
.rule-soft  { height: 1px; background: var(--rule-soft); width: 100%; }
.rule-hair  { height: 1px; background: var(--rule-hair); width: 100%; }
.rule-double {
  height: 5px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

/* ===== Masthead ===== */
.masthead {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(2px);
}
.masthead-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
  padding: 14px 0;
}
.mast-brand {
  display: flex; align-items: baseline; gap: 12px;
}
.mast-brand .mark {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}
.mast-brand .mark em {
  font-style: italic;
  font-weight: 400;
  color: var(--ink-mute);
}
.mast-brand .sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border-left: 1px solid var(--rule-soft);
  padding-left: 12px;
}

.mast-nav {
  display: flex; gap: 28px; justify-content: center;
}
.mast-nav a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color .15s ease;
}
.mast-nav a:hover { color: var(--ink); }
.mast-nav a:hover::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--ink);
}
.mast-nav .num {
  font-size: 9px;
  color: var(--ink-mute);
  margin-right: 4px;
  vertical-align: super;
}

.mast-actions { display: flex; align-items: center; gap: 16px; }
.mast-date {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 11px 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .15s ease;
  text-decoration: none;
}
.btn:hover { background: var(--paper); color: var(--ink); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.btn-stamp {
  background: var(--stamp);
  border-color: var(--stamp);
  color: var(--paper);
}
.btn-stamp:hover { background: var(--stamp-deep); border-color: var(--stamp-deep); color: var(--paper); }

.btn-lg { padding: 15px 24px; font-size: 13px; }

.btn .arr {
  width: 0; height: 0;
  border-left: 5px solid currentColor;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}

/* ===== Hero (issue cover) ===== */
.cover {
  border-bottom: 1px solid var(--rule);
  padding: 28px 0 0;
}
.cover-meta {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule-hair);
}
.cover-meta span strong { color: var(--ink); font-weight: 600; }
.cover-meta .stamp { transform: rotate(-2deg); margin-left: 6px; }

.cover-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 80px);
  padding: clamp(40px, 7vw, 96px) 0 clamp(40px, 6vw, 80px);
  align-items: end;
}
.cover-title {
  font-family: var(--serif);
  font-weight: 400;
  font-stretch: 110%;
  font-size: clamp(30px, 4.6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
}
.cover-title em {
  font-style: italic;
  font-weight: 360;
  color: var(--ink);
}
.cover-title .accent {
  color: var(--stamp);
  font-style: italic;
}
.cover-title .underline {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
  text-decoration-color: var(--stamp);
}

.cover-side .lede { margin: 0 0 24px; }
.cover-side .cta-row {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 28px;
}
.cover-side .annotate {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: .04em;
  margin-top: 16px;
  display: flex; align-items: flex-start; gap: 8px;
}
.cover-side .annotate::before {
  content: '↳'; color: var(--stamp); font-size: 14px; line-height: 1.2;
}

/* Ledger strip under hero — paginated stats */
.ledger {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper-warm);
}
.ledger-strip {
  display: flex; align-items: center; gap: 10px;
  padding: 8px var(--bleed);
  border-bottom: 1px solid var(--rule-hair);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.ledger-strip .live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--stamp);
  box-shadow: 0 0 0 0 rgba(184,52,28,.45);
  animation: live-beat 1.4s ease-out infinite;
}
@keyframes live-beat {
  0%   { box-shadow: 0 0 0 0 rgba(184,52,28,.45); }
  70%  { box-shadow: 0 0 0 8px rgba(184,52,28,0); }
  100% { box-shadow: 0 0 0 0 rgba(184,52,28,0); }
}
.ledger-strip .live-label {
  color: var(--stamp);
  font-weight: 600;
}
.ledger-strip .live-sub {
  color: var(--ink-mute);
  letter-spacing: .14em;
}
.ledger-strip .live-sub::before {
  content: '·';
  margin: 0 6px 0 4px;
  color: var(--ink-mute);
}
.ledger-strip .live-clock {
  margin-left: auto;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: .08em;
}

.ledger-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  font-family: var(--mono);
}
.ledger-cell {
  padding: 22px var(--gutter);
  border-right: 1px solid var(--rule-hair);
  display: flex; flex-direction: column; gap: 4px;
}
.ledger-cell:last-child { border-right: none; }
.ledger-cell .k {
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.ledger-cell .v {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 460;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: inline-flex; align-items: baseline; gap: 8px;
}
.ledger-cell .v .num {
  font-variant-numeric: tabular-nums;
  transition: color .25s ease, transform .25s ease;
  display: inline-block;
}
.ledger-cell .v .num.bump {
  color: var(--stamp);
  transform: translateY(-2px);
}
.ledger-cell .v .unit {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: 0;
  text-transform: none;
}

/* ===== Ticker (telegram strip) ===== */
.telegram {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid var(--ink);
  overflow: hidden;
}
.telegram-inner {
  display: flex; align-items: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 0;
}
.telegram-label {
  flex-shrink: 0;
  padding: 12px 18px;
  background: var(--stamp);
  color: var(--paper);
  font-weight: 600;
  letter-spacing: .14em;
  display: flex; align-items: center; gap: 8px;
}
.telegram-label::before {
  content: ''; width: 6px; height: 6px; background: var(--paper); border-radius: 50%;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}
.telegram-track {
  flex: 1; overflow: hidden; padding: 12px 0;
  mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}
.telegram-run {
  display: inline-flex;
  gap: 36px;
  animation: telegram-scroll 80s linear infinite;
  white-space: nowrap;
}
.telegram-run span { color: var(--night-text); }
.telegram-run .marker { color: var(--stamp); margin: 0 6px; }
.telegram-run b { color: var(--paper); font-weight: 600; }
@keyframes telegram-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== Section base ===== */
.section {
  padding: clamp(64px, 8vw, 128px) 0;
  border-bottom: 1px solid var(--rule);
}
.section.tight { padding: clamp(40px, 5vw, 72px) 0; }
.section.dark { background: var(--night); color: var(--night-text); border-color: var(--night-rule); }
.section.dark .display, .section.dark h1, .section.dark h2, .section.dark h3 { color: var(--paper); }
.section.dark .eyebrow, .section.dark .section-num { color: var(--night-text); opacity: .7; }
.section.dark .rule-hair { background: var(--night-rule); }

.section-head {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head .num-col {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--ink-mute);
  padding-top: 14px;
  border-top: 2px solid var(--ink);
}
.section.dark .section-head .num-col { border-top-color: var(--paper); color: var(--night-text); }
.section-head .title-col h2 {
  margin: 0 0 16px;
}
.section-head .title-col .lede { max-width: 720px; }

/* ===== §01 PROBLEMA — three columns of editorial body ===== */
.problem-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
}
.problem-cols .col {
  border-top: 1px solid var(--ink);
  padding-top: 16px;
}
.problem-cols .col-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stamp);
  margin-bottom: 12px;
  font-weight: 600;
}
.problem-cols .col h3 {
  font-family: var(--serif);
  font-weight: 460;
  font-size: clamp(22px, 1.9vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}
.problem-cols .col p {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ===== §02 GHOSTNET — terminal + dossier ===== */
.ghost-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.terminal {
  background: var(--night);
  color: var(--night-text);
  border: 1px solid var(--night-rule);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.6;
}
.terminal-bar {
  border-bottom: 1px solid var(--night-rule);
  padding: 10px 14px;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--night-soft);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8e8772;
}
.terminal-bar .lights { display: flex; gap: 6px; }
.terminal-bar .lights span {
  width: 9px; height: 9px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
}
.terminal-bar .lights span:nth-child(1) { background: #5a3220; }
.terminal-bar .lights span:nth-child(2) { background: #5a4d20; }
.terminal-bar .lights span:nth-child(3) { background: #20452a; }
.terminal-bar .badge {
  color: var(--stamp);
  font-weight: 600;
  display: flex; align-items: center; gap: 6px;
}
.terminal-bar .badge::before {
  content: ''; width: 5px; height: 5px; background: var(--stamp); border-radius: 50%;
  animation: pulse 1.6s ease-in-out infinite;
}
.terminal-body {
  padding: 20px 22px;
  white-space: pre-wrap;
  word-break: break-word;
}
.terminal-body .row { display: block; margin-bottom: 5px; }
.terminal-body .prompt { color: #8e8772; }
.terminal-body .arrow { color: #d4a14a; }
.terminal-body .info  { color: #8e8772; }
.terminal-body .ok    { color: #8db580; }
.terminal-body .warn  { color: #d49a4a; }
.terminal-body .alert { color: #d4675a; }
.terminal-body .data  { color: var(--paper); }
.terminal-body .acc   { color: var(--paper); font-weight: 600; }
.terminal-body .cursor { display: inline-block; width: 8px; height: 14px; background: var(--paper); margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { background: transparent; } }

.dossier {
  border: 1px solid var(--rule);
  padding: clamp(24px, 3vw, 36px);
  background: var(--paper);
  position: relative;
}
.dossier::before {
  content: 'NEURAL · CLASIFICACIÓN INTERNA';
  position: absolute; top: -10px; left: 20px;
  background: var(--paper);
  padding: 0 10px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .18em;
  color: var(--stamp);
  font-weight: 600;
}
.dossier .title {
  font-family: var(--serif);
  font-weight: 460;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
}
.dossier p { font-size: 15.5px; color: var(--ink-soft); line-height: 1.6; }

.dossier .specs {
  margin-top: 26px;
  border-top: 1px solid var(--rule-hair);
}
.dossier .spec {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--rule-hair);
  align-items: baseline;
}
.dossier .spec:last-child { border-bottom: none; }
.dossier .spec .k {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.dossier .spec .v {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 460;
  color: var(--ink);
}
.dossier .actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }

/* ===== §03 SERVICIOS — catalog rows ===== */
.catalog {
  border-top: 2px solid var(--ink);
}
.catalog-row {
  display: grid;
  grid-template-columns: 80px minmax(0,5fr) minmax(0,4fr) auto;
  gap: clamp(20px, 3vw, 48px);
  padding: clamp(28px, 3.5vw, 44px) 0;
  border-bottom: 1px solid var(--rule-hair);
  align-items: start;
  transition: background .15s ease;
}
.catalog-row:hover { background: rgba(184,52,28,.03); }
.catalog-row.featured {
  background: rgba(184,52,28,.05);
  border-bottom: 1px solid var(--rule-soft);
}
.catalog-row .ref {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--ink-mute);
  padding-top: 8px;
}
.catalog-row .ref .badge {
  display: block;
  margin-top: 8px;
  color: var(--stamp);
  border: 1px solid var(--stamp);
  padding: 3px 6px;
  font-size: 9.5px;
  letter-spacing: .16em;
  width: max-content;
  text-transform: uppercase;
  font-weight: 600;
}
.catalog-row .lhs h3 {
  font-family: var(--serif);
  font-weight: 460;
  font-size: clamp(24px, 2.4vw, 34px);
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0 0 10px;
}
.catalog-row .lhs h3 em { font-style: italic; color: var(--ink-mute); font-weight: 400; }
.catalog-row .lhs p {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 14px;
}
.catalog-row .rhs ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.catalog-row .rhs li {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-soft);
  padding-left: 16px;
  position: relative;
  line-height: 1.4;
}
.catalog-row .rhs li::before {
  content: '→'; position: absolute; left: 0; color: var(--stamp);
}
.catalog-row .price {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
}
.catalog-row .cta {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  white-space: nowrap;
  align-self: end;
}
.catalog-row .cta:hover { color: var(--stamp); border-color: var(--stamp); }

/* ===== §04 FORMACIÓN — index card list ===== */
.courses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.course {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: clamp(20px, 2.4vw, 28px);
  background: var(--paper);
  display: flex; flex-direction: column;
  min-height: 220px;
  position: relative;
}
.course .meta {
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 18px;
}
.course .meta .tag {
  color: var(--stamp);
  font-weight: 600;
}
.course h4 {
  font-family: var(--serif);
  font-weight: 460;
  font-size: 21px;
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
}
.course p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}
.course .duration {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--ink-mute);
  padding-top: 14px;
  border-top: 1px dashed var(--rule-hair);
}

/* ===== §05 SECTORES — split list ===== */
.sectores {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.sector {
  padding: clamp(28px, 3.5vw, 44px) clamp(20px, 3vw, 36px);
  border-bottom: 1px solid var(--rule);
  display: flex; flex-direction: column;
  background: var(--paper);
  position: relative;
  transition: background .15s ease;
}
.sector:nth-child(odd) { border-right: 1px solid var(--rule); }
.sector:hover { background: var(--paper-warm); }
.sector a.full {
  position: absolute; inset: 0; z-index: 1;
}
.sector .head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.sector .head .lead-badge {
  color: var(--stamp);
  font-weight: 600;
  position: relative; z-index: 2;
}
.sector h3 {
  font-family: var(--serif);
  font-weight: 460;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  max-width: 460px;
}
.sector p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 16px;
  max-width: 520px;
}
.sector .frameworks {
  margin-top: auto;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.sector .frameworks span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  color: var(--ink);
  border: 1px solid var(--rule-soft);
  padding: 3px 8px;
}

/* ===== §06 CASOS — dossier excerpts ===== */
.cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3vw, 40px);
}
.case {
  border: 1px solid var(--rule-soft);
  padding: clamp(22px, 2.6vw, 32px);
  background: var(--paper-cool);
  display: flex; flex-direction: column;
}
.case .case-head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border-bottom: 1px solid var(--rule-soft);
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.case .case-head .ref { color: var(--ink); font-weight: 600; }
.case .case-head .sector-tag { color: var(--stamp); }
.case h3 {
  font-family: var(--serif);
  font-weight: 460;
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
}
.case .line {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--rule-hair);
}
.case .line:last-of-type { border-bottom: none; }
.case .line .k {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.case .line .v {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.cases-foot {
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--ink-mute);
  max-width: 760px;
  text-align: center;
  margin-left: auto; margin-right: auto;
}

/* ===== §07 METODOLOGÍA — railway timeline ===== */
.method {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--ink);
  position: relative;
}
.method-step {
  padding: 32px 24px 32px 0;
  position: relative;
}
.method-step + .method-step { padding-left: 24px; border-left: 1px solid var(--rule-hair); }
.method-step .step-no {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--stamp);
  font-weight: 600;
  margin-bottom: 4px;
}
.method-step h4 {
  font-family: var(--serif);
  font-weight: 460;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 6px 0 12px;
}
.method-step p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}

/* ===== §08 NOSOTROS — split editorial ===== */
.about {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 4vw, 80px);
  align-items: start;
}
.about-body p {
  font-family: var(--serif);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
  margin-bottom: 22px;
}
.about-body p::first-letter {
  font-family: var(--serif);
  font-size: 4em;
  font-weight: 500;
  float: left;
  line-height: .85;
  margin: 6px 12px -2px 0;
  color: var(--ink);
}
.about-body p + p::first-letter {
  font-size: 1em; float: none; margin: 0; font-weight: inherit;
}

.about-side {
  border-top: 2px solid var(--ink);
  padding-top: 18px;
}
.about-side h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 16px;
  font-weight: 500;
}
.about-side .v-line {
  display: grid; grid-template-columns: 28px 1fr; gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule-hair);
}
.about-side .v-line:last-of-type { border-bottom: none; }
.about-side .v-line .v-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--stamp);
  padding-top: 3px;
  font-weight: 600;
}
.about-side .v-line strong {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.about-side .v-line span {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.founder {
  margin-top: 28px;
  border-top: 1px solid var(--rule);
  padding-top: 20px;
  display: flex; gap: 16px; align-items: center;
}
.founder .sig {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--stamp);
  letter-spacing: -0.01em;
  line-height: 1;
}
.founder .info {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.founder .info strong { color: var(--ink); display: block; font-weight: 600; margin-bottom: 2px; }

/* ===== §09 FAQ ===== */
.faqs { border-top: 2px solid var(--ink); }
.faq {
  border-bottom: 1px solid var(--rule-hair);
  padding: 8px 0;
}
.faq summary {
  display: flex; justify-content: space-between; gap: 20px;
  list-style: none; cursor: pointer;
  padding: 18px 0;
  font-family: var(--serif);
  font-weight: 460;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--mono);
  font-size: 24px;
  color: var(--stamp);
  font-weight: 400;
  transition: transform .2s ease;
  flex-shrink: 0;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq .a {
  padding: 0 40px 22px 0;
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 820px;
}

/* ===== §10 CONTACTO — letterhead form ===== */
.contact {
  background: var(--paper-warm);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.contact-intro h2 { margin: 0 0 18px; }
.contact-intro p {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.contact-intro .stamps {
  margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px;
}
.contact-intro .cal {
  margin-top: 28px;
  border-top: 1px solid var(--rule-soft);
  padding-top: 20px;
}
.contact-intro .cal p {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.letterhead {
  background: var(--paper-cool);
  border: 1px solid var(--rule);
  padding: clamp(28px, 3vw, 40px);
  position: relative;
}
.letterhead::before {
  content: '';
  position: absolute;
  top: 14px; right: 14px; bottom: 14px; left: 14px;
  border: 1px solid var(--rule-hair);
  pointer-events: none;
}
.letterhead-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border-bottom: 1px solid var(--rule-hair);
  padding-bottom: 14px;
  margin-bottom: 22px;
  position: relative; z-index: 1;
}
.letterhead-head strong { color: var(--ink); }
.letterhead form { position: relative; z-index: 1; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.field-row.full { grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; }
.field label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 6px;
}
.field label .req { color: var(--stamp); margin-left: 2px; }
.field input,
.field select,
.field textarea {
  border: none;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  padding: 8px 0;
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
  outline: none;
  transition: border-color .15s ease;
  border-radius: 0;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: var(--stamp);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-mute); opacity: .55; font-style: italic; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23111' stroke-width='1.4' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 22px;
}
.field textarea { resize: vertical; min-height: 70px; }

.checks {
  display: flex; flex-wrap: wrap; gap: 14px 22px;
  margin-bottom: 22px;
}
.checks legend {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  width: 100%;
  margin-bottom: 6px;
}
.checks fieldset {
  border: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 12px 22px;
  width: 100%;
}
.check {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--ink-soft);
  cursor: pointer;
}
.check input { accent-color: var(--ink); width: 14px; height: 14px; }
.check.urgent { color: var(--stamp); font-weight: 600; }
.check.urgent input { accent-color: var(--stamp); }

.legal {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .04em;
  color: var(--ink-mute);
  line-height: 1.6;
  margin: 18px 0;
}
.legal a { color: var(--stamp); border-bottom: 1px solid var(--stamp); }

.form-msg {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .04em;
  padding: 10px 12px;
  margin-top: 14px;
  border: 1px solid;
}
.form-msg.ok,
.form-msg.success { color: #1f5132; background: #d9eedb; border-color: #1f5132; }
.form-msg.bad,
.form-msg.error   { color: #6f1b12; background: #f4dad6; border-color: #6f1b12; }

/* ===== Authority / colophon ===== */
.authority {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: clamp(18px, 3vw, 36px);
  justify-content: space-between;
}
.authority .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  flex-basis: 280px;
}
.authority .marks {
  display: flex; flex-wrap: wrap; gap: 10px 18px;
  flex: 1;
}
.authority .marks span {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--ink);
  padding: 4px 0;
  border-bottom: 1px solid var(--rule-soft);
}

/* ===== Footer / colophon ===== */
.colophon {
  background: var(--ink);
  color: var(--night-text);
  padding: clamp(48px, 6vw, 80px) 0 24px;
}
.colophon .top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) repeat(4, minmax(0, 2fr));
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--night-rule);
}
.colophon .mark {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  color: var(--paper);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.colophon .tagline {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--night-text);
  line-height: 1.4;
  max-width: 320px;
  margin: 0 0 18px;
}
.colophon .col h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--paper);
  margin: 0 0 14px;
}
.colophon .col a {
  display: block;
  font-size: 13.5px;
  color: var(--night-text);
  padding: 3px 0;
  transition: color .15s ease;
}
.colophon .col a:hover { color: var(--paper); }

.colophon .bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: 16px;
  padding-top: 22px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6e6a5a;
}
.colophon .bottom a { color: var(--night-text); }
.colophon .bottom a:hover { color: var(--paper); }
.colophon .disclaimer {
  max-width: 880px;
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0;
  text-transform: none;
  color: #8a8472;
  line-height: 1.55;
  margin: 18px 0 0;
}

/* ===== Floating contact ===== */
.fab {
  position: fixed; right: 24px; bottom: 24px;
  z-index: 40;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 4px 4px 0 var(--stamp);
}
.fab:hover { background: var(--paper); color: var(--ink); box-shadow: 4px 4px 0 var(--stamp), inset 0 0 0 1px var(--ink); }

/* ===== Mobile ===== */
.mast-burger {
  display: none;
  background: none; border: 1px solid var(--ink);
  padding: 8px 10px; cursor: pointer;
}
.mast-burger span {
  display: block; width: 18px; height: 1.5px; background: var(--ink); margin: 4px 0;
}

.mobile-menu {
  display: none;
  position: fixed; top: 60px; left: 0; right: 0; bottom: 0;
  z-index: 49;
  background: var(--paper);
  padding: 28px var(--bleed);
  border-top: 1px solid var(--rule);
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 460;
  border-bottom: 1px solid var(--rule-hair);
  letter-spacing: -0.01em;
}
.mobile-menu .grp-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 24px;
  margin-bottom: 4px;
  border-bottom: none;
  padding-bottom: 0;
}
.mobile-menu .mob-actions {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 28px;
}

@media (max-width: 980px) {
  .mast-nav { display: none; }
  .mast-burger { display: inline-flex; flex-direction: column; }
  .mast-date { display: none; }
  .cover-grid { grid-template-columns: 1fr; gap: 36px; }
  .cover-side { border-top: 1px solid var(--rule); padding-top: 28px; }
  .ledger-inner { grid-template-columns: repeat(2, 1fr); }
  .ledger-cell { border-bottom: 1px solid var(--rule-hair); }
  .ghost-grid { grid-template-columns: 1fr; gap: 32px; }
  .problem-cols { grid-template-columns: 1fr; gap: 28px; }
  .catalog-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .catalog-row .ref { padding-top: 0; display: flex; gap: 12px; align-items: center; }
  .catalog-row .ref .badge { margin-top: 0; }
  .catalog-row .cta { align-self: start; }
  .courses { grid-template-columns: 1fr; }
  .sectores { grid-template-columns: 1fr; }
  .sector:nth-child(odd) { border-right: none; }
  .cases { grid-template-columns: 1fr; }
  .method { grid-template-columns: 1fr; }
  .method-step + .method-step { padding-left: 0; border-left: none; border-top: 1px solid var(--rule-hair); }
  .about { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  .colophon .top { grid-template-columns: 1fr 1fr; }
  .section-head { grid-template-columns: 1fr; gap: 14px; }
  .section-head .num-col { padding-top: 0; border-top: none; border-left: 2px solid var(--ink); padding-left: 14px; }
  .field-row { grid-template-columns: 1fr; }
  .fab span { display: none; }
  .fab { padding: 12px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .colophon .top { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .telegram-run, .terminal-body .cursor, .telegram-label::before {
    animation: none !important;
  }
}

/* ============================================================
   PAGE-LEVEL EXTENSIONS — used by sub-pages (ghostnet, precios, …)
   Reuse home primitives where possible; add only what's missing.
   ============================================================ */

/* Two-column compare (con/sin Ghostnet, antes/después...) */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 2px solid var(--ink);
  border-left: 1px solid var(--rule);
}
.compare .side {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: clamp(28px, 3vw, 40px);
  background: var(--paper);
}
.compare .side.neg { background: var(--paper-warm); }
.compare .side.pos { background: var(--paper-cool); }
.compare .side h3 {
  font-family: var(--serif);
  font-weight: 460;
  font-size: clamp(22px, 1.9vw, 26px);
  margin: 0 0 18px;
  letter-spacing: -0.015em;
  display: flex; align-items: center; gap: 12px;
}
.compare .side h3 .sigil {
  font-family: var(--mono);
  font-size: 14px;
  width: 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid currentColor;
}
.compare .side.neg h3 { color: var(--ink-soft); }
.compare .side.neg h3 .sigil { color: var(--ink-mute); border-color: var(--ink-mute); }
.compare .side.pos h3 { color: var(--ink); }
.compare .side.pos h3 .sigil { color: var(--stamp); border-color: var(--stamp); }
.compare ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.compare li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.compare li::before {
  content: '—';
  color: var(--ink-mute);
  font-weight: 600;
}
.compare .side.pos li::before { content: '+'; color: var(--stamp); }

/* Threat & IOC dossier — two side-by-side index lists */
.dossier-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 3vw, 48px);
}
.idx {
  border-top: 2px solid var(--ink);
  padding-top: 14px;
}
.idx h3 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 18px;
  font-weight: 500;
}
.idx ul {
  list-style: none; padding: 0; margin: 0;
}
.idx li {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--rule-hair);
  font-size: 15px;
}
.idx li:last-child { border-bottom: none; }
.idx li .n {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  color: var(--ink-mute);
}
.idx li .label {
  font-family: var(--serif);
  font-weight: 460;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.idx li .tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 2px 7px;
  border: 1px solid;
  font-weight: 600;
  white-space: nowrap;
}
.idx li .tag.crit { color: var(--stamp); border-color: var(--stamp); }
.idx li .tag.high { color: #8a5a16; border-color: #8a5a16; }
.idx li .tag.med  { color: var(--ink-mute); border-color: var(--ink-mute); }
.idx li .tag.fam-a { color: #1a4d3a; border-color: #1a4d3a; }
.idx li .tag.fam-b { color: #2a3b6e; border-color: #2a3b6e; }
.idx li .tag.fam-c { color: var(--stamp-deep); border-color: var(--stamp-deep); }

/* Pricing tiers — 3 columns, middle featured */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 2px solid var(--ink);
  border-left: 1px solid var(--rule);
}
.tier {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: clamp(28px, 3vw, 40px);
  background: var(--paper);
  display: flex; flex-direction: column;
  position: relative;
}
.tier.featured {
  background: var(--paper-cool);
  border-bottom-color: var(--stamp);
  border-bottom-width: 4px;
}
.tier .ribbon {
  position: absolute;
  top: 0; right: -1px;
  background: var(--stamp);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 4px 10px;
  font-weight: 600;
}
.tier .tier-name {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--stamp);
  font-weight: 600;
  margin-bottom: 12px;
}
.tier .tier-title {
  font-family: var(--serif);
  font-weight: 460;
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
}
.tier .tier-desc {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0 0 24px;
  min-height: 60px;
}
.tier .price {
  font-family: var(--serif);
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule-hair);
}
.tier .price .from {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-right: 6px;
}
.tier .price .amount {
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1;
}
.tier .price .cur { font-size: 22px; color: var(--ink-soft); margin-right: 2px; }
.tier .price .per {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .05em;
  color: var(--ink-mute);
  margin-left: 6px;
}
.tier .price.custom .amount {
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
  font-weight: 400;
}
.tier .feats {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.tier .feats li {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-soft);
  padding-left: 22px;
  position: relative;
}
.tier .feats li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  color: var(--stamp);
  font-weight: 600;
}
.tier .tier-note {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: .04em;
  margin-top: 12px;
  line-height: 1.5;
}

/* Slim CTA block — bottom of sub-pages */
.cta-block {
  background: var(--night);
  color: var(--night-text);
  border-top: 1px solid var(--ink);
  padding: clamp(56px, 6vw, 96px) 0;
}
.cta-block .wrap { display: grid; gap: 28px; }
.cta-block h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--paper);
  margin: 0;
}
.cta-block h2 em { font-style: italic; color: #a89e85; }
.cta-block p {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.55;
  color: #a89e85;
  max-width: 700px;
  margin: 0;
}
.cta-block .cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-block .btn { border-color: var(--paper); }
.cta-block .btn-ghost { color: var(--paper); border-color: var(--paper); }
.cta-block .btn-ghost:hover { background: var(--paper); color: var(--ink); }

@media (max-width: 980px) {
  .compare { grid-template-columns: 1fr; }
  .dossier-pair { grid-template-columns: 1fr; gap: 32px; }
  .tiers { grid-template-columns: 1fr; }
}
