:root {
  --ink: #111827;
  --muted: #5d6675;
  --line: #dce2ea;
  --paper: #ffffff;
  --surface: #f3f5f8;
  --accent: #2457f5;
  --accent-dark: #153bc8;
  --accent-soft: #e9efff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--surface); font-family: "Manrope", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.container { width: min(1380px, calc(100% - clamp(24px, 3vw, 44px))); margin: 0 auto; }
.eyebrow { margin: 0 0 18px; color: var(--accent); font-size: 13px; line-height: 1; font-weight: 800; letter-spacing: .18em; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { text-wrap: pretty; }

.hero { position: relative; min-height: min(970px, 100svh); overflow: hidden; background: var(--paper); border-bottom: 1px solid var(--line); }
.hero-grid { position: absolute; inset: 0 0 auto 50%; height: 100%; background-image: linear-gradient(rgba(36,87,245,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(36,87,245,.055) 1px, transparent 1px); background-size: 38px 38px; mask-image: linear-gradient(to left, #000 28%, transparent 95%); }
.hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(580px, 1.12fr) minmax(390px, .88fr); gap: clamp(32px, 4vw, 72px); align-items: center; padding: clamp(54px, 6vw, 88px) 0 clamp(58px, 6vw, 82px); }
.hero-copy { max-width: 790px; }
h1 { max-width: 820px; font-size: clamp(48px, 4.65vw, 74px); line-height: .98; letter-spacing: -.058em; font-weight: 800; }
h1 span, h2 span { color: var(--accent); }
.hero-lead { max-width: 750px; margin: clamp(22px, 2vw, 30px) 0 clamp(24px, 2.2vw, 32px); color: #3d4654; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.56; }
.hero-points { display: grid; gap: 9px; }
.hero-points article { display: grid; min-height: 78px; grid-template-columns: 48px 1fr; gap: 17px; align-items: center; padding: 13px 18px 13px 13px; border: 1px solid #dce2ec; border-radius: 12px; background: rgba(255,255,255,.9); box-shadow: 0 5px 20px rgba(27,42,78,.035); }
.hero-points article:nth-child(even) { background: #f8faff; }
.point-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 10px; color: var(--accent); background: var(--accent-soft); }
.point-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hero-points p { margin: 0; font-size: clamp(13px, .95vw, 15px); line-height: 1.42; font-weight: 600; }
.stream { margin: 26px 0 18px; font-size: 15px; line-height: 1.5; }
.stream strong { color: var(--accent); font-weight: 800; }
.hero-actions { display: flex; gap: 12px; }
.hero-actions .button { width: min(100%, 250px); }
.button { display: inline-flex; min-height: 58px; align-items: center; justify-content: center; padding: 0 18px; border: 1px solid transparent; border-radius: 6px; font-size: 15px; font-weight: 800; white-space: nowrap; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--accent); box-shadow: 0 12px 28px rgba(36,87,245,.22); }
.button-primary:hover { background: var(--accent-dark); box-shadow: 0 16px 32px rgba(36,87,245,.28); }
.button-secondary { border-color: #cbd3df; background: var(--paper); }
.glossary-note { max-width: 630px; margin: 17px 0 0; color: #79818d; font-size: 11px; line-height: 1.5; }

.hero-visual { position: relative; min-height: clamp(540px, 45vw, 650px); }
.visual-orbit { position: absolute; border: 1px solid rgba(36,87,245,.17); border-radius: 50%; }
.orbit-one { width: 520px; height: 520px; top: 42px; left: 4px; }
.orbit-two { width: 360px; height: 360px; top: 120px; left: 84px; border-style: dashed; transform: rotate(-18deg); }
.career-sheet { position: absolute; z-index: 2; width: min(430px, 88%); min-height: 526px; top: 56px; left: 6%; overflow: hidden; border: 1px solid #d7dde7; border-radius: 18px; background: rgba(255,255,255,.94); box-shadow: 0 34px 80px rgba(27,42,78,.15); transform: rotate(2.5deg); backdrop-filter: blur(14px); }
.sheet-top { display: flex; height: 52px; align-items: center; gap: 7px; padding: 0 17px; border-bottom: 1px solid var(--line); }
.sheet-top span { width: 7px; height: 7px; border-radius: 50%; background: #cfd5dd; }
.sheet-top i { width: 92px; height: 8px; margin-left: auto; border-radius: 8px; background: #e8ebef; }
.sheet-profile { display: grid; grid-template-columns: 72px 1fr 26px; gap: 17px; align-items: center; padding: 28px 28px 25px; border-bottom: 1px solid var(--line); }
.profile-mark { display: grid; width: 72px; height: 72px; place-items: center; border-radius: 50%; color: #fff; background: var(--accent); font-size: 23px; font-weight: 800; letter-spacing: -.05em; }
.profile-lines b, .profile-lines span { display: block; height: 8px; margin: 8px 0; border-radius: 8px; background: #e4e8ee; }
.profile-lines b { width: 80%; height: 12px; background: #202b3c; }
.profile-lines span:last-child { width: 58%; }
.profile-state { width: 16px; height: 16px; border: 4px solid #fff; border-radius: 50%; background: #24c47e; box-shadow: 0 0 0 1px #cfd6df; }
.sheet-chart { position: relative; display: flex; height: 244px; align-items: flex-end; gap: 18px; margin: 24px 28px 0; padding: 26px 22px 0; overflow: hidden; border-radius: 10px; background: #f5f7fa; }
.sheet-chart::before { content: ""; position: absolute; inset: 25% 0 auto; height: 1px; background: #dfe4eb; box-shadow: 0 54px #dfe4eb, 0 108px #dfe4eb; }
.sheet-chart span { position: relative; z-index: 1; width: 34px; height: var(--h); border-radius: 4px 4px 0 0; background: #d9e2ff; }
.sheet-chart span:nth-child(4), .sheet-chart span:nth-child(5) { background: var(--accent); }
.sheet-chart svg { position: absolute; z-index: 2; inset: 20px 12px 22px; width: calc(100% - 24px); height: calc(100% - 42px); overflow: visible; }
.sheet-chart path { fill: none; stroke: #111827; stroke-width: 3; stroke-linecap: round; }
.sheet-footer { display: flex; gap: 9px; padding: 23px 28px 28px; }
.sheet-footer span { padding: 8px 11px; border-radius: 5px; color: #374151; background: #eef1f5; font-size: 11px; font-weight: 800; }
.sheet-footer span:nth-child(2) { color: #d9294f; background: #ffeaf0; }
.sheet-footer span:last-child { color: var(--accent); background: var(--accent-soft); }
.mini-card { position: absolute; z-index: 3; display: grid; width: 185px; height: 88px; grid-template-columns: 36px 1fr; gap: 7px 12px; align-content: center; padding: 17px; border: 1px solid #d7dde7; border-radius: 12px; background: rgba(255,255,255,.96); box-shadow: 0 18px 45px rgba(27,42,78,.15); }
.mini-card i, .check { grid-row: 1 / 3; width: 36px; height: 36px; border-radius: 9px; background: var(--accent-soft); }
.mini-card span { height: 7px; border-radius: 7px; background: #dfe4ea; }
.mini-card span:last-child { width: 65%; }
.mini-card-top { top: 22px; right: -12px; transform: rotate(-4deg); }
.mini-card-bottom { bottom: 30px; left: 0; transform: rotate(-3deg); }
.check { display: grid; place-items: center; color: #fff; background: #24c47e; font-weight: 800; }

.ratings { padding: 28px 0; background: #eef1f5; border-bottom: 1px solid var(--line); }
.rating-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1vw, 14px); }
.rating-card { display: grid; min-height: 98px; grid-template-columns: minmax(78px, 108px) 1fr; gap: 18px; align-items: center; padding: 18px 20px; border: 1px solid #dce2ea; border-radius: 10px; background: #fff; }
.rating-card img { width: 100%; max-height: 34px; object-fit: contain; object-position: left center; }
.rating-card strong, .rating-card span { display: block; }
.rating-card strong { font-size: 13px; line-height: 1.35; }
.rating-card span { margin-top: 4px; color: #727b88; font-size: 11px; }

.profession { padding: 124px 0 138px; background: var(--paper); }
.profession-heading { display: grid; grid-template-columns: .78fr 1.22fr; column-gap: 90px; align-items: start; }
.profession-heading .eyebrow { grid-column: 1 / -1; }
h2 { max-width: 500px; font-size: clamp(44px, 5vw, 68px); line-height: 1; letter-spacing: -.052em; font-weight: 800; }
.profession-heading > p:last-child { max-width: 650px; margin: 4px 0 0; color: #414a58; font-size: 19px; line-height: 1.65; }
.process { display: grid; grid-template-columns: 1fr 48px 1fr 48px 1fr 48px 1fr; align-items: center; margin-top: 76px; }
.process article { position: relative; min-height: 178px; padding: 24px; border: 1px solid #d7dde7; background: #f8f9fb; }
.process article h3 { position: absolute; right: 22px; bottom: 22px; left: 22px; font-size: 22px; line-height: 1.12; letter-spacing: -.035em; }
.process .process-result { color: #fff; border-color: var(--accent); background: var(--accent); box-shadow: 0 18px 42px rgba(36,87,245,.2); }
.process-arrow { position: relative; height: 1px; background: #aeb7c5; }
.process-arrow::after { content: ""; position: absolute; right: 0; top: -4px; width: 7px; height: 7px; border-top: 1px solid #aeb7c5; border-right: 1px solid #aeb7c5; transform: rotate(45deg); }
.profession-button { margin-top: 42px; }

@media (max-width: 1100px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-copy { max-width: none; }
  .hero-visual { width: 560px; min-height: 610px; margin: 0 auto; }
  .rating-row { grid-template-columns: repeat(2, 1fr); }
  .profession-heading { grid-template-columns: 1fr; gap: 28px; }
  .process { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .process-arrow { display: none; }
}

@media (min-width: 1101px) and (max-height: 950px) {
  .hero-layout { padding-top: clamp(28px, 4.2vh, 42px); padding-bottom: clamp(30px, 4.5vh, 46px); }
  .eyebrow { margin-bottom: 12px; }
  h1 { font-size: clamp(48px, 4.2vw, 66px); }
  .hero-lead { margin-top: 17px; margin-bottom: 18px; font-size: clamp(14px, 1.05vw, 16px); line-height: 1.48; }
  .hero-points { gap: 6px; }
  .hero-points article { min-height: 62px; grid-template-columns: 42px 1fr; gap: 14px; padding: 8px 15px 8px 9px; border-radius: 10px; }
  .point-icon { width: 42px; height: 42px; border-radius: 8px; }
  .point-icon svg { width: 24px; height: 24px; }
  .hero-points p { font-size: clamp(12px, .88vw, 14px); }
  .stream { margin-top: 15px; margin-bottom: 12px; font-size: 14px; }
  .button { min-height: 52px; }
  .glossary-note { margin-top: 10px; }
  .hero-visual { min-height: 560px; transform: translateY(-8px) scale(.94); transform-origin: center; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 20px, 1380px); }
  .hero { min-height: auto; }
  .hero-layout { gap: 48px; padding: 56px 0 60px; }
  h1 { font-size: clamp(39px, 11vw, 48px); }
  .hero-lead { margin: 25px 0 28px; font-size: 16px; }
  .hero-points article { min-height: 0; padding: 12px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button, .button { width: 100%; }
  .hero-visual { width: 100%; min-height: 470px; }
  .orbit-one { width: 380px; height: 380px; left: -28px; }
  .orbit-two { width: 260px; height: 260px; left: 30px; }
  .career-sheet { width: calc(100% - 28px); min-height: 410px; top: 44px; left: 12px; }
  .sheet-chart { height: 165px; }
  .mini-card { width: 150px; height: 76px; padding: 12px; }
  .mini-card-top { right: -8px; }
  .mini-card-bottom { bottom: 2px; }
  .rating-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .rating-card { min-width: 260px; scroll-snap-align: start; }
  .profession { padding: 86px 0 94px; }
  h2 { font-size: clamp(38px, 11vw, 48px); }
  .profession-heading > p:last-child { font-size: 16px; }
  .process { grid-template-columns: 1fr; margin-top: 50px; }
  .process article { min-height: 128px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
