/* ── Doomly shared design system ── */
:root {
  --void: #0a0210;
  --panel: #150826;
  --panel-2: #1c0d33;
  --panel-line: #2a1240;
  --doom: #ff2e88;
  --doom-dim: #7a1049;
  --warn: #ffc93f;
  --paper: #efe7f5;
  --paper-dim: #8b7fa0;
  --paper-faint: #847791;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--void); color: var(--paper);
  font-family: var(--sans); line-height: 1.6; overflow-x: hidden;
}
::selection { background: var(--doom); color: #fff; }
img, svg { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--doom); outline-offset: 2px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

.hazard {
  height: 8px;
  background: repeating-linear-gradient(45deg, var(--doom) 0 10px, var(--void) 10px 20px);
}

/* ── nav ── */
nav.top {
  position: sticky; top: 0; z-index: 50; background: rgba(10,2,16,0.85);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--panel-line);
}
nav.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: flex; align-items: center; gap: 3px; font-family: var(--mono);
  font-weight: 700; font-size: 15px; letter-spacing: 0.03em; text-transform: uppercase;
  text-decoration: none; color: var(--paper); }
.brand .dot { width: 7px; height: 7px; background: var(--doom); border-radius: 1px; flex: 0 0 auto; align-self: flex-end; margin-bottom: 1px; }
.navlinks { display: flex; gap: 28px; font-family: var(--mono); font-size: 12.5px;
  letter-spacing: 0.03em; text-transform: uppercase; }
.navlinks a { text-decoration: none; color: var(--paper-dim); transition: color 0.15s; }
.navlinks a:hover, .navlinks a[aria-current="page"] { color: var(--doom); }
.nav-cta {
  font-family: var(--mono); font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.03em; padding: 8px 16px; border: 1px solid var(--doom); border-radius: 4px;
  text-decoration: none; color: var(--paper); transition: background 0.15s, color 0.15s;
}
.nav-cta:hover { background: var(--doom); color: var(--void); }
.nav-toggle { display: none; }

/* ── language dropdown ── */
.lang-switch { position: relative; padding-left: 14px; margin-left: 6px; border-left: 1px dashed var(--panel-line); }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12.5px;
  letter-spacing: 0.03em; text-transform: uppercase; color: var(--paper-dim); background: none;
  border: none; padding: 4px 2px; cursor: pointer; transition: color 0.15s;
}
.lang-toggle:hover { color: var(--doom); }
.lang-flag { display: block; width: 16px; height: 11px; border-radius: 2px; flex: 0 0 auto; }
.lang-arrow { font-size: 9px; color: var(--paper-faint); transition: transform 0.15s; }
.lang-switch.open .lang-arrow { transform: rotate(180deg); }
.lang-menu {
  display: none; position: absolute; top: calc(100% + 10px); right: 0; z-index: 60; margin: 0;
  min-width: 152px; list-style: none; padding: 6px; background: var(--panel);
  border: 1px solid var(--panel-line); border-radius: 8px; box-shadow: 0 12px 32px rgba(0,0,0,0.5);
}
.lang-switch.open .lang-menu { display: block; }
.lang-item {
  display: flex; align-items: center; gap: 9px; font-family: var(--sans); font-size: 13.5px;
  color: var(--paper-dim); text-decoration: none; padding: 8px 10px; border-radius: 4px;
}
a.lang-item:hover, a.lang-item:focus-visible { background: var(--panel-2); color: var(--paper); }
.lang-item.is-current { color: var(--doom); }
@media (max-width: 720px) {
  nav.top .wrap { position: relative; flex-wrap: wrap; height: auto; min-height: 62px; padding: 14px 24px; }
  .nav-toggle {
    display: flex; align-items: center; justify-content: center; width: 36px; height: 34px;
    background: none; border: 1px solid var(--panel-line); border-radius: 4px; color: var(--paper);
    font-size: 16px; cursor: pointer; order: 2;
  }
  .nav-cta { order: 3; }
  .navlinks {
    display: none; order: 4; width: 100%; flex-direction: column; gap: 0;
    border-top: 1px dashed var(--panel-line); margin-top: 14px; padding-top: 6px;
  }
  .navlinks.open { display: flex; }
  .navlinks a { padding: 13px 4px; border-top: 1px dashed var(--panel-line); }
  .navlinks a:first-child { border-top: none; }
  .lang-switch { border-left: none; padding: 13px 4px 0; margin-left: 0; border-top: 1px dashed var(--panel-line); }
  .lang-toggle { padding: 0 0 13px; width: 100%; }
  .lang-menu { position: static; margin-top: 0; box-shadow: none; }
}

/* ── page header (non-hero pages) ── */
.page-head { padding: 64px 0 20px; }
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--doom); margin: 0 0 16px;
}
.eyebrow::before { content: "» "; }
h1.headline {
  font-family: var(--mono); font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em;
  font-size: clamp(30px, 5vw, 52px); line-height: 1.08; margin: 0 0 20px; text-wrap: balance;
}
h1.headline .accent { color: var(--doom); }
.sub { font-size: clamp(15px, 1.6vw, 18px); color: var(--paper-dim); max-width: 56ch; margin: 0; }

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 30px; }
.btn-primary {
  font-family: var(--mono); font-size: 14px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; padding: 14px 26px; background: var(--doom); color: var(--void);
  border: none; border-radius: 5px; text-decoration: none; display: inline-block; cursor: pointer;
  box-shadow: 0 0 0 rgba(255,46,136,0); transition: box-shadow 0.2s, transform 0.15s;
}
.btn-primary:hover { box-shadow: 0 0 26px rgba(255,46,136,0.45); transform: translateY(-1px); }
.btn-ghost {
  font-family: var(--mono); font-size: 13px; color: var(--paper-dim); text-decoration: none;
  border-bottom: 1px dashed var(--panel-line); padding-bottom: 2px;
}
.btn-ghost:hover { color: var(--paper); }

/* ── sections ── */
section { padding: 84px 0; }
section.tight { padding: 50px 0; }
.section-head { max-width: 640px; margin: 0 auto 50px; text-align: center; }
.section-head.left { margin: 0 0 44px; text-align: left; }
.kicker {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--doom); margin: 0 0 12px;
}
.kicker::before { content: "» "; }
h2 {
  font-family: var(--mono); font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em;
  font-size: clamp(22px, 3.6vw, 32px); margin: 0 0 14px; text-wrap: balance;
}
h3 { font-family: var(--mono); font-size: 16px; text-transform: uppercase; letter-spacing: 0.01em; margin: 0 0 8px; }
.section-head p { color: var(--paper-dim); font-size: 15.5px; margin: 0; }
hr.dash { border: none; border-top: 1px dashed var(--panel-line); margin: 0; }

/* ── feature grid ── */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 780px) { .feat-grid { grid-template-columns: 1fr; } }
.feat {
  background: var(--panel); border: 1px solid var(--panel-line); border-radius: 10px;
  padding: 26px 24px;
}
.feat .glyph {
  width: 38px; height: 38px; border-radius: 8px; background: var(--panel-2);
  border: 1px solid var(--doom-dim); display: flex; align-items: center; justify-content: center;
  font-size: 17px; margin-bottom: 16px;
}
.feat p { font-size: 13.5px; color: var(--paper-dim); margin: 0; }

/* ── two-col detail row (image/mock one side, text other) ── */
.detail-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.detail-row.reverse { direction: rtl; }
.detail-row.reverse > * { direction: ltr; }
@media (max-width: 860px) { .detail-row { grid-template-columns: 1fr; } .detail-row.reverse { direction: ltr; } }
.detail-copy .tag {
  display: inline-block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--doom); border: 1px solid var(--doom-dim);
  border-radius: 20px; padding: 4px 12px; margin-bottom: 16px;
}
.detail-copy p { color: var(--paper-dim); font-size: 15px; margin: 0 0 14px; }
.detail-copy ul { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.detail-copy li { font-size: 13.5px; color: var(--paper-dim); padding-left: 20px; position: relative; }
.detail-copy li::before { content: "·"; position: absolute; left: 4px; top: -3px; color: var(--doom); font-size: 22px; }

/* ── settings-panel mockup (Pro visual) ── */
.mock-panel { display: flex; flex-direction: column; gap: 2px; }
.mock-row {
  display: flex; align-items: center; justify-content: space-between; padding: 13px 4px;
  border-top: 1px dashed var(--panel-line);
}
.mock-row:first-child { border-top: none; }
.mock-row .lbl { font-size: 13.5px; color: var(--paper); display: flex; align-items: center; gap: 10px; }
.mock-row .arrows { display: flex; flex-direction: column; gap: 2px; font-family: var(--mono); font-size: 9px; color: var(--paper-faint); }
.mock-switch { width: 34px; height: 18px; border-radius: 3px; background: var(--void); border: 1px solid var(--panel-line); position: relative; flex: 0 0 auto; }
.mock-switch::before { content: ""; position: absolute; width: 12px; height: 12px; top: 2px; left: 2px; background: var(--paper-dim); border-radius: 2px; }
.mock-switch.on { border-color: var(--doom); box-shadow: 0 0 8px rgba(255,46,136,0.5); }
.mock-switch.on::before { left: 18px; background: var(--doom); }

/* ── generic panel/card ── */
.panel {
  background: var(--panel); border: 1px solid var(--panel-line); border-radius: 10px; padding: 24px;
}

/* ── mockup (scroll-mode stage) ── */
.stage-mock {
  position: relative; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--panel-line); background: #000; aspect-ratio: 16/10;
  box-shadow: 0 40px 100px -30px rgba(255,46,136,0.25);
}
.stage-mock .scene {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,46,136,0.18), transparent 55%),
    radial-gradient(ellipse at 75% 80%, rgba(122,16,73,0.35), transparent 60%),
    linear-gradient(160deg, #170a24, #05010a 70%);
}
.scanline {
  position: absolute; left: 0; right: 0; height: 140px;
  background: linear-gradient(to bottom, transparent, rgba(255,46,136,0.10), transparent);
  animation: scan 5s linear infinite;
}
@keyframes scan { 0% { top: -140px; } 100% { top: 100%; } }
.mock-topbar {
  position: absolute; top: 0; left: 0; right: 0; height: 15%; display: flex;
  align-items: center; justify-content: space-between; padding: 0 20px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
}
.mock-pill {
  font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,0.8);
  background: rgba(0,0,0,0.4); padding: 4px 12px; border-radius: 20px; letter-spacing: 0.05em;
}
.mock-round { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center; font-size: 13px; color: #fff; }
.mock-round svg { width: 14px; height: 14px; }
.mock-actions { position: absolute; right: 4%; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 14px; }
.mock-actions .ico {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.15s;
}
.mock-actions .ico svg { width: 19px; height: 19px; fill: #fff; transition: fill 0.2s; }
.mock-actions .ico.pop {
  background: rgba(255,46,136,0.22); animation: mockPop 0.5s ease;
}
.mock-actions .ico.pop svg { fill: var(--doom); }
@keyframes mockPop {
  0% { transform: scale(1); }
  35% { transform: scale(1.22); }
  60% { transform: scale(0.94); }
  100% { transform: scale(1); }
}
@keyframes counterTick {
  0% { opacity: 1; transform: translateY(0); }
  40% { opacity: 0; transform: translateY(-6px); }
  41% { opacity: 0; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}
#mock-counter.tick { display: inline-block; animation: counterTick 0.4s ease; }

/* troca de post: leve scroll na mídia + fade/slide no nome+texto */
@keyframes sceneShift {
  0% { transform: translateY(0); }
  45% { transform: translateY(-14px); }
  46% { transform: translateY(10px); }
  100% { transform: translateY(0); }
}
.stage-mock .scene.shift { animation: sceneShift 0.55s cubic-bezier(.3,.7,.4,1); }

@keyframes metaSwap {
  0% { opacity: 1; transform: translateY(0); }
  45% { opacity: 0; transform: translateY(-8px); }
  55% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}
#mock-meta.swap #mock-author,
#mock-meta.swap #mock-text { animation: metaSwap 0.5s ease; }
.mock-meta {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 30px 100px 24px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
}
.mock-meta .author { font-family: var(--sans); font-weight: 600; font-size: 13px; color: #fff; margin-bottom: 4px; }
.mock-meta .txt { font-size: 12px; color: rgba(255,255,255,0.65); }
.mock-badge {
  position: absolute; top: 15%; left: 50%; transform: translate(-50%, 18px);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--paper-faint);
}
.mock-cover {
  position: absolute; inset: 0; background: var(--void); display: flex; align-items: center;
  justify-content: center; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(239,231,245,0.4);
}
.mock-patch {
  position: absolute; background: rgba(255,46,136,0.28); backdrop-filter: blur(9px);
  border: 1px solid rgba(255,46,136,0.5); border-radius: 4px;
}

/* ── steps ── */
.steps-visual { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 780px) { .steps-visual { grid-template-columns: 1fr; } }
.step-card {
  background: var(--panel); border: 1px solid var(--panel-line); border-radius: 10px; padding: 22px;
  position: relative;
}
.step-card .num {
  /* --doom-dim aqui dava 1.83:1 de contraste contra --panel (WCAG AA pede
     3:1 mínimo mesmo pra texto grande) -- quase ilegível. --doom (5.48:1)
     é a mesma família de cor, só a variante que já é usada em texto/botão
     no resto do site. */
  font-family: var(--mono); font-size: 34px; font-weight: 700; color: var(--doom);
  margin-bottom: 10px; line-height: 1;
}
.step-card h3 { margin-bottom: 8px; }
.step-card p { font-size: 13.5px; color: var(--paper-dim); margin: 0; }

/* ── pricing (shared across pricing.html and index.html teaser) ── */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 780px) { .products { grid-template-columns: 1fr; } }
.product {
  background: var(--panel); border: 1px solid var(--panel-line); border-radius: 8px;
  padding: 26px 22px; display: flex; flex-direction: column; gap: 14px;
}
.product.shield { border-color: var(--doom-dim); position: relative; }
.product.shield::before {
  content: "Sold on its own"; position: absolute; top: -11px; right: 18px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--doom); color: var(--void); padding: 3px 8px; border-radius: 3px;
}
.product .kick { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--paper-dim); }
.product h3.pname { font-family: var(--mono); font-size: 19px; margin: 0; letter-spacing: 0.01em; text-transform: none; }
.product .price { font-family: var(--mono); font-size: 28px; font-weight: 700; color: var(--doom); font-variant-numeric: tabular-nums; }
.product .price small { font-size: 13px; color: var(--paper-dim); font-weight: 400; }
.product .yearly { font-family: var(--mono); font-size: 11.5px; color: var(--paper-faint); }
.product ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.product li { font-size: 13.5px; color: var(--paper-dim); padding-left: 18px; position: relative; }
.product li::before { content: "·"; position: absolute; left: 4px; top: -2px; color: var(--doom); font-size: 20px; }

.bundle {
  margin-top: 22px; position: relative; border-radius: 10px; padding: 30px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(255,46,136,0.16), transparent 60%),
    radial-gradient(ellipse at 100% 100%, rgba(255,46,136,0.1), transparent 55%),
    var(--panel-2);
  border: 1px solid var(--doom);
  box-shadow: 0 0 40px -12px rgba(255,46,136,0.35);
}
.bundle::before {
  content: "Best value"; position: absolute; top: -11px; left: 28px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--doom); color: var(--void); padding: 3px 10px; border-radius: 3px;
}
.bundle .txt strong {
  font-family: var(--mono); text-transform: uppercase; font-size: 20px; letter-spacing: 0.01em; color: #fff;
}
.bundle .txt p { margin: 6px 0 0; font-size: 14px; color: var(--paper-dim); max-width: 46ch; }
.bundle .pricebox { text-align: right; }
.bundle .was {
  display: block; font-family: var(--mono); font-size: 13px; color: var(--paper-faint);
  text-decoration: line-through; margin-bottom: 2px;
}
.bundle .now { font-family: var(--mono); font-size: 30px; font-weight: 700; color: var(--doom); font-variant-numeric: tabular-nums; }
.bundle .now small { font-size: 13px; color: var(--paper-dim); font-weight: 400; }
.bundle .save {
  display: inline-block; margin-top: 4px; font-family: var(--mono); font-size: 11px; font-weight: 700;
  color: var(--warn); letter-spacing: 0.03em;
}
@media (max-width: 560px) { .bundle .pricebox { text-align: left; } }

.matrix-wrap { overflow-x: auto; border: 1px solid var(--panel-line); border-radius: 8px; margin-top: 36px; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 560px; }
thead th {
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--paper-faint); text-align: left; padding: 12px 16px; background: var(--panel);
  border-bottom: 1px solid var(--panel-line);
}
thead th:not(:first-child) { text-align: center; }
tbody td { padding: 11px 16px; border-bottom: 1px solid var(--panel-line); color: var(--paper-dim); }
tbody td:not(:first-child) { text-align: center; font-family: var(--mono); }
tbody tr:last-child td { border-bottom: none; }
tbody td:first-child { color: var(--paper); }
.yes { color: var(--doom); font-weight: 700; }
/* --panel-line aqui dava ~1.2:1 de contraste contra o fundo -- o "—" de
   recurso não incluso ficava praticamente invisível na tabela de
   comparação de planos (pricing.html), que existe justamente pra ajudar
   a decidir o que comprar. --paper-faint mantém o "no" visualmente mais
   discreto que o "yes" (hierarquia intencional preservada), mas com
   contraste que passa WCAG AA (4.5:1+). */
.no { color: var(--paper-faint); }

/* ── FAQ ── */
.faq-item { border-bottom: 1px dashed var(--panel-line); padding: 20px 0; }
.faq-item:first-child { padding-top: 0; }
.faq-item summary {
  cursor: pointer; font-family: var(--mono); font-size: 14px; color: var(--paper);
  list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; color: var(--doom); font-size: 18px; flex: 0 0 auto;
  display: inline-block; transition: transform 0.25s cubic-bezier(.16,.84,.44,1);
}
.faq-item[open] summary::after { content: "+"; transform: rotate(45deg); }
.faq-item p { color: var(--paper-dim); font-size: 14px; margin: 14px 0 0; max-width: 65ch; }
.faq-item[open] p { animation: faqReveal 0.35s cubic-bezier(.16,.84,.44,1); }
@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .faq-item summary::after { transition: none; }
  .faq-item[open] p { animation: none; }
}

/* ── trust ── */
.trust {
  background: var(--panel); border-left: 3px solid var(--warn); border-radius: 0 10px 10px 0;
  padding: 26px 30px;
}
.trust .tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--warn); margin-bottom: 10px; display: block; }
.trust p { margin: 0; font-size: 14.5px; color: var(--paper-dim); }
.trust p + p { margin-top: 10px; }

/* ── final cta ── */
.final-cta { text-align: center; }
.final-cta h2 { margin-bottom: 10px; }
.final-cta p { color: var(--paper-dim); margin: 0 0 30px; }
.status-badge {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--paper-dim);
  border: 1px solid var(--panel-line); border-radius: 20px; padding: 9px 18px; margin-top: 18px;
}
.status-badge .blip { width: 7px; height: 7px; border-radius: 50%; background: var(--warn);
  box-shadow: 0 0 8px var(--warn); animation: blip 1.6s ease-in-out infinite; }
@keyframes blip { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ── featured article ── */
.article-featured {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-bottom: 20px;
  background: var(--panel); border: 1px solid var(--doom-dim); border-radius: 10px;
  overflow: hidden; text-decoration: none; transition: border-color 0.2s;
}
.article-featured:hover { border-color: var(--doom); }
@media (max-width: 780px) { .article-featured { grid-template-columns: 1fr; } }
.article-featured .visual {
  position: relative; min-height: 220px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,46,136,0.18), transparent 55%),
    radial-gradient(ellipse at 75% 80%, rgba(122,16,73,0.35), transparent 60%),
    linear-gradient(160deg, #170a24, #05010a 70%);
}
.article-featured .visual .mock-patch { position: absolute; }
.article-visual {
  position: relative; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; gap: 12px; padding: 24px 18px; overflow: hidden;
}
.article-visual .badge {
  position: relative; z-index: 1; font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--doom);
  border: 1px solid var(--doom-dim); border-radius: 20px; padding: 4px 12px; background: rgba(10,2,16,0.4);
}
.article-visual .word {
  position: relative; z-index: 1; font-family: var(--mono); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.01em; font-size: clamp(20px, 3.6vw, 32px); line-height: 1.15; color: #fff;
  text-wrap: balance; margin: 0;
}
.article-visual .word .accent { color: var(--doom); }
.article-card .article-visual {
  min-height: 130px; margin-bottom: 16px; border-radius: 6px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,46,136,0.16), transparent 55%),
    radial-gradient(ellipse at 75% 80%, rgba(122,16,73,0.3), transparent 60%),
    linear-gradient(160deg, #170a24, #05010a 70%);
}
.article-cover {
  min-height: 200px; border-radius: 8px; border: 1px solid var(--panel-line); margin-bottom: 36px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,46,136,0.18), transparent 55%),
    radial-gradient(ellipse at 75% 80%, rgba(122,16,73,0.35), transparent 60%),
    linear-gradient(160deg, #170a24, #05010a 70%);
}
.article-featured .body { padding: 34px 32px; display: flex; flex-direction: column; justify-content: center; }
.article-featured .meta { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--doom); margin-bottom: 12px; }
.article-featured h3 { text-transform: none; font-size: 24px; margin-bottom: 12px; text-wrap: balance; }
.article-featured p { font-size: 14.5px; color: var(--paper-dim); margin: 0; }
.article-featured .read { display: inline-block; margin-top: 16px; font-family: var(--mono); font-size: 12px; color: var(--doom); }

/* ── articles ── */
.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 780px) { .article-grid { grid-template-columns: 1fr; } }
.article-card {
  background: var(--panel); border: 1px solid var(--panel-line); border-radius: 10px;
  padding: 26px 24px; text-decoration: none; display: block; transition: border-color 0.15s;
}
.article-card:hover { border-color: var(--doom-dim); }
.article-card .meta {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--paper-faint); margin-bottom: 12px;
}
.article-card h3 { text-transform: none; font-size: 18px; margin-bottom: 10px; }
.article-card p { font-size: 13.5px; color: var(--paper-dim); margin: 0; }
.article-card .read { display: inline-block; margin-top: 14px; font-family: var(--mono); font-size: 12px; color: var(--doom); }

.article-body { max-width: 640px; margin: 0 auto; }
.article-body p { font-size: 16px; color: var(--paper-dim); margin: 0 0 20px; }
.article-body h2 { margin-top: 44px; }
.article-body blockquote {
  margin: 32px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--doom);
  font-size: 17px; color: var(--paper); font-style: italic;
}
.article-meta {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--paper-faint); margin-bottom: 10px;
}

/* ── footer ── */
footer.site {
  border-top: 1px solid var(--panel-line); padding: 56px 0 30px; margin-top: 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px;
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-col .brand { margin-bottom: 12px; }
.footer-col p { font-size: 13px; color: var(--paper-dim); max-width: 32ch; margin: 0; }
.footer-col h4 {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--paper-faint); margin: 0 0 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13.5px; color: var(--paper-dim); text-decoration: none; }
.footer-col a:hover { color: var(--doom); }
.footer-bottom {
  border-top: 1px dashed var(--panel-line); padding-top: 22px; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom .fine { font-family: var(--mono); font-size: 11px; color: var(--paper-faint); letter-spacing: 0.03em; }

/* ── motion ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; }
.reveal.in:not(.stagger) { animation: fadeUp 0.7s cubic-bezier(.16,.84,.44,1) forwards; }
.reveal.stagger.in { opacity: 1; }
.reveal.stagger.in > * { opacity: 0; animation: fadeUp 0.6s cubic-bezier(.16,.84,.44,1) forwards; }
.reveal.stagger.in > *:nth-child(1) { animation-delay: 0.03s; }
.reveal.stagger.in > *:nth-child(2) { animation-delay: 0.11s; }
.reveal.stagger.in > *:nth-child(3) { animation-delay: 0.19s; }
.reveal.stagger.in > *:nth-child(4) { animation-delay: 0.27s; }
.reveal.stagger.in > *:nth-child(5) { animation-delay: 0.35s; }
.reveal.stagger.in > *:nth-child(6) { animation-delay: 0.43s; }

/* hero load-in sequence */
@keyframes lineIn {
  from { opacity: 0; transform: translateY(28px) skewY(1deg); }
  to { opacity: 1; transform: translateY(0) skewY(0); }
}
h1.headline .line {
  display: block; opacity: 0; animation: lineIn 0.8s cubic-bezier(.16,.84,.44,1) forwards;
}
h1.headline .line:nth-child(1) { animation-delay: 0.05s; }
h1.headline .line:nth-child(2) { animation-delay: 0.16s; }
h1.headline .line:nth-child(3) { animation-delay: 0.27s; }
.eyebrow.in-load { opacity: 0; animation: fadeUp 0.6s ease forwards 0s; }
.sub.in-load { opacity: 0; animation: fadeUp 0.7s ease forwards 0.36s; }
.hero-ctas.in-load { opacity: 0; animation: fadeUp 0.7s ease forwards 0.46s; }
.stage-mock.in-load { opacity: 0; animation: fadeUp 0.9s cubic-bezier(.16,.84,.44,1) forwards 0.52s; }

/* ambient drifting glow behind the hero */
header.hero { position: relative; overflow: hidden; padding: 76px 0 60px; }
header.hero::before {
  content: ""; position: absolute; top: -30%; left: 50%; width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(255,46,136,0.14), transparent 60%);
  transform: translateX(-50%); animation: drift 14s ease-in-out infinite; pointer-events: none; z-index: 0;
}
@keyframes drift {
  0%, 100% { transform: translate(-50%, 0) scale(1); }
  50% { transform: translate(-46%, 3%) scale(1.08); }
}
header.hero .wrap { position: relative; z-index: 1; }

/* hover lift on interactive cards */
.feat, .product, .step-card, .panel { transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.feat:hover, .step-card:hover { transform: translateY(-3px); border-color: var(--doom-dim); }
.product:hover { transform: translateY(-4px); box-shadow: 0 20px 50px -22px rgba(255,46,136,0.35); }
.article-card { transition: transform 0.2s ease, border-color 0.2s ease; }
.article-card:hover { transform: translateY(-3px); }

.brand .dot { transition: box-shadow 0.2s; }
.brand:hover .dot { box-shadow: 0 0 10px var(--doom); }

@media (prefers-reduced-motion: reduce) {
  .scanline, .status-badge .blip, header.hero::before { animation: none; }
  .reveal, .reveal.stagger > *, h1.headline .line, .eyebrow.in-load, .sub.in-load,
  .hero-ctas.in-load, .stage-mock.in-load { animation: none !important; opacity: 1 !important; transform: none !important; }
  .feat:hover, .step-card:hover, .product:hover, .article-card:hover { transform: none; }
}
