  :root {
    --bg: #0b0c0e; --panel: #131416; --raised: #1a1b1e; --border: rgba(255,255,255,.08); --border-hi: rgba(255,255,255,.16);
    --fg: #f7f8f8; --fg2: #9a9fa8; --fg3: #6b7078;
    --brand: #694bfb; --brand-hi: #8d76ff; --accent: #5e6ad2; --yellow: #fdc023; --green: #4cb782; --purple: #a371f7; --red: #e5484d;
    --font: Inter, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
    --mono: ui-monospace, "SF Mono", Menlo, monospace;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
  a { color: inherit; text-decoration: none; }
  img { max-width: 100%; height: auto; display: block; }
  .wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
  h1, h2, h3 { margin: 0; letter-spacing: -.02em; line-height: 1.12; text-wrap: balance; }
  h1 { font-size: clamp(40px, 6.4vw, 72px); font-weight: 650; }
  h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 620; }
  h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
  p { margin: 0; color: var(--fg2); text-wrap: pretty; }
  .eyebrow { font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brand-hi); }
  .btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; white-space: nowrap; border-radius: 10px; font-weight: 550; font-size: 15px; border: 1px solid var(--border-hi); background: var(--raised); transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
  .btn:hover { transform: translateY(-1px); background: #222327; }
  .btn-primary { background: var(--brand); border-color: transparent; box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 8px 32px rgba(105,75,251,.45); }
  .btn-primary:hover { background: #7a5fff; }
  .btn-sm { height: 34px; padding: 0 14px; font-size: 14px; border-radius: 8px; }
  :focus-visible { outline: 2px solid var(--brand-hi); outline-offset: 3px; border-radius: 6px; }

  /* The pixel grid of the logo, as the page's backdrop */
  .backdrop { position: absolute; inset: 0 0 auto 0; height: 900px; z-index: -1; pointer-events: none;
    background:
      radial-gradient(60% 55% at 50% 0%, rgba(105,75,251,.34), transparent 70%),
      linear-gradient(var(--border) 1px, transparent 1px) 0 0 / 32px 32px,
      linear-gradient(90deg, var(--border) 1px, transparent 1px) 0 0 / 32px 32px;
    -webkit-mask-image: linear-gradient(#000 30%, transparent); mask-image: linear-gradient(#000 30%, transparent); }

  nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: rgba(11,12,14,.72); border-bottom: 1px solid var(--border); }
  nav .wrap { display: flex; align-items: center; gap: 28px; height: 60px; }
  .logo { display: flex; align-items: center; gap: 10px; font-weight: 620; letter-spacing: -.01em; white-space: nowrap; }
  .logo svg { width: 26px; height: 26px; }
  .logo small { font: 500 11px/1 var(--mono); color: var(--fg3); letter-spacing: .1em; text-transform: uppercase; }
  nav .links { display: flex; gap: 24px; margin-left: auto; font-size: 14px; color: var(--fg2); }
  nav .links a:hover { color: var(--fg); }
  @media (max-width: 1000px) { nav .links { display: none; } nav .wrap { justify-content: space-between; } }
  @media (max-width: 480px) { .logo small { display: none; } nav .wrap { gap: 12px; padding: 0 16px; } }

  header.hero { position: relative; padding: 88px 0 40px; text-align: center; }
  .hero h1 span { display: block; background: linear-gradient(90deg, #b9a8ff, var(--brand-hi) 40%, var(--yellow)); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .hero p.lead { max-width: 660px; margin: 22px auto 0; font-size: 19px; }
  .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
  .fine { margin-top: 14px; font-size: 13px; color: var(--fg3); }

  /* The hero's app window: drawn in the app's own colours, its rows moved by the script at the end */
  .window { margin: 56px auto 0; max-width: 1040px; border-radius: 14px; border: 1px solid var(--border-hi); background: #0f1011; overflow: hidden; text-align: left;
    box-shadow: 0 40px 120px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.04), 0 0 140px rgba(105,75,251,.22); }
  .chrome { display: flex; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--border); background: #131416; }
  .chrome i { width: 11px; height: 11px; border-radius: 50%; background: #2c2d31; }
  .app { display: grid; grid-template-columns: 250px 1fr; min-height: 510px; } /* the open question, the tallest scene, fits: the page below never jumps */
  @media (max-width: 480px) { .app { min-height: 540px; } }
  .side { border-right: 1px solid var(--border); background: #131416; padding: 12px 10px; font-size: 13px; display: flex; flex-direction: column; }
  .search { display: flex; align-items: center; gap: 8px; padding: 4px 6px 6px; color: var(--fg3); }
  .search svg { width: 13px; height: 13px; } .search i { margin-left: auto; font: 400 16px/1 var(--font); }
  /* Needs attention stays at the top, the other groups sit at the bottom, as in the app */
  .grp { font: 500 11px/16px var(--font); letter-spacing: .04em; text-transform: uppercase; color: var(--fg3); padding: 10px 8px 4px; display: flex; gap: 6px; }
  .grp::before { content: "▾"; } .grp .n { font-weight: 400; }
  .grp.low { margin-top: auto; }
  .rows { min-height: 4px; }
  .row { position: relative; z-index: 1; padding: 6px 9px; margin: 2px 0; border-radius: 8px; background: #1d1e20; } /* opaque, so a gliding row hides those it passes */
  .row.on { background: #2a2b2d; box-shadow: inset 0 0 0 1px var(--accent); }
  .row.on .nm { font-weight: 600; }
  .line { display: flex; align-items: center; gap: 6px; line-height: 16px; }
  .ico { flex: none; width: 14px; height: 14px; border-radius: 3px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: var(--fg2); font: normal 600 9px/1 var(--font); }
  .repo { flex: 1; color: var(--fg3); font-size: 11px; }
  .st, .ago { flex: none; font-size: 11px; } .st { font-weight: 500; } .ago { color: var(--fg3); opacity: .7; }
  .st.ask { color: var(--yellow); } .st.review { color: var(--green); } .st.merged { color: var(--purple); }
  .st.working { color: #6e7ae0; background: linear-gradient(90deg, rgba(110,122,224,.7), #6e7ae0 40%, rgba(110,122,224,.7) 80%); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 2s linear infinite; }
  @keyframes shimmer { from { background-position: 100% 0; } to { background-position: -200% 0; } }
  .row .nm { flex: 1; color: #d6d8dc; line-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .row.flash { z-index: 2; animation: flash 1.2s ease; } /* a row changing group passes over the others */
  @keyframes flash { 30% { background: #322b5d; } }
  .main { display: flex; flex-direction: column; min-width: 0; }
  .head { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--border); font-size: 13.5px; color: var(--fg3); }
  .head .ico { width: 18px; height: 18px; border-radius: 4px; font-size: 11px; }
  .head strong { color: var(--fg); font-weight: 600; }
  .head .acts { margin-left: auto; display: flex; gap: 6px; }
  .head .acts span { padding: 4px 10px; border-radius: 6px; font-size: 12.5px; font-weight: 550; color: var(--fg2); }
  .head .acts span:first-child { background: var(--accent); color: #fff; }
  .chat { flex: 1; padding: 20px 28px; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
  .chat > * { animation: rise .45s ease both; }
  .chat > :nth-child(2) { animation-delay: .25s; } .chat > :nth-child(3) { animation-delay: .5s; } .chat > :nth-child(4) { animation-delay: .75s; } .chat > :nth-child(5) { animation-delay: 1s; }
  @keyframes rise { from { opacity: 0; transform: translateY(8px); } }
  .you { align-self: flex-end; background: var(--raised); border: 1px solid var(--border); padding: 8px 14px; border-radius: 12px; color: var(--fg); }
  .tool { display: flex; gap: 10px; align-items: center; font: 12px/1 var(--mono); color: var(--fg2); border: 1px solid var(--border); border-radius: 8px; padding: 9px 12px; }
  .tool em { font-style: normal; color: var(--green); margin-left: auto; } .tool s { text-decoration: none; color: var(--red); }
  .say { color: #d6d8dc; }
  .card { border: 1px solid var(--yellow); border-radius: 10px; padding: 12px 14px; background: #17181a; margin-top: auto; color: var(--fg); }
  .card small { display: flex; gap: 10px; margin-bottom: 6px; color: var(--fg3); font-size: 12px; }
  .card small b { color: var(--yellow); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
  .opt { display: grid; grid-template-columns: 14px 1fr; gap: 0 10px; align-items: center; border: 1px solid var(--border); border-radius: 8px; padding: 7px 10px; margin-top: 6px; color: var(--fg2); background: #0f1011; }
  .opt::before { content: ""; width: 12px; height: 12px; border: 1.5px solid var(--fg3); border-radius: 50%; box-sizing: border-box; }
  .opt b { display: flex; align-items: center; color: var(--fg); font-weight: 550; } .opt kbd { margin-left: auto; font-size: 10.5px; color: var(--fg3); border-color: var(--border); } .opt span { grid-column: 2; font-size: 12.5px; }
  .opt em { font-style: normal; font-size: 11px; color: var(--green); background: rgba(76,183,130,.12); border-radius: 4px; padding: 1px 6px; margin-left: 8px; }
  .opt.other { border-style: dashed; color: var(--fg3); }
  .card.done { display: flex; align-items: center; gap: 10px; border-color: var(--border-hi); }
  .card.done b { color: var(--fg3); font-weight: 500; } .card.done span { flex: 1; }
  .pill { font-style: normal; font-size: 11.5px; color: var(--green); background: rgba(76,183,130,.12); border-radius: 99px; padding: 1px 8px; }
  .card .foot { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12.5px; color: var(--fg2); }
  .card .foot span:last-child { background: rgba(94,106,210,.45); color: #c8ccf0; padding: 2px 12px; border-radius: 6px; }
  @media (max-width: 760px) { .app { grid-template-columns: 1fr; } .side { display: none; } }

  .strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; margin: 44px auto 0; font-size: 13.5px; color: var(--fg2); }
  .strip span { border: 1px solid var(--border); border-radius: 99px; padding: 6px 14px; background: var(--panel); }

  section { padding: 96px 0 0; }
  .intro { max-width: 720px; margin: 0 auto 56px; text-align: center; }
  .intro p { margin-top: 16px; font-size: 18px; }
  .feature { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; padding: 44px 0; }
  .feature:nth-of-type(even) { grid-template-columns: 7fr 5fr; }
  .feature:nth-of-type(even) .copy { order: 2; }
  .feature h3 { font-size: clamp(22px, 2.4vw, 28px); margin: 12px 0; letter-spacing: -.02em; }
  .feature ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px; color: var(--fg2); font-size: 15px; }
  .feature li { padding-left: 22px; position: relative; }
  .feature li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; background: var(--brand); }
  .shots { position: relative; display: grid; gap: 14px; }
  .shot { border-radius: 12px; border: 1px solid var(--border-hi); overflow: hidden; background: #0f1011; box-shadow: 0 24px 70px rgba(0,0,0,.55), 0 0 80px rgba(105,75,251,.1); transition: transform .3s ease; }
  .shot:hover { transform: translateY(-4px); }
  .shots .narrow { width: 46%; justify-self: end; margin-top: -44px; }
  @media (max-width: 860px) { .feature, .feature:nth-of-type(even) { grid-template-columns: 1fr; gap: 28px; } .feature:nth-of-type(even) .copy { order: 0; } }

  /* What brings a thread in front of you, and what does not */
  .focus { display: grid; grid-template-columns: 1fr 1fr; }
  .focus > div { padding: 22px; display: grid; gap: 8px; align-content: start; }
  .focus > div + div { border-left: 1px solid var(--border); }
  .focus h4 { margin: 0 0 6px; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); }
  .focus > div + div h4 { color: var(--fg3); }
  .focus span { font-size: 14px; padding: 9px 12px; border-radius: 8px; border: 1px solid rgba(253,192,35,.35); background: rgba(253,192,35,.07); animation: call 6s ease-in-out infinite; }
  .focus span:nth-of-type(2) { animation-delay: 1.2s; } .focus span:nth-of-type(3) { animation-delay: 2.4s; } .focus span:nth-of-type(4) { animation-delay: 3.6s; } .focus span:nth-of-type(5) { animation-delay: 4.8s; }
  .focus > div + div span { border-color: var(--border); background: none; color: var(--fg3); animation: none; }
  @keyframes call { 0%, 14%, 100% { box-shadow: none; } 7% { box-shadow: 0 0 22px rgba(253,192,35,.45); } }
  @media (max-width: 520px) { .focus { grid-template-columns: 1fr; } .focus > div + div { border-left: 0; border-top: 1px solid var(--border); } }

  /* One next action until merged: the highlight walks the steps */
  .pipe { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 30px 26px 22px; }
  .auto { padding: 14px 26px; border-top: 1px solid var(--border); font-size: 14px; color: var(--fg2); }
  .auto b { color: var(--fg); } kbd { font: 12px var(--mono); border: 1px solid var(--border-hi); border-radius: 5px; padding: 1px 6px; color: var(--fg); }
  .tile pre { margin: 0; padding: 22px; font: 12.5px/1.7 var(--mono); color: #c4a5ff; background: #0f1011; border-left: 1px solid var(--border); height: 100%; overflow-x: auto; }
  .pipe span { padding: 9px 14px; border-radius: 8px; border: 1px solid var(--border-hi); font-size: 14px; font-weight: 550; color: var(--fg2); animation: step 10s infinite; }
  .pipe span:nth-of-type(2) { animation-delay: 2s; } .pipe span:nth-of-type(3) { animation-delay: 4s; } .pipe span:nth-of-type(4) { animation-delay: 6s; }
  .pipe span:nth-of-type(5) { animation-name: merged; animation-delay: 8s; }
  .pipe i { color: var(--fg3); font-style: normal; }
  @keyframes step { 0%, 18% { background: var(--accent); color: #fff; border-color: transparent; box-shadow: 0 0 28px rgba(94,106,210,.6); } 20%, 100% { background: none; color: var(--fg2); } }
  @keyframes merged { 0%, 18% { background: var(--purple); color: #fff; border-color: transparent; box-shadow: 0 0 28px rgba(163,113,247,.6); } 20%, 100% { background: none; color: var(--fg2); } }

  .beta { display: inline-block; margin-left: 8px; padding: 3px 8px; border-radius: 99px; border: 1px solid rgba(253,192,35,.5); color: var(--yellow); font: 500 10.5px/1 var(--mono); letter-spacing: .1em; vertical-align: 2px; }
  .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .tile { border: 1px solid var(--border); border-radius: 12px; padding: 22px; background: linear-gradient(180deg, var(--panel), transparent); transition: border-color .2s ease, transform .2s ease; }
  .tile:hover { border-color: rgba(105,75,251,.6); transform: translateY(-2px); }
  .tile p { margin-top: 8px; font-size: 14.5px; }
  .agents small { font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brand-hi); }
  .agents h3 { margin-top: 10px; }
  .agents a { text-decoration: underline; }
  .grid.four { grid-template-columns: repeat(4, 1fr); }
  .brainband { margin-top: 14px; display: grid; grid-template-columns: 180px 1fr; gap: 8px 24px; align-items: baseline; }
  .brainband h3 { margin-top: 0; }
  @media (max-width: 1100px) { .grid.four { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 860px) { .grid.four, .brainband { grid-template-columns: 1fr; } }
  .wide { grid-column: span 2; padding: 0; overflow: hidden; display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; }
  .wide div { padding: 22px; }
  @media (max-width: 860px) { .grid { grid-template-columns: 1fr; } .wide { grid-column: auto; grid-template-columns: 1fr; } }

  .steps { counter-reset: n; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .steps .tile::before { counter-increment: n; content: "0" counter(n); font: 500 13px var(--mono); color: var(--brand-hi); display: block; margin-bottom: 14px; }
  @media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

  .factory { border: 1px solid var(--border); border-radius: 16px; padding: 44px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
    background: radial-gradient(80% 140% at 100% 0%, rgba(253,192,35,.1), transparent 60%), var(--panel); }
  .factory p { margin-top: 12px; max-width: 620px; }
  .factory svg { width: 112px; height: 112px; }
  @media (max-width: 760px) { .factory { grid-template-columns: 1fr; padding: 28px; } }

  details { border-bottom: 1px solid var(--border); padding: 18px 4px; max-width: 760px; margin: 0 auto; }
  summary { cursor: pointer; font-weight: 550; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
  summary::-webkit-details-marker { display: none; }
  summary::after { content: "+"; color: var(--fg3); font: 400 20px/1 var(--mono); transition: transform .2s ease; }
  details[open] summary::after { transform: rotate(45deg); }
  details p { margin-top: 10px; }

  .final { text-align: center; padding: 120px 0 96px; position: relative; }
  .final img { width: 96px; margin: 0 auto 28px; filter: drop-shadow(0 16px 48px rgba(105,75,251,.6)); animation: float 5s ease-in-out infinite; }
  @keyframes float { 50% { transform: translateY(-8px); } }
  footer { border-top: 1px solid var(--border); padding: 28px 0 44px; color: var(--fg3); font-size: 13.5px; }
  footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
  footer a:hover { color: var(--fg); }

  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) { *, *::before { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }
  .more { text-align: center; padding-top: 24px; max-width: 640px; margin: 0 auto; }
  .more .btn { margin-top: 18px; color: var(--fg); }
  .doc { max-width: 760px; margin: 0 auto; padding: 72px 24px 24px; } .doc h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 24px; }
  .doc h2 { font-size: 22px; margin: 36px 0 10px; } .doc p, .doc li { margin-top: 10px; color: var(--fg2); } .doc a { text-decoration: underline; }

  /* Changelog: the version and date stay beside each release while it scrolls */
  .ul { text-decoration: underline; text-underline-offset: 3px; } .ul:hover { color: var(--fg); }
  .releases { max-width: 940px; margin: 0 auto; padding-bottom: 72px; }
  .release { display: grid; grid-template-columns: 170px 1fr; gap: 44px; padding: 52px 0; border-top: 1px solid var(--border); scroll-margin-top: 60px; }
  .release .when { position: sticky; top: 96px; align-self: start; display: grid; gap: 8px; }
  .release .when a { font: 500 13px/1 var(--mono); letter-spacing: .08em; color: var(--brand-hi); }
  .release .when a::before { content: "v"; opacity: .6; }
  .release .when time { font-size: 14px; color: var(--fg3); }
  .release h2 { font-size: clamp(24px, 2.8vw, 32px); }
  .release h2 .beta { margin-left: 12px; vertical-align: 6px; }
  .release .lead { margin-top: 14px; font-size: 17.5px; color: #c4c7cd; }
  .release h3 { margin: 30px 0 6px; }
  .release .notes > p:not(.lead) { font-size: 15.5px; }
  .release .shot { margin-top: 20px; }
  .release .shot:hover { transform: none; }
  .release h4 { margin: 34px 0 0; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--fg3); }
  .release ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; color: var(--fg2); font-size: 15px; }
  .release li { padding-left: 22px; position: relative; }
  .release li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; background: var(--brand); }
  .release li b { color: var(--fg); font-weight: 550; }
  .release code { font: 13px var(--mono); color: #c4a5ff; }
  @media (max-width: 760px) { .release { grid-template-columns: 1fr; gap: 14px; padding: 40px 0; } .release .when { position: static; display: flex; gap: 14px; align-items: baseline; } }
