* { box-sizing: border-box }
:root { font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: #191b2b; background: #f8f9fc; -webkit-font-smoothing: antialiased }
body { margin: 0 }
a { color: inherit; text-decoration: none }
button, summary { font: inherit; cursor: pointer }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #8485ff; outline-offset: 4px }
.frame { width: min(1240px, 92%); margin-inline: auto }
.mast { background: #141521; color: #f8f9ff }
.mast-inner, .mast nav, .brand, .actions, footer { display: flex; align-items: center }
.mast-inner { min-height: 64px; justify-content: space-between }
.brand { font-size: 1.38rem; font-weight: 700; letter-spacing: -.06em }
.brand span { color: #8594ff }
.logo-mark { width: 23px; margin-right: 9px; fill: #5b86ff }
.logo-mark rect:nth-child(2) { fill: #8671ff }
.logo-mark rect:nth-child(3) { fill: #43d6bd }
.mast nav { gap: 24px; font-size: .93rem }
.mast nav > a:hover, summary:hover { color: #c6c9ff }
.signin { position: relative; z-index: 2 }
.signin summary { list-style: none; padding: 9px 15px; border: 1px solid #545562; border-radius: 8px }
.signin summary::-webkit-details-marker { display: none }
.signin-options { position: absolute; top: calc(100% + 6px); right: 0; width: max-content; padding: 6px; background: #202231; border-radius: 10px; box-shadow: 0 8px 30px #16172438 }
.signin-options a { display: block; padding: 12px; border-radius: 6px }
.signin-options a:hover { background: #343648 }
.cover { margin-top: clamp(16px, 2vw, 32px); position: relative; isolation: isolate; overflow: hidden; border-radius: 20px; color: white; background: #171d27; min-height: clamp(440px, 64svh, 620px); display: flex; align-items: flex-end; justify-content: flex-end }
.cover video, .cover::after { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none }
.cover video { object-fit: cover; object-position: center 40%; z-index: -2; pointer-events: auto }
.cover video:focus-visible { outline: 3px solid #b9baff; outline-offset: -4px }
.cover::after { content: ""; z-index: -1; background: linear-gradient(265deg, #111623d9 0%, #111623b5 32%, transparent 76%), linear-gradient(0deg, #11162366, transparent 62%) }
.cover-copy { width: min(100%, 590px); padding: clamp(32px, 4vw, 60px); }
h1 { font-size: clamp(2.8rem, 5.4vw, 5.2rem); line-height: 1.01; letter-spacing: -.055em; font-weight: 650; margin: 0; }
.cover-copy p { font-size: clamp(1rem, 1.45vw, 1.18rem); line-height: 1.55; max-width: 36ch; color: #f2f3f7; margin: 18px 0 24px }
.actions { gap: 12px; flex-wrap: wrap }
.actions a { display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border-radius: 8px; font-weight: 600; font-size: 1rem; min-height: 46px }
.primary { background: #f9f9ff; color: #18192b }
.secondary { color: white; background: #161a28ad; border: 1px solid #ffffff80 }
.primary:hover { background: #e5e5ff }
.secondary:hover { background: #24293d }
.tools { display: grid; grid-template-columns: repeat(3, 1fr); margin-block: 38px 50px }
.tools a { padding: 8px clamp(12px, 2.5vw, 36px); border-left: 1px solid #d6d8e1 }
.tools a:first-child { padding-left: 0; border: 0 }
.tools strong, .tools span { display: block }
.tools strong { font-size: 1.14rem; letter-spacing: -.03em; font-weight: 650 }
.tools span { font-size: 1rem; color: #55596b; margin-top: 6px; line-height: 1.5 }
.tools a:hover strong { color: #4f46a2; text-decoration: underline; text-underline-offset: 4px }
footer { justify-content: space-between; gap: 12px; border-top: 1px solid #dadce6; padding: 20px 0 26px; font-size: .82rem; color: #626574 }
@media (max-width: 720px) {
  .mast-inner { min-height: 58px }
  .mast nav { gap: 16px }
  .cover { display: block; min-height: auto; border-radius: 15px }
  .cover video { position: relative; display: block; z-index: 0; aspect-ratio: 16 / 9; height: auto; width: 100%; object-fit: cover }
  .cover::after { display: none }
  .cover-copy { padding: 22px clamp(18px, 5vw, 32px) 28px }
  h1 { font-size: clamp(2.35rem, 8vw, 3.5rem) }
  .cover-copy p { margin: 12px 0 20px }
  .tools { grid-template-columns: 1fr; margin-block: 14px 24px }
  .tools a, .tools a:first-child { padding: 16px 4px; border: 0; border-bottom: 1px solid #d6d8e1 }
  .tools a:last-child { border-bottom: 0 }
  .tools span { margin-top: 3px }
  footer { align-items: flex-start; flex-wrap: wrap }
}

/* Scrollable product previews */
.highlights { margin-block: 16px 28px }
.highlights h2 { margin: 0 0 12px; font: 650 var(--ui-section)/1.2 var(--ui-font); letter-spacing: -.035em }
.highlight-rail { --gap: 12px; display: grid; grid-template-columns: repeat(var(--columns, 3), minmax(0, 1fr)); gap: var(--gap); padding-block: 3px 8px }
@media (prefers-reduced-motion: no-preference) {
  .highlight-rail.rotating { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% + var(--gap)) / var(--columns, 3) - var(--gap)); overflow: hidden; scroll-snap-type: x mandatory }
  .rotating .spot { scroll-snap-align: start }
}
.spot { display: grid; grid-template-columns: clamp(82px, 7.5vw, 104px) minmax(0,1fr); grid-template-rows: 1fr auto auto 1fr; column-gap: 14px; padding: 10px; border: 1px solid #dadce7; border-radius: 14px; background: white; min-width: 0 }
.spot:focus-visible { outline-offset: -3px }
.spot h3 { grid-area: 2 / 2; font-size: 1.03rem; line-height: 1.3; margin: 0 0 4px; letter-spacing: -.025em }
.spot p { grid-area: 3 / 2; margin: 0; font-size: .915rem; line-height: 1.4; color: #53596b }
.spot:hover h3 { color: #5041aa }

.market-trends { margin-block: 36px 30px; padding-top: 22px; border-top: 1px solid #d6d9e5; scroll-margin-top: 18px }
.trend-heading, .market-notes { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: baseline; gap: 12px }
.trend-heading h2 { margin: 0; font: 650 var(--ui-section)/1.2 var(--ui-font); letter-spacing: -.035em }
.trend-heading p, .trend-card figcaption p { margin: 6px 0 0; color: #545b70; line-height: 1.5 }
.report-month { display: flex; align-items: center; gap: 8px; color: #53596b; font-size: .875rem }
.report-month select { padding: 8px; border-radius: 8px; border: 1px solid #b8bed0; background: white; color: #26293c; font: inherit }
.market-charts { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; margin-top: 18px }
.market-trends [hidden] { display: none }
.trend-card { display: flex; flex-direction: column; margin: 0; min-width: 0; padding: clamp(16px,2vw,26px); border: 1px solid #d6d9e5; border-radius: 16px; background: white }
.trend-card h3 { margin: 0; font-size: 1.1rem; letter-spacing: -.02em }
.trend-card figcaption p, .chart-reading { font-size: .88rem }
.trend-heading time { color: #575c70; font-size: .83rem; font-variant-numeric: tabular-nums }
.chart-modes { display: inline-flex; align-self: flex-start; padding: 3px; margin: 16px 0 10px; border-radius: 9px; background: #f1f2f7 }
.chart-modes button { padding: 7px 10px; border: 0; border-radius: 6px; background: transparent; color: #555b70; cursor: pointer; font: 550 .79rem/1.3 var(--ui-font) }
.chart-modes button[aria-pressed=true] { background: white; color: #38336f; box-shadow: 0 1px 4px #26213f22 }
.period-key { display: flex; gap: 14px; margin-block: 2px 6px; font-size: .77rem; color: #53586c }
.period-key span::before { content: ''; display: inline-block; width: 9px; height: 9px; margin-right: 5px; background: #ab9acb; border-radius: 2px }
.period-key span + span::before { background: #21837d }
.city-choice, .bar-axis { display: grid; grid-template-columns: clamp(5.2rem,7vw,7rem) minmax(0,1fr) 2ch; align-items: center; gap: 10px; padding-inline: 8px; font-variant-numeric: tabular-nums }
.city-choice { width: 100%; border: 0; min-height: 37px; background: transparent; border-radius: 6px; font: 500 .85rem/1.2 var(--ui-font); text-align: left; color: #404259; cursor: pointer }
.city-choice:hover { background: #f5f5fa }
.city-choice[aria-pressed=true] { background: #f0eef9; color: #322e75; font-weight: 700 }
.market-trends button:focus-visible, .market-trends summary:focus-visible { outline: 2px solid #5049a6; outline-offset: 1px }
.bar-tracks { display: grid; align-content: center; gap: 3px; align-self: stretch; border-right: 1px solid #e3e4ec; background: repeating-linear-gradient(to right,#e3e4ec 0 1px,transparent 1px 33.33333%) }
.bar-track, .bar-track i { display: block }
.bar-track i { height: 12px; border-radius: 0 3px 3px 0; background: #9b95ce }
.city-choice[aria-pressed=true] .total-bar { background: #5049a6 }
.bar-track .oct-bar, .bar-track .nov-bar { height: 8px; background: #ab9acb }
.bar-track .nov-bar { background: #21837d }
.bar-values { display: grid; text-align: right; font-size: .82rem; line-height: 1.15 }
.bar-values span { color: #655779 }
.bar-axis { padding-block: 5px; color: #687084; font-size: .73rem }
#axis-ticks { grid-column: 2; position: relative; height: 1.2em }
#axis-ticks span { position: absolute; transform: translateX(-50%) }
#axis-ticks span:nth-child(2) { left: 33.3333% }
#axis-ticks span:nth-child(3) { left: 66.6667% }
#axis-ticks span:last-child { left: 100% }
.role-subtitle { margin: 6px 0 0; color: #545b70; font-size: .88rem; line-height: 1.5 }
.role-figure { display: grid; align-content: center; flex: 1; gap: 16px; padding: 18px 0 }
#role-pie { display: grid; place-items: center; justify-self: center; width: 138px; aspect-ratio: 1; border-radius: 50% }
.pie-centre { display: grid; align-content: center; text-align: center; width: 65%; aspect-ratio: 1; border-radius: 50%; background: white }
.pie-centre strong { font-size: 1.7rem; line-height: 1.06; letter-spacing: -.045em }
.pie-centre small, .role-legend small, #role-examples small { color: #62677a; font-size: .76rem }
.role-legend, #role-examples { list-style: none; margin: 0; padding: 0 }
.role-legend li { display: grid; grid-template-columns: 9px 1fr 2ch 5ch; gap: 8px; align-items: center; padding: 5px 0; color: #303548; font-size: .85rem; font-variant-numeric: tabular-nums }
.role-legend :is(b,small) { text-align: right }
.legend-dot { width: 9px; height: 9px; border-radius: 3px }
.listing-examples { border-top: 1px solid #e3e4ec; padding-top: 10px; font-size: .83rem }
.market-trends summary { cursor: pointer }
#role-examples li { display: grid; gap: 3px; padding-top: 10px }
#role-examples a { color: #493b9d; text-decoration: underline; text-underline-offset: 3px }
@media (min-width: 1060px) { .role-figure { grid-template-columns: minmax(105px,.72fr) minmax(0,1.4fr); align-items: center } #role-pie { width: min(100%,155px) } }
@media (max-width: 390px) { .city-choice,.bar-axis { gap: 6px; padding-inline: 3px } .chart-modes button { padding-inline: 7px } }
.national-history {
  display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.2fr); align-items: center;
  gap: clamp(12px,4vw,60px); margin-top: 20px; padding: clamp(18px,3vw,36px);
  border: 1px solid #d9d9e8; border-radius: 16px; background: linear-gradient(110deg,#f3f1fc,white 68%);
}
.national-copy h2 { margin: 0; font: 650 var(--ui-section)/1.22 var(--ui-font); letter-spacing: -.035em }
.national-copy p { color: #555c70; font-size: .88rem; line-height: 1.5; margin: 8px 0; max-width: 44ch }
.sector-metric { display: flex; gap: 12px; margin: 18px 0 6px; align-items: center; flex-wrap: wrap }
.sector-metric strong { font-size: 2.15rem; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.045em }
.sector-metric span { color: #215c55; background: #e0f1eb; padding: 4px 9px; border-radius: 5px; font-size: .82rem }
#market-source { display: inline-block; margin-top: 9px; color: #493b9d; font-size: .83rem; text-decoration: underline; text-underline-offset: 3px }
.national-plot { min-width: 0 }
.national-plot .report-month { justify-content: flex-end; margin-bottom: 8px }
#sector-chart svg { display: block; width: 100%; height: auto; max-height: 190px }
@media (max-width: 700px) {
  .national-history { grid-template-columns: minmax(0,1fr) }
  .national-plot .report-month { justify-content: flex-start }
}
.market-notes { margin-top: 12px; color: #53596b; font-size: .84rem }
.market-notes details { max-width: 72ch; min-width: 0 }
.market-notes summary { color: #393d55 }
.market-notes p { line-height: 1.55 }
.market-notes a { color: #493b9d; text-decoration: underline; text-underline-offset: 3px }
.market-notes table { width: 100%; border-collapse: collapse; text-align: right; font-variant-numeric: tabular-nums }
.market-notes caption { font-weight: 600; text-align: left; padding-block: 8px }
.market-notes :is(th,td) { padding: 6px; border-bottom: 1px solid #d6d9e5 }
.market-notes tr > :first-child { text-align: left }
@media (max-width: 760px) { .market-charts { grid-template-columns: minmax(0,1fr) } }
.specimen { grid-area: 1 / 1 / -1 / 2; min-height: 86px; border-radius: 8px; display: grid; grid-template-columns: minmax(0,1fr); place-items: center; position: relative; isolation: isolate; overflow: hidden; user-select: none }
.specimen > * { zoom: .47 }
.specimen:before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .36; background: repeating-linear-gradient(115deg,transparent 0 27px,#ffffff33 28px,transparent 29px) }
.specimen b,.specimen small { display: block }
.passport-spot .specimen { background: radial-gradient(ellipse at 8% 20%,#7973ef,transparent 67%),#302964 }
.mock-pass { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; padding: 13px 20px; background: #f4f1ff; border-radius: 9px; transform: rotate(-4deg); box-shadow: 6px 7px 0 #b8abf4,0 12px 18px #2118506b; font-size: .85rem }
.mock-pass i { display: grid; place-items: center; background: #d6d0fa; border-radius: 8px; width: 34px; height: 34px; color: #483d8e; font-style: normal; font-weight: 650 }
.mock-pass small { color: #67627b }
.pass-skills { grid-column: span 2; display: flex; gap: 6px; border-top: 1px solid #d6cfea; padding-top: 7px }
.pass-skills span { font-size: .72rem; color: #423a71; background: #e7e2f9; border-radius: 4px; padding: 3px 6px }
.resume-spot .specimen { background: radial-gradient(ellipse at 80% 0,#cbf5dc,transparent 70%),#86c3b3 }
.mock-page { background: #fcfffb; width: 124px; padding: 13px; height: 110px; border-radius: 4px; transform: translateX(-9px) rotate(-6deg); box-shadow: 5px 6px 0 #4e8b7d66; color: #23584e; font-size: .8rem }
.mock-page i { display: block; margin: 8px 0; height: 4px; background: #c6dcd2; border-radius: 4px }
.mock-page i:last-child { width: 60% }
.review-note { position: absolute; top: 58%; left: 42%; background: #204f46; color: white; border-radius: 6px; padding: 7px 10px; font-size: .75rem; transform: rotate(3deg) }
.pipeline-spot .specimen { background: radial-gradient(ellipse at 20% 10%,#ffe0b3,transparent 68%),#dca98d }
.mock-board { display: flex; gap: 5px; transform: rotate(-3deg); padding: 8px; border-radius: 7px; background: #4f3c39; box-shadow: 4px 5px 0 #88675e55 }
.mock-board div { width: clamp(48px,5vw,67px); background: #f6ede3; border-radius: 4px; min-height: 72px; padding: 6px }
.mock-board b { font-size: .64rem; color: #5c4c43 }
.mock-board i { display: block; height: 13px; border-radius: 3px; background: #dac8b9; margin-top: 5px; border-left: 3px solid #9b765a }
.mock-board div:last-child i { border-color: #3b7e65 }
.pay-spot .specimen { background: #c6c9ee }
.mock-pay { background: #292742; color: white; padding: 14px 18px; border-radius: 8px; width: 180px; transform: rotate(-3deg); font-size: .8rem }
.mock-pay i { display: block; height: 9px; margin: 12px 0 6px; border-radius: 10px; background: linear-gradient(90deg,#b1a1ff 66%,#80d9c0 66%) }
.mock-pay small { display: flex; justify-content: space-between }
.practice-spot .specimen { background: #cfdeeb }
.mock-chat { width: 185px; transform: rotate(-3deg) }
.mock-chat span { display: block; background: white; border-radius: 12px 12px 12px 2px; padding: 9px 12px; color: #273c58; font-size: .8rem }
.mock-chat i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #597595; margin: 10px 0 0 4px }
@media (prefers-reduced-motion: no-preference) {
  .cover-copy { animation: preview-in .55s ease-out both }
  .specimen > *, .spot { transition: transform .25s ease, border-color .25s }
  .spot:is(:hover,:focus-visible) .specimen > * { transform: translateY(-3px) rotate(0) }
  .spot:hover { border-color: #a9a1d5 }
  .highlights.arrived .specimen > * { animation: preview-in .4s ease-out both }
  @keyframes preview-in { from { opacity: .45; translate: 0 8px } to { opacity: 1; translate: 0 0 } }
}
@media (max-width: 1100px) {
  .highlight-rail { --columns: 2 }
}
@media (max-width: 720px) {
  .highlight-rail { --columns: 1 }
  .highlights { margin-block: 12px 20px }
  .mast nav { gap: 12px }
}

.research-page {width:min(940px,92%);margin:32px auto 42px;color:#24273a}
.research-page article {padding:clamp(18px,4vw,44px);border:1px solid #d9dce7;border-radius:16px;background:#fff}
.research-page h1 {max-width:32ch;margin:14px 0 8px;font-size:clamp(1.55rem,3vw,2.15rem);letter-spacing:-.035em;line-height:1.18}
.research-page h2 {font-size:1.22rem;letter-spacing:-.015em;margin:24px 0 6px}
.research-page p {max-width:76ch;line-height:1.6}
.research-page :is(nav,.byline,caption) {color:#5b6175;font-size:.85rem}
.research-page a {color:#483e9b;text-decoration:underline;text-underline-offset:3px}
.report-table {overflow-x:auto}
.report-table table {width:100%;border-collapse:collapse;font-size:.9rem;text-align:left}
.report-table caption {text-align:left;padding:4px 0 10px}
.report-table :is(th,td) {padding:9px 10px;border-bottom:1px solid #dfe1eb;vertical-align:top}
.report-table thead {background:#f2f1fa}
.report-table td:nth-child(2) {font-variant-numeric:tabular-nums}
.report-next {border-top:1px solid #dfe1eb;padding-top:15px}
