:root{
  --bg:#f6f9fc;
  --bg-soft:#eef4fb;
  --panel:#ffffff;
  --panel-2:#f4f8fd;
  --line:rgba(15,23,42,.08);
  --line-strong:rgba(15,23,42,.14);
  --text:#0b1324;
  --text-soft:#5f6b7f;
  --text-dim:#64748b;
  --gold:#16c47f;
  --container:min(1240px, calc(100vw - 32px));
  --radius:24px;
  --shadow:0 24px 70px rgba(5,23,44,.10);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(22,196,127,.16), transparent 35%),
    radial-gradient(circle at top right, rgba(255,179,71,.14), transparent 28%),
    linear-gradient(180deg, #f9fbfe 0%, #f4f8fd 36%, #eef3fa 100%);
  color:var(--text);
  line-height:1.6;
}

a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
button,input{font:inherit}
.container{width:var(--container);margin:0 auto}
.wordmark-link{display:flex;align-items:center;min-width:0}
.wordmark-link img{width:min(320px, 100%);height:auto;max-width:100%;object-fit:contain}
.site-shell{padding:20px 0 72px}
.topbar{
  position:sticky;top:12px;z-index:50;width:var(--container);margin:0 auto 24px;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:14px 18px;border:1px solid var(--line);background:rgba(247,250,253,.78);
  backdrop-filter: blur(18px);border-radius:999px;box-shadow:var(--shadow)
}
.topbar nav{display:flex;gap:10px;flex-wrap:wrap}
.topbar nav a,.ghost-link{
  padding:10px 14px;border-radius:999px;color:var(--text-soft);transition:.22s ease
}
.topbar nav a.active,.topbar nav a:hover,.ghost-link:hover{background:var(--panel);color:var(--text)}
.topbar-actions{display:flex;align-items:center;gap:10px}
.theme-toggle,.cta,.ghost-btn,.chip-btn{
  border:none;cursor:pointer;border-radius:999px;padding:12px 16px
}
.theme-toggle,.ghost-btn,.chip-btn{background:var(--panel);color:var(--text-soft);border:1px solid var(--line)}
.theme-toggle:hover,.ghost-btn:hover,.chip-btn:hover{color:var(--text);border-color:var(--line-strong)}
.cta{background:linear-gradient(135deg,#16c47f 0%, #48d597 42%, #ffb347 100%);color:#071018;font-weight:800;box-shadow:0 14px 30px rgba(22,196,127,.18)}
.hero-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:24px;align-items:stretch}
.hero-card,.stack-card,.card,.filter-card,.article-card,.mini-card,.cta-band,.faq-card,.search-panel,.empty-state{
  background:rgba(255,255,255,.82);
  border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)
}
.hero-card{padding:34px 34px 30px;position:relative;overflow:hidden}
.hero-card::after{
  content:"";position:absolute;inset:auto -10% -30% auto;width:320px;height:320px;border-radius:50%;
  background:radial-gradient(circle, rgba(22,196,127,.18), transparent 68%)
}
.kicker,.eyebrow{
  display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;
  background:rgba(8,17,27,.06);color:#334155;font-size:.82rem;font-weight:700;letter-spacing:.02em
}
.hero-card h1,.display-title{font-size:clamp(2.4rem,4vw,4.8rem);line-height:1.02;margin:18px 0 16px;letter-spacing:-.04em;text-wrap:balance}
.hero-card h1{max-width:18ch}
.display-title{max-width:22ch}
.display-copy,.hero-card p{font-size:1.08rem;color:var(--text-soft);max-width:70ch}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.hero-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:24px}
.metric{padding:16px 18px;border-radius:18px;background:rgba(255,255,255,.72);border:1px solid var(--line)}
.metric strong{display:block;font-size:1.26rem}
.stack-card{padding:24px}
.stack-card h3{margin:0 0 14px;font-size:1.1rem}
.simple-list{display:grid;gap:12px}
.simple-list li,.side-list div{list-style:none;padding:14px 0;border-top:1px solid var(--line)}
.simple-list li:first-child,.side-list div:first-child{border-top:none;padding-top:0}
.page-block{margin-top:34px}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:18px}
.section-head h2{font-size:clamp(1.5rem,2vw,2.4rem);margin:0;letter-spacing:-.03em}
.section-head p{color:var(--text-dim);max-width:64ch;margin:0}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.card,.article-card,.mini-card,.filter-card{padding:22px}
.card h3,.article-card h3,.mini-card h3{margin:10px 0 10px;font-size:1.15rem;letter-spacing:-.02em;text-wrap:balance;max-width:none}
.card p,.article-card p,.mini-card p{color:var(--text-soft);margin:0}
.badges,.tags,.meta-line{display:flex;gap:8px;flex-wrap:wrap}
.badge,.tag,.meta-pill{
  display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;
  background:var(--panel-2);border:1px solid var(--line);color:var(--text-dim);font-size:.82rem;font-weight:600
}
.score-line{display:flex;justify-content:space-between;gap:12px;margin-top:14px;font-size:.94rem;color:var(--text-dim)}
.score-bar{height:8px;border-radius:999px;background:var(--panel-2);overflow:hidden;margin-top:8px}
.score-bar span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--gold),#fff0bd)}
.topic-band{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.topic-pill{
  min-width:0;padding:18px;border-radius:22px;background:var(--panel);border:1px solid var(--line);display:grid;gap:10px;height:100%
}
.cover{
  aspect-ratio:16/10;border-radius:18px;margin-bottom:16px;overflow:hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(22,196,127,.32), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(255,179,71,.22), transparent 24%),
    linear-gradient(135deg,#f7f9fc,#e8eef8)
}
.cover img{width:100%;height:100%;object-fit:cover}
.software-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
.software-pill{
  padding:16px 14px;text-align:center;border-radius:20px;border:1px solid var(--line);background:var(--panel);
  font-weight:700;color:var(--text-soft)
}
.software-pill:hover{color:var(--text);transform:translateY(-2px)}
.cta-band{padding:30px;display:grid;grid-template-columns:1.3fr .7fr;gap:24px;align-items:center}
.cta-band h2{margin:0 0 12px;font-size:clamp(1.8rem,3vw,3rem);letter-spacing:-.04em}
.cta-band p{margin:0;color:var(--text-soft)}
.band-actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end}
.footer{margin-top:40px;padding:22px 0 0;color:var(--text-dim);font-size:.95rem}
.footer-inner{border-top:1px solid var(--line);padding-top:18px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center}
.footer-brand{display:grid;gap:10px;justify-items:center}
.footer-credits{margin-top:0;display:flex;gap:6px;flex-wrap:wrap;align-items:center;justify-content:center}
.footer-links{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.footer-credits a{font-weight:700}
.itaib-mark{display:inline-flex;align-items:center;gap:0}
.itaib-mark .it,.itaib-mark .b,.itaib-mark .suffix{color:#0b1324}
.itaib-mark .ai{color:#c69a2f}
.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start}
.article-header{padding:28px 30px}
.article-header-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}
.article-header-top .badges{flex:1 1 auto}
.print-article-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
  padding:11px 15px;
  border:none;
  border-radius:999px;
  background:linear-gradient(135deg, rgba(15,118,186,.12), rgba(246,61,170,.14));
  border:1px solid rgba(15,23,42,.08);
  color:var(--text);
  box-shadow:0 14px 30px rgba(5,23,44,.08);
  cursor:pointer;
  font-weight:800;
}
.print-article-btn svg{
  width:18px;
  height:18px;
  fill:currentColor;
}
.print-article-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 18px 34px rgba(5,23,44,.12);
}
.article-header h1{font-size:clamp(2.1rem,3.6vw,4.2rem);line-height:1.06;margin:14px 0 16px;letter-spacing:-.04em;max-width:20ch;text-wrap:balance}
.article-header .lead{font-size:1.15rem;color:var(--text-soft);max-width:62ch}
.article-main{padding:30px}
.article-main h2{font-size:1.8rem;line-height:1.15;margin:34px 0 14px;letter-spacing:-.03em;text-wrap:balance}
.article-main h3{font-size:1.25rem;margin:24px 0 10px}
.article-main p,.article-main li{color:var(--text-soft)}
.article-html{display:grid;gap:18px}
.article-html > *{margin:0}
.article-html > p,
.article-html > ul,
.article-html > ol,
.article-html > blockquote,
.article-html > table,
.article-html > figure,
.article-html > .video-frame{
  width:min(100%, 860px);
}
.article-html > p{
  font-size:1.08rem;
  line-height:1.92;
  color:#506079;
}
.article-html > ul,
.article-html > ol{
  padding:20px 24px 20px 42px;
  border-radius:22px;
  background:linear-gradient(180deg,#f9fbff 0%, #f2f7ff 100%);
  border:1px solid rgba(15,23,42,.08);
}
.article-html > blockquote,
.article-html > .quote-card{
  padding:22px 24px;
  border-radius:24px;
  background:linear-gradient(135deg, rgba(0,194,255,.10), rgba(246,61,170,.08));
  border:1px solid rgba(15,23,42,.08);
}
.article-html img{
  border-radius:20px;
  box-shadow:0 20px 45px rgba(5,23,44,.10);
  margin-inline:auto;
}
.article-html p:has(img),
.article-html h2:has(img),
.article-html h3:has(img),
.article-html a:has(img){
  text-align:center;
}
.article-html strong{color:#14213d}
.article-main ul{padding-left:18px}
.article-main table{width:100%;border-collapse:collapse;margin:18px 0 6px}
.article-main th,.article-main td{padding:14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.article-main th{color:var(--text);font-size:.94rem}
.article-main .callout{
  padding:18px 20px;border-left:4px solid var(--gold);background:var(--panel-2);border-radius:20px;margin:22px 0
}
.article-main .quote-card{padding:24px;font-size:1.1rem;color:var(--text-soft);margin:22px 0}
.article-main .quote-card strong{color:var(--text)}
.video-frame{
  margin:10px auto 16px;
  padding:16px;
  border-radius:26px;
  background:linear-gradient(135deg, rgba(0,194,255,.14), rgba(246,61,170,.10));
  border:1px solid rgba(15,23,42,.08);
  box-shadow:0 20px 45px rgba(5,23,44,.10);
}
.video-shell{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  border-radius:18px;
  overflow:hidden;
  background:#0b1324;
}
.video-shell iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}
.toc,.side-card{position:sticky;top:110px;padding:20px}
.toc h3,.side-card h3{margin:0 0 12px}
.toc a{display:block;padding:10px 0;color:var(--text-soft);border-top:1px solid var(--line)}
.toc a:first-of-type{border-top:none;padding-top:0}
.faq-card{padding:0;overflow:hidden}
.faq-item{border-top:1px solid var(--line)}
.faq-item:first-child{border-top:none}
.faq-q{
  width:100%;display:flex;justify-content:space-between;gap:14px;padding:18px 20px;background:none;border:none;color:var(--text);text-align:left;font-weight:700;cursor:pointer
}
.faq-a{display:none;padding:0 20px 20px;color:var(--text-soft)}
.faq-item.open .faq-a{display:block}
.progress{
  position:fixed;left:0;top:0;height:4px;width:0;background:linear-gradient(90deg,var(--gold),#fff0bd);z-index:80
}
.filter-bar{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.chip-btn.active{background:rgba(0,194,255,.14);border-color:rgba(0,194,255,.36);color:#03667f}
.search-hero{padding:28px}
.search-box{display:flex;gap:10px;align-items:center;padding:12px 14px;border-radius:18px;background:var(--panel-2);border:1px solid var(--line);margin-top:16px}
.search-box input{flex:1;border:none;background:none;color:var(--text);outline:none}
.results-list{display:grid;gap:14px}
.results-list.is-loading{opacity:.55;transition:opacity .18s ease}
.result-card{padding:18px;border-radius:20px;border:1px solid var(--line);background:var(--panel)}
.kpi-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.kpi-strip .mini-card strong{font-size:1.35rem;display:block}
.inline-note{font-size:.92rem;color:var(--text-dim)}
.breadcrumbs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px;color:var(--text-dim);font-size:.92rem}
.breadcrumbs a{color:var(--text-soft)}
.crumb-sep{opacity:.6}
.empty-state{padding:36px;text-align:center}
.empty-state-large{padding:56px 36px}
.preview-banner{
  display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;
  background:rgba(141,179,255,.15);color:#d7e7ff;border:1px solid rgba(141,179,255,.24);font-size:.82rem;font-weight:700
}
.article-meta{margin-top:18px}
.article-hero-media{margin-top:22px;border-radius:22px;overflow:hidden;border:1px solid var(--line)}
.article-hero-media img{width:100%;height:auto;display:block}
.article-html > *:first-child{margin-top:0}
.card-link-wrap{display:block}
.search-title{max-width:24ch}
.protection-toast{
  position:fixed;
  left:50%;
  bottom:28px;
  transform:translateX(-50%) translateY(24px);
  padding:14px 18px;
  border-radius:999px;
  background:rgba(11,19,36,.92);
  color:#fff;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 16px 40px rgba(5,23,44,.22);
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease, transform .18s ease;
  z-index:120;
}
.protection-toast.is-visible{
  opacity:1;
  transform:translateX(-50%) translateY(0);
}
.back-to-top{
  position:fixed;
  right:24px;
  bottom:26px;
  width:54px;
  height:54px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.12);
  background:linear-gradient(135deg,#16c47f,#0cc9f5);
  color:#0b1324;
  font-size:1.45rem;
  font-weight:900;
  box-shadow:0 22px 40px rgba(5,23,44,.18);
  cursor:pointer;
  opacity:0;
  pointer-events:none;
  transform:translateY(20px);
  transition:opacity .2s ease, transform .2s ease, box-shadow .2s ease;
  z-index:140;
}
.back-to-top:hover{
  box-shadow:0 26px 48px rgba(5,23,44,.24);
}
.back-to-top.is-visible{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}

@media (max-width:1100px){
  .hero-grid,.article-layout,.cta-band,.grid-3,.kpi-strip,.grid-2{grid-template-columns:1fr}
  .software-grid{grid-template-columns:repeat(3,1fr)}
  .band-actions{justify-content:flex-start}
}

@media (max-width:760px){
  .topbar{position:relative;top:0;border-radius:28px;padding:14px;align-items:center;gap:10px;flex-wrap:nowrap}
  .topbar-nav{display:none}
  .hero-card,.article-main,.article-header,.stack-card,.card,.article-card,.mini-card,.filter-card,.cta-band,.search-hero,.empty-state{padding:22px}
  .software-grid{grid-template-columns:repeat(2,1fr)}
  .hero-metrics{grid-template-columns:1fr}
  .section-head{align-items:start;flex-direction:column}
  .back-to-top{right:18px;bottom:20px}
  .article-header-top{flex-direction:column;align-items:stretch}
  .print-article-btn{align-self:flex-start}
}

.topbar-burger{
  display:none;
  width:48px;
  height:48px;
  padding:0;
  border:none;
  border-radius:16px;
  background:var(--panel);
  border:1px solid var(--line);
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
  flex:0 0 auto;
}
.topbar-burger span{
  display:block;
  width:20px;
  height:2px;
  border-radius:999px;
  background:var(--text);
  transition:transform .22s ease, opacity .22s ease;
}
.topbar.is-mobile-nav-open .topbar-burger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.topbar.is-mobile-nav-open .topbar-burger span:nth-child(2){opacity:0}
.topbar.is-mobile-nav-open .topbar-burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.mobile-nav-panel{
  display:none;
  width:100%;
  max-height:0;
  overflow:hidden;
  opacity:0;
  transform:translateY(-8px);
  transition:max-height .24s ease, opacity .18s ease, transform .18s ease, margin-top .18s ease, padding-top .18s ease;
}
.mobile-nav-links,
.mobile-nav-actions{
  display:grid;
  gap:10px;
}
.mobile-nav-links a,
.mobile-nav-actions .ghost-link,
.mobile-nav-actions .cta{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
}
@media (max-width:760px){
  .topbar-burger{display:inline-flex;margin-left:0;order:3}
  .topbar-actions{display:flex;flex:0 0 auto;order:2}
  .topbar-actions .cta{padding:10px 12px;font-size:.92rem;white-space:nowrap}
  .wordmark-link{flex:1 1 auto;min-width:0;max-width:none;width:auto;justify-content:flex-start;order:1}
  .wordmark-link img{width:min(100%, 360px)}
  .mobile-nav-panel{display:block;order:4}
  .topbar.is-mobile-nav-open .mobile-nav-panel{
    max-height:420px;
    opacity:1;
    transform:translateY(0);
    margin-top:14px;
    padding-top:14px;
    border-top:1px solid var(--line);
  }
}

@media print{
  @page{size:auto;margin:12mm}
  body{
    background:#fff !important;
    color:#111 !important;
  }
  .progress,
  .topbar,
  .footer,
  .breadcrumbs,
  .back-to-top,
  .video-frame,
  .video-shell,
  .article-html iframe,
  .article-html video,
  .article-html object,
  .article-html embed,
  aside,
  .toc,
  .side-card,
  .page-block,
  .print-article-btn{
    display:none !important;
  }
  .site-shell,
  .container,
  .article-layout,
  .article-card,
  .article-header,
  .article-main{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    background:#fff !important;
    border:none !important;
    box-shadow:none !important;
  }
  .article-layout{
    display:block !important;
  }
  .article-header{
    display:block !important;
    overflow:hidden !important;
    padding:0 0 6mm !important;
  }
  .article-header h1{
    max-width:none !important;
    margin:0 0 3mm !important;
    font-size:24pt !important;
    line-height:1.08 !important;
  }
  .article-header .lead{
    max-width:none !important;
    margin:0 0 4mm !important;
    font-size:11.5pt !important;
    line-height:1.55 !important;
  }
  .article-meta{
    margin:0 0 4mm !important;
  }
  .meta-line{
    gap:2mm 3mm !important;
  }
  .meta-pill{
    padding:1.5mm 2.5mm !important;
    font-size:8.5pt !important;
  }
  .article-main{
    padding:0 !important;
    font-size:10.5pt !important;
  }
  .article-hero-media{
    float:right !important;
    width:40% !important;
    max-width:74mm !important;
    margin:0 0 4mm 6mm !important;
    border:none !important;
    break-inside:avoid !important;
    page-break-inside:avoid !important;
  }
  .article-hero-media img{
    width:100% !important;
    max-height:58mm !important;
    object-fit:contain !important;
  }
  .article-html,
  .article-html > *{
    width:100% !important;
    max-width:none !important;
    color:#111 !important;
  }
  .article-html{
    gap:3mm !important;
  }
  .article-html > p{
    font-size:10.8pt !important;
    line-height:1.55 !important;
  }
  .article-html > ul,
  .article-html > ol{
    padding:3mm 4mm 3mm 7mm !important;
  }
  .article-main h2{
    font-size:16pt !important;
    margin:5mm 0 2mm !important;
  }
  .article-main h3{
    font-size:13pt !important;
    margin:4mm 0 2mm !important;
  }
  .article-main .callout,
  .article-main .quote-card{
    margin:4mm 0 !important;
    padding:3mm 4mm !important;
  }
  .article-main .article-html > *:first-child:has(img){
    display:none !important;
  }
  .article-main .article-html > p:empty,
  .article-main .article-html > div:empty{
    display:none !important;
  }
}

.mobile-nav-panel[hidden]{
  display:none !important;
}

@media (max-width:760px){
  .topbar{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto auto;
    grid-template-areas:
      "logo cta burger"
      "panel panel panel";
    align-items:center;
    gap:10px 12px;
  }
  .wordmark-link{
    grid-area:logo;
    display:flex !important;
    min-width:0;
    max-width:100%;
    width:auto;
    justify-content:flex-start;
  }
  .wordmark-link img{
    display:block;
    width:100%;
    max-width:320px;
    height:auto;
  }
  .topbar-actions{
    grid-area:cta;
    display:flex !important;
    align-items:center;
    justify-content:flex-end;
    width:auto;
    max-width:100%;
  }
  .topbar-actions .cta{
    padding:10px 12px;
    font-size:.92rem;
    white-space:nowrap;
  }
  .topbar-burger{
    grid-area:burger;
    display:inline-flex !important;
    margin:0;
  }
  .topbar-nav{
    display:none !important;
  }
  .mobile-nav-panel{
    grid-area:panel;
    width:100%;
    display:block;
  }
  .mobile-nav-panel .mobile-nav-links{
    display:grid !important;
  }
}

@media (max-width:520px){
  .topbar{
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:
      "logo logo"
      "cta burger"
      "panel panel";
  }
  .wordmark-link{
    justify-content:center;
  }
  .wordmark-link img{
    max-width:340px;
  }
}
