@font-face {
  font-family: Anybody;
  src: url("/fonts/anybody-variable.ttf") format("truetype");
  font-weight: 100 900;
  font-stretch: 50% 150%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Fraunces;
  src: url("/fonts/fraunces.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Fraunces;
  src: url("/fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/plex-mono-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f3eee4;
  --paper-2: #e8dfd0;
  --paper-3: #fffaf2;
  --ink: #17141f;
  --ink-2: #3c3750;
  --ink-3: #6a6478;
  --indigo: #4641d9;
  --indigo-2: #2f2ba8;
  --hot: #e23c1a;
  --hot-2: #b52a0e;
  --go: #c8f04d;
  --go-2: #9ccc22;
  --lilac: #c5bff3;
  --line: #17141f;
  --shadow: 4px 4px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --radius: 1.25rem;
  --radius-sm: 0.85rem;
  --header: 4.5rem;
  --max: 72rem;
  --narrow: 42rem;
  --sans: Anybody, ui-sans-serif, system-ui, sans-serif;
  --serif: Fraunces, "Iowan Old Style", "Palatino Linotype", serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

html.standing {
  --go: #b6ff4a;
}

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(70, 65, 217, 0.08), transparent 50%),
    radial-gradient(900px 400px at 100% 0%, rgba(226, 60, 26, 0.07), transparent 45%),
    var(--paper);
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  opacity: 0.22;
  background-image: url("/img/grain.png");
  background-size: 180px 180px;
  mix-blend-mode: multiply;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--indigo-2);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--hot);
}

::selection {
  background: var(--go);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--indigo);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--go);
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  font-family: var(--sans);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.6rem;
}

.mono {
  font-family: var(--mono);
}

.display {
  font-family: var(--sans);
  font-weight: 800;
  font-stretch: 115%;
  letter-spacing: -0.045em;
  line-height: 0.92;
  text-transform: uppercase;
}

.kicker {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.lede {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 300;
  line-height: 1.45;
  color: var(--ink-2);
}

.lede em,
blockquote em,
.pull em {
  font-style: italic;
  color: var(--ink);
}

.notice {
  background: var(--go);
  color: var(--ink);
  text-align: center;
  padding: 0.55rem 1rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  border-bottom: 2px solid var(--ink);
  position: relative;
  z-index: 40;
}

.notice a {
  color: var(--ink);
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 2px solid var(--ink);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.7rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
}

.mark {
  width: 2rem;
  height: 2rem;
  flex: none;
}

.wordmark {
  font-family: var(--sans);
  font-weight: 800;
  font-stretch: 90%;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  display: inline-block;
  width: 8.4rem;
  animation: flexout 5.5s ease-in-out infinite alternate;
}

html.standing .wordmark {
  animation-duration: 3.2s;
}

@keyframes flexout {
  from { font-stretch: 92%; }
  to { font-stretch: 128%; }
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.2rem 1.05rem;
}

.nav a {
  font-family: var(--sans);
  font-weight: 650;
  font-stretch: 105%;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
}

.nav a[aria-current="page"] {
  color: var(--indigo);
  box-shadow: inset 0 -0.35rem 0 var(--go);
}

.nav a:hover {
  color: var(--hot);
}

.stand-toggle,
.nav-toggle,
.btn {
  font-family: var(--sans);
  font-weight: 750;
  font-stretch: 110%;
  letter-spacing: -0.02em;
  border: 2px solid var(--ink);
  background: var(--paper-3);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.stand-toggle,
.nav-toggle {
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.82rem;
}

.stand-toggle[aria-pressed="true"] {
  background: var(--go);
}

.nav-toggle {
  display: none;
}

.btn {
  border-radius: 999px;
  padding: 0.75rem 1.15rem;
  font-size: 1rem;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
  color: var(--ink);
}

.btn:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 var(--ink);
}

.btn-hot {
  background: var(--hot);
  color: #fff;
}

.btn-hot:hover {
  color: #fff;
}

.btn-go {
  background: var(--go);
}

.btn-indigo {
  background: var(--indigo);
  color: #fff;
}

.btn-indigo:hover {
  color: #fff;
}

.btn-ghost {
  background: transparent;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.1rem;
}

.narrow {
  max-width: var(--narrow);
  margin-inline: auto;
}

.steps h3 {
  font-family: var(--sans);
  font-stretch: 108%;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
}

.err .frame {
  max-width: 28rem;
  margin: 1.2rem auto;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem 2.2rem;
  align-items: center;
  padding: 2.2rem 0 1.5rem;
}

.hero-copy h1 {
  margin: 0.35rem 0 0.8rem;
  font-size: clamp(2.5rem, 6.1vw, 5.2rem);
  font-family: var(--sans);
  font-weight: 800;
  font-stretch: 118%;
  letter-spacing: -0.055em;
  line-height: 0.86;
  text-transform: uppercase;
}

.hero-copy h1 span {
  display: block;
}

.hero-copy h1 .hot {
  color: var(--hot);
}

.hero-copy h1 .indigo {
  color: var(--indigo);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.3rem 0 0.4rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  background: var(--paper-3);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
}

.pill .dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--go-2);
  box-shadow: 0 0 0 3px rgba(200, 240, 77, 0.45);
}

.frame {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--paper-2);
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-art {
  rotate: -1.4deg;
  width: 100%;
}

.hero-art img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 30% 40%;
}

.hero-art figcaption {
  font-family: var(--mono);
  font-size: 0.72rem;
  padding: 0.55rem 0.75rem;
  background: var(--lilac);
  border-top: 2px solid var(--ink);
}

.marquee {
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--ink);
  color: var(--go);
  overflow: hidden;
  margin: 1.5rem 0 0;
}

.marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  padding: 0.55rem 0;
  font-family: var(--mono);
  font-size: 0.84rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  animation: ticker 36s linear infinite;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

.section {
  padding: 4.2rem 0;
}

.section + .section {
  border-top: 2px solid var(--ink);
}

.section h2 {
  font-family: var(--sans);
  font-weight: 800;
  font-stretch: 112%;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-transform: uppercase;
  margin: 0 0 0.8rem;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr minmax(12rem, 28rem);
  gap: 1rem 2rem;
  margin-bottom: 2rem;
  align-items: end;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.card {
  background: var(--paper-3);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.15rem 1.2rem 1.25rem;
}

.card h3 {
  font-family: var(--sans);
  font-stretch: 108%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  font-size: 1.25rem;
  margin: 0.2rem 0 0.45rem;
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.card-hot {
  background: var(--hot);
  color: #fff;
}

.card-hot a {
  color: #fff;
}

.card-indigo {
  background: var(--indigo);
  color: #fff;
}

.card-indigo a,
.card-go a {
  color: inherit;
}

.card-go {
  background: var(--go);
}

.card-lilac {
  background: var(--lilac);
}

.channels {
  display: grid;
  gap: 0.35rem;
  font-family: var(--mono);
  font-size: 0.92rem;
}

.channels a {
  display: flex;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
  padding: 0.45rem 0.55rem;
  border-radius: 0.6rem;
}

.channels a:hover,
.channels a:focus-visible {
  background: var(--lilac);
  color: var(--ink);
}

.channels .hash {
  color: var(--indigo);
  font-weight: 600;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.compare article {
  padding: 1.4rem 1.3rem 1.6rem;
}

.compare article:first-child {
  background: #10261a;
  color: #d7ffe0;
  border-right: 2px solid var(--ink);
}

.compare article:first-child .kicker {
  color: #71d87a;
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.card-link:hover {
  color: inherit;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}

.compare article:last-child {
  background: var(--paper-3);
}

.compare h3 {
  font-family: var(--sans);
  font-stretch: 110%;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 0.7rem;
}

.compare ul {
  margin: 0;
  padding-left: 1.1rem;
}

.compare li + li {
  margin-top: 0.35rem;
}

.manifesto {
  counter-reset: rule;
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 0;
}

.manifesto li {
  list-style: none;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  background: var(--paper-3);
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
}

.manifesto li::before {
  counter-increment: rule;
  content: counter(rule);
  font-family: var(--sans);
  font-weight: 800;
  font-stretch: 120%;
  background: var(--indigo);
  color: #fff;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 0.55rem;
  border: 2px solid var(--ink);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.media-card {
  padding: 0;
  overflow: hidden;
}

.media-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 18%;
  width: 100%;
  border-bottom: 2px solid var(--ink);
}

.media-card .pad {
  padding: 1rem 1.1rem 1.2rem;
}

.table-wrap {
  overflow-x: auto;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: var(--paper-3);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

th,
td {
  text-align: left;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  vertical-align: top;
}

th {
  font-family: var(--sans);
  font-stretch: 105%;
  font-weight: 750;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  background: var(--lilac);
}

tr:last-child td {
  border-bottom: 0;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1rem;
}

.tabs button {
  font-family: var(--sans);
  font-weight: 750;
  font-stretch: 108%;
  border: 2px solid var(--ink);
  background: var(--paper-3);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
}

.tabs button[aria-selected="true"] {
  background: var(--ink);
  color: var(--go);
}

.tab-panel[hidden] {
  display: none;
}

.workout {
  display: grid;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
}

.workout li {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  gap: 0.6rem;
  align-items: baseline;
  list-style: none;
  padding: 0.7rem 0;
  border-bottom: 1px dashed color-mix(in srgb, var(--ink) 28%, transparent);
}

.workout .sets {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--indigo-2);
}

.workout .move {
  font-weight: 600;
}

.workout .cue {
  font-size: 0.92rem;
  color: var(--ink-2);
}

.timer {
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  padding: 1.3rem;
}

.timer-ring {
  --p: 0%;
  width: 10.5rem;
  height: 10.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--hot) var(--p), var(--paper-2) 0);
  border: 2px solid var(--ink);
}

.timer-face {
  width: 8.3rem;
  height: 8.3rem;
  border-radius: 50%;
  background: var(--paper-3);
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  font-family: var(--sans);
  font-weight: 800;
  font-stretch: 120%;
  font-size: 2.1rem;
}

.chat {
  background: #1b1730;
  color: #efeafc;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.chat-top {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.7rem 0.9rem;
  background: #2a2550;
  border-bottom: 2px solid var(--ink);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.chat-log {
  padding: 0.9rem;
  display: grid;
  gap: 0.7rem;
  min-height: 12rem;
}

.msg {
  max-width: 92%;
}

.msg .who {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--lilac);
}

.msg .bubble {
  display: inline-block;
  margin-top: 0.2rem;
  background: #4641d9;
  color: #fff;
  padding: 0.45rem 0.7rem;
  border-radius: 0.85rem 0.85rem 0.85rem 0.2rem;
}

.msg.you {
  justify-self: end;
  text-align: right;
}

.msg.you .bubble {
  background: var(--hot);
  border-radius: 0.85rem 0.85rem 0.2rem 0.85rem;
}

.faq details {
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--paper-3);
  padding: 0.7rem 0.9rem;
}

.faq details + details {
  margin-top: 0.55rem;
}

.faq summary {
  font-family: var(--sans);
  font-weight: 750;
  font-stretch: 105%;
  cursor: pointer;
}

.page-hero {
  padding: 2.4rem 0 1.2rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: center;
}

.page-hero .frame img {
  width: 100%;
  max-height: 26rem;
  object-fit: cover;
  object-position: center top;
}

.page-hero h1 {
  font-family: var(--sans);
  font-weight: 800;
  font-stretch: 115%;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  letter-spacing: -0.05em;
  text-transform: uppercase;
  line-height: 0.9;
  margin: 0.3rem 0 0.7rem;
}

.crumbs {
  font-family: var(--mono);
  font-size: 0.78rem;
}

.site-footer {
  border-top: 2px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  padding: 2.4rem 0 1.6rem;
  position: relative;
  z-index: 2;
}

.site-footer a {
  color: var(--go);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.4rem;
}

.site-footer h2 {
  font-family: var(--sans);
  font-stretch: 112%;
  font-size: 1.1rem;
  text-transform: uppercase;
  margin: 0 0 0.6rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 0.35rem;
}

.tiny {
  margin-top: 1.6rem;
  font-size: 0.82rem;
  color: #c9c3d8;
}

.callout {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  background: var(--lilac);
  box-shadow: var(--shadow-sm);
}

.steps {
  display: grid;
  gap: 0.8rem;
}

.steps article {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.8rem;
  align-items: start;
}

.num {
  font-family: var(--sans);
  font-weight: 800;
  font-stretch: 130%;
  font-size: 1.6rem;
  color: var(--hot);
}

.prose p {
  margin: 0 0 1rem;
}

.prose h2 {
  font-family: var(--sans);
  font-stretch: 110%;
  font-weight: 800;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 1;
  margin: 1.7rem 0 0.55rem;
}

.prose h3 {
  font-family: var(--sans);
  font-stretch: 108%;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin: 1.6rem 0 0.5rem;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.3rem;
}

.note {
  font-size: 0.92rem;
  color: var(--ink-2);
}

.err {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem 4rem;
  text-align: center;
}

.err h1 {
  font-family: var(--sans);
  font-stretch: 125%;
  font-size: clamp(4rem, 16vw, 8rem);
  margin: 0;
  letter-spacing: -0.06em;
}

@media (max-width: 900px) {
  .hero,
  .split,
  .compare,
  .section-head,
  .page-hero,
  .grid-3,
  .footer-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .compare article:first-child {
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .stand-toggle {
    font-size: 0.72rem;
    padding: 0.35rem 0.65rem;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    margin: 0;
    padding: 0.8rem 1rem 1rem;
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .nav.open {
    display: flex;
  }

  .hero-art {
    rotate: 0;
    order: -1;
  }

  .workout li {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

@media (max-width: 420px) {
  .wordmark {
    font-size: 1.1rem;
    width: 6.4rem;
  }

  .notice {
    font-size: 0.7rem;
  }

  .hero-copy h1 {
    font-size: 2.45rem;
  }

  .hero-art {
    rotate: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wordmark,
  .marquee-track,
  .btn {
    animation: none;
    transition: none;
  }
}
