:root {
  --ink: #101635;
  --muted: #66708f;
  --line: #e5e9f5;
  --surface: #ffffff;
  --surface-blue: #f4f6ff;
  --blue: #4a49ff;
  --blue-dark: #3133dc;
  --blue-soft: #eef0ff;
  --green: #27a875;
  --shadow: 0 22px 70px rgba(42, 54, 112, 0.12);
  --radius-lg: 32px;
  --radius-md: 22px;
  --max: 1240px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

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

body {
  margin: 0;
  min-width: 0;
  overflow-x: clip;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  padding-bottom: env(safe-area-inset-bottom);
  color: var(--ink);
  background: #fbfcff;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.flow-open { overflow-x: hidden; }

button, select, input { font: inherit; }
button, a, select, input { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; height: auto; }
:where(h1, h2, h3, p, strong, small, .tag, .answer-label) { overflow-wrap: anywhere; }
:where(.hero, .project-grid, .quiz-layout, .results-content, .result-card, .story) > * { min-width: 0; }
svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

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

.page-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(8px);
  pointer-events: none;
}

.app-install-banner { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: calc(10px + env(safe-area-inset-top)) max(14px, calc((100% - var(--max)) / 2)) 10px; border-bottom: 1px solid var(--line); background: #eef0ff; }
.app-install-copy { display: flex; align-items: center; gap: 10px; min-width: 0; }
.app-install-copy p { margin: 0; max-width: 740px; font-size: .74rem; line-height: 1.5; color: #404a72; }
.app-install-mark { flex: 0 0 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: var(--ink); color: #a4a0ff; font-size: 1rem; font-weight: 800; }
.app-install-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.app-install-actions .button { min-height: 44px; padding: 10px 13px; font-size: .72rem; }
.reminder-time-label { display: block; margin: 24px 0 10px; font-size: .85rem; font-weight: 700; }
#reminder-time { display: block; width: 100%; min-height: 48px; padding: 10px 14px; color: var(--ink); background: var(--surface-blue); border: 1px solid var(--line); border-radius: 12px; font-size: 16px; }
.reminder-status { min-height: 1.5em; color: var(--muted); font-size: .8rem; line-height: 1.6; }
.reminder-dialog h2 { padding-inline-end: 20px; }
.reminder-dialog .button + .button { margin-top: 10px; }

.page-glow--one { width: 40rem; height: 40rem; top: -18rem; right: -10rem; background: radial-gradient(circle, rgba(104, 155, 255, .2), transparent 65%); }
.page-glow--two { width: 34rem; height: 34rem; top: 44rem; left: -20rem; background: radial-gradient(circle, rgba(95, 83, 255, .11), transparent 65%); }

.site-header {
  width: min(calc(100% - 40px), var(--max));
  height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand { display: inline-flex; align-items: center; font-size: 1.75rem; font-weight: 800; letter-spacing: .11em; line-height: 1; }
.brand-a { color: var(--blue); margin-left: .02em; transform: skew(-8deg); }
.brand--small { font-size: 1.38rem; }

.desktop-nav { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.desktop-nav a { color: #4d5778; font-size: .9rem; font-weight: 600; transition: color .2s ease; }
.desktop-nav a:hover { color: var(--blue); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.auth-button, .auth-user { min-height: 42px; display: inline-flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line); border-radius: 14px; color: #3b4567; background: #fff; font-size: .72rem; font-weight: 800; box-shadow: 0 8px 24px rgba(35,49,108,.06); }
.auth-button:hover { border-color: #bfc5e8; color: var(--blue-dark); }
.google-mark { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; color: #4285f4; background: #f4f7ff; font-size: .82rem; font-weight: 800; }
.auth-user { max-width: 220px; padding-left: 6px; }
.auth-user img { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; object-fit: cover; }
.auth-user > span { max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.auth-admin-link { min-height: 34px; padding: 0 8px; display: inline-flex; align-items: center; border-left: 1px solid var(--line); color: var(--blue); font-size: .65rem; font-weight: 800; }
.auth-signout { min-height: 34px; padding: 0 8px; border: 0; border-left: 1px solid var(--line); color: var(--muted); background: transparent; font-size: .65rem; cursor: pointer; }
.language-picker {
  height: 42px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.language-picker svg { width: 17px; color: var(--muted); }
.language-picker select { appearance: none; border: 0; background: transparent; color: var(--ink); font-size: .78rem; font-weight: 800; cursor: pointer; outline: 0; }

.button {
  min-height: 52px;
  padding: 0 23px;
  border: 0;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 750;
  font-size: .92rem;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:not(:disabled):hover { transform: translateY(-2px); }
.button:focus-visible, .icon-button:focus-visible, .answer:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid rgba(74,73,255,.28); outline-offset: 3px; }
.button:disabled { opacity: .42; cursor: not-allowed; }
.button--compact { min-height: 42px; padding: 0 18px; border-radius: 14px; color: #fff; background: var(--ink); }
.button--primary { color: #fff; background: linear-gradient(135deg, #6661ff, #3e40ef); box-shadow: 0 15px 30px rgba(74,73,255,.25); }
.button--dark { color: #fff; background: var(--ink); }
.button--white { color: var(--blue-dark); background: #fff; box-shadow: 0 16px 32px rgba(19,24,65,.2); }
.button--ghost { color: var(--muted); background: transparent; border: 1px solid var(--line); }
.button svg { width: 18px; }

.hero {
  width: min(calc(100% - 40px), var(--max));
  min-height: 690px;
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  align-items: stretch;
  gap: 54px;
}

.hero-copy { padding: 76px 0 50px 4px; display: flex; flex-direction: column; align-items: flex-start; }
.eyebrow, .match-badge { display: inline-flex; align-items: center; gap: 9px; color: var(--blue-dark); font-size: .75rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.eyebrow-dot, .match-badge > span:first-child { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(39,168,117,.11); }
.hero h1 { max-width: 650px; margin: 24px 0 24px; font-size: clamp(3.4rem, 5.45vw, 5.3rem); line-height: .99; letter-spacing: -.065em; font-weight: 800; }
.hero-lede { max-width: 570px; margin: 0; color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.hero-actions { margin-top: 36px; display: flex; align-items: center; gap: 24px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: .86rem; font-weight: 750; }
.text-link:hover { color: var(--blue); }
.text-link--button { padding: 0; border: 0; background: transparent; cursor: pointer; }
.hero-actions .button { min-width: 218px; }

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 660px;
  border-radius: 44px 44px 12px 44px;
  background:
    linear-gradient(180deg, rgba(15,25,62,.03) 48%, rgba(11,22,61,.5) 100%),
    url("./assets/noma-hero.png") center / cover no-repeat,
    linear-gradient(145deg, #e9efff, #b9d8f8 52%, #6caee6);
  box-shadow: var(--shadow);
}
.hero-visual::after { content: ""; position: absolute; inset: auto 0 0; height: 34%; background: linear-gradient(transparent, rgba(8,17,53,.42)); pointer-events: none; }
.hero-pill--verified { position: absolute; z-index: 2; top: 28px; left: 28px; padding: 13px 15px; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.62); border-radius: 17px; color: var(--ink); background: rgba(255,255,255,.84); backdrop-filter: blur(15px); box-shadow: 0 10px 28px rgba(24,35,79,.12); }
.hero-pill--verified svg { width: 19px; color: var(--blue); }
.hero-pill--verified span { display: flex; flex-direction: column; gap: 2px; }
.hero-pill--verified strong { font-size: .77rem; }
.hero-pill--verified small { color: var(--muted); font-size: .66rem; }
.hero-scribble { position: absolute; z-index: 2; top: 42px; right: 12px; width: 185px; color: #4a61ef; transform: rotate(-6deg); }
.hero-scribble svg { width: 160px; height: 95px; stroke-width: 2; }
.hero-scribble span { position: absolute; right: 30px; bottom: 4px; font-family: Georgia, serif; font-style: italic; font-size: .88rem; }
.hero-income-card { position: absolute; z-index: 2; right: 25px; bottom: 116px; width: 198px; padding: 15px 17px; border-radius: 18px; color: #fff; background: rgba(35,39,112,.68); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.25); }
.hero-income-card span, .hero-income-card small { display: block; opacity: .76; font-size: .66rem; }
.hero-income-card strong { display: inline-block; margin: 4px 5px 0 0; font-size: 1.22rem; }
.hero-income-card small { display: inline; }
.hero-floating-card { position: absolute; z-index: 3; left: 24px; right: 24px; bottom: 22px; min-height: 76px; padding: 13px 16px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; border-radius: 20px; background: rgba(255,255,255,.92); backdrop-filter: blur(16px); box-shadow: 0 16px 36px rgba(12,22,62,.23); }
.mini-logo { width: 40px; height: 40px; display: grid; place-items: center; color: var(--blue); font-size: 1.55rem; font-weight: 800; background: var(--blue-soft); border-radius: 12px; }
.hero-floating-card > span:nth-child(2) { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hero-floating-card strong { font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-floating-card small { color: var(--muted); font-size: .67rem; }
.mini-rate { color: var(--blue); font-size: .91rem; font-weight: 800; }
.mini-rate span { color: var(--muted); font-size: .63rem; }

.avatar-stack { display: flex; padding-left: 6px; }
.avatar { width: 34px; height: 34px; margin-left: -6px; display: grid; place-items: center; border: 3px solid #fff; border-radius: 50%; color: #fff; font-size: .56rem; font-weight: 800; }
.avatar--one { background: #3f56ad; }
.avatar--two { background: #d59e76; }
.avatar--three { background: #5d9c91; }
.hero-copy .hero-quote { margin-top: auto; padding-top: 54px; display: flex; align-items: center; gap: 13px; }
.hero-quote p { max-width: 240px; margin: 0; color: var(--muted); font-size: .7rem; line-height: 1.45; }
.hero-quote strong { color: var(--ink); font-size: .9rem; }

.trust-strip { width: min(calc(100% - 40px), var(--max)); margin: 62px auto 0; padding: 28px 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; border: 1px solid var(--line); border-radius: 26px; background: rgba(255,255,255,.75); box-shadow: 0 14px 40px rgba(40,54,112,.06); }
.trust-strip article { min-width: 0; display: flex; align-items: center; gap: 13px; }
.icon-tile { flex: 0 0 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: var(--blue); background: var(--blue-soft); }
.icon-tile svg { width: 20px; }
.trust-strip article div { display: flex; flex-direction: column; gap: 4px; }
.trust-strip strong { font-size: .75rem; }
.trust-strip article span:last-child { color: var(--muted); font-size: .62rem; line-height: 1.35; }

.section { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding-top: 142px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.kicker { color: var(--blue); font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.kicker--light { color: #afb7ff; }
.section h2, .story h2, .final-cta h2 { margin: 14px 0 0; font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: 1.07; letter-spacing: -.05em; }
.section-heading h2 { max-width: 680px; }
.section-note { max-width: 660px; margin: 15px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.7; }

.project-grid { margin-top: 46px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.extra-opportunities { padding-top: 74px; }
.project-grid--extra .project-card { border-style: dashed; background: linear-gradient(180deg, #fff 0, #fafaff 100%); }
.project-grid--extra .company-logo { color: #7b5b1b; background: #fff4d8; }
.project-card { position: relative; padding: 25px; min-height: 300px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); box-shadow: 0 16px 50px rgba(35,49,108,.065); transition: transform .25s ease, box-shadow .25s ease; }
.project-card:hover { transform: translateY(-5px); box-shadow: 0 22px 50px rgba(35,49,108,.12); }
.project-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.company-logo { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; color: var(--blue); font-size: 1.45rem; font-weight: 800; background: var(--blue-soft); }
.verified-badge { padding: 7px 9px; border-radius: 999px; color: #198758; background: #eaf9f1; font-size: .61rem; font-weight: 800; }
.source-link { max-width: 65%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.source-link:hover { color: var(--blue-dark); background: var(--blue-soft); }
.project-card h3 { margin: 23px 0 6px; font-size: 1.06rem; letter-spacing: -.02em; }
.company-name { margin: 0; color: var(--muted); font-size: .7rem; }
.pay-line { margin-top: 22px; display: flex; align-items: baseline; gap: 7px; }
.pay-line strong { color: var(--blue); font-size: 1.28rem; }
.pay-line span { color: var(--muted); font-size: .68rem; }
.tag-row { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 7px 9px; border-radius: 999px; color: #59627e; background: #f3f5fa; font-size: .62rem; font-weight: 650; }
.card-link { margin-top: auto; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; color: var(--blue); font-size: .72rem; font-weight: 800; border: 0; border-top: 1px solid var(--line); background: transparent; cursor: pointer; }
.job-state { grid-column: 1 / -1; min-height: 220px; padding: 32px; display: grid; place-items: center; align-content: center; gap: 14px; text-align: center; border: 1px dashed #cdd3e9; border-radius: var(--radius-md); color: var(--muted); background: rgba(255,255,255,.75); }
.job-state p { margin: 0; line-height: 1.6; }
.loading-dot { width: 13px; height: 13px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(74,73,255,.35); animation: loading-pulse 1.5s infinite; }
@keyframes loading-pulse { 70% { box-shadow: 0 0 0 14px rgba(74,73,255,0); } 100% { box-shadow: 0 0 0 0 rgba(74,73,255,0); } }

.story { padding-top: 150px; padding-bottom: 150px; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 80px; }
.story-image { position: relative; min-height: 630px; border-radius: 10px 44px 44px 44px; background: linear-gradient(180deg, rgba(16,22,53,.02), rgba(16,22,53,.18)), url("./assets/noma-terrace.png") center / cover no-repeat, linear-gradient(145deg, #dbe9f8, #8cbde2); box-shadow: var(--shadow); }
.story-badge { position: absolute; right: -32px; top: 46px; width: 118px; height: 118px; display: grid; place-content: center; text-align: center; border-radius: 50%; color: #fff; background: var(--blue); box-shadow: 0 15px 40px rgba(74,73,255,.3); }
.story-badge span { font-size: 1.8rem; font-weight: 800; }
.story-badge small { font-size: .67rem; }
.story-copy { padding: 68px 0 20px; }
.story-copy h2 { max-width: 580px; }
.steps { margin: 45px 0; padding: 0; list-style: none; display: grid; gap: 29px; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start; }
.steps > li > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; color: var(--blue); background: var(--blue-soft); font-size: .68rem; font-weight: 800; }
.steps strong { display: block; margin: 2px 0 7px; font-size: .9rem; }
.steps p { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.55; }

.final-cta { position: relative; isolation: isolate; overflow: hidden; width: min(calc(100% - 40px), var(--max)); min-height: 500px; margin: 0 auto 60px; padding: 80px 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; border-radius: 40px; background: radial-gradient(circle at 10% 90%, rgba(122,154,255,.52), transparent 32%), radial-gradient(circle at 84% 10%, rgba(112,107,255,.55), transparent 27%), #111737; }
.final-cta h2 { max-width: 760px; }
.final-cta p { max-width: 530px; margin: 22px 0 30px; color: #c2c9e6; line-height: 1.65; font-size: .92rem; }
.final-orbit { position: absolute; z-index: -1; width: 730px; height: 730px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; }
.final-orbit::before, .final-orbit::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.final-orbit::before { inset: 90px; }
.final-orbit::after { inset: 190px; }

.site-footer { width: min(calc(100% - 40px), var(--max)); min-height: 110px; margin: 0 auto; display: flex; align-items: center; gap: 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: .71rem; }
.site-footer p { margin-right: auto; }

.view { display: none; }
.view--active { display: block; }
#quiz-view, #results-view { min-height: 100vh; background: #f7f9ff; }
.flow-shell, .results-shell { min-height: 100vh; }
.flow-topbar, .results-topbar { width: min(calc(100% - 40px), 1220px); height: 84px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.icon-button { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; }
.step-counter { color: var(--muted); font-size: .76rem; font-weight: 700; }
.progress-track { width: min(calc(100% - 40px), 1220px); height: 4px; margin: 0 auto; overflow: hidden; border-radius: 999px; background: #e6eafa; }
.progress-track span { display: block; width: 20%; height: 100%; border-radius: inherit; background: var(--blue); transition: width .35s ease; }
.quiz-layout { width: min(calc(100% - 40px), 1220px); min-height: calc(100vh - 88px); margin: 0 auto; padding: 28px 0 54px; display: grid; grid-template-columns: .82fr 1.18fr; gap: 22px; }
.quiz-aside { position: relative; overflow: hidden; min-height: 650px; border-radius: 32px; color: #fff; background: linear-gradient(180deg, rgba(13,23,62,.04), rgba(13,23,62,.84)), url("./assets/noma-terrace.png") center / cover no-repeat, #637aaf; }
.aside-content { position: absolute; inset: auto 38px 40px; }
.aside-content h2 { margin: 14px 0 28px; max-width: 420px; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.08; letter-spacing: -.04em; }
.aside-proof { display: flex; align-items: center; gap: 12px; color: #cbd2ef; font-size: .7rem; }
.aside-proof strong { color: #fff; font-size: 1.18rem; }
.quiz-card { min-height: 650px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 32px; background: #fff; box-shadow: 0 18px 60px rgba(36,50,111,.07); }
.quiz-card-inner { width: min(100% - 54px, 650px); padding: 45px 0; }
.question-label { color: var(--blue); font-size: .69rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.quiz-card h1 { margin: 16px 0 12px; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -.045em; }
.quiz-card h1 + p { margin: 0 0 30px; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.answers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.answer { min-height: 74px; padding: 14px 17px; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; border: 1px solid var(--line); border-radius: 16px; background: #fff; cursor: pointer; transition: border .2s ease, background .2s ease, transform .2s ease; }
.answer:hover { transform: translateY(-2px); border-color: #bbbfff; }
.answer--selected { color: var(--blue-dark); border-color: var(--blue); background: var(--blue-soft); box-shadow: inset 0 0 0 1px var(--blue); }
.answer-label { display: flex; flex-direction: column; gap: 4px; font-size: .82rem; font-weight: 750; }
.answer-label small { color: var(--muted); font-size: .65rem; font-weight: 500; }
.answer-check { width: 21px; height: 21px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid #cbd1e3; border-radius: 50%; }
.answer:not(.answer--selected) .answer-check svg { opacity: 0; }
.answer--selected .answer-check { color: #fff; background: var(--blue); border-color: var(--blue); }
.answer-check svg { width: 13px; }
.quiz-actions { margin-top: 34px; display: flex; justify-content: space-between; gap: 12px; }
.quiz-actions .button--primary { min-width: 180px; }

.results-shell { padding-bottom: 70px; }
.results-topbar { border-bottom: 1px solid var(--line); }
.results-nav-actions { display: flex; align-items: center; gap: 18px; }
.results-hero { width: min(calc(100% - 40px), 1120px); margin: 0 auto; padding: 80px 0 52px; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.results-hero h1 { max-width: 720px; margin: 17px 0 15px; font-size: clamp(2.6rem, 5vw, 4.8rem); line-height: .98; letter-spacing: -.06em; }
.results-hero p { max-width: 640px; margin: 0; color: var(--muted); line-height: 1.6; }
.match-score { flex: 0 0 auto; width: 160px; height: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #7772ff, #3f42ef); box-shadow: 0 18px 40px rgba(74,73,255,.26); }
.match-score strong { font-size: 2.25rem; }
.match-score span { max-width: 100px; margin-top: 4px; font-size: .62rem; line-height: 1.3; opacity: .8; }
.results-content { width: min(calc(100% - 40px), 1120px); margin: 0 auto; display: grid; grid-template-columns: 250px 1fr; gap: 38px; }
.profile-summary { align-self: start; padding: 24px; border: 1px solid var(--line); border-radius: 21px; background: #fff; }
.profile-chips { margin: 17px 0; display: flex; flex-wrap: wrap; gap: 7px; }
.profile-summary p { margin: 0; color: var(--muted); font-size: .68rem; line-height: 1.5; }
.results-list-heading { min-height: 48px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.results-list-heading h2 { margin: 0; font-size: 1.3rem; letter-spacing: -.02em; }
.results-list-heading span { color: var(--muted); font-size: .7rem; }
.results-list { margin-top: 16px; display: grid; gap: 12px; }
.result-card { padding: 20px 22px; display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; border: 1px solid var(--line); border-radius: 21px; background: #fff; box-shadow: 0 10px 35px rgba(36,50,111,.05); }
.result-main { min-width: 0; }
.result-topline { display: flex; align-items: center; gap: 9px; }
.result-topline h3 { margin: 0; font-size: 1rem; }
.match-label { padding: 5px 7px; border-radius: 999px; color: var(--green); background: #eaf9f1; font-size: .58rem; font-weight: 800; }
.result-main > p { margin: 4px 0 10px; color: var(--muted); font-size: .68rem; }
.result-meta { display: flex; flex-wrap: wrap; gap: 11px; color: #4f5874; font-size: .63rem; }
.result-meta span { display: inline-flex; align-items: center; gap: 5px; }
.result-meta svg { width: 14px; color: var(--blue); }
.result-pay { min-width: 132px; text-align: right; }
.result-pay strong { display: block; color: var(--blue); font-size: 1.05rem; }
.result-pay span { color: var(--muted); font-size: .6rem; }
.result-pay .button { width: 100%; min-height: 40px; margin-top: 12px; padding: 0 15px; border-radius: 12px; font-size: .7rem; }

.project-dialog { width: min(calc(100% - 32px), 620px); max-height: calc(100dvh - 32px); padding: 0; overflow: auto; overscroll-behavior: contain; border: 0; border-radius: 28px; color: var(--ink); box-shadow: 0 28px 100px rgba(16,22,53,.28); }
.project-dialog::backdrop { background: rgba(10,16,44,.55); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; z-index: 2; top: 18px; right: 18px; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 12px; background: #f2f4fa; cursor: pointer; }
.dialog-content-inner { padding: 38px; }
.dialog-company { display: flex; align-items: center; gap: 13px; }
.dialog-company > div { display: flex; flex-direction: column; gap: 3px; }
.dialog-company strong { font-size: .78rem; }
.dialog-company span { color: var(--green); font-size: .61rem; }
.dialog-content-inner h2 { margin: 28px 0 9px; font-size: 2rem; letter-spacing: -.04em; }
.dialog-subtitle { margin: 0; color: var(--muted); font-size: .82rem; }
.dialog-pay { margin: 25px 0; padding: 18px; border-radius: 18px; color: var(--blue); background: var(--blue-soft); }
.dialog-pay strong { font-size: 1.6rem; }
.dialog-pay span { margin-left: 5px; font-size: .72rem; }
.dialog-section { margin-top: 24px; }
.dialog-section h3 { margin: 0 0 11px; font-size: .82rem; }
.dialog-section p { margin: 0; color: #56607d; font-size: .76rem; line-height: 1.7; }
.dialog-section ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; color: #56607d; font-size: .72rem; }
.dialog-section li { display: flex; gap: 8px; }
.dialog-section li::before { content: "✓"; color: var(--blue); font-weight: 800; }
.dialog-content-inner > .button { width: 100%; margin-top: 28px; }

.toast { position: fixed; z-index: 50; left: 50%; bottom: 28px; padding: 14px 20px; color: #fff; background: var(--ink); border-radius: 14px; box-shadow: var(--shadow); font-size: .76rem; font-weight: 700; opacity: 0; pointer-events: none; transform: translate(-50%, 16px); transition: opacity .25s ease, transform .25s ease; }
.toast--visible { opacity: 1; transform: translate(-50%, 0); }

[dir="rtl"] body { font-family: "Manrope", system-ui, sans-serif; }
[dir="rtl"] .brand, [dir="rtl"] .mini-rate { direction: ltr; }
[dir="rtl"] .hero-copy, [dir="rtl"] .answer, [dir="rtl"] .result-pay { text-align: right; }
[dir="rtl"] .story-badge { right: auto; left: -32px; }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 24px; }
  .hero-copy { padding: 64px 0 20px; }
  .hero h1 { max-width: 760px; }
  .hero-copy .hero-quote { margin-top: 20px; }
  .hero-visual { min-height: 640px; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .project-card:last-child { grid-column: 1 / -1; }
  .story { grid-template-columns: 1fr; gap: 20px; }
  .story-image { min-height: 560px; }
  .story-copy { padding-top: 50px; }
  .quiz-layout { grid-template-columns: 1fr; }
  .quiz-aside { min-height: 300px; }
  .quiz-card { min-height: 610px; }
  .results-content { grid-template-columns: 1fr; }
  .profile-summary { display: flex; align-items: center; gap: 14px; }
  .profile-summary p { margin-left: auto; max-width: 260px; }
}

@media (max-width: 680px) {
  .app-install-banner { flex-wrap: wrap; gap: 8px; }
  .app-install-copy { flex: 1 1 220px; }
  .app-install-actions { margin-inline-start: auto; flex-wrap: wrap; }
  .page-glow { display: none; }
  .site-header { gap: 14px; }
  .language-picker select, input, textarea { font-size: 16px; }
  .language-picker, .icon-button, .dialog-close { min-width: 44px; min-height: 44px; }
  .text-link, .card-link, .result-pay .button { min-height: 44px; }
  .button { white-space: normal; padding-top: 12px; padding-bottom: 12px; }
  .hero-floating-card { grid-template-columns: auto minmax(0, 1fr); }
  .mini-rate { grid-column: 2; }
  .hero-floating-card strong { white-space: normal; }
  .hero-floating-card small { overflow-wrap: anywhere; }
  .hero-income-card { max-width: calc(100% - 32px); }
  .result-topline, .result-pay, .pay-line { flex-wrap: wrap; }
  .result-topline h3 { flex: 1 1 150px; }
  .results-nav-actions { min-width: 0; gap: 10px; }
  .results-nav-actions .icon-button { flex-shrink: 0; }
  .quiz-actions { flex-wrap: wrap; }
  .quiz-actions .button--primary { min-width: 0; flex: 1 1 140px; }
  .toast { max-width: calc(100% - 28px); width: max-content; bottom: calc(20px + env(safe-area-inset-bottom)); }
  .quiz-card { min-height: calc(100dvh - 160px); }
  .site-header { width: min(calc(100% - 28px), var(--max)); height: 76px; }
  .brand { font-size: 1.42rem; }
  .header-actions .js-start { display: none; }
  .header-actions { gap: 7px; }
  .auth-button { padding: 0 9px; }
  .auth-button > span:last-child { display: none; }
  .auth-user { max-width: 92px; }
  .auth-user > span, .auth-signout, .auth-admin-link { display: none; }
  .language-picker { height: 40px; }
  .hero, .trust-strip, .section, .final-cta, .site-footer { width: min(calc(100% - 28px), var(--max)); }
  .hero { margin-top: 0; }
  .hero-copy { padding-top: 48px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.4rem); }
  .hero-lede { font-size: 1rem; }
  .hero-actions { width: 100%; align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .text-link { justify-content: center; }
  .hero-visual { min-height: 560px; border-radius: 30px 30px 8px 30px; background-position: 58% center; }
  .hero-scribble { display: none; }
  .hero-income-card { right: 16px; bottom: 110px; }
  .hero-floating-card { left: 14px; right: 14px; bottom: 14px; }
  .trust-strip { margin-top: 32px; padding: 22px; grid-template-columns: 1fr; }
  .section { padding-top: 96px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .project-grid { margin-top: 28px; grid-template-columns: 1fr; }
  .project-card:last-child { grid-column: auto; }
  .story { padding-top: 96px; padding-bottom: 100px; }
  .story-image { min-height: 460px; }
  .story-badge { right: 16px; top: 18px; width: 92px; height: 92px; }
  .story-copy { padding-top: 38px; }
  .final-cta { min-height: 480px; padding: 58px 20px; border-radius: 28px; }
  .site-footer { min-height: 160px; padding: 30px 0; align-items: flex-start; flex-direction: column; gap: 13px; }
  .site-footer p { margin: 0; }
  .flow-topbar, .results-topbar, .progress-track, .quiz-layout { width: min(calc(100% - 24px), 1220px); }
  .flow-topbar .brand { display: none; }
  .quiz-layout { padding-top: 14px; }
  .quiz-aside { display: none; }
  .quiz-card { min-height: calc(100dvh - 160px); border-radius: 24px; }
  .quiz-card-inner { width: calc(100% - 36px); }
  .answers { grid-template-columns: 1fr; }
  .quiz-actions .button { padding: 0 17px; }
  .results-topbar { width: calc(100% - 28px); }
  .results-topbar .text-link { font-size: .69rem; }
  .results-hero, .results-content { width: calc(100% - 28px); }
  .results-hero { padding: 54px 0 38px; align-items: flex-start; flex-direction: column; }
  .match-score { width: 125px; height: 125px; align-self: flex-end; margin-top: -22px; }
  .profile-summary { display: block; }
  .profile-summary p { margin-left: 0; }
  .result-card { grid-template-columns: auto 1fr; align-items: start; }
  .result-pay { grid-column: 1 / -1; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; text-align: left; border-top: 1px solid var(--line); }
  .result-pay .button { width: auto; margin: 0; }
  .dialog-content-inner { padding: 32px 23px 24px; }
  [dir="rtl"] .story-badge { left: 16px; right: auto; }
}

@media (display-mode: standalone) {
  body { overscroll-behavior-y: contain; }
  .app-install-banner { background: #f7f9ff; }
}

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