/* Claudia · black and white, like Grok. Type: Geist. */
:root {
  --black: #000;
  --ink: #1d1d1f;
  --dim: #6e6e73;
  --soft: #86868b;
  --card: #f5f5f7;
  --card2: #ebebef;
  --line: #e5e5ea;
  --w60: rgba(255, 255, 255, .62);
  --w50: rgba(255, 255, 255, .5);
  --w14: rgba(255, 255, 255, .14);
  --w08: rgba(255, 255, 255, .08);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Mono", Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --z-stage: 0; --z-copy: 2; --z-nav: 10;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--black); color: #fff; font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 10px; z-index: var(--z-nav); background: #fff; color: #000; padding: 8px 14px; border-radius: 999px; }
.skip:focus { left: 10px; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.light :focus-visible { outline-color: var(--ink); }
.wrap { width: min(100% - 48px, 1120px); margin-inline: auto; }
.wrap--narrow { width: min(100% - 48px, 760px); }

/* ---------------- pills ---------------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: 999px; border: 0; cursor: pointer;
  font: 500 14px/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, opacity .2s;
}
.pill:active { transform: scale(.97); }
.pill--inv { background: #fff; color: #000; }
.pill--inv:hover { background: #e8e8ed; }
.pill--dark { background: var(--ink); color: #fff; }
.pill--dark:hover { background: #000; }
.pill--xl { height: 54px; padding: 0 30px; font-size: 16px; }

/* ---------------- nav ---------------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: var(--z-nav); height: 64px; padding: 0 24px;
  display: flex; align-items: center; gap: 24px;
  color: #fff; transition: background .35s, color .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav[data-theme="dark"].scrolled { background: rgba(0, 0, 0, .72); backdrop-filter: saturate(160%) blur(16px); border-bottom-color: var(--w08); }
.nav[data-theme="light"] { background: rgba(255, 255, 255, .78); backdrop-filter: saturate(160%) blur(16px); color: var(--ink); border-bottom-color: rgba(0, 0, 0, .06); }
.nav[data-theme="light"] .pill--inv { background: var(--ink); color: #fff; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 17px/1 var(--sans); letter-spacing: -.02em; }
.brand img { border-radius: 50%; }
.nav__links { display: flex; gap: 28px; margin: 0 auto; font-size: 14px; }
.nav__links a { text-decoration: none; opacity: .72; transition: opacity .2s; }
.nav__links a:hover { opacity: 1; }

/* ---------------- hero ---------------- */
.hero { position: relative; height: 100svh; min-height: 720px; max-height: 1180px; overflow: hidden; background: #000; isolation: isolate; }
.stage { position: absolute; inset: 0; z-index: var(--z-stage); pointer-events: none; }
.glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(38% 46% at 50% 34%, rgba(255, 255, 255, .17), rgba(255, 255, 255, .05) 55%, transparent 75%),
    linear-gradient(180deg, rgba(255, 255, 255, .06), transparent 40%);
}
.glow::before {   /* the spotlight cone from above */
  content: ""; position: absolute; left: 50%; top: -10%; width: 70vmin; height: 90%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255, 255, 255, .10), transparent 78%);
  clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%);
  filter: blur(18px);
}
.floor {
  position: absolute; left: 50%; top: 31%; width: min(86vmin, 760px); aspect-ratio: 1;
  transform: translate(-50%, -50%); overflow: visible;
}
.floor circle { fill: none; stroke: #fff; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; }
.floor .f1 { stroke-opacity: .10; stroke-width: 1; }
.floor .f2 { stroke-opacity: .06; stroke-width: 1; }
.floor .f3 { stroke-opacity: .16; stroke-width: 1.5; transform: scale(calc(1 + var(--lvl, 0) * .08)); transition: stroke-opacity .3s; }
.floor .f4 { stroke-opacity: .9; stroke-width: 1.5; stroke-dasharray: 90 1795; stroke-linecap: round; animation: orbit 9s linear infinite; }
.hero[data-state="speaking"] .floor .f3 { stroke-opacity: .5; }
.hero[data-state="hearing"] .floor .f3,
.hero[data-state="listening"] .floor .f3 { stroke-opacity: .32; }
.hero[data-state="thinking"] .floor .f4,
.hero[data-state="connecting"] .floor .f4 { animation-duration: 1.6s; }
@keyframes orbit { to { transform: rotate(360deg); } }

.figure {
  position: absolute; left: 50%; top: 64px; height: min(calc(100% - 40px), 1080px); aspect-ratio: 267 / 960;
  transform: translateX(-50%);
  filter: drop-shadow(0 0 36px rgba(255, 255, 255, .10));
  will-change: transform;
}
.figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; user-select: none; -webkit-user-drag: none; }
.figure img[data-a="0"] { opacity: 1; }
.veil { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, .7) 54%, #000 70%); }

.hero__copy {
  position: relative; z-index: var(--z-copy); height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 0 20px clamp(40px, 7vh, 72px); text-align: center;
}
h1 { font: 700 clamp(40px, 5.6vw, 76px)/1.02 var(--sans); letter-spacing: -.04em; }
h1 span, h2 span { color: var(--w50); }
.lede { margin: 18px auto 0; max-width: 33em; font-size: clamp(16px, 1.3vw, 18px); color: var(--w60); }

.composer {
  margin-top: 30px; width: min(680px, 100%); height: 64px; padding: 8px 8px 8px 10px;
  display: flex; align-items: center; gap: 6px;
  background: #0c0c0c; border: 1px solid var(--w14); border-radius: 999px;
  transition: border-color .25s, background .25s;
}
.composer:focus-within { border-color: rgba(255, 255, 255, .34); background: #101010; }
.composer__in { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: #fff; font: 400 17px/1 var(--sans); padding: 0 6px; }
.composer__in::placeholder { color: rgba(255, 255, 255, .42); }
.attach { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; color: rgba(255, 255, 255, .6); cursor: pointer; transition: background .2s, color .2s; }
.attach:hover { background: var(--w08); color: #fff; }
.attach svg { width: 20px; height: 20px; }
.thumb { position: relative; flex: none; width: 40px; height: 40px; }
.thumb img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.thumb button { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; border: 0; background: #fff; color: #000; font-size: 14px; line-height: 20px; cursor: pointer; padding: 0; }
.mic, .send { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; transition: transform .2s var(--ease), background .2s, color .2s; }
.mic:active, .send:active { transform: scale(.94); }
.mic { background: #fff; color: #000; }
.mic svg, .send svg { width: 22px; height: 22px; grid-area: 1 / 1; }
.mic__bars { grid-area: 1 / 1; display: flex; gap: 3px; align-items: center; height: 20px; opacity: 0; }
.mic__bars i { width: 3px; height: 100%; border-radius: 2px; background: #000; transform: scaleY(.25); transition: transform .08s linear; }
.mic[aria-pressed="true"] .mic__ico { opacity: 0; }
.mic[aria-pressed="true"] .mic__bars { opacity: 1; }
.send { background: #1c1c1e; color: rgba(255, 255, 255, .5); }
.composer.has-text .send { background: #fff; color: #000; }
.status { margin: 14px 0 0; min-height: 1.4em; font-size: 13.5px; color: rgba(255, 255, 255, .46); }
.status b { color: #fff; font-weight: 500; }

/* conversation, shown once you talk */
.chat {
  width: min(680px, 100%); max-height: min(40svh, 420px); overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 14px; padding: 24px 4px 4px; text-align: left;
  mask-image: linear-gradient(180deg, transparent, #000 36px);
  scrollbar-width: none;
}
.chat::-webkit-scrollbar { display: none; }
.msg { margin: 0; max-width: 88%; animation: msg .5s var(--ease) both; }
.msg--you { align-self: flex-end; background: #1c1c1e; color: rgba(255, 255, 255, .86); padding: 10px 16px; border-radius: 20px 20px 6px 20px; font-size: 15.5px; }
.msg--her { align-self: flex-start; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; letter-spacing: -.01em; color: #fff; }
.msg--err { align-self: center; font-size: 14px; color: #ff8a80; }
@keyframes msg { from { opacity: 0; transform: translateY(8px); } }

.coin {
  align-self: stretch; display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center;
  padding: 12px 12px 12px 12px; border: 1px solid var(--w14); border-radius: 18px; background: #0b0b0b;
  animation: msg .6s var(--ease) both;
}
.coin__img { width: 56px; height: 56px; border-radius: 50%; background: #1c1c1e; object-fit: cover; }
.coin__img.is-wait { background: conic-gradient(from 0deg, #fff 0 12%, #1c1c1e 12% 100%); animation: orbit 1s linear infinite; -webkit-mask: radial-gradient(circle, transparent 23px, #000 24px); mask: radial-gradient(circle, transparent 23px, #000 24px); }
.coin__t { min-width: 0; }
.coin__t strong { display: block; font-weight: 600; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.coin__t span { display: block; font: 400 13px/1.4 var(--mono); color: var(--w50); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.coin__t .tag { display: inline-block; margin-top: 4px; font: 500 11px/1 var(--sans); letter-spacing: .02em; color: #000; background: #fff; padding: 4px 7px; border-radius: 6px; }
.coin .pill { height: 36px; }

.cue { position: absolute; left: 50%; bottom: 16px; width: 1px; height: 28px; background: linear-gradient(#fff, transparent); opacity: .35; z-index: var(--z-copy); }
.hero.is-live .cue { display: none; }
.hero.is-live .intro { display: none; }

/* ---------------- light sections ---------------- */
.light { background: #fff; color: var(--ink); }
.dark { background: #000; color: #fff; }
.light h2 span { color: var(--soft); }
h2 { font: 700 clamp(36px, 4.8vw, 64px)/1.04 var(--sans); letter-spacing: -.04em; text-align: center; }

.how { padding: clamp(96px, 13vw, 168px) 0 clamp(64px, 8vw, 104px); }
.steps { list-style: none; margin: clamp(48px, 6vw, 80px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--card); border-radius: 20px; padding: 28px 28px 24px; display: flex; flex-direction: column; }
.n { font: 500 13px/1 var(--mono); color: var(--soft); }
.steps h3 { margin-top: 44px; font: 600 26px/1.15 var(--sans); letter-spacing: -.03em; }
.steps p { margin: 10px 0 0; color: var(--dim); font-size: 16px; }
.steps .say { margin-top: auto; padding-top: 28px; color: var(--ink); font: 500 15px/1.4 var(--sans); }

.launches { padding: clamp(48px, 6vw, 80px) 0 clamp(96px, 12vw, 152px); }
.launches .head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.launches h2 { text-align: left; font-size: clamp(32px, 3.6vw, 48px); }
.more { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--dim); }
.more:hover { color: var(--ink); }
.grid { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.card { display: block; text-decoration: none; background: var(--card); border-radius: 18px; padding: 12px; transition: background .2s, transform .3s var(--ease); }
.card:hover { background: var(--card2); transform: translateY(-2px); }
.card img, .card .noimg { width: 100%; aspect-ratio: 1; border-radius: 12px; object-fit: cover; background: #000; }
.card .noimg { display: grid; place-items: center; color: #fff; font: 700 32px/1 var(--sans); letter-spacing: -.03em; }
.card strong { display: block; margin-top: 12px; font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card span { display: flex; justify-content: space-between; gap: 8px; margin-top: 2px; font: 400 13px/1.4 var(--mono); color: var(--dim); }
.empty { grid-column: 1 / -1; background: var(--card); border-radius: 20px; padding: 56px 24px; text-align: center; }
.empty p { margin: 0 0 18px; color: var(--dim); font-size: 17px; }


.faq { padding: clamp(96px, 12vw, 152px) 0; }
.faq h2 { margin-bottom: 40px; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 600 19px/1.35 var(--sans); letter-spacing: -.02em; }
summary::-webkit-details-marker { display: none; }
summary::before, summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
summary::after { transform: rotate(90deg); }
details[open] summary::after { transform: rotate(0deg); }
details p { margin: 0 0 24px; color: var(--dim); max-width: 40em; }

.end { padding: clamp(112px, 15vw, 200px) 0; text-align: center; background: radial-gradient(50% 60% at 50% 100%, rgba(255, 255, 255, .10), transparent 70%), #000; }
.end h2 { font-size: clamp(40px, 6vw, 84px); }
.end .pill { margin-top: 40px; }

.foot { background: #000; color: rgba(255, 255, 255, .45); border-top: 1px solid var(--w08); padding: 32px 0 40px; font-size: 13.5px; }
.foot__in { display: flex; align-items: center; gap: 16px 32px; flex-wrap: wrap; }
.foot .brand { color: #fff; font-size: 15px; }
.foot p { margin: 0; flex: 1 1 320px; }

/* ---------------- motion ---------------- */
.anim .hero h1, .anim .hero .lede, .anim .composer, .anim .status { animation: rise 1.1s var(--ease) both; }
.anim .hero h1 { animation-delay: .8s; }
.anim .hero .lede { animation-delay: .92s; }
.anim .composer { animation-delay: 1.04s; }
.anim .status { animation-delay: 1.16s; }
.anim .glow { animation: lightson 1.6s ease-out both; }
.anim .floor circle:not(.f4) { animation: ringin 1.8s var(--ease) both .3s; }
.anim .nav { animation: fadein .8s ease both .6s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } }
@keyframes fadein { from { opacity: 0; } }
@keyframes lightson { 0% { opacity: 0; } 30% { opacity: .4; } 38% { opacity: .1; } 100% { opacity: 1; } }
@keyframes ringin { from { opacity: 0; transform: scale(.6); } }
.anim .rv { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.anim .rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .floor .f4 { animation: none; }
  .coin__img.is-wait { animation: none; }
  .msg, .coin { animation: none; }
}

/* ---------------- responsive ---------------- */
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; }
  .steps h3 { margin-top: 24px; }
}
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav { justify-content: space-between; padding: 0 16px; }
  .hero { min-height: 640px; }
  .figure { top: 56px; height: calc(100% - 140px); }
  .floor { top: 27%; width: 120vmin; }
  .veil { background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, .75) 48%, #000 64%); }
  .composer { height: 58px; padding: 6px 6px 6px 6px; }
  .mic, .send { width: 44px; height: 44px; }
  .attach { width: 40px; height: 40px; }
  .composer__in { font-size: 16px; }
  .coin { grid-template-columns: 48px 1fr; }
  .coin__img { width: 48px; height: 48px; }
  .coin .pill { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .wrap, .wrap--narrow { width: min(100% - 32px, 1120px); }
}
