@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&display=swap');

@font-face {
  font-family: "Michelangelus";
  src: local("Michelangelus"), local("Michelangelus Regular");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Michelangelus";
  src: local("Michelangelus Bold"), local("Michelangelus-Bold");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #f2ead8;
  --surface: #fffdf6;
  --ink: #173b2f;
  --body: #263b32;
  --muted: #686252;
  --line: #c9bfa8;
  --soft: #ebe2d1;
  --accent: #d97745;
  --accent-ink: #1b2d25;
  --signal: #2e6b4f;
  --focus: #a84527;
  --shadow: 0 20px 50px rgba(42, 58, 46, .11);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #102219;
    --surface: #172b20;
    --ink: #f4edda;
    --body: #eee7d6;
    --muted: #c9c0aa;
    --line: #526657;
    --soft: #21382a;
    --accent: #e6a060;
    --accent-ink: #17251e;
    --signal: #9bcaab;
    --focus: #ffd09a;
    --shadow: 0 22px 54px rgba(0, 0, 0, .3);
  }
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--body);
  font: 16px/1.55 Manrope, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

button, input, select {
  font: inherit;
}

button, a, input, select {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

main {
  width: min(760px, calc(100% - 28px));
  margin: 0 auto;
  padding: clamp(14px, 4vw, 42px) 0 max(46px, env(safe-area-inset-bottom));
  padding-top: calc(clamp(14px, 4vw, 42px) + 56px);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(42, 58, 46, .06);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px max(14px, env(safe-area-inset-left)) 8px max(14px, env(safe-area-inset-right));
  min-height: 56px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
  font-size: 1rem;
}

.logo-icon {
  width: 26px;
  height: 26px;
  color: var(--ink);
  flex-shrink: 0;
}

.btn-header {
  min-height: 44px;
  padding: 0 16px;
  font-size: .88rem;
}

.homepage-hero {
  max-width: 680px;
  margin: 0 auto 20px;
  text-align: center;
}

.homepage-hero h1 {
  margin: 0 0 10px;
  font-family: "Michelangelus", Georgia, "Times New Roman", serif;
  color: var(--ink);
  font-size: clamp(1.85rem, 8vw, 4rem);
  line-height: 1.08;
  letter-spacing: -.018em;
  font-weight: 700;
}

.homepage-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.panel {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px clamp(18px, 4vw, 28px);
  border-bottom: 1px solid var(--line);
}

.progress-track {
  height: 7px;
  flex: 1;
  background: var(--soft);
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 33.333%;
  background: var(--accent);
  border-radius: 999px;
  transition: width .55s cubic-bezier(.22, .8, .2, 1);
}

.step-count {
  min-width: 56px;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 700;
  text-align: right;
}

.screen {
  display: none;
  min-height: 400px;
  padding: clamp(20px, 6vw, 52px) clamp(16px, 4vw, 28px);
}

.screen.active {
  display: block;
  animation: screenIn .44s cubic-bezier(.22, .8, .2, 1) both;
}

.screen.leaving {
  display: block;
  animation: screenOut .2s ease both;
}

.hero {
  max-width: 640px;
  margin-bottom: 38px;
}

.hero h1, .question-head h2, .loading-wrap h2, .result-head h2, .match h3 {
  font-family: "Michelangelus", Georgia, "Times New Roman", serif;
  color: var(--ink);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.35rem, 8vw, 4.25rem);
  line-height: 1.01;
  letter-spacing: -.018em;
  font-weight: 700;
}

.hero p {
  max-width: 620px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.5vw, 1.16rem);
  line-height: 1.65;
}

.question-head {
  max-width: 610px;
  margin-bottom: 18px;
}

.step-label {
  margin: 0 0 6px;
  color: var(--signal);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .035em;
}

.question-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 5.5vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -.012em;
  font-weight: 700;
}

.question-head > p:last-child {
  margin: 0;
  color: var(--muted);
}

.search-shell {
  position: relative;
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  width: 21px;
  height: 21px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  min-height: 58px;
  padding: 12px 48px 12px 48px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: var(--surface);
  color: var(--body);
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 4px 0 var(--accent);
  transition: transform .15s ease, box-shadow .15s ease;
}

.search-input:focus {
  transform: translateY(-1px);
  box-shadow: 0 7px 0 var(--accent);
}

.search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  display: none;
  width: 40px;
  height: 40px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.35rem;
  cursor: pointer;
}

.search-clear.show {
  display: block;
}

.suggestions {
  display: none;
  margin-top: 9px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(38, 59, 50, .1);
}

.suggestions.show {
  display: block;
  animation: popIn .2s ease both;
}

.suggestion {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--body);
  text-align: left;
  cursor: pointer;
}

.suggestion:hover, .suggestion:focus-visible {
  background: var(--soft);
}

.suggestion strong {
  color: var(--ink);
  font-weight: 800;
}

.suggestion span {
  color: var(--muted);
  font-size: .79rem;
  text-align: right;
}

.no-results {
  padding: 12px;
  color: var(--muted);
  font-size: .9rem;
}

.shortcut-label {
  margin: 16px 0 10px;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 700;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.chip:hover {
  border-color: var(--ink);
  background: var(--soft);
}

.chip:active, .generalist:active, .btn:active {
  transform: translateY(2px) scale(.985);
}

.chip.selected {
  border-color: var(--ink);
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 3px 0 var(--ink);
  animation: tapPulse .28s ease;
}

.generalist {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px dashed var(--ink);
  border-radius: 12px;
  background: var(--soft);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  font-weight: 800;
  transition: transform .12s ease, background .15s ease;
}

.generalist span {
  color: var(--muted);
  font-size: .84rem;
  font-weight: 600;
}

.generalist.selected {
  border-style: solid;
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 3px 0 var(--ink);
}

.generalist.selected span {
  color: var(--accent-ink);
}

.slider-card {
  padding: 27px 25px 23px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--soft);
}

.slider-bubble {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 7px 14px;
  margin-bottom: 23px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--surface);
  font-weight: 800;
  transition: transform .18s ease;
}

.slider-wrap {
  position: relative;
  padding: 9px 2px 0;
}

.experience-slider {
  width: 100%;
  height: 32px;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: grab;
}

.experience-slider:active {
  cursor: grabbing;
}

.experience-slider::-webkit-slider-runnable-track {
  height: 10px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: linear-gradient(to right, var(--accent) 0, var(--accent) var(--fill, 33.333%), var(--surface) var(--fill, 33.333%), var(--surface) 100%);
}

.experience-slider::-webkit-slider-thumb {
  width: 30px;
  height: 30px;
  margin-top: -11px;
  appearance: none;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 2px 0 var(--ink);
}

.experience-slider::-moz-range-track {
  height: 8px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--surface);
}

.experience-slider::-moz-range-progress {
  height: 8px;
  background: var(--accent);
}

.experience-slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--accent);
}

.slider-labels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 10px;
  color: var(--muted);
  font-size: .76rem;
}

.slider-labels span:nth-child(2), .slider-labels span:nth-child(3) {
  text-align: center;
}

.slider-labels span:last-child {
  text-align: right;
}

.slider-note {
  min-height: 48px;
  margin: 22px 0 0;
  color: var(--muted);
}

.super-grid {
  display: grid;
  gap: 11px;
}

.super-chip {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-weight: 800;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.super-chip:hover {
  border-color: var(--ink);
  background: var(--soft);
}

.super-chip:after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
}

.super-chip.selected {
  border-color: var(--ink);
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 3px 0 var(--ink);
}

.super-chip.selected:after {
  content: "✓";
}

.super-chip[data-value="none"]:after {
  content: "→";
}

.language-panel {
  display: none;
  margin-top: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}

.language-panel.show {
  display: block;
  animation: revealDown .26s ease both;
}

.language-panel label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
}

.language-select {
  width: 100%;
  min-height: 52px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--body);
}

.field-reward {
  min-height: 0;
  max-height: 0;
  margin: 0;
  color: var(--ink);
  font-family: "Michelangelus", Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
  text-align: center;
  opacity: 0;
  transform: translateY(7px);
  overflow: hidden;
}

.field-reward.show {
  max-height: 160px;
  margin: 28px 0 -8px;
  opacity: 1;
  transform: none;
  animation: rewardIn .42s cubic-bezier(.22, .8, .2, 1) both;
}

.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 31px;
}

.btn {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
}

.btn:hover {
  background: var(--soft);
}

.btn-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:not(:disabled):hover {
  background: var(--accent);
  box-shadow: 0 4px 0 var(--ink);
}

.btn-primary.reward-pulse {
  animation: continuePulse .72s cubic-bezier(.22, .8, .2, 1);
}

.btn:disabled {
  opacity: .34;
  cursor: not-allowed;
}

.btn-arrow:after {
  content: "→";
  margin-left: 17px;
  font-size: 1.15em;
}

.loading-screen {
  min-height: 590px;
  text-align: center;
}

.loading-wrap {
  display: grid;
  min-height: 475px;
  place-items: center;
}

.loader {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto 22px;
}

.loader:before, .loader:after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--line);
  border-radius: 50%;
}

.loader:after {
  border-color: var(--accent) transparent transparent;
  animation: spin .72s linear infinite;
}

.loading-wrap h2 {
  margin: 0 0 9px;
  font-size: clamp(1.95rem, 6vw, 2.8rem);
  letter-spacing: -.01em;
}

.loading-copy {
  min-height: 1.5em;
  margin: 0;
  color: var(--muted);
  transition: opacity .16s ease;
}

.loading-copy.swap {
  opacity: 0;
}

#result-screen {
  min-height: 0;
  text-align: center;
}

.result-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.result-head > div:first-child {
  max-width: 620px;
}

.result-head h2 {
  margin: 0 0 11px;
  font-size: clamp(2.1rem, 6vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -.012em;
}

.result-intro {
  margin: 0 auto;
  color: var(--muted);
}

.match-count {
  display: grid;
  width: 78px;
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid var(--signal);
  border-radius: 50%;
  color: var(--signal);
  font-size: .7rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  transform: rotate(4deg);
}

.match {
  display: flex;
  max-width: 620px;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin: 0 auto;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
}

.active .match {
  animation: cardIn .48s cubic-bezier(.22, .8, .2, 1) forwards;
}

.match-topline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  align-items: baseline;
}

.pay {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.28rem, 4.2vw, 1.82rem);
  font-weight: 800;
  letter-spacing: -.02em;
}

.platform {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
}

.match h3 {
  margin: 6px 0 8px;
  font-size: clamp(1.45rem, 4vw, 1.95rem);
  line-height: 1.14;
  letter-spacing: -.01em;
}

.match-description {
  margin: 0 auto;
  color: var(--muted);
}

.why {
  margin: 11px auto 0;
  font-size: .9rem;
}

.why strong {
  color: var(--signal);
}

.match .btn {
  min-width: 148px;
}

.rates-note {
  max-width: 620px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: .75rem;
}

.disclosure {
  display: flex;
  max-width: 620px;
  gap: 12px;
  margin: 24px auto 0;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--soft);
  font-size: .82rem;
  text-align: left;
}

.disclosure strong {
  flex: 0 0 auto;
  color: var(--ink);
}

.disclosure p {
  margin: 0;
  color: var(--muted);
}

.alert-box {
  max-width: 620px;
  margin: 30px auto 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--soft);
  text-align: center;
}

.alert-box h3 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 1.38rem;
  letter-spacing: -.02em;
}

.alert-box > p {
  margin: 0 auto;
  color: var(--muted);
}

.alert-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
  text-align: left;
}

.field-wrap {
  display: grid;
  gap: 6px;
}

.field-wrap label {
  font-size: .77rem;
  font-weight: 800;
}

.field-wrap input {
  width: 100%;
  min-height: 52px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--body);
}

.consent-row {
  grid-column: 1/-1;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 2px;
  color: var(--muted);
  font-size: .78rem;
  cursor: pointer;
}

.consent-row input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--accent);
}

.alert-submit {
  grid-column: 1/-1;
  justify-self: center;
}

.alert-status {
  min-height: 1.5em;
  margin: 11px 0 0 !important;
  color: var(--signal) !important;
  font-weight: 700;
  font-size: .86rem;
}

.alert-status.error {
  color: var(--accent) !important;
}

.result-actions {
  margin-top: 22px;
  text-align: center;
}

.retake {
  border: 0;
  padding: 10px 0;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.quiz-footnote {
  max-width: 680px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: .82rem;
  text-align: center;
}

.roles-strip {
  max-width: 1280px;
  margin: 58px auto 0;
  padding: 38px clamp(14px, 4vw, 28px);
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: center;
}

.roles-strip h2 {
  margin: 0 0 24px;
  font-family: "Michelangelus", Georgia, "Times New Roman", serif;
  color: var(--ink);
  font-size: clamp(1.75rem, 5vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -.012em;
  font-weight: 700;
}

.roles-scroller {
  position: relative;
  overflow: hidden;
  margin: 0 -14px;
  padding: 0 14px;
  max-width: 100%;
}

.roles-track {
  display: flex;
  gap: 16px;
  animation: scrollRoles 20s linear infinite;
}

.roles-track:hover {
  animation-play-state: paused;
}

.role-card {
  flex: 0 0 auto;
  min-width: 240px;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}

.role-title {
  color: var(--ink);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.role-platform {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.role-pay {
  color: var(--accent);
  font-weight: 800;
  font-size: 1.12rem;
}

.roles-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: .75rem;
}

.roles-cta {
  margin: 18px 0 0;
}

.quiz-link {
  display: inline-block;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  transition: transform .12s ease, background .15s ease;
}

.quiz-link:hover {
  background: var(--soft);
}

.how-it-works {
  max-width: 880px;
  margin: 58px auto 0;
  text-align: center;
}

.how-it-works h2 {
  margin: 0 0 32px;
  font-family: "Michelangelus", Georgia, "Times New Roman", serif;
  color: var(--ink);
  font-size: clamp(1.75rem, 5vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -.012em;
  font-weight: 700;
}

.steps-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.step-card {
  padding: 28px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  text-align: center;
}

.step-number {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 1.5rem;
  font-weight: 800;
}

.step-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.3;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.steps-cta {
  margin: 28px 0 0;
}

.platforms-section {
  max-width: 880px;
  margin: 58px auto 0;
  text-align: center;
}

.platforms-section h2 {
  margin: 0 0 32px;
  font-family: "Michelangelus", Georgia, "Times New Roman", serif;
  color: var(--ink);
  font-size: clamp(1.75rem, 5vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -.012em;
  font-weight: 700;
}

.platform-cards {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.platform-card {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  text-align: center;
}

.platform-card h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 1.4rem;
  font-weight: 800;
}

.platform-desc {
  margin: 0 0 14px;
  color: var(--body);
  line-height: 1.6;
  font-size: .95rem;
}

.platform-pay {
  margin: 0 0 8px;
  color: var(--accent);
  font-weight: 800;
  font-size: 1.08rem;
}

.platform-label {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 600;
}

.platform-cta {
  width: 100%;
}

.faq-section {
  max-width: 720px;
  margin: 58px auto 0;
}

.faq-section h2 {
  margin: 0 0 24px;
  font-family: "Michelangelus", Georgia, "Times New Roman", serif;
  color: var(--ink);
  font-size: clamp(1.75rem, 5vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -.012em;
  font-weight: 700;
  text-align: center;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  transition: background .15s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  background: var(--soft);
}

.faq-item summary:after {
  content: "+";
  float: right;
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform .2s ease;
}

.faq-item[open] summary:after {
  transform: rotate(45deg);
}

.faq-content {
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.65;
}

.faq-content p {
  margin: 0;
}

.faq-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-content a:hover {
  color: var(--focus);
}

.faq-cta {
  margin: 28px 0 0;
  text-align: center;
}

.footer-disclosure {
  max-width: 680px;
  margin: 0 auto 18px;
  color: var(--muted);
  font-size: .75rem;
  text-align: center;
  line-height: 1.6;
}

.site-footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px max(14px, env(safe-area-inset-left)) max(42px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-right));
  text-align: center;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 600;
  transition: color .15s ease;
}

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

.content-page {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) 14px clamp(42px, 6vw, 72px);
}

.content-page h1 {
  margin: 0 0 18px;
  font-family: "Michelangelus", Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 7vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--ink);
}

.content-page h2 {
  margin: 36px 0 12px;
  font-size: clamp(1.45rem, 4vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--ink);
}

.content-page h3 {
  margin: 28px 0 10px;
  font-size: 1.18rem;
  line-height: 1.3;
  color: var(--ink);
}

.content-page p {
  margin: 14px 0;
  line-height: 1.7;
}

.content-page a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.content-page a:hover {
  color: var(--focus);
}

.content-page ul, .content-page ol {
  margin: 14px 0;
  padding-left: 24px;
  line-height: 1.7;
}

.content-page li {
  margin: 8px 0;
}

.content-page .back-link {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
}

.content-page .back-link:hover {
  color: var(--ink);
}

.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;
}

@keyframes screenIn {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes screenOut {
  to {
    opacity: 0;
    transform: translateX(-18px);
  }
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes revealDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rewardIn {
  0% {
    opacity: 0;
    transform: translateY(7px);
  }
  65% {
    opacity: 1;
    transform: translateY(-2px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes continuePulse {
  0%, 100% {
    transform: none;
    box-shadow: none;
  }
  42% {
    transform: translateY(-2px);
    box-shadow: 0 5px 0 var(--ink);
  }
  70% {
    transform: translateY(0);
    box-shadow: 0 2px 0 var(--ink);
  }
}

@keyframes tapPulse {
  50% {
    transform: scale(.975);
  }
  to {
    transform: none;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes cardIn {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes scrollRoles {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-240px * 3 - 48px));
  }
}

@media (max-width: 640px) {
  main {
    width: calc(100% - max(16px, env(safe-area-inset-left)) - max(16px, env(safe-area-inset-right)));
    margin-left: max(8px, env(safe-area-inset-left));
    margin-right: max(8px, env(safe-area-inset-right));
    padding-top: calc(10px + 56px);
  }
  .site-header-inner {
    padding: 8px max(14px, env(safe-area-inset-left)) 8px max(14px, env(safe-area-inset-right));
    min-height: 56px;
  }
  .site-logo {
    font-size: .92rem;
  }
  .logo-icon {
    width: 24px;
    height: 24px;
  }
  .btn-header {
    min-height: 44px;
    padding: 0 14px;
    font-size: .84rem;
  }
  .homepage-hero {
    margin-bottom: 16px;
  }
  .homepage-hero h1 {
    margin-bottom: 8px;
    font-size: 1.85rem;
    line-height: 1.08;
  }
  .homepage-hero p {
    font-size: 1rem;
    line-height: 1.48;
  }
  .panel {
    box-shadow: none;
  }
  .screen {
    min-height: auto;
    padding: 18px 16px 24px;
  }
  .question-head {
    margin-bottom: 16px;
  }
  .question-head h2 {
    font-size: 1.5rem;
  }
  .shortcut-label {
    margin: 14px 0 8px;
  }
  .chips {
    gap: 8px;
  }
  .chip {
    min-height: 44px;
    padding: 10px 14px;
  }
  .generalist {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    margin-top: 12px;
    min-height: 54px;
    padding: 11px 14px;
  }
  .generalist span {
    font-size: .82rem;
  }
  .suggestion {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
    min-height: 52px;
    padding: 10px 12px;
  }
  .suggestion span {
    text-align: left;
  }
  .field-reward {
    text-align: center;
  }
  .field-reward.show {
    margin-bottom: -6px;
  }
  .slider-card {
    padding: 20px 16px 18px;
  }
  .slider-labels {
    font-size: .68rem;
  }
  .result-head, .match {
    grid-template-columns: 1fr;
  }
  .match-count {
    display: none;
  }
  .match .btn, .alert-submit {
    width: 100%;
    min-height: 48px;
  }
  .alert-form {
    grid-template-columns: 1fr;
  }
  .consent-row, .alert-submit {
    grid-column: 1;
  }
  .disclosure {
    flex-direction: column;
    gap: 5px;
  }
  .actions {
    margin-top: 24px;
  }
  .actions .btn {
    min-width: 110px;
    min-height: 48px;
  }
  .loading-screen {
    min-height: calc(100dvh - 120px);
  }
  .loading-wrap {
    min-height: 60dvh;
  }
  .roles-strip {
    margin-top: 36px;
    padding: 24px max(14px, env(safe-area-inset-left)) 24px max(14px, env(safe-area-inset-right));
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .platform-cards {
    grid-template-columns: 1fr;
  }
  .how-it-works, .platforms-section, .faq-section {
    margin-top: 36px;
  }
}

@media (max-width: 390px) {
  .panel-top {
    padding: 12px 14px;
  }
  .homepage-hero h1 {
    font-size: 1.75rem;
  }
  .question-head h2 {
    font-size: 1.42rem;
  }
  .chips {
    gap: 7px;
  }
  .chip {
    padding: 10px 12px;
    min-height: 44px;
  }
  .actions {
    align-items: stretch;
  }
  .actions .btn {
    flex: 1;
    min-height: 48px;
  }
  .slider-labels {
    font-size: .64rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
  .roles-track {
    animation: none !important;
  }
}
