/* The public homepage (docs/superpowers/specs/2026-10-25-homepage-design.md): the app's colours and fonts, the
   landing page's dial; every animation stops for a device that asks for reduced motion */
@font-face {
  font-family: "Inter"; src: url("fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono"; src: url("fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-weight: 100 800; font-display: swap;
}
:root {
  --bg: #060910; --panel: #0b111c; --band: #080d16; --hair: #1e293b; --text: #cbd5e1; --bright: #f1f5f9;
  --muted: #8f9db2; --cyan: #22d3ee; --amber: #fbbf24;
  --sans: Inter, "Segoe UI", system-ui, sans-serif; --mono: "JetBrains Mono", Consolas, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font-family: var(--sans); font-size: 17px; line-height: 1.6; }
a { color: var(--cyan); }
a:hover { color: #67e8f9; }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.muted { color: var(--muted); }

.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 22px; }
.word { display: flex; align-items: baseline; color: var(--bright); font-size: 25px; font-weight: 800;
  letter-spacing: -.02em; line-height: 1; text-decoration: none; }
.word img { margin: 0 2px; position: relative; top: 5px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.link { color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 10px;
  font-weight: 700; font-size: 16px; text-decoration: none; }
.btn.fill { background: var(--cyan); color: #04131a; }
.btn.line { border: 1px solid rgba(203, 213, 225, .28); color: var(--bright); font-weight: 600; }
.btn.big { min-height: 52px; padding: 0 30px; font-size: 17px; }

.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 56px;
  align-items: center; padding-block: 56px 88px; }
.hero-text { display: flex; flex-direction: column; gap: 24px; }
.kicker { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--amber); }
.hero h1 { margin: 0; font-size: clamp(40px, 5.2vw, 64px); font-weight: 800; letter-spacing: -.03em;
  line-height: 1.04; color: var(--bright); }
.lead { margin: 0; font-size: 19px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 6px; }

.dial-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.dial { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1; }
.dial > svg { width: 100%; height: auto; display: block; overflow: visible; }
.dial text { font-family: var(--mono); font-size: 13px; fill: var(--muted); text-anchor: middle; }
.mark { position: absolute; left: 50%; top: 50%; width: 38%; aspect-ratio: 1; transform: translate(-50%, -50%);
  perspective: 700px; animation: ixEnter 1.1s cubic-bezier(.2, .8, .2, 1) both; }
.mark-spin { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateX(56deg);
  animation: ixTurn 24s linear infinite; }
.mark-spin svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-size: 14px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.key { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.key.cyan { background: var(--cyan); }
.key.amber { background: var(--amber); }

.what { padding-block: 24px 96px; display: flex; flex-direction: column; gap: 32px; }
.what h2, .signin h2 { margin: 0; font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -.02em;
  color: var(--bright); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.card { background: var(--panel); border: 1px solid var(--hair); border-radius: 16px; padding: 24px; display: flex;
  flex-direction: column; gap: 12px; }
.card h3 { margin: 0; font-size: 19px; font-weight: 700; color: var(--bright); }
.card p { margin: 0; font-size: 16px; }

.band { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); background: var(--band); }
.band-in { max-width: 900px; padding-block: 72px; display: flex; flex-direction: column; gap: 14px;
  text-align: center; }
.band p { margin: 0; font-size: 18px; }
.band .big { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2;
  color: var(--bright); }

.signin { padding-block: 88px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 28px; }
.signin p { margin: 8px 0 0; font-size: 18px; }
footer { border-top: 1px solid var(--hair); }
.foot { padding-block: 28px 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px;
  font-size: 14px; color: var(--muted); }
.lost { padding-block: 120px; text-align: center; }
.lost h1 { color: var(--bright); }

@keyframes ixEnter {
  from { opacity: 0; transform: translate(-50%, -50%) rotate(-120deg) scale(.4); }
  to { opacity: 1; transform: translate(-50%, -50%) rotate(0deg) scale(1); }
}
@keyframes ixTurn {
  from { transform: rotateX(56deg) rotateZ(0deg); }
  to { transform: rotateX(56deg) rotateZ(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .mark, .mark-spin { animation: none; }
}
