/* site.css — FacturaPoint public website (facturapoint.com) */

:root {
  --brand:     #1E3A8A;
  --brand-2:   #3B5BD0;
  --brand-ink: #0F1F4E;
  --brand-bg:  #EEF2FB;
  --accent:    #EE7B33;
  --accent-bg: #FFF1E5;
  --success:   #10A37F;
  --success-bg:#E5F4EE;
  --warn:      #D97706;
  --warn-bg:   #FEF3C7;
  --danger:    #DC2626;
  --danger-bg: #FEE2E2;
  --purple:    #7C3AED;
  --purple-bg: #F3E8FF;
  --ink:       #0F172A;
  --ink-2:     #1E293B;
  --muted:     #64748B;
  --muted-2:   #94A3B8;
  --line:      #E2E8F0;
  --line-2:    #EFF2F6;
  --bg:        #FAFBFC;
  --surface:   #FFFFFF;
  --surface-2: #F5F7FA;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Onest', ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background: var(--surface);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.mono { font-family: 'JetBrains Mono', monospace; }
.serif { font-family: 'Instrument Serif', serif; font-weight: 400; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* === NAV === */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-2);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 7px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  display: inline-flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 14px; font-family: 'JetBrains Mono', monospace;
}
.nav-links { display: flex; gap: 22px; font-size: 14px; color: var(--muted); margin-left: 12px; }
.nav-links a { transition: color .15s; cursor: pointer; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active { font-weight: 600; }
.nav-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; color: var(--ink); padding: 6px; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta .btn:not(.primary) { display: none; }
  .nav-burger { display: inline-flex; }
}

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 8px;
  font-size: 14px; font-weight: 500; font-family: inherit;
  cursor: pointer; border: 1px solid transparent;
  transition: all .15s; background: transparent;
  color: var(--ink); white-space: nowrap;
}
.btn:hover { background: var(--surface-2); }
.btn.primary { background: var(--ink); color: white; border-color: var(--ink); }
.btn.primary:hover { background: var(--brand); border-color: var(--brand); }
.btn.outline { border-color: var(--line); }
.btn.outline:hover { border-color: var(--ink-2); background: white; }
.btn.lg { padding: 13px 22px; font-size: 15px; }
.btn svg { width: 14px; height: 14px; }

/* === HERO === */
.hero {
  padding: 80px 0 60px;
  background:
    radial-gradient(1200px 600px at 50% -10%, var(--brand-bg) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
  position: relative; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 920px) { .hero-grid { grid-template-columns: 1.1fr 1fr; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--brand-bg); color: var(--brand);
  font-size: 12px; font-weight: 600; letter-spacing: 0.05em; margin-bottom: 18px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--brand); animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
h1.hero-title {
  font-size: clamp(36px, 5vw, 60px); font-weight: 600; letter-spacing: -0.035em;
  line-height: 1.04; margin: 0 0 22px; color: var(--ink); text-wrap: balance;
}
h1.hero-title em { font-style: normal; font-family: 'Instrument Serif', serif; font-weight: 400; color: var(--brand); }
.hero-sub { font-size: 17.5px; color: var(--muted); max-width: 520px; line-height: 1.55; margin: 0 0 28px; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 18px; margin-top: 28px; font-size: 12.5px; color: var(--muted-2); align-items: center; flex-wrap: wrap; }
.hero-trust strong { color: var(--ink); font-weight: 600; }

/* faux product window */
.hero-screen {
  background: white; border-radius: 14px;
  box-shadow: 0 24px 80px -20px rgba(15,31,78,0.25), 0 8px 24px -8px rgba(15,31,78,0.15);
  border: 1px solid var(--line); overflow: hidden;
  transform: perspective(1400px) rotateY(-3deg) rotateX(2deg);
}
.hero-screen-chrome { height: 30px; background: var(--surface-2); border-bottom: 1px solid var(--line-2); display: flex; align-items: center; padding: 0 12px; gap: 5px; }
.hero-screen-chrome span { width: 9px; height: 9px; border-radius: 999px; background: var(--line); }
.hero-screen-chrome span:nth-child(1) { background: #FF5F57; }
.hero-screen-chrome span:nth-child(2) { background: #FEBC2E; }
.hero-screen-chrome span:nth-child(3) { background: #28C840; }
.hero-screen-chrome .url { margin-left: 14px; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted-2); }
.hero-screen-body { padding: 16px; }
.hero-screen-row { display: flex; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line-2); font-size: 12px; align-items: center; }
.hero-screen-row:last-child { border-bottom: 0; }
.hero-screen-row .mono { color: var(--muted-2); font-size: 10.5px; width: 38px; }
.hero-screen-row .tag { display: inline-block; padding: 1px 6px; border-radius: 4px; font-family: 'JetBrains Mono', monospace; font-size: 9px; font-weight: 700; letter-spacing: 0.06em; }
.hero-kpi-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.hero-kpi { background: var(--surface-2); padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line-2); }
.hero-kpi-label { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.1em; font-weight: 700; color: var(--muted-2); }
.hero-kpi-value { font-family: 'JetBrains Mono', monospace; font-size: 17px; font-weight: 600; color: var(--ink); margin-top: 2px; }
.hero-kpi-delta { font-size: 10.5px; color: var(--success); font-weight: 600; }

/* === LOGO STRIP === */
.logos { padding: 40px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); background: var(--surface); }
.logos-label { text-align: center; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; margin-bottom: 20px; }
.logos-row { display: flex; gap: 44px; justify-content: center; align-items: center; flex-wrap: wrap; }
.logos-row span { font-weight: 600; font-size: 16px; color: var(--muted); letter-spacing: -0.01em; transition: color .15s; }
.logos-row span:hover { color: var(--ink); }

/* === SECTIONS === */
.section { padding: 90px 0; }
.section.tight { padding: 64px 0; }
.section.alt { background: var(--surface-2); }
.section.bg { background: var(--bg); }
.section-eyebrow { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--brand-bg); color: var(--brand); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; margin-bottom: 16px; }
.section-title { font-size: clamp(28px, 3.6vw, 42px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 14px; text-wrap: balance; }
.section-sub { font-size: 16.5px; color: var(--muted); max-width: 620px; line-height: 1.55; margin: 0 0 56px; }
.section-head-center { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head-center .section-sub { margin-left: auto; margin-right: auto; }

/* page hero (interior pages) */
.page-hero { padding: 64px 0 48px; background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%); border-bottom: 1px solid var(--line-2); }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; margin: 14px 0; text-wrap: balance; }
.page-hero p { font-size: 17px; color: var(--muted); max-width: 600px; line-height: 1.55; margin: 0; }

/* === 6 OPS GRID === */
.ops-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 720px) { .ops-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .ops-grid { grid-template-columns: repeat(3, 1fr); } }
.op { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; transition: transform .18s, box-shadow .18s, border-color .18s; position: relative; }
.op:hover { transform: translateY(-2px); border-color: var(--brand); box-shadow: 0 18px 40px -12px rgba(15,31,78,0.16); }
.op-ic { width: 42px; height: 42px; border-radius: 10px; background: var(--brand-bg); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.op-ic.acc { background: var(--accent-bg); color: var(--accent); }
.op-ic.suc { background: var(--success-bg); color: var(--success); }
.op-ic.war { background: var(--warn-bg); color: var(--warn); }
.op-num { position: absolute; top: 18px; right: 22px; font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 700; color: var(--muted-2); letter-spacing: 0.1em; }
h3.op-title { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 6px; }
.op-desc { font-size: 14px; color: var(--muted); line-height: 1.5; margin: 0 0 14px; }
.op-feats { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.op-feats li { display: flex; gap: 8px; font-size: 13px; color: var(--ink-2); }
.op-feats li svg { color: var(--success); flex: 0 0 14px; margin-top: 2px; }

/* === SPLIT === */
.split { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 920px) { .split { grid-template-columns: 1fr 1fr; gap: 80px; } }
.split.reverse > div:first-child { order: 2; }
@media (max-width: 919px) { .split.reverse > div:first-child { order: 1; } }
.split h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; margin: 14px 0; }
.split p { font-size: 16px; color: var(--muted); line-height: 1.6; }
.split-card { background: white; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 14px 40px -12px rgba(15,31,78,0.12); padding: 22px; overflow: hidden; }
.stat-pair { display: flex; gap: 18px; margin-top: 24px; font-size: 14px; }
.stat-pair .mono { font-size: 11px; letter-spacing: 0.1em; color: var(--muted-2); font-weight: 600; }
.stat-pair .big { font-family: 'JetBrains Mono', monospace; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }

/* === PRICING === */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 720px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .pricing-grid { grid-template-columns: repeat(4, 1fr); } }
.plan { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 26px 22px; position: relative; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--brand); box-shadow: 0 18px 40px -12px rgba(30,58,138,0.2); }
.plan-badge { position: absolute; top: -11px; left: 22px; padding: 4px 10px; border-radius: 999px; background: var(--brand); color: white; font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; }
.plan-name { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin: 6px 0 4px; }
.plan-price .amount { font-family: 'JetBrains Mono', monospace; font-size: 36px; font-weight: 600; letter-spacing: -0.025em; color: var(--ink); }
.plan-price .per { font-size: 13px; color: var(--muted); }
.plan-cfdi { font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.plan-feats { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.plan-feats li { display: flex; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.plan-feats li svg { color: var(--success); flex: 0 0 14px; margin-top: 3px; }
.plan .btn { width: 100%; justify-content: center; }

/* === TESTIMONIALS === */
.test-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 720px) { .test-grid { grid-template-columns: 1fr 1fr 1fr; } }
.test { background: var(--surface-2); border-radius: 14px; padding: 24px; border: 1px solid var(--line-2); }
.test-quote { font-family: 'Instrument Serif', serif; font-size: 20px; line-height: 1.4; color: var(--ink); margin: 0 0 18px; letter-spacing: -0.01em; }
.test-quote::before { content: '"'; color: var(--brand); font-size: 24px; }
.test-author { display: flex; align-items: center; gap: 10px; }
.test-avatar { width: 38px; height: 38px; border-radius: 999px; background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%); color: white; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.test-name { font-weight: 600; font-size: 14px; }
.test-role { font-size: 12px; color: var(--muted); }

/* === RESOURCE CARDS (blog) === */
.res-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 720px) { .res-grid { grid-template-columns: 1fr 1fr 1fr; } }
.res-grid.two { grid-template-columns: 1fr; }
@media (min-width: 720px) { .res-grid.two { grid-template-columns: 1fr 1fr; } }
.res-card { background: white; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; transition: transform .18s, box-shadow .18s; display: flex; flex-direction: column; }
.res-card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(15,31,78,0.14); }
.res-cover { aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; color: white; font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 32px; position: relative; }
.res-cover .label { position: absolute; top: 12px; left: 14px; background: rgba(255,255,255,0.18); color: white; backdrop-filter: blur(8px); padding: 3px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; font-family: 'Onest', sans-serif; }
.res-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.res-title { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; margin: 0 0 6px; }
.res-meta { font-size: 12px; color: var(--muted); display: flex; gap: 8px; margin-bottom: 10px; }
.res-excerpt { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; margin: 0; }
.res-card.feature { grid-column: 1 / -1; }
@media (min-width: 720px) { .res-card.feature { display: grid; grid-template-columns: 1.1fr 1fr; } .res-card.feature .res-cover { aspect-ratio: auto; height: 100%; min-height: 260px; font-size: 56px; } }

/* === LIST (help / forum) === */
.res-list { background: white; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; }
.res-list-head { display: flex; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line-2); gap: 10px; }
.res-list-head h3 { margin: 0; font-size: 16px; font-weight: 600; }
.res-list-item { display: flex; align-items: center; gap: 12px; padding: 14px 22px; cursor: pointer; border-bottom: 1px solid var(--line-2); transition: background .12s; }
.res-list-item:last-child { border-bottom: 0; }
.res-list-item:hover { background: var(--surface-2); }
.res-list-item .ic { width: 32px; height: 32px; border-radius: 8px; background: var(--brand-bg); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 32px; }
.res-list-item .body { flex: 1; min-width: 0; }
.res-list-item .body b { font-size: 13.5px; font-weight: 600; display: block; }
.res-list-item .body span { font-size: 12px; color: var(--muted); }
.res-list-item .arrow { color: var(--muted-2); }

/* === HELP CATEGORY GRID === */
.help-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .help-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .help-grid { grid-template-columns: repeat(3, 1fr); } }
.help-cat { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 22px; transition: transform .18s, box-shadow .18s, border-color .18s; cursor: pointer; }
.help-cat:hover { transform: translateY(-2px); border-color: var(--brand); box-shadow: 0 14px 36px -14px rgba(15,31,78,0.14); }
.help-cat .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-bg); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.help-cat h3 { font-size: 16px; font-weight: 600; margin: 0 0 4px; letter-spacing: -0.01em; }
.help-cat p { font-size: 13px; color: var(--muted); margin: 0 0 10px; line-height: 1.45; }
.help-cat .count { font-size: 12px; color: var(--brand); font-weight: 600; }

/* search hero */
.search-hero { display: flex; align-items: center; gap: 10px; max-width: 560px; background: white; border: 1px solid var(--line); border-radius: 12px; padding: 4px 6px 4px 16px; box-shadow: 0 8px 24px -12px rgba(15,31,78,0.12); }
.search-hero svg { color: var(--muted-2); flex: 0 0 18px; }
.search-hero input { flex: 1; border: 0; outline: 0; font-size: 15px; font-family: inherit; padding: 12px 0; background: transparent; }

/* === FORUM === */
.board-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 720px) { .board-grid { grid-template-columns: 1fr 1fr; } }
.board { display: flex; gap: 14px; align-items: flex-start; background: white; border: 1px solid var(--line); border-radius: 14px; padding: 18px; transition: transform .18s, box-shadow .18s; cursor: pointer; }
.board:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -14px rgba(15,31,78,0.14); }
.board .ic { width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 40px; }
.board h3 { margin: 0; font-size: 15px; font-weight: 600; }
.board p { margin: 2px 0 8px; font-size: 12.5px; color: var(--muted); }
.board .stats { display: flex; gap: 14px; font-size: 11.5px; color: var(--muted); }
.board .stats b { color: var(--ink-2); font-family: 'JetBrains Mono', monospace; }

.thread-row { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.thread-row:last-child { border-bottom: 0; }
.thread-av { width: 36px; height: 36px; border-radius: 999px; background: linear-gradient(135deg, var(--brand), var(--accent)); color: white; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex: 0 0 36px; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 600; }
.pill.ghost { background: var(--line-2); color: var(--muted); }
.pill.success { background: var(--success-bg); color: var(--success); }
.pill.warn { background: var(--warn-bg); color: var(--warn); }

/* === UPDATES TIMELINE === */
.upd-item { display: flex; gap: 22px; }
.upd-gutter { display: flex; flex-direction: column; align-items: center; flex: 0 0 96px; padding-top: 22px; }
.upd-date { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; font-weight: 600; color: var(--muted-2); letter-spacing: 0.04em; }
.upd-dot { width: 12px; height: 12px; border-radius: 999px; margin-top: 10px; }
.upd-line { flex: 1; width: 2px; background: var(--line); margin-top: 6px; min-height: 24px; }
.upd-card { flex: 1; display: flex; gap: 16px; align-items: flex-start; background: white; border: 1px solid var(--line); border-radius: 14px; padding: 18px; margin-bottom: 18px; transition: transform .18s, box-shadow .18s, border-color .18s; }
.upd-card:hover { transform: translateY(-2px); border-color: var(--brand); box-shadow: 0 16px 40px -14px rgba(15,31,78,0.16); }
.upd-cover { width: 64px; height: 64px; border-radius: 12px; flex: 0 0 64px; display: flex; align-items: center; justify-content: center; }
.upd-body { flex: 1; min-width: 0; }
.upd-tags { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.upd-badge { padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.upd-ver { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted); font-weight: 600; }
.upd-title { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; margin: 0 0 6px; line-height: 1.25; }
.upd-excerpt { font-size: 14px; color: var(--muted); line-height: 1.5; margin: 0; }
@media (max-width: 640px) { .upd-gutter { flex: 0 0 64px; } .upd-cover { display: none; } }

/* === ARTICLE === */
.article { max-width: 740px; margin: 0 auto; }
.article-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.article h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 18px; text-wrap: balance; }
.article-cover { aspect-ratio: 16/7; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: white; font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 40px; margin-bottom: 32px; }
.article-body { font-size: 16.5px; line-height: 1.7; color: var(--ink-2); }
.article-body h2 { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; margin: 36px 0 12px; color: var(--ink); }
.article-body h3 { font-size: 20px; font-weight: 600; margin: 28px 0 10px; color: var(--ink); }
.article-body p { margin: 0 0 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 22px; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body .callout { background: var(--brand-bg); border-left: 3px solid var(--brand); border-radius: 8px; padding: 16px 18px; margin: 0 0 18px; font-size: 15px; color: var(--ink-2); }
.author-box { display: flex; align-items: center; gap: 14px; padding: 22px; background: var(--surface-2); border-radius: 14px; margin-top: 40px; }
.author-box .test-avatar { width: 48px; height: 48px; font-size: 17px; }

/* === FAQ === */
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 0; max-width: 760px; margin: 0 auto; }
.faq-item { border-top: 1px solid var(--line); padding: 22px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.faq-q svg { transition: transform .2s; flex: 0 0 16px; }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { font-size: 15px; color: var(--muted); line-height: 1.55; margin-top: 0; max-width: 620px; max-height: 0; overflow: hidden; transition: max-height .25s ease, margin-top .25s ease; }
.faq-item.open .faq-a { max-height: 240px; margin-top: 8px; }

/* === CTA banner === */
.cta-banner { background: linear-gradient(135deg, var(--brand-ink) 0%, var(--brand) 60%, var(--accent) 130%); color: white; border-radius: 18px; padding: 56px 48px; display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; position: relative; overflow: hidden; }
.cta-banner h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 600; letter-spacing: -0.025em; margin: 0; line-height: 1.1; text-wrap: balance; max-width: 720px; }
.cta-banner p { font-size: 16.5px; opacity: .85; max-width: 560px; margin: 4px 0 12px; }
.cta-banner .btn { background: white; color: var(--brand-ink); padding: 14px 26px; font-size: 15px; }
.cta-banner .btn:hover { background: #FFF7ED; }
.cta-banner .btn.outline { background: transparent; color: white; border-color: rgba(255,255,255,0.35); }
.cta-banner .btn.outline:hover { border-color: white; background: rgba(255,255,255,0.08); }

/* === FOOTER === */
footer { background: var(--ink); color: #94A3B8; padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid #1E293B; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-grid h4 { color: white; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 12px; }
.foot-grid a { display: block; font-size: 13.5px; padding: 5px 0; color: #94A3B8; transition: color .15s; }
.foot-grid a:hover { color: white; }
.foot-desc { font-size: 13.5px; line-height: 1.55; margin: 12px 0 0; max-width: 280px; }
.foot-bottom { display: flex; justify-content: space-between; padding-top: 22px; font-size: 12.5px; flex-wrap: wrap; gap: 12px; }
.foot-bottom .mono { color: #64748B; }

/* utility */
.fade-up { animation: fadeUp .6s ease-out both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.center { text-align: center; }
.muted { color: var(--muted); }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-36 { margin-top: 36px; }
