/* ==========================================================================
   Eltes AI — landing page (dark, scroll-driven)
   ========================================================================== */

/* A quiet scroll rail makes long-form navigation feel intentional. */
.scroll-progress { position: fixed; z-index: 100; inset: 0 0 auto; height: 2px; pointer-events: none; background: rgba(255,255,255,.025); }
.scroll-progress span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, #4b80f5, #78a7ff 55%, #6de0b5); transform: scaleX(var(--scroll-progress, 0)); transform-origin: left center; box-shadow: 0 0 12px rgba(83, 141, 255, .44); }
.nav.scrolled { background: rgba(3, 7, 14, .82); }

/* ---------------------------------- hero --------------------------------- */

.hero {
  position: relative;
  padding: calc(var(--nav-h) + 78px) 0 0;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -260px 0 auto;
  height: 1080px;
  background:
    radial-gradient(ellipse 38% 44% at var(--hero-x, 50%) var(--hero-y, 8%), rgba(49, 100, 222, .31), transparent 69%),
    radial-gradient(ellipse 25% 34% at 12% 26%, rgba(58, 196, 255, .08), transparent 66%),
    radial-gradient(ellipse 26% 35% at 90% 12%, rgba(120, 104, 255, .09), transparent 66%);
  pointer-events: none;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(150, 185, 245, 0.09) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse 60% 44% at 50% 4%, #000 4%, transparent 66%);
  -webkit-mask-image: radial-gradient(ellipse 60% 44% at 50% 4%, #000 4%, transparent 66%);
  pointer-events: none;
  z-index: -1;
}
.hero .aura.a1 {
  width: 620px; height: 620px; left: 50%; top: -240px; margin-left: -310px;
  background: radial-gradient(circle, rgba(52, 108, 255, 0.34), transparent 66%);
  opacity: 0.7;
}
.hero .aura.a2 {
  width: 420px; height: 420px; left: -140px; top: 120px;
  background: radial-gradient(circle, rgba(70, 211, 255, 0.14), transparent 66%);
  opacity: 0.6;
}
.hero .aura.a3 {
  width: 460px; height: 460px; right: -160px; top: 40px;
  background: radial-gradient(circle, rgba(139, 124, 255, 0.16), transparent 66%);
  opacity: 0.6;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ------------------------------- hero ------------------------------------ */

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #91a8ce;
  font: 600 10px/1 var(--mono);
  letter-spacing: 0.16em;
}
.kicker-mark { display: inline-flex; align-items: flex-end; gap: 3px; height: 13px; }
.kicker-mark span { width: 3px; border-radius: 3px; background: var(--green); box-shadow: 0 0 12px rgba(55, 214, 160, 0.55); }
.kicker-mark span:nth-child(1) { height: 7px; opacity: .62; }
.kicker-mark span:nth-child(2) { height: 12px; }
.kicker-mark span:nth-child(3) { height: 9px; opacity: .8; }
.hero h1 {
  margin: 25px auto 0;
  max-width: 900px;
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 570;
  line-height: .99;
  letter-spacing: -.065em;
}
.hero h1 .line-2 {
  display: block;
  padding-bottom: .08em;
  background: linear-gradient(100deg, #eff5ff 0%, #a9c8ff 36%, #78a6ff 67%, #80e2c0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin: 22px auto 0;
  max-width: 620px;
  font-size: clamp(15px, 1.45vw, 17px);
  line-height: 1.7;
  color: #aab9d1;
  letter-spacing: -.012em;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-cta .btn-primary { min-width: 172px; }
.hero-cta .btn-primary .icon { transition: transform 0.2s var(--ease); }
.hero-cta .btn-primary:hover .icon { transform: translateX(2px); }
.hero-note {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 17px;
  font-size: 11.5px;
  color: #71829e;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-note span, .hero-note a { display: inline-flex; align-items: center; gap: 6px; }
.hero-note .icon { color: #6e89b3; }
.hero-note a { color: #a3c2fb; }
.hero-note a:hover { color: #d3e4ff; }

/* Real model catalogue, presented as a selector rather than a fake transcript. */
.hero-stage { position: relative; width: min(100%, 1120px); margin: 54px auto 0; padding: 0 24px; z-index: 2; }
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 9% 12% -5%;
  z-index: -1;
  background: radial-gradient(ellipse at 50% 50%, rgba(46, 105, 236, .26), transparent 69%);
  filter: blur(58px);
  pointer-events: none;
}
.showcase-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(139, 174, 238, .2);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(11, 20, 36, .98), rgba(4, 9, 17, .98) 72%);
  box-shadow: 0 1px 0 rgba(255,255,255,.055) inset, 0 32px 100px -52px #000, 0 0 80px -54px rgba(70, 125, 255, .7);
  transform: perspective(1600px) rotateX(.65deg);
  transform-origin: top center;
  animation: showcase-in .9s var(--ease) both;
}
@keyframes showcase-in { from { opacity: 0; transform: perspective(1600px) translateY(22px) rotateX(2deg) scale(.99); } }
.showcase-top {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(141, 174, 232, .1);
  background: rgba(255,255,255,.016);
}
.showcase-brand, .showcase-status { display: inline-flex; align-items: center; gap: 9px; }
.showcase-brand { color: #91a1bc; font-size: 11.5px; }
.showcase-brand strong { color: #e7efff; font-size: 12px; font-weight: 600; }
.showcase-slash { color: #40516c; }
.showcase-status { color: #a8bad4; font-size: 10px; letter-spacing: .02em; }
.status-dot { display: inline-block; width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(55, 214, 160, .5); }
.showcase-layout { display: grid; grid-template-columns: minmax(230px, .73fr) minmax(0, 1.27fr); min-height: 344px; }
.showcase-picker { display: flex; flex-direction: column; padding: 24px 18px 16px; border-right: 1px solid rgba(141, 174, 232, .1); background: rgba(2, 7, 14, .4); }
.showcase-label { padding: 0 8px 12px; color: #71819c; font: 600 9px/1.2 var(--mono); letter-spacing: .15em; }
.preview-tabs { display: flex; flex-direction: column; gap: 5px; }
.preview-tab {
  width: 100%; min-height: 58px; display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; text-align: left; border: 1px solid transparent; border-radius: 10px;
  color: #9baac3; transition: background .22s, border-color .22s, transform .22s var(--ease), color .22s;
}
.preview-tab:hover { color: #e5eeff; background: rgba(255,255,255,.035); transform: translateX(2px); }
.preview-tab.active { color: #edf4ff; border-color: rgba(117, 159, 238, .2); background: linear-gradient(100deg, rgba(71, 121, 226, .15), rgba(42, 71, 126, .055)); box-shadow: 0 1px 0 rgba(255,255,255,.035) inset; }
.preview-tab .tab-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 3px; }
.preview-tab .tab-copy strong { overflow: hidden; color: inherit; font-size: 11.5px; font-weight: 560; text-overflow: ellipsis; white-space: nowrap; }
.preview-tab .tab-copy small { color: #71819a; font-size: 9.5px; line-height: 1.2; }
.preview-tab .tab-check { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 6px; color: var(--green); opacity: 0; transform: scale(.7); transition: opacity .22s, transform .22s var(--ease); }
.preview-tab.active .tab-check { opacity: 1; transform: scale(1); }
.picker-foot { display: flex; align-items: center; gap: 7px; margin-top: auto; padding: 15px 7px 0; color: #657691; font-size: 9.5px; }
.picker-foot a { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; color: #a8c6ff; }
.picker-foot a:hover { color: #fff; }
.preview-panel { position: relative; display: flex; flex-direction: column; padding: 29px clamp(22px, 4vw, 46px) 20px; overflow: hidden; }
.preview-panel::before { content: ""; position: absolute; top: -150px; right: -80px; width: 360px; height: 290px; border-radius: 50%; background: radial-gradient(circle, rgba(64, 114, 230, .13), transparent 70%); pointer-events: none; }
.preview-panel > * { position: relative; }
.preview-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.preview-provider { display: flex; align-items: center; gap: 12px; min-width: 0; }
.preview-provider > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.preview-provider small { color: #7990b3; font: 600 9px/1 var(--mono); letter-spacing: .13em; }
.preview-provider strong { color: #eff5ff; font-size: 17px; font-weight: 570; letter-spacing: -.025em; }
.preview-tier { padding: 5px 8px; border: 1px solid rgba(122, 160, 233, .17); border-radius: 99px; background: rgba(81, 129, 226, .08); color: #afc8f1; font: 600 8px/1 var(--mono); letter-spacing: .1em; }
.preview-blurb { max-width: 54ch; min-height: 44px; margin-top: 14px; color: #9aacc9; font-size: 12px; line-height: 1.65; }
.preview-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 17px; }
.preview-facts > div { display: flex; min-width: 0; flex-direction: column; gap: 5px; padding: 11px 12px; border: 1px solid rgba(140, 173, 229, .105); border-radius: 9px; background: rgba(255,255,255,.018); }
.preview-facts span { color: #657894; font: 600 8px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.preview-facts strong { overflow: hidden; color: #d8e5fa; font-size: 10.5px; font-weight: 530; text-overflow: ellipsis; white-space: nowrap; }
.privacy-flow { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 20px; padding: 13px 14px; border: 1px solid rgba(139, 174, 232, .11); border-radius: 11px; background: rgba(3, 8, 15, .43); }
.flow-node { display: flex; min-width: 0; align-items: center; gap: 8px; }
.flow-node > span:last-child { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.flow-number { display: grid; width: 22px; height: 22px; flex: none; place-items: center; border: 1px solid rgba(127, 163, 228, .16); border-radius: 7px; color: #8eabd8; font: 600 8px/1 var(--mono); }
.flow-node strong { color: #d8e4f8; font-size: 9.5px; font-weight: 550; white-space: nowrap; }
.flow-node small { overflow: hidden; color: #687b98; font-size: 8.5px; text-overflow: ellipsis; white-space: nowrap; }
.flow-arrow { color: #526887; }
.preview-panel-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 17px; }
.preview-disclaimer { display: inline-flex; align-items: center; gap: 5px; color: #667995; font-size: 9px; }
.preview-open { display: inline-flex; align-items: center; gap: 7px; color: #b5d0ff; font-size: 10.5px; font-weight: 550; transition: color .2s, gap .2s; }
.preview-open:hover { gap: 10px; color: #fff; }
.showcase-bottom { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 37px; border-top: 1px solid rgba(141, 174, 232, .075); color: #62738f; font: 600 8px/1 var(--mono); letter-spacing: .13em; }
.showcase-bottom .bottom-line { width: 28px; height: 1px; background: linear-gradient(90deg, transparent, rgba(111, 148, 217, .48), transparent); }

/* provider strip under preview */
.hero-support { position: relative; z-index: 5; margin: 34px auto 0; text-align: center; }
.hero-support p {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-4);
}
.mini-providers {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 16px;
}
.mini-providers .mp {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 500;
  color: #7788a6;
  transition: color 0.2s, transform 0.2s var(--ease);
}
.mini-providers .mp:hover { color: #c6d6f2; transform: translateY(-1px); }
.mini-providers .brand-svg { opacity: 0.9; }

/* ============================ block shard band ============================ */

.shard-band {
  position: relative;
  height: clamp(220px, 30vw, 340px);
  margin: 26px 0 0;
  overflow: hidden;
  border-top: 1px solid rgba(130, 162, 220, 0.06);
  border-bottom: 1px solid rgba(130, 162, 220, 0.06);
  background:
    radial-gradient(ellipse 55% 90% at 50% 50%, rgba(30, 66, 150, 0.16), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
}
.shard-band .blk {
  border-radius: 5px;
  background:
    linear-gradient(150deg, rgba(86, 132, 226, 0.18), rgba(12, 22, 40, 0.72));
}
.shard-band .band-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  z-index: 3;
  pointer-events: none;
  padding: 0 20px;
}
.shard-band .band-label .inner {
  opacity: var(--label-o, 1);
  transform: translateY(calc((1 - var(--p, 1)) * 14px)) scale(calc(0.96 + 0.04 * var(--p, 1)));
}
.shard-band .band-label p {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6b80a4;
}
.shard-band .band-label h3 {
  margin-top: 9px;
  font-size: clamp(20px, 2.6vw, 30px);
  letter-spacing: -0.035em;
  color: #dce8fc;
}
.shard-band .band-label h3 span { color: #86aeff; }
.shard-band .band-label .hint {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-4);
}

/* =============================== sections =============================== */

.section { position: relative; padding: 100px 0; }
.section.tight { padding: 72px 0; }
.section-head { max-width: 680px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head h2 {
  margin-top: 16px;
  font-size: clamp(31px, 3.9vw, 45px);
  letter-spacing: -0.042em;
  line-height: 1.06;
}
.section-head p {
  margin-top: 15px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-2);
}
.section-head.center p { margin-left: auto; margin-right: auto; max-width: 560px; }

/* ------------------------------- model wall ------------------------------ */

.model-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 11px;
  margin-top: 46px;
}
.model-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 17px 16px 15px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0) 46%), rgba(5, 10, 18, 0.72);
  overflow: hidden;
  transition: border-color 0.28s, transform 0.32s var(--ease), background 0.28s;
}
.model-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px 160px at var(--mx, 50%) 0%, rgba(80, 135, 255, 0.16), transparent 70%);
  opacity: 0;
  transition: opacity 0.32s;
  pointer-events: none;
}
.model-tile:hover {
  border-color: rgba(136, 176, 246, 0.26);
  transform: translateY(-3px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0) 46%), rgba(6, 12, 22, 0.8);
}
.model-tile:hover::before { opacity: 1; }
.model-tile > * { position: relative; z-index: 1; }
.model-tile .mt-top { display: flex; align-items: center; gap: 10px; }
.model-tile .mt-name { font-size: 13.5px; font-weight: 570; letter-spacing: -0.015em; color: #eaf1ff; }
.model-tile .mt-meta { font-size: 10.5px; color: var(--text-4); margin-top: 1px; }
.model-tile ul { display: flex; flex-direction: column; gap: 3px; }
.model-tile li { font-size: 11px; color: var(--text-3); display: flex; align-items: center; gap: 5px; }
.model-tile li::before {
  content: "";
  width: 3px; height: 3px; border-radius: 50%;
  background: #33456a;
  flex: none;
}
.model-tile .mt-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 550;
  color: #6f93cf;
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 0.2s, transform 0.2s, color 0.2s;
}
.model-tile:hover .mt-link { opacity: 1; transform: none; color: #a9c8ff; }
.model-wall .model-tile:nth-child(1) { --d: 0ms; }
.model-wall .model-tile:nth-child(2) { --d: 40ms; }
.model-wall .model-tile:nth-child(3) { --d: 80ms; }
.model-wall .model-tile:nth-child(4) { --d: 120ms; }
.model-wall .model-tile:nth-child(5) { --d: 160ms; }
.model-wall .model-tile:nth-child(n + 6) { --d: 60ms; }

.wall-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-3);
}
.wall-foot .sep { width: 3px; height: 3px; border-radius: 50%; background: #2b3a54; }
.wall-foot a { color: #9dc0ff; }
.wall-foot a:hover { color: #cfe0ff; }

/* --------------------------------- bento -------------------------------- */

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 44px;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: 15px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.024), rgba(255, 255, 255, 0) 38%), rgba(5, 10, 19, 0.72);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.35s var(--ease), background 0.3s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 180px at var(--mx, 50%) 0%, rgba(74, 128, 255, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.card:hover { border-color: rgba(136, 176, 246, 0.22); transform: translateY(-2px); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; z-index: 1; }

.card-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 10px;
  border: 1px solid rgba(116, 156, 240, 0.2);
  background: linear-gradient(180deg, rgba(56, 118, 255, 0.16), rgba(56, 118, 255, 0.05));
  color: #9cc0ff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07) inset;
}
.card h3 { margin-top: 16px; font-size: 16px; font-weight: 570; letter-spacing: -0.022em; }
.card p { margin-top: 7px; font-size: 13px; line-height: 1.62; color: var(--text-2); }
.card .card-visual { margin-top: auto; padding-top: 20px; }

.span-4 { grid-column: span 4; }
.span-3 { grid-column: span 3; }
.span-2 { grid-column: span 2; }

/* card visuals */
.provider-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.provider-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 9px 0 4px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.028);
  font-size: 11px;
  color: var(--text-2);
}
.provider-pill.on {
  border-color: rgba(116, 164, 255, 0.4);
  background: rgba(56, 118, 255, 0.12);
  color: #eaf2ff;
}
.provider-pill .p-logo { width: 20px; height: 20px; border-radius: 6px; }

.code-mini {
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #040912;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.8;
}
.code-mini .head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-bottom: 1px solid var(--line);
  color: var(--text-3);
  font-size: 10px;
  background: rgba(255, 255, 255, 0.016);
}
.code-mini .body { padding: 9px 11px; color: #8aa1c6; }
.code-mini .body .pr { color: #7b8cff; }
.code-mini .body .st { color: #6bd4ad; }
.code-mini .body .fn { color: #79b2ff; }
.code-mini .body .cm { color: #3f5070; }
.code-mini .body .ad { color: #5fd0a3; }
.code-mini .body .de { color: #ff8b9b; }

.mini-list { display: flex; flex-direction: column; gap: 1px; }
.mini-list .row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 7px;
  font-size: 11px;
  color: var(--text-3);
}
.mini-list .row.active { background: rgba(255, 255, 255, 0.04); color: var(--text); }
.mini-list .row .icon { color: #48597a; }
.mini-list .row .time { margin-left: auto; font-size: 9.5px; color: var(--text-4); }

.stat-row { display: flex; gap: 24px; }
.stat-row .stat strong {
  display: block;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #fff;
}
.stat-row .stat span { font-size: 10.5px; color: var(--text-3); }

/* ------------------------------ agent split ------------------------------ */

.agent {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  gap: 58px;
  align-items: center;
}
.agent h2 { margin-top: 16px; font-size: clamp(29px, 3.4vw, 40px); letter-spacing: -0.04em; }
.agent > div > p { margin-top: 15px; font-size: 15px; line-height: 1.66; color: var(--text-2); }
.check-list { margin-top: 26px; display: flex; flex-direction: column; gap: 13px; }
.check-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 13.5px;
  line-height: 1.56;
  color: var(--text-2);
}
.check-list li .chk {
  width: 19px;
  height: 19px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: rgba(55, 214, 160, 0.1);
  border: 1px solid rgba(55, 214, 160, 0.22);
  color: var(--green);
  flex: none;
  margin-top: 1px;
}
.check-list li strong { color: var(--text); font-weight: 550; }
.agent .btn { margin-top: 28px; }

/* --------------------------- visible tool flow --------------------------- */
.agent-architecture {
  overflow: hidden;
  border: 1px solid rgba(136, 172, 240, .17);
  border-radius: 17px;
  background: linear-gradient(150deg, rgba(10, 19, 35, .92), rgba(4, 9, 17, .98));
  box-shadow: var(--shadow-2), 0 0 72px -50px rgba(56, 118, 255, .52);
}
.architecture-head { display: flex; align-items: center; gap: 10px; padding: 15px 17px; border-bottom: 1px solid var(--line); }
.architecture-head > span:nth-child(2) { display: flex; flex-direction: column; gap: 3px; }
.architecture-head strong { color: #e7effe; font-size: 11.5px; font-weight: 560; }
.architecture-head small { color: #6f819f; font-size: 9.5px; }
.arch-mark { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid rgba(94, 145, 250, .22); border-radius: 8px; background: rgba(66, 119, 228, .12); color: #9fc1ff; }
.architecture-tag { margin-left: auto; padding: 5px 7px; border: 1px solid rgba(55, 214, 160, .18); border-radius: 99px; background: rgba(55, 214, 160, .055); color: #83dcbc; font: 600 7.5px/1 var(--mono); letter-spacing: .1em; }
.architecture-flow { padding: 17px 16px 11px; }
.architecture-step { display: grid; grid-template-columns: 24px 34px minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 12px 11px; border: 1px solid rgba(133, 168, 229, .095); border-radius: 11px; background: rgba(255,255,255,.018); }
.step-index { color: #536884; font: 600 8px/1 var(--mono); }
.step-icon { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid rgba(119, 158, 231, .17); border-radius: 9px; background: rgba(63, 105, 181, .1); color: #a7c4f3; }
.step-icon.local { border-color: rgba(55, 214, 160, .19); background: rgba(55, 214, 160, .07); color: #79dfba; }
.step-icon.response { color: #c0b7ff; border-color: rgba(139, 124, 255, .2); background: rgba(139, 124, 255, .08); }
.architecture-step > div { min-width: 0; }
.architecture-step strong { color: #dce7f8; font-size: 10.5px; font-weight: 550; }
.architecture-step p { margin-top: 4px; color: #7789a5; font-size: 9px; line-height: 1.5; }
.step-state { color: #7892bc; font: 600 7px/1 var(--mono); letter-spacing: .1em; }
.step-state.local-state { color: #7bdcb7; }
.architecture-connector { display: flex; align-items: center; gap: 9px; height: 24px; margin-left: 51px; }
.architecture-connector > span:first-child { position: relative; width: 1px; height: 100%; background: linear-gradient(180deg, rgba(100, 146, 225, .42), rgba(55, 214, 160, .38)); }
.architecture-connector > span:first-child::after { content: ""; position: absolute; left: -2px; bottom: 1px; width: 5px; height: 5px; border-right: 1px solid #7eb9b0; border-bottom: 1px solid #7eb9b0; transform: rotate(45deg); }
.connector-label { color: #637692; font: 500 8px/1 var(--mono); }
.architecture-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 17px; border-top: 1px solid var(--line); color: #71839f; font-size: 9px; }
.architecture-foot > span, .architecture-foot a { display: inline-flex; align-items: center; gap: 7px; }
.architecture-foot a { color: #a5c4fb; }
.architecture-foot a:hover { color: #fff; }

/* -------------------------------- compare ------------------------------- */

.compare-wrap {
  margin-top: 42px;
  border-radius: 15px;
  border: 1px solid var(--line);
  background: rgba(5, 10, 19, 0.62);
  overflow-x: auto;
}
.compare { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 13px; }
.compare th, .compare td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th {
  padding-top: 16px;
  padding-bottom: 16px;
  background: rgba(255, 255, 255, 0.018);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-3);
}
.compare thead th.eltes-col {
  color: #e2ecff;
  background: linear-gradient(180deg, rgba(56, 118, 255, 0.12), rgba(56, 118, 255, 0.03));
  border-bottom-color: rgba(116, 164, 255, 0.24);
}
.compare thead th .head-cell { display: flex; align-items: center; gap: 8px; }
.compare td:first-child { color: var(--text-2); }
.compare .eltes-col { background: rgba(56, 118, 255, 0.03); }
.compare td.eltes-col { color: #dbe8ff; }
.compare .yes, .compare .no { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; }
.compare .yes { color: #a9e9d1; }
.compare .no { color: #5f6f89; }
.compare .yes .icon { color: var(--green); }
.compare .no .icon { color: #414f66; }

/* -------------------------------- pricing ------------------------------- */

.pricing-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 7px 13px;
  border-radius: 99px;
  border: 1px solid rgba(255, 194, 102, 0.26);
  background: rgba(255, 194, 102, 0.07);
  color: #f2cd93;
  font-size: 11.5px;
  font-weight: 500;
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 40px;
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0) 40%), rgba(5, 10, 19, 0.72);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.price-card:hover { border-color: rgba(136, 176, 246, 0.22); transform: translateY(-2px); }
.price-card.featured {
  border-color: rgba(116, 164, 255, 0.32);
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(56, 118, 255, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0) 40%),
    rgba(6, 12, 23, 0.85);
  box-shadow: 0 0 0 1px rgba(56, 118, 255, 0.1), 0 30px 70px -40px rgba(56, 118, 255, 0.7);
}
.price-tag {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 9px;
  border-radius: 99px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.035);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}
.price-tag.now { border-color: rgba(55, 214, 160, 0.28); background: rgba(55, 214, 160, 0.09); color: #8fe9c6; }
.price-tag.soon { border-color: rgba(255, 194, 102, 0.26); background: rgba(255, 194, 102, 0.07); color: #f2cd93; }
.price-card h3 { margin-top: 14px; font-size: 17px; }
.price-card .price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 10px;
}
.price-card .price strong {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.045em;
  color: #fff;
  line-height: 1;
}
.price-card .price span { font-size: 12px; color: var(--text-3); }
.price-card .price em {
  font-style: normal;
  font-size: 12px;
  color: var(--text-4);
  text-decoration: line-through;
}
.price-card > p { margin-top: 9px; font-size: 12.5px; line-height: 1.6; color: var(--text-3); }
.price-feats { margin-top: 18px; display: flex; flex-direction: column; gap: 9px; }
.price-feats li { display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px; color: var(--text-2); line-height: 1.5; }
.price-feats .icon { color: var(--green); margin-top: 2px; }
.price-feats li.off { color: var(--text-4); }
.price-feats li.off .icon { color: #3c4960; }
.price-card .btn { margin-top: 22px; width: 100%; }

.price-note {
  margin-top: 22px;
  text-align: center;
  font-size: 12px;
  color: var(--text-4);
}
.price-note a { color: #8fb6f8; }

/* -------------------------------- account ------------------------------- */

.account-split {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 46px;
  align-items: center;
  margin-top: 8px;
}
.account-split h2 { margin-top: 16px; font-size: clamp(29px, 3.4vw, 40px); letter-spacing: -0.04em; }
.account-split > div > p { margin-top: 15px; font-size: 15px; line-height: 1.66; color: var(--text-2); }
.account-actions { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.gh-btn {
  background: linear-gradient(180deg, #f6f8fb, #e4e9f2);
  color: #080d16;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 14px 30px -18px rgba(0, 0, 0, 0.9);
}
.gh-btn:hover { background: #fff; }
.gh-btn .icon { color: #0b1120; }

.auth-card {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(136, 172, 240, 0.18);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(44, 92, 210, 0.16), transparent 72%),
    linear-gradient(180deg, #060d18, #040810);
  box-shadow: 0 40px 90px -46px rgba(0, 0, 0, 0.95), 0 0 80px -50px rgba(56, 118, 255, 0.6);
  padding: 22px;
  overflow: hidden;
}
.auth-card .ac-head { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }
.auth-card .ac-head strong { font-size: 13px; font-weight: 550; }
.auth-card .ac-head span { margin-left: auto; font-size: 10px; color: var(--text-4); }
.auth-field {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  margin-bottom: 8px;
  padding: 0 11px;
  border-radius: 9px;
  border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, 0.26);
  transition: border-color 0.18s, box-shadow 0.18s;
}
.auth-field:focus-within { border-color: rgba(116, 164, 255, 0.45); box-shadow: 0 0 0 3px rgba(56, 118, 255, 0.08); }
.auth-field .icon { color: var(--text-3); }
.auth-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  outline: none;
  font-size: 12.5px;
  color: var(--text);
}
.auth-field input::placeholder { color: var(--text-4); }
.auth-card .btn { width: 100%; margin-top: 4px; }
.auth-card .tiny { margin-top: 12px; font-size: 10.5px; line-height: 1.6; color: var(--text-4); text-align: center; }
.auth-card .tiny a { color: #8fb6f8; }
.auth-or {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 12px 0;
  font-size: 10px;
  color: var(--text-4);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------------------------------- cta --------------------------------- */

.cta {
  position: relative;
  padding: 2px;
  border-radius: 26px;
  background: linear-gradient(140deg, rgba(106, 156, 255, 0.34), rgba(60, 90, 180, 0.04) 44%, rgba(138, 124, 255, 0.3));
  overflow: hidden;
}
.cta-inner {
  position: relative;
  border-radius: 24px;
  background:
    radial-gradient(ellipse 60% 100% at 50% 0%, rgba(40, 84, 196, 0.32), transparent 70%),
    linear-gradient(180deg, #060c17, #03070d);
  padding: 72px 32px 76px;
  text-align: center;
  overflow: hidden;
}
.cta-inner .grid-bg { mask-image: radial-gradient(ellipse 65% 100% at 50% 40%, #000, transparent 75%); }
.cta h2 { position: relative; font-size: clamp(31px, 4.2vw, 48px); letter-spacing: -0.045em; line-height: 1.05; }
.cta p {
  position: relative;
  margin: 16px auto 0;
  max-width: 470px;
  font-size: 15px;
  color: var(--text-2);
}
.cta .hero-cta { position: relative; margin-top: 28px; }
.cta .hero-note { position: relative; margin-top: 16px; }

/* ------------------------------- responsive ------------------------------ */

@media (max-width: 1080px) {
  .model-wall { grid-template-columns: repeat(3, 1fr); }
  .bento { grid-template-columns: repeat(4, 1fr); }
  .span-4 { grid-column: span 4; }
  .span-3 { grid-column: span 2; }
  .span-2 { grid-column: span 2; }
  .agent { gap: 38px; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .model-wall .model-tile:last-child:nth-child(odd) { grid-column: span 2; }
  .hero { padding-top: calc(var(--nav-h) + 54px); }
  .showcase-layout { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .showcase-picker { padding-left: 13px; padding-right: 13px; }
  .privacy-flow { gap: 6px; padding: 11px 9px; }
  .flow-node { gap: 5px; }
  .section { padding: 76px 0; }
  .agent, .account-split { grid-template-columns: 1fr; gap: 36px; }
  .agent .btn { margin-top: 22px; }
  .price-grid { grid-template-columns: 1fr; }
  .price-card.featured { order: -1; }
  .model-wall { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .desk-br { display: none; }
  .bento { grid-template-columns: 1fr; gap: 11px; }
  .span-4, .span-3, .span-2 { grid-column: span 1; }
  .showcase-layout { grid-template-columns: 1fr; }
  .showcase-picker { border-right: 0; border-bottom: 1px solid rgba(141,174,232,.1); padding: 17px 14px 13px; }
  .preview-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preview-tab { min-height: 52px; padding: 7px; gap: 7px; }
  .preview-tab .tab-copy strong { font-size: 10px; }
  .preview-tab .tab-copy small { font-size: 8px; }
  .preview-panel { min-height: 300px; padding: 23px 18px 18px; }
  .hero-stage { padding: 0 14px; margin-top: 40px; }
  .showcase-shell { transform: none; }
  .section-head p { font-size: 14.5px; }
  .cta-inner { padding: 52px 18px 56px; }
  .architecture-flow { padding: 12px 10px 9px; }
  .architecture-step { grid-template-columns: 18px 30px minmax(0, 1fr); gap: 8px; padding: 10px 8px; }
  .step-state { display: none; }
  .step-icon { width: 29px; height: 29px; }
  .architecture-foot { padding: 10px 12px; font-size: 8px; }
  .hero h1 { font-size: clamp(37px, 11vw, 54px); }
  .hero-note { gap: 8px 14px; }
  .model-wall { grid-template-columns: 1fr; }
  .model-tile .mt-link { opacity: 1; transform: none; }
  .shard-band { height: 200px; }
  .account-actions .btn { flex: 1; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-shell { animation: none; transform: none; }
  .preview-tab, .preview-tab .tab-check, .preview-open { transition: none; }
}

/* ==========================================================================
   v3 — provider accounts + downloads
   ========================================================================== */

.account-provider {
  gap: 8px;
  padding-left: 10px;
}
.account-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.account-actions .btn { min-height: 38px; }
.account-provider .p-logo { border: 0; background: none; }

.download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 34px;
}
.download-card {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(116, 156, 228, 0.16);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(9, 18, 34, 0.82), rgba(4, 10, 20, 0.9));
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.035) inset, 0 30px 70px -60px rgba(20, 60, 160, 0.9);
  overflow: hidden;
}
.download-card.featured::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(57, 220, 162, 0.5), rgba(116, 164, 255, 0.45), transparent);
}
.download-card.featured {
  border-color: rgba(57, 220, 162, 0.22);
  background:
    radial-gradient(ellipse 80% 60% at 92% -10%, rgba(57, 220, 162, 0.1), transparent 70%),
    linear-gradient(180deg, rgba(9, 22, 30, 0.86), rgba(4, 11, 18, 0.94));
  display: flex;
  flex-direction: column;
}
.dl-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.dl-os {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 9px;
  border-radius: 20px;
  border: 1px solid rgba(96, 138, 210, 0.22);
  background: rgba(255, 255, 255, 0.03);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--text-2);
}
.dl-os .icon { color: #8ff0c8; }
.dl-ver { font-size: 10.5px; color: #5d6d89; }
.download-card h3 { font-size: 20px; font-weight: 560; letter-spacing: -0.03em; margin-bottom: 8px; }
.download-card p { font-size: 13px; line-height: 1.66; color: var(--text-3); }
.download-card code.mono {
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(140, 176, 238, 0.12);
  font-size: 0.92em;
  color: #cfe0fb;
}
.dl-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 18px 0 22px;
}
.dl-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.5;
}
.dl-list .icon { color: #5ed7ae; flex: none; margin-top: 2px; }
.dl-btn { width: 100%; justify-content: center; margin-top: auto; }
.dl-os-list { display: grid; gap: 12px; margin-bottom: 22px; }
.dl-os-list li { display: flex; align-items: flex-start; gap: 11px; }
.dl-os-list .dl-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  margin-top: 1px;
  border-radius: 9px;
  border: 1px solid rgba(57, 220, 162, 0.24);
  background: rgba(57, 220, 162, 0.08);
  color: #8ff0c8;
}
.dl-os-list strong { display: block; font-size: 13px; font-weight: 600; color: var(--text); }
.dl-os-list em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  font: 500 10.5px/1.5 var(--mono);
  color: #5d7195;
  word-break: break-word;
}
.dl-meta a { color: #9dc0ff; }
.dl-meta { margin-top: 11px; font-size: 10.5px; color: #4f5e7a; text-align: center; }
.dl-side { display: flex; flex-direction: column; gap: 18px; }
.download-card.small { padding: 19px; display: flex; flex-direction: column; }
.download-card.small h3 { font-size: 15.5px; margin: 12px 0 6px; }
.download-card.small p { font-size: 12px; }
.download-card.small .btn { align-self: flex-start; margin-top: 12px; }
.cmd-row {
  margin-top: 11px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(116, 156, 228, 0.14);
  background: rgba(2, 6, 14, 0.7);
  font-size: 11.5px;
  color: #b9d2f5;
  overflow-x: auto;
  white-space: nowrap;
}
.dl-note {
  margin-top: 18px;
  text-align: center;
  font-size: 11px;
  color: #4f5e7a;
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .download-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .download-card { padding: 19px 16px; border-radius: 15px; }
  .account-actions .btn { flex: 1; justify-content: center; }
}

/* ============================ hero stats ============================ */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.hero-stats > div {
  display: flex;
  min-width: 96px;
  flex-direction: column;
  gap: 2px;
  padding: 11px 14px;
  border: 1px solid rgba(139, 174, 232, .12);
  border-radius: 11px;
  background: linear-gradient(180deg, rgba(13, 22, 38, .72), rgba(7, 13, 24, .45));
}
.hero-stats strong {
  color: #eaf3ff;
  font-size: 19px;
  font-weight: 580;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.hero-stats span {
  color: #7286a6;
  font-size: 9.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ========================== live web search ========================= */
.search-section .section-head { max-width: 760px; }
.search-demo { margin-top: 38px; perspective: 1400px; }
.sd-window {
  overflow: hidden;
  border: 1px solid rgba(137, 172, 233, .16);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(10, 18, 32, .94), rgba(5, 10, 19, .96));
  box-shadow: 0 40px 90px -50px rgba(24, 62, 138, .85), 0 1px 0 rgba(255, 255, 255, .035) inset;
}
.sd-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(137, 172, 233, .1);
  background: rgba(255, 255, 255, .015);
}
.sd-mark {
  display: grid;
  width: 27px;
  height: 27px;
  flex: none;
  place-items: center;
  border: 1px solid rgba(113, 158, 240, .2);
  border-radius: 8px;
  background: rgba(64, 112, 214, .12);
  color: #87b3ff;
}
.sd-query {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding: 8px 12px;
  border: 1px solid rgba(139, 174, 232, .1);
  border-radius: 8px;
  color: #d9e6fa;
  background: rgba(3, 8, 15, .55);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sd-chip {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid rgba(57, 220, 162, .22);
  border-radius: 99px;
  background: rgba(57, 220, 162, .07);
  color: #9df0d3;
  font-size: 10px;
  font-weight: 550;
}
.sd-body { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); }
.sd-think {
  padding: 20px 18px 18px;
  border-right: 1px solid rgba(137, 172, 233, .09);
  background: rgba(2, 7, 14, .38);
}
.sd-think-head { display: flex; align-items: center; gap: 8px; }
.sd-think-head strong { color: #d8e6fb; font-size: 11.5px; font-weight: 580; }
.sd-provider {
  margin-left: auto;
  padding: 3px 7px;
  border: 1px solid rgba(126, 164, 231, .14);
  border-radius: 99px;
  color: #8ba3c5;
  font-size: 9px;
}
.sd-time { color: #8298b8; font-size: 9.5px; font-variant-numeric: tabular-nums; }
.sd-spinner {
  width: 11px;
  height: 11px;
  border: 1.5px solid rgba(128, 173, 255, .3);
  border-top-color: #7fb0ff;
  border-radius: 50%;
  animation: sd-spin 1s linear infinite;
}
@keyframes sd-spin { to { transform: rotate(360deg); } }
.sd-steps { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; }
.sd-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  gap: 9px;
  padding: 7px 0;
  color: #9eb2d0;
  font-size: 10.5px;
}
.sd-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 19px;
  bottom: -1px;
  width: 1px;
  background: linear-gradient(180deg, rgba(120, 158, 224, .26), rgba(120, 158, 224, .04));
}
.sd-steps i {
  width: 7px;
  height: 7px;
  margin-top: 3px;
  border-radius: 50%;
  background: #39dca2;
  box-shadow: 0 0 0 3px rgba(57, 220, 162, .07);
}
.sd-steps em {
  color: #667b9b;
  font-size: 9px;
  font-style: normal;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.sd-answer { padding: 20px 20px 14px; }
.sd-answer-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.sd-answer-head strong { color: #e7f0ff; font-size: 11.5px; font-weight: 580; }
.sd-answer-head .avatar-ai {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgba(57, 220, 162, .22);
  border-radius: 8px;
  background: rgba(57, 220, 162, .07);
  color: #6fe6bb;
}
.sd-tag {
  margin-left: auto;
  color: #6e84a4;
  font: 600 8px/1 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.sd-answer p { color: #b7c9e3; font-size: 12.5px; line-height: 1.75; }
.sd-sources { display: flex; flex-direction: column; gap: 5px; margin-top: 14px; }
.sd-source {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid rgba(137, 172, 233, .09);
  border-radius: 9px;
  background: rgba(255, 255, 255, .012);
  transition: border-color .18s, background .18s, transform .18s;
}
.sd-source:hover {
  border-color: rgba(122, 166, 246, .24);
  background: rgba(88, 138, 235, .06);
  transform: translateX(2px);
}
.sd-num {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border: 1px solid rgba(126, 164, 231, .18);
  border-radius: 6px;
  color: #9dc0ff;
  font: 600 9px/1 var(--mono);
}
.sd-src-body { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.sd-src-body strong {
  overflow: hidden;
  color: #d5e4fa;
  font-size: 10.5px;
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sd-src-body small { color: #66809f; font-size: 9px; }
.sd-src-body em {
  overflow: hidden;
  color: #899ebc;
  font-size: 9.5px;
  font-style: normal;
  line-height: 1.55;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sd-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(137, 172, 233, .07);
  color: #60748f;
  font-size: 9px;
}
.sd-foot > span { display: inline-flex; align-items: center; gap: 5px; }
.sd-foot a { display: inline-flex; align-items: center; gap: 5px; color: #a9c9ff; }
.sd-foot a:hover { color: #fff; }

.search-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}
.search-fact {
  padding: 16px;
  border: 1px solid rgba(137, 172, 233, .1);
  border-radius: 12px;
  background: rgba(255, 255, 255, .014);
  transition: border-color .2s, transform .2s;
}
.search-fact:hover { border-color: rgba(137, 176, 246, .22); transform: translateY(-2px); }
.sf-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(126, 164, 231, .15);
  border-radius: 9px;
  background: rgba(64, 112, 214, .08);
  color: #8bb6ff;
}
.search-fact strong { display: block; margin-top: 11px; color: #dbe7fa; font-size: 12px; font-weight: 570; }
.search-fact p { margin-top: 5px; color: #8498b6; font-size: 11px; line-height: 1.6; }
.search-fact code { color: #a9c7ff; font-size: 10px; }
@media (max-width: 900px) {
  .sd-body { grid-template-columns: 1fr; }
  .sd-think { border-right: 0; border-bottom: 1px solid rgba(137, 172, 233, .09); }
  .search-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .hero-stats { gap: 8px; }
  .hero-stats > div { min-width: 0; flex: 1 1 calc(50% - 8px); }
  .sd-bar { flex-wrap: wrap; }
  .sd-query { order: 3; width: 100%; flex-basis: 100%; }
  .sd-src-body em { white-space: normal; }
  .search-facts { grid-template-columns: 1fr; }
}

/* citation chips inside the search illustration */
.search-demo a.cite {
  display: inline-grid;
  min-width: 15px;
  height: 15px;
  margin: 0 1px;
  padding: 0 3px;
  place-items: center;
  border-radius: 4px;
  background: rgba(94, 144, 255, .18);
  color: #bcd3ff;
  font: 600 8.5px/1 var(--mono);
  text-decoration: none;
  vertical-align: 1px;
  transition: background .15s, color .15s;
}
.search-demo a.cite:hover { background: rgba(94, 144, 255, .34); color: #fff; }


/* ---------------------------- studio feature card ------------------------- */

.span-6 { grid-column: span 6; }
.studio-card {
  flex-direction: row;
  align-items: center;
  gap: 26px;
}
.studio-card-copy { flex: 1; min-width: 0; }
.studio-card-copy p { max-width: 56ch; }
.studio-card-copy .btn { margin-top: 4px; align-self: flex-start; }
.studio-card .card-visual { flex: 1; margin: 0; min-width: 0; max-width: 380px; }
.studio-card .code-mini { width: 100%; }

@media (max-width: 980px) {
  .studio-card { flex-direction: column; align-items: stretch; gap: 16px; }
  .studio-card .card-visual { max-width: none; }
}

.studio-card-links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 4px; }
.studio-card-links .btn { margin-top: 0; }
.studio-card-workflow {
  font-size: 12.5px;
  font-weight: 550;
  color: #8fb7ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(143, 183, 255, 0.28);
  padding-bottom: 1px;
}
.studio-card-workflow:hover { color: #cfe0ff; border-color: rgba(207, 224, 255, 0.5); }
