@charset "UTF-8";
@import url("./brand-tokens.css");

/* Public resource pages use the same dark table, type and card materials as ZiZBJJ. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; color-scheme: dark; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: var(--font-ui); -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 85% 0%, #8b5cf612, transparent 50%), radial-gradient(ellipse at 5% 75%, #34d39906, transparent 40%); }
a { color: inherit; text-underline-offset: 4px; }
button, textarea { font: inherit; }
button, a { touch-action: manipulation; }
a:focus-visible, button:focus-visible, summary:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent-soft2); outline-offset: 5px; }
.skip { position: absolute; left: 16px; top: -90px; z-index: 5; background: var(--card); padding: 12px; border-radius: var(--r-btn); }
.skip:focus { top: 12px; }
.masthead, main, footer { max-width: 1160px; margin: auto; }
.masthead { padding: 28px 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-mark { display: block; border-radius: 50%; box-shadow: var(--glow-brand); }
.brand-name { font-size: 20px; font-weight: 800; letter-spacing: -.5px; }
.brand small { display: block; margin-top: 4px; font-size: 11px; font-weight: 400; letter-spacing: 0; color: var(--accent-soft2); }
.quiet-link { color: var(--accent-soft); font-size: 14px; font-weight: 600; line-height: 1.6; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 56px; padding: 78px 40px 70px; }
.eyebrow { font-size: 11px; line-height: 1.7; letter-spacing: 1.6px; font-weight: 700; color: var(--accent-soft2); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--brand1); box-shadow: 0 0 14px #8b5cf660; margin-right: 8px; }
h1 { font-size: clamp(54px, 6.6vw, 80px); line-height: 1.04; letter-spacing: -3.5px; margin: 24px 0; font-weight: 800; }
h1 span { color: var(--accent-soft); }
h2 { font-size: 34px; line-height: 1.18; letter-spacing: -.8px; margin: 16px 0; font-weight: 800; }
h3 { font-size: 20px; margin: 12px 0; }
p { font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.lead { font-size: 21px; line-height: 1.5; max-width: 520px; color: var(--ink); }
.actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 28px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 48px; max-width: 100%; padding: 13px 22px; border: 1px solid transparent; border-radius: var(--r-pill); background: var(--accent-soft2); color: #171221; text-decoration: none; font-size: 14px; font-weight: 750; cursor: pointer; transition: transform .15s, filter .15s; }
.button:hover { filter: brightness(1.08); }
.button:active { transform: scale(.97); }
.button.secondary { background: var(--well); color: var(--ink); border-color: var(--line-strong); }
.fine { font-size: 12px; line-height: 1.7; color: var(--muted); }
.hero-art { min-width: 0; width: 100%; max-width: 460px; justify-self: center; }
.deck-caption { display: flex; justify-content: space-between; gap: 12px; padding: 19px 20px; border: 1px solid var(--line-strong); border-radius: var(--r-xl); background: linear-gradient(140deg, var(--card2), var(--card)); font-size: 10px; letter-spacing: 1px; font-weight: 700; }
.deck-caption span:last-child { letter-spacing: 0; font-weight: 400; color: var(--muted); }
.card-fan { position: relative; height: 340px; isolation: isolate; }
.brand-card { position: absolute; left: 50%; top: 55px; width: clamp(118px, 38vw, 170px); aspect-ratio: 5/7; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 18px; border-radius: var(--r-btn); border: 1px solid var(--line-strong); box-shadow: 0 15px 28px #0006; overflow: hidden; background: linear-gradient(165deg, #1b2233, #0d1120); color: var(--ink); }
.brand-card::after { content: ''; position: absolute; inset: 6px; border: 1px solid #ffffff20; border-radius: 8px; pointer-events: none; }
.brand-card svg { width: 62px; height: 62px; margin: 10px 0; }
.brand-card strong { font-size: 17px; text-align: center; line-height: 1.2; }
.card-index { font-size: 9px; letter-spacing: 1.5px; position: absolute; top: 14px; left: 14px; opacity: .65; }
.brand-card.paper { background: var(--paper-card); color: var(--paper-ink); transform: translateX(-95%) rotate(-16deg); z-index: 1; }
.brand-card.paper::after { border-color: #00000018; }
.brand-card.colored { background: radial-gradient(ellipse at 40% 10%, #fbbf2445, transparent 85%), linear-gradient(165deg,#25231b,#141821); transform: translateX(-50%) translateY(18px) rotate(-3deg); z-index: 3; }
.brand-card.colored svg { color: var(--cat-pass); }
.brand-card.foil { background: linear-gradient(130deg,#5a234c,#125e5a 48%,#32365d); border: 2px solid #93c5fd; box-shadow: 0 0 0 2px #8b5cf655, 0 18px 32px #0007; transform: translateX(-5%) rotate(14deg); z-index: 2; }
.brand-card.foil svg { color: #bae6fd; }
.card-stage { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; }
.card-stage i { width: 7px; height: 7px; border-radius: 50%; background: var(--sub); }
.colored .card-stage i { background: var(--amber); }
.foil .card-stage i { background: var(--trans); }
.art-caption { margin: 0; text-align: center; font-size: 11px; color: var(--muted); }
.strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 0 40px; }
.strip>div { display: flex; align-items: center; gap: 13px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-xl); background: linear-gradient(140deg, var(--card), #141827); }
.strip span { color: var(--accent-soft2); font-size: 12px; font-variant-numeric: tabular-nums; }
.strip p { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.participate { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 80px 40px; }
.participate h2 { font-size: 38px; }
.question-panel { padding: 30px; border: 1px solid var(--line-strong); border-radius: var(--r-xl); background: var(--card); box-shadow: var(--shadow-card); }
.question-panel ol { margin: 0; padding-left: 23px; }
.question-panel li { padding-left: 7px; margin-bottom: 23px; font-size: 16px; line-height: 1.6; }
.question-panel li::marker { color: var(--accent-soft2); font-size: 12px; font-weight: 700; }
.full { width: 100%; margin: 7px 0; }
.question-panel .fine a { overflow-wrap: anywhere; }
.question-panel details { font-size: 12px; margin-top: 20px; }
.question-panel summary { cursor: pointer; line-height: 1.7; }
.about-research { margin: 0 40px; padding: 45px 0 55px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.about-research p { font-size: 14px; }
.signature { color: var(--ink); font-size: 18px!important; font-weight: 700; }
.signature span { font-weight: 400; font-size: 13px; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 24px 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.6; }
.template-main { max-width: 820px; padding: 56px 40px; }
.template-main h1 { font-size: clamp(38px, 5vw, 60px); letter-spacing: -2px; line-height: 1.08; }
.template-main .lead { max-width: 650px; }
.text-button { border: 0; background: transparent; color: var(--accent-soft); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; padding: 12px 0; font-size: 13px; min-height: 44px; }
.status { font-size: 13px; min-height: 22px; color: var(--accent-soft2); }
.worksheet { padding: 35px 40px; color: var(--paper-ink); background: var(--paper-card); border: 1px solid #bfbdb5; border-radius: var(--r-lg); box-shadow: var(--shadow-card); margin: 20px 0 25px; }
.sheet-top { display: flex; justify-content: space-between; gap: 15px; font-size: 11px; font-weight: 700; padding-bottom: 24px; border-bottom: 1px solid #0002; }
.prompt { display: grid; grid-template-columns: 35px 1fr; gap: 17px; padding-top: 28px; }
.number { color: #5a6373; font-size: 13px; font-weight: 700; padding-top: 3px; }
.prompt .eyebrow { margin: 0; color: #5a6373; }
.prompt h2 { font-size: 26px; margin: 7px 0; }
.prompt p { font-size: 14px; margin: 5px 0; color: #4b5361; }
.writing-lines { height: 60px; background: repeating-linear-gradient(transparent 0 28px,#0002 28px 29px); }
.sheet-footer { border-top: 1px solid #0002; margin: 26px 0 0; padding-top: 18px; font-size: 11px; color: #4b5361; display: flex; justify-content: space-between; gap: 15px; }
.sheet-footer span { color: var(--paper-ink); font-weight: 700; }
.example { padding: 18px 0; border-bottom: 1px solid var(--line); }
.example summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.example p { font-size: 14px; }
.example h2 { font-size: 24px; }
.example label { display: block; font-size: 13px; margin: 15px 0; }
textarea { display: block; width: 100%; margin-top: 12px; border: 1px solid var(--line-strong); border-radius: var(--r-btn); padding: 15px; resize: vertical; background: var(--bg); color: var(--ink); font-size: 13px; line-height: 1.6; }
.research-invite { padding-top: 35px; }
.research-invite p { font-size: 14px; }
.research-invite h2 { font-size: 30px; }
@media(max-width:760px) {
  .masthead { padding: 20px 22px; gap: 18px; }
  .masthead>.quiet-link { font-size: 12px; max-width: 110px; text-align: right; }
  .brand { gap: 9px; }.brand-name { font-size: 18px; }.brand small { font-size: 10px; }.brand-mark { width: 40px; height: 40px; }
  .hero { grid-template-columns: 1fr; padding: 40px 24px; gap: 38px; }
  h1 { font-size: clamp(50px,14vw,66px); letter-spacing: -2.8px; }
  .deck-caption { padding: 16px; font-size: 9px; }.card-fan { height: 310px; }.brand-card { top: 44px; }.brand-card strong { font-size: 15px; }.brand-card svg { width: 48px; height: 48px; }
  .strip { margin: 0 24px; grid-template-columns: 1fr; gap: 10px; }.strip>div { padding: 18px 20px; }
  .participate { grid-template-columns: 1fr; gap: 25px; padding: 46px 24px; }.participate h2 { font-size: 32px; }.question-panel { padding: 23px; }
  .about-research { grid-template-columns: 1fr; gap: 20px; margin: 0 24px; padding: 30px 0; }
  .template-main { padding: 36px 22px; }.template-main h1 { font-size: 42px; letter-spacing: -1.5px; }
  .worksheet { padding: 25px 19px; }.prompt { grid-template-columns: 24px 1fr; gap: 10px; }.sheet-top { font-size: 10px; flex-wrap: wrap; }.sheet-footer { flex-direction: column; }
  .actions { gap: 15px; }.lead { font-size: 19px; }footer { padding: 24px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; }.button { transition: none; }.button:active { transform: none; } }
@media print {
  @page { size: A4; margin: 13mm; }
  html { color-scheme: light; }body { background: white; color: black; }body::before { display: none; }
  .no-print,.masthead,footer,.skip { display: none!important; }
  .template-main { padding: 0; max-width: none; }.template-main>.eyebrow { margin-top: 0; color: #444; }
  .template-main h1 { font-size: 30px; line-height: 1.1; margin: 12px 0; letter-spacing: -1px; }.template-main h1 span { color: black; }.template-main h1 br { display: none; }
  .template-main .lead { font-size: 12px; margin: 10px 0; max-width: none; color: #333; }
  .worksheet { box-shadow: none; background: white; border-color: #999; margin: 15px 0 0; padding: 22px; break-inside: avoid; border-radius: 10px; }
  .prompt { padding-top: 18px; }.prompt h2 { font-size: 20px; }.prompt p { font-size: 12px; }.writing-lines { height: 52px; }
  .sheet-footer { display: flex; flex-direction: row; font-size: 10px; }
}
