/* GROKTIMUS — tokens from the design handoff */
:root {
  --ink: #0d0d0d;
  --paper: #fff;
  --red: #c0161f;
  --red-hot: #ff2a1a;
  --g1: #3a3a3a; --g2: #6b6b6b; --g3: #8a8a8a; --g4: #bdbdbd; --g5: #d9d9d9;
  --g6: #e4e4e4; --g7: #ececec; --g8: #efefef; --g9: #f4f4f4;
  --display: 'Archivo', sans-serif;
  --mono: 'Azeret Mono', ui-monospace, monospace;
  --gutter: 24px;
}

html, body { margin: 0; background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
body { font-family: var(--mono); }
* { box-sizing: border-box; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--red); }
::selection { background: var(--red); color: #fff; }
input::placeholder { color: var(--g3); }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
@keyframes blink { 50% { opacity: 0; } }
.blink { animation: blink 1.4s steps(1) infinite; }
.sq { display: inline-block; width: 7px; height: 7px; background: var(--red); flex: none; }
.label { font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: -.01em; }
.pill {
  border: 1px solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink);
  font-size: 11px; letter-spacing: .04em; padding: 4px 11px; cursor: pointer; white-space: nowrap;
}
.pill:hover, .pill.on { background: var(--ink); color: #fff; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- HERO ---------- */
.cabar {
  height: 34px; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 0 var(--gutter); background: var(--ink); color: #fff; font-size: 12px; letter-spacing: .03em;
}
.ca-label { font-family: var(--display); font-weight: 800; color: var(--red-hot); flex: none; }
.ca-addr { font-family: var(--mono); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; user-select: all; }
.ca-copy {
  flex: none; border: 1px solid #fff; border-radius: 999px; padding: 2px 10px; font-size: 11px;
  background: transparent; color: #fff; cursor: pointer;
}
.ca-copy:hover { background: #fff; color: var(--ink); }
.hero {
  position: relative; height: calc(100svh - 34px); min-height: 480px; overflow: hidden; isolation: isolate;
  background: #fff;
}
.grid { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.grid .v, .grid .h { position: absolute; background: var(--g8); }
.grid .v { top: 0; bottom: 0; width: 1px; }
.grid .h { left: 0; right: 0; height: 1px; }
.grid .plus { position: absolute; transform: translate(-50%, -52%); color: var(--g4); font-size: 15px; line-height: 1; }
.giant {
  position: absolute; left: var(--gutter); right: var(--gutter); top: 96px; margin: 0; z-index: 1; pointer-events: none;
  color: #fff; -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill;
  font-family: var(--display); font-weight: 800; font-size: clamp(56px, 11vw, 210px); line-height: .8; letter-spacing: -.045em;
}
.stage { position: absolute; inset: 0; z-index: 2; }
.boot {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); z-index: 2;
  display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .04em; color: var(--g2); pointer-events: none;
}
.boot .sq { width: 8px; height: 8px; animation: blink 1s steps(1) infinite; }

.orbit { position: absolute; inset: 0; pointer-events: none; }
.orbit svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; transition: opacity .6s; }
.orbit.empty svg { opacity: 0; }
.chip.free { visibility: hidden; }
.orbit svg.back { z-index: 1; }
.orbit svg.front { z-index: 3; }
.chip {
  position: absolute; left: 0; top: 0; opacity: 0; width: max-content; max-width: 230px;
  background: #fff; color: var(--ink); border: 1px solid var(--ink); padding: 6px 9px 8px;
  font-size: 11px; line-height: 1.4; pointer-events: auto; cursor: default; will-change: transform;
}
.chip.you { background: var(--ink); color: #fff; }
.chip .handle { font-size: 10px; opacity: .6; margin-bottom: 2px; letter-spacing: .02em; }
.chip .q, .chip .a { text-transform: uppercase; text-wrap: pretty; }
.chip .a { display: none; margin-top: 5px; padding-top: 5px; border-top: 1px dashed currentColor; color: var(--red); }
.chip.you .a { color: #ff7a6e; }
.chip.hov .a { display: block; }

.overlay { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.topbar {
  position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; align-items: flex-start;
  padding: 18px var(--gutter);
}
.wordmark { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 17px; letter-spacing: .01em; white-space: nowrap; opacity: 0; }
.buildtag {
  position: absolute; left: 50%; top: 18px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 7px; border: 1.5px solid var(--ink); background: #fff;
  padding: 3px 9px; font-size: 11px; letter-spacing: .05em; white-space: nowrap;
}
.social { display: flex; gap: 8px; pointer-events: auto; }
.social a { border: 1px solid var(--ink); border-radius: 999px; padding: 3px 11px; font-size: 12px; background: #fff; color: var(--ink); }
.social a:hover { background: var(--ink); color: #fff; }

.orbit-label { position: absolute; left: var(--gutter); bottom: var(--gutter); width: 220px; display: none; flex-direction: column; gap: 6px; }
.orbit-label p { margin: 0; font-size: 11px; line-height: 1.5; color: var(--g1); }
@media (min-width: 1300px) { .orbit-label { display: flex; } }
.hero.orbit-empty .orbit-label { display: none; }

.dock {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(600px, calc(100% - 32px));
  display: flex; flex-direction: column; gap: 8px; pointer-events: auto;
}
.thread { display: flex; flex-direction: column; gap: 5px; background: rgba(255,255,255,.9); border: 1px solid var(--ink); padding: 9px 11px; }
.thread:empty { display: none; }
.thread .row { display: flex; gap: 9px; font-size: 12px; line-height: 1.4; text-transform: uppercase; }
.thread .who { flex: none; font-weight: 600; white-space: nowrap; color: var(--g3); }
.thread .who.bot { color: var(--red); }
.thread .txt { text-wrap: pretty; }
.cmds { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.cmds .hint-label { font-size: 10.5px; letter-spacing: .04em; color: var(--g2); margin-right: 2px; white-space: nowrap; }
.tabrow { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.tab { background: var(--ink); color: #fff; font-size: 12px; padding: 3px 8px; letter-spacing: .03em; white-space: nowrap; }
.status { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--g2); letter-spacing: .03em; padding-bottom: 3px; white-space: nowrap; }
.status .dot { width: 7px; height: 7px; background: var(--ink); }
.status .dot.hot { background: var(--red); }
.status b { color: var(--ink); font-weight: 400; }
.frame { background: var(--ink); padding: 1.5px; clip-path: polygon(0 0, 100% 0, 100% 100%, 16px 100%, 0 calc(100% - 16px)); }
.frame form {
  margin: 0; background: #fff; clip-path: polygon(0 0, 100% 0, 100% 100%, 15.4px 100%, 0 calc(100% - 15.4px));
  display: flex; align-items: center; gap: 10px; padding: 9px 9px 9px 16px;
}
.frame input {
  flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: inherit; font-size: 14px;
  letter-spacing: .02em; text-transform: uppercase; color: var(--ink); padding: 8px 0;
}
.send {
  flex: none; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px;
  letter-spacing: .04em; padding: 9px 15px; white-space: nowrap; cursor: pointer;
}
.send:hover { background: var(--red); }
.send:disabled { opacity: .35; cursor: default; }
.send:disabled:hover { background: var(--ink); }
.hint { text-align: center; font-size: 10.5px; letter-spacing: .04em; color: var(--g2); }

.hovertag {
  position: absolute; left: 0; top: 0; opacity: 0; border: 1px solid var(--ink); background: #fff;
  padding: 3px 7px; font-size: 10.5px; letter-spacing: .04em; white-space: nowrap; will-change: transform;
}
.quip {
  position: absolute; left: 0; top: 0; opacity: 0; max-width: 250px; background: var(--ink); color: #fff;
  padding: 8px 11px; font-size: 13px; font-weight: 600; line-height: 1.3; letter-spacing: .01em;
  text-transform: uppercase; will-change: transform;
}
/* Live feed panel (right side, wide screens only; the orbit chips carry the feed on smaller ones) */
.live {
  position: absolute; right: var(--gutter); top: 56px; bottom: var(--gutter); width: var(--live-w);
  display: none; flex-direction: column; gap: 10px; pointer-events: auto;
  background: rgba(255,255,255,.95); border: 1.5px solid var(--ink); padding: 16px 16px 0;
}
.live-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.live-head .label { font-size: 17px; }
.live-state { display: flex; align-items: center; gap: 6px; font-size: 11.5px; letter-spacing: .04em; color: var(--g2); }
.live-state .sq { background: var(--g4); }
.live.on .live-state .sq { background: var(--red); animation: blink 1.4s steps(1) infinite; }
.live-sub { margin: 0; font-size: 11.5px; line-height: 1.5; color: var(--g2); letter-spacing: .03em; }
.live-list {
  list-style: none; margin: 0 -16px; padding: 12px 16px 16px; flex: 1; min-height: 0; overflow-y: auto;
  display: flex; flex-direction: column; gap: 10px; scrollbar-width: thin;
  border-top: 1px solid var(--ink);
}
.live-list li { border: 1px solid var(--ink); padding: 10px 12px 11px; font-size: 13px; line-height: 1.45; text-transform: uppercase; animation: livein .4s ease-out; }
.live-list li.you { background: var(--ink); color: #fff; }
.live-list .meta { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; opacity: .6; margin-bottom: 3px; }
.live-list .a { margin-top: 7px; padding-top: 7px; border-top: 1px dashed currentColor; color: var(--red); }
.live-list li.you .a { color: #ff7a6e; }
.live-list .empty { border: 0; padding: 4px 0; color: var(--g2); animation: none; }
@keyframes livein { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .live-list li { animation: none; } }
/* The robot stays centred on the page; the panel just takes the right edge. */
@media (min-width: 1200px) {
  .hero { --live-w: clamp(340px, 27vw, 480px); --live-space: calc(var(--live-w) + var(--gutter)); }
  .live { display: flex; }
  .giant { right: calc(var(--live-space) + var(--gutter)); font-size: clamp(56px, calc((100vw - var(--live-space)) * .11), 210px); }
  .dock { width: min(600px, calc(100% - 2 * var(--live-space) - 32px)); }
}

@media (max-width: 639px) { .buildtag, .hint-more { display: none; } }
@media (max-width: 899px) {
  .chip { max-width: 150px; }
  .dock { bottom: 34px; }
  .hint { position: absolute; left: 0; right: 0; bottom: -24px; }
}

/* ---------- SECTION NAV ---------- */
.secnav {
  position: sticky; top: 0; z-index: 20; background: #fff; border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--ink);
  display: flex; align-items: center; gap: 18px; padding: 10px var(--gutter); font-size: 11px; letter-spacing: .05em;
  overflow-x: auto; white-space: nowrap; scrollbar-width: none;
}
.secnav::-webkit-scrollbar { display: none; }
.secnav .brand { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 14px; letter-spacing: .01em; margin-right: auto; }
.secnav a.cur { color: var(--red); }
.secnav .talk { border: 1px solid var(--ink); border-radius: 999px; padding: 3px 11px; background: var(--ink); color: #fff; }
.secnav .talk:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- GENERIC SECTION ---------- */
.sec { padding: 72px var(--gutter) 96px; border-top: 1.5px solid var(--ink); display: flex; flex-direction: column; gap: 36px; scroll-margin-top: 40px; }
.sec:first-of-type { border-top: 0; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.sec-head > div { display: flex; flex-direction: column; gap: 14px; }
.sec h2 {
  margin: 0; font-family: var(--display); font-stretch: 125%; font-weight: 600;
  font-size: clamp(34px, 5vw, 84px); line-height: .88; letter-spacing: -.035em;
}
.blurb { max-width: 320px; font-size: 11.5px; line-height: 1.5; letter-spacing: .03em; margin: 0; }
.blurb.wide { max-width: 420px; }

/* ---------- FUSION ---------- */
.fusion { display: grid; grid-template-columns: 1fr auto 1fr auto 1.15fr; align-items: stretch; gap: 0; }
.fz {
  border: 1.5px solid var(--ink); padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0;
}
.fz .tagline { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--g2); letter-spacing: .05em; }
.fz h3 { margin: 0; font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: clamp(28px, 3.2vw, 52px); line-height: .9; letter-spacing: -.03em; }
.fz ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; font-size: 12px; text-transform: uppercase; }
.fz li { padding: 7px 0; border-bottom: 1px solid var(--g5); display: flex; gap: 10px; }
.fz li::before { content: '—'; color: var(--g4); }
.fz .glyph { height: 92px; display: flex; align-items: center; justify-content: center; }
.fz.result { background: var(--ink); color: #fff; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%); }
.fz.result .tagline { color: #9a9a9a; }
.fz.result li { border-bottom-color: #2a2a2a; }
.fz.result li::before { color: var(--red-hot); }
.op {
  display: flex; align-items: center; justify-content: center; padding: 0 14px;
  font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4vw, 64px); color: var(--red);
}
.specs { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1.5px solid var(--ink); }
.specs div { padding: 12px 12px 14px 0; border-right: 1px solid var(--g5); display: flex; flex-direction: column; gap: 5px; }
.specs div + div { padding-left: 12px; }
.specs div:last-child { border-right: 0; }
.specs span { font-size: 10px; color: var(--g2); letter-spacing: .05em; }
.specs b { font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.specs b.red { color: var(--red); }
@media (max-width: 999px) {
  .fusion { grid-template-columns: 1fr; }
  .op { padding: 6px 0; }
  .specs { grid-template-columns: repeat(3, 1fr); }
  .specs div:nth-child(3) { border-right: 0; }
  .specs div:nth-child(4) { padding-left: 0; }
  .specs div:nth-child(n+4) { border-top: 1px solid var(--g5); }
}

/* ---------- ABILITIES ---------- */
.abil { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.card { background: var(--ink); padding: 1.5px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%); }
.card > div {
  background: #fff; height: 100%; padding: 16px 16px 22px; display: flex; flex-direction: column; gap: 12px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 17.4px), calc(100% - 17.4px) 100%, 0 100%);
}
.card .top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.card .num { font-size: 10px; color: var(--g2); }
.card h3 { margin: 0; font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 26px; letter-spacing: -.02em; line-height: 1; }
.tag { font-size: 9.5px; letter-spacing: .05em; padding: 2px 6px; border: 1px solid var(--ink); white-space: nowrap; }
.tag.now { background: var(--red); color: #fff; border-color: var(--red); }
.card ul { margin: 0; padding: 0; list-style: none; font-size: 11.5px; line-height: 1.4; text-transform: uppercase; flex: 1; }
.card li { padding: 6px 0; border-bottom: 1px solid var(--g6); display: flex; justify-content: space-between; gap: 10px; }
.card li i { font-style: normal; font-size: 9.5px; color: var(--g3); white-space: nowrap; }
.card li i.now { color: var(--red); }
.card .try { align-self: flex-start; }
.legend { display: flex; gap: 16px; font-size: 10.5px; color: var(--g2); letter-spacing: .04em; align-items: center; flex-wrap: wrap; }

/* ---------- ASK ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.filters .hint-label { font-size: 10.5px; letter-spacing: .04em; color: var(--g2); margin-right: 4px; }
.prompts { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.prompt {
  all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 8px;
  padding: 14px 14px 16px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); min-height: 132px; background: #fff;
}
.prompt:hover { background: var(--ink); color: #fff; }
.prompt:hover .why, .prompt:hover .cat { color: #9a9a9a; }
.prompt:hover .go { color: #ff7a6e; }
.prompt:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
.prompt .cat { font-size: 9.5px; color: var(--g2); letter-spacing: .05em; display: flex; justify-content: space-between; }
.prompt .q { font-size: 14px; line-height: 1.3; text-transform: uppercase; font-weight: 600; flex: 1; text-wrap: pretty; }
.prompt .why { font-size: 10.5px; color: var(--g2); line-height: 1.4; text-transform: uppercase; }
.prompt .go { font-size: 10.5px; color: var(--red); letter-spacing: .04em; }
.prompt[hidden] { display: none; }
.custom-ask { display: flex; gap: 10px; align-items: center; font-size: 11px; color: var(--g2); letter-spacing: .03em; flex-wrap: wrap; }

/* ---------- DAY ---------- */
.day { display: grid; grid-template-columns: repeat(7, minmax(180px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; border-top: 1.5px solid var(--ink); scrollbar-width: thin; }
.stop { scroll-snap-align: start; padding: 0 14px 6px 0; display: flex; flex-direction: column; gap: 10px; position: relative; }
.stop + .stop { padding-left: 14px; border-left: 1px solid var(--g5); }
.stop .t { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 28px; letter-spacing: -.02em; padding-top: 14px; position: relative; }
.stop .t::before { content: ''; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--ink); }
.stop.hl .t::before { background: var(--red); }
.stop h4 { margin: 0; font-size: 12px; text-transform: uppercase; font-weight: 600; letter-spacing: .02em; }
.stop p { margin: 0; font-size: 11px; line-height: 1.5; color: var(--g1); text-transform: uppercase; }
.stop .say { font-size: 11px; color: var(--red); text-transform: uppercase; line-height: 1.4; border-top: 1px dashed var(--g4); padding-top: 8px; margin-top: auto; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); column-gap: 32px; border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--g5); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  padding: 14px 0; font-size: 13px; text-transform: uppercase; font-weight: 600; letter-spacing: .01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--red); flex: none; }
.faq details[open] summary::after { content: '−'; }
.faq summary:hover { color: var(--red); }
.faq p { margin: 0 0 16px; font-size: 11.5px; line-height: 1.6; color: var(--g1); text-transform: uppercase; max-width: 560px; }

/* ---------- CTA + FOOTER ---------- */
.cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding: 40px var(--gutter); border-top: 1.5px solid var(--ink); background: var(--ink); color: #fff; }
.cta h2 { margin: 0; font-family: var(--display); font-stretch: 125%; font-weight: 600; font-size: clamp(28px, 4vw, 60px); line-height: .9; letter-spacing: -.03em; }
.cta a { border: 1px solid #fff; border-radius: 999px; padding: 10px 18px; font-size: 12px; letter-spacing: .04em; color: #fff; }
.cta a:hover { background: var(--red); border-color: var(--red); color: #fff; }
footer {
  border-top: 1.5px solid var(--ink); padding: 20px var(--gutter) 28px; display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: baseline; gap: 12px 32px; font-size: 11px; letter-spacing: .03em; line-height: 1.5;
}
footer .fw { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 14px; }
footer .disc { max-width: 560px; color: var(--g1); text-wrap: pretty; }
[hidden] { display: none !important; }
