/*
 * Tik4 AI landing (page-ai-api.php). Shared pieces (buttons, orbit, chips,
 * kicker) live in ai-promo.css. ASCII only.
 */

.t4ai { --ai-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; padding-bottom: 8px; }
.t4ai [dir="ltr"], .t4ai code, .t4ai pre, .t4ai select, .t4ai-term { font-feature-settings: normal; }
.t4ai code, .t4ai pre { font-family: var(--ai-mono); }
.t4ai-section { padding-top: clamp(64px, 7vw, 110px); }
.t4ai-head { max-width: 780px; margin: 0 0 30px; }
.t4ai-head.is-center { margin-inline: auto; text-align: center; }
.t4ai-head h2 { margin: 0 0 12px; color: var(--t4-ink); font-size: clamp(26px, 3.3vw, 42px); font-weight: 900; line-height: 1.45; }
.t4ai-head h2 span { background: linear-gradient(90deg, var(--t4-teal), var(--t4-blue) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.t4ai-head p { margin: 0; color: var(--t4-muted); font-size: 15px; line-height: 2.05; }
.t4ai-head code { padding: 1px 7px; border-radius: 6px; background: var(--t4-blue-soft); color: var(--t4-blue); font-size: .88em; }

/* ---------- Hero (the shared landing hero; light and dark come from the theme tokens) ---------- */
.lx-page-hero.is-ai .lx-page-hero-art { display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; }
.lx-page-hero.is-ai h1 { font-size: clamp(32px, 4vw, 58px); }
.t4ai-hero-art { position: relative; width: min(100%, 540px); margin-inline: auto; padding-bottom: 64px; }
.t4ai-orbit.is-hero { width: min(470px, 100%); }
/* The orbit on the page background: rings and tiles drawn with the theme colours. */
.t4ai-orbit.is-hero .t4ai-orbit__halo { background: radial-gradient(closest-side, color-mix(in srgb, var(--t4-teal) 22%, transparent), color-mix(in srgb, #5b4bd6 7%, transparent) 60%, transparent 72%); }
.t4ai-orbit.is-hero .t4ai-orbit__ring { border-color: color-mix(in srgb, var(--t4-blue) 28%, transparent); }
.t4ai-orbit.is-hero .t4ai-orbit__ring.is-2 { border-color: color-mix(in srgb, var(--t4-ink) 12%, transparent); }
.t4ai-orbit.is-hero .t4ai-orbit__ring.is-3 { border-color: color-mix(in srgb, var(--t4-teal) 30%, transparent); }
.t4ai-orbit.is-hero .t4ai-orbit__item > i { box-shadow: 0 12px 24px -14px rgb(16 46 60 / 45%), 0 0 0 1px var(--t4-line); }
.t4ai-orbit.is-hero .t4ai-orbit__core { box-shadow: 0 0 0 9px color-mix(in srgb, var(--t4-teal) 12%, transparent), 0 24px 60px -10px color-mix(in srgb, var(--t4-teal) 60%, transparent), inset 0 1px 0 rgb(255 255 255 / 40%); }
.t4ai-orbit.is-hero .t4ai-orbit__pulse { border-color: color-mix(in srgb, var(--t4-teal) 55%, transparent); }
[data-theme="dark"] .t4ai-orbit.is-hero .t4ai-orbit__item > i { box-shadow: 0 12px 26px -10px rgb(0 0 0 / 60%), 0 0 0 1px rgb(255 255 255 / 40%); }

/* Live request card */
.t4ai-term { position: absolute; z-index: 3; left: -6%; bottom: 0; width: min(410px, 92%); margin: 0; overflow: hidden; border: 1px solid rgb(255 255 255 / 10%); border-radius: 18px; background: rgb(6 22 30 / 94%); color: #cfe3e6; direction: ltr; text-align: left; box-shadow: 0 30px 60px -28px rgb(16 46 60 / 55%); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.t4ai-term__bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid rgb(255 255 255 / 8%); color: rgb(230 243 244 / 60%); font-family: var(--ai-mono); font-size: 11.5px; }
.t4ai-term__dots { display: inline-flex; gap: 5px; }
.t4ai-term__dots i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.t4ai-term__dots i:nth-child(2) { background: #febc2e; }
.t4ai-term__dots i:nth-child(3) { background: #28c840; }
.t4ai-term__bar b { margin-left: auto; color: #2ee6a8; font-size: 10px; letter-spacing: .1em; }
.t4ai-term pre { margin: 0; padding: 14px 16px; overflow: auto; color: #cfe3e6; font-size: 11.8px; line-height: 1.8; white-space: pre; scrollbar-width: none; }
.t4ai-tok-s { color: #9be7a6; }
.t4ai-tok-p { color: #5cc8ff; }
.t4ai-term__model { padding: 0 3px; border-radius: 4px; background: rgb(255 210 122 / 12%); color: #ffd27a; }
.t4ai-term__model::after { content: ""; display: inline-block; width: 7px; height: 1.05em; margin-left: 2px; background: #ffd27a; vertical-align: -2px; animation: t4ai-caret 1s steps(1) infinite; }
@keyframes t4ai-caret { 50% { opacity: 0; } }
.t4ai-term__out { display: flex; align-items: center; gap: 10px; padding: 10px 16px 12px; border-top: 1px dashed rgb(255 255 255 / 10%); font-family: var(--ai-mono); font-size: 11.5px; transition: opacity .3s; }
.t4ai-term.is-typing .t4ai-term__out { opacity: .35; }
.t4ai-term__logo { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: #fff; }
.t4ai-term__logo img { width: 16px; height: 16px; object-fit: contain; }
.t4ai-term__ok { padding: 1px 8px; border-radius: 999px; background: rgb(46 230 168 / 16%); color: #2ee6a8; font-weight: 800; }
.t4ai-term__cost { margin-left: auto; color: rgb(230 243 244 / 60%); }
.t4ai-term__cost b { color: #fff; }

/* Numbers under the hero */
.t4ai-stats { margin-top: calc(-1 * clamp(16px, 3vw, 44px)); }
.t4ai-hero__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; overflow: hidden; border: 1px solid var(--t4-line); border-radius: 24px; background: var(--t4-surface); box-shadow: 0 24px 46px -40px rgb(16 46 60 / 60%); }
.t4ai-hero__stats > div { display: flex; flex-direction: column-reverse; align-items: center; justify-content: center; gap: 2px; padding: 20px 16px 22px; border-inline-start: 1px solid var(--t4-line); text-align: center; }
.t4ai-hero__stats > div:first-child { border-inline-start: 0; }
.t4ai-hero__stats dt { color: var(--t4-muted); font-size: 12.5px; font-weight: 600; text-align: center; }
.t4ai-hero__stats dd { margin: 0; color: var(--t4-ink); font-size: clamp(24px, 2.5vw, 34px); font-weight: 900; line-height: 1.3; text-align: center; }
.t4ai-hero__stats > div:first-child dd { background: linear-gradient(90deg, var(--t4-teal), var(--t4-blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Maker marquee ---------- */
.t4ai-brands { padding-top: 46px; overflow: hidden; }
.t4ai-brands__title { margin: 0 0 18px; color: var(--t4-muted); font-size: 14px; font-weight: 700; line-height: 1.9; text-align: center; }
.t4ai-brands__title b { color: var(--t4-ink); font-weight: 900; font-feature-settings: normal; }
.t4ai-marquee { display: flex; gap: 14px; overflow: hidden; padding-block: 7px; direction: ltr; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.t4ai-marquee__track { display: flex; flex: none; gap: 14px; margin: 0; padding: 0; list-style: none; animation: t4ai-marquee 70s linear infinite; }
.t4ai-marquee.is-reverse .t4ai-marquee__track { animation-direction: reverse; animation-duration: 80s; }
.t4ai-marquee:hover .t4ai-marquee__track { animation-play-state: paused; }
@keyframes t4ai-marquee { to { transform: translateX(calc(-100% - 14px)); } }
.t4ai-brand { display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border: 1px solid var(--t4-line); border-radius: 16px; background: var(--t4-surface); white-space: nowrap; box-shadow: 0 12px 26px -22px rgb(16 46 60 / 55%); }
.t4ai-brand__logo { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #e3ebe8; border-radius: 12px; background: #fff; }
.t4ai-brand__logo img { width: 26px; height: 26px; object-fit: contain; }
.t4ai-brand__name { color: var(--t4-ink); font-size: 14.5px; font-weight: 800; font-feature-settings: normal; }
.t4ai-brand__count { padding: 1px 8px; border-radius: 999px; background: var(--t4-blue-soft); color: var(--t4-blue); direction: rtl; font-size: 11.5px; font-weight: 700; }

/* ---------- Why (bento) ---------- */
.t4ai-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.t4ai-feature { position: relative; overflow: hidden; padding: 26px; border: 1px solid var(--t4-line); border-radius: 26px; background: var(--t4-surface); box-shadow: 0 20px 40px -34px rgb(16 46 60 / 55%); transition: transform .3s var(--t4-ease), box-shadow .3s, border-color .3s; }
.t4ai-feature:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--t4-teal) 40%, var(--t4-line)); box-shadow: 0 30px 50px -36px rgb(16 46 60 / 65%); }
.t4ai-feature.is-wide { grid-column: span 2; background: radial-gradient(90% 120% at 0% 0%, color-mix(in srgb, var(--t4-teal) 10%, transparent), transparent 60%), var(--t4-surface); }
.t4ai-feature.is-full { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 6px 22px; background: radial-gradient(70% 140% at 100% 100%, color-mix(in srgb, #5b4bd6 9%, transparent), transparent 60%), var(--t4-surface); }
.t4ai-feature.is-full .t4ai-feature__icon { grid-row: span 2; }
.t4ai-feature.is-full h3 { margin: 0; }
.t4ai-feature.is-full .t4ai-feature__modes { grid-column: 3; grid-row: 1 / span 2; margin: 0; }
.t4ai-feature__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: linear-gradient(150deg, var(--t4-teal), var(--t4-blue) 70%); color: #fff; box-shadow: 0 12px 24px -12px color-mix(in srgb, var(--t4-teal) 80%, transparent); }
.t4ai-feature h3 { margin: 18px 0 8px; color: var(--t4-ink); font-size: 18px; font-weight: 900; line-height: 1.6; }
.t4ai-feature p { margin: 0; color: var(--t4-muted); font-size: 13.5px; line-height: 2; }
.t4ai-feature__swap { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.t4ai-feature__swap span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--t4-line); border-radius: 10px; background: var(--t4-paper); color: var(--t4-ink); font-family: var(--ai-mono); font-size: 11.5px; animation: t4ai-lit 9s infinite; }
.t4ai-feature__swap span:nth-child(2) { animation-delay: 1.5s; }
.t4ai-feature__swap span:nth-child(3) { animation-delay: 3s; }
.t4ai-feature__swap span:nth-child(4) { animation-delay: 4.5s; }
.t4ai-feature__swap span:nth-child(5) { animation-delay: 6s; }
.t4ai-feature__swap span:nth-child(6) { animation-delay: 7.5s; }
.t4ai-feature__swap img { width: 16px; height: 16px; padding: 2px; border-radius: 5px; background: #fff; object-fit: contain; }
@keyframes t4ai-lit { 0%, 18%, 100% { border-color: var(--t4-line); box-shadow: none; } 4%, 14% { border-color: var(--t4-teal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--t4-teal) 18%, transparent); } }
.t4ai-feature__modes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.t4ai-feature__modes span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 12px; background: var(--t4-blue-soft); color: var(--t4-ink); font-size: 12.5px; font-weight: 700; }
.t4ai-feature__modes .t4ai-ic { color: var(--t4-blue); }

/* ---------- Quick start ---------- */
.t4ai-start { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: 44px; }
.t4ai-start ol { margin: 0; padding: 0; list-style: none; counter-reset: t4ai; }
.t4ai-start li { position: relative; padding: 0 60px 26px 0; counter-increment: t4ai; }
.t4ai-start li::before { content: counter(t4ai); position: absolute; right: 0; top: 0; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--t4-dark); color: #fff; font-size: 16px; font-weight: 900; }
.t4ai-start li::after { content: ""; position: absolute; right: 20px; top: 48px; bottom: 6px; width: 2px; border-radius: 2px; background: repeating-linear-gradient(180deg, var(--t4-line) 0 6px, transparent 6px 11px); }
.t4ai-start li:last-child::after { display: none; }
.t4ai-start li b { display: block; margin: 6px 0 4px; color: var(--t4-ink); font-size: 16px; font-weight: 900; }
.t4ai-start li span { color: var(--t4-muted); font-size: 13.5px; line-height: 2; }
.t4ai-start li code { padding: 1px 6px; border-radius: 6px; background: var(--t4-blue-soft); color: var(--t4-blue); font-size: 12px; }
.t4ai-code { overflow: hidden; border: 1px solid #12303c; border-radius: 24px; background: #071a24; direction: ltr; box-shadow: 0 40px 70px -46px rgb(7 26 36 / 90%); }
.t4ai-code__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-bottom: 1px solid rgb(255 255 255 / 8%); }
.t4ai-code__tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.t4ai-code__tabs button, .t4ai-code__copy { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 6px 14px; border: 0; border-radius: 10px; background: transparent; color: rgb(230 243 244 / 62%); font-family: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; transition: background .2s, color .2s; }
.t4ai-code__tabs button:hover, .t4ai-code__copy:hover { color: #fff; }
.t4ai-code__tabs button[aria-selected="true"] { background: rgb(255 255 255 / 10%); color: #fff; }
.t4ai-code__copy { border: 1px solid rgb(255 255 255 / 12%); }
.t4ai-code__copy.is-copied { border-color: rgb(46 230 168 / 50%); color: #2ee6a8; }
.t4ai-code pre { max-height: 440px; margin: 0; padding: 20px 22px 24px; overflow: auto; color: #cfe3e6; font-size: 12.8px; line-height: 1.85; white-space: pre; scrollbar-width: thin; }
.t4ai-hl-s { color: #9be7a6; }
.t4ai-hl-k { color: #c4a7ff; }
.t4ai-hl-c { color: #6b8a94; }
.t4ai-hl-n { color: #ffb86b; }
.t4ai-hl-f { color: #5cc8ff; }
.t4ai-hl-v { color: #ffd27a; }

/* ---------- Model explorer ---------- */
.t4ai-explorer { display: grid; grid-template-columns: 250px minmax(0, 1fr); overflow: hidden; border: 1px solid var(--t4-line); border-radius: 28px; background: var(--t4-surface); box-shadow: 0 30px 60px -46px rgb(16 46 60 / 60%); }
.t4ai-explorer__makers { display: flex; flex-direction: column; gap: 3px; max-height: 812px; overflow: auto; padding: 14px; border-inline-end: 1px solid var(--t4-line); background: color-mix(in srgb, var(--t4-soft) 55%, var(--t4-surface)); scrollbar-width: thin; }
.t4ai-maker { display: flex; flex: none; align-items: center; gap: 10px; width: 100%; padding: 7px 9px; border: 0; border-radius: 12px; background: transparent; color: var(--t4-ink); font-family: inherit; font-size: 13px; font-weight: 700; line-height: 1.5; text-align: start; cursor: pointer; transition: background .2s, box-shadow .2s; }
.t4ai-maker:hover { background: color-mix(in srgb, var(--t4-surface) 70%, transparent); }
.t4ai-maker.is-on { background: var(--t4-surface); box-shadow: 0 6px 18px -12px rgb(16 46 60 / 60%), inset 0 0 0 1.5px var(--t4-teal); }
.t4ai-maker:focus-visible { outline: 2px solid var(--t4-blue); outline-offset: 1px; }
.t4ai-maker__name { flex: 1; min-width: 0; overflow: hidden; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.t4ai-maker b { padding: 0 7px; border-radius: 999px; background: color-mix(in srgb, var(--t4-line) 60%, transparent); color: var(--t4-muted); font-size: 11px; font-weight: 800; }
.t4ai-maker.is-on b { background: var(--t4-teal); color: #fff; }
.t4ai-maker__logo, .t4ai-model__logo { display: grid; flex: none; place-items: center; width: 32px; height: 32px; overflow: hidden; border: 1px solid #e3ebe8; border-radius: 10px; background: #fff; }
.t4ai-maker__logo img, .t4ai-model__logo img { width: 64%; height: 64%; object-fit: contain; }
.t4ai-maker__logo.is-all { border-color: transparent; background: var(--t4-dark); color: #fff; }
.t4ai-mono { display: grid; place-items: center; width: 100%; height: 100%; background: hsl(var(--h) 62% 93%); color: hsl(var(--h) 55% 30%); font-family: var(--ai-mono); font-size: 10.5px; font-weight: 900; letter-spacing: .02em; }
.t4ai-explorer__main { min-width: 0; padding: 18px 20px 20px; }
.t4ai-explorer__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.t4ai-search { display: flex; flex: 1 1 260px; align-items: center; gap: 8px; height: 48px; padding: 0 14px; border: 1px solid var(--t4-line); border-radius: 14px; background: var(--t4-paper); color: var(--t4-muted); transition: border-color .2s, box-shadow .2s; }
.t4ai-search:focus-within { border-color: var(--t4-teal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--t4-teal) 14%, transparent); }
.t4ai-search input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: var(--t4-ink); font-family: inherit; font-size: 13.5px; box-shadow: none; }
.t4ai-caps { display: flex; flex-wrap: wrap; gap: 6px; }
.t4ai-cap { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 5px 12px; border: 1px solid var(--t4-line); border-radius: 999px; background: var(--t4-surface); color: var(--t4-muted); font-family: inherit; font-size: 12px; font-weight: 700; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.t4ai-cap:hover { border-color: var(--t4-teal); color: var(--t4-ink); }
.t4ai-cap[aria-pressed="true"] { border-color: transparent; background: var(--t4-dark); color: #fff; }
.t4ai-explorer__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; margin: 14px 0 10px; color: var(--t4-muted); font-size: 12.5px; }
.t4ai-explorer__bar p { margin: 0; }
.t4ai-explorer__bar b { color: var(--t4-ink); font-weight: 900; }
.t4ai-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 8px; max-height: 660px; margin: 0; padding: 2px 2px 2px 6px; overflow: auto; overscroll-behavior: contain; list-style: none; scrollbar-width: thin; }
.t4ai-model { position: relative; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto 30px; align-items: center; gap: 10px; min-height: 64px; padding: 9px 10px 9px 12px; border: 1px solid color-mix(in srgb, var(--t4-line) 75%, transparent); border-radius: 14px; background: var(--t4-surface); transition: border-color .2s, box-shadow .2s; }
.t4ai-model[hidden] { display: none; }
.t4ai-model:hover { border-color: color-mix(in srgb, var(--t4-teal) 55%, var(--t4-line)); box-shadow: 0 10px 22px -18px rgb(16 46 60 / 60%); }
.t4ai-model__logo { width: 38px; height: 38px; border-radius: 11px; }
.t4ai-model__logo[data-l] { background: #fff center / 62% no-repeat; }
.t4ai-model__body b, .t4ai-model__body code, .t4ai-model__ctx, .t4ai-model__price { direction: ltr; unicode-bidi: isolate; font-feature-settings: normal; }
.t4ai-model__body { min-width: 0; }
.t4ai-model__body b, .t4ai-model__body code { display: block; overflow: hidden; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.t4ai-model__body b { color: var(--t4-ink); font-size: 13px; font-weight: 800; line-height: 1.6; }
.t4ai-model__body b em { padding: 0 6px; border-radius: 6px; background: color-mix(in srgb, #5b4bd6 14%, var(--t4-surface)); color: #5b4bd6; font-size: 10px; font-style: normal; font-weight: 800; }
.t4ai-model__body code { color: var(--t4-muted); font-size: 11px; line-height: 1.6; }
.t4ai-model__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 3px 6px; max-width: 150px; }
.t4ai-model__ctx { padding: 0 6px; border-radius: 6px; background: var(--t4-blue-soft); color: var(--t4-blue); font-family: var(--ai-mono); font-size: 10.5px; font-weight: 800; line-height: 1.8; }
.t4ai-model__caps { display: inline-flex; gap: 3px; color: var(--t4-teal); }
.t4ai-model__price { flex-basis: 100%; color: var(--t4-muted); font-family: var(--ai-mono); font-size: 10.5px; text-align: left; }
.t4ai-copy { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 9px; background: transparent; color: var(--t4-muted); cursor: pointer; transition: background .2s, color .2s; }
.t4ai-copy::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8.5' y='8.5' width='11' height='11' rx='2.5'/%3E%3Cpath d='M15.5 8.5V6.5a2 2 0 0 0-2-2h-7a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8.5' y='8.5' width='11' height='11' rx='2.5'/%3E%3Cpath d='M15.5 8.5V6.5a2 2 0 0 0-2-2h-7a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h2'/%3E%3C/svg%3E") center / contain no-repeat; }
.t4ai-copy.is-copied::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.t4ai-copy:hover { background: var(--t4-blue-soft); color: var(--t4-blue); }
.t4ai-copy.is-copied { background: color-mix(in srgb, #2ee6a8 20%, var(--t4-surface)); color: #0b8f62; }
.t4ai-empty { margin: 30px 0; color: var(--t4-muted); font-size: 14px; text-align: center; }
.t4ai-legal { max-width: 860px; margin: 16px auto 0; color: var(--t4-muted); font-size: 11.5px; line-height: 2; text-align: center; opacity: .85; }

/* Capability icons (stroke icons as masks) */
.t4ai-ic { display: inline-block; flex: none; width: 15px; height: 15px; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.t4ai-ic.is-vision { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12S6 5.5 12 5.5 21.5 12 21.5 12 18 18.5 12 18.5 2.5 12 2.5 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.t4ai-ic.is-file { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3.5H7a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8.5z'/%3E%3Cpath d='M14 3.5v5h5M9 13h6M9 16.5h4'/%3E%3C/svg%3E"); }
.t4ai-ic.is-audio { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 10v4M8 7v10M12 4v16M16 8v8M20 11v2'/%3E%3C/svg%3E"); }
.t4ai-ic.is-video { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='13' height='12' rx='2.5'/%3E%3Cpath d='m16 10.5 5-3v9l-5-3z'/%3E%3C/svg%3E"); }
.t4ai-ic.is-image-out { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='14' height='14' rx='2.5'/%3E%3Cpath d='m3.5 16 4-4 4 4 2-2 4 4'/%3E%3Cpath d='M19.5 2.5v4M17.5 4.5h4'/%3E%3C/svg%3E"); }
.t4ai-ic.is-long { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h10'/%3E%3Cpath d='m17 15 3 2-3 2'/%3E%3C/svg%3E"); }

/* ---------- Plans and estimator ---------- */
.t4ai-est { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .9fr) minmax(0, 1.55fr); align-items: center; gap: 14px 22px; max-width: 1160px; margin: 0 auto 30px; padding: 16px 18px; border: 1px solid var(--t4-line); border-radius: 22px; background: var(--t4-surface); box-shadow: 0 20px 40px -36px rgb(16 46 60 / 60%); }
.t4ai-est__title { display: flex; align-items: center; gap: 12px; }
.t4ai-est__title b { display: block; color: var(--t4-ink); font-size: 14.5px; font-weight: 900; line-height: 1.6; }
.t4ai-est__title small { display: block; color: var(--t4-muted); font-size: 11.5px; line-height: 1.8; }
.t4ai-est__icon { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: color-mix(in srgb, var(--t4-teal) 14%, var(--t4-surface)); color: color-mix(in srgb, var(--t4-teal) 75%, var(--t4-ink)); }
.t4ai-est__model { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.t4ai-est__model > span:first-child { color: var(--t4-muted); font-size: 11.5px; font-weight: 700; }
.t4ai-est__select { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 12px; border: 1px solid var(--t4-line); border-radius: 12px; background: var(--t4-paper); }
.t4ai-est__select img { flex: none; width: 22px; height: 22px; padding: 2px; border-radius: 6px; background: #fff; object-fit: contain; }
.t4ai-est__select select { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: var(--t4-ink); font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.t4ai-est__sizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.t4ai-est__size { position: relative; margin: 0; cursor: pointer; }
.t4ai-est__size input { position: absolute; opacity: 0; pointer-events: none; }
.t4ai-est__size span { display: flex; flex-direction: column; gap: 1px; height: 100%; padding: 8px 12px; border: 1px solid var(--t4-line); border-radius: 12px; transition: background .2s, border-color .2s, color .2s; }
.t4ai-est__size b { color: var(--t4-ink); font-size: 12.5px; font-weight: 800; }
.t4ai-est__size small { color: var(--t4-muted); font-size: 10.5px; }
.t4ai-est__size input:checked + span { border-color: transparent; background: var(--t4-dark); }
.t4ai-est__size input:checked + span b { color: #fff; }
.t4ai-est__size input:checked + span small { color: rgb(255 255 255 / 70%); }
.t4ai-est__size input:focus-visible + span { outline: 2px solid var(--t4-blue); outline-offset: 2px; }
/* Model picker of the estimator: a styled list box (the native select stays as the no-JS fallback). */
.t4ai-est { position: relative; z-index: 5; }
.t4ai-dd { position: relative; }
.t4ai-dd.is-enhanced .t4ai-dd__native { display: none; }
.t4ai-dd__button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 6px 12px 6px 10px; border: 1px solid var(--t4-line); border-radius: 14px; background: var(--t4-paper); color: var(--t4-ink); font-family: inherit; text-align: start; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.t4ai-dd__button:hover { border-color: color-mix(in srgb, var(--t4-teal) 50%, var(--t4-line)); }
.t4ai-dd__button[aria-expanded="true"], .t4ai-dd__button:focus-visible { border-color: var(--t4-teal); outline: 0; box-shadow: 0 0 0 4px color-mix(in srgb, var(--t4-teal) 15%, transparent); }
.t4ai-dd__logo { display: grid; flex: none; place-items: center; width: 34px; height: 34px; border: 1px solid #e3ebe8; border-radius: 10px; background: #fff; }
.t4ai-dd__logo img { width: 20px; height: 20px; object-fit: contain; }
.t4ai-dd__text { display: flex; flex: 1; flex-direction: column; min-width: 0; line-height: 1.5; }
.t4ai-dd__text b { overflow: hidden; color: var(--t4-ink); font-size: 13.5px; font-weight: 800; text-align: right; text-overflow: ellipsis; white-space: nowrap; direction: ltr; font-feature-settings: normal; }
.t4ai-dd__text small { display: flex; justify-content: flex-end; gap: 6px; color: var(--t4-muted); font-size: 11px; direction: ltr; font-feature-settings: normal; }
.t4ai-dd__text small i { font-style: normal; opacity: .6; }
.t4ai-dd__price { font-family: var(--ai-mono); }
.t4ai-dd__chev { flex: none; color: var(--t4-muted); transition: transform .25s var(--t4-ease); }
.t4ai-dd__button[aria-expanded="true"] .t4ai-dd__chev { transform: rotate(180deg); color: var(--t4-teal); }
.t4ai-dd__list { position: absolute; z-index: 30; inset-inline: 0; top: calc(100% + 8px); min-width: 290px; max-height: 340px; margin: 0; padding: 6px; overflow: auto; overscroll-behavior: contain; list-style: none; border: 1px solid var(--t4-line); border-radius: 18px; background: var(--t4-surface); box-shadow: 0 30px 60px -24px rgb(16 46 60 / 45%), 0 2px 6px rgb(16 46 60 / 6%); scrollbar-width: thin; animation: t4ai-dd-in .18s var(--t4-ease); }
.t4ai-dd__list.is-up { top: auto; bottom: calc(100% + 8px); }
.t4ai-dd__list:focus { outline: 0; }
@keyframes t4ai-dd-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
.t4ai-dd__list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; cursor: pointer; transition: background .15s; }
.t4ai-dd__list li + li { margin-top: 2px; }
.t4ai-dd__list li:hover, .t4ai-dd__list li.is-active { background: var(--t4-blue-soft); }
.t4ai-dd__list li[aria-selected="true"] { background: color-mix(in srgb, var(--t4-teal) 12%, var(--t4-surface)); }
.t4ai-dd__list li[aria-selected="true"] b { color: color-mix(in srgb, var(--t4-teal) 72%, var(--t4-ink)); }
.t4ai-dd__list li.is-active { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--t4-teal) 45%, transparent); }
.t4ai-dd__tick { flex: none; width: 16px; height: 16px; }
.t4ai-dd__list li[aria-selected="true"] .t4ai-dd__tick { background: var(--t4-teal); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
[data-theme="dark"] .t4ai-dd__logo { border-color: transparent; }
[data-theme="dark"] .t4ai-dd__list { box-shadow: 0 30px 60px -24px rgb(0 0 0 / 70%); }
.t4ai-est__cost { grid-column: 1 / -1; margin: 0; padding-top: 10px; border-top: 1px dashed var(--t4-line); color: var(--t4-muted); font-size: 12.5px; text-align: center; }
.t4ai-est__cost b { color: var(--t4-ink); font-family: var(--ai-mono); font-size: 13px; }

.t4ai-plans__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); align-items: stretch; gap: 18px; max-width: 1160px; margin: 0 auto; padding-top: 10px; }
.t4ai-plan { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 22px 22px; border: 1px solid var(--t4-line); border-radius: 26px; background: var(--t4-surface); color: var(--t4-ink); box-shadow: 0 24px 46px -38px rgb(16 46 60 / 60%); transition: transform .3s var(--t4-ease), box-shadow .3s; }
.t4ai-plan:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -40px rgb(16 46 60 / 75%); }
.t4ai-plan.is-featured { transform: translateY(-10px); border-color: transparent; background: radial-gradient(140% 90% at 100% 0%, #0f4556 0%, #0b2533 55%, #071a24 100%); color: #e6f3f4; box-shadow: 0 40px 70px -40px rgb(7 26 36 / 95%), 0 0 0 1px rgb(25 195 192 / 40%); }
.t4ai-plan.is-featured:hover { transform: translateY(-14px); }
.t4ai-plan.is-custom { border-style: dashed; background: color-mix(in srgb, var(--t4-soft) 45%, var(--t4-surface)); }
.t4ai-plan__ribbon { position: absolute; left: 16px; top: 18px; padding: 3px 10px; border-radius: 999px; background: linear-gradient(90deg, #19c3c0, #5cc8ff); color: #04222b; font-size: 11px; font-weight: 900; }
.t4ai-plan__ribbon.is-best { background: #e5f6ef; color: #0b8f62; }
.t4ai-plan__head { display: flex; align-items: center; gap: 8px; }
.t4ai-plan__head h3 { margin: 0; color: var(--t4-muted); font-size: 15px; font-weight: 800; }
.t4ai-plan__head em { padding: 1px 8px; border-radius: 999px; background: rgb(46 230 168 / 16%); color: #2ee6a8; font-size: 10.5px; font-style: normal; font-weight: 800; }
.t4ai-plan.is-featured h3 { color: #bfe9ea; }
.t4ai-plan__tokens { display: grid; align-items: center; align-self: center; gap: 0 8px; margin: 6px 0 0; text-align: center; }
.t4ai-plan__tokens b { color: var(--t4-ink); font-size: clamp(36px, 3.4vw, 48px); font-weight: 900; line-height: 1.1; }
.t4ai-plan__tokens span { color: var(--t4-muted); font-size: 13px; font-weight: 700; white-space: nowrap; }
.t4ai-plan.is-featured .t4ai-plan__tokens b { color: #fff; }
.t4ai-plan.is-featured .t4ai-plan__tokens span { color: rgb(230 243 244 / 70%); }
.t4ai-plan__price { display: flex; align-items: center; align-self: center; gap: 6px; margin: 0; }
.t4ai-plan__price b { color: #0c9a64; font-size: 27px; font-weight: 900; }
.t4ai-plan__price span { color: var(--t4-muted); font-size: 12.5px; }
.t4ai-plan.is-featured .t4ai-plan__price b { color: #34d399; }
.t4ai-plan.is-featured .t4ai-plan__price span { color: rgb(230 243 244 / 70%); }
.t4ai-plan__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; overflow: hidden; border: 1px solid var(--t4-line); border-radius: 14px; }
.t4ai-plan__facts > div { display: flex; flex-direction: column; gap: 1px; min-width: 0; padding: 8px 11px; }
.t4ai-plan__facts > div + div { border-inline-start: 1px solid var(--t4-line); }
.t4ai-plan__facts > div:only-child { grid-column: 1 / -1; }
.t4ai-plan__facts dt { color: var(--t4-muted); font-size: 11px; font-weight: 600; }
.t4ai-plan__facts dd { margin: 0; color: var(--t4-ink); font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.t4ai-plan__facts .has-tickets dd { color: #0b8f62; }
.t4ai-plan__facts .no-tickets dd { color: var(--t4-muted); font-weight: 700; }
.t4ai-plan.is-featured .t4ai-plan__facts, .t4ai-plan.is-featured .t4ai-plan__facts > div + div { border-color: rgb(255 255 255 / 12%); }
.t4ai-plan.is-featured .t4ai-plan__facts dt { color: rgb(230 243 244 / 62%); }
.t4ai-plan.is-featured .t4ai-plan__facts dd { color: #fff; }
.t4ai-plan.is-featured .t4ai-plan__facts .has-tickets dd { color: #2ee6a8; }
.t4ai-plan.is-featured .t4ai-plan__facts .no-tickets dd { color: rgb(230 243 244 / 62%); }
[data-theme="dark"] .t4ai-plan__facts .has-tickets dd { color: #34d399; }
.t4ai-plan__reach { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 7px; padding: 10px 12px; border-radius: 14px; background: var(--t4-blue-soft); color: var(--t4-ink); font-size: 12.5px; line-height: 1.8; }
.t4ai-plan__reach b { color: var(--t4-blue); font-size: 17px; font-weight: 900; }
.t4ai-plan__reach bdi { font-weight: 700; }
.t4ai-plan__approx { color: var(--t4-teal); font-weight: 900; }
.t4ai-plan.is-featured .t4ai-plan__reach { background: rgb(255 255 255 / 7%); color: #dff5f5; }
.t4ai-plan.is-featured .t4ai-plan__reach b { color: #7fe7dd; }
.t4ai-plan__list { display: grid; gap: 7px; margin: 6px 0 auto; padding: 0; list-style: none; }
.t4ai-plan__list li { display: flex; align-items: center; gap: 7px; font-size: 13px; }
.t4ai-plan__list svg { flex: none; color: var(--t4-teal); }
.t4ai-plan.is-featured .t4ai-plan__list svg { color: #2ee6a8; }
.t4ai-plan__buy { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; margin-top: 16px; border-radius: 14px; background: var(--t4-dark); color: #fff; font-size: 14px; font-weight: 800; text-decoration: none; transition: background .25s, transform .25s var(--t4-ease); }
.t4ai-plan__buy:hover { background: var(--t4-blue); color: #fff; }
.t4ai-plan__buy svg { transition: transform .25s var(--t4-ease); }
.t4ai-plan__buy:hover svg { transform: translateX(-4px); }
.t4ai-plan.is-featured .t4ai-plan__buy { background: #fff; color: #0b2533; }
.t4ai-plan.is-featured .t4ai-plan__buy:hover { background: #e3fbf9; }
.t4ai-plans__foot { margin-top: 26px; text-align: center; }
.t4ai-plans__note { display: inline-flex; align-items: center; gap: 9px; margin: 0; padding: 10px 18px; border-radius: 999px; background: color-mix(in srgb, var(--t4-teal) 10%, var(--t4-surface)); color: var(--t4-ink); font-size: 13px; line-height: 1.9; text-align: start; }
.t4ai-plans__note svg { flex: none; color: var(--t4-teal); }
.t4ai-plans__fine { max-width: 760px; margin: 12px auto 0; color: var(--t4-muted); font-size: 11.5px; line-height: 2; }
.t4ai-soon { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; max-width: 860px; margin: 0 auto; padding: 22px 24px; border: 1px dashed var(--t4-line); border-radius: 22px; background: var(--t4-surface); }
.t4ai-soon p { margin: 0; color: var(--t4-ink); font-size: 14px; line-height: 2; }

/* ---------- Versus ---------- */
.t4ai-vs__table { max-width: 980px; margin: 0 auto; overflow: hidden; border: 1px solid var(--t4-line); border-radius: 26px; background: var(--t4-surface); box-shadow: 0 24px 46px -40px rgb(16 46 60 / 60%); }
.t4ai-vs__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.t4ai-vs__row > span { display: flex; align-items: center; gap: 12px; padding: 16px 22px; border-top: 1px solid var(--t4-line); font-size: 14px; line-height: 1.9; }
.t4ai-vs__row.is-head > span { border-top: 0; color: var(--t4-muted); font-size: 13px; font-weight: 800; }
.t4ai-vs__row.is-head > span:last-child { background: var(--t4-dark); color: #fff; }
.t4ai-vs__row > .is-hard { color: var(--t4-muted); }
.t4ai-vs__row > .is-easy { background: color-mix(in srgb, var(--t4-teal) 7%, var(--t4-surface)); color: var(--t4-ink); font-weight: 700; }
.t4ai-vs__row i { display: grid; flex: none; place-items: center; width: 24px; height: 24px; border-radius: 50%; }
.t4ai-vs__row .is-hard i { background: #fdeaf1; }
.t4ai-vs__row .is-hard i::before { content: ""; width: 10px; height: 10px; background: #c2185b; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") center / contain no-repeat; }
.t4ai-vs__row .is-easy i { background: color-mix(in srgb, var(--t4-teal) 18%, var(--t4-surface)); }
.t4ai-vs__row .is-easy i::before { content: ""; width: 12px; height: 12px; background: var(--t4-teal); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- Final band ---------- */
.t4ai-final { padding-block: clamp(56px, 6vw, 96px) clamp(36px, 4vw, 64px); }
.t4ai-final__box { position: relative; isolation: isolate; overflow: hidden; padding: clamp(36px, 5vw, 66px) 22px; border-radius: 36px; background: radial-gradient(120% 140% at 50% 0%, #0f4556 0%, #0b2533 50%, #071a24 100%); color: #e6f3f4; text-align: center; box-shadow: 0 40px 80px -50px rgb(7 26 36 / 90%); }
.t4ai-final__glow { position: absolute; z-index: -1; left: 50%; top: -260px; width: 700px; height: 500px; border-radius: 50%; background: radial-gradient(closest-side, rgb(25 195 192 / 30%), transparent); translate: -50% 0; pointer-events: none; }
.t4ai-final__logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 24px; }
.t4ai-final__logos i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: #fff; box-shadow: 0 12px 24px -12px rgb(0 0 0 / 60%); animation: t4ai-float 5s ease-in-out infinite; }
.t4ai-final__logos i:nth-child(2n) { animation-delay: -1.2s; }
.t4ai-final__logos i:nth-child(3n) { animation-delay: -2.4s; }
.t4ai-final__logos i:nth-child(5n) { animation-delay: -3.6s; }
.t4ai-final__logos img { width: 26px; height: 26px; object-fit: contain; }
.t4ai-final h2 { margin: 0 0 10px; color: #fff; font-size: clamp(26px, 3.6vw, 44px); font-weight: 900; line-height: 1.45; }
.t4ai-final h2 span { background: linear-gradient(90deg, #5ce1d6, #5cc8ff 55%, #a99bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.t4ai-final p { margin: 0 auto; max-width: 560px; color: rgb(230 243 244 / 75%); font-size: 15px; line-height: 2; }
.t4ai-final__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }

/* ---------- Dark theme ---------- */
[data-theme="dark"] .t4ai-mono { background: hsl(var(--h) 30% 24%); color: hsl(var(--h) 70% 82%); }
[data-theme="dark"] .t4ai-maker__logo, [data-theme="dark"] .t4ai-model__logo, [data-theme="dark"] .t4ai-brand__logo { border-color: transparent; }
[data-theme="dark"] .t4ai-plan__ribbon.is-best { background: #12382d; color: #5fe0b0; }
[data-theme="dark"] .t4ai-plan__price b { color: #34d399; }
[data-theme="dark"] .t4ai-vs__row .is-hard i { background: #3b1a28; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .t4ai-est { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .t4ai-est__sizes { grid-column: 1 / -1; }
  .t4ai-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1023px) {
  .t4ai-hero-art { padding-bottom: 0; }
  .t4ai-orbit.is-hero { width: min(440px, 92%); }
  .t4ai-term { position: relative; left: auto; bottom: auto; width: 100%; max-width: 480px; margin: -70px auto 0; }
  .t4ai-stats { margin-top: 0; }
  .t4ai-hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t4ai-hero__stats > div:nth-child(3) { border-inline-start: 0; }
  .t4ai-hero__stats > div:nth-child(n+3) { border-top: 1px solid var(--t4-line); }
  .t4ai-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t4ai-feature.is-full { grid-template-columns: auto minmax(0, 1fr); }
  .t4ai-feature.is-full .t4ai-feature__modes { grid-column: 1 / -1; grid-row: auto; margin-top: 12px; }
  .t4ai-start { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .t4ai-explorer { grid-template-columns: minmax(0, 1fr); }
  .t4ai-explorer__makers { flex-direction: row; max-height: none; padding: 12px; overflow-x: auto; border-inline-end: 0; border-bottom: 1px solid var(--t4-line); scrollbar-width: none; }
  .t4ai-explorer__makers::-webkit-scrollbar { display: none; }
  .t4ai-maker { width: auto; padding-inline: 8px 12px; white-space: nowrap; }
  .t4ai-maker__name { overflow: visible; }
}
@media (max-width: 639px) {
  .lx-page-hero.is-ai h1 { font-size: 29px; }
  .t4ai-orbit.is-hero { width: min(330px, 96%); }
  .t4ai-orbit.is-hero .t4ai-orbit__item { --s: 34px; }
  .t4ai-orbit.is-hero .t4ai-orbit__ring.is-2 .t4ai-orbit__item { --s: 30px; }
  .t4ai-orbit.is-hero .t4ai-orbit__ring.is-3 .t4ai-orbit__item { --s: 26px; }
  .t4ai-term { margin-top: -40px; }
  .t4ai-term pre { font-size: 10.8px; }
  .t4ai-hero__stats { border-radius: 20px; }
  .t4ai-hero__stats > div { padding: 14px 10px 16px; }
  .t4ai-brand { padding: 6px 12px 6px 6px; }
  .t4ai-brand__logo { width: 36px; height: 36px; }
  .t4ai-bento { grid-template-columns: minmax(0, 1fr); }
  .t4ai-feature.is-wide, .t4ai-feature.is-full { grid-column: auto; }
  .t4ai-feature { padding: 22px 20px; }
  .t4ai-start li { padding-right: 54px; }
  .t4ai-explorer { border-radius: 22px; }
  .t4ai-explorer__main { padding: 14px 12px 14px; }
  .t4ai-caps { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .t4ai-cap { flex: none; }
  .t4ai-list { max-height: 560px; }
  .t4ai-model { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 8px; padding: 8px 10px; }
  .t4ai-model__logo { width: 34px; height: 34px; }
  .t4ai-copy { display: none; }
  .t4ai-est { grid-template-columns: minmax(0, 1fr); padding: 14px; }
  .t4ai-est__sizes { grid-template-columns: minmax(0, 1fr); }
  .t4ai-plan.is-featured, .t4ai-plan.is-featured:hover { transform: none; }
  .t4ai-plans__note { border-radius: 18px; }
  .t4ai-vs__row > span { padding: 12px 14px; gap: 8px; font-size: 12.5px; }
  .t4ai-vs__row i { width: 20px; height: 20px; }
  .t4ai-final__box { border-radius: 26px; }
  .t4ai-final__logos i { width: 38px; height: 38px; }
  .t4ai-final__logos i:nth-child(n+9) { display: none; }
  .t4ai-final__actions .t4ai-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .t4ai-marquee__track, .t4ai-term__model::after, .t4ai-feature__swap span, .t4ai-final__logos i { animation: none !important; }
  .t4ai-marquee { overflow-x: auto; }
  .t4ai-feature, .t4ai-plan, .t4ai-model { transition: none; }
}
