@charset "UTF-8";
/* Nidaa Jabbour — career counseling landing page
   Look: royal blue + near-black ink + white, soft grey panels, pill labels,
   rounded cards (one dark card per grid for contrast). Inter throughout. */

:root {
  --blue: #2457F5;
  --blue-deep: #1A3FC4;
  --blue-soft: #E9EFFF;
  --blue-glow: rgba(36, 87, 245, .14);
  --ink: #0B1220;
  --ink-2: #1A2234;
  --paper: #FFFFFF;
  --bone: #F5F7FB;
  --muted: #5B6474;
  --line: rgba(11, 18, 32, .11);
  --line-light: rgba(255, 255, 255, .16);
  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --r: 18px;
  --gutter: clamp(18px, 4vw, 40px);
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, blockquote, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
h1, h2 { font-weight: 600; letter-spacing: -.03em; line-height: 1.05; text-wrap: balance; }
h1 b, h2 b { font-weight: 800; color: var(--blue); }
h1 { font-size: clamp(38px, 5.4vw, 66px); }
h2 { font-size: clamp(30px, 3.9vw, 50px); max-width: 20ch; }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.lede { font-size: clamp(17px, 1.4vw, 19.5px); color: var(--muted); max-width: 56ch; margin-top: 20px; text-wrap: pretty; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border-radius: 999px;
  background: var(--blue-soft); color: var(--blue-deep);
  font-size: 12.5px; font-weight: 600; letter-spacing: .02em;
  margin-bottom: 18px;
}
.pill-grey { background: var(--bone); color: var(--muted); border: 1px solid var(--line); }
.pill-light { background: rgba(255, 255, 255, .14); color: #fff; }

.sec-head { max-width: 760px; margin-bottom: clamp(30px, 4vw, 48px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  border: 0; border-radius: 999px;
  font: 600 15px/1 var(--sans);
  letter-spacing: .005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -12px rgba(36, 87, 245, .8); }
.btn-blue:hover { background: var(--blue-deep); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); }
.btn-white { background: #fff; color: var(--blue-deep); }
.btn-white:hover { background: var(--blue-soft); }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-lg { padding: 18px 32px; font-size: 16.5px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 0 var(--gutter);
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--blue); color: #fff;
  display: grid; place-items: center;
  font-size: 14px; font-weight: 800; letter-spacing: -.02em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 16px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.brand-by { font-size: 11.5px; color: var(--muted); font-weight: 500; margin-top: 3px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--bone);
  padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 7vw, 96px);
}
.hero::before {
  content: ""; position: absolute; inset: auto -10% -40% -10%; height: 70%;
  background: radial-gradient(60% 60% at 50% 100%, var(--blue-glow), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.hero-copy { padding-top: clamp(0px, 2.4vw, 34px); }
.hero-sub { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; max-width: 50ch; margin-top: 22px; color: var(--muted); text-wrap: pretty; }
.hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.hero-cta-note { font-size: 13.5px; color: var(--muted); font-weight: 500; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong { font-size: clamp(20px, 2vw, 26px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.hero-facts span { font-size: 12.5px; color: var(--muted); font-weight: 500; margin-top: 8px; }

/* ---------- application card ---------- */
.apply {
  background: var(--paper);
  border-radius: 22px;
  box-shadow: 0 30px 60px -28px rgba(11, 18, 32, .45), 0 0 0 1px rgba(11, 18, 32, .06);
  overflow: hidden;
  scroll-margin-top: calc(var(--nav-h) + 20px);
}
.apply-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px;
  background: var(--ink); color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.apply-head span { display: inline-flex; align-items: center; gap: 9px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(36, 87, 245, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(36, 87, 245, 0); } 100% { box-shadow: 0 0 0 0 rgba(36, 87, 245, 0); } }
.apply-body { padding: 22px 22px 24px; min-height: 438px; display: flex; flex-direction: column; }

.stepbar { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.stepbar-label { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; color: var(--muted); white-space: nowrap; }
.stepbar-track { flex: 1; height: 4px; border-radius: 4px; background: var(--bone); overflow: hidden; }
.stepbar-fill { display: block; height: 100%; background: var(--blue); border-radius: 4px; transition: width .35s ease; }
.back {
  border: 0; background: none; padding: 4px 0; cursor: pointer;
  font: 600 11.5px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.back:hover { color: var(--ink); }

.q-title { font-size: clamp(21px, 2vw, 26px); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; text-wrap: balance; }
.q-sub { font-size: 14.5px; color: var(--muted); margin-top: 8px; line-height: 1.45; }
.fields { display: flex; flex-direction: column; gap: 9px; margin-top: 18px; }
.field { position: relative; }
.field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.input {
  width: 100%; padding: 14px 15px;
  border: 1.5px solid var(--line); border-radius: 12px;
  font: 500 16px var(--sans); color: var(--ink); background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
  -webkit-appearance: none; appearance: none;
}
.input::placeholder { color: #98A0AE; }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(36, 87, 245, .16); }
.input.bad { border-color: #D9342B; }
.err { display: none; font-size: 13.5px; font-weight: 600; color: #D9342B; margin-top: 2px; }
.err.on { display: block; }
.apply .btn-block { margin-top: 8px; padding: 16px 20px; border-radius: 12px; font-size: 16px; }
.fine { font-size: 12.5px; color: var(--muted); margin-top: 12px; text-align: center; }

.opts { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.opt {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 13px 14px;
  border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink);
  font: 600 15.5px/1.25 var(--sans); text-align: left;
  cursor: pointer;
  transition: border-color .12s ease, background-color .12s ease, transform .12s ease;
}
.opt:hover { border-color: var(--ink); }
.opt:active { transform: scale(.99); }
.opt-key {
  flex: none; width: 24px; height: 24px; border-radius: 7px;
  display: grid; place-items: center;
  font: 600 11px var(--sans); color: var(--muted);
  background: var(--bone);
}
.opt.sel { border-color: var(--blue); background: var(--blue-soft); }
.opt.sel .opt-key { background: var(--blue); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chips .opt { width: auto; padding: 10px 14px; font-size: 14.5px; }
.q-block + .q-block { margin-top: 20px; }
.q-mini { font-size: 15px; font-weight: 700; }
.spacer { flex: 1; min-height: 10px; }

.done { text-align: left; display: flex; flex-direction: column; height: 100%; flex: 1; }
.done-mark { width: 54px; height: 54px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; margin-bottom: 18px; font-size: 22px; font-weight: 800; }
.done-list { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.done-list li { display: flex; gap: 12px; font-size: 15px; line-height: 1.4; }
.done-list li span { font-size: 11.5px; font-weight: 700; color: var(--blue); letter-spacing: .06em; padding-top: 3px; flex: none; }
.done .btn { margin-top: 22px; }

/* ---------- sections ---------- */
.section { padding: clamp(60px, 8vw, 112px) 0; }

/* gap */
.gap-head { max-width: 820px; }
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: clamp(32px, 4vw, 52px); }
.versus-col { padding: clamp(24px, 3vw, 36px); border-radius: var(--r); }
.versus-bad { background: var(--bone); border: 1px solid var(--line); }
.versus-good { background: var(--ink); color: #fff; }
.versus-tag { display: flex; flex-direction: column; gap: 3px; font-size: 19px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 20px; }
.versus-tag small { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.versus-good .versus-tag small { color: rgba(255, 255, 255, .6); }
.versus-col ul { display: flex; flex-direction: column; gap: 12px; }
.versus-col li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.45; }
.versus-col li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; }
.versus-bad li::before { background: rgba(217, 52, 43, .14); box-shadow: inset 0 0 0 1.5px #D9342B; }
.versus-bad li::after { content: ""; position: absolute; left: 5px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: #D9342B; }
.versus-good li::before { background: var(--blue); }
.versus-good li::after { content: ""; position: absolute; left: 4.5px; top: 10px; width: 5px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.versus-foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 700; font-size: 15.5px; }
.versus-good .versus-foot { border-top-color: var(--line-light); color: #fff; }

/* services */
.services { background: var(--bone); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  position: relative; padding: 28px 26px 30px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  display: flex; flex-direction: column; gap: 10px; min-height: 240px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgba(11, 18, 32, .45); }
.card-n { font-size: 12.5px; font-weight: 700; color: var(--blue); letter-spacing: .08em; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.card-blue { background: var(--blue); border-color: var(--blue); color: #fff; }
.card-blue .card-n { color: rgba(255, 255, 255, .7); }
.card-blue p { color: rgba(255, 255, 255, .86); }
.card-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.card-dark p { color: rgba(255, 255, 255, .78); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.steps li { position: relative; padding: 26px 24px 28px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.step-n {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px;
  background: var(--blue-soft); color: var(--blue-deep); font-weight: 800; font-size: 15px;
  margin-bottom: 18px;
}
.steps li:nth-child(2) .step-n { background: var(--blue); color: #fff; }
.steps p { color: var(--muted); font-size: 15.5px; line-height: 1.5; margin-top: 8px; }

/* about */
.about { background: var(--bone); }
.about-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.portrait {
  position: relative; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden;
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 60%, var(--ink) 130%);
  display: grid; place-items: center; max-width: 440px; width: 100%;
  box-shadow: 0 30px 60px -30px rgba(11, 18, 32, .55);
}
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.portrait-fallback { font-size: clamp(64px, 10vw, 120px); font-weight: 800; color: rgba(255, 255, 255, .22); letter-spacing: -.05em; }
.portrait figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2;
  padding: 14px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px);
  display: flex; flex-direction: column; gap: 2px; color: var(--ink);
}
.portrait figcaption b { font-size: 15px; }
.portrait figcaption span { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.quote { margin-top: 28px; padding: 22px 26px; border-left: 3px solid var(--blue); background: #fff; border-radius: 0 var(--r) var(--r) 0; }
.quote p { font-size: 17.5px; font-weight: 600; line-height: 1.5; letter-spacing: -.01em; }
.quote cite { display: block; margin-top: 10px; font-style: normal; font-size: 13.5px; color: var(--muted); font-weight: 500; }
.about-facts { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 30px; }
.about-facts li { display: flex; flex-direction: column; }
.about-facts strong { font-size: 24px; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--blue); }
.about-facts span { font-size: 12.5px; color: var(--muted); font-weight: 500; margin-top: 8px; }

/* fit */
.fit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fit-item { padding: 26px 24px 28px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.fit-icon {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue-soft); color: var(--blue-deep); font-weight: 800; font-size: 16px; margin-bottom: 16px;
}
.fit-item p { color: var(--muted); font-size: 15.5px; line-height: 1.5; margin-top: 8px; }
.fit-cta { background: var(--blue-soft); border-color: transparent; display: flex; flex-direction: column; }
.fit-cta .btn { margin-top: auto; align-self: flex-start; padding-top: 14px; padding-bottom: 14px; }
.fit-cta p { margin-bottom: 20px; }

/* voices */
.voices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.voice { padding: 28px 26px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.voice blockquote { font-size: 16.5px; line-height: 1.5; font-weight: 500; }
.voice blockquote::before { content: "“"; display: block; font-size: 44px; line-height: .6; color: var(--blue); margin-bottom: 14px; font-weight: 800; }
.voice figcaption { margin-top: 18px; display: flex; flex-direction: column; gap: 2px; }
.voice figcaption b { font-size: 14.5px; }
.voice figcaption span { font-size: 13px; color: var(--muted); }

/* faq */
.faq { background: var(--bone); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative;
  font-size: 17px; font-weight: 700; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px;
  border: solid var(--blue); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); font-size: 15.5px; line-height: 1.55; }

/* final */
.final { background: var(--blue); color: #fff; padding: clamp(64px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.final::before {
  content: ""; position: absolute; inset: -40% -10% auto -10%; height: 90%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 255, 255, .14), transparent 70%);
  pointer-events: none;
}
.final-inner { position: relative; text-align: center; max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.final h2 { max-width: none; }
.final h2 b { color: #fff; }
.final p { font-size: 18px; margin: 20px 0 30px; color: rgba(255, 255, 255, .86); max-width: 52ch; text-wrap: pretty; }
.final-meta { font-size: 13px !important; margin: 14px 0 0 !important; color: rgba(255, 255, 255, .7) !important; }

/* footer */
.foot { background: #fff; padding: clamp(40px, 6vw, 64px) 0 28px; border-top: 1px solid var(--line); }
.foot-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.foot-tag { font-size: 14px; color: var(--muted); font-weight: 500; margin-bottom: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.foot-links a { font-size: 14.5px; font-weight: 600; text-decoration: none; }
.foot-links a:hover { color: var(--blue); }
.foot-word {
  margin-top: clamp(28px, 5vw, 56px);
  font-size: clamp(44px, 10.5vw, 150px); font-weight: 800; letter-spacing: -.055em; line-height: .95;
  color: var(--blue); white-space: nowrap; overflow: hidden;
}
.foot-legal { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }

/* sticky mobile CTA */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 60; display: none;
  align-items: center; justify-content: space-between;
  padding: 16px 20px; border-radius: 14px;
  background: var(--blue); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 16px;
  box-shadow: 0 18px 40px -14px rgba(36, 87, 245, .7);
  transform: translateY(140%); transition: transform .3s ease;
}
.sticky-cta small { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.sticky-cta.on { transform: none; }

/* reveal */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .cards, .fit-grid, .voices-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}
@media (max-width: 880px) {
  .hero-grid, .about-grid, .faq-grid, .test-grid { grid-template-columns: 1fr; }
  .profile { justify-self: start; }
  .versus { grid-template-columns: 1fr; }
  .portrait { max-width: 380px; }
  .sticky-cta { display: flex; }
  .foot { padding-bottom: 110px; }
  /* Mobile traffic should hit the form fast: headline, form, then proof. */
  .hero-grid { gap: 0; }
  .hero-copy { display: contents; }
  .hero-copy > * { order: 1; }
  .hero-copy > .hero-cta { display: none; }
  .apply { order: 2; margin-top: 26px; }
  .hero-copy > .hero-facts { order: 3; margin-top: 32px; }
  .hero-sub { margin-top: 16px; }
  .apply-body { min-height: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --nav-h: 60px; }
  .brand-by { display: none; }
  .cards, .fit-grid, .voices-grid, .steps { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .hero-facts { gap: 16px 22px; }
  .apply { border-radius: 18px; }
  .apply-body { padding: 20px 18px 22px; }
  .faq summary { font-size: 16px; }
  .foot-links { flex-direction: column; }
  .foot-grid .btn { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .dot { animation: none; }
  .card:hover { transform: none; }
}

/* ---------- personality test ---------- */
.test-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.test-points { display: flex; flex-direction: column; gap: 18px; margin-top: 30px; }
.test-points li { display: flex; gap: 16px; align-items: flex-start; }
.test-ico {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px;
  background: var(--blue-soft); color: var(--blue-deep); font-weight: 800; font-size: 14px; margin-top: 2px;
}
.test-points h3 { font-size: 17.5px; }
.test-points p { color: var(--muted); font-size: 15.5px; line-height: 1.5; margin-top: 4px; }
.test-copy .btn { margin-top: 30px; }

.profile {
  background: #fff; border-radius: 22px; overflow: hidden; width: 100%; max-width: 460px; justify-self: end;
  box-shadow: 0 30px 60px -28px rgba(11, 18, 32, .45), 0 0 0 1px rgba(11, 18, 32, .06);
}
.profile-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px; background: var(--ink); color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.profile-head span { display: inline-flex; align-items: center; gap: 9px; }
.profile-body { padding: 22px 22px 20px; }
.profile-name { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.profile-sub { font-size: 13px; color: var(--muted); margin-top: 4px; }
.traits { display: flex; flex-direction: column; gap: 11px; margin-top: 20px; }
.traits li { display: grid; grid-template-columns: minmax(110px, 150px) 1fr 30px; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 600; }
.traits i { display: block; height: 8px; border-radius: 8px; background: var(--bone); overflow: hidden; position: relative; }
.traits i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--blue); border-radius: 8px; transform-origin: left; transition: transform 1s ease; }
.traits b { text-align: right; color: var(--blue-deep); font-size: 13px; }
.profile-label { margin-top: 22px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.chips-static { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chips-static span { padding: 8px 12px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-deep); font-size: 13.5px; font-weight: 600; }
.profile-foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.rv .traits i::after { transform: scaleX(0); }
.rv.in .traits i::after { transform: scaleX(1); }

@media (max-width: 880px) {
  .test-grid { grid-template-columns: 1fr; }
  .profile { justify-self: start; max-width: 460px; }
  .test-copy .btn { display: none; }
}
