/* ---------------- Tokens ---------------- */
:root{
  /* Brand · Azul Liberk (v1.1 — #0E2A47 at brand-900) */
  --brand-50:#eaeef4; --brand-100:#d2dae8; --brand-200:#a5b5d0; --brand-300:#7891b9;
  --brand-400:#4c6da1; --brand-500:#2f5285; --brand-600:#1d3e6c; --brand-700:#163457;
  --brand-800:#112d4d; --brand-900:#0E2A47; --brand-950:#06182a;
  /* Brand accent · Dourado contido (v1.1 — #C9A26B) */
  --gold-50:#faf5eb; --gold-100:#f3e7cd; --gold-200:#e6cf9c; --gold-300:#d7b682;
  --gold-400:#C9A26B; --gold-500:#b18852; --gold-600:#8e6c3e; --gold-700:#6b5230;
  /* Verde Saldo · semântica contábil (DRE+, haver, conciliação OK, classificado) */
  --saldo-50:#e5efe7; --saldo-100:#cfe1d3; --saldo-200:#9fc3a8; --saldo-300:#6fa57c;
  --saldo-400:#458861; --saldo-500:#2c6f44; --saldo-600:#1F5A30; --saldo-700:#174825;
  /* Legacy accent aliases — Verde Saldo (semantic contábil ONLY) */
  --accent-50:var(--saldo-50); --accent-100:var(--saldo-100); --accent-200:var(--saldo-200);
  --accent-600:var(--saldo-600); --accent-700:var(--saldo-700);
  /* Neutros warm */
  --neutral-50:#FAFAF8; --neutral-100:#F2F2EE; --neutral-200:#E5E4DE; --neutral-300:#C9C8C1;
  --neutral-400:#9C9B95; --neutral-500:#6E6D68; --neutral-600:#494842; --neutral-700:#2E2D29;
  --neutral-800:#1A1F2E; --neutral-900:#0B0E16;
  /* Semantic UI */
  --success:#1F8B5B; --warning:#E0A82E; --error:#D14343; --info:#3A6FB0;
  /* Surface */
  --bg-app:var(--neutral-50);
  --bg-card:#ffffff;
  --border:var(--neutral-200);
  --border-strong:var(--neutral-300);
  --text-primary:var(--brand-900);
  --text-secondary:var(--neutral-600);
  --text-muted:var(--neutral-500);
  /* Radii */
  --r-sm:3px; --r-md:5px; --r-lg:8px; --r-xl:12px; --r-full:9999px;
  /* Shadows */
  --shadow-xs:0 1px 0 rgba(14,42,71,.04);
  --shadow-sm:0 1px 2px rgba(14,42,71,.06);
  --shadow-md:0 2px 6px rgba(14,42,71,.07), 0 1px 2px rgba(14,42,71,.05);
  --shadow-lg:0 8px 20px rgba(14,42,71,.08), 0 2px 4px rgba(14,42,71,.05);
  --shadow-xl:0 20px 48px rgba(14,42,71,.12), 0 4px 8px rgba(14,42,71,.06);
  /* Type */
  --font-sans:'Inter', system-ui, sans-serif;
  --font-display:'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-mono:'JetBrains Mono', ui-monospace, monospace;
  --font-serif:'Source Serif 4', Georgia, serif;
  /* Motion */
  --easing-sage:cubic-bezier(0.2, 0, 0, 1);
}

*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:var(--font-sans);
  color:var(--text-primary);
  background:var(--bg-app);
  font-size:16px;
  line-height:1.55;
  font-feature-settings:"ss01","cv02","cv11";
  -webkit-font-smoothing:antialiased;
}
::selection{background:var(--brand-900); color:white}

img,svg{display:block; max-width:100%}
a{color:inherit; text-decoration:none}
button{font-family:inherit; cursor:pointer; border:none; background:none}

.container{
  max-width:1240px;
  margin:0 auto;
  padding:0 32px;
}
.tabular{font-variant-numeric:tabular-nums}
.mono{font-family:var(--font-mono); font-variant-numeric:tabular-nums}

/* ---------------- Typography ---------------- */
.eyebrow{
  font-family:var(--font-mono); font-size:11px; font-weight:500;
  letter-spacing:.12em; text-transform:uppercase; color:var(--text-muted);
}
.display-1{
  font-family:var(--font-display);
  font-weight:500; font-size:clamp(56px, 9vw, 120px);
  line-height:.92; letter-spacing:-.035em;
  text-wrap:balance;
}
.display-1 strong{font-weight:700}
.display-2{
  font-family:var(--font-display);
  font-weight:500; font-size:clamp(40px, 6vw, 72px);
  line-height:.95; letter-spacing:-.03em; text-wrap:balance;
}
.display-2 strong{font-weight:700}
.h2{
  font-family:var(--font-display);
  font-weight:600; font-size:clamp(28px, 3.5vw, 44px);
  line-height:1.08; letter-spacing:-.02em;
}
.h3{
  font-family:var(--font-display);
  font-weight:600; font-size:22px; line-height:1.25; letter-spacing:-.01em;
}
.lead{
  font-size:19px; line-height:1.55; color:var(--text-secondary); max-width:60ch;
  font-weight:400;
}
.serif-it{font-family:var(--font-serif); font-style:italic; font-weight:400; letter-spacing:-.005em}

/* ---------------- Top Nav ---------------- */
nav.top{
  position:sticky; top:0; z-index:50;
  background:var(--neutral-50);
  border-bottom:1px solid var(--border);
}
nav.top .inner{
  display:flex; align-items:center; justify-content:space-between;
  height:60px; padding:0 32px; max-width:1240px; margin:0 auto;
}
nav.top .brand{display:flex; align-items:center; gap:8px;}
nav.top .brand-name{
  font-weight:600; font-size:18px; letter-spacing:-.02em;
}
nav.top ul{display:flex; gap:28px; list-style:none; margin:0; padding:0; font-size:14px; color:var(--text-secondary)}
nav.top ul a{transition:color .12s}
nav.top ul a:hover{color:var(--text-primary)}
nav.top .actions{display:flex; gap:8px; align-items:center}

/* ---------------- Buttons ---------------- */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-sans); font-weight:500; font-size:14px;
  padding:10px 16px; border-radius:var(--r-md);
  line-height:1; transition:all .12s; border:1px solid transparent;
  cursor:pointer; white-space:nowrap;
}
.btn-primary{background:var(--brand-900); color:white}
.btn-primary:hover{background:var(--brand-800)}
.btn-secondary{background:white; color:var(--brand-900); border-color:var(--border-strong)}
.btn-secondary:hover{border-color:var(--brand-900)}
.btn-ghost{background:transparent; color:var(--brand-900)}
.btn-ghost:hover{background:var(--neutral-100)}
.btn-lg{padding:14px 22px; font-size:15px}
.btn-arrow{transition:transform .15s}
.btn:hover .btn-arrow{transform:translateX(2px)}

/* ---------------- Sections ---------------- */
section{padding:96px 0; position:relative}
section.tight{padding:72px 0}
section.compact{padding:48px 0}

.section-head{margin-bottom:48px; display:flex; flex-direction:column; gap:14px}
.section-head .eyebrow{margin:0}
.section-head h2{margin:0; max-width:18ch}
.section-head p{margin:0}

/* ---------------- HERO ---------------- */
.hero{padding:80px 0 96px; overflow:hidden; position:relative}
.hero-inner{display:grid; grid-template-columns:1.1fr .9fr; gap:64px; align-items:center}
.hero h1{margin:24px 0 0}
.hero .lead{margin-top:28px; font-size:21px; max-width:42ch}
.hero .ctas{margin-top:36px; display:flex; gap:12px; flex-wrap:wrap}
.hero .trust{
  margin-top:24px; display:flex; gap:18px; flex-wrap:wrap;
  font-family:var(--font-mono); font-size:12px; color:var(--text-muted); letter-spacing:.04em;
}
.hero .trust span{display:flex; align-items:center; gap:6px}
.hero .trust .dot{width:5px; height:5px; background:var(--gold-400); border-radius:50%}

@media (max-width:960px){
  .hero-inner{grid-template-columns:1fr; gap:40px}
}

/* ---------------- Product mockup card ---------------- */
.mockup{
  background:white; border:1px solid var(--border); border-radius:var(--r-lg);
  box-shadow:var(--shadow-lg);
  font-size:13px;
}
.mockup .mock-head{
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 14px; border-bottom:1px solid var(--border); background:var(--neutral-50);
  border-radius:var(--r-lg) var(--r-lg) 0 0;
}
.mockup .mock-head .dots{display:flex; gap:5px}
.mockup .mock-head .dots span{width:9px; height:9px; border-radius:50%; background:var(--neutral-300)}
.mockup .mock-head .url{
  font-family:var(--font-mono); font-size:11px; color:var(--text-muted); letter-spacing:.04em;
}
.mockup .mock-body{padding:18px 20px}

/* Hero mockup specifics */
.flow-card{
  background:white; border:1px solid var(--border); border-radius:var(--r-md);
  padding:14px 16px; margin-bottom:10px;
  display:flex; gap:12px; align-items:center; transition:transform .2s, box-shadow .2s;
}
.flow-card .flow-icon{
  width:36px; height:36px; border-radius:var(--r-sm);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
  background:var(--neutral-100); color:var(--brand-700);
}
.flow-card .flow-icon.green{background:var(--accent-50); color:var(--accent-700)}
.flow-card .flow-icon.dotted{
  background:var(--neutral-100); border:1px dashed var(--neutral-500); color:var(--neutral-700);
}
.flow-card .flow-text{flex:1; min-width:0}
.flow-card .flow-title{font-weight:500; font-size:13px; color:var(--text-primary); margin-bottom:2px}
.flow-card .flow-meta{font-size:11px; color:var(--text-muted); font-family:var(--font-mono); letter-spacing:.03em}
.flow-card .flow-value{
  font-family:var(--font-mono); font-variant-numeric:tabular-nums;
  font-weight:600; font-size:13px;
}

.badge{
  display:inline-flex; align-items:center; gap:5px;
  font-family:var(--font-sans); font-size:11px; font-weight:500;
  padding:3px 8px; border-radius:var(--r-full); border:1px solid; line-height:1.2;
}
.badge svg{flex-shrink:0}
.badge.ai{background:var(--neutral-100); color:var(--neutral-700); border:1px dashed var(--neutral-500)}
.badge.posted{background:var(--accent-600); color:white; border-color:var(--accent-600)}
.badge.reconciled{background:var(--saldo-600); color:white; border-color:var(--saldo-600)}
.badge.approved{background:var(--accent-50); color:var(--accent-700); border-color:var(--accent-200)}

/* ---------------- Stat band ---------------- */
.stats{border-block:1px solid var(--border); background:white}
.stats-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:0;
}
.stat{
  padding:32px 28px;
  border-right:1px solid var(--border);
}
.stat:last-child{border-right:none}
.stat .num{
  font-family:var(--font-display); font-weight:500; font-size:48px;
  letter-spacing:-.025em; line-height:1; font-variant-numeric:tabular-nums;
  color:var(--brand-900);
}
.stat .num em{font-style:normal; font-weight:700; color:var(--gold-500)}
.stat .label{
  font-family:var(--font-mono); font-size:11px; letter-spacing:.08em;
  text-transform:uppercase; color:var(--text-muted); margin-top:10px;
}
.stat .sub{font-size:13px; color:var(--text-secondary); margin-top:4px; line-height:1.4}

@media (max-width:760px){
  .stats-grid{grid-template-columns:1fr 1fr}
  .stat{border-right:none; border-bottom:1px solid var(--border)}
}

/* ---------------- Problem section ---------------- */
.problem{background:white; border-block:1px solid var(--border)}
.problem .big{
  display:flex; flex-direction:column; gap:8px; align-items:flex-start;
  margin-bottom:32px;
}
.problem .big .line-a{color:var(--text-muted)}
.problem .big .line-b{color:var(--text-primary)}

/* ---------------- How it works ---------------- */
.steps{display:grid; grid-template-columns:repeat(3,1fr); gap:32px; counter-reset:step}
.step{
  display:flex; flex-direction:column; gap:16px;
}
.step .step-num{
  font-family:var(--font-mono); font-size:11px; color:var(--text-muted);
  letter-spacing:.08em;
}
.step .step-num::before{counter-increment:step; content:"PASSO 0" counter(step)}
.step h3{margin:0}
.step p{margin:0; color:var(--text-secondary); font-size:15px; line-height:1.55}
.step .step-visual{
  margin-top:8px; padding:18px; border-radius:var(--r-md);
  background:var(--bg-card); border:1px solid var(--border);
  min-height:180px; display:flex; flex-direction:column; gap:10px;
  font-size:12px;
}

@media (max-width:960px){
  .steps{grid-template-columns:1fr}
}

/* ---------------- Modules ---------------- */
.modules{display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--border); border:1px solid var(--border); border-radius:var(--r-lg); overflow:hidden}
.module{
  background:white; padding:32px 24px;
  display:flex; flex-direction:column; gap:14px;
  min-height:280px;
}
.module .mod-icon{
  width:36px; height:36px; border-radius:var(--r-sm);
  background:var(--neutral-100); display:flex; align-items:center; justify-content:center;
  color:var(--brand-700);
}
.module h3{font-size:18px; font-weight:600; margin:0; letter-spacing:-.01em}
.module ul{
  list-style:none; padding:0; margin:0;
  font-size:13px; color:var(--text-secondary);
  display:flex; flex-direction:column; gap:6px;
}
.module ul li{display:flex; align-items:center; gap:6px}
.module ul li::before{
  content:""; width:3px; height:3px; background:var(--brand-700); border-radius:50%; flex-shrink:0;
}

@media (max-width:900px){
  .modules{grid-template-columns:1fr 1fr}
}
@media (max-width:540px){
  .modules{grid-template-columns:1fr}
}

/* ---------------- AI section ---------------- */
.ai-section{background:var(--brand-900); color:white}
.ai-section .eyebrow{color:var(--gold-400)}
.ai-section h2{color:white; max-width:18ch}
.ai-section .lead{color:var(--brand-100)}
.ai-grid{
  margin-top:48px;
  display:grid; grid-template-columns:1.1fr 1fr; gap:48px; align-items:start;
}
.ai-principles{display:flex; flex-direction:column; gap:32px}
.ai-principle{
  display:grid; grid-template-columns:48px 1fr; gap:18px; align-items:start;
}
.ai-principle .num{
  font-family:var(--font-mono); font-size:13px; font-weight:600;
  color:var(--brand-300); letter-spacing:.04em; padding-top:4px;
}
.ai-principle h3{font-size:21px; font-weight:500; color:white; margin:0 0 6px}
.ai-principle p{color:var(--brand-200); font-size:14px; margin:0; line-height:1.55}

.ai-card{
  background:#0a1b30; border:1px dashed var(--brand-400); border-radius:var(--r-lg);
  padding:24px; color:white;
}
.ai-card .ai-head{
  display:flex; align-items:center; gap:8px; margin-bottom:14px;
}
.ai-card .ai-head .glyph{
  width:24px; height:24px; background:var(--brand-700); border-radius:var(--r-sm);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.ai-card .ai-head span{
  font-family:var(--font-mono); font-size:10px; letter-spacing:.08em; text-transform:uppercase;
  color:var(--brand-300);
}
.ai-card .ai-doc{font-size:13px; color:var(--brand-200); margin-bottom:14px; padding-bottom:14px; border-bottom:1px solid #112338}
.ai-card .ai-decision{font-size:16px; font-weight:500; line-height:1.4; margin-bottom:16px}
.ai-card .ai-decision .acct{
  display:inline-block; padding:2px 6px; background:#112338; border-radius:var(--r-sm);
  font-family:var(--font-mono); font-size:13px;
}
.ai-card .conf-bar{
  display:flex; flex-direction:column; gap:8px; margin-bottom:18px;
}
.ai-card .conf-head{display:flex; justify-content:space-between; font-size:12px; color:var(--brand-300)}
.ai-card .conf-head .val{font-family:var(--font-mono); color:white; font-weight:600}
.ai-card .conf-track{height:6px; background:#112338; border-radius:var(--r-full); overflow:hidden}
.ai-card .conf-fill{height:100%; background:var(--brand-200)}
.ai-card .ai-actions{display:flex; gap:8px}
.ai-card .ai-actions .btn{font-size:12px; padding:8px 14px}
.ai-card .ai-actions .btn-primary{background:white; color:var(--brand-900)}
.ai-card .ai-actions .btn-ghost{color:var(--brand-200); border:1px solid var(--brand-700)}
.ai-card .ai-source{
  margin-top:14px; font-size:11px; color:var(--brand-400);
  font-family:var(--font-mono); letter-spacing:.04em;
}

@media (max-width:960px){
  .ai-grid{grid-template-columns:1fr; gap:32px}
}

/* ---------------- Copilot ---------------- */
.copilot{background:var(--neutral-100); border-block:1px solid var(--border)}
.copilot-grid{display:grid; grid-template-columns:.85fr 1.15fr; gap:64px; align-items:center}
.copilot-card{
  background:white; border:1px solid var(--border); border-radius:var(--r-lg);
  padding:24px; box-shadow:var(--shadow-md);
  font-size:14px;
}
.copilot-card .question{
  display:flex; gap:12px; margin-bottom:20px;
}
.copilot-card .avatar{
  width:32px; height:32px; border-radius:50%;
  background:var(--brand-200); color:var(--brand-900);
  display:flex; align-items:center; justify-content:center; font-weight:600; font-size:12px;
  flex-shrink:0;
}
.copilot-card .who{font-family:var(--font-mono); font-size:10px; color:var(--text-muted); letter-spacing:.06em; text-transform:uppercase; margin-bottom:4px}
.copilot-card .answer{
  border-left:2px dashed var(--neutral-500); padding-left:20px; margin-left:16px;
}
.copilot-card .ai-label{
  display:flex; align-items:center; gap:6px; margin-bottom:8px;
}
.copilot-card .ai-label svg{color:var(--neutral-700)}
.copilot-card .ai-label span{
  font-family:var(--font-mono); font-size:10px; letter-spacing:.06em;
  text-transform:uppercase; color:var(--neutral-700);
}
.copilot-card ol{padding-left:18px; margin:8px 0; color:var(--text-secondary); font-size:13px}
.copilot-card ol li{margin-bottom:4px}
.copilot-card .answer .src{
  margin-top:12px; font-size:11px; color:var(--text-muted);
  font-family:var(--font-mono); letter-spacing:.04em;
}

@media (max-width:960px){
  .copilot-grid{grid-template-columns:1fr; gap:40px}
}

/* ---------------- Accountants section ---------------- */
.accountants{}
.accountants-grid{display:grid; grid-template-columns:1.05fr .95fr; gap:64px; align-items:center}
.accountants ul.features{
  list-style:none; padding:0; margin:24px 0 0;
  display:flex; flex-direction:column; gap:14px;
}
.accountants ul.features li{
  display:flex; gap:14px; align-items:flex-start;
  padding-bottom:14px; border-bottom:1px solid var(--border);
}
.accountants ul.features li:last-child{border-bottom:none}
.accountants ul.features svg{flex-shrink:0; margin-top:3px; color:var(--gold-500)}
.accountants ul.features strong{display:block; font-weight:500; font-size:15px; margin-bottom:2px}
.accountants ul.features span{font-size:13px; color:var(--text-secondary); line-height:1.5}

/* mini sidebar mockup */
.tenant-list{
  background:white; border:1px solid var(--border); border-radius:var(--r-lg);
  overflow:hidden; box-shadow:var(--shadow-md);
}
.tenant-list .tl-head{padding:14px 18px; border-bottom:1px solid var(--border); display:flex; justify-content:space-between; align-items:center; background:var(--neutral-50)}
.tenant-list .tl-head h4{margin:0; font-size:14px; font-weight:600; letter-spacing:-.005em}
.tenant-list .tl-head .count{font-family:var(--font-mono); font-size:11px; color:var(--text-muted); letter-spacing:.04em}
.tenant-row{
  display:grid; grid-template-columns:auto 1fr auto auto; gap:12px;
  padding:11px 18px; border-bottom:1px solid var(--border); align-items:center;
  font-size:13px;
}
.tenant-row:last-child{border-bottom:none}
.tenant-row .mark{
  width:28px; height:28px; border-radius:var(--r-sm); background:var(--brand-900);
  display:flex; align-items:center; justify-content:center;
}
.tenant-row .name{font-weight:500}
.tenant-row .cnpj{font-family:var(--font-mono); font-size:11px; color:var(--text-muted); letter-spacing:.02em}
.tenant-row .stat-mini{font-family:var(--font-mono); font-size:11px; color:var(--text-secondary); white-space:nowrap}
.tenant-row .pill{
  font-family:var(--font-mono); font-size:10px; font-weight:500;
  padding:2px 7px; border-radius:var(--r-full);
  background:var(--accent-50); color:var(--accent-700); border:1px solid var(--accent-200);
  letter-spacing:.02em;
}
.tenant-row .pill.warn{background:#FFF4E1; color:var(--warning); border-color:#F0D8A8}

@media (max-width:960px){
  .accountants-grid{grid-template-columns:1fr; gap:40px}
}

/* ---------------- Quote ---------------- */
.quote-band{background:white; border-block:1px solid var(--border)}
.quote{
  max-width:80ch; margin:0 auto;
  font-family:var(--font-serif); font-style:italic; font-weight:400;
  font-size:clamp(24px, 3.2vw, 36px); line-height:1.3; letter-spacing:-.01em;
  text-wrap:balance; text-align:center;
  color:var(--text-primary);
}
.quote-attr{
  margin-top:32px; text-align:center;
  font-family:var(--font-mono); font-size:12px; letter-spacing:.06em;
  color:var(--text-muted); text-transform:uppercase;
}
.quote-attr strong{color:var(--text-primary); font-weight:500}

/* ---------------- FAQ ---------------- */
.faq{display:flex; flex-direction:column; gap:0; border-top:1px solid var(--border)}
.faq details{
  border-bottom:1px solid var(--border); padding:24px 0;
}
.faq details summary{
  list-style:none; cursor:pointer; display:flex; justify-content:space-between; align-items:flex-start;
  gap:16px;
}
.faq details summary::-webkit-details-marker{display:none}
.faq details summary h3{
  margin:0; font-size:18px; font-weight:500; letter-spacing:-.01em; color:var(--text-primary);
}
.faq details summary .plus{
  flex-shrink:0; font-family:var(--font-mono); font-size:18px; color:var(--text-muted);
  transition:transform .2s; margin-top:-1px;
}
.faq details[open] summary .plus{transform:rotate(45deg)}
.faq details p{margin:16px 0 0; color:var(--text-secondary); font-size:15px; line-height:1.6; max-width:70ch}

/* ---------------- Final CTA ---------------- */
.final-cta{background:var(--brand-900); color:white; padding:120px 0; position:relative; overflow:hidden}
.final-cta::before{
  content:""; position:absolute; right:-8%; bottom:-30%; width:520px; height:520px;
  background:radial-gradient(circle at 30% 30%, var(--brand-700) 0%, transparent 65%); opacity:.55; pointer-events:none;
}
.final-cta .inner{position:relative; display:flex; flex-direction:column; gap:40px; max-width:920px}
.final-cta .eyebrow{color:var(--gold-400)}
.final-cta h2{color:white; font-family:var(--font-display); font-weight:500; font-size:clamp(48px, 7vw, 96px); line-height:.95; letter-spacing:-.03em; margin:0; text-wrap:balance}
.final-cta h2 strong{font-weight:700}
.final-cta .lead{color:var(--brand-100); font-size:19px; max-width:48ch}
.final-cta .ctas{display:flex; gap:12px; flex-wrap:wrap}
.final-cta .btn-primary{background:white; color:var(--brand-900)}
.final-cta .btn-primary:hover{background:var(--neutral-100)}
.final-cta .btn-ghost{color:white; border-color:var(--brand-700)}
.final-cta .btn-ghost:hover{background:var(--brand-800); border-color:var(--brand-600)}
.final-cta .meta{display:flex; gap:18px; flex-wrap:wrap; font-family:var(--font-mono); font-size:12px; color:var(--brand-300); letter-spacing:.04em}

/* ---------------- Footer ---------------- */
footer.bottom{
  background:var(--neutral-100); border-top:1px solid var(--border); color:var(--text-secondary);
  padding:64px 0 32px;
  font-size:13px;
}
footer .grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr 1fr; gap:48px}
footer h4{font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--text-muted); margin:0 0 18px; font-family:var(--font-mono); font-weight:500}
footer ul{list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px}
footer ul a{color:var(--text-secondary); transition:color .12s}
footer ul a:hover{color:var(--text-primary)}
footer .brand-col{display:flex; flex-direction:column; gap:18px}
footer .brand-col p{margin:0; max-width:34ch; line-height:1.55}
footer .brand-mark{display:flex; align-items:center; gap:8px}
footer .legal{
  margin-top:56px; padding-top:24px; border-top:1px solid var(--border);
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:18px;
  font-family:var(--font-mono); font-size:11px; color:var(--text-muted); letter-spacing:.04em;
}

@media (max-width:960px){
  footer .grid{grid-template-columns:1fr 1fr; gap:32px}
  footer .brand-col{grid-column:span 2}
}

/* small adjustments */
.kbd{
  font-family:var(--font-mono); font-size:11px; padding:1px 5px; border-radius:3px;
  background:var(--neutral-200); color:var(--text-secondary); letter-spacing:.02em;
}

/* fade-in attention */
@keyframes float-in {
  from{ opacity:0; transform:translateY(8px) }
  to{ opacity:1; transform:none }
}
.hero .mockup{ animation:float-in .6s .15s both ease-out }

/* divider */
.rule{
  display:flex; align-items:center; gap:16px;
  font-family:var(--font-mono); font-size:11px; color:var(--text-muted); letter-spacing:.08em; text-transform:uppercase;
}
.rule::before, .rule::after{content:""; flex:1; height:1px; background:var(--border)}

/* ---------------- Mobile ---------------- */
@media (max-width:760px){
  .container{padding:0 20px}
  section{padding:56px 0}
  section.tight{padding:40px 0}
  section.compact{padding:0}

  /* Nav */
  nav.top .inner{padding:0 20px; height:56px}
  nav.top ul{display:none}
  nav.top .actions .btn-ghost{display:none}
  nav.top .actions .btn{padding:8px 14px; font-size:13px}

  /* Hero */
  .hero{padding:32px 0 48px}
  .hero h1.display-1{font-size:54px; line-height:.96}
  .hero .lead{font-size:17px; margin-top:22px}
  .hero .ctas{flex-direction:column; align-items:stretch; gap:10px; margin-top:28px}
  .hero .ctas .btn{justify-content:center; width:100%}
  .hero .trust{font-size:11px; gap:12px; margin-top:18px}
  .hero-inner{gap:32px}

  /* Hero mockup */
  .mockup .mock-body{padding:14px}
  .flow-card{padding:10px 12px; gap:10px}
  .flow-card .flow-title{font-size:12px}
  .flow-card .flow-meta{font-size:10px}
  .flow-card .flow-icon{width:32px; height:32px}
  .flow-card .flow-value{font-size:12px}

  /* Display in problem */
  .display-2{font-size:38px; line-height:1}

  /* Stats */
  .stats{padding:0; margin:0}
  .stats .container{padding:0}
  .stats-grid{grid-template-columns:1fr 1fr; gap:0}
  .stat{padding:22px 20px; border-right:1px solid var(--border); border-bottom:1px solid var(--border)}
  .stat:nth-child(2n){border-right:none}
  .stat:nth-last-child(-n+2){border-bottom:none}
  .stat .num{font-size:36px}
  .stat .label{font-size:10px}
  .stat .sub{font-size:12px}

  /* Section heads */
  .section-head{margin-bottom:28px; gap:10px}
  .section-head h2{font-size:30px}
  .section-head .lead{font-size:16px}

  /* Steps */
  .steps{gap:36px}
  .step h3{font-size:20px}
  .step p{font-size:14px}

  /* Modules */
  .module{padding:24px 20px; min-height:auto}
  .module h3{font-size:17px}

  /* AI section */
  .ai-card{padding:18px}
  .ai-card .ai-decision{font-size:15px}
  .ai-card .ai-actions{flex-wrap:wrap}
  .ai-card .ai-actions .btn{flex:1; justify-content:center}
  .ai-principle{grid-template-columns:32px 1fr; gap:12px}
  .ai-principle h3{font-size:18px}

  /* Copilot */
  .copilot-card{padding:18px}
  .copilot-card .answer{margin-left:0; padding-left:16px}

  /* Accountants */
  .tenant-row{grid-template-columns:auto 1fr auto; gap:10px; padding:10px 14px}
  .tenant-row .stat-mini{display:none}
  .tl-head{padding:12px 14px}

  /* Quote */
  .quote{font-size:21px; line-height:1.35}

  /* FAQ */
  .faq details{padding:20px 0}
  .faq details summary h3{font-size:16px}
  .faq details p{font-size:14px}

  /* Final CTA */
  .final-cta{padding:72px 0}
  .final-cta h2{font-size:54px; line-height:.95}
  .final-cta .lead{font-size:17px}
  .final-cta .ctas{flex-direction:column; align-items:stretch}
  .final-cta .ctas .btn{justify-content:center; width:100%}
  .final-cta .meta{font-size:11px; gap:14px}
  .final-cta .inner{gap:28px}

  /* Footer */
  footer.bottom{padding:48px 0 24px}
  footer .grid{grid-template-columns:1fr 1fr; gap:32px}
  footer .brand-col{grid-column:span 2}
  footer .legal{flex-direction:column; gap:10px; align-items:flex-start}
}

@media (max-width:400px){
  .container{padding:0 16px}
  nav.top .inner{padding:0 16px}
  .hero h1.display-1{font-size:48px}
  .final-cta h2{font-size:46px}
  .stats-grid{grid-template-columns:1fr}
  .stat:nth-child(2n){border-right:none}
  .stat:nth-last-child(-n+2){border-bottom:1px solid var(--border)}
  .stat:last-child{border-bottom:none}
  .hero .trust{flex-direction:column; align-items:flex-start; gap:8px}
}
