@font-face { font-family: 'Space Grotesk'; font-weight: 700; font-display: swap; src: url('../fonts/space-grotesk-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 400; font-display: swap; src: url('../fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Sans'; font-weight: 600; font-display: swap; src: url('../fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 400; font-display: swap; src: url('../fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-weight: 500; font-display: swap; src: url('../fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2'); }

:root {
  --bg: #ffffff;
  --ink: #111111;
  --muted: #5f6362;
  --line: #e6e6e6;
  --accent: #f5c842;
  --error: #b3261e;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --max: 760px;
  --max-form: 440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--ink); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

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

.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { height: 1.5em; width: auto; color: var(--ink); flex: none; }
.nav { display: flex; align-items: center; gap: 22px; font-size: .95rem; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.nav .btn { color: var(--ink); padding: 6px 14px; }
.nav form { margin: 0; }
.nav-user { color: var(--muted); }

.hero { padding: 96px 0 80px; }
.label {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
}
.hero h1 { font-size: clamp(2.3rem, 6.5vw, 3.6rem); line-height: 1.08; margin: 20px 0 24px; }
.hero h1 mark, .page h1 mark { background: linear-gradient(transparent 62%, var(--accent) 62%); color: inherit; padding: 0 2px; }
.hero p { font-size: 1.2rem; color: var(--muted); max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 36px; }

.btn {
  display: inline-block; text-decoration: none; font: inherit; font-weight: 600; cursor: pointer;
  background: var(--accent); color: var(--ink); padding: 12px 22px; border: 2px solid var(--ink);
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.btn-ghost { background: var(--bg); }
.link { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.link:hover { background: var(--accent); }
.link-button { background: none; border: 0; border-bottom: 2px solid var(--accent); font: inherit; font-weight: 600; color: inherit; cursor: pointer; padding: 0 0 2px; }
.link-button:hover { background: var(--accent); }

.section { border-top: 1px solid var(--line); padding: 64px 0; }
.section .wrap { display: grid; grid-template-columns: 150px 1fr; gap: 32px; }
.section .label { padding-top: 8px; }
.section h2 { font-size: 1.6rem; line-height: 1.2; margin-bottom: 8px; }
.section .intro { color: var(--muted); margin-bottom: 28px; }

.support-band { background: var(--accent); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); padding: 20px 0; }
.support-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.support-band-text { display: grid; gap: 4px; flex: 1 1 320px; max-width: 500px; text-wrap: pretty; }
.support-band-text strong { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.25; letter-spacing: -0.01em; text-wrap: balance; }
.support-band-text p { font-size: .95rem; }
.btn-dark { background: var(--ink); color: var(--accent); display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.btn-dark:hover { box-shadow: 4px 4px 0 var(--bg); }
.btn-arrow { display: inline-block; transition: transform .15s; }
.btn-dark:hover .btn-arrow { transform: translateY(3px); }

.list { list-style: none; margin: 0; padding: 0; }
.list li { border-top: 1px solid var(--line); padding: 18px 0; }
.list li:last-child { border-bottom: 1px solid var(--line); }
.list h3 { font-size: 1.1rem; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.list p { color: var(--muted); margin-top: 4px; }
.meta { font-family: var(--font-mono); font-size: .78rem; font-weight: 400; color: var(--muted); }
.tag { font-family: var(--font-mono); font-size: .72rem; font-weight: 500; background: var(--accent); padding: 1px 7px; }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 16px; border-top: 1px solid var(--line); padding: 18px 0; }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono); font-weight: 500; font-size: .9rem; padding-top: 2px;
}
.steps h3 { font-size: 1.1rem; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.steps p { color: var(--muted); margin-top: 4px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.split h3 { font-size: 1.1rem; margin-bottom: 12px; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { padding: 8px 0 8px 22px; position: relative; color: var(--muted); border-top: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 0; top: 17px; width: 10px; height: 10px; background: var(--accent); border: 2px solid var(--ink); }

.page { padding: 64px 0 80px; }
.page .wrap { max-width: var(--max-form); }
.page h1 { font-size: clamp(1.9rem, 5vw, 2.4rem); line-height: 1.1; margin: 16px 0 12px; }
.page .intro { color: var(--muted); margin-bottom: 32px; }
.page .after { margin-top: 28px; color: var(--muted); }

.form { display: grid; gap: 20px; }
.field { display: grid; gap: 6px; }
.field label, .form legend, .field-label { font-weight: 600; font-size: .95rem; }
.field-static { margin: 0; }
.field input {
  width: 100%; padding: 11px 12px; font: inherit; color: var(--ink); background: var(--bg);
  border: 2px solid var(--ink); border-radius: 0;
}
.field input[aria-invalid="true"] { border-color: var(--error); }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice label { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: block; border: 2px solid var(--line); padding: 12px 14px; font-weight: 600; }
.choice small { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }
.choice input:checked + span { border-color: var(--ink); background: var(--accent); }
.choice input:checked + span small { color: var(--ink); }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.hint { font-size: .85rem; color: var(--muted); }
.error { color: var(--error); font-size: .9rem; }
.alert { border: 2px solid var(--error); color: var(--error); padding: 10px 14px; }
.form .btn { justify-self: start; }
.field textarea {
  width: 100%; padding: 11px 12px; font: inherit; color: var(--ink); background: var(--bg);
  border: 2px solid var(--ink); border-radius: 0; resize: vertical;
}
.field textarea[aria-invalid="true"] { border-color: var(--error); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); }
.choice-3 { grid-template-columns: repeat(3, 1fr); }
.form-actions { display: flex; align-items: center; gap: 24px; }
.form-actions .btn { justify-self: auto; }

.hero-compact { padding: 64px 0 48px; }
.page-wide .wrap { max-width: var(--max); }
.page-heading { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 16px 0 12px; }
.page-heading h1 { margin: 0; }
.tag-closed { background: var(--line); }
.tag-recruiting { background: var(--ink); color: var(--bg); }
.tag-interviewing { background: var(--ink); color: var(--accent); }
.tag-invitation-pending { background: var(--accent); }
.tag-invitation-accepted { background: var(--ink); color: var(--bg); }
.tag-invitation-declined, .tag-invitation-expired, .tag-invitation-cancelled { background: var(--line); }
.answer { display: grid; gap: 12px; }
.pending { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 20px; }
.pending h2 { font-size: 1.15rem; margin: 0 0 12px; }
.eligibility { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; margin-bottom: 24px; display: grid; gap: 10px; }
.eligibility .btn { justify-self: start; }
.form-section { border-top: 1px solid var(--line); padding-top: 20px; display: grid; gap: 16px; }
.form-section legend { font-family: var(--font-display); font-size: 1.15rem; padding: 0; margin-bottom: 4px; }
.field select {
  width: 100%; padding: 11px 12px; font: inherit; color: var(--ink); background: var(--bg);
  border: 2px solid var(--ink); border-radius: 0;
}
.field select[aria-invalid="true"] { border-color: var(--error); }
.field-row-city { grid-template-columns: 1fr 120px; }
.skill-rows { display: grid; gap: 10px; }
.method { display: grid; gap: 6px; }
.method p { margin: 0; }
.achievement-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.achievement-item { border: 2px solid var(--ink); padding: 14px; display: grid; gap: 10px; }
.achievement-item .link-button { justify-self: start; font-size: .9rem; }
.form-section .btn-small { justify-self: start; }
.btn-small { padding: 6px 14px; font-size: .9rem; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.chip-items { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: stretch; max-width: 100%; border: 2px solid var(--ink); background: var(--bg); }
.chip-field .chip input { width: auto; min-width: 4ch; max-width: 100%; border: 0; padding: 4px 8px; font-size: .9rem; field-sizing: content; }
.chip-remove { border: 0; border-left: 2px solid var(--ink); background: var(--accent); color: var(--ink); font: inherit; font-weight: 700; line-height: 1; padding: 0 9px; cursor: pointer; }
.chip-remove:hover { background: var(--ink); color: var(--bg); }
.chip-new { display: flex; gap: 8px; align-items: stretch; }
.chip-new input { flex: 1; min-width: 0; }
.list .achievements { list-style: disc; margin: 10px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.list .achievements li, .list .achievements li:last-child { border: 0; padding: 0; }
.skill-mark { background: linear-gradient(transparent 58%, var(--accent) 58%); color: inherit; font-weight: 600; padding: 0 1px; }
.skill-row { display: grid; grid-template-columns: 1fr 140px; gap: 16px; }
.skill-row .field label { font-weight: 400; font-size: .85rem; color: var(--muted); }
.skill-row + .skill-row label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.preview { border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--accent); padding: 28px; margin-top: 32px; display: grid; gap: 12px; }
.preview h2 { font-size: 1.6rem; }
.preview h3 { font-size: 1rem; margin-top: 8px; }
.preview-company { color: var(--muted); font-weight: 600; }
.facts { margin: 8px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.facts div { border-top: 1px solid var(--line); padding-top: 8px; }
.facts dt { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; }
.preview-question { margin-top: 12px; padding: 12px 14px; background: var(--accent); font-weight: 600; }
.hero-compact h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.empty { color: var(--muted); }
.btn + .empty { margin-top: 24px; }
.prose { max-width: 60ch; }
.inline-links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 24px; }
.chips { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-family: var(--font-mono); font-size: .75rem; border: 1px solid var(--ink); padding: 1px 8px; }
.list .chips li, .list .chips li:last-child { border: 1px solid var(--ink); padding: 1px 8px; }
.item-actions { display: flex; align-items: center; gap: 18px; margin-top: 12px; font-size: .9rem; }
.item-actions form { margin: 0; }
.link-danger { border-bottom-color: var(--error); color: var(--error); }
.link-danger:hover { background: var(--error); color: var(--bg); }
.skill-times { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 24px; }
.skill-times li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding: 10px 0; }
.skill-facts { display: inline-flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.stars { font-size: .9rem; letter-spacing: 1px; color: var(--ink); }
.stars .star-off { color: var(--muted); }

.donation-cta { border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--accent); padding: 24px; margin-top: 40px; display: grid; gap: 12px; }
.section .donation-cta { margin-top: 0; }
.donation-cta h2 { font-size: 1.35rem; line-height: 1.2; margin: 0; }
.donation-cta p { color: var(--muted); }
.donation-cta .btn { justify-self: start; }
.notice { border: 2px solid var(--ink); background: var(--accent); padding: 12px 14px; display: grid; gap: 8px; font-weight: 600; }
.pix { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; margin-top: 24px; }
.pix-qr { background: #ffffff; padding: 12px; width: 240px; max-width: 100%; border: 2px solid var(--ink); flex: none; }
.pix-qr svg { display: block; width: 100%; height: auto; }
.pix-code { flex: 1; min-width: 0; display: grid; gap: 10px; }
.pix-code .btn { justify-self: start; }
.pix-key { font-family: var(--font-mono); font-size: .9rem; overflow-wrap: anywhere; }
.pix-code textarea { font-family: var(--font-mono); font-size: .8rem; word-break: break-all; }
.form-wide { max-width: var(--max-form); }
.field input[type="file"] { border-style: dashed; padding: 10px; }
.check-text { align-items: flex-start; font-weight: 400; }
.check-text input { flex: none; margin-top: 4px; }
.wall { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 20px 16px; }
.supporter { display: grid; justify-items: center; gap: 6px; width: var(--size); text-align: center; --size: 56px; }
.supporter.tier-2 { --size: 72px; }
.supporter.tier-3 { --size: 92px; }
.supporter.tier-4 { --size: 116px; }
.supporter-avatar { width: var(--size); height: var(--size); border-radius: 50%; border: 2px solid var(--ink); object-fit: cover; display: grid; place-items: center; background: var(--accent); font-family: var(--font-display); font-weight: 700; font-size: calc(var(--size) * .34); }
.supporter-initials { line-height: 1; text-align: center; letter-spacing: 0; }
.supporter-initials.tone-1 { background: #fff1c2; }
.supporter-initials.tone-2 { background: #ffe08a; }
.supporter-initials.tone-3 { background: var(--accent); }
.supporter-initials.tone-4 { background: #f0b429; }
.supporter-initials.tone-5 { background: #e09a12; }
.supporter-name { font-size: .8rem; color: var(--muted); line-height: 1.25; overflow-wrap: anywhere; max-width: 100%; }
.revoke { margin: 0; font-size: .9rem; }

.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: .9rem; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 16px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav { gap: 14px; }
  .nav .hide-sm { display: none; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 48px 0; }
  .section .wrap { grid-template-columns: 1fr; gap: 12px; }
  .section .label { padding-top: 0; }
  .split { grid-template-columns: 1fr; }
  .choice, .choice-3, .field-row, .field-row-city, .facts { grid-template-columns: 1fr; }
  .skill-row { grid-template-columns: 1fr 96px; }
  .preview { padding: 20px; box-shadow: 4px 4px 0 var(--accent); }
  .page { padding: 40px 0 56px; }
  .supporter { --size: 48px; }
  .supporter.tier-2 { --size: 60px; }
  .supporter.tier-3 { --size: 76px; }
  .supporter.tier-4 { --size: 96px; }
  .donation-cta { padding: 18px; box-shadow: 4px 4px 0 var(--accent); }
  .pix-qr { width: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn-arrow { transition: none; }
}
.tag-invitation-hired { background: var(--ink); color: var(--accent); }
.tag-invitation-rejected, .tag-invitation-withdrawn { background: var(--line); }
.feedback { white-space: pre-line; }
.decision-forms { display: grid; gap: 32px; margin: 24px 0; }
.score-group { border: 0; padding: 0; margin: 0 0 16px; }
.score-group legend { font-weight: 600; margin-bottom: 6px; }
.score-options { display: flex; flex-wrap: wrap; gap: 16px; }
.score-list { list-style: none; padding: 0; margin: 8px 0; }
.account-section { margin-top: 48px; margin-bottom: 12px; font-size: 1.3rem; }
.flash { padding-top: 24px; }
.legal h2 { font-size: 1.2rem; margin: 32px 0 8px; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.legal p { margin-bottom: 12px; }
.legal-version { color: var(--muted); }
.placeholder { background: var(--accent); padding: 0 4px; }
.table-scroll { overflow-x: auto; }
.ledger { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ledger th, .ledger td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ledger td { text-align: right; }
.ledger thead th:not(:first-child) { text-align: right; }
.ledger-costs { list-style: none; padding: 0; display: grid; gap: 8px; }
.ledger-costs li { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
