/* InfiniBot Cloud — home page components (loaded only on /).
   Visual language follows the desktop landing (docs/landing.html): black-gold,
   mono uppercase display type with a gold italic accent, window-chrome frames.
   Motion is transform/opacity only and switches off under reduced motion. */

.btn--lg { --h: 56px; padding: 0 28px; font-size: 16px; border-radius: 14px; }
.ico--sm { width: 38px; height: 38px; border-radius: 11px; flex: none; }
.ico--sm svg { width: 18px; height: 18px; }
.muted { color: var(--fg-3); }
.caption { margin: 14px 0 0; text-align: center; font: 500 12.5px/1.4 var(--mono); color: var(--fg-3); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.025); font: 500 13px/1.2 var(--mono); color: var(--fg-2); white-space: nowrap; }
.chip--dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--gold)); box-shadow: 0 0 8px var(--c, var(--gold)); }
.ticks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 11px; }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15.5px; color: var(--fg-2); }
.ticks li svg { width: 17px; height: 17px; color: var(--gold); margin-top: 4px; }
.frame img { aspect-ratio: auto; }
.frame--big { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03) inset, 0 50px 140px -40px rgba(251, 191, 36, 0.35), 0 30px 60px -30px #000; }

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero--home { padding-top: clamp(28px, 5vw, 56px); }
.hero__glow { position: absolute; left: 50%; top: -120px; width: min(1100px, 120vw); height: 720px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(50% 50% at 50% 40%, rgba(251, 191, 36, 0.14), transparent 70%), radial-gradient(30% 40% at 30% 60%, rgba(247, 140, 20, 0.08), transparent 70%); }
.hero__mark { width: 44px; height: 44px; margin: 0 auto 22px; filter: drop-shadow(0 0 14px rgba(251, 191, 36, 0.55)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-6px); } }
.hero--home h1 { font-size: clamp(36px, 6.6vw, 92px); max-width: 16ch; }
.hero--home h1 .it { display: block; font-size: 1.02em; }
.hero--home .lede em { font-style: italic; font-weight: 600; }
.hero__tag { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(251, 191, 36, 0.06); font: 600 12px/1.3 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.hero__tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: var(--glow); animation: pulse 2s infinite; flex: none; }
.hero--home .cta-row { margin-top: 26px; }
.hero__fine { margin: 18px 0 0; font-size: 14px; color: var(--fg-3); }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 900px; margin: 40px auto 0; }
.pillars > div { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pillars b { font: 600 13px/1.2 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.pillars p { margin: 0; font-size: 14.5px; color: var(--fg-3); max-width: 28ch; }
.boot { margin-left: auto; position: relative; display: inline-grid; font: 600 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; }
.boot > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 7px; justify-self: end; }
.boot > span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; }
.boot__a { color: var(--gold); animation: bootA 1.8s var(--ease) 0.4s both; }
.boot__a::before { background: var(--gold); box-shadow: var(--glow-soft); animation: pulse 0.6s infinite; }
.boot__b { color: var(--ok); animation: bootB 1.8s var(--ease) 0.4s both; }
.boot__b::before { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
@keyframes bootA { 0%, 60% { opacity: 1; } 75%, 100% { opacity: 0; } }
@keyframes bootB { 0%, 65% { opacity: 0; } 85%, 100% { opacity: 1; } }
.hero--home .hero-stage { max-width: 1160px; }
.hero--home .frame img { aspect-ratio: 16 / 10; }
@media (max-width: 720px) {
  .pillars { grid-template-columns: 1fr; gap: 18px; margin-top: 32px; }
  .pillars > div { flex-direction: row; text-align: left; align-items: flex-start; }
  .pillars > div > span { margin-top: 2px; }
  .pillars b { display: block; margin-bottom: 4px; }
  .pillars > div { display: grid; grid-template-columns: 38px 1fr; column-gap: 14px; }
  .pillars p { grid-column: 2; }
  .hero__tag { font-size: 10px; letter-spacing: 0.08em; padding: 9px 14px; }
}

/* ── Live demo ────────────────────────────────────────────────────── */
.demo { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.demo__stats { list-style: none; margin: 28px 0 30px; padding: 0; display: grid; gap: 14px; }
.demo__stats li { display: flex; gap: 14px; align-items: center; }
.demo__stats small { display: block; font-size: 13.5px; color: var(--fg-3); }
.demo__stats b { display: block; font-size: 17px; font-weight: 600; }
.phone { position: relative; max-width: 340px; margin: 0 auto; border-radius: 34px; border: 1px solid var(--line-2); background: #070604; overflow: hidden;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.02), 0 0 60px -10px rgba(251, 191, 36, 0.45), 0 40px 80px -30px #000; }
.phone .frame__bar { height: 34px; font-size: 11px; }
.phone__screen { position: relative; aspect-ratio: 536 / 1280; background: #0a0907; }
.phone__screen video, .phone__screen img { width: 100%; height: 100%; object-fit: cover; }
.demo__play { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(6, 5, 3, 0.8); color: var(--gold);
  font: 600 13px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.demo__play svg { width: 14px; height: 14px; fill: currentColor; }
.demo__play[data-playing="true"] { opacity: 0.35; }
.demo__play[data-playing="true"]:hover, .demo__play:focus-visible { opacity: 1; }
@media (max-width: 900px) { .demo { grid-template-columns: 1fr; } .demo__stage { order: 2; } .phone { max-width: 300px; } }

/* ── Problem ──────────────────────────────────────────────────────── */
.problem { padding-top: 30px; }
.problem__n { position: absolute; top: 20px; right: 22px; font: 500 12px/1 var(--mono); color: var(--fg-4); }
.problem h3 { font: 600 17px/1.25 var(--mono); text-transform: uppercase; letter-spacing: 0.02em; }
.fix { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; max-width: 900px; margin: 34px auto 0; padding: 18px 24px;
  border-radius: 999px; border: 1px solid rgba(110, 231, 160, 0.25); background: rgba(110, 231, 160, 0.05); color: var(--fg-2); text-align: center; font-size: 16px; }
.fix__tag { font: 600 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ok); padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(110, 231, 160, 0.35); }
@media (max-width: 640px) { .fix { border-radius: 18px; } }

/* ── Wake diagram ─────────────────────────────────────────────────── */
.wake { display: grid; grid-template-columns: 1fr 70px 1fr 70px 1.35fr; align-items: center; gap: 0; padding: clamp(22px, 3vw, 36px);
  border-radius: 24px; border: 1px solid var(--line); background: radial-gradient(80% 120% at 100% 50%, rgba(251, 191, 36, 0.08), transparent 60%), rgba(255, 255, 255, 0.015); }
.wake__col { display: flex; flex-direction: column; gap: 10px; }
.wake__label { font: 600 11px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 4px; }
.wake__chip, .wake__box { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-soft); background: rgba(255, 255, 255, 0.03); font-size: 15px; }
.wake__chip svg { width: 18px; height: 18px; color: var(--gold); }
.wake__box { flex-direction: column; align-items: flex-start; gap: 2px; }
.wake__box b { font: 600 14px/1.2 var(--mono); }
.wake__box span { font-size: 13.5px; color: var(--fg-3); }
.wake__wire { position: relative; height: 2px; margin: 0 8px; background: linear-gradient(90deg, rgba(251, 191, 36, 0.1), rgba(251, 191, 36, 0.4), rgba(251, 191, 36, 0.1)); overflow: hidden; }
.wake__wire i { position: absolute; top: -2px; left: 0; width: 26px; height: 6px; border-radius: 3px; background: var(--gold); box-shadow: var(--glow); animation: wire 1.8s linear infinite; }
@keyframes wire { from { transform: translateX(-30px); } to { transform: translateX(80px); } }
.machine { position: relative; padding: 18px; border-radius: 16px; border: 1px solid var(--line-2); background: #080705; transition: box-shadow 0.6s var(--ease), border-color 0.6s; }
.machine__top { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.machine__top b { font: 600 13px/1 var(--mono); }
.machine__led { width: 10px; height: 10px; border-radius: 50%; background: var(--fg-4); transition: background 0.4s, box-shadow 0.4s; }
.machine__state { margin-left: auto; font: 600 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); }
.machine__rows { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 16px 0 12px; }
.machine__rows span { padding: 8px 4px; border-radius: 8px; text-align: center; font: 500 11px/1 var(--mono); color: var(--fg-4); border: 1px solid var(--line-soft); transition: color 0.4s, border-color 0.4s, background 0.4s; }
.machine__log { min-height: 88px; font: 500 12.5px/1.75 var(--mono); color: var(--fg-3); }
.machine__log div { opacity: 0.25; transition: opacity 0.35s; }
.machine__replay { margin-top: 10px; }
.machine[data-state="sleeping"] { box-shadow: none; border-color: var(--line); }
.machine[data-state="waking"] .machine__led { background: var(--gold); box-shadow: var(--glow); animation: pulse 0.5s infinite; }
.machine[data-state="waking"] .machine__state { color: var(--gold); }
.machine[data-state="live"] { border-color: rgba(110, 231, 160, 0.45); box-shadow: 0 0 0 1px rgba(110, 231, 160, 0.12) inset, 0 0 40px -12px rgba(110, 231, 160, 0.45); }
.machine[data-state="live"] .machine__led { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.machine[data-state="live"] .machine__state { color: var(--ok); }
.machine[data-state="live"] .machine__rows span { color: var(--ok); border-color: rgba(110, 231, 160, 0.3); background: rgba(110, 231, 160, 0.05); }
.machine[data-state="live"] .machine__log div, .machine__log div.on { opacity: 1; }
.machine__log div.on:last-child, .machine[data-state="live"] .machine__log div:last-child { color: var(--ok); }
.facts { margin-top: 18px; }
@media (max-width: 1000px) {
  .wake { grid-template-columns: 1fr; gap: 6px; }
  .wake__wire { width: 2px; height: 34px; margin: 4px auto; background: linear-gradient(180deg, rgba(251, 191, 36, 0.1), rgba(251, 191, 36, 0.45), rgba(251, 191, 36, 0.1)); }
  .wake__wire i { width: 6px; height: 16px; left: -2px; animation-name: wireV; }
  .wake__you { flex-direction: row; flex-wrap: wrap; } .wake__you .wake__label { width: 100%; }
  .wake__door { display: grid; grid-template-columns: 1fr 1fr; } .wake__door .wake__label { grid-column: 1 / -1; }
}
@keyframes wireV { from { transform: translateY(-18px); } to { transform: translateY(38px); } }

/* ── Coders ───────────────────────────────────────────────────────── */
.layer { display: flex; align-items: center; gap: 14px; margin: 8px 0 18px; font: 600 12px/1.3 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); }
.layer::after { content: ""; flex: 1; height: 1px; background: var(--line-soft); }
.layer__tag { padding: 5px 9px; border-radius: 6px; background: var(--gold); color: #140e02; }
.layer__tag--b { background: rgba(251, 191, 36, 0.14); color: var(--gold); border: 1px solid var(--line-2); }
.coder h3 { margin: 0; font-size: 22px; font-weight: 700; }
.coder__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.coder__by { font: 500 10.5px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); padding: 6px 9px; border-radius: 999px; border: 1px solid var(--line-soft); }
.coder p { margin: 16px 0 18px !important; }
.coder code { display: inline-block; font: 500 12.5px/1 var(--mono); color: var(--gold); padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line-2); background: rgba(251, 191, 36, 0.05); }
.coders__shot { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin: clamp(40px, 6vw, 64px) 0; }
.coders__copy p { color: var(--fg-2); margin-top: 12px; }
.providers { display: flex; flex-wrap: wrap; gap: 10px; }
.providers .chip:nth-child(-n+4) { border-color: var(--line-2); color: var(--fg); }
.providers__note { margin: 16px 0 0; font-size: 14px; color: var(--fg-3); text-align: center; }
@media (max-width: 900px) { .coders__shot { grid-template-columns: 1fr; } }

/* ── Fleet ────────────────────────────────────────────────────────── */
.sec--fleet { background: radial-gradient(60% 50% at 50% 30%, rgba(52, 211, 153, 0.05), transparent 70%); }
.fleet { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.agent { position: relative; padding: 16px 16px 14px; border-radius: 14px; border: 1px solid var(--line-soft); background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)); overflow: hidden; }
.agent::before { content: ""; position: absolute; left: 12%; right: 12%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(52, 211, 153, 0.7), transparent); }
.agent__top { display: flex; align-items: center; gap: 10px; }
.agent__av { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font: 700 12px/1 var(--mono); color: #07130e; background: linear-gradient(135deg, #6ee7a0, #3fb8e8); flex: none; }
.agent__id { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.agent__id b { font: 600 13.5px/1.1 var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agent__id small { font: 500 10.5px/1 var(--mono); color: #7fb2ff; padding: 3px 6px; border-radius: 5px; border: 1px solid rgba(110, 167, 255, 0.35); align-self: flex-start; }
.agent__st { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font: 600 10px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ok); }
.agent__st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 6px currentColor; }
.agent[data-state="done"] .agent__st { color: var(--gold); }
.agent__task { margin: 14px 0 12px; min-height: 2.9em; font: 500 12.5px/1.45 var(--mono); color: var(--fg-2); }
.agent__bar { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.agent__bar i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--v, 0.3)); transition: transform 0.9s var(--ease);
  background: linear-gradient(90deg, #6ea7ff, #34d399); }
.agent[data-state="done"] .agent__bar i { background: linear-gradient(90deg, var(--amber), var(--gold)); }
.fleet__note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 0; font: 500 12.5px/1.4 var(--mono); color: var(--fg-3); text-align: center; }
.fleet__note i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); flex: none; }
.fleet__points { margin-top: 30px; }
@media (max-width: 1020px) { .fleet { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .fleet { grid-template-columns: 1fr; } .agent:nth-child(n+5) { display: none; } }

/* ── Mesh ─────────────────────────────────────────────────────────── */
.mesh-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.mesh-side { display: grid; gap: 18px; }
.mesh-card { padding: 22px; }
.mesh-card .ticks { margin: 0; }
@media (max-width: 980px) { .mesh-grid { grid-template-columns: 1fr; } }

/* ── Delegation tree ──────────────────────────────────────────────── */
.legend { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.tree { border-radius: 24px; border: 1px solid var(--line-soft); background: radial-gradient(60% 60% at 30% 50%, rgba(251, 191, 36, 0.05), transparent 70%), #060504; padding: 22px clamp(16px, 3vw, 30px); }
.tree__head { display: flex; justify-content: space-between; gap: 12px; font: 500 11.5px/1.3 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-4); }
.tree__live { color: var(--ok); display: inline-flex; align-items: center; gap: 7px; }
.tree__live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); animation: pulse 2s infinite; }
.tree__svg { width: 100%; height: auto; margin-top: 10px; overflow: visible; }
.tree__svg text { font-family: var(--mono); fill: var(--fg); font-size: 13px; }
.tree__svg .tree__t { font-weight: 600; font-size: 14px; }
.tree__svg .tree__s { fill: var(--fg-3); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
.tree__p { fill: none; stroke: rgba(251, 191, 36, 0.35); stroke-width: 1.4; stroke-dasharray: 5 7; animation: flow 1.6s linear infinite; transition: opacity 0.3s, stroke-width 0.3s; }
@keyframes flow { to { stroke-dashoffset: -24; } }
.tree__p--tools { stroke: rgba(110, 167, 255, 0.45); } .tree__p--browser { stroke: rgba(192, 132, 252, 0.45); } .tree__p--chan { stroke: rgba(52, 211, 153, 0.45); }
.tree__src circle { fill: rgba(251, 191, 36, 0.08); stroke: var(--gold); stroke-width: 1.5; filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.5)); }
.tree__o rect { fill: #120e05; stroke: rgba(251, 191, 36, 0.6); stroke-width: 1.4; }
.tree__b rect { fill: #0c0b09; stroke: var(--gold); stroke-width: 1.3; }
.tree__b--tools rect { stroke: #6ea7ff; } .tree__b--browser rect { stroke: #c084fc; } .tree__b--chan rect { stroke: #34d399; }
.tree__b { cursor: pointer; outline: none; }
.tree__b:focus-visible rect { stroke-width: 2.6; }
.tree__l rect { fill: rgba(255, 255, 255, 0.025); stroke: rgba(255, 255, 255, 0.1); }
.tree__l text { font-size: 12.5px; fill: var(--fg-2); }
.tree:has(.tree__b:hover, .tree__b:focus-visible) .tree__p--leaf { opacity: 0.15; }
.tree:has(.tree__b--coders:hover, .tree__b--coders:focus-visible) .tree__p--coders,
.tree:has(.tree__b--tools:hover, .tree__b--tools:focus-visible) .tree__p--tools,
.tree:has(.tree__b--browser:hover, .tree__b--browser:focus-visible) .tree__p--browser,
.tree:has(.tree__b--chan:hover, .tree__b--chan:focus-visible) .tree__p--chan { opacity: 1; stroke-width: 2.4; }
.tree__foot { margin: 12px 0 0; text-align: center; font-size: 14px; color: var(--fg-3); }
.tree__mobile { display: none; }
@media (max-width: 760px) {
  .tree__svg { display: none; }
  .tree__mobile { display: block; margin-top: 16px; }
  .tree__root { font: 500 14px/1 var(--mono); color: var(--fg-2); padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(251, 191, 36, 0.05); }
  .tree__root b { color: var(--gold); font-weight: 600; }
  .tree__list { list-style: none; margin: 0 0 0 18px; padding: 8px 0 0 18px; border-left: 1px dashed var(--line-2); display: grid; gap: 10px; }
  .tree__li { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-soft); border-left: 2px solid var(--c, var(--gold)); background: rgba(255, 255, 255, 0.02); }
  .tree__li::before { content: ""; position: absolute; left: -20px; top: 50%; width: 18px; border-top: 1px dashed var(--line-2); }
  .tree__li b { font: 600 13px/1.2 var(--mono); }
  .tree__li span { font: 500 12px/1.5 var(--mono); color: var(--fg-3); }
  .tree__li--tools { --c: #6ea7ff; } .tree__li--browser { --c: #c084fc; } .tree__li--chan { --c: #34d399; }
  .tree__head { flex-direction: column; }
}

/* ── Voice ────────────────────────────────────────────────────────── */
.voice { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.voice .sec-head { margin-bottom: 30px; }
.voice__points { display: grid; gap: 22px; }
.voice__points > div { display: flex; gap: 16px; }
.voice__points h3 { font: 600 15px/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; margin: 6px 0 6px; }
.voice__points p { margin: 0; color: var(--fg-2); font-size: 15.5px; }
.voice__panel { display: grid; grid-template-columns: 1fr auto 1.4fr; grid-template-areas: "in orb rows" "out out out"; gap: 20px 16px; align-items: center;
  padding: clamp(18px, 3vw, 28px); border-radius: 22px; border: 1px solid var(--line-soft); background: #070605; box-shadow: 0 40px 100px -50px rgba(251, 191, 36, 0.4); }
.voice__in { grid-area: in; } .voice__orb { grid-area: orb; } .voice__rows { grid-area: rows; } .voice__out { grid-area: out; }
.voice__label { display: block; font: 600 10.5px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 10px; }
.voice__in p { margin: 12px 0 0; font-size: 13.5px; color: var(--fg-2); }
.wave { display: flex; align-items: center; gap: 3px; height: 44px; }
.wave i { flex: 1; min-width: 2px; max-width: 5px; height: 100%; border-radius: 2px; background: var(--gold); transform-origin: center; transform: scaleY(0.3);
  animation: wv 1.1s ease-in-out infinite; animation-delay: calc(var(--i) * -0.13s); }
.wave--green i { background: #34d399; animation-duration: 1.4s; }
@keyframes wv { 0%, 100% { transform: scaleY(0.2); } 50% { transform: scaleY(1); } }
.voice__orb { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.voice__orb span { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; color: #140e02;
  background: linear-gradient(180deg, #ffe08a, var(--gold) 60%, var(--warm)); box-shadow: var(--glow), 0 0 40px rgba(251, 191, 36, 0.4); animation: float 4s ease-in-out infinite; }
.voice__orb svg { width: 28px; height: 28px; }
.voice__orb small { font: 600 10px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.voice__rows { display: grid; gap: 8px; }
.vrow { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(251, 191, 36, 0.3); background: rgba(251, 191, 36, 0.03); }
.vrow b { font: 600 12px/1.2 var(--mono); }
.vrow span { font-size: 12.5px; color: var(--fg-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vrow i { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.06); position: relative; overflow: hidden; }
.vrow i::after { content: ""; position: absolute; inset: 0; transform-origin: left; background: var(--gold); transform: scaleX(var(--v)); animation: grow 2.4s var(--ease) both; animation-delay: calc(var(--i) * 0.25s); }
.voice__out { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.2fr); align-items: center; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.voice__out .voice__label { margin: 0; }
.voice__out p { margin: 0; font-size: 14px; }
.ok { color: var(--ok); }
@media (max-width: 980px) { .voice { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .voice__panel { grid-template-columns: 1fr; grid-template-areas: "in" "orb" "rows" "out"; }
  .voice__out { grid-template-columns: 1fr; gap: 10px; }
}

/* ── Channels ─────────────────────────────────────────────────────── */
.chan { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.chan__phones { position: relative; display: flex; justify-content: center; align-items: flex-start; gap: 18px; }
.phone--img { margin: 0; max-width: 250px; flex: 1; }
.phone--img .phone__screen { aspect-ratio: 720 / 976; }
.phone__screen picture { height: 100%; }
.phone--img.phone--b { margin-top: 64px; }
.phone--b .phone__screen { aspect-ratio: 720 / 976; background: #050505; }
.phone--b .phone__screen img { object-position: top; }
.phone--img figcaption { padding: 10px 12px; text-align: center; font: 600 10.5px/1.2 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); border-top: 1px solid var(--line-soft); }
.chan__list { display: grid; gap: 18px; margin-bottom: 22px; }
.chan__list > div { display: flex; gap: 14px; }
.chan__list h3 { font: 600 15px/1.2 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; margin: 4px 0 6px; }
.chan__list p { margin: 0; color: var(--fg-2); font-size: 15.5px; }
.approvals .eyebrow { margin-bottom: 10px; }
.approvals h3 { margin: 0 0 8px; }
.approvals .frame { margin-top: 18px; }
@media (max-width: 900px) { .chan { grid-template-columns: 1fr; } .chan__phones { max-width: 520px; margin: 0 auto; } }
@media (max-width: 420px) { .phone--img.phone--b { margin-top: 36px; } .chan__phones { gap: 12px; } }

/* ── Guide ────────────────────────────────────────────────────────── */
.guide { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.guide__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: g; }
.guide__steps li { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 14px 60px; border-radius: 14px; border: 1px solid var(--line-soft); background: rgba(255, 255, 255, 0.02); }
.guide__steps li::before { counter-increment: g; content: "0" counter(g); position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font: 700 12px/1 var(--mono); color: #140e02; background: var(--gold); box-shadow: var(--glow-soft); }
.guide__steps b { font: 600 13px/1.2 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.guide__steps span { color: var(--fg-2); font-size: 15.5px; }
.guide__shots { position: relative; }
.guide__small { width: 58%; margin: -14% 0 0 auto; position: relative; }
@media (max-width: 900px) { .guide { grid-template-columns: 1fr; } .guide__small { width: 78%; margin-top: -10%; } }

/* ── Feature explorer (tabs) ──────────────────────────────────────── */
.ex { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 18px; padding: 16px; border-radius: 26px; border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)); }
.ex__tabs { display: flex; flex-direction: column; gap: 4px; }
.ex__tab { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 1px solid transparent; border-radius: 14px; background: none;
  color: var(--fg-2); text-align: left; cursor: pointer; font: inherit; transition: background 0.25s, border-color 0.25s, color 0.25s; }
.ex__tab:hover { background: rgba(255, 255, 255, 0.03); }
.ex__tab[aria-selected="true"] { background: rgba(251, 191, 36, 0.06); border-color: var(--line-2); color: var(--fg); box-shadow: inset 3px 0 0 var(--gold); }
.ex__n { flex: none; font: 600 11px/1 var(--mono); color: var(--gold); padding: 6px 7px; border-radius: 7px; border: 1px solid var(--line-2); background: rgba(251, 191, 36, 0.05); }
.ex__tt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ex__tt b { font-size: 15.5px; font-weight: 600; }
.ex__tt small { font-size: 13px; color: var(--fg-3); }
.ex__panel { display: grid; grid-template-rows: auto auto; gap: 20px; padding: clamp(18px, 3vw, 30px); border-radius: 20px; border: 1px solid var(--line-soft); background: #070605; }
.ex__panel + .ex__panel { margin-top: 16px; }
.js .ex__panel[data-inactive] { display: none; }
.js .ex__panel + .ex__panel { margin-top: 0; }
.js .ex__panel { animation: exIn 0.45s var(--ease); }
@keyframes exIn { from { opacity: 0; transform: translateY(8px); } }
.ex__copy .eyebrow { margin-bottom: 12px; }
.ex__copy h3 { font-size: clamp(22px, 2.6vw, 32px); }
.ex__copy p { margin: 12px 0 0; color: var(--fg-2); max-width: 64ch; }
.ex__copy .ticks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ex .frame img { max-height: 520px; object-fit: cover; object-position: top left; }
.ex__tabs .ex__tab { min-height: 44px; }
@media (max-width: 1000px) {
  .ex { grid-template-columns: 1fr; padding: 12px; }
  .ex__tabs { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .ex__tabs::-webkit-scrollbar { display: none; }
  .ex__tab { width: auto; flex: none; scroll-snap-align: start; }
  .ex__tt small { display: none; }
  .ex__copy .ticks { grid-template-columns: 1fr; }
}
.no-js-hide { display: none; }

/* ── Plugins ──────────────────────────────────────────────────────── */
.plug { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.plug__card { display: flex; flex-direction: column; }
.plug__card > p { margin: 14px 0 18px !important; }
.plug__card .frame { margin-top: auto; }
.plug__head { display: flex; align-items: center; gap: 14px; }
.plug__head h3 { margin: 0; font-size: 22px; }
.plug__head small { color: var(--fg-3); font-size: 14px; }
.plug__mono { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font: 700 15px/1 var(--mono); color: var(--gold); border: 1px solid var(--line-2); background: rgba(251, 191, 36, 0.07); box-shadow: var(--glow-soft); }
.plug__catalog { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: clamp(32px, 5vw, 56px); }
.plug__catalog p { color: var(--fg-2); margin-top: 12px; }
@media (max-width: 900px) { .plug, .plug__catalog { grid-template-columns: 1fr; } }

/* ── CTA band ─────────────────────────────────────────────────────── */
.band { text-align: center; padding: clamp(36px, 5vw, 56px) clamp(20px, 4vw, 48px); border-radius: 26px; border: 1px solid var(--line);
  background: radial-gradient(60% 120% at 50% 0%, rgba(251, 191, 36, 0.12), transparent 70%), rgba(255, 255, 255, 0.015); }
.band .h2 { font-size: clamp(24px, 3.4vw, 40px); }
.band .lede { max-width: 620px; margin-left: auto; margin-right: auto; }
.band .cta-row { margin-top: 26px; }

/* ── Security ─────────────────────────────────────────────────────── */
.sec-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.shield { position: relative; aspect-ratio: 1; max-width: 360px; width: 100%; margin: 0 auto; display: grid; place-items: center; }
.shield__ring { position: absolute; inset: 6%; border-radius: 50%; border: 1px dashed rgba(251, 191, 36, 0.35); animation: spin 28s linear infinite; }
.shield__ring--2 { inset: 22%; border-style: solid; border-color: rgba(251, 191, 36, 0.18); animation-duration: 18s; animation-direction: reverse;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.12), transparent 70%); }
.shield__ring::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: var(--glow); }
@keyframes spin { to { transform: rotate(360deg); } }
.shield__core { width: 38%; aspect-ratio: 1; border-radius: 28%; display: grid; place-items: center; color: #140e02;
  background: linear-gradient(180deg, #ffe08a, var(--gold) 60%, var(--warm)); box-shadow: var(--glow), 0 0 80px rgba(251, 191, 36, 0.35); }
.shield__core svg { width: 44%; height: 44%; }
@media (max-width: 900px) { .sec-grid { grid-template-columns: 1fr; } .shield { max-width: 220px; } }

/* ── How ──────────────────────────────────────────────────────────── */
.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; }
.how::before { content: ""; position: absolute; left: 12%; right: 12%; top: 30px; border-top: 1.5px dashed rgba(251, 191, 36, 0.4); }
.how li { position: relative; text-align: center; }
.how__n { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; position: relative; }
.how__n span { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font: 700 17px/1 var(--mono); color: #140e02;
  background: radial-gradient(circle at 35% 30%, #fff1c2, var(--gold) 55%, var(--warm)); box-shadow: var(--glow), 0 10px 30px -8px rgba(251, 191, 36, 0.6); }
.how__n i { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: var(--gold); border: 1px solid var(--line-2); background: #0b0906; }
.how__n i svg { width: 18px; height: 18px; }
.how h3 { font: 600 15px/1.2 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
.how p { margin: 0 auto; max-width: 26ch; color: var(--fg-2); font-size: 15px; }
@media (max-width: 900px) {
  .how { grid-template-columns: 1fr 1fr; row-gap: 36px; } .how::before { display: none; }
}
@media (max-width: 520px) {
  .how { grid-template-columns: 1fr; }
  .how li { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; text-align: left; }
  .how__n { grid-row: span 2; margin: 0; } .how__n i { display: none; } .how__n span { width: 48px; height: 48px; font-size: 15px; }
  .how p { margin: 0; max-width: none; }
}

/* ── Bento ────────────────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(150px, auto); grid-auto-flow: dense; gap: 14px; }
.bento .card h3 { margin-top: 14px; }
.bento__a { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
.bento__a .bento__img, .bento__a picture { margin-top: auto; }
.bento__a picture { padding-top: 18px; }
.bento__img { border-radius: 12px; border: 1px solid var(--line-soft); }
@media (max-width: 1020px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .bento__a { grid-column: auto; grid-row: auto; } }

/* ── Pricing (home) ───────────────────────────────────────────────── */
#pricing .plan__blurb { min-height: 5em; }
#pricing .plan dl { margin-top: 12px; }

@media (prefers-reduced-motion: reduce) {
  .hero__mark, .voice__orb span, .shield__ring, .wave i, .tree__p, .wake__wire i { animation: none !important; }
  .wave i { transform: scaleY(0.6); }
  .boot__a { display: none; } .boot__b { opacity: 1; }
}

/* Window-chrome titles never wrap on narrow frames. */
.frame__bar { white-space: nowrap; overflow: hidden; }
@media (max-width: 640px) { .frame__bar .muted { display: none; } }
