:root {
  --bg: #F6F1E7;
  --ink: #121212;
  --muted: #5E5A53;
  --surface: #FFFFFF;
  --line: rgba(18, 18, 18, .10);
  --hero: #2448FF;
  --hero-ink: #F6F1E7;
  --lime: #C8F03C;
  /* Grok Bot's own bot colours (from x.ai/bot) */
  --blue: #3C82F6;
  --indigo: #6464EF;
  --violet: #885CF5;
  --orange: #F19D38;
  --teal: #54B9A6;
  --pink: #EB4699;
  --red: #EA4045;
  --green: #5BC67A;
  --radius: 28px;
  --font: "Host Grotesk", Arial, Helvetica, sans-serif;
  --mono: "Geist Mono", ui-monospace, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121110; --ink: #F3EEE4; --muted: #A9A398; --surface: #1E1D1B; --line: rgba(243, 238, 228, .12);
    --hero: #1A36D9; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121110; --ink: #F3EEE4; --muted: #A9A398; --surface: #1E1D1B; --line: rgba(243, 238, 228, .12);
  --hero: #1A36D9; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--mono); }
.small { font-size: 13px; color: var(--muted); margin: 10px 0 0; }

/* Nav: floating pill */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 10;
  width: min(760px, calc(100% - 32px));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 7px 7px 7px 14px; border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.nav-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; letter-spacing: -.03em; }
.nav-logo svg { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 600; padding: 8px 12px; border-radius: 999px; color: var(--muted); }
.nav-links a:hover { color: var(--ink); background: var(--line); }
.nav-cta { text-decoration: none; font-size: 15px; font-weight: 700; padding: 9px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); white-space: nowrap; }
@media (max-width: 640px) { .nav-links { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 17px/1 var(--font); letter-spacing: -.01em; text-decoration: none;
  padding: 16px 24px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-ink { background: #121212; color: #F6F1E7; }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-light { background: #fff; color: #121212; }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

/* Hero */
.hero {
  min-height: 100svh; background: var(--hero); color: var(--hero-ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 110px 16px 64px;
}
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero > :not(.hero-gl) { position: relative; z-index: 2; }
.hero-gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.mascot { width: clamp(120px, 24vw, 190px); aspect-ratio: 1; margin-bottom: 28px; animation: bob 3.2s ease-in-out infinite; }
.gl-on .mascot svg { visibility: hidden; } /* WebGL draws the hero bot in this spot */
.hero-lines, .hero-sub { text-shadow: 0 2px 24px rgba(10, 20, 80, .35); }
.mascot svg, .bot-av svg, .av svg, .nav-mark svg { width: 100%; height: 100%; display: block; }
.mark-eyes { transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
.bot:nth-child(2) .mark-eyes, .app-list li:nth-child(2) .mark-eyes { animation-delay: 1.6s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
@keyframes blink { 0%, 94%, 100% { transform: scale(1); } 96% { transform: scale(.75, .12); } }

.hero-lines {
  display: grid; margin: 0;
  font-size: clamp(52px, 11.5vw, 128px); font-weight: 800; line-height: .9; letter-spacing: -.055em;
}
.hero-lines span {
  grid-area: 1 / 1; opacity: 0; transform: translateY(-14px);
  transition: opacity .18s ease, transform .18s ease;
}
/* the old line leaves first, then the new one comes in, so they never overlap */
.hero-lines span.is-on { opacity: 1; transform: none; transition: opacity .35s ease .2s, transform .35s ease .2s; }
.hero-sub { max-width: 30ch; margin: 28px auto 0; font-size: clamp(18px, 2.3vw, 22px); font-weight: 500; opacity: .9; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.hero .btn-ink { background: var(--lime); color: #121212; }

/* Sections */
.section { width: min(1120px, 100% - 32px); margin: 0 auto; padding: clamp(64px, 10vw, 120px) 0 0; }
.eyebrow { font: 500 14px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 14px; }
.big { font-size: clamp(42px, 7.5vw, 88px); font-weight: 800; line-height: .95; letter-spacing: -.05em; margin: 0; }
.intro { text-align: center; }
.lede { max-width: 40ch; margin: 24px auto 0; font-size: clamp(18px, 2.2vw, 21px); color: var(--muted); }

/* Motion-graphics scroll story (motion.js) */
.mstory { position: relative; height: 600vh; margin-top: clamp(64px, 10vw, 120px); }
.m-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: #2448FF; color: #fff; transition: background-color .7s ease; }
.m-copy { position: absolute; z-index: 50; left: max(16px, calc((100vw - 1120px) / 2)); top: 14vh; max-width: min(520px, 44vw); pointer-events: none; }
.m-eyebrow { margin: 0 0 14px; font: 500 14px var(--mono); text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
.m-title { margin: 0; font-size: clamp(44px, 6.4vw, 92px); font-weight: 800; line-height: .95; letter-spacing: -.05em; }
.m-title span { display: block; overflow: hidden; padding-bottom: .06em; }
.m-title i { display: block; font-style: normal; animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; }
.m-title span + span i { font-weight: 400; opacity: .85; animation-delay: .08s; }
@keyframes rise { from { transform: translateY(110%); } }
.m-scene { position: absolute; inset: 0; }
.m-scene > div { position: absolute; left: 0; top: 0; will-change: transform, opacity; }
.m-bot svg, .m-mini svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .25)); }
.m-bot { z-index: 20; }
.m-post {
  width: var(--cw); display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px;
  background: #fff; color: #141414; border-radius: 18px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .5);
}
.m-av { flex: none; width: 32px; height: 32px; border-radius: 50%; }
.m-post b { font-size: 13px; color: #555; font-weight: 600; }
.m-post p { margin: 2px 0 0; font-size: 15px; font-weight: 600; line-height: 1.3; }
.m-label { width: 200px; text-align: center; z-index: 60; }
.m-label b { display: block; font-size: 15px; line-height: 1.2; }
.m-count { display: inline-block; margin-top: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .2); font: 500 13px var(--mono); }
.m-draft { width: var(--dw); padding: 18px 20px; background: #F6F1E7; color: #141414; border-radius: 20px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .55); }
.m-draft-head { margin: 0 0 8px; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: #6A665E; }
.m-type { margin: 0; min-height: 4.1em; font-size: 17px; font-weight: 600; line-height: 1.35; white-space: pre-line; }
.m-skill { width: var(--sw); padding: 26px; background: var(--lime); color: #141414; border-radius: 28px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55); }
.m-skill-head { margin: 0; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.m-skill-name { margin: 8px 0 6px; font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.04em; }
.m-skill-desc { margin: 0 0 16px; font-size: 16px; font-weight: 500; }
.m-tier { display: flex; gap: 12px; padding: 12px 14px; margin-top: 8px; border-radius: 14px; background: rgba(20, 20, 20, .08); font-size: 15px; }
.m-tier b { min-width: 34px; }
.m-price { position: absolute; top: -18px; right: -14px; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #141414; color: var(--lime); font-size: 24px; font-weight: 800; }
.m-mini { z-index: 22; }
@media (max-width: 760px) {
  .m-copy { top: 9vh; right: 16px; max-width: none; }
  .m-title { font-size: clamp(34px, 10vw, 52px); }
  .m-post { padding: 10px 12px; gap: 8px; border-radius: 14px; }
  .m-post p { font-size: 13px; }
  .m-av { width: 24px; height: 24px; }
  .m-label { width: 120px; }
  .m-label b { font-size: 12px; }
  .m-type { font-size: 15px; }
}

/* Legal pages */
.legal { width: min(760px, 100% - 32px); margin: 0 auto; padding: 56px 0 96px; }
.legal h1 { font-size: clamp(40px, 7vw, 64px); font-weight: 800; letter-spacing: -.045em; line-height: 1; margin: 8px 0 8px; }
.legal h2 { font-size: 22px; letter-spacing: -.02em; margin: 36px 0 8px; }
.legal p, .legal li { color: var(--ink); line-height: 1.6; }
.legal ul { padding-left: 22px; }
.legal a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal-date { font: 500 14px var(--mono); color: var(--muted); }
.legal-toc { margin: 24px 0; padding: 18px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.legal-toc ol { margin: 0; padding-left: 22px; columns: 2 220px; }
.legal-links { margin-top: 48px; font-weight: 600; }

/* Feature cards */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 760px) { .grid { grid-template-columns: 1fr; } }
.card {
  border-radius: var(--radius); padding: clamp(22px, 3.4vw, 34px);
  display: flex; flex-direction: column; color: #fff;
}
.card h3 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; line-height: .98; letter-spacing: -.045em; margin: 10px 0 12px; }
.card > p { margin: 0 0 22px; font-weight: 500; max-width: 42ch; opacity: .92; }
.card-tag { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; margin: 0; }
.card-tag .dot { width: 18px; height: 18px; border-radius: 50%; background: currentColor; opacity: .9; }
.c-blue { background: var(--blue); }
.c-indigo { background: var(--indigo); }
.c-red { background: var(--red); }
.c-green { background: var(--green); color: #121212; }
.c-violet { background: var(--violet); }
.c-orange { background: var(--orange); color: #121212; }
.c-teal { background: var(--teal); }
.c-pink { background: var(--pink); color: #121212; }
.c-ink { background: #121212; color: #F6F1E7; }
.c-lime { background: var(--lime); color: #121212; }
:root[data-theme="dark"] .c-ink { background: #2A2926; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .c-ink { background: #2A2926; } }

.inner {
  margin-top: auto; background: var(--surface); color: var(--ink);
  border-radius: 20px; padding: 18px; box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}
.inner-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 12px; }
.badge { font: 500 11px var(--mono); padding: 3px 8px; border-radius: 999px; background: var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-weight: 600; font-size: 14px; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--blue) 14%, transparent); }
.rank { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: r; }
.rank li { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 15px; font-weight: 600; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.rank li:last-child { border-bottom: 0; padding-bottom: 0; }
.rank b { font: 500 12px var(--mono); color: var(--muted); white-space: nowrap; }
.post { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.4; }
.skill-name { font-size: 20px; font-weight: 500; margin: 0 0 12px; }
.tiers { display: grid; gap: 6px; font-size: 14px; }
.tiers b { display: inline-block; min-width: 38px; font-weight: 800; }
.chain { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; font-weight: 600; }
.meter { height: 14px; border-radius: 999px; background: var(--line); overflow: hidden; }
.meter span { display: block; height: 100%; border-radius: inherit; background: var(--lime); }

/* Bot cards */
.bots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 18px; margin-top: 36px; }
.bot { border-radius: var(--radius); padding: clamp(24px, 3.6vw, 36px); display: flex; flex-direction: column; gap: 16px; }
.bot-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.bot h3 { font-size: clamp(32px, 4.4vw, 46px); font-weight: 800; line-height: .95; letter-spacing: -.045em; margin: 0; }
.bot-status { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .35); white-space: nowrap; }
.bot-tag { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.3; }
.bot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.bot li { display: flex; gap: 10px; font-weight: 500; }
.bot li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 9px; border-radius: 50%; background: currentColor; }
.bot-buy { margin-top: auto; display: grid; gap: 10px; padding-top: 8px; }
.bot-pro { background: rgba(255, 255, 255, .4); border-radius: 18px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.bot-pro p { margin: 0; font-size: 15px; font-weight: 500; flex: 1 1 180px; }
.bot-pro strong { font-size: 22px; letter-spacing: -.03em; }
.bot .btn { width: 100%; }
.c-ink .bot-pro { background: rgba(255, 255, 255, .08); }
.bot-free { display: grid; gap: 8px; justify-items: center; }
.bot-dl { font-size: 14px; font-weight: 600; opacity: .8; }
.hero-note { margin: 16px 0 0; font: 500 14px var(--mono); opacity: .85; }
.install { list-style: none; margin: 28px auto 8px; padding: 0; display: grid; gap: 14px; max-width: 520px; text-align: left; }
.install li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 20px; background: rgba(255, 255, 255, .12); font-size: 17px; }
.install b { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: #121212; }
.install .btn { background: var(--lime); color: #121212; padding: 14px 20px; }
.install li > div { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.c-ink .bot-buy .btn-ink { background: var(--lime); color: #121212; }
.c-ink .bot-status { background: rgba(255, 255, 255, .12); }
.bot-pro .btn { width: auto; padding: 12px 18px; font-size: 16px; }

/* Steps */
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.steps li { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps b { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: #121212; font-size: 20px; font-weight: 800; }
.steps h3 { margin: 6px 0 6px; font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.steps p { margin: 0; color: var(--muted); }

/* Join */
.join-card { background: var(--hero); color: var(--hero-ink); border-radius: var(--radius); padding: clamp(28px, 6vw, 72px); text-align: center; }
.join-card > p { max-width: 44ch; margin: 18px auto 0; font-size: 18px; opacity: .9; }
.join-form { display: flex; gap: 10px; max-width: 520px; margin: 28px auto 0; flex-wrap: wrap; }
.join-form input {
  flex: 1 1 220px; min-width: 0; font: 500 17px var(--font); padding: 16px 20px; border-radius: 999px;
  border: 2px solid transparent; background: #fff; color: #121212;
}
.join-form input:focus { outline: none; border-color: var(--lime); }
.join-form .btn-ink { background: var(--lime); color: #121212; flex: 0 0 auto; }
@media (max-width: 480px) { .join-form .btn { flex: 1 1 100%; } }
.join-note { min-height: 1.5em; margin: 14px 0 0; font-size: 15px; font-weight: 600; }

/* FAQ */
.faq { margin-top: 32px; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-size: 20px; font-weight: 700; letter-spacing: -.02em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 500; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--muted); max-width: 70ch; }

.footer { width: min(1120px, 100% - 32px); margin: 96px auto 0; padding: 28px 0 40px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--muted); font-size: 15px; }
.footer-note { flex-basis: 100%; margin: 4px 0 0; font-size: 13px; }
.nav-mark { display: block; width: 26px; height: 26px; }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.center { text-align: center; }

/* Bot-in-chat demo (an app window, always dark like a desktop app) */
.app {
  display: grid; grid-template-columns: 270px minmax(0, 1fr); height: 600px;
  background: #151515; color: #ECE9E2; border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 40px 80px -40px rgba(18, 18, 18, .55);
  text-align: left;
}
.app-side { background: #1B1B1B; border-right: 1px solid rgba(255, 255, 255, .07); padding: 14px 10px; }
.app-dots { display: flex; gap: 6px; padding: 2px 6px 14px; }
.app-dots i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.app-dots i:nth-child(2) { background: #FEBC2E; }
.app-dots i:nth-child(3) { background: #28C840; }
.app-search { font-size: 14px; color: #8C887F; background: #252525; border-radius: 10px; padding: 8px 12px; margin: 0 4px 10px; }
.app-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.app-list li { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; min-width: 0; }
.app-list li > div { min-width: 0; flex: 1; }
.app-list b { display: block; font-size: 14px; font-weight: 700; }
.app-list small { display: block; font-size: 13px; color: #8C887F; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-list time { font: 500 11px var(--mono); color: #8C887F; align-self: flex-start; margin-top: 3px; }
.app-list .is-active { background: rgba(255, 255, 255, .07); }
.app-new { opacity: .6; }
.av { flex: none; width: 34px; height: 34px; display: grid; place-items: center; }
.av.sm { width: 24px; height: 24px; }
.av-plus { border-radius: 50%; background: #2A2A2A; color: #ECE9E2; font-size: 20px; }
.app-chat { display: flex; flex-direction: column; min-width: 0; }
.app-chat header { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 16px; position: relative; }
.app-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: #222; }
.app-pill b { font-size: 15px; }
.app-chat header .badge { position: absolute; left: 16px; }
.app-chat header .app-replay { position: absolute; right: 16px; }
.app-date { align-self: center; margin: 0 0 6px; font-size: 12px; color: #8C887F; }
.app-chat .badge { background: rgba(255, 255, 255, .1); color: #B9B4AA; }
.app-replay { margin-left: auto; font: 600 13px var(--font); color: #ECE9E2; background: #2A2A2A; border: 0; border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.app-msgs { flex: 1; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 18px; }
.app-input { margin: 0 16px 16px; padding: 12px 16px; border-radius: 14px; background: #222; color: #77736B; font-size: 14px; }

.msg { max-width: min(88%, 520px); padding: 11px 14px; border-radius: 18px 18px 18px 6px; background: #262626; font-size: 15px; line-height: 1.45; animation: pop .35s ease both; }
.msg.me { align-self: flex-end; border-radius: 18px 18px 6px 18px; background: #2C2C2C; color: #ECE9E2; font-weight: 500; }
.msg.bot { display: flex; gap: 10px; align-items: flex-start; background: none; padding: 2px 0; max-width: min(92%, 560px); }
.msg.bot .av { margin-top: 1px; }
.msg-card { max-width: min(88%, 500px); margin-left: 34px; background: #F6F1E7; color: #121212; border-radius: 18px; padding: 14px 16px; animation: pop .35s ease both; }
.typing .progress { font-size: 15px; background: linear-gradient(90deg, #6F6B64 0%, #ECE9E2 50%, #6F6B64 100%) 0 0 / 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.msg-card .inner-label { color: #6A665E; margin-bottom: 10px; }
.msg-card .post { white-space: pre-line; min-height: 3.6em; }
.msg-card .post.typing-caret::after { content: "▍"; animation: caret .8s steps(1) infinite; }
.why { margin: 10px 0 0; font-size: 13px; color: #6A665E; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bars li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font-size: 14px; font-weight: 600; }
.bars small { font: 500 12px var(--mono); color: #6A665E; }
.bars .bar { grid-column: 1 / -1; height: 7px; border-radius: 999px; background: rgba(18, 18, 18, .08); overflow: hidden; }
.bars .bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: #121212; transition: width 1s cubic-bezier(.2, .8, .2, 1); }
.bars li:first-child .bar span { background: var(--violet); }
.typing { display: inline-flex; align-items: center; gap: 10px; padding: 2px 0; align-self: flex-start; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes dots { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes caret { 50% { opacity: 0; } }
@media (max-width: 760px) {
  .app { grid-template-columns: 1fr; height: 560px; }
  .app-side { display: none; }
  .app-msgs { padding: 14px; }
}

/* Little faces on the bot cards */
.bot-av { width: 72px; height: 72px; flex: none; }
.bot-av .face-eyes, .av .face-eyes { transform-box: fill-box; transform-origin: center; animation: blink 4.5s infinite; }
.bot:nth-child(2) .face-eyes { animation-delay: 1.3s; }
.bot-title { display: flex; align-items: center; gap: 14px; }

/* Reveal on scroll (the class is only added by JS, so nothing hides without it) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.mascot-look { transition: transform .25s ease-out; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
