/* Anticode Hyper's coming-soon page (public/hyper.html, hyper.js), rebuilt 2026-11-12 when the owner asked to "revamp
   and recreate /hyper like crazy". The site's header and footer (site.css) and its buttons (base.css) stay; the page
   itself is Hyper's own graphite.

   Signature: the stage (swarm.js, swarm.css, which also hold the tokens), a live window in the hero where ten agents, each a coloured dart cursor, build a booking app
   at the same time and then stop to ask the person, who can answer. Everything around it is quiet.

   Tokens (contrast against --g0 #08090a):
     ink   #f7f8f8 19.2:1 · body #d0d6e0 14.0:1 · muted #8a8f98 6.3:1 · faint #62666d 3.4:1 (large text and marks only)
     agents: warm and pastel, never blue, cyan, teal or indigo (the owner, 2026-11-07). Mint means done, amber means
     "needs you"; only Deploy wears amber, because it is the agent that asks. No outlines: surfaces are told apart by fill. No pulsing or glowing dots:
     what is working is a word or the Anticode mark. */
.hy {
  --wrap: min(1240px, calc(100% - 2 * clamp(16px, 4vw, 40px)));
  --ease-move: cubic-bezier(0.65, 0, 0.35, 1); --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  margin: 0; min-height: 100vh; background: var(--g0); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
/* the public pages' purple-and-blue aurora (site.css) is not Hyper's: here the ground is plain graphite */
html:has(> body.hy) { background: #08090a; }
body.site.hy { background: var(--g0); }
body.site.hy::before { display: none; }
body.site.hy ::selection { background: rgba(255, 255, 255, 0.22); }
/* resets at no specificity, so every button's own rule wins */
:where(.hy) :where(button) { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
.hy :focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.hy-soon-mk { flex: none; }

/* ---------------- the hero ---------------- */
.hy-hero { position: relative; isolation: isolate; padding: clamp(56px, 10vh, 120px) 0 0; }
/* a faint light from the top, neutral, the homepage's own */
.hy-hero::before { content: ""; position: absolute; z-index: -1; inset: -72px 0 auto; height: 900px; pointer-events: none;
  background: radial-gradient(70% 60% at 50% 0%, #15161a 0%, #0d0e10 45%, transparent 80%); }
.hy-head { width: var(--wrap); margin: 0 auto; display: grid; justify-items: center; text-align: center; }
.hy-hero h1 { margin: 0; max-width: 14ch; font-size: clamp(44px, 6.6vw, 92px); line-height: 0.98; letter-spacing: -0.038em; font-weight: 600; color: var(--ink); text-wrap: balance; }
.hy-h1-you { color: var(--muted); }
.hy-lede { margin: 28px 0 0; max-width: 46ch; font-size: clamp(17px, 1.55vw, 20px); line-height: 1.55; color: var(--body); text-wrap: pretty; }
.hy-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.hy-acts .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }
.hy-soon { display: inline-flex; align-items: center; gap: 9px; margin: 22px 0 0; font-size: 14px; font-weight: 500; color: var(--muted); }
.hy-soon-mk { width: 13px; height: 14px; fill: var(--ink); }

/* ---------------- the stage's place on this page (the stage itself: swarm.css) ---------------- */
.hy-stage { width: min(1320px, calc(100% - 2 * clamp(12px, 3vw, 40px))); margin: clamp(48px, 8vh, 88px) auto 0; scroll-margin-top: 96px; }

/* ---------------- sections ---------------- */
.hy-sec { width: var(--wrap); margin: 0 auto; padding-top: clamp(96px, 16vh, 180px); }
.hy-sec-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.hy h2 { margin: 0; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 600; color: var(--ink); text-wrap: balance; }
.hy-sec-head p { margin: 0; max-width: 46ch; font-size: 16.5px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }

/* the crew: ten agents */
.hy-agents { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.hy-agents li { position: relative; display: grid; align-content: space-between; gap: 34px; min-height: 196px; padding: 18px; border-radius: 16px; background: var(--g2); overflow: hidden;
  transition: background-color 200ms ease-out, transform 300ms var(--ease-out); }
.hy-agents li:hover { background: color-mix(in srgb, var(--c) 7%, var(--g3)); transform: translateY(-3px); }
.hy-agents .ag-top { display: flex; align-items: center; justify-content: space-between; }
.hy-agents svg.dt { width: 26px; height: 26px; }
.hy-agents b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.hy-agents p { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }

/* the five places */
.pl { border-radius: 22px; background: var(--g1); padding: 10px; }
.pl-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--g2); width: fit-content; max-width: 100%; overflow-x: auto; }
.pl-tabs button { min-height: 40px; padding: 0 18px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--muted); white-space: nowrap; transition: background-color 150ms ease-out, color 150ms ease-out; }
.pl-tabs button:hover { color: var(--ink); }
.pl-tabs button[aria-selected="true"] { background: var(--g4); color: var(--ink); }
.pl-panel { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 9fr); gap: clamp(20px, 3vw, 48px); align-items: center; padding: clamp(20px, 3vw, 40px) clamp(14px, 2vw, 28px) clamp(16px, 2vw, 28px); }
.pl-panel[hidden] { display: none; }
.pl-panel:not([hidden]) .pl-shot { animation: shot-in 520ms var(--ease-out) both; }
@keyframes shot-in { from { opacity: 0; transform: translateY(10px); } }
.pl-say { margin: 0; font-size: 17px; line-height: 1.6; color: var(--body); text-wrap: pretty; }
.pl-shot { min-height: 340px; border-radius: 16px; background: var(--g2); padding: clamp(14px, 2vw, 24px); }
/* map */
.map { display: grid; place-items: center; }
.map-svg { width: 100%; height: auto; }
.map-edges path { fill: none; stroke: var(--g5); stroke-width: 2; }
.map-edges path.soft { stroke-dasharray: 2 6; stroke-linecap: round; }
.map-nodes rect { fill: var(--g4); }
.map-nodes text { fill: var(--ink); font-size: 14px; font-weight: 600; text-anchor: middle; font-family: var(--font); }
.map-nodes text.s { fill: var(--muted); font-size: 11.5px; font-weight: 450; font-variant-numeric: tabular-nums; }
.map-darts use { fill: var(--c); stroke: var(--g0); stroke-width: 1.4; }
/* systems */
.sys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-content: center; }
.sys-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; padding: 18px; border-radius: 14px; background: var(--g3); }
.sys-card b { font-size: 16px; font-weight: 650; }
.tag { height: 24px; padding: 0 10px; border-radius: 999px; background: var(--g5); font-size: 12px; font-weight: 600; line-height: 24px; color: var(--body); }
.tag.ok { background: color-mix(in srgb, var(--done) 16%, transparent); color: var(--done); }
.tag.ask { background: color-mix(in srgb, var(--need) 16%, transparent); color: var(--need); }
.sys-card dl { grid-column: 1 / -1; margin: 6px 0 0; display: grid; gap: 8px; }
.sys-card dl div { display: flex; justify-content: space-between; font-size: 13.5px; }
.sys-card dt { color: var(--muted); } .sys-card dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.sys-card p { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; margin: 6px 0 0; padding-top: 12px; font-size: 13px; color: var(--body); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); }
/* build */
.bld { display: grid; align-content: center; gap: 12px; }
.bld-file { font-size: 13px; font-weight: 600; color: var(--muted); }
.bld-diff { margin: 0; padding: 14px 0; border-radius: 12px; background: var(--g1); font: 13.5px/1.75 ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace; color: var(--body); overflow-x: auto; }
.bld-diff code { display: block; white-space: pre; }
.bld-diff .ln { display: inline-block; width: 44px; padding-right: 14px; text-align: right; color: var(--faint); }
.bld-diff .ln.del, .bld-diff .ln.del + span { color: #ff9a8f; }
.bld-diff .ln.add, .bld-diff .ln.add + span { color: var(--done); }
.bld-by { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: var(--body); }
.bld-by b { color: var(--ink); font-weight: 600; }
.bld-acts { display: flex; gap: 8px; margin-left: auto; }
.bld-acts span { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--g4); font-size: 13.5px; font-weight: 600; }
.bld-acts .go { background: var(--ink); color: var(--g0); }
/* data */
.dat { display: grid; align-content: center; overflow-x: auto; }
.dat table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.dat th { padding: 10px 14px; text-align: left; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.dat td { padding: 13px 14px; color: var(--body); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); white-space: nowrap; }
.dat tr.new td { background: color-mix(in srgb, var(--a-lime) 8%, transparent); color: var(--ink); }
.dat tr.new td:first-child { border-radius: 10px 0 0 10px; } .dat tr.new td:last-child { border-radius: 0 10px 10px 0; }
/* cockpit */
.ck { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 6fr); gap: 14px; align-items: stretch; }
.ck-main { display: grid; align-content: start; gap: 6px; padding: 18px; border-radius: 14px; background: var(--g3); }
.ck-main span { font-size: 13px; color: var(--muted); }
.ck-main strong { font-size: 34px; font-weight: 650; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ck-line { width: 100%; height: 130px; margin-top: 18px; }
.ck-line path { fill: none; stroke: var(--ink); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.ck-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; align-content: center; }
.ck-feed li { display: flex; align-items: flex-start; gap: 10px; padding: 14px; border-radius: 12px; background: var(--g3); font-size: 13.5px; line-height: 1.45; color: var(--body); }
.ck-feed svg.dt { margin-top: 1px; }

/* you decide: the timeline */
.tl { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 40px); align-items: center; padding: clamp(18px, 3vw, 36px); border-radius: 22px; background: var(--g1); }
.tl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.tl-list li { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 52px; padding: 0 16px; border-radius: 12px; background: var(--g2);
  font-size: 14.5px; color: var(--body); animation: log-in 360ms var(--ease-out) both; }
.tl-list li b { color: var(--ink); font-weight: 600; }
.tl-list time { font-size: 12.5px; color: var(--faint); font-variant-numeric: tabular-nums; }
.tl-list li.you { background: color-mix(in srgb, var(--done) 9%, var(--g2)); }
.tl-list li.you .dt { fill: var(--ink); }
.tl-ask { width: 100%; justify-self: end; }
.tl-ask.clear { box-shadow: 0 0 0 1px color-mix(in srgb, var(--done) 35%, transparent); }
.tl-ask.clear .sg-need { background: color-mix(in srgb, var(--done) 14%, transparent); color: var(--done); }

/* the film */
.hy-film figure { margin: 0; }
.hy-screen { position: relative; border-radius: 22px; overflow: hidden; background: var(--g2); aspect-ratio: 16 / 9; box-shadow: 0 60px 140px -50px rgba(0, 0, 0, 0.9); }
.hy-screen video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hy-play { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 14px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: #ffffff; background: rgba(12, 12, 14, 0.72); opacity: 0; transition: opacity 200ms ease-out; }
.hy-screen:hover .hy-play, .hy-play:focus-visible, .hy-play[aria-pressed="true"] { opacity: 1; }
@media (hover: none) { .hy-play { opacity: 1; } }
.hy-play svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.hy-play .hy-ic-play { fill: currentColor; stroke: none; }
.hy-play[aria-pressed="false"] .hy-ic-play, .hy-play[aria-pressed="true"] .hy-ic-pause { display: none; }

/* the way out */
.hy-end { width: var(--wrap); margin: 0 auto; padding: clamp(120px, 18vh, 200px) 0 clamp(80px, 12vh, 140px); display: grid; justify-items: center; text-align: center; }
.hy-end-mk { width: 44px; height: 50px; fill: var(--ink); margin-bottom: 28px; }
.hy-end h2 { font-size: clamp(36px, 4.4vw, 60px); }
.hy-end p { margin: 18px 0 0; max-width: 44ch; font-size: 17px; line-height: 1.6; color: var(--muted); }

/* ---------------- motion preferences, contrast, sizes ---------------- */
@media (prefers-reduced-motion: no-preference) {
  .hy-head > * { animation: hy-rise 900ms var(--ease-out) both; }
  .hy-head > :nth-child(2) { animation-delay: 70ms; } .hy-head > :nth-child(3) { animation-delay: 140ms; } .hy-head > :nth-child(4) { animation-delay: 200ms; }
  .hy-stage { animation: hy-rise 1100ms var(--ease-out) 260ms both; }
}
@keyframes hy-rise { from { opacity: 0; transform: translateY(18px); } }
@media (prefers-reduced-motion: reduce) {
  .hy-agents li, .hy-agents svg.dt { transition: none; }
  .pl-panel:not([hidden]) .pl-shot, .tl-list li { animation: none; }
}
@media (prefers-contrast: more) {
  .hy { --muted: #b4b9c2; --faint: #8a8f98; }
  .sys-card, .hy-agents li, .pl-shot, .tl-list li { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); }
}
@media (forced-colors: active) { .hy-hero::before { display: none; } }

@media (max-width: 1100px) {
  .hy-agents { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pl-panel { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .hy-sec-head, .tl, .ck { grid-template-columns: minmax(0, 1fr); }
  .sys { grid-template-columns: minmax(0, 1fr); }
  .hy-agents { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tl-ask { justify-self: stretch; }
}
@media (max-width: 560px) {
  .hy-agents li { min-height: 170px; }
}
