.ai-hero{
  position:relative;
  max-width:100%;
  overflow-x:clip;
  padding-top:76px;
  padding-bottom:82px;
  background:linear-gradient(180deg,var(--hero-top),var(--hero-bottom));
}
.ai-hero::before{
  position:absolute;
  right:-12%;
  bottom:-20%;
  width:70%;
  height:78%;
  border-radius:var(--radius-round);
  background:radial-gradient(ellipse,var(--accent-wash),var(--transparent) 70%);
  filter:blur(34px);
  content:"";
  pointer-events:none;
}
.ai-hero-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(420px,.92fr);
  align-items:center;
  gap:58px;
}
.ai-hero-copy{min-width:0}
.ai-hero-copy h1{
  max-width:680px;
  margin-top:18px;
}
.ai-hero-lede{
  max-width:650px;
  margin-top:20px;
  color:var(--text-muted);
  font-size:18px;
}
.ai-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:26px;
}
.ai-hero-actions .btn{flex-shrink:0;white-space:nowrap}
.ai-fact-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px 18px;
  margin-top:24px;
  color:var(--text-muted);
  font-size:13px;
  list-style:none;
}
.ai-fact-row li{
  position:relative;
  padding-left:14px;
}
.ai-fact-row li::before{
  position:absolute;
  top:.68em;
  left:0;
  width:6px;
  height:6px;
  border-radius:var(--radius-round);
  background:var(--success);
  content:"";
}
.ai-console{
  min-width:0;
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:var(--radius-l);
  background:var(--bg-panel);
  box-shadow:var(--shadow-panel);
}
.ai-console-bar{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  min-height:44px;
  padding-inline:14px;
  border-bottom:1px solid var(--border-soft);
  background:linear-gradient(180deg,var(--bg-panel),var(--bg-side));
  color:var(--text-muted);
  font:500 11px/1.3 var(--font-mono);
}
.ai-console-bar .badge{justify-self:end}
.ai-console-body{
  display:grid;
  grid-template-columns:138px minmax(0,1fr);
  min-height:360px;
}
.ai-console-nav{
  display:grid;
  align-content:start;
  gap:4px;
  padding:16px 10px;
  border-right:1px solid var(--border-soft);
  background:var(--bg-side);
}
.ai-console-nav span{
  padding:8px 10px;
  border-radius:var(--radius-s);
  color:var(--text-muted);
  font-size:12px;
}
.ai-console-nav .is-active{
  color:var(--accent);
  background:var(--bg-selected);
  font-weight:750;
}
.ai-console-detail{
  min-width:0;
  padding:26px;
}
.ai-tool-head{
  display:flex;
  align-items:center;
  gap:13px;
}
.ai-tool-head strong{
  display:block;
  font-size:17px;
}
.ai-tool-head p{
  margin-top:2px;
  color:var(--text-muted);
  font-size:12px;
}
.ai-tool-mark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  flex:0 0 44px;
  border-radius:var(--radius-m);
  color:var(--white);
  background:linear-gradient(145deg,var(--accent),var(--accent-dark));
  font:800 13px/1 var(--font-display);
}
.ai-check-list{
  display:grid;
  margin-top:24px;
}
.ai-check-list > div{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:14px;
  min-height:46px;
  border-bottom:1px dashed var(--border-soft);
}
.ai-check-list dt{
  color:var(--text-muted);
  font-size:12.5px;
}
.ai-check-list dd{min-width:0}
.ai-console-note{
  margin-top:22px;
  padding:12px;
  border-radius:var(--radius-s);
  color:var(--text-muted);
  background:var(--accent-soft);
  font-size:12px;
}
.ai-article{min-width:0}
.ai-paper-section{background:var(--bg-panel-2)}
.ai-explain-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.ai-explain-card{
  min-width:0;
  padding:28px;
  border:1px solid var(--border);
  border-radius:var(--radius-l);
  background:var(--bg-panel);
  box-shadow:var(--shadow-soft);
  transform-style:preserve-3d;
}
.ai-explain-card h3{margin-top:14px}
.ai-explain-card p{
  margin-top:12px;
  color:var(--text-muted);
}
.ai-card-label,
.ai-choice-kicker{
  display:inline-flex;
  align-items:center;
  min-height:25px;
  padding:4px 9px;
  border-radius:var(--radius-round);
  color:var(--accent);
  background:var(--accent-soft);
  font-size:12px;
  font-weight:750;
}
.ai-card-label.amber,
.ai-choice-kicker.amber{
  color:var(--warning-dark);
  background:var(--warning-soft);
}
.ai-card-label.teal,
.ai-choice-kicker.teal{
  color:var(--teal);
  background:var(--teal-soft);
}
.ai-tool-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.ai-tool-card{
  min-width:0;
  padding:26px;
  border:1px solid var(--border);
  border-radius:var(--radius-l);
  background:var(--bg-panel);
  box-shadow:var(--shadow-soft);
}
.ai-tool-title{
  display:flex;
  align-items:center;
  gap:12px;
}
.ai-tool-title h3{font-size:22px}
.ai-tool-card p{
  margin-top:13px;
  color:var(--text-muted);
}
.compare-table th{white-space:nowrap}
.compare-table td{
  word-break:keep-all;
  overflow-wrap:normal;
}
.table-scroll + .callout{margin-top:22px}
.ai-dev-section{
  border-top:1px solid var(--border-soft);
  border-bottom:1px solid var(--border-soft);
  background:linear-gradient(145deg,var(--accent-soft),var(--bg-panel));
}
.ai-dev-grid{
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(330px,.7fr);
  align-items:start;
  gap:54px;
}
.ai-dev-window{
  min-width:0;
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:var(--radius-l);
  background:var(--bg-panel);
  box-shadow:var(--shadow-panel);
}
.ai-dev-window-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:48px;
  padding-inline:16px;
  border-bottom:1px solid var(--border-soft);
  background:var(--bg-side);
  font-weight:750;
}
.ai-dev-list{list-style:none}
.ai-dev-list li{
  display:grid;
  gap:3px;
  padding:16px 18px;
  border-bottom:1px solid var(--border-soft);
}
.ai-dev-list li:last-child{border-bottom:0}
.ai-dev-list strong{color:var(--text)}
.ai-dev-list span{
  color:var(--text-muted);
  font-size:13px;
}
.ai-workflow{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
.ai-workflow-item{
  min-width:0;
  padding:26px 26px 28px;
  border-top:3px solid var(--accent);
  border-right:1px solid var(--border);
  border-bottom:1px solid var(--border);
  border-left:1px solid var(--border);
  border-radius:var(--radius-m);
  background:var(--bg-panel);
  box-shadow:var(--shadow-soft);
}
.ai-workflow-item:nth-child(even){border-top-color:var(--warning)}
.ai-workflow-item:last-child{border-top-color:var(--teal)}
.ai-workflow-item p{
  margin-top:12px;
  color:var(--text-muted);
}
.ai-choice-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr 1fr;
  gap:18px;
}
.ai-choice-card{
  min-width:0;
  padding:28px;
  border:1px solid var(--border);
  border-radius:var(--radius-l);
  background:var(--bg-panel);
  box-shadow:var(--shadow-soft);
}
.ai-choice-card h3{margin-top:14px}
.ai-choice-card p{
  margin-top:11px;
  color:var(--text-muted);
}
.ai-next-links{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:28px;
  margin-top:34px;
  padding:30px;
  border:1px solid var(--border);
  border-radius:var(--radius-xl);
  background:linear-gradient(135deg,var(--bg-panel-2),var(--bg-panel));
  box-shadow:var(--shadow-soft);
}
.ai-next-links p{
  max-width:720px;
  margin-top:8px;
  color:var(--text-muted);
}
.ai-next-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.ai-next-actions .btn{flex-shrink:0;white-space:nowrap}
@media (max-width:960px){
  .ai-hero-grid{
    grid-template-columns:1fr;
    gap:42px;
  }
  .ai-hero-copy{
    max-width:760px;
    text-align:center;
    margin-inline:auto;
  }
  .ai-hero-copy h1,
  .ai-hero-lede{margin-inline:auto}
  .ai-hero-actions,
  .ai-fact-row{justify-content:center}
  .ai-console{
    width:100%;
    max-width:720px;
    margin-inline:auto;
  }
  .ai-explain-grid,
  .ai-workflow{grid-template-columns:1fr}
  .ai-dev-grid{grid-template-columns:1fr}
  .ai-dev-window{max-width:680px}
  .ai-choice-grid{grid-template-columns:1fr}
}
@media (max-width:768px){
  .ai-hero{
    padding-top:58px;
    padding-bottom:64px;
  }
  .ai-tool-grid{grid-template-columns:1fr}
  .ai-next-links{grid-template-columns:1fr}
}
@media (max-width:640px){
  .ai-hero::before{
    right:-35%;
    width:100%;
  }
  .ai-hero-actions{
    align-items:stretch;
    flex-direction:column;
    padding-inline:12px;
  }
  .ai-console-body{
    display:block;
    min-height:0;
  }
  .ai-console-nav{display:none}
  .ai-console-detail{padding:20px}
  .ai-console-bar{
    grid-template-columns:1fr auto;
  }
  .ai-console-bar > span:nth-child(2){display:none}
  .ai-console-bar .badge{grid-column:2}
  .ai-check-list > div{gap:8px}
  .ai-explain-card,
  .ai-tool-card,
  .ai-choice-card,
  .ai-workflow-item{padding:21px}
  .ai-dev-window-head{
    align-items:flex-start;
    flex-direction:column;
    padding-top:13px;
    padding-bottom:13px;
  }
  .ai-next-links{padding:22px}
  .ai-next-actions{
    align-items:stretch;
    flex-direction:column;
  }
}
@media (max-width:360px){
  .ai-fact-row{
    align-items:flex-start;
    flex-direction:column;
  }
  .ai-tool-head{align-items:flex-start}
}