:root {
  --ink: #132039;
  --text: #4c5d73;
  --muted: #78869a;
  --line: #e3e9f1;
  --surface: #f5f7fb;
  --surface-blue: #f1f4ff;
  --brand: #405bd8;
  --brand-dark: #2f47b4;
  --brand-soft: #ebefff;
  --success: #2f766b;
  --white: #ffffff;
}

* { box-sizing: border-box; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; transform: translateY(-150%); border-radius: 7px; padding: 9px 12px; background: #132039; color: #fff; font-size: 11px; font-weight: 700; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid rgba(64,91,216,.35); outline-offset: 3px; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fbfcfe;
  color: var(--ink);
  font-family: Manrope, "Avenir Next", Avenir, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.icon { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.site-header { height: 76px; border-bottom: 1px solid rgba(227,233,241,.9); background: rgba(251,252,254,.92); backdrop-filter: blur(14px); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 106px; height: auto; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-logout { margin: 0; }

.button {
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0 18px;
  background: var(--brand);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.01em;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(64,91,216,.16);
  transition: background .18s, transform .18s, box-shadow .18s;
}
.button:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(64,91,216,.22); }
.button:active { transform: none; }
.button.secondary { border-color: var(--line); background: rgba(255,255,255,.82); color: var(--ink); box-shadow: none; }
.button.secondary:hover { background: var(--white); border-color: #d5ddea; }
.button.ghost { background: transparent; color: var(--ink); box-shadow: none; }
.button.ghost:hover { background: var(--surface); }
.button.full { width: 100%; }
.button.small { min-height: 39px; padding: 0 14px; font-size: 12px; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid rgba(64,91,216,.2); outline-offset: 3px; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 690px;
  display: flex;
  align-items: center;
  padding: 82px 0 92px;
  background:
    radial-gradient(circle at 13% 18%, rgba(64,91,216,.08), transparent 31%),
    radial-gradient(circle at 89% 74%, rgba(89,124,214,.07), transparent 28%),
    #fbfcfe;
}
.hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 88px; }
.eyebrow { margin: 0 0 18px; color: var(--brand); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { max-width: 580px; margin: 0; font-size: clamp(50px, 5.6vw, 72px); line-height: 1.05; letter-spacing: -.06em; font-weight: 700; }
.hero h1 span { color: var(--brand); }
.hero-copy > p:not(.eyebrow) { max-width: 530px; margin: 26px 0 31px; color: var(--text); font-size: 17px; line-height: 1.72; letter-spacing: -.012em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.quiet-note { display: flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--muted); font-size: 11px; }
.quiet-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(47,118,107,.08); }

.hero-cv-visual { position: relative; display: block; width: min(500px,100%); margin-left: auto; padding: 0 20px 22px; }
.hero-cv-visual::before { content: ""; position: absolute; inset: 34px 0 0 44px; border-radius: 22px; background: rgba(64,91,216,.08); transform: rotate(3deg); }
.hero-cv-paper { position: relative; min-height: 590px; border: 1px solid rgba(218,225,235,.95); padding: 35px 39px 45px; background: #fff; box-shadow: 0 30px 80px rgba(28,42,72,.13); transform: rotate(-1.4deg); transition: transform .25s, box-shadow .25s; }
.hero-cv-visual:hover .hero-cv-paper { transform: rotate(-.4deg) translateY(-3px); box-shadow: 0 36px 90px rgba(28,42,72,.17); }
.hero-cv-site { color: var(--muted); font-size: 6px; letter-spacing: .04em; text-align: center; }
.hero-cv-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; margin-top: 18px; padding-bottom: 17px; border-bottom: 2px solid var(--ink); }
.hero-cv-head strong { display: block; font-size: 23px; letter-spacing: -.05em; }
.hero-cv-head span { display: block; margin-top: 5px; color: var(--brand); font-size: 9px; font-weight: 700; }
.hero-cv-head img { width: 63px; height: auto; }
.hero-cv-contact { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; padding: 13px 0 4px; }
.hero-cv-contact i, .hero-cv-section > span, .hero-cv-role strong, .hero-cv-role em, .hero-cv-footer i { height: 4px; border-radius: 99px; background: #dce2ea; }
.hero-cv-contact i:nth-child(2) { justify-self: center; width: 80%; }.hero-cv-contact i:last-child { justify-self: end; width: 76%; }
.hero-cv-section { margin-top: 21px; }
.hero-cv-section > b { display: block; margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid var(--line); color: var(--brand); font-size: 6px; letter-spacing: .14em; text-transform: uppercase; }
.hero-cv-section > span { display: block; width: 100%; margin-top: 6px; }.hero-cv-section > span.short { width: 68%; }
.hero-cv-pills { display: flex; flex-wrap: wrap; gap: 5px; }.hero-cv-pills i { width: 56px; height: 14px; border-radius: 99px; background: var(--brand-soft); }.hero-cv-pills i:nth-child(2) { width: 70px; }.hero-cv-pills i:nth-child(4) { width: 64px; }
.hero-cv-role { display: flex; justify-content: space-between; gap: 30px; margin: 10px 0 8px; }.hero-cv-role.second { margin-top: 15px; }.hero-cv-role strong { width: 42%; height: 6px; background: #9ea9ba; }.hero-cv-role em { width: 20%; height: 4px; }
.hero-cv-footer { position: absolute; left: 39px; right: 39px; bottom: 25px; display: flex; justify-content: space-between; padding-top: 8px; border-top: 1px solid var(--line); }.hero-cv-footer i { width: 22%; height: 3px; }
.hero-cv-caption { position: relative; display: flex; justify-content: center; gap: 9px; margin-top: 17px; color: var(--brand); font-size: 11px; font-weight: 700; }
.hero-cv-caption b { font-size: 14px; }

.wizard { border: 1px solid rgba(218,225,235,.95); border-radius: 18px; padding: 29px; background: rgba(255,255,255,.94); box-shadow: 0 30px 80px rgba(28,42,72,.11); }
.wizard-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.wizard-header h2 { margin: 0 0 6px; font-size: 19px; letter-spacing: -.035em; }
.wizard-header p { margin: 0; color: var(--muted); font-size: 11px; }
.step-count { flex: 0 0 auto; border-radius: 99px; padding: 5px 8px; background: var(--surface); color: var(--muted); font-size: 10px; font-weight: 600; }
.progress { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; margin-bottom: 29px; }
.progress span { height: 3px; border-radius: 99px; background: #edf0f5; }
.progress span.active { background: var(--brand); }
.wizard-step { min-height: 285px; display: flex; flex-direction: column; }
.wizard-step h3 { margin: 0 0 19px; font-size: 13px; letter-spacing: -.01em; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 10px; font-weight: 700; }
.field input, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 0 12px; background: #fafbfc; color: var(--ink); outline: 0; transition: border .18s, background .18s, box-shadow .18s; }
.field input { height: 44px; }
.field textarea { min-height: 88px; padding-top: 11px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #a0aaba; }
.field input:focus, .field textarea:focus { border-color: #aab8ea; background: var(--white); box-shadow: 0 0 0 3px rgba(64,91,216,.07); }
.wizard-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: auto; padding-top: 24px; }

.mini-preview { border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: var(--surface); }
.mini-preview-top { display: flex; justify-content: space-between; gap: 18px; }
.mini-preview h4 { margin: 0 0 5px; font-size: 18px; letter-spacing: -.03em; }
.mini-preview p { margin: 0; color: var(--text); font-size: 11px; }
.mini-uid { text-align: right; }
.mini-uid span { display: block; color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.mini-uid strong { display: block; margin-top: 5px; font-size: 11px; letter-spacing: .06em; }
.mini-skills { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.success-view { min-height: 285px; display: grid; place-items: center; text-align: center; }
.success-mark { width: 46px; height: 46px; display: grid; place-items: center; margin: 0 auto 15px; border-radius: 14px; background: #edf5f1; color: var(--success); }
.success-view h3 { margin: 0 0 8px; font-size: 18px; }
.success-view p { max-width: 300px; margin: 0 auto 20px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.issued-uid { width: fit-content; margin: 0 auto 19px; border-radius: 8px; padding: 8px 11px; background: var(--brand-soft); color: var(--brand-dark); font-size: 12px; font-weight: 800; letter-spacing: .07em; }

.trust-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { min-height: 120px; display: flex; flex-direction: column; justify-content: center; padding: 25px 34px; border-left: 1px solid var(--line); }
.trust-item:last-child { border-right: 1px solid var(--line); }
.trust-item strong { margin-bottom: 6px; font-size: 13px; letter-spacing: -.02em; }
.trust-item span { color: var(--muted); font-size: 11px; line-height: 1.55; }

.content-section { padding: 112px 0 118px; background: var(--white); }
.section-heading { max-width: 720px; }
.section-heading h2, .sample-copy h2, .questions-copy h2 { margin: 0; font-size: clamp(34px, 4vw, 50px); line-height: 1.12; letter-spacing: -.05em; font-weight: 700; }
.section-heading > p:last-child { max-width: 610px; margin: 22px 0 0; color: var(--text); font-size: 15px; line-height: 1.75; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 72px; }
.benefit { padding-top: 25px; border-top: 1px solid var(--line); }
.benefit-number { display: block; margin-bottom: 36px; color: var(--brand); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.benefit h3 { margin: 0 0 12px; font-size: 17px; letter-spacing: -.03em; }
.benefit p { margin: 0; color: var(--text); font-size: 13px; line-height: 1.72; }

.sample-section { padding: 112px 0; background: #14203a; color: var(--white); }
.sample-grid { display: grid; grid-template-columns: .78fr 1.22fr; align-items: center; gap: 96px; }
.sample-copy .eyebrow { color: #aebcff; }
.sample-copy p:not(.eyebrow) { max-width: 470px; margin: 24px 0; color: #b9c3d4; font-size: 14px; line-height: 1.78; }
.text-link { display: inline-flex; align-items: center; gap: 9px; padding-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.34); font-size: 12px; font-weight: 700; }
.text-link:hover { border-color: var(--white); }
.profile-preview { display: block; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 27px; background: var(--white); color: var(--ink); box-shadow: 0 32px 80px rgba(3,9,23,.28); transition: transform .2s, box-shadow .2s; }
.profile-preview:hover { transform: translateY(-3px); box-shadow: 0 38px 90px rgba(3,9,23,.34); }
.profile-preview-top { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.profile-preview-top strong { color: var(--brand); letter-spacing: .1em; }
.profile-preview-person { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 27px 0; }
.profile-preview-person h3 { margin: 0 0 6px; font-size: 24px; letter-spacing: -.04em; }
.profile-preview-person p { margin: 0; color: var(--text); font-size: 11px; }
.profile-monogram { width: 46px; height: 46px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: 11px; font-weight: 800; }
.profile-preview-row { display: grid; grid-template-columns: 105px 1fr; gap: 20px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 10px; }
.profile-preview-row span { color: var(--muted); }
.profile-preview-row strong { font-weight: 600; }
.profile-preview-foot { display: flex; justify-content: space-between; margin-top: 17px; border-radius: 8px; padding: 11px 13px; background: var(--surface-blue); color: var(--brand); font-size: 10px; font-weight: 700; }

.questions-section { padding: 110px 0; background: var(--surface); }
.questions-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 100px; }
.questions-list { border-top: 1px solid #dce3ed; }
.questions-list details { border-bottom: 1px solid #dce3ed; padding: 22px 0; }
.questions-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; list-style: none; cursor: pointer; font-size: 14px; font-weight: 700; letter-spacing: -.02em; }
.questions-list summary::-webkit-details-marker { display: none; }
.questions-list summary::after { content: "+"; width: 24px; color: var(--brand); font-size: 20px; font-weight: 400; text-align: center; }
.questions-list details[open] summary::after { content: "−"; }
.questions-list p { max-width: 650px; margin: 14px 44px 0 0; color: var(--text); font-size: 12px; line-height: 1.7; }

.site-footer { border-top: 1px solid var(--line); padding: 36px 0; background: var(--white); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-left { display: flex; align-items: center; gap: 18px; }
.footer-left p { margin: 0; color: var(--muted); font-size: 10px; }
.footer-links { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 10px; }
.footer-links a:hover { color: var(--ink); }

.modal-backdrop { position: fixed; z-index: 20; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(19,32,57,.5); backdrop-filter: blur(5px); }
.modal { width: min(420px, 100%); border-radius: 18px; padding: 27px; background: var(--white); box-shadow: 0 28px 80px rgba(18,24,34,.22); }
.modal-head { display: flex; justify-content: space-between; gap: 18px; }
.modal h2 { margin: 0 0 6px; font-size: 21px; letter-spacing: -.04em; }
.modal p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.close-button { width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: var(--white); cursor: pointer; }
.login-form { display: grid; gap: 15px; margin-top: 23px; }
.login-help { color: var(--muted); font-size: 10px; text-align: center; }
.toast { position: fixed; z-index: 30; left: 50%; bottom: 24px; transform: translate(-50%,16px); opacity: 0; pointer-events: none; border-radius: 9px; padding: 10px 14px; background: var(--ink); color: var(--white); font-size: 11px; font-weight: 700; transition: .2s; }
.toast.show { opacity: 1; transform: translate(-50%,0); }

@media (max-width: 900px) {
  .hero { min-height: auto; padding: 72px 0 78px; }
  .hero-grid { grid-template-columns: 1fr; gap: 58px; }
  .hero-copy { max-width: 680px; text-align: center; margin: 0 auto; }
  .hero-copy > p:not(.eyebrow) { margin-left: auto; margin-right: auto; }
  .hero-actions, .quiet-note { justify-content: center; }
  .wizard, .hero-cv-visual { width: min(580px,100%); margin: 0 auto; }
  .sample-grid { grid-template-columns: 1fr; gap: 55px; }
  .sample-copy { max-width: 650px; }
  .questions-grid { grid-template-columns: 1fr; gap: 52px; }
}

@media (max-width: 680px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { min-height: 98px; padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-right: 0; border-bottom: 0; }
  .benefit-grid { grid-template-columns: 1fr; gap: 38px; margin-top: 55px; }
  .benefit-number { margin-bottom: 21px; }
  .content-section, .sample-section, .questions-section { padding: 82px 0; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 30px); }
  .site-header { height: 68px; }
  .brand img { width: 94px; }
  .nav .button { min-height: 38px; padding: 0 12px; font-size: 11px; }
  .nav .button.ghost { display: none; }
  .hero { padding: 54px 0 63px; }
  .hero h1 { font-size: 43px; }
  .hero-copy > p:not(.eyebrow) { font-size: 15px; }
  .wizard { padding: 21px; border-radius: 15px; }
  .hero-cv-visual { padding: 0 8px 16px; }
  .hero-cv-paper { min-height: 500px; padding: 28px 25px 38px; }
  .hero-cv-footer { left: 25px; right: 25px; }
  .wizard-step { min-height: 340px; }
  .field-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .section-heading h2, .sample-copy h2, .questions-copy h2 { font-size: 34px; }
  .profile-preview { padding: 20px; }
  .profile-preview-person { align-items: flex-start; }
  .profile-preview-person p { max-width: 190px; line-height: 1.5; }
  .profile-preview-row { grid-template-columns: 1fr; gap: 6px; }
  .footer-inner, .footer-left { align-items: flex-start; flex-direction: column; }
  .footer-links { width: 100%; flex-wrap: wrap; gap: 15px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
