/* ═══════════════════════════════════════════════════════
   avat.app — Shared Design System
   Used by all marketing/content pages
   ═══════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Inter:wght@300;400;500;600;700&display=swap');

*{box-sizing:border-box;margin:0;padding:0}

:root{
  --bg:#f9fafb;
  --surface:#ffffff;
  --surface2:#f7f9fc;
  --border:#e5e7eb;
  --accent:#1d4ed8;
  --accent2:#1e40af;
  --accent-light:#eff6ff;
  --green:#16a34a;
  --green-bg:#ecfdf5;
  --green-border:#bbf7d0;
  --red:#c62828;
  --text:#111827;
  --muted:#6b7280;
  --muted2:#9ca3af;
  --mono:'IBM Plex Mono',monospace;
  --sans:'Inter',sans-serif;
  --shadow:0 1px 3px rgba(0,0,0,0.07);
  --shadow-md:0 4px 16px rgba(0,0,0,0.08);
  --radius:8px;
  --radius-sm:6px;
  --radius-pill:999px;
  --max-w:1200px;
  --nav-h:60px;
}

body{
  background:var(--bg);
  color:var(--text);
  font-family:var(--sans);
  font-size:15px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

/* ─── SITE NAV ─── */
.site-nav{
  height:var(--nav-h);
  background:#fff;
  border-bottom:1px solid var(--border);
  display:flex;
  align-items:center;
  padding:0 32px;
  position:sticky;
  top:0;
  z-index:100;
  box-shadow:0 1px 0 var(--border);
}
.site-nav .nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  max-width:var(--max-w);
  margin:0 auto;
}
.nav-logo{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:700;
  font-size:17px;
  letter-spacing:-0.3px;
  color:var(--text);
  text-decoration:none;
}
.nav-logo span{color:var(--accent)}
.nav-links{
  display:flex;
  align-items:center;
  gap:4px;
}
.nav-link{
  padding:6px 12px;
  font-size:14px;
  font-weight:500;
  color:var(--muted);
  text-decoration:none;
  border-radius:var(--radius-sm);
  transition:color .14s ease,background .14s ease;
}
.nav-link:hover{color:var(--text);background:#f3f4f6}
.nav-link.active{color:var(--accent)}
.nav-cta{
  padding:8px 18px;
  background:var(--accent);
  color:#fff !important;
  border-radius:var(--radius-sm);
  font-weight:600;
  font-size:14px;
  text-decoration:none;
  transition:background .14s ease;
}
.nav-cta:hover{background:var(--accent2);color:#fff !important}
.nav-mobile-toggle{display:none;background:none;border:none;cursor:pointer;padding:4px}

/* ─── PAGE WRAPPER ─── */
.page-wrap{
  max-width:var(--max-w);
  margin:0 auto;
  padding:0 32px;
}

/* ─── HERO ─── */
.hero{
  padding:80px 0 72px;
  text-align:center;
}
.hero-tag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:12px;
  font-weight:600;
  color:var(--green);
  background:var(--green-bg);
  border:1px solid var(--green-border);
  padding:4px 12px;
  border-radius:var(--radius-pill);
  margin-bottom:24px;
  letter-spacing:0.03em;
  text-transform:uppercase;
}
.hero-tag::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--green);flex-shrink:0}
.hero h1{
  font-size:clamp(32px,5vw,54px);
  font-weight:700;
  letter-spacing:-0.03em;
  line-height:1.12;
  color:var(--text);
  max-width:780px;
  margin:0 auto 20px;
}
.hero h1 em{font-style:normal;color:var(--accent)}
.hero-sub{
  font-size:18px;
  color:var(--muted);
  max-width:560px;
  margin:0 auto 36px;
  line-height:1.6;
}
.hero-actions{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}
.btn-lg{
  padding:14px 28px;
  font-size:15px;
  font-weight:600;
  border-radius:var(--radius-sm);
  font-family:var(--sans);
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:8px;
  transition:background .14s,border-color .14s,color .14s;
  border:1px solid transparent;
  cursor:pointer;
}
.btn-lg.primary{background:var(--accent);color:#fff;box-shadow:0 2px 8px rgba(29,78,216,0.18)}
.btn-lg.primary:hover{background:var(--accent2)}
.btn-lg.secondary{background:#fff;color:var(--text);border-color:var(--border)}
.btn-lg.secondary:hover{border-color:#9ca3af;background:#f9fafb}

/* ─── STAT STRIP ─── */
.stat-strip{
  display:flex;
  justify-content:center;
  gap:48px;
  padding:24px 0;
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  margin-bottom:80px;
  flex-wrap:wrap;
}
.stat-item{text-align:center}
.stat-num{
  font-size:28px;
  font-weight:700;
  font-family:var(--mono);
  color:var(--text);
  letter-spacing:-0.04em;
}
.stat-desc{font-size:13px;color:var(--muted);margin-top:2px}

/* ─── SECTION ─── */
.section{padding:72px 0}
.section-sm{padding:48px 0}
.section-title{
  font-size:clamp(22px,3vw,32px);
  font-weight:700;
  letter-spacing:-0.02em;
  color:var(--text);
  margin-bottom:12px;
}
.section-sub{
  font-size:16px;
  color:var(--muted);
  max-width:560px;
  line-height:1.6;
}
.section-header{margin-bottom:48px}
.section-header.centered{text-align:center}
.section-header.centered .section-sub{margin:0 auto}

/* ─── FEATURE GRID ─── */
.feature-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:20px;
}
.feature-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:10px;
  padding:28px;
  text-decoration:none;
  color:inherit;
  transition:border-color .14s,box-shadow .14s,transform .14s;
  display:block;
}
.feature-card:hover{
  border-color:#d1d5db;
  box-shadow:var(--shadow-md);
  transform:translateY(-1px);
}
.feature-icon{
  width:42px;height:42px;
  background:var(--accent-light);
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:16px;
}
.feature-card h3{
  font-size:16px;
  font-weight:600;
  color:var(--text);
  margin-bottom:8px;
  letter-spacing:-0.01em;
}
.feature-card p{
  font-size:14px;
  color:var(--muted);
  line-height:1.6;
}
.feature-card .card-tag{
  display:inline-block;
  margin-top:14px;
  font-size:12px;
  font-weight:600;
  color:var(--accent);
  text-transform:uppercase;
  letter-spacing:0.04em;
}

/* ─── HOW IT WORKS ─── */
.steps{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:32px;
}
.step{position:relative}
.step-num{
  font-size:13px;
  font-weight:700;
  font-family:var(--mono);
  color:var(--accent);
  margin-bottom:10px;
}
.step h3{font-size:15px;font-weight:600;margin-bottom:6px}
.step p{font-size:14px;color:var(--muted);line-height:1.6}

/* ─── TRUST STRIP ─── */
.trust-strip{
  background:#fff;
  border:1px solid var(--border);
  border-radius:10px;
  padding:32px 36px;
  display:flex;
  align-items:flex-start;
  gap:40px;
  flex-wrap:wrap;
}
.trust-item{display:flex;align-items:flex-start;gap:12px;flex:1;min-width:200px}
.trust-icon{
  width:36px;height:36px;
  background:var(--green-bg);
  border:1px solid var(--green-border);
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.trust-item h4{font-size:14px;font-weight:600;margin-bottom:3px}
.trust-item p{font-size:13px;color:var(--muted);line-height:1.5}

/* ─── REGISTRY LOGOS ─── */
.registry-strip{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
}
.registry-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 16px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:8px;
  font-size:13px;
  font-weight:500;
  color:var(--text);
}
.registry-dot{width:8px;height:8px;border-radius:50%;background:var(--green);flex-shrink:0}

/* ─── FAQ ─── */
.faq-list{display:flex;flex-direction:column;gap:0}
.faq-item{
  border-bottom:1px solid var(--border);
  padding:0;
}
.faq-item:first-child{border-top:1px solid var(--border)}
.faq-q{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 0;
  cursor:pointer;
  font-weight:600;
  font-size:15px;
  color:var(--text);
  gap:16px;
  user-select:none;
  border:none;
  background:transparent;
  width:100%;
  text-align:left;
  font-family:var(--sans);
}
.faq-q:hover{color:var(--accent)}
.faq-chevron{
  flex-shrink:0;
  transition:transform .2s ease;
  color:var(--muted);
}
.faq-item.open .faq-chevron{transform:rotate(180deg);color:var(--accent)}
.faq-a{
  display:none;
  padding:0 0 18px;
  font-size:14px;
  color:var(--muted);
  line-height:1.75;
}
.faq-item.open .faq-a{display:block}

/* ─── TABLE ─── */
.data-table{width:100%;border-collapse:collapse;font-size:14px}
.data-table th{
  background:#f9fafb;
  padding:11px 16px;
  text-align:left;
  font-size:12px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:var(--muted);
  border-bottom:2px solid var(--border);
  white-space:nowrap;
}
.data-table td{
  padding:11px 16px;
  border-bottom:1px solid #f1f5f9;
  vertical-align:middle;
  color:var(--text);
}
.data-table tbody tr:hover{background:#f9fafb}
.data-table tbody tr:last-child td{border-bottom:none}
.rate-num{
  font-family:var(--mono);
  font-weight:600;
  font-size:14px;
}
.rate-high{color:#c62828}
.rate-mid{color:#b45309}
.rate-low{color:#16a34a}
.flag{font-size:18px;line-height:1}

/* ─── BREADCRUMB ─── */
.breadcrumb{
  display:flex;
  align-items:center;
  gap:6px;
  padding:16px 0;
  font-size:13px;
  color:var(--muted);
}
.breadcrumb a{color:var(--muted);text-decoration:none}
.breadcrumb a:hover{color:var(--accent)}
.breadcrumb-sep{color:var(--muted2)}

/* ─── PAGE HEADER ─── */
.page-hero{
  padding:52px 0 48px;
  border-bottom:1px solid var(--border);
  margin-bottom:52px;
}
.page-hero .label{
  font-size:12px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--accent);
  margin-bottom:12px;
}
.page-hero h1{
  font-size:clamp(26px,4vw,40px);
  font-weight:700;
  letter-spacing:-0.025em;
  margin-bottom:14px;
  line-height:1.15;
}
.page-hero p{
  font-size:17px;
  color:var(--muted);
  max-width:620px;
  line-height:1.65;
}

/* ─── TOOL EMBED ─── */
.tool-section{
  background:#fff;
  border:1px solid var(--border);
  border-radius:12px;
  overflow:hidden;
  box-shadow:var(--shadow);
  margin-bottom:60px;
}
.tool-section-header{
  padding:20px 28px;
  border-bottom:1px solid var(--border);
  background:#fafafa;
}
.tool-section-header h2{
  font-size:16px;
  font-weight:600;
  color:var(--text);
  margin-bottom:4px;
}
.tool-section-header p{font-size:13px;color:var(--muted)}

/* ─── BADGES ─── */
.badge-eu{
  display:inline-flex;align-items:center;gap:5px;
  padding:3px 10px;border-radius:var(--radius-pill);
  font-size:12px;font-weight:500;
  background:#eff6ff;color:#1d4ed8;
  border:1px solid #bfdbfe;
}
.badge-cz{
  display:inline-flex;align-items:center;gap:5px;
  padding:3px 10px;border-radius:var(--radius-pill);
  font-size:12px;font-weight:500;
  background:#fef9c3;color:#854d0e;
  border:1px solid #fde047;
}

/* ─── CALLOUT ─── */
.callout{
  background:#eff6ff;
  border:1px solid #bfdbfe;
  border-left:4px solid var(--accent);
  border-radius:var(--radius-sm);
  padding:16px 20px;
  font-size:14px;
  color:#1e40af;
  line-height:1.6;
}
.callout.warn{background:#fffbeb;border-color:#fde68a;border-left-color:#f59e0b;color:#92400e}
.callout.success{background:var(--green-bg);border-color:var(--green-border);border-left-color:var(--green);color:#065f46}

/* ─── FOOTER ─── */
.site-footer{
  background:#fff;
  border-top:1px solid var(--border);
  padding:48px 32px 32px;
  margin-top:80px;
}
.footer-inner{
  max-width:var(--max-w);
  margin:0 auto;
}
.footer-top{
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:40px;
  margin-bottom:40px;
}
.footer-brand p{
  font-size:13px;
  color:var(--muted);
  line-height:1.7;
  margin-top:10px;
  max-width:260px;
}
.footer-col h4{
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--text);
  margin-bottom:14px;
}
.footer-col a{
  display:block;
  font-size:13px;
  color:var(--muted);
  text-decoration:none;
  margin-bottom:8px;
  transition:color .12s;
}
.footer-col a:hover{color:var(--text)}
.footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-top:24px;
  border-top:1px solid var(--border);
  font-size:12px;
  color:var(--muted);
  flex-wrap:wrap;
  gap:12px;
}
.footer-bottom a{color:var(--muted);text-decoration:none}
.footer-bottom a:hover{color:var(--text)}

/* ─── CONTENT PROSE ─── */
.prose h2{font-size:22px;font-weight:700;margin:36px 0 14px;letter-spacing:-0.01em}
.prose h3{font-size:17px;font-weight:600;margin:28px 0 10px}
.prose p{font-size:15px;color:#374151;line-height:1.75;margin-bottom:16px}
.prose ul{padding-left:20px;margin-bottom:16px}
.prose ul li{font-size:15px;color:#374151;line-height:1.75;margin-bottom:6px}
.prose a{color:var(--accent);text-decoration:underline}
.prose strong{font-weight:600;color:var(--text)}

/* ─── UTILS ─── */
.text-muted{color:var(--muted)}
.text-sm{font-size:13px}
.text-xs{font-size:12px}
.mono{font-family:var(--mono)}
.mt-4{margin-top:16px}
.mt-8{margin-top:32px}
.mb-4{margin-bottom:16px}
.gap-divider{height:1px;background:var(--border);margin:40px 0}

/* ─── RESPONSIVE ─── */
@media(max-width:768px){
  .site-nav{padding:0 16px}
  .page-wrap{padding:0 16px}
  .hero{padding:52px 0 44px}
  .hero h1{font-size:28px}
  .hero-sub{font-size:16px}
  .footer-top{grid-template-columns:1fr 1fr;gap:28px}
  .stat-strip{gap:28px}
  .feature-grid{grid-template-columns:1fr}
  .nav-links{display:none}
  .nav-links.open{
    display:flex;flex-direction:column;position:absolute;
    top:var(--nav-h);left:0;right:0;background:#fff;
    border-bottom:1px solid var(--border);padding:8px 16px 16px;
    gap:2px;box-shadow:var(--shadow-md);
  }
  .nav-mobile-toggle{display:flex}
  .trust-strip{gap:24px;padding:24px}
  .site-footer{padding:36px 16px 24px}
  .footer-top{grid-template-columns:1fr}
}
