/* ============================================================
   ai45.xyz — inner-page design system
   Same language as the hero: floating glass dock, inset rounded
   frames with gradient bleed, Satoshi display + IBM Plex Mono,
   pill buttons, dark navy ground. The colour scheme mixes all
   four model identities over the ai45 base.
   ============================================================ */

:root {
  --navy: #12151F;
  --navy-2: #171C2D;
  --slate: #254252;
  --card: #1A2130;
  --card-2: #1F2839;
  --paper: #EAE6DF;
  --muted: rgba(234, 230, 223, 0.62);
  --faint: rgba(234, 230, 223, 0.38);
  --hairline: rgba(255, 255, 255, 0.08);

  --orange: #E37239;
  --amber: #F9982F;
  --sand: #EAB56F;

  /* the four model identities — used as tags, glows, accents */
  --c-claude: #D97757;
  --c-gpt: #10A37F;
  --c-pplx: #2AA3B1;
  --c-gem: #6C8FE8;
  --c-gem2: #9B72CB;
  --c-gem3: #D96570;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --font-display: "Satoshi", "General Sans", "Avenir Next", "Helvetica Neue", sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", "Menlo", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-display);
  background: var(--navy);
  color: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }

.mono {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   DOCK — identical to the hero's, fixed palette on inner pages
   ============================================================ */

.dock {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px 0 20px;
  border-radius: 999px;
  background: rgba(18, 21, 31, 0.55);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
}

.dock__wordmark {
  display: flex;
  align-items: baseline;
  margin-right: 14px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.dock__wordmark .tld { font-size: 13px; font-weight: 500; color: var(--muted); }

.dock__divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.15);
  margin-right: 10px;
  flex: none;
}

.dock__link {
  font-size: 14px;
  color: var(--muted);
  padding: 7px 13px;
  border-radius: 999px;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
  white-space: nowrap;
}

.dock__link:hover,
.dock__link:focus-visible {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.10);
  outline: none;
}

.dock__link.is-here { color: var(--paper); background: rgba(255, 255, 255, 0.10); }

.dock__cta {
  margin-left: 12px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--orange);
  color: #171C2D;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s var(--ease), filter 0.2s var(--ease);
  white-space: nowrap;
}

.dock__cta:hover { transform: translateY(-1px); filter: brightness(1.07); }

.dock__burger {
  width: 40px;
  height: 40px;
  margin-left: 4px;
  border-radius: 999px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: background-color 0.2s var(--ease);
}

.dock__burger:hover,
.dock__burger:focus-visible { background: rgba(255, 255, 255, 0.10); outline: none; }

.dock__burger span { display: block; height: 1.5px; border-radius: 1px; background: var(--paper); }
.dock__burger span:nth-child(1) { width: 16px; }
.dock__burger span:nth-child(2) { width: 12px; align-self: flex-end; margin-right: 12px; }
.dock__burger span:nth-child(3) { width: 16px; }

/* ============================================================
   MENU OVERLAY (same as hero, fixed palette)
   ============================================================ */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(18, 21, 31, 0.97);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s;
}

.overlay.is-open { visibility: visible; opacity: 1; transition: opacity 0.35s var(--ease); }

.overlay__close {
  position: absolute;
  top: 34px;
  right: 44px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  font-size: 26px;
  line-height: 1;
  color: var(--paper);
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.overlay__close:hover,
.overlay__close:focus-visible { background: rgba(255,255,255,0.10); transform: rotate(90deg); outline: none; }

.overlay__nav { padding-left: 12vw; display: flex; flex-direction: column; gap: 24px; }

.overlay__item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  opacity: 0;
  transform: translateY(20px);
}

.overlay.is-open .overlay__item {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.5s cubic-bezier(0.34, 1.3, 0.64, 1),
    transform 0.5s cubic-bezier(0.34, 1.3, 0.64, 1);
  transition-delay: calc(0.08s + var(--i, 0) * 0.04s);
}

.overlay__index { font-size: 11px; color: var(--muted); padding-top: 6px; }

.overlay__link {
  position: relative;
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--paper);
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}

.overlay__link::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  height: 1px;
  width: 0;
  background: var(--orange);
  transition: width 0.3s var(--ease);
}

.overlay__link:hover,
.overlay__link:focus-visible { color: var(--orange); transform: translateX(8px); outline: none; }
.overlay__link:hover::before,
.overlay__link:focus-visible::before { width: 100%; }

/* ============================================================
   PAGE HERO — the hero-page structural motif: full-bleed gradient
   mixing all four model identities, rounded frame inset within it
   ============================================================ */

.page-hero {
  position: relative;
  padding: 48px;
  min-height: 460px;
  background:
    radial-gradient(760px 420px at 12% -4%, rgba(217, 119, 87, 0.34), transparent 58%),
    radial-gradient(860px 480px at 88% 2%, rgba(155, 114, 203, 0.36), transparent 60%),
    radial-gradient(720px 440px at 6% 104%, rgba(16, 163, 127, 0.26), transparent 58%),
    radial-gradient(820px 480px at 94% 100%, rgba(66, 133, 244, 0.30), transparent 60%),
    radial-gradient(600px 360px at 50% 118%, rgba(217, 101, 112, 0.18), transparent 60%),
    linear-gradient(135deg, #171C2D, #254252);
}

.page-hero__frame {
  position: relative;
  min-height: 364px;
  border-radius: 28px;
  background: rgba(18, 21, 31, 0.52);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px 64px 72px;
  overflow: hidden;
}

.page-hero__eyebrow { font-size: 11px; color: var(--sand); }

.page-hero__title {
  margin-top: 18px;
  font-size: clamp(32px, 4.6vw, 56px);
  text-wrap: balance;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 16em;
}

.page-hero__sub {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 58ch;
}

/* search pill */
.search {
  margin-top: 36px;
  width: min(640px, 100%);
  display: flex;
  align-items: center;
  gap: 14px;
  height: 60px;
  padding: 0 12px 0 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.search:focus-within {
  border-color: rgba(227, 114, 57, 0.6);
  background: rgba(255, 255, 255, 0.09);
}

.search__icon { flex: none; opacity: 0.5; width: 18px; height: 18px; }

.search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-size: 16px;
  color: var(--paper);
}

.search input::placeholder { color: var(--faint); }

.search__kbd {
  flex: none;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--faint);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 5px 9px;
}

/* entrance for inner pages: hero children rise in */
.rise { opacity: 0; transform: translateY(22px); }
body.ready .rise {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 0.09s);
}

/* ============================================================
   CONTENT SHELL
   ============================================================ */

.shell { max-width: 1264px; margin: 0 auto; padding: 0 48px; }

.section { margin-top: 72px; }

.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 22px;
}

.section__eyebrow { font-size: 11px; color: var(--sand); }

.section__title {
  margin-top: 10px;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.section__more { font-size: 13px; font-weight: 600; color: var(--orange); white-space: nowrap; }
.section__more:hover { filter: brightness(1.15); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--d, 0) * 0.06s);
}

/* ============================================================
   FILTER CHIPS
   ============================================================ */

.filters { margin-top: 40px; display: flex; flex-direction: column; gap: 14px; }

.filter-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.filter-row__label {
  font-size: 10px;
  color: var(--faint);
  width: 84px;
  flex: none;
  text-align: left;
}

.chip {
  font-size: 13px;
  color: var(--muted);
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}

.chip:hover { color: var(--paper); border-color: rgba(255, 255, 255, 0.22); }

.chip.is-on {
  color: #171C2D;
  background: var(--chip-c, var(--orange));
  border-color: transparent;
  font-weight: 600;
}

/* tool-coloured chips */
.chip--claude { --chip-c: var(--c-claude); }
.chip--gpt    { --chip-c: var(--c-gpt); }
.chip--pplx   { --chip-c: var(--c-pplx); }
.chip--gem    { --chip-c: var(--c-gem); }

/* ============================================================
   CARDS
   ============================================================ */

.grid, .rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.row-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 384px;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.15) transparent;
}

.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--tool-c, var(--orange)) 55%, transparent);
  background: var(--card-2);
}

.card--claude { --tool-c: var(--c-claude); }
.card--gpt    { --tool-c: var(--c-gpt); }
.card--pplx   { --tool-c: var(--c-pplx); }
.card--gem    { --tool-c: var(--c-gem); }

.card__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.tag--tool { color: #12151F; background: var(--tool-c, var(--orange)); }
.tag--soft { color: var(--muted); border: 1px solid var(--hairline); }

.card__title { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }

.card__desc { font-size: 14px; line-height: 1.55; color: var(--muted); flex: 1; }

.card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}

.card__go { color: var(--tool-c, var(--orange)); font-weight: 600; transition: transform .2s var(--ease); }
.card:hover .card__go { transform: translateX(4px); }

.empty {
  padding: 64px 0;
  text-align: center;
  color: var(--faint);
  font-size: 14px;
  display: none;
}

/* ============================================================
   PROMPT CARDS
   ============================================================ */

.prompt-body {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 16px;
  flex: 1;
}

.copy-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--tool-c, var(--orange));
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--tool-c, var(--orange)) 45%, transparent);
  transition: all 0.2s var(--ease);
}

.copy-btn:hover { background: color-mix(in srgb, var(--tool-c, var(--orange)) 16%, transparent); }
.copy-btn.copied { color: #171C2D; background: var(--tool-c, var(--orange)); border-color: transparent; }

/* ============================================================
   SAT QUESTIONS
   ============================================================ */

.score-pill {
  position: sticky;
  top: 92px;
  z-index: 50;
  margin-left: auto;
  width: fit-content;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(18, 21, 31, 0.7);
  border: 1px solid var(--hairline);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: var(--muted);
}

.score-pill b { color: var(--sand); font-weight: 500; }

.q-card {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.q-card__text { font-size: 17px; line-height: 1.55; max-width: 62ch; }

.q-card__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.opt {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  font-size: 14.5px;
  color: var(--muted);
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.2s var(--ease);
}

.opt:hover:not(:disabled) { color: var(--paper); border-color: rgba(255, 255, 255, 0.24); }
.opt:disabled { cursor: default; }

.opt__key {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
}

.opt.is-right { border-color: var(--c-gpt); color: var(--paper); background: rgba(16, 163, 127, 0.14); }
.opt.is-right .opt__key { background: var(--c-gpt); color: #0D0D0D; border-color: transparent; }
.opt.is-wrong { border-color: var(--c-gem3); color: var(--paper); background: rgba(217, 101, 112, 0.13); }
.opt.is-wrong .opt__key { background: var(--c-gem3); color: #171C2D; border-color: transparent; }

.q-card__explain {
  display: none;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  border-left: 2px solid var(--sand);
  padding-left: 16px;
}

.q-card.answered .q-card__explain { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  margin-top: 110px;
  border-top: 1px solid var(--hairline);
  padding: 44px 48px 52px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.footer__word { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.footer__word .tld { font-size: 13px; color: var(--muted); font-weight: 500; }

.footer__note { margin-top: 10px; font-size: 10px; color: var(--faint); max-width: 46ch; line-height: 1.6; }

.footer__cols { display: flex; gap: 64px; }
.footer__col h4 { font-size: 11px; color: var(--sand); margin-bottom: 14px; }
.footer__col a { display: block; font-size: 13.5px; color: var(--muted); margin-top: 9px; transition: color .2s; }
.footer__col a:hover { color: var(--paper); }

@media (prefers-reduced-motion: reduce) {
  .rise, .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================================
   PAGE ENTRANCE — gentle fade so navigation never snaps
   ============================================================ */

body { animation: page-in 0.45s var(--ease); }
@keyframes page-in { from { opacity: 0; } }

/* ============================================================
   SAVE BUTTON (bookmark) — on guide cards and detail pages
   ============================================================ */

.save-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--faint);
  border: 1px solid transparent;
  transition: all 0.2s var(--ease);
  z-index: 2;
}

.save-btn:hover { color: var(--paper); background: rgba(255,255,255,.08); }
.save-btn.is-on { color: #171C2D; background: var(--sand); }
.save-btn svg { width: 15px; height: 15px; }

.card { cursor: default; }
.card[data-href] { cursor: pointer; }

/* ============================================================
   AUTH — login / signup card
   ============================================================ */

.auth-frame { max-width: 460px; width: 100%; margin: 0 auto; text-align: left; }

.auth-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--hairline);
  margin-bottom: 28px;
}

.auth-tabs button {
  flex: 1;
  padding: 10px 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.25s var(--ease);
}

.auth-tabs button.is-on { background: var(--orange); color: #171C2D; }

.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 10px; color: var(--sand); }

.field input {
  height: 52px;
  padding: 0 20px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--hairline);
  outline: none;
  font-size: 15px;
  color: var(--paper);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.field input:focus { border-color: rgba(227,114,57,.6); background: rgba(255,255,255,.08); }
.field input::placeholder { color: var(--faint); }

.form-error {
  display: none;
  font-size: 13px;
  line-height: 1.5;
  color: #E89B9B;
  border-left: 2px solid var(--c-gem3);
  padding-left: 12px;
  margin-bottom: 18px;
}

.form-error.is-on { display: block; }

.btn-primary {
  width: 100%;
  height: 54px;
  border-radius: 999px;
  background: var(--orange);
  color: #171C2D;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.2s var(--ease), filter 0.2s var(--ease);
}

.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.07); }

.auth-note { margin-top: 18px; font-size: 12px; line-height: 1.6; color: var(--faint); text-align: center; }

/* ============================================================
   ARTICLE — guide detail pages
   ============================================================ */

.crumbs { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--faint); }
.crumbs a { color: var(--sand); }
.crumbs a:hover { color: var(--amber); }

.article { max-width: 720px; }

.article h2 {
  margin-top: 44px;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.article p { margin-top: 14px; font-size: 15.5px; line-height: 1.75; color: var(--muted); }
.article p strong { color: var(--paper); }

.article .prompt-body { margin-top: 18px; }
.article .copy-btn { margin-top: 12px; }

.callout {
  margin-top: 48px;
  padding: 22px 24px;
  border-radius: 16px;
  background: rgba(234, 181, 111, 0.07);
  border: 1px solid rgba(234, 181, 111, 0.25);
}

.callout__label { font-size: 10px; color: var(--sand); margin-bottom: 8px; }
.callout p { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--muted); }

.article-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 20px; }

/* ============================================================
   ACCOUNT
   ============================================================ */

.stat-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.stat { background: var(--card); border: 1px solid var(--hairline); border-radius: 18px; padding: 24px; }
.stat__label { font-size: 10px; color: var(--sand); }
.stat__value { margin-top: 12px; font-size: 40px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat__hint { margin-top: 6px; font-size: 12.5px; color: var(--faint); }

.logout-btn {
  font-size: 13px;
  color: var(--muted);
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  transition: all 0.2s var(--ease);
}

.logout-btn:hover { color: var(--paper); border-color: rgba(255,255,255,.3); }

/* ============================================================
   FORUM THREAD DETAIL
   ============================================================ */

.post { display: flex; gap: 16px; padding: 24px; background: var(--card); border: 1px solid var(--hairline); border-radius: 16px; }
.post--op { border-color: rgba(234,181,111,.3); }

.post__avatar {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #171C2D;
  background: var(--av, var(--sand));
}

.post__head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.post__author { font-size: 14px; font-weight: 600; }
.post__time { font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.post__teacher { font-family: var(--font-mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: #171C2D; background: var(--c-gpt); padding: 3px 8px; border-radius: 999px; }
.post__body { margin-top: 8px; font-size: 14.5px; line-height: 1.65; color: var(--muted); }

.reply-box textarea {
  width: 100%;
  min-height: 110px;
  resize: vertical;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--hairline);
  outline: none;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--paper);
  font-family: var(--font-display);
  transition: border-color .2s var(--ease);
}

.reply-box textarea:focus { border-color: rgba(227,114,57,.6); }

/* ============================================================
   FAQ (about page)
   ============================================================ */

.faq { border: 1px solid var(--hairline); border-radius: 16px; background: var(--card); padding: 0 24px; }
.faq + .faq { margin-top: 12px; }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--sand); font-size: 20px; font-weight: 500; transition: transform .25s var(--ease); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 20px; font-size: 14.5px; line-height: 1.65; color: var(--muted); max-width: 62ch; }

/* ============================================================
   RESPONSIVE — tablets and phones
   ============================================================ */

@media (max-width: 1100px) {
  .shell { padding: 0 28px; }
  .grid, .stat-tiles, .rules { grid-template-columns: repeat(2, 1fr); }
  .row-scroll { grid-auto-columns: 320px; }
  .page-hero { padding: 24px; }
  .page-hero__frame { padding: 84px 36px 56px; min-height: 0; }
  .footer { padding: 40px 28px; flex-direction: column; gap: 36px; }
  .footer__cols { gap: 40px; flex-wrap: wrap; }
  .dock { max-width: calc(100vw - 24px); }
  .dock__link { padding: 7px 10px; }
}

@media (max-width: 820px) {
  .dock { gap: 2px; padding-left: 16px; }
  .dock__link, .dock__divider { display: none; }
  .q-card__opts { grid-template-columns: 1fr; }
  .filter-row__label { width: 100%; }
  .session { flex-wrap: wrap; }
  .session .btn-pill { align-self: flex-start; }
}

@media (max-width: 640px) {
  .shell { padding: 0 18px; }
  .grid, .stat-tiles, .rules { grid-template-columns: 1fr; }
  .row-scroll { grid-auto-columns: 84vw; }
  .page-hero { padding: 12px; }
  .page-hero__frame { padding: 76px 22px 44px; border-radius: 22px; }
  .page-hero__sub { font-size: 14.5px; }
  .search { height: 54px; margin-top: 28px; }
  .search__kbd { display: none; }
  .section { margin-top: 52px; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .overlay__nav { padding-left: 8vw; gap: 18px; }
  .overlay__link { font-size: 30px; }
  .overlay__close { top: 22px; right: 20px; }
  .score-pill { top: 86px; }
  .post { padding: 18px; }
}
