:root {
  --bg: #f7f4ef; --panel: #fffdf9; --sand: #efe3cf; --ink: #2b2622; --muted: #6b6058;
  --line: #e2d9cb; --accent: #c2410c; --accent-ink: #a8380a; --teal: #10a37f;
  --radius: 22px; --shadow: 0 2px 6px rgba(60,40,20,.08), 0 24px 60px rgba(60,40,20,.16);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 18px/1.6 Inter, "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-ink); }
a:focus-visible, summary:focus-visible, video:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
code { font: 500 .86em "JetBrains Mono", Consolas, monospace; background: var(--sand); padding: .12em .4em; border-radius: 6px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; background: var(--panel); padding: 8px 14px; border-radius: 10px; z-index: 10; }

.top { display: flex; align-items: center; justify-content: space-between; max-width: 1180px; margin: 0 auto; padding: 22px 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.top nav { display: flex; gap: 22px; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.top nav a:hover { color: var(--accent); }

main { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
h1 { font-weight: 800; font-size: clamp(48px, 7vw, 92px); line-height: .98; letter-spacing: -.045em; margin: 0; }
h1 em { font-style: normal; color: var(--accent); }
h2 { font-weight: 800; font-size: clamp(30px, 4vw, 44px); letter-spacing: -.03em; margin: 0 0 22px; }
h3 { font-weight: 800; font-size: 28px; letter-spacing: -.02em; margin: 0 0 12px; }

.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: 40px 0 70px; }
.lede { font-size: 21px; color: var(--muted); max-width: 560px; margin: 26px 0 30px; }
.lede b { color: var(--ink); }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-block; padding: 15px 24px; border-radius: 14px; font-weight: 700; text-decoration: none; color: var(--ink);
  background: var(--panel); border: 1px solid var(--line); }
.btn:hover { border-color: var(--ink); }
.btn.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn.primary:hover { background: var(--accent-ink); }
.needs { font-size: 14.5px; color: var(--muted); margin-top: 18px; }

/* the clay crew: ChatGPT's sprite strips, stepped at 2 poses a second, forward then back */
.hero-crew { position: relative; height: 500px; background: var(--sand); border-radius: 36px; overflow: hidden; }
.hero-crew::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 86px; background: #e6d5bb; }
.sprite { position: absolute; bottom: 52px; z-index: 1; background-repeat: no-repeat; background-size: 800% 100%;
  animation: pose 3.5s steps(7) infinite alternate; }
@keyframes pose { from { background-position: 0 0; } to { background-position: 100% 0; } }
.sprite.antigravity { left: 2%; top: 6%; bottom: auto; width: 27%; aspect-ratio: 330 / 369; background-image: url(assets/sprites/antigravity.webp); animation-delay: -.8s; }
.sprite.codex { left: -3%; width: 31%; aspect-ratio: 366 / 379; background-image: url(assets/sprites/codex.webp); animation-delay: -.3s; }
.sprite.claude { left: 22%; width: 27%; aspect-ratio: 329 / 447; background-image: url(assets/sprites/claude.webp); animation-delay: -.5s; bottom: 66px; z-index: 2; }
.sprite.cursor { left: 47%; width: 27%; aspect-ratio: 330 / 451; background-image: url(assets/sprites/cursor.webp); animation-delay: -1s; }
.sprite.you { right: 0; width: 25%; aspect-ratio: 303 / 451; background-image: url(assets/sprites/you.webp); animation-delay: -1.5s; bottom: 60px; z-index: 2; }
@media (prefers-reduced-motion: reduce) { .sprite { animation: none; } html { scroll-behavior: auto; } }

.video-band { margin: 0 -24px; padding: 60px 24px; background: var(--ink); border-radius: 36px; text-align: center; }
.video-band video { width: 100%; max-width: 1000px; border-radius: 18px; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.video-band .caption { color: #d8cbbb; font-size: 15.5px; margin: 18px auto 0; max-width: 720px; }
.video-band a { color: #ffb38c; }

.how { padding: 90px 0 30px; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; max-width: 760px; }
.steps li { counter-increment: s; position: relative; padding: 0 0 22px 64px; font-size: 20px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 44px; height: 44px; border-radius: 50%; background: var(--accent);
  color: #fff; font-weight: 800; display: grid; place-items: center; }

.story { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; padding: 46px 0; }
.story.flip .shot { order: 2; }
.shot { border-radius: var(--radius); overflow: hidden; background: var(--panel); box-shadow: var(--shadow); aspect-ratio: 16 / 10; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; display: block; }
.words p { color: var(--muted); font-size: 19px; margin: 0; }

.more { padding: 70px 0 20px; }
.more ul { list-style: none; padding: 0; margin: 0; max-width: 820px; }
.more li { padding: 16px 0; border-top: 1px solid var(--line); color: var(--muted); }
.more li b { color: var(--ink); }

.install { margin: 60px -24px 0; padding: 70px 48px; background: var(--panel); border-radius: 36px; box-shadow: var(--shadow); }
.install ol { padding-left: 26px; max-width: 820px; font-size: 19px; }
.install li { padding: 8px 0 8px 8px; }
.install li::marker { font-weight: 800; color: var(--accent); }
.try { font-size: 18px; color: var(--muted); border-left: 4px solid var(--teal); padding-left: 16px; max-width: 820px; }

.faq { padding: 80px 0 40px; max-width: 820px; }
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq summary { font-weight: 700; cursor: pointer; font-size: 19px; }
.faq p { color: var(--muted); margin: 10px 0 0; }

/* downloads for every system */
.platforms { font-size: 15.5px; color: var(--muted); margin: 16px 0 0; }
.install .first { max-width: 820px; color: var(--muted); }
.systems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 26px 0 30px; }
.system { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 22px 22px 16px; }
.system.here { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent) inset; }
.system h3 { font-size: 22px; }
.system ol { padding-left: 22px; font-size: 16.5px; margin: 0 0 12px; }
.system li { padding: 4px 0 4px 4px; }
.system .small { font-size: 14.5px; color: var(--muted); margin: 0; }
@media (max-width: 980px) { .systems { grid-template-columns: 1fr; } }

.new { display: inline-block; font: 800 13px Inter, sans-serif; letter-spacing: .04em; text-transform: uppercase; color: #fff;
  background: var(--teal); padding: 4px 10px; border-radius: 99px; margin-bottom: 10px; }

/* agents: install, sign in, check */
.agents { padding: 80px 0 20px; }
.agents .first { max-width: 820px; color: var(--muted); }
.agent-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 26px 0 18px; }
.agent { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: var(--shadow); }
.agent img { width: 64px; height: 64px; border-radius: 50%; float: right; margin: 0 0 8px 12px; }
.agent h3 { font-size: 24px; margin-bottom: 6px; }
.agent .what { color: var(--muted); font-size: 16px; margin: 0 0 14px; }
.agent dl { margin: 0; display: grid; grid-template-columns: 82px 1fr; gap: 8px 12px; font-size: 15.5px; }
.agent dt { font-weight: 800; color: var(--accent-ink); }
.agent dd { margin: 0; overflow-wrap: anywhere; }
.agent code { font-size: .8em; }
.small-note { font-size: 15px; color: var(--muted); max-width: 820px; }
.first-run { border-left: 4px solid var(--teal); padding-left: 20px; max-width: 860px; }
.first-run h3 { font-size: 24px; }
.first-run ol { font-size: 17px; }
@media (max-width: 860px) { .agent-grid { grid-template-columns: 1fr; } }

footer { max-width: 1180px; margin: 40px auto 0; padding: 30px 24px 50px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }

@media (max-width: 860px) {
  body { font-size: 17px; }
  .top nav a:not(:last-child) { display: none; }
  .hero, .story { grid-template-columns: 1fr; gap: 26px; }
  .story.flip .shot { order: 0; }
  .hero-crew { height: 330px; }
  .video-band, .install { margin-left: -16px; margin-right: -16px; border-radius: 26px; }
  .install { padding: 44px 22px; }
  main { padding: 0 16px; }
}
