/* CleverHive public website, modern layout: product, docs and API pages: blocks, code cards, tool logos.
   Loaded after website.css and premium.css on every public page. Brand colours only: Indigo and Brass (tokens in shared/css/base.css). No inline styles (CSP). */

.js-only { display: none; }
html.js .js-only { display: inline-flex; }
.center-x { text-align: center; margin: 28px 0 0; }
.narrow-x { width: min(820px, calc(100% - 32px)); margin: 0 auto; }
.mx { --pad: clamp(52px, 7vw, 92px); }

/* ------------------------------------------------------------------ header link (the header itself is in website.css) */
.nav-link { display: inline-flex; align-items: center; height: 38px; padding: 0 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--muted); transition: background-color var(--fast), color var(--fast); }
.nav-link:hover { text-decoration: none; background: var(--subtle); color: var(--text); }
.nav-link.on, .nav-link[aria-current="page"] { color: var(--accent); }

/* ------------------------------------------------------------------ page hero for product and docs pages */
.hero-x { position: relative; text-align: center; padding: clamp(36px, 6vw, 72px) 16px 28px; max-width: 1040px; margin: 0 auto; }
.hero-x h1 { font-size: clamp(36px, 6.2vw, 68px); line-height: 1.04; letter-spacing: -.035em; font-weight: 750; margin: 18px 0 14px; }
.hero-x h1 em { font-style: normal; color: var(--indigo-600); background: linear-gradient(100deg, var(--indigo-600), var(--brass-600)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-x .lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 640px; margin: 0 auto; }
.hero-page { padding-bottom: 8px; }
.hero-page h1 { font-size: clamp(30px, 4.6vw, 52px); max-width: 880px; margin-left: auto; margin-right: auto; }
.hero-cta { margin-top: 24px; }
.chip-x { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-xs); font-size: 13px; font-weight: 600; color: var(--muted); }
a.chip-link { color: var(--muted); transition: border-color var(--fast), transform var(--fast) var(--ease); }
a.chip-link:hover { text-decoration: none; border-color: var(--brass); transform: translateY(-1px); }
.chip-ico { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--indigo); color: #fff; }
.chip-ico svg { width: 14px; height: 14px; stroke: currentColor; }
.chip-sep { width: 1px; height: 14px; background: var(--border-strong); }
.chip-hear { display: inline-flex; align-items: center; gap: 5px; color: var(--brass-700); font-weight: 700; }
.chip-hear svg { width: 12px; height: 12px; stroke: currentColor; fill: currentColor; }


/* ------------------------------------------------------------------ sections */
.blk { padding: var(--pad) 0 calc(var(--pad) * .55); }
.blk-alt { background: linear-gradient(180deg, var(--surface-hi), var(--surface)); border-block: 1px solid var(--line); padding-bottom: var(--pad); }
.kicker-x { display: block; text-align: center; font-size: 12px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-700); margin-bottom: 10px; }
.kicker-x.left { text-align: left; }
.h2-x { font-size: clamp(26px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -.028em; font-weight: 750; text-align: center; margin: 0; }
.h2-x.left { text-align: left; }
.intro-x { max-width: 640px; margin: 12px auto 0; text-align: center; color: var(--muted); font-size: 16px; }
.intro-x.left { text-align: left; margin-left: 0; }
.blk .gx, .blk .flow, .blk .setup, .blk .uses, .blk .chipgrid, .blk .voicegrid, .blk .plans, .blk .cmp, .blk .vgrid, .blk .demo-grid { margin-top: 36px; }

/* ------------------------------------------------------------------ how it works: language tabs, phone, live panel */
.lang-tabs { display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; width: fit-content; max-width: 100%; margin: 22px auto 0; padding: 4px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-xs); }
.lang-tab { height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-weight: 650; cursor: pointer; transition: background-color var(--fast), color var(--fast); }
.lang-tab:hover { color: var(--text); }
.lang-tab[aria-selected="true"] { background: var(--indigo); color: #fff; }
.demo-grid { display: grid; grid-template-columns: 330px 1fr; gap: 28px; align-items: stretch; }
.phone { position: relative; border-radius: 42px; padding: 10px; background: #14163A; box-shadow: 0 30px 60px -28px rgba(37, 42, 99, .65); }
.phone-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 92px; height: 24px; border-radius: 14px; background: #000; z-index: 2; }
.phone-body { min-height: 470px; height: 100%; border-radius: 34px; padding: 56px 16px 18px; color: #fff; background: linear-gradient(170deg, #252A63, #1C2050 60%, #2c2142); display: flex; flex-direction: column; gap: 14px; }
.phone-who { display: grid; justify-items: center; gap: 4px; text-align: center; }
.phone-who .small { color: rgba(244, 242, 238, .66); }
.phone-av { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); }
.phone-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; align-content: start; }
.pl { max-width: 88%; padding: 9px 12px; border-radius: 14px; font-size: 13px; line-height: 1.45; }
.pl-agent { background: rgba(255, 255, 255, .13); border-bottom-left-radius: 4px; }
.pl-caller { margin-left: auto; background: var(--brass-600); border-bottom-right-radius: 4px; }
.pl-t { display: none; }
[data-langtabs][data-lang="hi"] .pl-t[data-l="hi"], [data-langtabs][data-lang="te"] .pl-t[data-l="te"], [data-langtabs][data-lang="ta"] .pl-t[data-l="ta"],
[data-langtabs][data-lang="kn"] .pl-t[data-l="kn"], [data-langtabs][data-lang="en"] .pl-t[data-l="en"] { display: inline; }
[data-langtabs]:not([data-lang]) .pl-t[data-l="hi"] { display: inline; }
.live-card { border: 1px solid var(--border); border-radius: 22px; background: var(--surface); box-shadow: 0 18px 50px -30px rgba(37, 42, 99, .35); padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.live-head { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.live-head b { color: var(--text); }
.live-dots { display: inline-flex; gap: 5px; margin-right: 6px; }
.live-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.live-sep { color: var(--faint); }
.live-on { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--ok); }
.live-on i { width: 8px; height: 8px; border-radius: 50%; background: #1DA556; }
.live-who { display: flex; align-items: center; gap: 12px; }
.live-who > div { display: grid; flex: 1; min-width: 0; }
.live-who .badge { margin-left: auto; }
.live-facts { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.live-facts > div { display: grid; gap: 2px; padding: 12px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.live-facts > div:nth-child(2n) { border-right: 0; }
.live-facts > div:nth-last-child(-n+2) { border-bottom: 0; }
.live-facts span { font-size: 12px; color: var(--faint); }
.live-sum { margin: 0; color: var(--graphite); }
.live-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: auto; }
.live-out > div { display: grid; gap: 2px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-hi); }
.live-out small { color: var(--muted); }
.lo-ico { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: var(--indigo-tint); color: var(--accent); margin-bottom: 4px; }
.lo-ico svg { width: 15px; height: 15px; stroke: currentColor; }

/* ------------------------------------------------------------------ voice cards */
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.vc { display: flex; flex-direction: column; gap: 12px; padding: 18px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); transition: border-color var(--fast), transform var(--fast) var(--ease), box-shadow var(--fast); }
.vc:hover { border-color: var(--brass); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.vc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11.5px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.vc-tab { color: var(--faint); }
.vc-dir { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: var(--indigo-tint); color: var(--accent); letter-spacing: 0; text-transform: none; font-size: 12px; }
.vc-dir svg { width: 12px; height: 12px; stroke: currentColor; }
.vc-line { margin: 0; font-weight: 600; line-height: 1.4; flex: 1; }
.vc-foot { display: flex; align-items: center; gap: 10px; }
.vc-play, .sl-play { width: 38px; height: 38px; flex: none; display: inline-grid; place-items: center; border-radius: 50%; border: 0; background: var(--indigo); color: #fff; cursor: pointer; transition: background-color var(--fast), transform var(--fast) var(--ease); }
.vc-play:hover, .sl-play:hover { background: var(--brass-600); transform: scale(1.06); }
.vc-play svg, .sl-play svg { width: 14px; height: 14px; stroke: currentColor; fill: currentColor; }
.vc-play.playing, .sl-play.playing { background: var(--brass-600); }
.vc-who { display: grid; line-height: 1.2; text-align: right; }
.vc-who small { color: var(--muted); font-size: 12px; }
.wave { flex: 1; display: flex; align-items: center; gap: 3px; height: 30px; }
.wave i { flex: 1; min-width: 2px; border-radius: 2px; background: var(--indigo-tint); height: 30%; }
.wave i:nth-child(3n) { height: 70%; } .wave i:nth-child(4n+1) { height: 100%; } .wave i:nth-child(5n+2) { height: 50%; } .wave i:nth-child(2n) { height: 40%; }
.playing ~ .wave i, .vc-foot .playing + .wave i { background: var(--brass); }

/* ------------------------------------------------------------------ feature cards */
.gx { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gx3 { max-width: 1000px; margin-left: auto; margin-right: auto; }
.gx-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); transition: border-color var(--fast), box-shadow var(--fast), transform var(--fast) var(--ease); }
.gx-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.gx-card h3 { margin: 6px 0 0; font-size: 16.5px; letter-spacing: -.01em; }
.gx-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.gx-ico { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--indigo-tint); color: var(--accent); }
.gx-ico svg { width: 21px; height: 21px; stroke: currentColor; }
a.gx-card.link { color: inherit; }
a.gx-card.link:hover { text-decoration: none; }
.more-x { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: 13.5px; color: var(--accent); }
.more-x svg { width: 14px; height: 14px; stroke: currentColor; }

/* ------------------------------------------------------------------ numbered flow */
.flow { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: f; }
.flow-step { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 20px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.flow-n { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--indigo); color: #fff; font-weight: 750; font-size: 14px; }
.flow-txt h3 { margin: 0 0 6px; font-size: 16px; }
.flow-txt p { margin: 0; color: var(--muted); font-size: 14px; }
.flow-card { margin-top: auto; display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; background: var(--surface-hi); border: 1px dashed var(--border-strong); font-size: 12.5px; color: var(--graphite); }
.flow-card .f-first { font-weight: 700; color: var(--text); }
.flow:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }

/* ------------------------------------------------------------------ code card (dark) */
.codecard { overflow: hidden; border-radius: 18px; background: #14163A; border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 30px 60px -34px rgba(20, 22, 58, .8); color: #E7E9F8; }
.narrow-x .codecard { margin-top: 24px; }
.code-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px 8px 14px; background: rgba(255, 255, 255, .05); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.code-tabs { display: flex; gap: 4px; }
.code-tab { height: 30px; padding: 0 12px; border-radius: 8px; border: 0; background: transparent; color: rgba(231, 233, 248, .62); font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; }
.code-tab[aria-selected="true"] { background: rgba(255, 255, 255, .12); color: #fff; }
.code-title { font-size: 13px; font-weight: 650; color: rgba(231, 233, 248, .8); }
.code-status { font-size: 12px; font-weight: 700; color: #7FE0A6; }
.code-copy { height: 28px; padding: 0 12px; align-items: center; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .18); background: transparent; color: rgba(231, 233, 248, .85); font: inherit; font-size: 12.5px; font-weight: 650; cursor: pointer; }
.code-copy:hover { background: rgba(255, 255, 255, .1); }
.code-pane { margin: 0; padding: 18px; overflow-x: auto; font: 13px/1.65 ui-monospace, "Cascadia Code", Menlo, Consolas, monospace; color: #E7E9F8; white-space: pre; }
.code-pane[hidden] { display: none; }

/* ------------------------------------------------------------------ API endpoint blocks */
.endpoint { border: 1px solid var(--border); border-radius: 18px; background: var(--surface); padding: 22px; }
.ep-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ep-head code { font-size: 16px; font-weight: 700; }
.method { padding: 4px 10px; border-radius: 8px; font-size: 12px; font-weight: 800; letter-spacing: .04em; color: #fff; background: var(--indigo); }
.method.get { background: var(--ok); }
.ep-text { color: var(--graphite); margin: 12px 0 14px; }
.ep-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ep-table th { text-align: left; padding: 8px 10px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); border-bottom: 1px solid var(--line); }
.ep-table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ep-table code, .ep-ok code, .ep-errors code, .terms code { padding: 2px 6px; border-radius: 6px; background: var(--subtle); font-size: 12.5px; }
.ep-ok { margin: 14px 0 6px; }
.ep-ok code { white-space: normal; }
.ep-errors { margin: 0; padding-left: 18px; color: var(--graphite); font-size: 14px; display: grid; gap: 4px; }

/* ------------------------------------------------------------------ tools it connects to */
.chipgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.chipgroup { display: grid; gap: 8px; align-content: start; padding: 16px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.chipgroup-l { font-size: 11.5px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.tool { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; background: var(--surface-hi); }
.tool > span:last-child { display: grid; line-height: 1.25; }
.tool small { color: var(--muted); font-size: 12.5px; }
.tool-i { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px; background: #fff; border: 1px solid var(--border); color: var(--accent); }
.tool-i img { width: 22px; height: 22px; display: block; }
.tool-i svg { width: 18px; height: 18px; stroke: currentColor; }

/* ------------------------------------------------------------------ set-up steps, use cases */
.setup { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.setup-step { padding: 22px; border-radius: 18px; border: 1px solid var(--border); background: var(--surface); }
.setup-n { font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--brass-700); }
.setup-step h3 { margin: 8px 0 6px; font-size: 17px; }
.setup-step p { margin: 0; color: var(--muted); font-size: 14.5px; }
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.use { display: grid; gap: 3px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); }
.use span { color: var(--muted); font-size: 14px; }

/* ------------------------------------------------------------------ comparison table, glossary */
.cmp table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.cmp th, .cmp td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font-size: 13px; color: var(--muted); background: var(--surface-hi); }
.cmp th.us, .cmp td.us { background: var(--indigo-tint); color: var(--indigo-700); font-weight: 650; }
.cmp tbody th { font-weight: 650; width: 22%; }
.az { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.az a { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; border: 1px solid var(--border); font-weight: 700; color: var(--accent); }
.az a:hover { text-decoration: none; background: var(--indigo-tint); }
.terms { margin: 0; }
.term-letter { margin: 26px 0 6px; font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--brass-700); scroll-margin-top: 90px; }
.term { padding: 14px 0; border-bottom: 1px solid var(--line); }
.term dt { font-weight: 700; font-size: 16px; }
.term dd { margin: 4px 0 0; color: var(--graphite); }

/* ------------------------------------------------------------------ voices page, language sample call */
.voicegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.vcard { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); }
.vcard-top { display: flex; align-items: center; gap: 10px; }
.vcard-top > span:nth-child(2) { display: grid; line-height: 1.2; flex: 1; }
.vcard small { color: var(--muted); font-size: 12.5px; }
.vcard-av { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--indigo); color: #fff; font-weight: 800; }
.tier { padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 750; }
.tier-standard { background: var(--indigo-tint); color: var(--accent); }
.tier-premium { background: var(--brass-tint); color: var(--brass-700); }
.vcard-foot { display: flex; justify-content: space-between; align-items: center; }
.sample { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.sl { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); max-width: 90%; }
.sl-caller { margin-left: auto; background: var(--brass-tint); border-color: transparent; }
.sl-who { flex: none; width: 82px; font-size: 11px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.sl-text { flex: 1; font-size: 15px; }
.sl-text small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }

/* ------------------------------------------------------------------ pricing teaser */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 980px; margin-left: auto; margin-right: auto; }
.plan { position: relative; padding: 24px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); }
.plan-main { border-color: var(--indigo); box-shadow: 0 0 0 1px var(--indigo), var(--shadow-lg); }
.plan-flag { position: absolute; top: -11px; left: 22px; padding: 3px 10px; border-radius: 999px; background: var(--brass-600); color: #fff; font-size: 11px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.plan h3 { margin: 0; font-size: 15px; color: var(--muted); }
.plan-price { font-size: 38px; font-weight: 750; letter-spacing: -.03em; margin: 6px 0 8px; }
.plan-price small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.plan p { margin: 0; color: var(--muted); font-size: 14.5px; }
.plan-notes { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; color: var(--muted); font-size: 14px; font-weight: 550; }
.plan-notes li { display: inline-flex; align-items: center; gap: 6px; }
.plan-notes svg { width: 15px; height: 15px; stroke: var(--ok); }

/* ------------------------------------------------------------------ dark developer band and final call to action */
.blk-dark { background: radial-gradient(900px 400px at 85% 0, rgba(196, 154, 82, .22), transparent), linear-gradient(160deg, #1C2050, #252A63); color: #fff; padding-bottom: var(--pad); margin-top: calc(var(--pad) * .35); }
.dev-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 44px; align-items: center; }
.blk-dark .h2-x { color: #fff; }
.kicker-x.on-dark { color: var(--brass-300); }
.on-dark-p { color: rgba(244, 242, 238, .78); font-size: 16px; margin: 14px 0 22px; }
.blk-dark .codecard { background: rgba(10, 12, 40, .6); }
.btn-on-dark { color: #fff; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); }
.btn-on-dark:hover { background: rgba(255, 255, 255, .16); text-decoration: none; }
.final-cta { padding: var(--pad) 0 8px; }
.cta-dark { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(26px, 4vw, 44px); border-radius: 26px; color: #fff;
  background: radial-gradient(600px 260px at 90% 0, rgba(196, 154, 82, .35), transparent), linear-gradient(150deg, #1C2050, #252A63 60%, #313781); }
.cta-dark h2 { margin: 0 0 6px; font-size: clamp(22px, 3vw, 32px); letter-spacing: -.02em; }
.cta-dark p { margin: 0; color: rgba(244, 242, 238, .78); }

/* ------------------------------------------------------------------ footer: seven columns plus Account */
.public .site-foot .foot-grid { grid-template-columns: 1.4fr repeat(7, minmax(0, 1fr)); gap: 22px; }

/* ------------------------------------------------------------------ small screens */
@media (max-width: 1080px) {
  .flow { grid-template-columns: repeat(2, 1fr); }
  .public .site-foot .foot-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .demo-grid, .dev-grid { grid-template-columns: 1fr; }
  .phone { max-width: 360px; margin: 0 auto; }
  .gx, .setup, .uses, .vgrid, .plans { grid-template-columns: 1fr 1fr; }
  .public .site-nav .site-menus { display: none; }
  .prompt-logo3d { display: none; }
}
@media (max-width: 640px) {
  .public .site-nav { padding-left: 14px; }
  .gx, .setup, .uses, .vgrid, .plans, .flow { grid-template-columns: 1fr; }
  .live-out { grid-template-columns: 1fr; }
  .live-facts { grid-template-columns: 1fr; }
  .live-facts > div { border-right: 0; }
  .sl { max-width: 100%; flex-wrap: wrap; }
  .public .site-foot .foot-grid { grid-template-columns: 1fr 1fr; }
  .prompt-foot .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .vc, .gx-card, a.chip-link { transition: none; } }
@media (max-width: 460px) {
  .public .site-nav { gap: 6px; padding-right: 8px; }
  .public .site-nav .cta { gap: 6px; }
  .public .site-nav .cta .btn { padding: 0 12px; font-size: 13px; }
  .public .site-nav .cta .btn svg { display: none; }
  .lang-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; width: 100%; border-radius: 16px; }
  .lang-tab { flex: none; }
}

/* ------------------------------------------------------------------ home page: tool logos and developer teaser */
.logo-strip { position: relative; z-index: 2; padding: 26px 0 30px; border-block: 1px solid var(--line); background: var(--surface); }
.logo-strip .wrap { display: grid; justify-items: center; gap: 16px; }
.strip-l { font-size: 12px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.logo-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; }
.logo-row li { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 16px 0 12px; border: 1px solid var(--border); border-radius: 12px; background: #fff; box-shadow: var(--shadow-xs); font-weight: 650; font-size: 14.5px; color: #1f2430; transition: transform var(--fast) var(--ease), border-color var(--fast); }
.logo-row li:hover { transform: translateY(-2px); border-color: var(--brass); }
.logo-row img { width: 24px; height: 24px; display: block; }
.strip-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 650; }
.strip-more svg { width: 14px; height: 14px; stroke: currentColor; }
.dev-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.dev-grid .big.left { text-align: left; }
.dev-points { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 10px; }
.dev-points li { display: flex; align-items: flex-start; gap: 10px; color: var(--graphite); }
.dev-points svg { width: 18px; height: 18px; flex: none; margin-top: 2px; stroke: var(--ok); }
@media (max-width: 860px) { .dev-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ voices page: hear every voice */
.vs { margin-top: 34px; }
.vs-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.vs-bar .lang-tabs { margin: 0; }
.vs-filter { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-xs); }
.vs-filter button { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-weight: 650; font-size: 14px; cursor: pointer; transition: background-color var(--fast), color var(--fast); }
.vs-filter button span { font-size: 12px; font-weight: 600; opacity: .75; }
.vs-filter button:hover { color: var(--text); }
.vs-filter button[aria-pressed="true"] { background: var(--indigo); color: #fff; }
.vs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.vs-card { position: relative; display: grid; gap: 14px; align-content: start; padding: 20px; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-xs); transition: transform var(--fast) var(--ease), box-shadow var(--fast), border-color var(--fast); }
.vs-card[hidden] { display: none; }
.vs-card:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: 0 18px 40px -26px rgba(37, 42, 99, .45); }
.vs-top { display: flex; align-items: center; gap: 12px; }
.vs-av { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 50%; color: #fff; font-weight: 800; font-size: 19px; background: linear-gradient(145deg, var(--indigo-600), var(--indigo)); }
.vs-f .vs-av { background: linear-gradient(145deg, var(--brass-600), var(--brass-700)); }
.vs-name { display: grid; flex: 1; min-width: 0; line-height: 1.2; }
.vs-name b { font-size: 17px; }
.vs-name small { color: var(--muted); font-size: 13px; }
.vs-quote { margin: 0; min-height: 3.1em; font-size: 15px; line-height: 1.55; color: var(--graphite); }
.vs-none { color: var(--muted); font-size: 14px; }
.vs-play-row { display: flex; align-items: center; gap: 14px; }
.vs-play { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--indigo); color: #fff; cursor: pointer; box-shadow: 0 8px 18px -8px rgba(37, 42, 99, .7); transition: transform var(--fast) var(--ease), background-color var(--fast); }
.vs-play svg { width: 18px; height: 18px; stroke: currentColor; fill: currentColor; }
.vs-play:hover { transform: scale(1.06); background: var(--indigo-600); }
.vs-play.playing { background: var(--brass-600); }
.vs-off { background: var(--subtle); color: var(--faint); box-shadow: none; cursor: default; }
.vs-off svg { fill: none; }
.vs-wave { height: 34px; }
.vs-wave i { background: var(--indigo-tint); transition: background-color var(--fast); }
.vs-card:has(.vs-play.playing) .vs-wave i { background: var(--brass); animation: vs-bar .9s ease-in-out infinite alternate; }
.vs-card:has(.vs-play.playing) .vs-wave i:nth-child(2n) { animation-delay: .15s; }
.vs-card:has(.vs-play.playing) .vs-wave i:nth-child(3n) { animation-delay: .3s; }
@keyframes vs-bar { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .vs-card:has(.vs-play.playing) .vs-wave i { animation: none; } }
.vs-from { margin: -6px 0 0; }
.vs-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.vs-price { font-size: 20px; font-weight: 750; letter-spacing: -.02em; }
.vs-price small { font-size: 13px; font-weight: 600; color: var(--muted); }
.vs-tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.vs-tiers > div { display: grid; gap: 6px; justify-items: start; padding: 18px 20px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface-hi); }
.vs-tiers b { font-size: 18px; }
@media (max-width: 980px) { .vs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .vs-grid, .vs-tiers { grid-template-columns: 1fr; } .vs-bar { justify-content: center; } }
@media (max-width: 640px) { .vs-filter { width: 100%; } .vs-filter button { flex: 1; justify-content: center; padding: 0 8px; white-space: nowrap; } .vs-filter button span { display: none; } }
