/* Reefly — base tokens + typography */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500&display=swap');

:root {
  --navy: #0D1117;
  --navy-2: #111820;
  --navy-3: #1C232D;
  --navy-line: #242C38;
  --cyan: #00C2CB;
  --cyan-dim: #06848a;
  --white: #ffffff;
  --paper: #F5F3EE;
  --ink: #0D1117;
  --coral: oklch(0.72 0.12 30);
  --muted: #8A95A5;
  --muted-2: #5C6573;
  --success: #3ECF8E;

  --font-sans: 'Geist', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, monospace;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;

  --sec-y: 120px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--navy);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "ss02", "cv11";
  line-height: 1.5;
}

/* --- Mood: rh light --- */
body.mood-rh {
  background: var(--paper);
  color: var(--ink);
}
body.mood-rh {
  --navy-3: #E6E1D6;
  --navy-line: #D9D3C5;
  --navy-2: #EDE9DF;
  --muted: #6B6557;
  --muted-2: #8A8577;
  --cyan: #0E8C92;
}

/* --- Mood: editorial (off-white + large type) --- */
body.mood-editorial {
  background: #EFECE4;
  color: #1A1A1A;
}
body.mood-editorial {
  --navy-3: #D8D3C6;
  --navy-line: #CFC9BA;
  --navy-2: #E5E1D4;
  --muted: #6B6557;
  --muted-2: #8A8577;
  --cyan: #0D1117;
}

/* Density */
body.dense { --sec-y: 80px; }

h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: 0; background: none; color: inherit; cursor: pointer; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .container { padding: 0 20px; } }

section { padding: var(--sec-y) 0; border-bottom: 1px solid var(--navy-line); }

/* Type scale — tech clean */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--cyan) 20%, transparent);
}

h1.display {
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 500;
  text-wrap: balance;
}
h2.section-title {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 500;
  text-wrap: balance;
}
h3 { font-weight: 500; letter-spacing: -0.01em; }

.lede {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--muted);
  line-height: 1.45;
  max-width: 640px;
  text-wrap: pretty;
}

.mono { font-family: var(--font-mono); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 15px;
  transition: all .15s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--cyan);
  color: #ffffff;
}
.btn-primary:hover { background: color-mix(in oklab, var(--cyan) 88%, white); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  border-color: var(--navy-line);
  color: inherit;
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* Hairline card */
.card {
  background: var(--navy-2);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg);
}
body.mood-rh .card,
body.mood-editorial .card {
  background: transparent;
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  background: color-mix(in oklab, var(--navy) 78%, transparent);
  border-bottom: 1px solid var(--navy-line);
}
body.mood-rh .nav,
body.mood-editorial .nav {
  background: color-mix(in oklab, var(--paper) 78%, transparent);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 500; letter-spacing: -0.01em; font-size: 18px; }
.brand-mark {
  width: 28px; height: 28px;
  object-fit: contain;
  display: block;
}
/* logo is black-on-transparent — invert on dark (tech) mood so it stays visible */
body:not(.mood-rh):not(.mood-editorial) .brand-mark { filter: invert(1); }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: inherit; }
@media (max-width: 720px) { .nav-links { display: none; } }

/* Hero */
.hero {
  padding-top: 0;
  padding-bottom: 0;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
}
.hero > .container { width: 100%; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero { min-height: auto; padding: 72px 0; }
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }
.hero-meta {
  display: flex; gap: 20px; align-items: center;
  margin-top: 40px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.hero-meta-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--success) 20%, transparent);
}

.hero-cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

/* WhatsApp mockup */
.wa-frame {
  background: #0B141A;
  border-radius: 24px;
  padding: 10px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 1px var(--navy-line);
  max-width: 380px;
  margin-left: auto;
  position: relative;
}
body.mood-rh .wa-frame { box-shadow: 0 30px 60px -20px rgba(0,0,0,.15), 0 0 0 1px var(--navy-line); }

.wa-header {
  background: #1F2C34;
  color: #E9EDEF;
  padding: 10px 12px;
  border-radius: 16px 16px 0 0;
  display: flex; align-items: center; gap: 10px;
  font-size: 14px;
}
.wa-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--cyan); color: #00252a;
  display: grid; place-items: center;
  font-weight: 600; font-size: 13px;
}
.wa-title { font-weight: 500; }
.wa-sub { font-size: 11px; color: #8696A0; }
.wa-body {
  background: #0B141A;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 8px 8px;
  padding: 14px 12px;
  min-height: 460px;
  display: flex; flex-direction: column; gap: 8px;
  border-radius: 0 0 16px 16px;
  font-size: 14px;
  color: #E9EDEF;
}
.wa-bubble {
  max-width: 78%;
  padding: 7px 10px 5px;
  border-radius: 8px;
  line-height: 1.35;
  position: relative;
  font-size: 13.5px;
  animation: wa-in .35s cubic-bezier(.2,.8,.2,1) both;
}
.wa-bubble.them { background: #1F2C34; align-self: flex-start; border-top-left-radius: 0; }
.wa-bubble.me { background: #005C4B; align-self: flex-end; border-top-right-radius: 0; }
.wa-meta { font-size: 10px; color: rgba(255,255,255,0.55); margin-top: 3px; text-align: right; font-family: var(--font-mono); }
.wa-bubble.them .wa-meta { text-align: left; }
.wa-typing { background: #1F2C34; align-self: flex-start; padding: 10px 14px; border-radius: 8px; border-top-left-radius: 0; display: inline-flex; gap: 4px; }
.wa-typing span { width: 6px; height: 6px; border-radius: 50%; background: #8696A0; animation: wa-dot 1.1s infinite ease-in-out; }
.wa-typing span:nth-child(2) { animation-delay: .15s; }
.wa-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes wa-dot {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-2px); }
}
@keyframes wa-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Employee badge (hero variant B) */
.badge-card {
  border: 1px solid var(--navy-line);
  background: var(--navy-2);
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 380px;
  margin-left: auto;
  position: relative;
}
body.mood-rh .badge-card { background: #FBF9F3; }
body.mood-editorial .badge-card { background: #F5F2E8; }
.badge-row {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px dashed var(--navy-line);
}
.badge-row:last-child { border-bottom: 0; }
.badge-row .k { color: var(--muted); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; }
.badge-row .v { font-size: 14px; text-align: right; max-width: 60%; }
.badge-hdr {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 16px; margin-bottom: 8px;
  border-bottom: 1px solid var(--navy-line);
}
.badge-matricula { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: 0.1em; }
.badge-name { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.badge-role { color: var(--muted); font-size: 13px; }
.badge-price { font-size: 32px; font-weight: 500; letter-spacing: -0.02em; margin-top: 18px; }
.badge-price small { font-size: 13px; color: var(--muted); font-weight: 400; }

.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em;
  background: color-mix(in oklab, var(--success) 15%, transparent);
  color: var(--success);
  border: 1px solid color-mix(in oklab, var(--success) 30%, transparent);
}
.status-pill::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--success) 25%, transparent);
}
.status-pill.soon {
  color: var(--coral);
  background: color-mix(in oklab, var(--coral) 12%, transparent);
  border-color: color-mix(in oklab, var(--coral) 30%, transparent);
}
.status-pill.soon::before { background: var(--coral); box-shadow: 0 0 0 3px color-mix(in oklab, var(--coral) 20%, transparent); }

/* Problems */
.problems-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
@media (max-width: 860px) { .problems-grid { grid-template-columns: 1fr; } }
.problem {
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: var(--navy-2);
}
body.mood-rh .problem, body.mood-editorial .problem { background: transparent; }
.problem-n { font-family: var(--font-mono); color: var(--cyan); font-size: 12px; letter-spacing: 0.08em; }
.problem h3 { font-size: 22px; margin: 18px 0 10px; letter-spacing: -0.02em; font-weight: 500; text-wrap: balance; }
.problem p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* Employees */
.emp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
@media (max-width: 1000px) { .emp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .emp-grid { grid-template-columns: 1fr; } }

.emp {
  position: relative;
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg);
  padding: 22px;
  background: var(--navy-2);
  transition: all .2s ease;
  overflow: hidden;
  cursor: default;
}

/* Avatar (illustrated persona) */
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  overflow: visible;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 1px 2px rgba(0,0,0,0.08);
}
.avatar img {
  width: 100%; height: 100%;
  border-radius: 50%;
  display: block;
  object-fit: cover;
}
.avatar.lg { width: 64px; height: 64px; }
.avatar.sm { width: 32px; height: 32px; }
.avatar[data-hue="rafael"] { background: #00C2CB; }
.avatar[data-hue="clara"]  { background: #E89B6C; }
.avatar[data-hue="igor"]   { background: #B08CE8; }
.avatar[data-hue="ana"]    { background: #E8C56C; }
.avatar[data-hue="leo"]    { background: #6CD9A8; }
.avatar[data-hue="sergio"] { background: #E86C8C; }
.avatar .status-dot {
  position: absolute;
  right: -2px; bottom: -2px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--success);
  border: 2.5px solid var(--navy-2);
}
body.mood-rh .avatar .status-dot, body.mood-editorial .avatar .status-dot { border-color: var(--paper); }
.avatar.soon .status-dot { background: var(--muted-2); }
.avatar.no-dot .status-dot { display: none; }

.emp-head-row {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 8px;
}
.emp-head-row .avatar { margin-top: 2px; }
body.mood-rh .emp, body.mood-editorial .emp { background: transparent; }
.emp:hover { border-color: var(--cyan); transform: translateY(-2px); }
.emp-head { display: flex; justify-content: space-between; align-items: center; }
.emp-mat { font-family: var(--font-mono); color: var(--muted); font-size: 11px; letter-spacing: 0.1em; }
.emp-name { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; margin-top: 18px; }
.emp-role { color: var(--muted); font-size: 13.5px; margin-top: 6px; min-height: 40px; }
.emp-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--navy-line); }
.emp-price { font-family: var(--font-mono); font-size: 13px; color: inherit; }
.emp-price.soon { color: var(--muted); }

/* Hover reveals currículo */
.emp-cv {
  position: absolute; inset: 0;
  background: var(--navy-2);
  padding: 22px;
  border-radius: var(--radius-lg);
  opacity: 0;
  transform: translateY(8px);
  transition: all .25s ease;
  pointer-events: none;
  display: flex; flex-direction: column;
  border: 1px solid var(--cyan);
}
body.mood-rh .emp-cv { background: var(--paper); }
body.mood-editorial .emp-cv { background: #EFECE4; }
.emp:hover .emp-cv { opacity: 1; transform: translateY(0); pointer-events: auto; }
.emp-cv h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; font-weight: 400; margin-bottom: 8px; }
.emp-cv ul { list-style: none; padding: 0; margin: 0 0 14px; }
.emp-cv li { font-size: 13px; padding: 4px 0; border-bottom: 1px dashed var(--navy-line); display: flex; justify-content: space-between; gap: 12px; }
.emp-cv li:last-child { border-bottom: 0; }
.emp-cv li span:last-child { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }

/* Como funciona */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 28px 0; border-top: 1px solid var(--navy-line); }
.step-n { font-family: var(--font-mono); font-size: 13px; color: var(--cyan); }
.step h3 { font-size: 22px; margin: 14px 0 8px; letter-spacing: -0.02em; font-weight: 500; text-wrap: balance; }
.step p { color: var(--muted); font-size: 14.5px; }

/* Comparativo */
.compare {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  margin-top: 56px;
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.compare-cell {
  padding: 22px 24px;
  border-bottom: 1px solid var(--navy-line);
  font-size: 15px;
  display: flex; align-items: center;
}
.compare-cell:nth-last-child(-n+3) { border-bottom: 0; }
.compare-head {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted);
  background: var(--navy-2);
}
body.mood-rh .compare-head, body.mood-editorial .compare-head { background: transparent; }
.compare-cell.human { color: var(--muted); }
.compare-cell.ai {
  background: color-mix(in oklab, var(--cyan) 8%, transparent);
  border-left: 1px solid var(--navy-line);
}
.compare-cell.label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; border-right: 1px solid var(--navy-line); }
.compare-cell strong { font-weight: 500; color: inherit; }
.compare-cell.ai strong { color: var(--cyan); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr 1fr; }
  .compare .compare-cell.label { display: none; }
}

/* Calculadora */
.calc {
  margin-top: 56px;
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg);
  padding: 36px;
  background: var(--navy-2);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
body.mood-rh .calc, body.mood-editorial .calc { background: transparent; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; gap: 32px; } }
.calc label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.calc input[type=range] { width: 100%; accent-color: var(--cyan); }
.calc-value { font-family: var(--font-mono); font-size: 14px; color: inherit; display: flex; justify-content: space-between; margin-bottom: 8px; }
.calc-big { font-size: 64px; letter-spacing: -0.04em; font-weight: 500; line-height: 1; color: var(--cyan); }
.calc-big small { font-size: 14px; color: var(--muted); font-family: var(--font-mono); display: block; margin-top: 10px; letter-spacing: 0.05em; }

/* Plans */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }
.plan {
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg);
  padding: 36px;
  background: var(--navy-2);
  position: relative;
}
body.mood-rh .plan, body.mood-editorial .plan { background: transparent; }
.plan.featured { border-color: var(--cyan); }
.plan.featured::after {
  content: "MAIS COMPLETO";
  position: absolute; top: 20px; right: 20px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  color: var(--cyan);
  padding: 4px 8px; border: 1px solid var(--cyan); border-radius: 4px;
}
.plan h3 { font-size: 22px; letter-spacing: -0.02em; font-weight: 500; }
.plan-role { color: var(--muted); font-size: 13px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.plan-price { font-size: 48px; letter-spacing: -0.03em; margin: 20px 0 6px; font-weight: 500; }
.plan-price small { font-size: 14px; color: var(--muted); font-weight: 400; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 0; }
.plan li { padding: 12px 0; border-top: 1px dashed var(--navy-line); font-size: 14px; display: flex; gap: 12px; align-items: flex-start; }
.plan li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); margin-top: 9px; flex-shrink: 0; }
.plan .btn { width: 100%; justify-content: center; margin-top: 28px; }

/* FAQ */
.faq { max-width: 760px; margin: 56px auto 0; }
.faq-item { border-top: 1px solid var(--navy-line); }
.faq-item:last-child { border-bottom: 1px solid var(--navy-line); }
.faq-q { width: 100%; text-align: left; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; font-size: 17px; letter-spacing: -0.01em; font-weight: 500; }
.faq-q .plus { font-family: var(--font-mono); color: var(--muted); transition: transform .25s ease; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); color: var(--cyan); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; color: var(--muted); font-size: 15px; }
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 24px; }

/* Final CTA */
.final {
  text-align: center;
  padding: 160px 0;
}
.final h2 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.035em; line-height: 1; font-weight: 500; text-wrap: balance; }
.final p { color: var(--muted); font-size: 18px; margin-top: 20px; }
.final .btn { margin-top: 40px; padding: 18px 28px; font-size: 16px; }

/* Footer */
footer {
  padding: 48px 0;
  border-top: 1px solid var(--navy-line);
  color: var(--muted);
  font-size: 13px;
}
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 24px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.05em; }

/* Hire animation overlay */
.hire-overlay {
  position: fixed; inset: 0;
  background: color-mix(in oklab, var(--navy) 85%, transparent);
  backdrop-filter: blur(10px);
  z-index: 100;
  display: none;
  place-items: center;
  animation: fade-in .25s ease both;
}
.hire-overlay.show { display: grid; }
.hire-card {
  width: min(480px, 90vw);
  background: var(--navy-2);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  animation: pop .35s cubic-bezier(.2,.8,.2,1) both;
}
body.mood-rh .hire-card, body.mood-editorial .hire-card {
  background: var(--paper);
}
.hire-stage { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); }
.hire-title { font-size: 32px; letter-spacing: -0.02em; margin-top: 12px; font-weight: 500; line-height: 1.05; text-wrap: balance; }
.hire-sub { color: var(--muted); margin-top: 10px; font-size: 14px; }
.hire-steps { margin-top: 24px; font-family: var(--font-mono); font-size: 12px; text-align: left; }
.hire-step { padding: 8px 0; display: flex; justify-content: space-between; opacity: 0.3; transition: opacity .3s; }
.hire-step.done { opacity: 1; }
.hire-step.done::after { content: "OK"; color: var(--success); }
.hire-step.active { opacity: 1; color: var(--cyan); }
.hire-step.active::after { content: "..."; color: var(--cyan); }
.hire-close { margin-top: 24px; }

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop {
  from { opacity: 0; transform: scale(0.9) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Tweaks panel */
#tweaks {
  position: fixed; right: 20px; bottom: 20px;
  width: 300px;
  background: var(--navy-2);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-lg);
  padding: 18px;
  font-size: 13px;
  z-index: 200;
  display: none;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.6);
}
body.mood-rh #tweaks, body.mood-editorial #tweaks { background: var(--paper); box-shadow: 0 20px 60px -20px rgba(0,0,0,0.15); }
#tweaks.show { display: block; }
#tweaks h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 8px; }
.tweak-group { margin-bottom: 16px; }
.tweak-group:last-child { margin-bottom: 0; }
.tweak-opts { display: flex; gap: 4px; flex-wrap: wrap; }
.tweak-opt {
  padding: 6px 10px;
  border: 1px solid var(--navy-line);
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  background: transparent;
  color: inherit;
  font-family: inherit;
}
.tweak-opt.active { border-color: var(--cyan); color: var(--cyan); }

/* Section headers consistency */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-head .lede { max-width: 420px; margin-top: 16px; }
@media (max-width: 860px) { .section-head { flex-direction: column; align-items: flex-start; } }

/* Variant: editorial tweaks */
body.mood-editorial h1.display,
body.mood-editorial h2.section-title { font-weight: 400; letter-spacing: -0.04em; }
body.mood-editorial .btn-primary { background: #1A1A1A; color: #EFECE4; }

/* Small fixes */
::selection { background: var(--cyan); color: var(--navy); }
