/* =========================================================
   SVS Hack Club — shared styles
   Bright, chunky, sticker-ish. One stylesheet for all pages.
   ========================================================= */

:root {
  --red: #ec3750;
  --red-ink: #c81e39;
  --ink: #16130f;
  --ink-70: #4d473d;
  --cream: #fdf7ee;
  --paper: #fffdf7;
  --yellow: #ffd43b;
  --blue: #2f7fd1;
  --teal: #12a37f;
  --shadow: 4px 4px 0 var(--ink);
  --radius: 18px;
  --wrap: 1120px;
  --font-display: "Space Grotesk", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a {
  color: var(--red-ink);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
a:hover { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

h2 { font-size: clamp(1.85rem, 4vw, 2.85rem); }
h3 { font-size: 1.1rem; line-height: 1.3; letter-spacing: -0.01em; }

p { margin: 0 0 1rem; }

.wrap {
  width: min(var(--wrap), 100% - 2.5rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--ink);
  color: var(--cream);
  padding: 0.7rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 0.75rem; }

/* ---------------- notice bar ---------------- */

.notice {
  margin: 0;
  background: var(--ink);
  color: #efe7da;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 0.55rem 1.25rem;
  line-height: 1.5;
}
.notice strong { color: var(--yellow); font-weight: 600; }
.notice a { color: var(--yellow); }

/* ---------------- header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(253, 247, 238, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--ink);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-block: 0.7rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.brand__text { display: block; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__text small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-70);
  margin-top: 0.2rem;
}

.header__end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav a {
  display: inline-block;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
}
.nav a:hover { background: rgba(22, 19, 15, 0.07); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--cream); }

.nav a.nav__join {
  background: var(--red-ink);
  color: #fff;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  padding: 0.42rem 0.95rem;
  margin-left: 0.4rem;
}
.nav a.nav__join:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.nav a.nav__join[aria-current="page"] { background: var(--red-ink); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 0.45rem 0.55rem;
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
}

/* ---------------- language switch ---------------- */

.lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  box-shadow: 2px 2px 0 var(--ink);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
}
.lang a,
.lang span {
  padding: 0.32rem 0.5rem;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
}
.lang span[aria-current="true"] {
  background: var(--ink);
  color: var(--cream);
}
.lang a:hover {
  background: rgba(22, 19, 15, 0.1);
  color: var(--ink);
}

/* ---------------- hero ---------------- */

.hero {
  padding-block: clamp(2.4rem, 5.5vw, 4.2rem) clamp(2.2rem, 4vw, 3.2rem);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 4vw, 3.2rem);
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red-ink);
}
.eyebrow span { font-size: 0.9rem; }

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.3rem);
  margin-bottom: 1rem;
}
.highlight {
  background: linear-gradient(transparent 55%, var(--yellow) 55%, var(--yellow) 93%, transparent 93%);
  padding: 0 0.08em;
}

.hero__lede {
  max-width: 46ch;
  font-size: 1.1rem;
  color: var(--ink-70);
  margin-bottom: 0;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 0.92rem 1.35rem;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
  color: var(--ink);
}
.btn:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); }
.btn--primary { background: var(--red-ink); color: #fff; }
.btn--primary:hover { color: #fff; }
.btn--ghost { background: transparent; }

.stickers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.9rem;
}
.sticker {
  display: inline-block;
  transform: rotate(var(--rot, -2deg));
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 0.35rem 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 3px 3px 0 var(--ink);
}
.sticker--blue { background: #bfe0ff; }
.sticker--teal { background: #b7f1e2; }

/* ---------------- terminal card ---------------- */

.terminal {
  background: #1b1712;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: 8px 8px 0 var(--red);
  overflow: hidden;
  transform: rotate(0.9deg);
}
.terminal__bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.9rem;
  background: #2a241d;
  border-bottom: 1px solid #3a322a;
}
.terminal__dot { width: 11px; height: 11px; border-radius: 50%; }
.terminal__dot--r { background: #ff5f56; }
.terminal__dot--y { background: #ffbd2e; }
.terminal__dot--g { background: #27c93f; }
.terminal__name {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #9c9184;
  letter-spacing: 0.06em;
}
.terminal__body {
  margin: 0;
  padding: 1.15rem 1.25rem 1.35rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.8;
  color: #e8e1d5;
  overflow-x: auto;
}
.t-prompt { color: var(--teal); }
.t-cmd { color: #fff; font-weight: 600; }
.t-key { color: var(--yellow); }
.t-str { color: #7fd3f7; }
.t-dim { color: #8d8275; }
.cursor {
  display: inline-block;
  width: 0.55em;
  height: 1.05em;
  background: var(--cream);
  vertical-align: -2px;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ---------------- marquee ---------------- */

.marquee {
  border-block: 2px solid var(--ink);
  background: var(--yellow);
  overflow: hidden;
  padding-block: 0.7rem;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: scroll 36s linear infinite;
}
.marquee__group {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  padding-right: 1.3rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__group i { font-style: normal; color: var(--red-ink); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------------- sections ---------------- */

.section { padding-block: clamp(3rem, 6.5vw, 5rem); }
.section--tight { padding-block: clamp(2rem, 4.5vw, 3rem); }

.section__head {
  max-width: 660px;
  margin-bottom: clamp(1.8rem, 3vw, 2.6rem);
}
.section__head p {
  margin: 0.7rem 0 0;
  font-size: 1.05rem;
  color: var(--ink-70);
}

.grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}
a.card {
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
a.card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.card p { margin: 0; font-size: 0.95rem; color: var(--ink-70); }
.card h3 { margin: 0; }

.card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 0.6rem;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--yellow);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
}
.card__icon--red { background: #ffc9d1; }
.card__icon--blue { background: #c3ddfb; }
.card__icon--teal { background: #b7f1e2; }

.tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--cream);
}
.tag--beginner,
.tag--free { background: #d8f5e8; }
.tag--price { background: var(--yellow); }
.tag--mid { background: #ffe9a8; }
.tag--hard { background: #ffc9d1; }

.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.4rem; }

/* ---------------- price table ---------------- */

.table-wrap {
  overflow-x: auto;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.price {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.price thead th {
  padding: 0.75rem 1rem;
  background: var(--cream);
  border-bottom: 2px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
  color: var(--ink-70);
}
.price td {
  padding: 0.85rem 1rem;
  vertical-align: top;
}
.price tbody tr + tr td { border-top: 1px solid rgba(22, 19, 15, 0.16); }
.price td:first-child { font-weight: 600; }
.price small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--ink-70);
}
.price .num,
.price th.num {
  text-align: right;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 700;
}

/* ---------------- meetings panel ---------------- */

.panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.panel__cell { padding: 1.35rem 1.25rem; }
.panel__cell + .panel__cell { border-left: 2px solid var(--ink); }
.panel__label {
  margin: 0 0 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-70);
}
.panel__value {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.22rem;
  line-height: 1.2;
}
.panel__value small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--ink-70);
  margin-top: 0.3rem;
}

/* ---------------- split + link list ---------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(1.8rem, 4vw, 3.2rem);
  align-items: start;
}

.linklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.linklist a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.linklist a:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.linklist a span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-70);
  text-align: right;
}

/* ---------------- proof / brag ---------------- */

.proof {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.2rem);
  padding: clamp(1.3rem, 3vw, 2rem);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 22px;
  box-shadow: 6px 6px 0 var(--ink);
}
.proof__rank {
  display: grid;
  place-items: center;
  text-align: center;
  min-width: 7.6rem;
  padding: 1rem 1.1rem;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-2deg);
}
.proof__rank b {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}
.proof__rank b sup { font-size: 0.42em; vertical-align: super; }
.proof__rank small {
  margin-top: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1.3;
}
.proof h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
}
.proof p { margin: 0; color: var(--ink-70); font-size: 0.98rem; max-width: 54ch; }
.proof .eyebrow { margin-bottom: 0.5rem; }

/* ---------------- callout / cta ---------------- */

.callout {
  background: #fff2cc;
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 0.95rem;
  margin: 1.5rem 0;
}
.callout p:last-child { margin-bottom: 0; }

.cta {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  border-radius: 26px;
  padding: clamp(2rem, 5vw, 3.4rem);
}
.cta h2 { color: var(--cream); max-width: 18ch; }
.cta p { color: #d9d0c2; max-width: 48ch; }
.cta .eyebrow { color: var(--yellow); }
.cta .btn--ghost { background: transparent; color: var(--cream); }
.cta .btn--ghost:hover { color: var(--cream); }
.cta__spark {
  position: absolute;
  right: -2.5rem;
  top: -2.5rem;
  width: 15rem;
  opacity: 0.16;
  transform: rotate(12deg);
  pointer-events: none;
}

/* ---------------- checklist ---------------- */

.checklist {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-weight: 600;
  font-size: 0.98rem;
}
.checklist li::before {
  content: "✓";
  flex: none;
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--yellow);
  font-size: 0.8rem;
  line-height: 1;
  box-shadow: 2px 2px 0 var(--ink);
}

/* ---------------- steps ---------------- */

.steps { display: grid; gap: 1.1rem; margin: 0; padding: 0; list-style: none; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: start;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow);
}
.step__num {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--red-ink);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}
.step h3 { margin: 0 0 0.3rem; }
.step p { margin: 0; font-size: 0.96rem; color: var(--ink-70); }
.step p + p { margin-top: 0.5rem; }

/* ---------------- timeline ---------------- */

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.95rem; }
.timeline li {
  display: grid;
  grid-template-columns: 6.2rem 1fr;
  gap: 1rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px dashed rgba(22, 19, 15, 0.28);
}
.timeline li:last-child { border-bottom: 0; padding-bottom: 0; }
.timeline time {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-ink);
  padding-top: 0.2rem;
}
.timeline p { margin: 0; font-size: 0.96rem; }
.timeline strong { font-family: var(--font-display); display: block; }

/* ---------------- faq ---------------- */

.faq details {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: 3px 3px 0 var(--ink);
  margin-bottom: 0.8rem;
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: var(--red-ink);
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq .faq__body { padding: 0 1.2rem 1.1rem; }
.faq .faq__body p { margin: 0; font-size: 0.96rem; color: var(--ink-70); }

/* ---------------- page hero ---------------- */

.page-hero { padding-block: clamp(2.4rem, 5.5vw, 3.8rem) clamp(1.4rem, 3vw, 2.2rem); }
.page-hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); margin-bottom: 0.7rem; }
.page-hero p { max-width: 54ch; color: var(--ink-70); font-size: 1.08rem; margin: 0; }

/* ---------------- footer ---------------- */

.site-footer {
  margin-top: clamp(3rem, 6vw, 5rem);
  background: var(--ink);
  color: #d9d0c2;
  padding-block: 3rem 2rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.7fr));
  gap: 2rem;
}
.footer__mark {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--cream);
}
.footer__mark span { color: var(--red); padding-inline: 0.15rem; }
.footer__brand p { font-size: 0.92rem; margin: 0; max-width: 34ch; }
.footer__credit {
  margin-top: 1rem !important;
  max-width: none !important;
  font-size: 0.86rem !important;
  color: #b3a897;
}
.footer__credit strong { color: var(--cream); font-family: var(--font-display); }
.footer__credit a { color: var(--yellow); }
.footer__col h3 {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #a99d8c;
  margin-bottom: 0.8rem;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer__col a {
  color: #e7dfd2;
  font-size: 0.92rem;
  text-decoration: none;
}
.footer__col a:hover { color: #fff; text-decoration: underline; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 2.4rem;
  padding-top: 1.3rem;
  border-top: 1px solid #3a332a;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #a99d8c;
}
.footer__bottom p { margin: 0; }

/* ---------------- utilities ---------------- */

.muted { color: var(--ink-70); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.mono { font-family: var(--font-mono); font-size: 0.9em; }
.mt-1 { margin-top: 0.6rem; }
.mt-2 { margin-top: 1.4rem; }
.mb-0 { margin-bottom: 0; }

/* ---------------- responsive ---------------- */

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 520px; }
  .split { grid-template-columns: 1fr; }
  .panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel__cell:nth-child(3) { border-left: 0; border-top: 2px solid var(--ink); }
  .panel__cell:nth-child(4) { border-top: 2px solid var(--ink); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.55rem);
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border: 2px solid var(--ink);
    border-radius: 16px;
    padding: 0.6rem;
    box-shadow: 6px 6px 0 var(--ink);
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: 0.7rem 0.8rem; }
  .nav a.nav__join { margin-left: 0; margin-top: 0.35rem; text-align: center; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .proof { grid-template-columns: 1fr; }
  .proof__rank {
    justify-self: start;
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
  }
  .proof__rank small { margin-top: 0; }
  .panel { grid-template-columns: 1fr; }
  .panel__cell + .panel__cell { border-left: 0; border-top: 2px solid var(--ink); }
  .timeline li { grid-template-columns: 1fr; gap: 0.25rem; }
  .step { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__art .terminal { transform: none; box-shadow: 6px 6px 0 var(--red); }
  .btn { width: 100%; justify-content: center; }
  .linklist a { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
  .linklist a span { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .cursor { animation: none; }
  .btn, .card, .linklist a { transition: none; }
}

/* ---------------------------------------------------------
   AI notice — a loud full-width bar over the page. It never
   blocks a click, and printed pages leave it out.
   --------------------------------------------------------- */
body:has(> .ai-note) { padding-bottom: 6.5rem; }

.ai-note {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 1rem;
  padding: 0.85rem 1.25rem;
  background: var(--yellow);
  color: var(--ink);
  border-top: 3px solid var(--ink);
  text-align: center;
  pointer-events: none;
}

.ai-note__tag {
  padding: 0.2rem 0.55rem;
  background: var(--ink);
  color: var(--yellow);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ai-note__title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.ai-note__body { font-size: 0.85rem; line-height: 1.35; }

@media (max-width: 560px) {
  body:has(> .ai-note) { padding-bottom: 9.5rem; }
  .ai-note {
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.7rem 0.9rem 0.8rem;
  }
  .ai-note__tag { font-size: 0.66rem; }
  .ai-note__title { font-size: 1.02rem; }
  .ai-note__body { font-size: 0.8rem; }
}

@media print {
  .ai-note { display: none; }
  body:has(> .ai-note) { padding-bottom: 0; }
}
