/* The public site. Colours come from the theme variables in style.css.
   Motion lives at the end: each kind of thing moves its own way (cards are dealt, logos pop, rows
   slide, steps light up, messages arrive, bars grow) and everything plays once. */

.site { min-height: 100vh; display: flex; flex-direction: column; }
.page { width: 100%; max-width: 124rem; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 4.5rem) 4rem; flex: 1; }
.site .ai-ico { display: inline-block; width: 1.25rem; height: 1.25rem; flex: none; object-fit: contain; vertical-align: -.22em; }
:root[data-theme="dark"] .site .ai-ico.mono { filter: invert(.93); }

/* ---------- announcement bar and header ---------- */
.bar { background: var(--text); color: var(--bg); display: flex; justify-content: center; align-items: center; gap: .8rem; padding: .55rem 3rem; font-weight: 700; font-size: .95rem; position: relative; text-align: center; }
.bar .ai-ico.mono { filter: invert(.93); }
:root[data-theme="dark"] .bar .ai-ico.mono { filter: none; }
.bar-go { color: var(--bg); background: color-mix(in srgb, var(--bg) 16%, transparent); padding: .2rem .7rem; border-radius: 8px; text-decoration: none; white-space: nowrap; }
.bar-go:hover { background: color-mix(in srgb, var(--bg) 28%, transparent); }
.bar-x { position: absolute; right: .8rem; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--bg); font-size: 1.3rem; line-height: 1; opacity: .7; padding: .3rem .5rem; }
.bar-x:hover { opacity: 1; }

.nav { position: sticky; top: 0; z-index: 15; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.6rem; padding: .7rem clamp(1rem, 4vw, 4.5rem); background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-links { display: flex; gap: .2rem; justify-content: center; }
.nav-links a { color: var(--soft); text-decoration: none; font-weight: 700; padding: .5rem .8rem; border-radius: 10px; transition: color .15s ease, background-color .15s ease; white-space: nowrap; }
.nav-links a:hover { color: var(--text); background: var(--panel-2); }
.nav-links a.on { color: var(--text); background: var(--panel-2); }
.nav-end { display: flex; align-items: center; gap: .8rem; }
.nav-end .btn { padding: .65rem 1.1rem; text-decoration: none; white-space: nowrap; }
.menu-btn { display: none; width: 2.8rem; height: 2.8rem; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); position: relative; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { position: absolute; left: 50%; width: 1.1rem; height: 2px; background: var(--text); transform: translateX(-50%); content: ''; transition: transform .2s ease; }
.menu-btn span { top: 50%; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
a.btn { text-decoration: none; }
.btn.small { padding: .55rem .9rem; font-size: .92rem; border-radius: 10px; background: var(--panel-2); color: var(--text); border: 1px solid var(--line); }
.btn.small:hover { border-color: var(--accent); }
.btn.big { padding: 1.05rem 1.7rem; font-size: 1.12rem; border-radius: 14px; }

/* ---------- first screen ---------- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 6rem); align-items: center; padding: clamp(3.5rem, 10vh, 7rem) 0 2.4rem; }
.hero h1 { font-size: clamp(2.4rem, 3.7vw, 4.7rem); }
.hero .lead { font-size: 1.22rem; }
.signin-block { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; max-width: 36rem; }
.signin-block .signin { width: 100%; margin: 0; }
.signin-block .signin input { padding: .95rem 1.1rem; font-size: 1.05rem; }
.signin-block .signin .btn { padding: .95rem 1.4rem; font-size: 1.05rem; white-space: nowrap; }
.signin-block .signin-state { margin-top: .2rem; }

.demo { position: relative; min-height: 27rem; box-shadow: var(--shadow); }
.demo-model { display: inline-flex; align-items: center; gap: .5rem; }
.demo-model .ai-ico { width: 1.35rem; height: 1.35rem; }
.demo-pic { display: block; object-fit: cover; }
.bubble.demo-vid { width: 66%; aspect-ratio: 16 / 9; padding: 0; object-fit: cover; display: block; animation: develop 1.2s ease both; }
/* The card keeps one height through every scene, so the heading beside it and the page below never
   jump: the body is as tall as the tallest scene (the square picture, 44% of its width) needs. */
.demo { container-type: inline-size; }
.demo-body { flex: none; height: max(calc(44cqw + 10rem), 21rem); overflow: hidden; justify-content: flex-end; }
.bubble.demo-pic { width: 44%; }
/* Texu hangs on its thread over the live example, its feet on the card's top edge. The thread
   fades out upward, as if it hangs from somewhere above the page. */
.demo > .texu-hello { position: absolute; right: 31%; left: auto; bottom: calc(100% - .7rem); width: clamp(6rem, 7vw, 8.6rem); z-index: 3;
  -webkit-mask: linear-gradient(to top, #000 42%, transparent 80%) center bottom / 160% 260% no-repeat;
  mask: linear-gradient(to top, #000 42%, transparent 80%) center bottom / 160% 260% no-repeat; }
.demo > .texu-hello.drop { animation-delay: .55s; }

/* ---------- the strip of every model ---------- */
.strip { margin-top: .6rem; }
.strip .drift-track { animation-duration: 90s; padding: .2rem 0; }
.drift-item { display: inline-flex; align-items: center; gap: .55rem; padding: .62rem 1.05rem; border: 1px solid var(--line); background: var(--panel); border-radius: 14px; color: var(--text); text-decoration: none; white-space: nowrap; transition: border-color .2s ease, transform .2s ease; }
.drift-item b { font-weight: 800; }
.drift-item span { color: var(--soft); font-weight: 600; font-size: .88rem; }
.drift-item:hover { border-color: var(--accent); transform: translateY(-2px); }
.drift-item .ai-ico { width: 1.45rem; height: 1.45rem; }

/* ---------- counters ---------- */
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .8rem; margin-top: 1.4rem; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 1.1rem 1.3rem; text-decoration: none; color: var(--text); display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: .6rem; align-items: center; transition: transform .2s ease, border-color .2s ease; }
.stat:hover { transform: translateY(-3px); border-color: var(--accent); }
.stat b { font-size: 2.7rem; line-height: 1; letter-spacing: -0.03em; grid-row: 1; grid-column: 1; }
.stat-name { font-weight: 700; color: var(--soft); grid-row: 2; grid-column: 1 / -1; margin-top: .45rem; }
.stat .logos { grid-row: 1; grid-column: 2; }

/* Makers' logos, overlapping a little. */
.logos { display: inline-flex; align-items: center; }
.logo-dot { width: 2.05rem; height: 2.05rem; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; margin-left: -.5rem; box-shadow: 0 0 0 2px var(--panel); }
.logo-dot:first-child { margin-left: 0; }
.logo-dot .ai-ico { width: 1.15rem; height: 1.15rem; }

/* ---------- sections ---------- */
.block { margin-top: clamp(4.5rem, 10vh, 8rem); scroll-margin-top: 6rem; }
.block-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.3rem; flex-wrap: wrap; }
.block-head h2, .faq-side h2, .tg-copy h2, .final h2 { font-size: clamp(1.95rem, 2.7vw, 3.2rem); letter-spacing: -0.03em; line-height: 1.08; margin: 0; }
.block-lead { color: var(--text); font-weight: 500; margin: -.3rem 0 1.6rem; max-width: 50rem; font-size: 1.18rem; }
.head-links { display: inline-flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; }
.more { color: var(--text); font-weight: 800; text-decoration: none; white-space: nowrap; border-bottom: 2px solid var(--accent); padding-bottom: .1rem; }
.more::after { content: '→'; margin-left: .3em; }
.more:hover { color: var(--accent-text); }
.more.soft { border-bottom-color: var(--line); }
.sub { font-size: 1.4rem; margin: 0 0 .8rem; letter-spacing: -0.01em; }
.page-head { padding: clamp(2.8rem, 7vh, 5rem) 0 0; max-width: 64rem; scroll-margin-top: 6rem; }
.page-head h1 { margin-bottom: .8rem; }
.page-head .lead { color: var(--text); font-weight: 500; }
.page-head.soon { display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem; padding-bottom: 6rem; }
.block-cta { display: flex; justify-content: center; margin-top: 1.8rem; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.2rem; }
.chip { border: 1px solid var(--line); background: var(--panel); color: var(--soft); border-radius: 11px; padding: .5rem 1rem; font-weight: 700; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
button.chip:hover, a.chip:hover { color: var(--text); border-color: var(--accent); }
.chip.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip-n { margin-left: .45rem; font-weight: 800; opacity: .6; }
.jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.jump .chip { text-decoration: none; display: inline-flex; align-items: center; gap: .55rem; color: var(--text); padding: .45rem .95rem .45rem .5rem; }
.jump .chip:not(:has(.logos)) { padding-left: .95rem; }
.jump .logo-dot { width: 1.7rem; height: 1.7rem; }
.jump .logo-dot .ai-ico { width: .95rem; height: .95rem; }

/* Filled one-colour glyphs on a soft tile. */
.glyph { display: inline-grid; place-items: center; flex: none; }
.glyph svg { width: 100%; height: 100%; fill: currentColor; display: block; }
.glyph.g-big { width: 3.3rem; height: 3.3rem; border-radius: 15px; background: color-mix(in srgb, var(--accent) 15%, var(--panel)); color: var(--text); padding: .72rem; }
.glyph.g-sm { width: 1.1rem; height: 1.1rem; color: var(--soft); }
.glyph.g-tick { width: 1.15rem; height: 1.15rem; color: var(--accent-text); margin-top: .2rem; }

/* A model named in a sentence: logo and name. */
.pill { display: inline-flex; align-items: center; gap: .45rem; border: 1px solid var(--line); background: transparent; border-radius: 11px; padding: .38rem .72rem .38rem .52rem; color: var(--text); font-weight: 700; font-size: .92rem; text-decoration: none; transition: border-color .15s ease, transform .15s ease; white-space: nowrap; }
.pill:hover { border-color: var(--accent); transform: translateY(-1px); }
.pill .ai-ico { width: 1.1rem; height: 1.1rem; }
.pills { display: flex; flex-wrap: wrap; gap: .4rem; }

/* ---------- ideas ---------- */
.ideas-grid { columns: 4 17rem; column-gap: .9rem; }
.idea { break-inside: avoid; margin: 0 0 .9rem; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease, border-color .25s ease; }
.idea:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); }
.idea-media { position: relative; background: var(--panel-2); }
.idea-media img, .idea-media video { width: 100%; display: block; }
.idea.image .idea-media img { aspect-ratio: 1; object-fit: cover; }
.idea.video .idea-media video { aspect-ratio: 16 / 9; object-fit: cover; cursor: pointer; }
.idea-badge { position: absolute; left: .7rem; top: .7rem; background: var(--text); color: var(--bg); font-weight: 800; font-size: .8rem; padding: .2rem .55rem; border-radius: 7px; pointer-events: none; }
.idea.speech .idea-media, .idea.music .idea-media { padding: 1.4rem 1.2rem; }
.idea.chat .idea-media { padding: 1.1rem 1.2rem 1.2rem; display: flex; flex-direction: column; gap: .7rem; }
.idea-q { align-self: flex-end; background: var(--text); color: var(--bg); font-weight: 600; padding: .6rem .85rem; border-radius: 14px 14px 4px 14px; max-width: 92%; font-size: .95rem; }
.idea-text { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: .7rem .9rem; font-size: .92rem; line-height: 1.45; white-space: pre-line; }
.idea-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: .8rem; padding: .9rem 1rem 1rem; }
.idea-foot .btn { white-space: nowrap; flex: none; }
.idea-foot > div { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.idea-foot b { font-size: 1.02rem; line-height: 1.25; }
.idea-model { color: var(--soft); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: .35rem; }
.idea-model .ai-ico { width: 1rem; height: 1rem; }
.idea-price { color: var(--accent-text); font-weight: 800; font-size: .9rem; }
.site .texu-idea { width: 70%; margin: 1.5rem auto; }

/* The sound player used on the site and in the app: a play button and a drawn sound line. */
.player { display: flex; align-items: center; gap: .9rem; min-height: 3.2rem; }
.play { flex: none; width: 3rem; height: 3rem; border-radius: 50%; border: 0; background: var(--accent); position: relative; transition: transform .15s ease; }
.play:active { transform: scale(.94); }
.play span { position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%); width: 0; height: 0; border-left: .8rem solid var(--accent-ink); border-top: .5rem solid transparent; border-bottom: .5rem solid transparent; }
.play.on span { left: 50%; width: .75rem; height: .85rem; border: 0; border-left: .26rem solid var(--accent-ink); border-right: .26rem solid var(--accent-ink); }
.wave { flex: 1; height: 2.6rem; display: flex; align-items: center; gap: 3px; }
.wave i { flex: 1; min-width: 2px; border-radius: 2px; background: var(--line); transition: background-color .2s ease; }
.wave i.lit { background: var(--accent); }

/* ---------- showcase ---------- */
.tabs-row { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1rem; }
.tabs-row button { border: 1px solid var(--line); background: var(--panel); color: var(--soft); font-weight: 800; font-size: 1.05rem; border-radius: 13px; padding: .55rem 1.15rem .55rem .65rem; display: inline-flex; align-items: center; gap: .6rem; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.tabs-row button:not(:has(.logos)) { padding-left: 1.15rem; }
.tabs-row button:hover { color: var(--text); }
.tabs-row button.on { background: var(--accent-fill); color: var(--accent-ink); border-color: var(--accent-fill); }
.tabs-row .logo-dot { width: 1.75rem; height: 1.75rem; box-shadow: none; }
.tabs-row .logo-dot .ai-ico { width: 1rem; height: 1rem; }
.show-panel { display: grid; grid-template-columns: minmax(18rem, 1fr) 1.6fr; gap: clamp(1rem, 2.4vw, 2.4rem); background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.1rem, 2vw, 2rem); }
.show-copy { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; padding: .3rem .4rem; }
.show-copy h3 { font-size: 2.1rem; margin: 0; letter-spacing: -0.02em; }
.show-copy p { margin: 0; font-size: 1.08rem; }
.show-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; align-content: start; }
.show-cards.wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.preview { width: 100%; border-radius: 16px; overflow: hidden; }
.p-pics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .45rem; }
.p-pics img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 11px; display: block; }
.p-vid video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; border-radius: 14px; background: var(--panel-2); }
.p-sound { background: var(--bg); border: 1px solid var(--line); padding: .9rem 1rem; display: grid; gap: .3rem; }
.p-chat { display: flex; flex-direction: column; gap: .6rem; background: var(--bg); border: 1px solid var(--line); padding: 1rem; }
.p-chat .bubble { font-size: .95rem; }
.model-card { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 1.05rem 1.15rem; display: flex; flex-direction: column; gap: .2rem; color: var(--text); text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
.show-cards.wide .model-card, .models-grid .model-card { background: var(--panel); }
.model-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.mc-top { display: flex; align-items: center; gap: .55rem; margin-bottom: .35rem; }
.mc-top .ai-ico { width: 1.9rem; height: 1.9rem; }
.model-card .by { color: var(--soft); font-weight: 700; font-size: .9rem; }
.model-card b { font-size: 1.2rem; }
.model-card .for { color: var(--soft); font-size: .95rem; }
.model-card .amount { margin-top: auto; padding-top: .6rem; font-weight: 800; color: var(--accent-text); }

/* ---------- who it is for ---------- */
.who-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; }
.who-card { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 1.4rem 1.4rem 1.3rem; display: flex; flex-direction: column; gap: 1rem; }
.who-top { display: flex; align-items: center; gap: .9rem; }
.who-top h3 { margin: 0; font-size: 1.45rem; letter-spacing: -0.01em; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.ticks li { display: flex; gap: .55rem; align-items: flex-start; font-weight: 600; }
.who-cost { margin: auto 0 0; font-weight: 800; color: var(--accent-text); }

/* ---------- builds ---------- */
.build-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 26px; padding: clamp(1.2rem, 2.4vw, 2.2rem); }
.build-tabs { display: flex; align-items: center; gap: .8rem 1.4rem; flex-wrap: wrap; }
.big-seg button { padding: .62rem 1.3rem; font-size: 1.05rem; }
.build-desc { margin: 0; font-weight: 600; flex: 1; min-width: 16rem; font-size: 1.08rem; }
.build-run { position: relative; padding-top: 5.6rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(15rem, .38fr); gap: .9rem; align-items: stretch; }
.build-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: .9rem; }
.build-step { background: var(--bg); border: 1.5px solid var(--line); border-radius: 18px; padding: 1.1rem 1.2rem 1.2rem; display: flex; flex-direction: column; gap: .65rem; transition: border-color .35s ease, transform .4s cubic-bezier(.3, 1.4, .5, 1); }
.build-step.lit { border-color: var(--accent); transform: translateY(-3px); }
.build-n { font-size: 2.5rem; font-weight: 800; line-height: 1; color: var(--line); transition: color .35s ease; }
.build-step.lit .build-n { color: var(--accent-text); }
.step-who { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; font-size: 1.05rem; }
.step-who .logo-dot { box-shadow: 0 0 0 2px var(--bg); }
.step-what { font-weight: 600; }
.build-result { background: var(--bg); color: var(--soft); border: 1.5px dashed var(--line); border-radius: 18px; padding: 1.2rem 1.3rem; display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; transform: scale(.97); transition: background-color .45s ease, color .45s ease, border-color .45s ease, transform .55s cubic-bezier(.3, 1.4, .5, 1); }
.build-result .btn { visibility: hidden; opacity: 0; transition: opacity .4s ease .2s; }
.build-result.lit { background: var(--text); color: var(--bg); border-color: var(--text); transform: none; }
.build-result.lit .btn { visibility: visible; opacity: 1; }
.result-k { font-weight: 800; }
.result-price { font-size: 2.5rem; letter-spacing: -0.02em; line-height: 1.1; }
.result-per { font-weight: 600; opacity: .8; }
.build-result .btn { margin-top: auto; }
.build-result .btn { margin-top: 1rem; }
.build-run > .texu-walker { position: absolute; left: 0; top: 1rem; width: 6.2rem; transition: transform .55s cubic-bezier(.45, .05, .3, 1); z-index: 2; pointer-events: auto; }

/* ---------- agents ---------- */
.recipe { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: var(--panel); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.recipe li { padding: 1.2rem 1.3rem 1.3rem; display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; border-left: 1px solid var(--line); }
.recipe li:first-child { border-left: 0; }
.recipe .logos { height: 3.3rem; }
.recipe b { font-size: 1.15rem; }
.recipe li > span:last-child { color: var(--soft); }
.agent-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; }
.agent { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 1.3rem; display: flex; flex-direction: column; gap: 1rem; }
.agent-top { display: flex; gap: .9rem; align-items: flex-start; }
.agent-top h3 { margin: .1rem 0 .25rem; font-size: 1.32rem; }
.agent-top p { margin: 0; }
.agent-on { display: flex; flex-direction: column; gap: .4rem; }
.agent-k { font-weight: 800; font-size: .9rem; color: var(--soft); }
.agent-parts { list-style: none; margin: 0; padding: .8rem 0 0; display: grid; gap: .4rem; border-top: 1px solid var(--line); }
.agent-parts li { display: flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .96rem; }
.starters-row { display: grid; gap: .45rem; margin-top: auto; }
.starter-link { display: flex; justify-content: space-between; gap: .6rem; align-items: center; padding: .72rem .9rem; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; line-height: 1.35; transition: border-color .15s ease; }
.starter-link::after { content: '→'; color: var(--accent-text); font-weight: 800; transition: transform .2s ease; flex: none; }
.starter-link:hover { border-color: var(--accent); }
.starter-link:hover::after { transform: translateX(3px); }

/* ---------- files, skills and tools ---------- */
.tools-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.2rem, 3vw, 3rem); align-items: stretch; }
.mock { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 1.4rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 1rem; }
.mock-top { display: flex; align-items: center; gap: .6rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.mock-top .ai-ico { width: 1.4rem; height: 1.4rem; }
.mock-price { margin-left: auto; background: var(--panel-2); border-radius: 999px; padding: .25rem .8rem; font-weight: 700; font-size: .9rem; }
.mock-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.mock-chip { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .85rem; border: 1px solid var(--line); background: var(--bg); border-radius: 12px; font-weight: 700; font-size: .95rem; }
.mock-chip .glyph { color: var(--accent-text); }
.mock-q { margin: 0; align-self: flex-end; background: var(--text); color: var(--bg); padding: .8rem 1rem; border-radius: 16px 16px 5px 16px; font-weight: 600; max-width: 92%; }
.mock-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.mock-steps li { display: flex; align-items: flex-start; gap: .55rem; font-weight: 600; }
.mock-steps em { margin-left: auto; font-style: normal; font-weight: 800; color: var(--plus); font-size: .9rem; white-space: nowrap; }
.mock-a { margin: 0; align-self: flex-start; max-width: 92%; background: var(--panel-2); padding: .8rem 1rem; border-radius: 16px 16px 16px 5px; }
.mock-foot { display: flex; margin-top: auto; }
.tools-list { display: grid; gap: .9rem; }
.tool-item { display: flex; gap: 1rem; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 1.2rem 1.3rem; }
.tool-item h3 { margin: .1rem 0 .3rem; font-size: 1.28rem; }
.tool-item p { margin: 0 0 .45rem; }
.tool-cost { font-weight: 800; color: var(--accent-text); }
p.tool-cost { margin: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.skill-doc { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 1.4rem 1.6rem; box-shadow: var(--shadow); }
.skill-doc-name { display: flex; gap: .45rem; align-items: center; font-weight: 800; color: var(--soft); padding-bottom: .7rem; margin-bottom: .9rem; border-bottom: 1px solid var(--line); }
.skill-doc h3 { margin: 0 0 .6rem; font-size: 1.3rem; }
.skill-doc p { margin: 0 0 .5rem; }
.mcp-list { display: grid; gap: .6rem; }
.mcp-list h3 { margin: 0 0 .2rem; font-size: 1.3rem; }
.mcp-eg { display: flex; gap: .85rem; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: .85rem 1rem; }
.mcp-eg .ai-ico { width: 1.6rem; height: 1.6rem; }
.mcp-eg div { display: flex; flex-direction: column; }
.mcp-eg span { color: var(--soft); }

/* ---------- one balance everywhere ---------- */
.places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
.place { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .4rem; }
.place b { font-size: 1.38rem; }
.place p { margin: 0; }
.place.later { background: transparent; border-style: dashed; }
.place-state { margin-top: auto; padding-top: .7rem; font-weight: 800; color: var(--accent-text); display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; }
.place-install { font-size: .86rem; }
.place.later .place-state { color: var(--soft); }
.site .texu-place { width: 7.5rem; margin-bottom: .4rem; }
.facts { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: .9rem; }

/* ---------- prices ---------- */
.price-top { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: .9rem; align-items: stretch; }
.welcome { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .8rem; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 1.2rem 1.3rem; }
.welcome b { display: block; font-size: 1.4rem; line-height: 1.25; margin-bottom: .3rem; }
.site .texu-welcome { width: 7.5rem; flex: none; }
.buys { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 1.2rem 1.4rem; display: flex; flex-direction: column; }
.buys h3, .topups-box h3 { margin: 0 0 .5rem; font-size: 1.3rem; }
.buy { display: grid; grid-template-columns: 7.2rem 1fr; gap: 1rem; align-items: baseline; padding: .55rem 0; border-top: 1px solid var(--line); color: var(--text); text-decoration: none; }
.buy span { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; }
.buy span .ai-ico { width: 1.05rem; height: 1.05rem; }
.buy:hover span { color: var(--accent-text); }
.buy-n { font-size: 1.55rem; letter-spacing: -0.02em; white-space: nowrap; }
.topups-box { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 1.2rem 1.4rem; display: flex; flex-direction: column; gap: .7rem; }
.topups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.topup { border: 1px solid var(--line); border-radius: 14px; padding: .75rem .9rem; display: flex; flex-direction: column; background: var(--bg); }
.topup b { font-size: 1.7rem; letter-spacing: -0.02em; line-height: 1.1; }
.topup span { color: var(--soft); font-weight: 700; font-size: .92rem; }
.soon-note { margin: auto 0 0; font-weight: 700; color: var(--accent-text); }
.price-tabs { margin-top: 2rem; }
.cur-note { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; margin: .9rem .2rem 0; font-weight: 600; }
.cur-pick { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; }
.team { margin-top: 1.4rem; display: flex; justify-content: space-between; align-items: center; gap: 2rem; background: var(--text); color: var(--bg); border-radius: 22px; padding: 1.6rem 1.8rem; }
.team h3 { margin: 0 0 .6rem; font-size: 1.6rem; }
.team ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .25rem; }
.team .btn.ghost { background: transparent; color: var(--bg); border-color: color-mix(in srgb, var(--bg) 40%, transparent); }

/* Price tables: one per kind, every number worked out. */
.tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); }
table.prices { width: 100%; border-collapse: collapse; }
.prices th { text-align: left; font-weight: 800; color: var(--soft); font-size: .9rem; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.prices th.num, .prices td.num { text-align: right; }
.prices td { padding: .8rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.prices tbody tr:last-child td { border-bottom: 0; }
.prices tbody tr { transition: background-color .15s ease; }
.prices tbody tr:hover { background: var(--panel-2); }
.prices td.m a { display: flex; align-items: center; gap: .75rem; color: var(--text); text-decoration: none; }
.prices td.m a:hover b { color: var(--accent-text); }
.prices td.m span { display: flex; flex-direction: column; line-height: 1.25; }
.prices td.m small { color: var(--soft); font-weight: 600; font-size: .88rem; }
.prices td b { font-weight: 800; }
.prices td.num small { display: block; color: var(--soft); font-weight: 600; font-size: .85rem; white-space: nowrap; }
.prices td.num { white-space: nowrap; font-weight: 600; }
.prices td.txt { color: var(--soft); font-weight: 600; text-align: right; }
.prices .tbl-ico { width: 1.8rem; height: 1.8rem; }
.tbl-wait { color: var(--soft); opacity: .6; }
.tbl-none { color: var(--soft); font-weight: 800; opacity: .8; }
.th-m { display: inline-flex; align-items: center; gap: .4rem; }
.tbl-note { margin: .9rem .3rem 0; max-width: 62rem; color: var(--soft); font-weight: 600; }
.price-kind .tbl-note { font-size: 1.02rem; }

/* ---------- pay per use vs subscriptions ---------- */
.compare-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 1rem; align-items: stretch; }
.cmp { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.cmp-row { flex: 1; align-items: center; }
.cmp-head, .cmp-row { display: grid; grid-template-columns: .75fr 1fr 1fr; gap: 1rem; padding: 1rem 1.3rem; }
.cmp-head { border-bottom: 1px solid var(--line); font-size: 1.08rem; }
.cmp-head .us { color: var(--accent-text); }
.cmp-row + .cmp-row { border-top: 1px solid var(--line); }
.cmp-k { font-weight: 800; }
.cmp-row span:nth-child(2) { color: var(--soft); }
.cmp-row .us { font-weight: 700; }
.calc { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .7rem; }
.calc h3 { margin: 0 0 .2rem; font-size: 1.35rem; }
.calc-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(12rem, 16rem); grid-template-areas: "label cost" "range pick"; gap: .35rem 1rem; align-items: center; padding: .7rem 0 .1rem; border-top: 1px solid var(--line); }
.calc-row .calc-label { grid-area: label; }
.calc-row .calc-cost { grid-area: cost; }
.calc-row input[type="range"] { grid-area: range; }
.calc-row .calc-pick { grid-area: pick; }
.calc-label { display: flex; align-items: baseline; gap: .7rem; font-weight: 700; }
.calc-n { font-size: 1.2rem; }
.calc input[type="range"] { width: 100%; accent-color: var(--accent); cursor: pointer; margin: 0; height: 1.6rem; }
.calc-pick { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.calc-ico { display: inline-grid; place-items: center; width: 1.4rem; flex: none; }
.calc-model { flex: 1; min-width: 0; padding-top: .38rem; padding-bottom: .38rem; text-overflow: ellipsis; }
.calc-cost { font-weight: 800; color: var(--accent-text); text-align: right; white-space: nowrap; font-size: 1.05rem; }
.calc-sum { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-top: 2px solid var(--text); padding-top: .9rem; margin-top: .3rem; font-weight: 800; font-size: 1.1rem; }
.calc-total { font-size: 2.7rem; letter-spacing: -0.02em; display: inline-block; line-height: 1; }
.bars { display: grid; gap: .55rem; }
.bar-row { display: grid; grid-template-columns: minmax(9rem, 13rem) 1fr minmax(4.8rem, auto); gap: .8rem; align-items: center; font-weight: 700; }
.bar-track { height: .9rem; background: var(--panel-2); border-radius: 99px; overflow: hidden; }
.bar-track i { display: block; height: 100%; width: 100%; background: var(--soft); border-radius: 99px; transform-origin: left center; transform: scaleX(0); transition: transform .8s cubic-bezier(.2, .8, .3, 1); }
.bar-row.us .bar-track i { background: var(--accent); }
.bar-v { text-align: right; font-weight: 800; white-space: nowrap; }
.calc-verdict { margin: .2rem 0 0; font-weight: 700; }
.calc-verdict.warn { color: var(--accent-text); }

/* ---------- builds page, cards ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
.wcard { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .65rem; }
.wcard h3 { margin: 0; font-size: 1.4rem; }
.wcard p { margin: 0; }
.wcard-eg span { font-weight: 800; }
.wcard-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: .8rem; padding-top: .7rem; }
.wcard-price { font-size: 1.35rem; color: var(--accent-text); white-space: nowrap; }
.facts-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.facts-list li { display: flex; gap: .6rem; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.1rem; font-weight: 600; }

/* ---------- guides ---------- */
.guide-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(1.2rem, 3vw, 3rem); align-items: start; }
.guide-tips .lead { color: var(--text); font-weight: 500; margin-bottom: 1.2rem; }
.tips { list-style: none; counter-reset: tip; padding: 0; margin: 0; display: grid; gap: .65rem; }
.tips li { counter-increment: tip; display: grid; grid-template-columns: 2.2rem 1fr; gap: .7rem; align-items: start; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: .95rem 1.1rem; font-weight: 600; }
.tips li::before { content: counter(tip); font-size: 1.6rem; font-weight: 800; color: var(--accent-text); line-height: 1.05; }
.guide-eg { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: 1.3rem; display: flex; flex-direction: column; gap: .85rem; box-shadow: var(--shadow); }
.eg-k { font-weight: 800; color: var(--accent-text); }
.eg-prompt { margin: 0; font-size: 1.15rem; font-weight: 700; line-height: 1.45; }
.eg-result img, .eg-result video { width: 100%; border-radius: 14px; display: block; aspect-ratio: 16 / 10; object-fit: cover; background: var(--panel-2); }
.guide-eg.speech .eg-result, .guide-eg.music .eg-result { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: .8rem 1rem; }
.eg-result .idea-text { background: var(--bg); max-height: 16rem; overflow-y: auto; scrollbar-width: thin; mask-image: linear-gradient(#000 calc(100% - 2.6rem), transparent); padding-bottom: 2rem; }
.eg-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.eg-model { font-weight: 700; }
.eg-model .ai-ico { margin-right: .35rem; }
.guide-cost { color: var(--accent-text); font-weight: 800; }

/* ---------- Telegram ---------- */
.tg { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 6rem); align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 26px; padding: clamp(1.5rem, 4vw, 3.5rem); }
.tg-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.tg-copy .lead { margin: 0; }
.phone { width: min(22rem, 100%); justify-self: center; background: var(--bg); border: 1px solid var(--line); border-radius: 30px; padding: 1rem .9rem 1.3rem; display: flex; flex-direction: column; gap: .55rem; box-shadow: var(--shadow); min-height: 24rem; }
.phone-top { display: flex; justify-content: center; padding: .2rem 0 .6rem; border-bottom: 1px solid var(--line); margin-bottom: .3rem; }
.phone-logo { height: 1.6rem; }
.tg-b { max-width: 85%; padding: .55rem .8rem; border-radius: 14px; font-size: .9rem; line-height: 1.4; }
.tg-b.me { align-self: flex-end; background: var(--text); color: var(--bg); font-weight: 600; border-bottom-right-radius: 4px; }
.tg-b.ai { align-self: flex-start; background: var(--panel-2); border-bottom-left-radius: 4px; }
.tg-b.note { align-self: flex-start; background: var(--accent-fill); color: var(--accent-ink); font-weight: 800; padding: .2rem .6rem; border-radius: 8px; font-size: .82rem; }

/* ---------- questions ---------- */
.faq { display: grid; grid-template-columns: minmax(14rem, 1fr) 2.4fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.faq-side { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; position: sticky; top: 6rem; }
.site .texu-faq { width: 9rem; }
.faq-list { display: flex; flex-direction: column; gap: .6rem; }
.qa { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 0 1.25rem; transition: border-color .2s ease; }
.qa[open] { border-color: var(--accent); }
.qa summary { list-style: none; cursor: pointer; font-weight: 800; font-size: 1.08rem; padding: 1.1rem 2.2rem 1.1rem 0; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; position: absolute; right: .2rem; top: 50%; width: .6rem; height: .6rem; border-right: 2.5px solid var(--text); border-bottom: 2.5px solid var(--text); transform: translateY(-70%) rotate(45deg); transition: transform .25s ease; }
.qa[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.qa p { margin: 0 0 1.15rem; max-width: 52rem; animation: s-open .35s cubic-bezier(.2, .8, .3, 1) both; }

/* ---------- last call ---------- */
.final { margin-top: clamp(4.5rem, 10vh, 8rem); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.2rem; padding: 3rem 1rem 1rem; }
.final h2 { max-width: 40rem; }
.site .texu-final { width: 10rem; }

/* ---------- models ---------- */
.models-tools { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: .4rem; }
.search { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: .7rem 1rem; min-width: 20rem; font-size: 1.02rem; }
.search:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.models-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: .8rem; }
.empty { color: var(--soft); font-weight: 700; display: flex; align-items: center; gap: 1rem; grid-column: 1 / -1; }
.site .texu-empty { width: 6rem; }
.model-hero { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: end; padding: clamp(2.8rem, 7vh, 5rem) 0 0; }
.crumb { color: var(--soft); font-weight: 700; text-decoration: none; display: inline-block; margin-bottom: 1.1rem; }
.crumb:hover { color: var(--text); }
.mh-title { display: flex; align-items: center; gap: 1.1rem; margin-bottom: .7rem; }
.mh-title h1 { margin: 0; }
.mh-logo { width: clamp(4.2rem, 5.4vw, 6.4rem); aspect-ratio: 1; border-radius: 24px; background: var(--panel); border: 1px solid var(--line); display: grid; place-items: center; flex: none; box-shadow: var(--shadow); }
.mh-logo .big-ico { width: 56%; height: 56%; }
.hero-actions { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.hero-price { font-weight: 800; font-size: 1.2rem; color: var(--accent-text); }
.mh-side { position: relative; }
.mh-side > .texu-model { position: absolute; right: 1.4rem; top: 1px; transform: translateY(-80%); width: 6.2rem; }
.model-facts { display: grid; grid-template-columns: auto 1fr; gap: .7rem 1.4rem; margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 1.3rem 1.5rem; }
.model-facts dt { color: var(--soft); font-weight: 700; }
.model-facts dd { margin: 0; font-weight: 800; }
.uses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.use { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .35rem; }
.use b { font-size: 1.15rem; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .8rem; counter-reset: step; }
.steps li { counter-increment: step; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .35rem; }
.steps li::before { content: counter(step); font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--accent-text); margin-bottom: .4rem; }
.steps b { font-size: 1.15rem; }

/* ---------- sign-in ---------- */
.login { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; min-height: calc(100vh - 12rem); padding: 2rem 0; }
.login-card { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; max-width: 36rem; }
.site .texu-login { width: 9rem; margin-bottom: .6rem; }
.login-card h1 { margin-bottom: .2rem; }
.login-facts { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: .5rem; }
.login-facts li { display: flex; gap: .55rem; align-items: flex-start; font-weight: 700; }
.login-wall { columns: 3 10rem; column-gap: .7rem; height: 78vh; overflow: hidden; border-radius: 22px; mask-image: linear-gradient(to bottom, #000 70%, transparent); -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); }
.login-wall img { width: 100%; display: block; border-radius: 16px; margin-bottom: .7rem; }
.site .texu-soon { width: 10rem; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); margin-top: 3rem; padding: 3rem clamp(1rem, 4vw, 4.5rem) 0; overflow: hidden; }
.foot-cols { max-width: 124rem; margin: 0 auto; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.5rem; }
.foot-col { display: flex; flex-direction: column; gap: .5rem; align-items: flex-start; }
.foot-col b { font-size: 1.05rem; margin-bottom: .3rem; }
.foot-col a { color: var(--soft); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: .45rem; }
.foot-col a:hover { color: var(--text); }
.foot-col .foot-ico { width: 1rem; height: 1rem; opacity: .85; }
.foot-bottom { max-width: 124rem; margin: 2.5rem auto 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--soft); font-weight: 600; }
.foot-langs { display: flex; gap: .9rem; flex-wrap: wrap; }
.foot-langs a { color: var(--soft); text-decoration: none; }
.foot-langs a.on, .foot-langs a:hover { color: var(--text); }
.foot-mark { max-width: 124rem; margin: 2rem auto 0; display: flex; justify-content: center; }
.foot-logo { height: auto; width: min(46rem, 66vw); aspect-ratio: 1752 / 683; margin-bottom: -5.4%; opacity: .95; }

/* ---------- motion: each kind of thing moves its own way, once ---------- */
/* Sections fade in as a whole; what is inside moves by its kind. */
.reveal { opacity: 0; transition: opacity .6s ease; }
.reveal.shown { opacity: 1; }
.page-head.reveal, .model-hero.reveal, .login.reveal { opacity: 1; }
/* Until its section is seen, nothing inside has moved yet; then each part starts its move. */
.reveal:not(.shown) :is(.dealt, .slid, .logo-dot, .drift-item) { opacity: 0; animation: none; }
/* Cards are dealt onto the table. */
.dealt { animation: s-deal .6s cubic-bezier(.2, .8, .3, 1) both; animation-delay: calc(var(--i, 0) * 70ms); }
/* Logos pop in. */
.logo-dot { animation: s-pop .5s cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: calc(var(--i, 0) * 60ms + .25s); }
/* Table rows slide in from the left, quickly. */
.slid { animation: s-slide .45s cubic-bezier(.2, .8, .3, 1) both; animation-delay: calc(var(--i, 0) * 40ms); }
/* The first screen: the words rise, the example slides in from the side, Texu drops on its thread. */
.hero-copy > * { animation: s-rise .75s cubic-bezier(.2, .8, .3, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: .1s; }
.hero-copy > :nth-child(3) { animation-delay: .2s; }
.hero .demo { animation: s-side .8s cubic-bezier(.2, .8, .3, 1) .15s both; }
.mh-logo { animation: s-pop .6s cubic-bezier(.3, 1.5, .5, 1) .1s both; }
.mh-title h1, .mh-copy .lead, .mh-copy .hero-actions { animation: s-rise .7s cubic-bezier(.2, .8, .3, 1) both; }
.mh-copy .lead { animation-delay: .08s; }
.mh-copy .hero-actions { animation-delay: .16s; }
.model-facts { animation: s-side .7s cubic-bezier(.2, .8, .3, 1) .12s both; }
.login-card > * { animation: s-rise .7s cubic-bezier(.2, .8, .3, 1) both; }
.login-wall img { animation: s-deal .7s cubic-bezier(.2, .8, .3, 1) both; animation-delay: calc(var(--i, 0) * 90ms + .1s); }
/* The example message with files: the files drop onto it, the question is asked, the tool steps tick
   off one by one, then the charge lands. */
.mock :is(.mock-chip, .mock-q, .mock-steps li, .mock-a) { opacity: 0; }
.mock .mock-foot .tag { opacity: 0; animation: none; }
.mock.in-view .mock-chip { animation: s-drop .5s cubic-bezier(.2, .9, .3, 1.3) both; animation-delay: calc(var(--i, 0) * 170ms + .1s); }
.mock.in-view .mock-q { animation: s-rise .5s ease .65s both; }
.mock.in-view .mock-steps li { animation: s-slide .4s ease both; animation-delay: calc(var(--i, 0) * 420ms + 1.1s); }
.mock.in-view .mock-a { animation: s-msg .5s cubic-bezier(.2, .9, .3, 1.2) 2.5s both; }
.mock.in-view .mock-foot .tag { animation: s-drop .45s cubic-bezier(.2, .9, .3, 1.4) 3.1s both; }
/* Messages arrive in the phone one after another. */
.phone .tg-b { opacity: 0; }
.phone.in-view .tg-b { animation: s-msg .45s cubic-bezier(.2, .9, .3, 1.2) both; animation-delay: calc(var(--i, 0) * 520ms + .2s); }
.prices td.got > * { animation: s-fade .4s ease both; }

@keyframes s-deal { from { opacity: 0; transform: translateY(18px) rotate(-1.2deg) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes s-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes s-slide { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@keyframes s-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes s-side { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes s-drop { from { opacity: 0; transform: translateY(-14px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes s-msg { from { opacity: 0; transform: translateY(10px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes s-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes s-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- smaller screens ---------- */
@media (max-width: 1440px) {
  #nav-signin { display: none !important; }
  .nav { gap: 1rem; }
  .nav-links a { padding: .5rem .62rem; }
}
@media (max-width: 1200px) {
  .ideas-grid { columns: 3 15rem; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .uses, .show-cards.wide, .who-grid, .agent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .recipe { grid-template-columns: repeat(3, minmax(0, 1fr)); background: none; border: 0; gap: .6rem; overflow: visible; }
  .recipe li { border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
  .recipe li:first-child { border-left: 1px solid var(--line); }
  .price-top { grid-template-columns: 1fr 1fr; }
  .price-top .buys { grid-row: span 2; grid-column: 2; }
  .compare-grid { grid-template-columns: 1fr; }
  .cards3 { grid-template-columns: 1fr; }
  .build-run { grid-template-columns: 1fr; }
  .build-result { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: .9rem; }
  .build-result .btn { margin: 0 0 0 auto; align-self: center; }
}
/* The header turns into a menu button before its links and switches run out of room. */
@media (max-width: 1100px) {
  .nav { grid-template-columns: auto 1fr auto; gap: 1rem; }
  .nav-links, .nav-end { display: none; }
  .menu-btn { display: block; justify-self: end; }
  body.menu-open .nav-links, body.menu-open .nav-end { display: flex; grid-column: 1 / -1; }
  body.menu-open .nav-links { flex-direction: column; align-items: stretch; }
  body.menu-open .nav-links a { padding: .8rem .9rem; font-size: 1.08rem; }
  body.menu-open .nav-end { flex-wrap: wrap; padding-bottom: .6rem; }
  body.menu-open #nav-signin { display: inline-block !important; }
}
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; padding-top: 2.5rem; }
  .hero .demo { margin-top: 4.5rem; }
  .show-panel, .pricing, .tg, .faq, .model-hero, .login, .tools-grid, .guide-grid, .two-col { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  .login-wall { display: none; }
  .team { flex-direction: column; align-items: flex-start; }
  .mh-side > .texu-model { display: none; }
}
@media (max-width: 700px) {
  .bar { padding: .5rem 2.6rem .5rem 1rem; font-size: .88rem; flex-wrap: wrap; gap: .5rem; }
  .hero h1 { font-size: 2.3rem; }
  .hero .lead { font-size: 1.08rem; }
  .signin-block .signin .btn { width: 100%; }
  .ideas-grid { columns: 1; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat b { font-size: 2.1rem; }
  .stat .logos { display: none; }
  .steps, .facts-list, .show-cards, .show-cards.wide, .uses { grid-template-columns: 1fr; }
  .recipe { grid-template-columns: 1fr 1fr; }
  .recipe li { padding: .9rem 1rem; }
  .recipe li:last-child { grid-column: 1 / -1; }
  /* On a phone, rows of cards become a strip you swipe, so the page stays short. */
  .who-grid, .agent-grid, .places, .cards3 { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: .7rem; margin-left: calc(-1 * clamp(1rem, 4vw, 4.5rem)); margin-right: calc(-1 * clamp(1rem, 4vw, 4.5rem)); padding: .3rem clamp(1rem, 4vw, 4.5rem) 1rem; scroll-padding: 0 clamp(1rem, 4vw, 4.5rem); }
  .who-grid::-webkit-scrollbar, .agent-grid::-webkit-scrollbar, .places::-webkit-scrollbar, .cards3::-webkit-scrollbar { display: none; }
  .who-grid > *, .agent-grid > *, .places > *, .cards3 > * { scroll-snap-align: start; }
  .ideas-grid.home-ideas .idea:nth-child(n+5) { display: none; }
  .price-tabs tbody tr:nth-child(n+6) { display: none; }
  .mock-top b { white-space: nowrap; }
  .mock-price { font-size: .82rem; }
  .facts { grid-template-columns: 1fr 1fr; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .buy { grid-template-columns: 5.8rem 1fr; }
  .search { min-width: 0; width: 100%; }
  .price-top { grid-template-columns: 1fr; }
  .price-top .buys { grid-row: auto; grid-column: auto; }
  .build-steps { grid-template-columns: 1fr; }
  .build-run { padding-top: 1.2rem; }
  .build-run > .texu-walker { display: none; }
  .build-result .btn { margin: .6rem 0 0; width: 100%; }
  .p-pics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc { padding: 1.1rem; }
  .calc-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label cost" "range range" "pick pick"; }
  .bar-row { grid-template-columns: 1fr auto; }
  .bar-row .bar-track { grid-column: 1 / -1; grid-row: 2; }
  .calc-total { font-size: 2.1rem; }
  .cmp-head { display: none; }
  .cmp-row { grid-template-columns: 1fr 1fr; gap: .3rem .9rem; }
  .cmp-row .cmp-k { grid-column: 1 / -1; }
  .cmp-row > span[data-k]::before { content: attr(data-k); display: block; font-size: .82rem; font-weight: 800; color: var(--soft); }
  .cmp-row > span.us[data-k]::before { color: var(--accent-text); }
  .mh-title { flex-direction: column; align-items: flex-start; }
  /* Tables become one card per model, each number with its label. */
  .eg-foot .btn { width: 100%; }
  .agent-top, .who-top { gap: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; }
  .reveal:not(.shown) :is(.dealt, .slid, .logo-dot, .drift-item) { opacity: 1; }
  .mock :is(.mock-chip, .mock-q, .mock-steps li, .mock-a), .mock .mock-foot .tag, .phone .tg-b { opacity: 1; }
  .texu-walker, .build-step, .build-result, .bar-track i { transition: none; }
  .build-result { transform: none; }
}

/* Texu's body is filled with the colour behind it (texu.css); on a panel that is the panel colour. */
.place .texu, .welcome .texu, .build-panel .texu, .mock .texu { --texu-fill: var(--panel); }
.place.later .texu { --texu-fill: var(--bg); }
/* style.css gives .chip a column layout for the app's spending chips; the site's chips are one line. */
.site .chip { display: inline-flex; flex-direction: row; align-items: center; animation: none; }
/* Right under a page's title, the first block starts closer. */
.page-head + .block { margin-top: clamp(2rem, 5vh, 3.2rem); }
/* On a model's own page, its row stands out in the table. */
.prices tbody tr.mine { background: color-mix(in srgb, var(--accent) 9%, var(--panel)); }
.prices tbody tr.mine td.m b { color: var(--accent-text); }
.price-foot { display: flex; justify-content: space-between; align-items: center; gap: .8rem 1.4rem; flex-wrap: wrap; margin-top: .4rem; }
.price-foot .cur-note { margin-top: .5rem; }
.calc-go { align-self: flex-start; margin-top: .3rem; }

/* ---------- each place shows a small live preview of itself ---------- */
.pv { height: 7.6rem; border-radius: 14px; padding: .75rem .85rem; display: flex; flex-direction: column; gap: .45rem; margin-bottom: .7rem; overflow: hidden; border: 1px solid var(--line); background: var(--bg); font-size: .84rem; line-height: 1.35; }
.pv-dots { display: flex; gap: .3rem; margin-bottom: .1rem; }
.pv-dots i { width: .5rem; height: .5rem; border-radius: 50%; background: var(--line); }
.pv-line { max-width: 88%; padding: .4rem .6rem; border-radius: 10px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.pv-line.me { align-self: flex-end; background: var(--text); color: var(--bg); font-weight: 600; }
.pv-line.ai { align-self: flex-start; background: var(--panel-2); }
.pv-tg { background: color-mix(in srgb, var(--accent) 6%, var(--bg)); justify-content: flex-end; }
.pv-cli { background: #15171c; border-color: #15171c; color: #f2f0ea; justify-content: center; }
.pv-cli .pv-line { max-width: 100%; padding: 0; border-radius: 0; background: none; }
.pv-cli .cmd b { color: var(--accent); margin-right: .15rem; }
.pv-cli .dim { color: #a3a097; }
.place.later .pv { opacity: .75; }
.pv .pv-line { opacity: 0; transform: translateY(6px); }
.pv.pv-on .pv-line { animation: pv-in .5s cubic-bezier(.2, .8, .3, 1) both; }
.pv.pv-on .pv-line + .pv-line { animation-delay: .75s; }
@keyframes pv-in { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pv .pv-line { opacity: 1; transform: none; } }
/* Switching the kind in "Text, pictures, video…": the left side rises in, the cards are dealt again. */
.show-panel.swap .show-copy > * { animation: s-rise .5s cubic-bezier(.2, .8, .3, 1) both; }
.show-panel.swap .show-copy > :nth-child(2) { animation-delay: .05s; }
.show-panel.swap .show-copy > :nth-child(n+3) { animation-delay: .1s; }

/* Price tables turn into cards up to tablet width, where five columns no longer fit. */
@media (max-width: 820px) {
  .tbl { border: 0; background: none; overflow: visible; border-radius: 0; }
  table.prices, .prices tbody { display: block; }
  .prices thead { display: none; }
  .prices tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem .9rem; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: .9rem 1rem; margin-bottom: .6rem; }
  .prices tbody tr:hover { background: var(--panel); }
  .prices td { border: 0 !important; padding: 0; display: flex; flex-direction: column; text-align: left !important; white-space: normal; }
  .prices td.m { grid-column: 1 / -1; padding-bottom: .35rem; }
  .prices td[data-label]::before { content: attr(data-label); font-size: .82rem; font-weight: 700; color: var(--soft); }
  .prices td.na { display: none; }
  .prices td.txt { text-align: left; }
}
@media (min-width: 701px) and (max-width: 820px) {
  .prices tbody tr { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* Links in the footer and small text links get a finger-sized height on touch screens. */
@media (max-width: 820px) {
  .foot-col a, .foot-langs a, .crumb { padding: .3rem 0; }
  .foot-col { gap: .1rem; }
}

/* ==========================================================================================
   Variety: full-width bands (dark, a playing clip, orange), a wall of real results, a fan of
   pictures, agents in their own colours, the highlighted price card, a web spun at the end.
   ========================================================================================== */

/* Wide bits reach the window edges without widening the page. */
body { overflow-x: clip; }

/* A band paints its colour from window edge to window edge (border-image does not widen the page). */
.band { position: relative; padding-block: clamp(3.2rem, 8vh, 6.5rem); background-color: var(--band-bg); border-image: conic-gradient(var(--band-bg) 0 0) fill 0 / / 0 100vw; }
.block.band { margin-top: clamp(4.5rem, 10vh, 8rem); }
.band + .band, .band + .block { margin-top: clamp(2.5rem, 5vh, 4rem); }

/* The dark band: ink in the light theme, deeper than the page in the dark one. */
.band.ink { --band-bg: #101115; --bg: #101115; --panel: #181a20; --panel-2: #20232a; --hover: #282c35; --line: #2d313b; --text: #f2f0ea; --soft: #c9c6bd; --accent-text: #ff9c74; --spider: #e2683f; color: var(--text); color-scheme: dark; }
:root[data-theme="dark"] .band.ink { --band-bg: #050608; --bg: #050608; --panel: #0f1115; --panel-2: #171a20; --line: #23272f; --accent-text: #ffcf5c; --spider: #ffcf5c; }
.band.ink .ai-ico.mono { filter: invert(.93); }
.band.ink .chip { background: var(--panel); color: var(--soft); border-color: var(--line); }
.band.ink .chip.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.band.ink .more { color: var(--text); }

/* ---------- the wall ---------- */
.wall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(9rem, 10.5vw, 15.5rem); grid-auto-flow: dense; gap: .7rem; margin-top: 1.2rem; }
.tile { position: relative; overflow: hidden; border-radius: 18px; background: var(--panel); outline: none; isolation: isolate; }
.tile.big { grid-column: span 2; grid-row: span 2; }
.tile.wide { grid-column: span 2; }
.tile.tall { grid-row: span 2; }
.tile-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s cubic-bezier(.2, .8, .3, 1), filter 1.2s ease, opacity .8s ease; }
.tile:hover .tile-media, .tile:focus-visible .tile-media { transform: scale(1.045); }
.tile:focus-visible { box-shadow: 0 0 0 3px var(--accent); }
/* The price is always on the tile: that is the point of the site. */
.tile-tag { position: absolute; right: .55rem; top: .55rem; z-index: 2; background: rgba(13, 14, 17, .72); color: #f7f4ee; font-weight: 800; font-size: .82rem; padding: .22rem .55rem; border-radius: 8px; backdrop-filter: none; }
.tile-kind { position: absolute; left: .55rem; top: .55rem; z-index: 2; background: var(--accent-fill); color: var(--accent-ink); font-weight: 800; font-size: .78rem; padding: .2rem .55rem; border-radius: 8px; }
:root:not([data-theme="dark"]) .band.ink .tile-kind { background: #b5462a; color: #fffaf5; }
.tile-info { position: absolute; inset: auto 0 0 0; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .1rem .7rem; padding: 2.6rem .9rem .8rem; background: linear-gradient(transparent, rgba(5, 6, 8, .8)); color: #f7f4ee; opacity: 0; transform: translateY(10px); transition: opacity .25s ease, transform .35s cubic-bezier(.2, .8, .3, 1); }
.tile:hover .tile-info, .tile:focus-within .tile-info { opacity: 1; transform: none; }
.tile-info b { grid-column: 1; font-size: 1rem; line-height: 1.25; }
.tile-model { grid-column: 1; display: flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .86rem; opacity: .9; }
.tile-model .ai-ico.mono { filter: invert(.93); }
.tile-info .btn { grid-column: 2; grid-row: 1 / span 2; }
@media (hover: none) { .tile-info { opacity: 1; transform: none; } }
/* Sound and text tiles show what they are without a picture. */
.tile-sound { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: .8rem; padding: 1.1rem 1.2rem 3.4rem; background: linear-gradient(135deg, var(--panel-2), var(--panel)); }
.tile-sound b { font-size: 1.15rem; }
.tile-sound .player { width: 100%; }
.tile.k-speech .tile-sound, .tile.k-music .tile-sound { padding-bottom: 1.1rem; }
.tile.k-speech .tile-info, .tile.k-music .tile-info, .tile.k-chat .tile-info { background: linear-gradient(transparent, var(--panel) 45%); color: var(--text); }
.tile.k-speech .tile-info b, .tile.k-music .tile-info b { display: none; }
.tile-text { position: absolute; inset: 0; display: flex; flex-direction: column; gap: .7rem; padding: 2.4rem 1rem 1rem; }
.tile-q { align-self: flex-end; max-width: 92%; background: var(--text); color: var(--bg); font-weight: 700; font-size: .88rem; line-height: 1.35; padding: .55rem .75rem; border-radius: 12px 12px 4px 12px; }
.tile-answer { margin: 0; font-size: .86rem; line-height: 1.45; white-space: pre-line; color: var(--soft); overflow: hidden; mask-image: linear-gradient(#000 55%, transparent); flex: 1; }
.wall .tile.dealt { animation-name: s-tile; animation-duration: .7s; }
@keyframes s-tile { from { opacity: 0; transform: translateY(26px) scale(.96); } }
@media (max-width: 1200px) { .wall { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(9rem, 15vw, 14rem); } }
@media (max-width: 700px) {
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 10.5rem; gap: .5rem; }
  .tile.tall { grid-row: span 2; }
}
/* On a touch screen a tile is the picture, its price and its model; tapping it opens the idea. */
@media (max-width: 700px), (hover: none) {
  .tile .tile-info { padding: 1.6rem .55rem .5rem; grid-template-columns: minmax(0, 1fr); }
  .tile .tile-info b, .tile .tile-info .btn { display: none; }
  .tile-model { font-size: .78rem; }
  .tile-sound { padding: .8rem .8rem 2.4rem; gap: .5rem; }
  .tile-sound b { font-size: .95rem; }
  .tile.k-chat .tile-text { padding-bottom: 2.6rem; }
}

/* ---------- the clip banner ---------- */
.promo { --band-bg: #0b0c0f; min-height: clamp(26rem, 62vh, 44rem); display: flex; align-items: center; color: #f7f4ee; overflow: visible; }
.promo-back { position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); width: 100vw; overflow: hidden; z-index: 0; }
.promo-media { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.04); }
.promo-back::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 9, 11, .88) 0%, rgba(8, 9, 11, .62) 38%, rgba(8, 9, 11, .1) 75%); }
.promo-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; max-width: 40rem; }
.promo-k { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; letter-spacing: .02em; }
.promo .logos .logo-dot { background: #f7f4ee; }
.promo h2 { font-size: clamp(2.4rem, 4.2vw, 4.6rem); line-height: 1.02; letter-spacing: -0.035em; margin: 0; }
.promo-lead { margin: 0; font-size: 1.2rem; line-height: 1.5; color: #e6e2d9; max-width: 34rem; }
.promo-row { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; margin-top: .4rem; }
.promo-note { font-weight: 700; color: #d8d3c8; font-size: .95rem; }
.promo .h-thread path { stroke: #e2683f; }
:root[data-theme="dark"] .promo .h-thread path { stroke: #ffcf5c; }

/* ---------- a fan of pictures in "Text, pictures, video…" ---------- */
.p-fan { position: relative; height: clamp(12rem, 15vw, 17rem); overflow: visible; margin: .4rem 0 .6rem; }
.p-fan .fan-card { position: absolute; top: 8%; left: calc(var(--i) * 19% + 3%); width: 40%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; border: 4px solid var(--panel); box-shadow: 0 14px 30px rgba(40, 25, 10, .18); transform: rotate(calc((var(--i) - 1.5) * 6deg)) translateY(calc(var(--i) * var(--i) * 1.5px - 4px)); transition: transform .4s cubic-bezier(.2, .8, .3, 1); }
.reveal:not(.shown) .p-fan .fan-card { opacity: 0; }
.reveal.shown .p-fan .fan-card, .show-panel.swap .p-fan .fan-card { animation: s-fan .8s cubic-bezier(.2, .9, .3, 1.15) both; animation-delay: calc(var(--i) * 90ms); }
@keyframes s-fan { from { opacity: 0; transform: translate(40%, 30%) rotate(18deg) scale(.8); } }

/* ---------- agents in their own colours ---------- */
.agent { border-top: 5px solid var(--c, var(--accent)); }
.agent .glyph.g-big { background: var(--c, var(--accent)); color: #fff; }
.agent .starter-link:hover { border-color: var(--c); }

/* ---------- the highlighted price card ---------- */
.buys.hl { background: var(--accent-fill); color: var(--accent-ink); border-color: transparent; box-shadow: 0 22px 50px color-mix(in srgb, var(--accent) 30%, transparent); }
.buys.hl h3, .buys.hl .buy, .buys.hl .buy span, .buys.hl .buy-n { color: var(--accent-ink); }
.buys.hl .buy { border-color: color-mix(in srgb, var(--accent-ink) 22%, transparent); }
.buys.hl .buy:hover { background: color-mix(in srgb, var(--accent-ink) 10%, transparent); }
.buys.hl .ai-ico { background: #fbfaf6; border-radius: 6px; padding: 2px; }

/* ---------- the last band: orange, a web, Texu on its thread ---------- */
.final.band.accent { --band-bg: var(--accent-fill); --text: var(--accent-ink); --spider: var(--accent-ink); --texu-fill: var(--accent-fill); color: var(--accent-ink); margin-top: clamp(4.5rem, 10vh, 8rem); padding: clamp(4rem, 11vh, 7.5rem) 1rem; overflow: visible; }
.final.band.accent h2 { color: var(--accent-ink); font-size: clamp(2.2rem, 3.6vw, 4.2rem); max-width: 46rem; position: relative; z-index: 1; }
.final-sub { margin: 0; font-size: 1.2rem; font-weight: 600; opacity: .92; position: relative; z-index: 1; max-width: 36rem; }
.final-btn { background: #0d0e11; color: #f7f4ee; position: relative; z-index: 1; }
.final-btn:hover { background: #24262c; }
.final .web { position: absolute; top: 0; right: calc(50% - 50vw); width: min(46vw, 40rem); height: 100%; pointer-events: none; overflow: hidden; }
.web path { fill: none; stroke: var(--accent-ink); stroke-width: 1.4; stroke-linecap: round; opacity: .42; stroke-dasharray: 1; stroke-dashoffset: 1; }
.web .web-spiral { stroke-width: 1.1; opacity: .5; }
.final.spun .web-spoke { transition: stroke-dashoffset 1s cubic-bezier(.6, 0, .3, 1); transition-delay: var(--d); stroke-dashoffset: 0; }
.final.spun .web-spiral { transition: stroke-dashoffset 2.4s cubic-bezier(.5, 0, .3, 1) .5s; stroke-dashoffset: 0; }
.final-hang { position: absolute; top: 0; right: clamp(8%, 14vw, 18rem); height: 0; z-index: 1; }
.final-hang .texu { width: clamp(6rem, 7vw, 8.5rem); transform: translateY(-140%); opacity: 0; }
.final.spun .final-hang .texu { animation: s-hang 1.6s cubic-bezier(.25, 1.35, .45, 1) 1.2s both; }
@keyframes s-hang { from { transform: translateY(-140%); opacity: 0; } 25% { opacity: 1; } to { transform: translateY(clamp(5rem, 14vh, 9rem)); opacity: 1; } }
.final-hang .tx-thread { opacity: .9; }
@media (max-width: 1000px) { .final-hang { right: 6%; } .final-hang .texu { width: 5rem; } }
@media (max-width: 700px) { .final .web { width: 80vw; opacity: .7; } .final-hang { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .web path { stroke-dashoffset: 0; transition: none !important; }
  .final-hang .texu { transform: translateY(6rem); opacity: 1; animation: none !important; }
  .p-fan .fan-card { animation: none !important; opacity: 1 !important; }
}
/* Texu's thread in the last band grows as it comes down (the drawn thread inside Texu is too short). */
.final-hang { width: clamp(6rem, 7vw, 8.5rem); }
.final-hang .tx-thread { opacity: 0 !important; }
.final-hang::before { content: ''; position: absolute; left: calc(50% - 1px); top: 0; width: 2px; height: calc(clamp(5rem, 14vh, 9rem) + 1.2rem); background: var(--accent-ink); opacity: .85; transform: scaleY(0); transform-origin: top; }
.final.spun .final-hang::before { animation: s-line 1.6s cubic-bezier(.25, 1.35, .45, 1) 1.2s both; }
@keyframes s-line { to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .final-hang::before { transform: none; animation: none !important; } }
.tile-info .btn { background: var(--accent-fill); color: var(--accent-ink); border-color: transparent; }
:root:not([data-theme="dark"]) .band.ink .tile-info .btn { background: #c65332; color: #fffaf5; }

/* ---------- why Texu costs less: four reasons, each proved by its big figure ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; }
.why-card { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 1.4rem 1.4rem 1.3rem; display: flex; flex-direction: column; gap: .55rem; min-height: 15.5rem; }
.why-card h3 { margin: .35rem 0 0; font-size: 1.28rem; line-height: 1.2; letter-spacing: -0.01em; }
.why-card p { margin: 0; color: var(--soft); line-height: 1.45; }
.why-card .logos, .why-card .more { margin-top: auto; padding-top: .5rem; }
.why-fig { font-weight: 800; letter-spacing: -0.035em; line-height: 1; min-height: 3.6rem; display: flex; align-items: flex-end; flex-wrap: wrap; gap: .1rem .6rem; }
.why-all .why-fig { font-size: clamp(3.4rem, 5vw, 5.6rem); padding-bottom: .14em; }
.why-cheap .why-fig { font-size: clamp(2rem, 2.7vw, 3rem); color: var(--accent-text); }
/* The library card is the dark one: the sum of subscriptions crossed out, then nothing a month. */
.why-library { background: #101115; border-color: #101115; color: #f2f0ea; }
.why-library p { color: #c9c6bd; }
.why-library .more { color: #f2f0ea; }
.why-old { font-size: clamp(1.4rem, 1.9vw, 2rem); color: #a3a097; text-decoration: line-through; text-decoration-color: #e2683f; text-decoration-thickness: 3px; }
.why-new { font-size: clamp(2.6rem, 3.6vw, 4rem); color: #ff9c74; }
:root[data-theme="dark"] .why-library { background: #f2f0ea; border-color: #f2f0ea; color: #0d0e11; }
:root[data-theme="dark"] .why-library p, :root[data-theme="dark"] .why-library .more { color: #3d3a34; }
:root[data-theme="dark"] .why-old { color: #6b675f; text-decoration-color: #c65332; }
:root[data-theme="dark"] .why-new { color: #a9432a; }
/* The fourth shows the thing itself: the price written on the button. */
.why-btn { display: inline-flex; align-items: center; background: var(--accent-fill); color: var(--accent-ink); font-size: 1.05rem; font-weight: 800; letter-spacing: 0; padding: .75rem 1.1rem; border-radius: 14px; box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 28%, transparent); }
.reveal.shown .why-btn { animation: why-press 2.6s ease-in-out 1.2s 2; }
@keyframes why-press { 0%, 70%, 100% { transform: none; } 78% { transform: scale(.94); } 86% { transform: scale(1.02); } }
@media (max-width: 1200px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: minmax(0, 1fr); } .why-card { min-height: 0; } }

/* ---------- what all of it costs as subscriptions ---------- */
.lib { display: grid; grid-template-columns: minmax(0, 1fr) clamp(18rem, 26vw, 25rem); gap: 1rem; align-items: start; }
.lib-list { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: .4rem 1.2rem; }
.lib-row { display: grid; grid-template-columns: minmax(12rem, 16rem) minmax(0, 1fr) auto; gap: .8rem 1.2rem; align-items: center; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.lib-row:last-child { border-bottom: 0; }
.lib-who { display: flex; align-items: center; gap: .7rem; }
.lib-who span { display: flex; flex-direction: column; line-height: 1.25; }
.lib-who small { color: var(--soft); font-weight: 600; }
.site .lib-ico { width: 1.8rem; height: 1.8rem; }
.lib-models { gap: .35rem; }
.lib-models .pill { font-size: .86rem; }
.lib-price { font-weight: 800; font-size: 1.12rem; color: var(--soft); white-space: nowrap; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.lib-sum { position: sticky; top: 6rem; background: #101115; color: #f2f0ea; border-radius: 22px; padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.lib-total, .lib-us { display: flex; flex-direction: column; gap: .2rem; }
.lib-total span, .lib-us span { font-weight: 700; color: #c9c6bd; }
.lib-total s { font-size: clamp(1.8rem, 2.4vw, 2.6rem); font-weight: 800; color: #a3a097; text-decoration-color: #e2683f; text-decoration-thickness: 3px; }
.lib-us b { font-size: clamp(2.6rem, 3.6vw, 4rem); line-height: 1; color: #ff9c74; letter-spacing: -0.03em; }
.lib-note { margin: 0; color: #e6e2d9; line-height: 1.45; }
.lib-sum .btn { align-self: stretch; text-align: center; }
:root[data-theme="dark"] .lib-sum { background: #f2f0ea; color: #0d0e11; }
:root[data-theme="dark"] .lib-total span, :root[data-theme="dark"] .lib-us span { color: #3d3a34; }
:root[data-theme="dark"] .lib-total s { color: #6b675f; text-decoration-color: #c65332; }
:root[data-theme="dark"] .lib-us b { color: #a9432a; }
:root[data-theme="dark"] .lib-note { color: #2b2924; }
.lib-src { margin-top: .9rem; }
@media (max-width: 1100px) { .lib { grid-template-columns: minmax(0, 1fr); } .lib-sum { position: static; } }
@media (max-width: 700px) {
  .lib-row { grid-template-columns: minmax(0, 1fr) auto; }
  .lib-models { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- top-ups and the subscription with a bonus ---------- */
.sub-h { display: flex; align-items: center; gap: .6rem; margin: 1.1rem 0 .5rem; font-size: 1.1rem; }
.soon-tag { font-size: .75rem; font-weight: 800; padding: .15rem .5rem; border-radius: 7px; background: var(--panel-2); color: var(--soft); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.plan { position: relative; background: var(--panel-2); border: 1px solid var(--line); border-radius: 14px; padding: .7rem .75rem; display: flex; flex-direction: column; gap: .15rem; }
.plan b { font-size: 1.02rem; }
.plan span { color: var(--soft); font-weight: 600; font-size: .86rem; }
.plan em { position: absolute; top: -.55rem; right: .5rem; font-style: normal; font-weight: 800; font-size: .76rem; background: var(--accent-fill); color: var(--accent-ink); padding: .1rem .45rem; border-radius: 7px; }
@media (max-width: 560px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.lib-price.free { text-decoration: none; color: var(--plus); }
.lib-price.payg { text-decoration: none; color: var(--soft); font-size: .95rem; }
.lib-row.payg .lib-who b { font-size: .98rem; }

/* The two sums (cheapest plans, full access), each a month and a year; a row's full-access plan under its price. */
.lib-prices { display: flex; flex-direction: column; align-items: flex-end; gap: .15rem; }
.lib-full { color: var(--soft); font-weight: 700; font-size: .82rem; white-space: nowrap; }
.lib-full s { text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.lib-total .lib-year { font-size: 1.05rem; font-weight: 700; color: #a3a097; }
.lib-total.full { padding-top: .8rem; border-top: 1px solid rgba(242, 240, 234, .14); }
.lib-total.full > s:not(.lib-year) { font-size: clamp(2rem, 2.8vw, 3rem); }
:root[data-theme="dark"] .lib-total .lib-year { color: #6b675f; }
:root[data-theme="dark"] .lib-total.full { border-top-color: rgba(13, 14, 17, .14); }
@media (max-width: 700px) { .lib-prices { align-items: flex-start; } }

.stars-go { align-self: flex-start; margin-top: .7rem; }

/* In the narrow top-ups column the three plans read as rows: the monthly price on the left, what
   lands on the balance on the right; three cards side by side only where the box is wide. */
.topups-box { container-type: inline-size; }
.soon-tag { white-space: nowrap; }
@container (max-width: 460px) {
  .plans { grid-template-columns: minmax(0, 1fr); gap: .45rem; }
  .plan { flex-direction: row; align-items: baseline; justify-content: space-between; gap: .6rem; padding: .6rem .8rem; flex-wrap: wrap; }
  .plan span { text-align: right; }
  .plan em { position: static; order: -1; }
  .plan b { margin-right: auto; }
}

/* On a phone a row's prices go under the name (they were pushing over it). */
@media (max-width: 560px) {
  .lib-row { grid-template-columns: minmax(0, 1fr); gap: .5rem; }
  .lib-prices { align-items: flex-start; }
  .lib-full { white-space: normal; }
  .lib-row > .lib-prices, .lib-row > .lib-price { grid-row: 2; }
  .lib-models { grid-row: 3; }
}

/* The crossed-out yearly sum stands above the zero, with room between them, in every language. */
.why-library .why-fig { flex-direction: column; align-items: flex-start; justify-content: flex-end; row-gap: .4rem; }
.why-library .why-old { line-height: 1.1; }
.lib-us { gap: .5rem; }

/* A long button text (French, Spanish) wraps instead of pushing the first screen wider than a phone. */
.hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
@media (max-width: 1000px) { .hero { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) { .signin-block .signin .btn { display: block; text-align: center; white-space: normal; text-wrap: balance; } }

/* Without motion the steps never light up one by one, so they are shown lit. */
@media (prefers-reduced-motion: reduce) { .build-n { color: var(--accent-text); } }
/* The crossed-out sum and the zero: a clear gap between their lines. */
.why-library .why-fig { row-gap: 1.1rem; }
.foot-legal { display: flex; gap: .4rem 1.1rem; flex-wrap: wrap; }
.foot-legal a { color: var(--soft); text-decoration: none; display: inline-block; padding: .25rem 0; }
.foot-legal a:hover { color: var(--text); text-decoration: underline; }
.google-btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; text-decoration: none; }
.google-btn .g-mark { width: 1.15rem; height: 1.15rem; flex: none; }
/* Came by a friend's link (/?ref=...): what it brings, above the sign-in form. */
.signin-invited { margin: 0 0 .7rem; padding: .55rem .85rem; border-radius: 10px; font-weight: 700; background: color-mix(in srgb, var(--plus) 12%, var(--panel)); color: var(--plus); border: 1px solid color-mix(in srgb, var(--plus) 30%, var(--line)); }
/* On a phone the model and its price take two lines in every scene, so the card's height stays put. */
@media (max-width: 560px) {
  .demo-bar { flex-direction: column; align-items: flex-start; gap: .45rem; }
  .demo-model { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .demo-price { white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 360px) { .demo-body { height: 25.5rem; } }
/* The model, its price and the balance are filled in a moment after the page opens; their room is
   kept from the start so the card (and the heading beside it) does not grow when they arrive. */
.demo-model, .demo-price { min-height: 1.9rem; }
.demo-price { display: inline-flex; align-items: center; }
.demo-price:empty { visibility: hidden; }
.demo-foot { align-items: center; }
.demo-foot strong { display: block; line-height: 1.3; min-height: 1.3em; }
.demo-rest { visibility: hidden; }
.tag.wait { visibility: hidden; animation: none; }
/* The typing caret floats after the words without taking room, so a line never wraps because of it. */
.demo .bubble.ai { position: relative; }
.demo .bubble.ai .caret::after { position: absolute; }

/* ---------- LITE home: one field, free answers, eight tasks (site.js liteHero) ---------- */
.nav-links a.nav-pro { color: var(--text); border: 1px solid var(--line); margin-left: .3rem; letter-spacing: .04em; }
.nav-links a.nav-pro:hover { border-color: var(--text); }
.lite-hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(3.4rem, 10vh, 7rem) 0 .5rem; }
.lite-hero h1 { font-size: clamp(2.5rem, 3.9vw, 4.8rem); letter-spacing: -0.035em; line-height: 1.04; margin: 0; max-width: 18ch; }
.lite-hero .lead { font-size: clamp(1.1rem, 1.05vw, 1.3rem); max-width: 48rem; margin: 1rem auto 0; }
.ask { position: relative; width: min(100%, 64rem); margin-top: clamp(2.6rem, 6vh, 3.6rem); background: var(--panel); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: 1.15rem 1.1rem .9rem 1.4rem; text-align: left; transition: border-color .2s ease, box-shadow .2s ease; }
.ask:focus-within { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.ask > .texu-hello { position: absolute; right: -1rem; left: auto; bottom: calc(100% - .55rem); width: clamp(5.6rem, 6.4vw, 8rem); z-index: 2; }
/* Its thread runs up beside the text; where the text is as wide as the field, it would cross it. */
@media (max-width: 1000px) { .ask > .texu-hello { right: 1.2rem; } .ask > .texu-hello .tx-thread { display: none; } }
.ask-field { display: block; width: 100%; border: 0; background: transparent; color: var(--text); font: inherit; font-size: clamp(1.15rem, 1.1vw, 1.32rem); line-height: 1.45; resize: none; outline: none; min-height: 2.2em; max-height: 260px; padding: .2rem 0; }
.ask-field::placeholder { color: color-mix(in srgb, var(--soft) 70%, transparent); }
.ask-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .55rem; }
.ask-note { color: var(--soft); font-weight: 700; font-size: .95rem; }
.ask-tools { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.ask-tools .ask-note { margin-left: .4rem; }
.ask .cf-btn { width: 2.75rem; height: 2.75rem; border-radius: 13px; }
.ask .cf-btn .i { width: 1.3rem; height: 1.3rem; }
.ask .mic-btn.rec { width: auto; }
.ask-files { padding: .1rem 0 .8rem; }
.ask.drag { border-color: var(--accent); }
.ask.drag::after { content: attr(data-drop); position: absolute; inset: -1px; z-index: 3; display: grid; place-items: center; padding: 1rem; text-align: center; border: 2px dashed var(--accent); border-radius: inherit; background: color-mix(in srgb, var(--panel) 90%, transparent); color: var(--text); font-weight: 800; font-size: 1.15rem; pointer-events: none; animation: drop .2s ease both; }
.ask-send { min-width: 9.5rem; font-size: 1.05rem; padding-block: .8rem; }
.ask-examples { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; margin-top: 1.1rem; width: min(100%, 64rem); }
.ask-examples .chip { margin: 0; color: var(--text); }
.ask-examples .chip:hover { border-color: var(--text); }
.ask-ex-label { color: var(--soft); font-weight: 700; margin-right: .2rem; }
.ask-thread { display: flex; flex-direction: column; gap: .75rem; width: min(100%, 64rem); margin-top: 1.4rem; text-align: left; }
.ask-q { align-self: flex-end; background: var(--text); color: var(--bg); font-weight: 600; padding: .75rem 1.05rem; border-radius: 18px 18px 5px 18px; max-width: 85%; white-space: pre-wrap; animation: drop .35s cubic-bezier(.2, .9, .3, 1.2) both; }
.ask-a { align-self: flex-start; background: var(--panel); border: 1px solid var(--line); padding: 1rem 1.2rem .8rem; border-radius: 18px 18px 18px 5px; max-width: 92%; animation: drop .35s cubic-bezier(.2, .9, .3, 1.2) .08s both; }
.ask-a-body > :first-child { margin-top: 0; }
.ask-a-body > :last-child { margin-bottom: 0; }
.ask-wait { color: var(--soft); font-weight: 600; animation: ask-pulse 1.2s ease-in-out infinite; }
@keyframes ask-pulse { 50% { opacity: .45; } }
.ask-meta { color: var(--soft); font-size: .85rem; font-weight: 700; margin-top: .55rem; }
.ask-meta:empty { display: none; }
.ask-err { color: var(--accent-text); font-weight: 700; }
.ask-cta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1rem 1.2rem; border-radius: 18px; background: color-mix(in srgb, var(--accent) 12%, var(--panel)); border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); font-weight: 700; animation: drop .4s cubic-bezier(.2, .9, .3, 1.2) both; }
.tasks-head { margin: clamp(2.6rem, 6vh, 3.8rem) 0 0; font-size: 1.05rem; font-weight: 800; color: var(--soft); letter-spacing: 0; scroll-margin-top: 7rem; }
.tasks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; width: min(100%, 84rem); margin-top: 1.1rem; }
.task { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; min-height: 11.5rem; padding: 1.25rem 1.25rem 1.1rem; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; color: var(--text); font: inherit; text-align: left; cursor: pointer; overflow: hidden; transition: transform .25s cubic-bezier(.2, .9, .3, 1.2), border-color .2s ease, box-shadow .25s ease; }
.task:hover, .task:focus-visible { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); box-shadow: 0 14px 34px rgba(60, 40, 20, .1); }
.task.on { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.task .glyph.g-big { margin-bottom: .35rem; transition: transform .3s cubic-bezier(.2, .9, .3, 1.4); }
.task:hover .glyph.g-big { transform: rotate(-6deg) scale(1.06); }
.task b { font-size: 1.16rem; letter-spacing: -0.01em; }
.task-d { color: var(--soft); font-size: .96rem; line-height: 1.38; font-weight: 500; }
.task-price { margin-top: auto; padding-top: .5rem; font-size: .9rem; font-weight: 800; color: var(--accent-text); }
.task.has-pic b, .task.has-pic .task-d { max-width: 62%; }
.task-pic { position: absolute; right: -1.2rem; top: -1rem; width: 44%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; transform: rotate(7deg); box-shadow: 0 10px 26px rgba(40, 25, 10, .22); transition: transform .35s cubic-bezier(.2, .9, .3, 1.2); }
.task:hover .task-pic { transform: rotate(3deg) translateY(4px) scale(1.04); }
.tasks-more { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1.1rem; margin-top: 1.2rem; font-weight: 700; color: var(--soft); }
.tasks-more { align-items: center; }
.tasks-more a { color: var(--text); text-decoration: none; padding: .5rem .9rem; border-radius: 11px; border: 1px solid var(--line); background: var(--panel); transition: border-color .15s ease; }
.tasks-more a:hover { border-color: var(--text); }
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.how-step { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem 1.5rem 1.6rem; }
.how-step h3 { margin: .3rem 0 0; font-size: 1.3rem; letter-spacing: -0.015em; }
.how-step p { margin: 0; color: var(--soft); font-weight: 500; }
.how-n { display: inline-grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: var(--text); color: var(--bg); font-weight: 800; }
.how-step > .how-fig { margin-top: auto; }
.how-step > p + .how-fig { margin-top: 1rem; }
.how-q { background: var(--text); color: var(--bg); font-weight: 600; padding: .6rem .9rem; border-radius: 14px 14px 4px 14px; font-size: .95rem; }
.how-back { background: color-mix(in srgb, #2f9e5b 14%, var(--panel)); color: color-mix(in srgb, #2f9e5b 50%, var(--text)); border: 1px solid color-mix(in srgb, #2f9e5b 35%, var(--line)); font-weight: 800; padding: .55rem .9rem; border-radius: 12px; }
.how-back small.usd { color: inherit; opacity: 1; }
.lite-prices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.lp-card { display: flex; flex-direction: column; gap: .4rem; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 1.3rem 1.4rem 1.4rem; }
.lp-card > span { color: var(--soft); font-weight: 700; }
.lp-card b { font-size: clamp(1.25rem, 1.4vw, 1.6rem); letter-spacing: -0.02em; }
.lp-gift { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; margin-top: 1rem; padding: 1.3rem 1.5rem; border-radius: 20px; background: var(--accent-fill); color: var(--accent-ink); font-weight: 700; font-size: 1.12rem; }
.lp-gift .btn { background: var(--accent-ink); color: var(--accent-fill); border-color: transparent; }
.lite-pro { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding: clamp(1.8rem, 3vw, 2.6rem) clamp(1.6rem, 3vw, 2.8rem); border-radius: 24px; background: var(--text); color: var(--bg); }
.lite-pro h2 { margin: 0; font-size: clamp(1.6rem, 2.1vw, 2.4rem); letter-spacing: -0.025em; }
.lite-pro p { margin: .5rem 0 0; max-width: 52rem; opacity: .82; font-weight: 500; }
.lite-pro .btn { background: var(--bg); color: var(--text); border-color: transparent; }
@media (max-width: 1100px) {
  .tasks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lite-prices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .lite-hero { padding-top: 2.4rem; }
  .ask { padding: 1rem .9rem .8rem 1.05rem; border-radius: 20px; }
  .ask-row { flex-wrap: wrap; }
  .ask-send { min-width: 0; flex: 1 0 auto; }
  .ask-note { flex: 1 0 100%; order: 2; text-align: center; }
  .ask-tools { display: contents; }
  .ask-tools .ask-note { margin-left: 0; }
  .tasks { gap: .7rem; }
  .task { min-height: 9.5rem; padding: 1rem; border-radius: 18px; }
  .task .glyph.g-big { width: 2.7rem; height: 2.7rem; padding: .6rem; border-radius: 12px; }
  .task b { font-size: 1.05rem; }
  .task-d { font-size: .88rem; }
  .task-pic { width: 40%; right: -.9rem; top: -.7rem; }
  .how { grid-template-columns: 1fr; }
  .lite-prices { grid-template-columns: 1fr 1fr; gap: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .task, .task-pic, .task .glyph.g-big { transition: none; }
  .ask-wait { animation: none; }
}
