@font-face{font-family:Montserrat;src:url('/assets/fonts/Montserrat-400.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Montserrat;src:url('/assets/fonts/Montserrat-600.ttf') format('truetype');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:Montserrat;src:url('/assets/fonts/Montserrat-700.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:Montserrat;src:url('/assets/fonts/Montserrat-800.ttf') format('truetype');font-weight:800;font-style:normal;font-display:swap}
@font-face{font-family:'IBM Plex Mono';src:url('/assets/fonts/IBMPlexMono-500.ttf') format('truetype');font-weight:500;font-style:normal;font-display:swap}

:root{--background:hsl(220 33% 98%);--foreground:hsl(222 47% 11%);--primary:hsl(214 90% 45%);--primary-glow:hsl(205 100% 60%);--muted:hsl(215 16% 47%);--border:hsl(214 32% 91%);--tint:hsl(214 100% 96%);--danger:#b42335;--sidebar:300px;--mono:'IBM Plex Mono',monospace}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;min-width:320px;font:400 14px/1.75 Montserrat,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:var(--background);color:var(--foreground)}
button,input,textarea,select{font:inherit}
button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}
button{cursor:pointer;border:0}
button:disabled{cursor:not-allowed;opacity:.5}
a{color:inherit}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #60a5fa;outline-offset:4px}
input:focus-visible,textarea:focus-visible,select:focus-visible{outline:none;border-color:var(--primary);box-shadow:0 0 0 4px #0b65da12}
::selection{background:#0b65da25;color:var(--foreground)}
h1,h2,h3,p{margin:0}
h1,h2,h3{font-family:Montserrat,sans-serif;font-weight:700;letter-spacing:-.035em}
h1{font-size:39px;line-height:1.17;max-width:670px}
.topbar{height:88px;display:flex;align-items:center;justify-content:space-between;padding:0 48px;border-bottom:1px solid var(--border);background:#ffffffee}
.brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-size:22px;font-weight:700;letter-spacing:-.7px;line-height:1.1}
.brand-symbol{width:37px;height:30px;position:relative;overflow:hidden;flex-shrink:0}
.brand-symbol img{position:absolute;width:80px;height:80px;max-width:none;left:-22px;top:-20.7px}
.brand-label{display:block;font-family:var(--mono);font-size:9px;font-weight:500;letter-spacing:1.5px;margin-top:8px;color:var(--primary)}
.header-right{display:flex;gap:34px;align-items:center}
.header-note{font:500 10px var(--mono);color:var(--muted);letter-spacing:1px}
.text-button{color:var(--primary);background:transparent;padding:8px 0;font-size:12px;display:inline-flex;gap:8px;align-items:center;font-weight:600}
.help-icon{border:1px solid #9aabbd;border-radius:50%;width:19px;height:19px;line-height:17px;text-align:center;font-size:12px}
.app-shell{max-width:1240px;margin:32px auto 0;padding:0 24px;display:grid;grid-template-columns:246px minmax(0,1fr);gap:30px;align-items:start}
.sidebar{padding:25px 18px;background:linear-gradient(145deg,#fbfcff,#f1f6fc);border:1px solid var(--border);border-radius:18px;display:flex;flex-direction:column;position:sticky;top:24px;align-self:start;height:auto;min-height:0;overflow:visible}
.sidebar-intro,.step-nav,.step-item{flex-shrink:0}
.content-column{min-width:0}
.eyebrow{color:var(--primary);font:500 10px/1.7 var(--mono);letter-spacing:1.15px}
.sidebar h2{font-size:23px;line-height:1.3;margin-top:15px}
.sidebar h2 span{color:var(--primary)}
.sidebar-intro>p{display:none}
.step-nav{display:flex;flex-direction:column;gap:6px;margin-top:23px}
.step-item{display:flex;align-items:center;gap:12px;text-align:left;background:transparent;padding:12px 9px;width:100%;border-radius:14px;color:#77879a;transition:background .15s}
.step-item:hover{background:#eaf1fb}
.step-item.active{background:#e5efff;color:var(--primary)}
.step-number{height:33px;width:33px;flex-shrink:0;border:1px solid #d2dfef;display:grid;place-items:center;border-radius:50%;font:500 11px var(--mono);background:#fff}
.step-item.active .step-number{background:var(--primary);border-color:var(--primary);color:#fff;box-shadow:0 5px 15px #0b65da20}
.step-item.completed .step-number{border-color:#b4ceef;background:#eef5ff;color:var(--primary)}
.step-copy{display:flex;flex-direction:column;gap:1px}
.step-copy strong{font-size:12px;font-weight:600}
.step-copy small{font-size:10px;color:#7e8ea1}
main{width:100%;padding:32px 34px 0;min-width:0;background:#fff;border:1px solid var(--border);border-radius:18px}
.main-topline{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:25px}
.draft-status{color:#7f8da0;font-size:10px;display:flex;align-items:center;gap:6px}
.status-dot{height:5px;width:5px;background:#5a8bce;border-radius:50%}
.page-lede{margin-top:17px;color:var(--muted);font-size:13px;max-width:590px;line-height:1.9}
.hero-card{display:flex;align-items:center;justify-content:space-between;background:linear-gradient(125deg,#eef5ff,#f8fbff);border:1px solid #dce8f8;border-radius:16px;padding:19px 22px;margin:27px 0 28px;gap:16px}
.hero-card strong{font-size:12px;font-weight:600;color:var(--primary)}
.hero-card p{font-size:11px;color:#70829b;margin-top:4px;line-height:1.85}
.hero-art{width:60px;height:60px;flex-shrink:0;position:relative;display:grid;place-items:center;color:#fff;background:radial-gradient(circle at 35% 25%,#70c7ff,#2380ea 60%,#1257c0);border-radius:50%;box-shadow:0 0 0 7px #dbeafe66,0 0 0 14px #e6f1ff55,0 12px 25px #0b65da12;margin-right:6px}
.hero-art span{font-size:26px}
.section-label{display:flex;align-items:center;gap:10px;margin:31px 0 19px;font:500 10px/1.7 var(--mono);letter-spacing:1px;color:var(--primary)}
.section-label:after{content:'';height:1px;background:var(--border);flex:1}
.section-label:first-of-type{margin-top:25px}
.required-explainer{font-family:Montserrat,sans-serif;font-size:10px;font-weight:400;letter-spacing:0;color:var(--muted)}
.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 20px}
.field{display:flex;flex-direction:column;gap:8px;min-width:0;margin-bottom:22px}
.field-grid .field{margin-bottom:0}
.field-label,.field>label,.field legend{font-size:12px;font-weight:600;color:var(--foreground)}
.optional{font-size:10px;color:#8491a3;font-weight:400;margin-left:4px}
.required-star{color:var(--primary);margin-left:4px}
.field-hint{font-size:11px;color:#7a899d;line-height:1.85;margin-top:-2px}
.input,textarea,select{background:#fff;border:1px solid #dce3ed;border-radius:11px;padding:12px 14px;width:100%;min-height:47px;color:var(--foreground);font-size:12px;transition:border-color .15s,box-shadow .15s}
.input::placeholder,textarea::placeholder{color:#9aa7b8;opacity:1}
textarea{resize:vertical;min-height:106px;line-height:1.9}
.field-question{margin-top:28px}
.question-heading{display:flex;gap:10px;align-items:flex-start;margin-bottom:7px}
.question-tag{color:var(--primary);background:#eef5ff;font:500 10px var(--mono);min-width:29px;height:24px;display:grid;place-items:center;border-radius:7px;line-height:1;margin-top:1px;flex-shrink:0}
.question-heading label,.question-heading .field-label{font-size:13px;line-height:1.8}
.radio-group,.chip-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:3px}
.choice{border:1px solid var(--border);border-radius:12px;background:#fff;cursor:pointer;padding:13px 14px;display:flex;align-items:center;gap:10px;min-height:49px;font-size:12px;position:relative;line-height:1.7;transition:background .15s,border-color .15s}
.choice:hover{border-color:#95b9e9;background:#fcfdff}
.choice:has(input:checked){background:#edf5ff;border-color:#68a0e6;color:var(--primary)}
.choice input{accent-color:var(--primary);height:16px;width:16px;flex-shrink:0;margin:0}
.choice-details{display:flex;flex-direction:column;gap:4px}
.choice-details strong{font-size:12px;font-weight:500}
.choice-details small{font-size:10px;color:#7b8da5;line-height:1.7}
.choice:has(input:focus-visible){outline:3px solid #60a5fa;outline-offset:2px}
.choice input:focus-visible{outline:none;box-shadow:none}
.wide-choice{grid-template-columns:1fr}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chips .choice{min-height:38px;padding:8px 12px}
.chip-grid .choice{align-items:flex-start;padding:15px 14px}
.small-callout{border-left:2px solid #6ea7ef;background:#f1f6fd;padding:13px 16px;font-size:11px;color:#72849d;border-radius:0 9px 9px 0;margin:21px 0}
.small-callout strong{color:var(--primary)}
.draft-controls{display:flex;align-items:center;justify-content:space-between;padding-top:28px;gap:10px}
.draft-toggle{font-size:10px;color:#78879b;display:flex;align-items:center;gap:7px;cursor:pointer}
.draft-toggle input{accent-color:var(--primary);width:14px;height:14px}
.muted{color:#8190a3;font-size:10px}
.privacy-line{font-size:10px;line-height:1.9;color:#8995a6;max-width:590px;margin:9px 0 22px}
.form-footer{border-top:1px solid var(--border);padding:21px 0 27px;display:flex;align-items:center;justify-content:space-between;gap:15px}
.button{min-height:46px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;gap:15px;font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.1px;padding:13px 22px;line-height:1.5;transition:background .15s,transform .15s,box-shadow .15s}
.button-primary{background:var(--primary);color:#fff;box-shadow:0 6px 16px #0b65da18}
.button-primary:hover{background:#0957bd;box-shadow:0 8px 22px #0b65da25}
.button-primary:hover span{transform:translateX(2px)}
.button span{transition:transform .15s;font-size:17px;line-height:1}
.button-ghost{background:transparent;color:#71839b;padding-left:0}
.button-ghost:hover{color:var(--primary)}
.button-outline{background:#fff;border:1px solid #aac6e9;color:var(--primary)}
.button-outline:hover{background:#edf5ff}
.button-danger{background:var(--danger);color:white}
.footer-progress{font:500 10px var(--mono);color:#8491a3}
.error{font-size:11px;color:var(--danger);margin-top:2px}
.invalid .input,.invalid textarea,.invalid select{border-color:var(--danger)}
.invalid .choice{border-color:#df9ca7}
.pain-card{border:1px solid var(--border);background:#fff;border-radius:14px;padding:16px;margin:12px 0}
.pain-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:11px;font-size:11px;gap:10px}
.pain-header strong{color:var(--primary);font-weight:600}
.pain-card textarea{min-height:80px;background:#fbfcff}
.pain-time{display:flex;align-items:center;gap:10px;margin-top:10px;font-size:10px;color:#7c8ca2}
.pain-time input{width:75px;min-height:34px;padding:6px 10px;font-size:11px}
.rank-list{margin:15px 0 20px;display:grid;gap:8px}
.rank-item{display:flex;align-items:center;gap:11px;padding:10px 13px;background:#eef5ff;border-radius:10px;font-size:11px}
.rank-position{font:500 10px var(--mono);display:grid;place-items:center;height:25px;width:25px;border-radius:50%;border:1px solid #b2cced;flex-shrink:0}
.rank-item>span:nth-child(2){flex:1}
.rank-actions{display:flex;gap:5px}
.rank-actions button{background:#fff;color:var(--primary);border-radius:7px;width:30px;height:30px;line-height:1}
.weekdays{display:flex;flex-wrap:wrap;gap:8px}
.weekdays .choice{padding:9px 11px;min-height:38px;font-size:11px}
.weekdays input{width:14px;height:14px}
.review-hero{border:1px solid #d5e5fb;border-radius:16px;background:#edf5ff;padding:22px;margin:27px 0;display:flex;gap:15px;align-items:center}
.review-hero .big-icon{height:46px;width:46px;border-radius:50%;background:#dbeafe;display:grid;place-items:center;color:var(--primary);font-size:24px;flex-shrink:0}
.review-hero strong{font-size:13px;font-weight:600}
.review-hero p{font-size:11px;color:#7388a2;margin-top:5px}
.review-section{background:#fff;border:1px solid var(--border);border-radius:15px;padding:20px 23px;margin-bottom:16px}
.review-header{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #edf2f9;padding-bottom:11px;margin-bottom:15px}
.review-header h3{font-size:13px;color:var(--primary);font-weight:600}
.review-header button{font-size:10px}
.review-row{display:grid;grid-template-columns:180px minmax(0,1fr);gap:15px;margin:13px 0;font-size:11px;line-height:1.9}
.review-row dt{color:#7f8da1}
.review-row dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;color:#334155}
.empty-answer{color:#96a2b2!important;font-style:italic}
.review-row ul,.review-row ol{padding-left:16px;margin:0}
.download-panel{margin-top:27px;border:1px solid #d1e3fc;background:linear-gradient(130deg,#edf5ff,#f8fbff);padding:23px 25px;border-radius:16px}
.download-panel h3{font-size:15px;color:var(--primary);font-weight:600}
.download-panel p{font-size:12px;color:#72859e;margin-top:8px}
.download-actions{display:flex;gap:11px;flex-wrap:wrap;margin-top:19px}
.download-success{margin-top:17px;display:flex;gap:11px;font-size:11px;line-height:1.9;color:var(--primary)}
.success-icon{font-size:19px}
.modal{width:min(550px,calc(100% - 32px));border:1px solid var(--border);border-radius:22px;background:#fff;color:var(--foreground);padding:35px;box-shadow:0 25px 80px #10264025}
.modal::backdrop{background:#12253b55;backdrop-filter:blur(5px)}
.modal h2{font-size:27px;margin:13px 0 22px;line-height:1.35}
.modal p{font-size:12px;line-height:1.9;color:var(--muted)}
.close-modal{position:absolute;right:18px;top:11px;font-size:25px;background:transparent;color:#8292a8}
.guide-list{list-style:none;padding:0;display:flex;flex-direction:column;gap:23px;margin:27px 0}
.guide-list li{display:flex;gap:16px}
.guide-list li>span{height:34px;width:34px;display:grid;place-items:center;border-radius:50%;background:#e6f0ff;color:var(--primary);font:500 11px var(--mono);flex-shrink:0}
.guide-list strong{font-size:12px;font-weight:600}
.guide-list p{margin-top:6px}
.modal .modal-note{font-size:11px;padding-top:19px;border-top:1px solid var(--border);margin-bottom:24px}
.small-modal{max-width:470px}
.small-modal h2{font-size:25px;margin-top:0}
.modal-actions{display:flex;justify-content:flex-end;gap:20px;margin-top:23px}
.toast{position:fixed;bottom:23px;left:50%;transform:translateX(-50%);padding:14px 23px;border-radius:12px;background:#102640;color:#fff;font-size:12px;box-shadow:0 4px 25px #12253b30;max-width:90vw;z-index:20}
.skip-link{position:fixed;left:20px;top:-100px;background:#fff;padding:10px;z-index:40}
.skip-link:focus{top:10px}
.mobile-progress{display:none}
.noscript{padding:20px;color:var(--danger)}
.loading-message{font-size:12px;color:var(--muted)}
.spin{display:inline-block;width:15px;height:15px;border:2px solid #ffffff70;border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.form-page{animation:fade .18s ease}
@keyframes fade{from{opacity:.4;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
.survey-about{width:100%;margin:24px 0 0;padding:29px 34px;background:#fff;border:1px solid var(--border);border-radius:18px;display:flex;flex-direction:column;gap:28px}
.about-intro h2{font-size:22px;line-height:1.4;margin:15px 0}
.about-intro h2 span{color:var(--primary)}
.about-intro{border-top:1px solid var(--border);padding-top:27px}
.about-intro p{color:var(--muted);font-size:12px;line-height:1.95;margin-top:12px;max-width:530px}
.about-link{font-size:12px;font-weight:600;color:var(--primary);display:inline-flex;gap:20px;margin-top:22px;text-decoration:none}
.faq h2{font-size:20px;margin-bottom:10px;font-weight:600}
.faq details{border-bottom:1px solid var(--border);padding:17px 0}
.faq summary{font-size:12px;font-weight:600;cursor:pointer;list-style:none;position:relative;padding-right:25px;line-height:1.9}
.faq summary::-webkit-details-marker{display:none}
.faq summary:after{content:'+';position:absolute;right:0;top:0;font-size:18px;color:var(--primary);font-weight:400}
.faq details[open] summary:after{content:'−'}
.faq details p{font-size:12px;color:var(--muted);line-height:1.95;margin-top:14px}
.site-footer{max-width:1240px;margin:24px auto 0;padding:24px;display:flex;gap:24px;align-items:center;justify-content:space-between;border-top:1px solid var(--border);font-size:10px;color:#7a889e}
.site-footer a{font:500 9px var(--mono);text-decoration:none;letter-spacing:.6px}
.site-footer a:hover{color:var(--primary)}

@media(max-width:1120px){.topbar{padding:0 30px}.app-shell{grid-template-columns:226px minmax(0,1fr);gap:24px}main{padding:30px 27px 0}h1{font-size:35px}.review-row{grid-template-columns:145px 1fr}.survey-about{padding:27px}}
@media(max-width:1024px){.header-note{display:none}.app-shell{display:block;max-width:880px;margin-top:24px}.sidebar{position:static;display:block;padding:0;border:0;border-radius:0;background:transparent;margin-bottom:20px}.sidebar-intro{display:none}.step-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0}.step-item{min-height:55px;padding:11px 12px;gap:9px;background:#fff;border:1px solid var(--border);border-radius:12px}.step-item.active{border-color:#8ab6ee}.step-number{height:27px;width:27px}.step-copy{min-width:0}.step-copy strong{font-size:11px;line-height:1.6}.step-copy small{display:none}.survey-about{margin-top:22px}.site-footer{max-width:880px;margin-top:20px}}
@media(max-width:800px){.topbar{height:75px;padding:0 23px}.field-grid,.radio-group,.chip-grid{grid-template-columns:1fr}.main-topline{flex-wrap:wrap;gap:7px;margin-bottom:22px}.review-row{grid-template-columns:1fr;gap:3px}.hero-card{padding:18px}.hero-art{width:43px;height:43px;box-shadow:0 0 0 5px #dbeafe66,0 0 0 9px #e6f1ff55;margin-right:4px}.hero-art span{font-size:22px}.site-footer{flex-wrap:wrap;gap:12px}.site-footer span{flex:1;font-size:9px}}
@media(max-width:600px){.topbar{height:74px;padding:0 18px}.brand{font-size:19px}.brand-label{font-size:8px}.header-right{gap:0}.app-shell{margin-top:18px;padding:0 16px}.sidebar{margin-bottom:18px}.step-nav{gap:7px}.step-item{min-height:54px;padding:9px 8px;gap:6px}.step-number{height:22px;width:22px;font-size:9px}.step-copy strong{font-size:10px;line-height:1.5}main{padding:26px 20px 0;border-radius:16px}.main-topline{gap:8px;margin-bottom:14px}.main-topline .eyebrow{font-size:9px;letter-spacing:.5px}.draft-status{font-size:9px}.mobile-progress{display:block;height:3px;background:#e4ecf7;border-radius:4px;margin-bottom:25px;overflow:hidden}.mobile-progress div{height:100%;background:var(--primary);transition:width .2s;border-radius:4px}h1{font-size:29px;letter-spacing:-.9px}.page-lede{font-size:12px}.hero-card{margin:25px 0;padding:16px 14px}.hero-card p{font-size:11px;max-width:250px}.hero-art{width:34px;height:34px;box-shadow:0 0 0 3px #dbeafe66,0 0 0 6px #e6f1ff55}.section-label{margin-top:28px}.field-grid{gap:18px}.field-hint{font-size:11px}.input,textarea,select{font-size:16px;min-height:49px;padding:12px 13px}.input::placeholder,textarea::placeholder{font-size:12px}.choice{font-size:12px;min-height:49px}.choice-details strong{font-size:12px}.choice-details small{font-size:10px}.field-question{margin-top:29px}.question-heading label,.question-heading .field-label{font-size:13px}.footer-progress{font-size:9px}.button{padding:13px 16px;font-size:11px}.button-ghost{padding-left:0}.form-footer{padding:20px 0 24px;gap:10px}.draft-controls{padding-top:26px}.review-section{padding:18px}.review-row{font-size:12px}.download-panel{padding:20px}.pain-time input{font-size:16px;width:80px}.pain-time{flex-wrap:wrap}.pain-time span{font-size:9px}.pain-card textarea{font-size:16px}.pain-header{flex-wrap:wrap}.privacy-line{font-size:9px}.modal{padding:27px}.modal h2{font-size:25px}.rank-item{font-size:11px}.weekdays .choice{font-size:11px}.download-actions .button{flex:1}.download-actions .button:first-child{flex-basis:100%}.survey-about{margin-top:18px;padding:24px 20px;border-radius:16px;gap:25px}.about-intro h2{font-size:21px}.site-footer{padding:22px 18px}.site-footer span{flex-basis:100%;order:3}.header-right .text-button{font-size:11px}}
@media(max-height:640px) and (min-width:1025px){.sidebar{position:static}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
