@font-face{font-family:"Onest";src:url("./assets/fonts/Onest.ttf") format("truetype");font-weight:100 900;font-style:normal;font-display:swap}
:root{--obsidian:#0A0A0A;--slate:#536878;--alabaster:#E5E4E2;--paper:#F7F7F6;--ink-soft:#363c40;--line:rgba(10,10,10,.16);color-scheme:light}*{box-sizing:border-box}html{scroll-behavior:smooth}body{min-width:320px;margin:0;background:var(--alabaster);color:var(--obsidian);font:15px/1.65 "Onest",Arial,sans-serif}.topline{padding:9px 16px;background:var(--obsidian);color:var(--paper);font-size:10px;font-weight:700;letter-spacing:.13em;text-align:center}.site-header,.footer{display:flex;justify-content:space-between;align-items:center;width:min(calc(100% - 56px),1120px);margin:auto}.site-header{height:78px;border-bottom:1px solid var(--line)}.brand{color:var(--obsidian);font-size:29px;font-weight:760;letter-spacing:-.1em;text-decoration:none}.brand span{color:var(--slate)}.header-label,.footer{color:var(--slate);font-size:11px}.shell{width:min(calc(100% - 40px),940px);margin:48px auto 18px}.panel{padding:clamp(26px,5vw,58px);border:1px solid var(--line);background:var(--paper);box-shadow:0 18px 55px rgba(10,10,10,.07)}.eyebrow{margin:0 0 16px;color:var(--slate);font-size:10px;font-weight:800;letter-spacing:.15em}.eyebrow:empty{display:none}h1,h2,h3,p{margin-top:0}h1{max-width:760px;margin-bottom:22px;font:400 clamp(38px,5.5vw,60px)/1.08 "Noto Serif Display",Georgia,serif;letter-spacing:-.045em}.body-copy{max-width:760px;color:var(--ink-soft);line-height:1.8}.notice{max-width:760px;margin:24px 0 0;padding:15px 17px;border-left:3px solid var(--slate);background:rgba(83,104,120,.10);font-size:13px;line-height:1.65}.small-copy{font-size:13px}.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:32px}.button{min-height:47px;padding:10px 19px;border:1px solid var(--obsidian);border-radius:1px;font:700 12px/1.2 "Onest",sans-serif;cursor:pointer}.button-primary{background:var(--obsidian);color:#fff}.button-primary:hover:not(:disabled){border-color:var(--slate);background:var(--slate)}.button-secondary{background:transparent;color:var(--obsidian)}.button-secondary:hover{background:rgba(83,104,120,.10)}button:disabled{opacity:.42;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible+label{outline:3px solid var(--slate);outline-offset:3px}.anchor-list{display:grid;gap:8px;max-width:650px;padding:0;list-style:none}.anchor-list li{display:flex;align-items:center;gap:13px;min-height:48px;padding:9px 12px;border:1px solid var(--line);font-size:13px}.anchor-list strong,.options label strong{display:grid;place-items:center;width:29px;height:29px;flex:0 0 auto;border:1px solid var(--slate);border-radius:50%;font-size:11px}.progress-wrap{max-width:760px;margin:4px 0 33px}.progress-meta{display:flex;justify-content:space-between;gap:14px;margin-bottom:9px;color:var(--slate);font-size:12px}.progress-meta strong{color:var(--obsidian)}.progress-track{height:5px;background:rgba(10,10,10,.15)}.progress-track span{display:block;height:100%;background:var(--slate);transition:width .22s ease}.question-card{max-width:760px;margin:0;padding:0;border:0;background:transparent}.question-card.has-error .options{padding:12px;border:2px solid #8b3838}.question-prompt{display:block;max-width:760px;margin:0 0 28px;color:var(--obsidian);font:500 clamp(28px,2.5vw,32px)/1.4 "Onest",Arial,sans-serif;letter-spacing:-.025em}.question-prompt:focus{outline:3px solid var(--slate);outline-offset:5px}.options{display:grid;grid-template-columns:1fr;gap:9px}.options input{position:absolute;opacity:0}.options label{display:flex;align-items:center;gap:14px;min-height:62px;width:100%;padding:13px 17px;border:1px solid rgba(83,104,120,.55);background:rgba(255,255,255,.54);cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease}.options label:hover{border-color:var(--obsidian);background:#fff}.options input:checked+label{border-color:var(--slate);background:rgba(83,104,120,.11);box-shadow:inset 0 0 0 1px var(--slate)}.options label span{font-size:14px;line-height:1.45}.options .option-na{margin-top:12px;border-style:dashed;background:rgba(83,104,120,.06)}.question-error{margin:13px 0 0;color:#752a2a;font-size:13px;font-weight:700}.review-list{display:grid;gap:9px;margin:0;padding:0;list-style:none}.review-list li{display:grid;grid-template-columns:minmax(0,1fr) minmax(140px,190px) auto;align-items:center;gap:13px;padding:14px;border:1px solid var(--line)}.review-question{font-size:12px;line-height:1.55}.review-answer{font-size:11px;line-height:1.35}.review-list .button{min-height:38px;padding:7px 10px;font-size:10px}.top-results{max-width:700px;margin:25px 0 35px;padding:20px;background:var(--obsidian);color:var(--paper)}.top-label{margin-bottom:8px;color:#cbd5db;font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.top-list{margin:0;padding-left:20px;font-family:"Noto Serif Display",Georgia,serif;font-size:20px;line-height:1.55}.chart-section{margin:0 0 42px;padding:25px;border:1px solid var(--line)}.section-title{margin-bottom:24px;font:400 clamp(25px,3vw,34px)/1.2 "Noto Serif Display",Georgia,serif}.bars{display:grid;gap:12px}.bar-row{display:grid;grid-template-columns:190px minmax(60px,1fr) 58px;align-items:center;gap:12px}.bar-label{font-size:12px}.bar-rail{height:10px;background:rgba(83,104,120,.17)}.bar-fill{display:block;height:100%;background:var(--slate);transition:width .35s ease}.bar-value{text-align:right;font-size:12px}.report-cards{display:grid;gap:18px}.report-card{padding:26px;border:1px solid var(--line);background:#fff}.report-card-header{display:flex;justify-content:space-between;gap:20px;align-items:baseline;border-bottom:1px solid var(--line)}.report-title{margin-bottom:13px;font:400 clamp(25px,3vw,34px)/1.2 "Noto Serif Display",Georgia,serif}.score{color:var(--slate);font-size:14px;white-space:nowrap}.counted{margin:12px 0 20px;color:var(--slate);font-size:12px}.report-card>p{color:var(--ink-soft)}.report-block{margin-top:18px;padding-top:17px;border-top:1px solid var(--line)}.report-block h3{margin-bottom:6px;font-size:11px;letter-spacing:.08em;text-transform:uppercase}.report-block p{margin-bottom:0;color:var(--ink-soft);font-size:13px;line-height:1.7}.privacy-note{max-width:760px;margin:15px auto 0;color:#34434c;font-size:11px;line-height:1.6;text-align:center}.footer{gap:20px;margin-top:52px;padding:20px 0;border-top:1px solid var(--line)}.screen-reader-only{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;clip-path:inset(50%)!important}@media(max-width:700px){.site-header,.footer{width:calc(100% - 36px)}.site-header{height:65px}.header-label{max-width:160px;font-size:9px;text-align:right}.shell{width:calc(100% - 24px);margin-top:24px}.panel{padding:25px 18px}h1{font-size:clamp(34px,10vw,44px)}.question-prompt{margin-bottom:24px;font-size:clamp(22px,6vw,24px);line-height:1.42}.options label{min-height:58px;padding:12px 13px}.options label span{font-size:13px}.progress-meta{font-size:11px}.review-list li{grid-template-columns:1fr 78px;gap:8px}.review-list .button{grid-column:1/-1}.bar-row{grid-template-columns:105px minmax(40px,1fr) 43px;gap:8px}.bar-label,.bar-value{font-size:10px}.report-card{padding:20px 16px}.report-card-header{align-items:flex-start;flex-direction:column;gap:2px}.footer{align-items:flex-start;flex-direction:column;gap:4px;margin-top:32px}.top-list{font-size:18px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.progress-track span,.bar-fill,.options label{transition:none}}

/* TALAP v2 additions: bilingual navigation, extended report and PDF layout */
.header-tools{display:flex;align-items:center;gap:16px}
.language-toggle{min-height:36px;padding:7px 12px;border:1px solid var(--slate);background:transparent;color:var(--slate);font:700 11px/1 "Onest",Arial,sans-serif;cursor:pointer}
.language-toggle:hover{background:rgba(83,104,120,.10)}
.top-note{margin:12px 0 0;color:#d9e1e5;font-size:12px;line-height:1.6}
.career-section{margin:0 0 38px}
.career-intro{max-width:780px;color:var(--ink-soft);font-size:13px;line-height:1.7}
.career-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.career-card{padding:20px;border:1px solid var(--line);background:#fff;break-inside:avoid}
.career-card h3{margin-bottom:5px;font:500 20px/1.25 "Onest",Arial,sans-serif}
.career-card .career-score{color:var(--slate);font-weight:700;font-size:12px}
.career-card h4{margin:16px 0 5px;font-size:10px;letter-spacing:.07em;text-transform:uppercase;color:var(--slate)}
.career-card p:not(.career-score){margin-bottom:0;color:var(--ink-soft);font-size:12px;line-height:1.65}
.report-card{break-inside:avoid}
.report-block,.report-card-header{break-inside:avoid}
@media(max-width:800px){.career-grid{grid-template-columns:1fr}}
@media(max-width:700px){.header-tools{gap:8px}.language-toggle{padding:7px 9px}.header-label{max-width:145px}}
@media print{
  @page{size:auto;margin:14mm}
  body.printing-report{background:#fff!important;color:#111!important;font-size:11pt}
  body.printing-report *{visibility:hidden!important}
  body.printing-report #screen,body.printing-report #screen *{visibility:visible!important}
  body.printing-report #screen{position:absolute;left:0;top:0;width:100%;padding:0;border:0;box-shadow:none;background:#fff}
  body.printing-report #actions,body.printing-report .topline,body.printing-report .site-header,body.printing-report .privacy-note,body.printing-report .footer{display:none!important}
  body.printing-report .shell{width:100%;max-width:none;margin:0}
  body.printing-report h1{font-size:25pt;margin-bottom:14pt}
  body.printing-report .top-results{background:#111!important;color:#fff!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}
  body.printing-report .chart-section,body.printing-report .report-card,body.printing-report .career-card{box-shadow:none;break-inside:avoid}
  body.printing-report .report-cards{gap:10px}
  body.printing-report .report-card{padding:16px}
  body.printing-report .notice{print-color-adjust:exact;-webkit-print-color-adjust:exact}
  body.printing-report .bar-fill{print-color-adjust:exact;-webkit-print-color-adjust:exact}
}

/* Integrated landing shell — shared visual language with the original TALAP prototype. */
.prototype-banner{min-height:34px;padding:8px 18px;background:#0a0a0a;color:#f7f7f6;text-align:center;font-size:10px;font-weight:700;letter-spacing:.1em}.site-header{width:min(1120px,calc(100% - 56px));height:86px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:9px;font-size:26px}.brand-mark{position:relative;width:29px;height:29px}.brand-mark i{position:absolute;display:block;width:8px;height:20px;border-radius:8px;background:var(--slate);transform:rotate(35deg);left:11px;top:4px}.brand-mark i:first-child{height:13px;left:5px;top:12px}.brand-mark i:last-child{height:13px;left:18px;top:12px;transform:rotate(-35deg)}.site-nav{display:flex;align-items:center;gap:clamp(18px,4vw,44px);margin-left:auto;margin-right:28px}.site-nav a{font-size:12px;color:var(--ink-soft);text-decoration:none}.site-nav a:hover{color:var(--slate)}.header-tools{display:flex;align-items:center;gap:16px}.hero{display:grid;grid-template-columns:1.06fr .94fr;align-items:center;min-height:585px;padding:55px 0 78px}.section-wrap{width:min(1120px,calc(100% - 56px));margin:auto}.hero h1,.intro-section h2{margin:0 0 25px;font:400 clamp(42px,5.2vw,69px)/1.04 "Noto Serif Display",Georgia,serif;letter-spacing:-.055em}.hero h1 em,.intro-section h2 em{color:var(--slate);font-style:italic}.hero-copy{max-width:600px}.hero .eyebrow,.intro-section .eyebrow{display:flex;align-items:center;gap:10px;margin-bottom:22px;font-size:10px;font-weight:800;letter-spacing:.13em;color:var(--slate)}.hero .eyebrow span,.intro-section .eyebrow span{width:23px;height:1px;background:var(--slate)}.hero-lede{max-width:470px;font-size:16px;line-height:1.8;color:var(--ink-soft)}.hero-actions{display:flex;align-items:center;gap:22px;margin-top:31px}.hero-actions .button{display:inline-flex;align-items:center;gap:24px;text-decoration:none}.hero-note{max-width:450px;margin:34px 0 0;color:var(--slate);font-size:11px;line-height:1.65}.text-link{color:var(--ink-soft);font-size:12px;text-decoration:none}.hero-art{position:relative;justify-self:end;width:min(100%,470px);height:420px;overflow:hidden;border-radius:47% 47% 2px 2px;background:rgba(83,104,120,.09)}.art-orbit{position:absolute;border:1px solid rgba(83,104,120,.34);border-radius:50%}.orbit-one{width:355px;height:355px;top:30px;left:57px}.orbit-two{width:278px;height:278px;top:67px;left:95px;border-style:dashed}.art-sun{position:absolute;top:76px;left:184px;width:110px;height:110px;border-radius:50%;background:rgba(83,104,120,.18)}.art-arch{position:absolute;bottom:62px;border:1px solid var(--slate);border-bottom:0;border-radius:160px 160px 0 0}.arch-back{left:98px;width:240px;height:230px}.arch-front{left:157px;width:125px;height:157px;border-color:#0a0a0a;background:rgba(83,104,120,.12)}.art-stem{position:absolute;bottom:62px;width:2px;background:#0a0a0a;transform-origin:bottom}.stem-one{left:216px;height:178px;transform:rotate(-9deg)}.stem-two{left:239px;height:143px;transform:rotate(10deg)}.art-leaf{position:absolute;width:39px;height:19px;border-radius:100% 0 100% 0;background:var(--slate)}.leaf-one{left:183px;bottom:201px;transform:rotate(17deg)}.leaf-two{left:210px;bottom:246px;transform:rotate(-24deg) scale(.85)}.leaf-three{left:236px;bottom:186px;transform:rotate(52deg) scale(.9);opacity:.6}.art-caption{position:absolute;left:27px;bottom:23px;font-size:8px;font-weight:800;letter-spacing:.1em}.intro-section{display:grid;grid-template-columns:.7fr 1.3fr;gap:8%;padding:96px 0 105px;border-top:1px solid var(--line)}.intro-section h2{font-size:clamp(36px,4.3vw,56px)}.intro-section>div:last-child>p{max-width:640px;line-height:1.85;color:var(--ink-soft)}.value-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-top:32px}.value-grid article{min-height:170px;padding:20px;border:1px solid var(--line);background:#f7f7f6}.value-grid b{color:var(--slate);font-size:10px;letter-spacing:.1em}.value-grid h3{margin:40px 0 8px;font:400 19px "Noto Serif Display",Georgia,serif}.value-grid p{margin:0;color:var(--slate);font-size:11px;line-height:1.6}.privacy-strip{padding:43px 0;background:rgba(83,104,120,.1)}.privacy-strip>div{display:grid;grid-template-columns:54px 1fr;gap:22px;align-items:center}.privacy-strip b{display:grid;place-items:center;width:47px;height:47px;border:1px solid var(--slate);border-radius:50%;color:var(--slate);font-size:22px}.privacy-strip .eyebrow{margin:0 0 7px;color:#0a0a0a;font-size:10px;font-weight:800;letter-spacing:.12em}.privacy-strip h2{margin:0 0 7px;font:400 24px "Noto Serif Display",Georgia,serif}.privacy-strip p:last-child{margin:0;max-width:720px;font-size:12px;line-height:1.7}.shell{margin-top:78px}.panel{box-shadow:0 24px 70px rgba(10,10,10,.09)}
@media(max-width:760px){.site-header,.section-wrap{width:calc(100% - 32px)}.site-header{height:70px}.site-nav{display:none}.header-label{display:none}.hero{grid-template-columns:1fr;gap:35px;padding:38px 0 48px}.hero-art{justify-self:start;width:100%;height:340px}.intro-section{grid-template-columns:1fr;gap:25px;padding:65px 0}.value-grid{grid-template-columns:1fr}.value-grid article{min-height:130px}.value-grid h3{margin-top:20px}.shell{margin-top:45px}.privacy-strip>div{grid-template-columns:1fr}.privacy-strip b{display:none}}

/* Text placement guardrails: no fixed copy heights, no squeezed flex items. */
.site-header>*{min-width:0}.site-nav,.header-tools{flex-shrink:0}.hero-copy,.intro-section>div,.privacy-strip>div>div,.value-grid article{min-width:0}.hero h1,.intro-section h2,.hero-lede,.hero-note,.intro-section p,.privacy-strip p,.value-grid h3,.value-grid p{overflow-wrap:anywhere;hyphens:auto}.hero h1{line-height:1.12}.intro-section h2{line-height:1.14}.hero-lede{max-width:44ch}.hero-note{max-width:52ch}.value-grid article{min-height:0}.value-grid h3{line-height:1.25}.value-grid p{line-height:1.65}.privacy-strip h2{line-height:1.25}.header-label{white-space:nowrap}
@media(max-width:1100px){.site-header{width:min(1120px,calc(100% - 40px))}.site-nav{gap:18px;margin-right:18px}.header-label{display:none}.hero,.intro-section{column-gap:5%}.hero-art{width:min(100%,430px)}}
@media(max-width:860px){.hero{grid-template-columns:minmax(0,1fr) minmax(280px,.8fr);gap:28px}.hero h1{font-size:clamp(38px,5.4vw,54px)}.hero-art{height:360px}.intro-section{grid-template-columns:1fr;gap:26px}.value-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.value-grid article{padding:17px}.value-grid h3{font-size:18px}}

/* Atmospheric background with a dedicated contrast layer for readable copy. */
body{background:#112635 url("./assets/talap-sky-background.png") center top/cover fixed no-repeat}
.prototype-banner{position:relative;background:rgba(4,14,22,.92);color:#eef7fb}
.site-header{position:relative;border-color:rgba(224,242,250,.26)}
.site-header .brand,.site-header .header-label{color:#f5fbff}.site-header .brand span:last-child{color:#9bbdcc}.site-nav a{color:#ebf5f9}.site-nav a:hover{color:#fff}.language-toggle{border-color:rgba(220,239,247,.65);background:rgba(5,21,32,.42);color:#fff}.language-toggle:hover{background:rgba(5,21,32,.7)}
.hero{position:relative;grid-template-columns:minmax(0,1fr);min-height:620px}.hero::before{position:absolute;inset:22px 0 30px;border:1px solid rgba(215,235,244,.2);background:linear-gradient(90deg,rgba(4,16,25,.82) 0%,rgba(5,22,35,.67) 55%,rgba(7,25,37,.32) 100%);box-shadow:0 22px 60px rgba(0,0,0,.2);content:""}.hero-copy{z-index:1;max-width:665px;padding:clamp(26px,4vw,52px);border:1px solid rgba(222,240,248,.19);background:rgba(5,21,32,.38);box-shadow:0 12px 42px rgba(0,0,0,.16);backdrop-filter:blur(5px)}
.hero .eyebrow,.hero h1,.hero-lede,.hero-note{color:#f4fbff}.hero h1 em{color:#afd2e1}.hero .eyebrow span{background:#afd2e1}.hero-lede{color:rgba(242,250,253,.9)}.hero-note{color:#d0e4ed}.hero-actions .button-primary{background:#dceef5;color:#102738}.hero-actions .button-primary:hover{background:#fff}.hero-actions .text-link{color:#e3f2f8}.hero-art{display:none}
.intro-section{padding-inline:clamp(24px,4vw,52px);border:0;background:rgba(247,249,250,.96);box-shadow:0 18px 50px rgba(0,0,0,.13)}.privacy-strip{background:rgba(14,42,57,.92);color:#eef8fc}.privacy-strip .eyebrow,.privacy-strip p:last-child{color:#d6e9f1}.privacy-strip h2{color:#fff}.privacy-strip b{border-color:#b6d3df;color:#d9edf4}.shell{padding:clamp(20px,4vw,45px);background:rgba(229,239,244,.9);box-shadow:0 18px 54px rgba(0,0,0,.15)}.panel{background:#f8fbfc}.footer{padding-left:calc((100% - min(1120px,calc(100% - 56px)))/2);padding-right:calc((100% - min(1120px,calc(100% - 56px)))/2);background:rgba(4,15,23,.88);border:0;color:#e9f5f9}
@media(max-width:760px){body{background-position:56% top}.hero{min-height:0;padding-top:30px}.hero::before{inset:8px -16px 20px}.hero-copy{padding:25px 20px}.intro-section{padding-inline:20px}.shell{padding:16px 12px}.footer{padding-left:18px;padding-right:18px}}
/* Ensure visually hidden radio inputs never intercept pointer clicks on answer labels. */
.options input{width:1px;height:1px;pointer-events:none}

h1:focus{outline:none}

/* TALAP v3: professional-interest module */
.exclude-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:24px 0 10px}
.exclude-option{display:flex;align-items:flex-start;gap:12px;padding:14px 15px;border:1px solid var(--line);background:rgba(255,255,255,.56);cursor:pointer;font-size:13px;line-height:1.5}
.exclude-option input{width:17px;height:17px;flex:0 0 auto;margin:1px 0 0;accent-color:var(--slate)}
.interest-top{margin-top:38px}
.excluded-summary{margin:28px 0;padding:20px;border:1px dashed var(--line);background:rgba(83,104,120,.06);break-inside:avoid}
.excluded-summary p{margin:0;color:var(--ink-soft);font-size:13px;line-height:1.65}
.connect-section{margin:28px 0;padding:24px;border-left:3px solid var(--slate);background:rgba(83,104,120,.08);break-inside:avoid}
.connect-section .section-title{margin-bottom:10px}
.connect-section p{margin:0;color:var(--ink-soft);font-size:13px;line-height:1.75}
@media(max-width:650px){.exclude-grid{grid-template-columns:1fr}}
@media print{
  body.printing-report .excluded-summary,body.printing-report .connect-section{break-inside:avoid}
  body.printing-report .career-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.printing-report .career-card{padding:13px}
  body.printing-report .career-card p:not(.career-score){font-size:9pt}
  body.printing-report .topline,body.printing-report .site-header,body.printing-report .privacy-note,body.printing-report .footer{display:none!important}
  body.printing-report #screen{position:static!important;width:100%!important}
  body.printing-report #screen,body.printing-report #screen *{visibility:visible!important}
  body.printing-report #actions{display:none!important}
}

.interest-bar-row{grid-template-columns:minmax(150px,190px) minmax(60px,1fr) minmax(112px,auto)}
@media(max-width:700px){.interest-bar-row{grid-template-columns:100px minmax(35px,1fr) 86px;gap:6px}.interest-bar-row .bar-value{font-size:9px}}

.pdf-hint{margin-top:9px;color:var(--ink-soft);font-size:11px;line-height:1.6}
@media print{body.printing-report .save-note,body.printing-report .pdf-hint{display:none!important}}

/* Eyebrow: only the first span is the decorative rule; the second span carries the text. */
.hero .eyebrow span:first-child,.intro-section .eyebrow span:first-child{flex:0 0 23px}
.hero .eyebrow span+span,.intro-section .eyebrow span+span{width:auto;height:auto;background:none}

/* Typography: Onest for headings in both languages (all Kazakh letters, real weights, no browser-faked bold or italic). */
body{font-synthesis:none}
h1,.hero h1,.intro-section h2,.section-title,.report-title,.value-grid h3,.privacy-strip h2{font-family:"Onest",Arial,sans-serif;font-weight:600;letter-spacing:-.03em}
h1,.hero h1,.intro-section h2{line-height:1.1}
.section-title,.report-title{letter-spacing:-.02em}
.value-grid h3,.privacy-strip h2{letter-spacing:-.01em}
/* Never split a word at an arbitrary letter; break only if a single word cannot fit at all. */
.hero h1,.intro-section h2,.value-grid h3,.value-grid p,h1,.section-title,.report-title{overflow-wrap:break-word;hyphens:manual}
.value-grid h3{font-size:clamp(15px,1.55vw,19px)}
/* Phones: one column of approach cards (the 860px rule above would otherwise force three) and a title size that fits long Kazakh words. */
@media(max-width:760px){.value-grid{grid-template-columns:1fr}.value-grid h3{font-size:19px}.panel h1{font-size:clamp(26px,8vw,34px)}}
.top-list{font-family:"Onest",Arial,sans-serif;font-weight:500;letter-spacing:-.01em}
/* The second phrase of a landing heading is a subtitle on its own line, half the heading size. */
.hero h1 br,.intro-section h2 br{display:none}
.hero h1 em,.intro-section h2 em{display:block;margin-top:.45em;font-size:.5em;font-style:normal;font-weight:500;line-height:1.3;letter-spacing:-.01em}

/* Web Interface Guidelines pass. */
/* Skip link: hidden until reached with the keyboard. */
.skip-link{position:absolute;left:12px;top:-64px;z-index:10;padding:10px 16px;background:#dceef5;color:#0a141c;font-size:13px;font-weight:700;text-decoration:none;transition:top .15s ease}
.skip-link:focus-visible{top:12px}
#assessment{scroll-margin-top:12px}
/* The screen title is an h2 (the landing h1 is the page title) but keeps the large title look. */
#title{max-width:760px;margin:0 0 22px;font:600 clamp(38px,5.5vw,60px)/1.1 "Onest",Arial,sans-serif;letter-spacing:-.03em;overflow-wrap:break-word;hyphens:manual}
#title:focus{outline:none}
@media(max-width:760px){#title{font-size:clamp(26px,8vw,34px)}}
@media print{body.printing-report #title{font-size:25pt;margin-bottom:14pt}}
/* Focus ring on the question text only for keyboard users, not after every mouse click. */
.question-prompt:focus{outline:none}
.question-prompt:focus-visible{outline:3px solid var(--slate);outline-offset:5px}
/* Progress and score bars grow with transform (scaleX set in app.js), not width. */
.progress-track span,.bar-fill{width:100%;transform-origin:left center;transition:transform .25s ease}
@media(prefers-reduced-motion:reduce){.progress-track span,.bar-fill,.skip-link{transition:none}}
.bar-value,.score,.career-score,.progress-meta,.top-list{font-variant-numeric:tabular-nums}
h1,h2,h3{text-wrap:balance}
.button,.options label,.exclude-option,.language-toggle,.site-nav a,.text-link,.brand{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.text-link:hover{text-decoration:underline;text-underline-offset:3px}
.hero-actions .text-link:hover{color:#fff}
.exclude-option{transition:border-color .16s ease,background-color .16s ease}
.exclude-option:hover{border-color:var(--obsidian);background:#fff}
.exclude-option:has(input:checked){border-color:var(--slate);background:rgba(83,104,120,.11)}
.review-list li{content-visibility:auto;contain-intrinsic-size:auto 70px}
/* Sky background on a fixed layer: background-attachment:fixed is ignored on iPhone and janks scrolling on weak phones. */
body{background:#112635}
body::before{position:fixed;inset:0;z-index:-1;background:#112635 url("./assets/talap-sky-background.png") center top/cover no-repeat;pointer-events:none;content:""}
@media(max-width:760px){body::before{background-position:56% top}}

/* Landing hero: decorative 3D constellation (hero-3d.js) on the right half, behind the copy, fading out to the left. */
.hero-3d{position:absolute;top:22px;right:0;bottom:30px;width:56%;pointer-events:none;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 12%);mask-image:linear-gradient(90deg,transparent 0,#000 12%)}
.hero-3d canvas{display:block;width:100%;height:100%}
/* Light bulb at the constellation's centre (added by hero-3d.js); floats gently. */
.hero-bulb{position:absolute;top:50%;left:50%;z-index:1;width:auto;height:150px;transform:translate(-50%,-50%);filter:drop-shadow(0 10px 24px rgba(0,0,0,.35));animation:bulb-float 6s ease-in-out infinite;pointer-events:none;user-select:none}
@keyframes bulb-float{0%,100%{transform:translate(-50%,-50%) rotate(-2deg)}50%{transform:translate(-50%,calc(-50% - 6px)) rotate(2deg)}}
@media(prefers-reduced-motion:reduce){.hero-bulb{animation:none}}
.hero-copy{position:relative;z-index:1}
@media(max-width:1023px){.hero-3d{display:none}}

/* Falling figure (falling-figure.js): fixed layer between the sky and the page sections, so it shows over the sky
   and through the translucent hero, hides behind the opaque blocks, and never covers text or controls. */
.falling-figure{position:fixed;top:0;left:0;z-index:-1;width:clamp(120px,17vw,260px);height:auto;visibility:hidden;pointer-events:none;user-select:none;transform-origin:50% 50%;will-change:transform;filter:drop-shadow(0 0 16px rgba(175,210,225,.16))}
.falling-figure.is-ready{visibility:visible}
/* Alternative: class "is-front" on the <img> in index.html makes the figure fall in front of the blocks,
   with a pale rim so it reads on the dark sky. Clicks still pass through it. */
.falling-figure.is-front{z-index:20;filter:drop-shadow(0 0 1px rgba(220,240,250,.75)) drop-shadow(0 0 14px rgba(175,210,225,.35))}
/* Chosen mode: the figure falls behind the landing blocks, which are frosted glass so it shows through them.
   The assessment panel stays opaque. */
.intro-section{background:rgba(247,249,250,.72);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}
.privacy-strip{background:rgba(14,42,57,.66);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}
.skip-link{z-index:30}
@media print{.falling-figure{display:none}}

/* Report portrait by combination (app.js makePortrait, texts in portrait.js). */
.portrait{margin:25px 0 30px;padding:26px;border:1px solid var(--ui-border,#e4e4e7);border-radius:var(--ui-radius-lg,12px);background:var(--ui-bg,#fff);break-inside:avoid}
.portrait-kicker{display:inline-block;margin:0 0 12px;padding:2px 10px;border-radius:9999px;background:var(--ui-primary,#18181b);color:var(--ui-primary-fg,#fafafa);font-size:11px;font-weight:600;letter-spacing:.06em}
.portrait .section-title{margin-bottom:6px}
.portrait-title{margin:0 0 6px;font-size:clamp(22px,2.6vw,28px);font-weight:600;line-height:1.25;letter-spacing:-.02em}
.portrait-groups{margin:0 0 16px;color:var(--ui-muted-fg,#71717a);font-size:13px}
.portrait-text{max-width:720px;margin:0 0 18px;font-size:15px;line-height:1.75}
.portrait-facts{display:grid;grid-template-columns:minmax(150px,200px) 1fr;gap:12px 18px;margin:0;padding-top:16px;border-top:1px solid var(--ui-border,#e4e4e7)}
.portrait-facts dt{color:var(--ui-muted-fg,#71717a);font-size:13px;font-weight:500}
.portrait-facts dd{margin:0;font-size:14px;line-height:1.6}
.portrait-note{margin:18px 0 0;color:var(--ui-muted-fg,#71717a);font-size:12px;line-height:1.6}
@media(max-width:700px){.portrait{padding:20px 16px}.portrait-facts{grid-template-columns:1fr;gap:4px}.portrait-facts dd{margin-bottom:10px}}

/* Report: detailed cards for the three leading directions and a compact list of the others. */
.lead-cards>.section-title{margin:6px 0 4px}
.who-block .who-text{color:var(--ui-fg,#09090b);font-size:15px;line-height:1.75}
.strength-list{margin:0;padding-left:18px;color:var(--ui-fg,#09090b);font-size:14px;line-height:1.7}
.direction-more{margin:0 0 38px}
.direction-row{margin-top:8px;border:1px solid var(--ui-border,#e4e4e7);border-radius:var(--ui-radius,8px);background:var(--ui-bg,#fff);break-inside:avoid}
.direction-row>summary{display:grid;grid-template-columns:minmax(150px,210px) 1fr auto;align-items:center;gap:12px;padding:12px 14px;cursor:pointer;list-style:none}
.direction-row>summary::-webkit-details-marker{display:none}
.direction-row>summary:hover{background:var(--ui-muted,#f4f4f5)}
.direction-row[open]>summary{border-bottom:1px solid var(--ui-border,#e4e4e7)}
.direction-name{font-size:14px;font-weight:600}
.direction-short{color:var(--ui-muted-fg,#71717a);font-size:13px;line-height:1.45}
.direction-score{font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}
.direction-row>.direction-intro,.direction-row>.report-block{margin:12px 14px}
.direction-row>.direction-intro{color:var(--ui-muted-fg,#71717a);font-size:14px}
@media(max-width:700px){.direction-row>summary{grid-template-columns:1fr auto;gap:4px 10px}.direction-short{grid-column:1/-1;grid-row:2}}

/* Module 2 closing screen: the answers list is collapsed under one line. */
.review-details{margin-top:22px;border:1px solid var(--ui-border,#e4e4e7);border-radius:var(--ui-radius,8px);background:var(--ui-bg,#fff)}
.review-details>summary{padding:13px 16px;font-size:14px;font-weight:500;cursor:pointer;list-style-position:inside}
.review-details>summary:hover{background:var(--ui-muted,#f4f4f5)}
.review-details[open]>summary{border-bottom:1px solid var(--ui-border,#e4e4e7)}
.review-details>.review-list{padding:12px}
@media print{.review-details{display:none}}

/* Module 1 question stem ("How often in the past 3 months…") shown above each statement. */
.question-stem{max-width:760px;margin:0 0 10px;color:var(--ui-muted-fg,#71717a);font-size:14px;line-height:1.5}

/* Walking figure on the progress bar (app.js progress()): stands on the line and walks forward with the fill.
   The rail is narrower than the lane by the figure's width, so at 100% the figure ends at the right edge. */
.progress-lane{--walker-h:56px;position:relative;height:var(--walker-h);margin-bottom:1px}
.progress-walker-rail{position:absolute;top:0;bottom:0;left:0;right:calc(var(--walker-h) * 145 / 220)}
.progress-walker-mover{position:absolute;inset:0;transition:transform .7s cubic-bezier(.4,0,.2,1)}
.progress-walker{position:absolute;bottom:0;left:0;width:auto;height:100%;pointer-events:none;user-select:none}
.progress-walker-mover.is-walking .progress-walker{animation:walker-step .35s ease-in-out infinite alternate}
@keyframes walker-step{from{transform:translateY(0) rotate(0)}to{transform:translateY(-2px) rotate(1.5deg)}}
.progress-track span{transition:transform .7s cubic-bezier(.4,0,.2,1)}
@media(max-width:700px){.progress-lane{--walker-h:44px}}
@media(prefers-reduced-motion:reduce){.progress-walker-mover,.progress-track span{transition:none}.progress-walker-mover.is-walking .progress-walker{animation:none}}
@media print{.progress-lane{display:none}}

/* shadcn/ui look for the assessment and report: zinc palette, 8px radius, cards, radio cards, pill badges.
   The landing (hero, approach, privacy strip) keeps its own look. */
:root{--ui-bg:#fff;--ui-fg:#09090b;--ui-muted:#f4f4f5;--ui-muted-fg:#71717a;--ui-border:#e4e4e7;--ui-primary:#18181b;--ui-primary-hover:#27272a;--ui-primary-fg:#fafafa;--ui-danger:#dc2626;--ui-radius:8px;--ui-radius-lg:12px}
.shell{padding:0;background:transparent;box-shadow:none}
.panel{border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);background:var(--ui-bg);color:var(--ui-fg);box-shadow:0 1px 2px rgba(0,0,0,.05),0 20px 50px rgba(0,0,0,.18)}
.privacy-note{color:#e4e4e7}
/* Badge above the title (app.js converts the stored capitals to sentence case, keeping "TALAP"). */
#eyebrow{display:inline-block;margin-bottom:14px;padding:2px 10px;border:1px solid var(--ui-border);border-radius:9999px;background:var(--ui-muted);color:var(--ui-fg);font-size:12px;font-weight:600;letter-spacing:0;text-transform:none}
#eyebrow:empty{display:none}
#title{font-size:clamp(28px,3.6vw,40px);font-weight:700;letter-spacing:-.025em}
.panel .body-copy,.report-card>p,.career-intro{color:var(--ui-muted-fg);font-size:15px}
.panel .notice{padding:14px 16px;border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-bg);color:var(--ui-fg);font-size:14px}
/* Buttons */
.panel .button{min-height:40px;padding:8px 16px;border-radius:var(--ui-radius);font-size:14px;font-weight:500;transition:background-color .15s ease,border-color .15s ease,color .15s ease}
.panel .button-primary{border-color:var(--ui-primary);background:var(--ui-primary);color:var(--ui-primary-fg)}
.panel .button-primary:hover:not(:disabled){border-color:var(--ui-primary-hover);background:var(--ui-primary-hover)}
.panel .button-secondary{border:1px solid var(--ui-border);background:var(--ui-bg);color:var(--ui-fg)}
.panel .button-secondary:hover{background:var(--ui-muted)}
.panel .review-list .button{min-height:36px;padding:6px 12px;font-size:13px}
/* Progress */
.progress-meta{color:var(--ui-muted-fg);font-size:13px}
.progress-meta strong{color:var(--ui-fg)}
.progress-track{height:8px;overflow:hidden;border-radius:9999px;background:var(--ui-muted)}
.progress-track span{border-radius:9999px;background:var(--ui-primary)}
/* Question and radio cards */
.question-prompt{font-size:clamp(22px,2.2vw,26px);font-weight:600;line-height:1.35;letter-spacing:-.02em}
.options{gap:8px}
.options label{min-height:52px;padding:12px 14px;border:1px solid var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-bg)}
.options label:hover{border-color:var(--ui-border);background:var(--ui-muted)}
.options label span{color:var(--ui-fg);font-size:14px}
.options label strong{position:relative;width:18px;height:18px;border:1px solid var(--ui-primary);color:transparent;font-size:0}
.options input:checked+label{border-color:var(--ui-primary);background:var(--ui-bg);box-shadow:0 0 0 1px var(--ui-primary)}
.options input:checked+label strong::after{position:absolute;inset:3px;border-radius:50%;background:var(--ui-primary);content:""}
.options .option-na{border-style:dashed;background:var(--ui-bg)}
.question-card.has-error .options{padding:0;border:0}
.question-card.has-error .options label{border-color:var(--ui-danger)}
.question-error{color:var(--ui-danger);font-weight:500}
/* Lists */
.anchor-list li,.review-list li{border-color:var(--ui-border);border-radius:var(--ui-radius)}
.exclude-option{border-color:var(--ui-border);border-radius:var(--ui-radius);background:var(--ui-bg)}
.exclude-option:hover{border-color:var(--ui-border);background:var(--ui-muted)}
.exclude-option:has(input:checked){border-color:var(--ui-primary);background:var(--ui-bg);box-shadow:0 0 0 1px var(--ui-primary)}
.exclude-option input{accent-color:var(--ui-primary)}
/* Report */
.top-results{border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);background:var(--ui-bg);color:var(--ui-fg)}
.top-label{color:var(--ui-muted-fg);font-size:13px;font-weight:500;letter-spacing:0;text-transform:none}
.top-list{font-size:17px}
.top-note{color:var(--ui-muted-fg)}
.chart-section,.report-card,.career-card,.excluded-summary,.connect-section{border:1px solid var(--ui-border);border-radius:var(--ui-radius-lg);background:var(--ui-bg)}
.section-title,.report-title{font-size:22px;font-weight:600}
.report-card-header{border-color:var(--ui-border)}
.report-block{border-color:var(--ui-border)}
.report-block h3,.career-card h4{color:var(--ui-fg);font-size:13px;letter-spacing:0;text-transform:none}
.counted{color:var(--ui-muted-fg)}
.bar-rail{height:8px;overflow:hidden;border-radius:9999px;background:var(--ui-muted)}
.bar-fill{border-radius:9999px;background:var(--ui-primary)}
.bar-label,.bar-value{font-size:13px}
.score,.career-card .career-score{display:inline-flex;padding:2px 10px;border-radius:9999px;background:var(--ui-primary);color:var(--ui-primary-fg);font-size:12px;font-weight:600}
@media(max-width:700px){.bar-label,.bar-value{font-size:11px}.interest-bar-row .bar-value{font-size:10px}}
@media print{
  body.printing-report .top-results{border:1px solid #ccc;background:#fff!important;color:#111!important}
  body.printing-report .score,body.printing-report .career-card .career-score,body.printing-report .bar-fill,body.printing-report .progress-track span{print-color-adjust:exact;-webkit-print-color-adjust:exact}
}
