:root{--blue:#075a91;--blue-dark:#073a61;--gold:#f2b531;--ink:#17212b;--muted:#53616b;--paper:#fff;--soft:#eef6fa;--line:#d7e2e8}*{box-sizing:border-box}body{margin:0;background:linear-gradient(150deg,#e8f2f7 0,#f7f9f9 36rem);color:var(--ink);font:16px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.wrap{max-width:1040px;margin:auto;padding:32px 20px 56px}.hero,section,footer,dialog form{background:var(--paper);border-radius:18px;padding:30px;margin-bottom:20px;box-shadow:0 8px 25px #163b5012}.hero{display:flex;align-items:center;gap:28px;background:linear-gradient(125deg,var(--blue-dark),var(--blue));color:#fff}.hero img{width:150px;max-height:108px;object-fit:contain;filter:drop-shadow(0 2px 4px #0005)}h1,h2,h3{line-height:1.15;margin:.2em 0 .55em}h1{font-size:clamp(2rem,5vw,3rem)}h2{font-size:clamp(1.45rem,3vw,2rem)}h3{font-size:1.15rem}.eyebrow,.section-label{margin:0 0 .55rem;color:var(--blue);font-size:.78rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.hero .eyebrow{color:#d7edfb}.hero p:last-child{max-width:42rem;font-size:1.14rem;margin-bottom:0}.button,button{display:inline-block;border:0;border-radius:8px;background:var(--blue);color:#fff;padding:11px 16px;font:inherit;font-weight:750;text-decoration:none;cursor:pointer;transition:transform .15s,background .15s}.button:hover,button:hover{background:#044673;transform:translateY(-1px)}.secondary{background:#315d73}.start{border-top:5px solid var(--gold)}.preflight{background:linear-gradient(135deg,#fff,#f4fbff)}.readiness{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}.readiness label{display:flex;align-items:center;gap:16px;margin:0;padding:15px;border:1px solid var(--line);border-radius:12px;background:#fff}.readiness label span{flex:1}.readiness strong,.readiness small{display:block}.readiness small{margin-top:2px;color:var(--muted);font-weight:400;font-size:.88rem}.readiness select{min-width:130px;padding:9px;border:1px solid #aebfc9;border-radius:7px;background:#fff;font:inherit}.readiness-result{margin:18px 0 0;padding:12px 14px;border-left:4px solid var(--gold);background:#fff9e7;font-weight:650}.example{display:grid;grid-template-columns:1.25fr .75fr;gap:28px;align-items:center}.example ol{padding-left:1.35rem}.example li{margin:.55rem 0}.note{border-left:4px solid var(--blue);padding-left:13px;color:#334c5e}.screenshot{display:block;text-decoration:none;color:var(--blue);font-weight:750}.screenshot img{display:block;width:100%;max-width:310px;margin-bottom:8px;border:1px solid var(--line);border-radius:10px;box-shadow:0 5px 15px #073a6120}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.cards article{position:relative;padding:22px 18px 18px;border-radius:13px;background:var(--soft)}.cards article>span{display:grid;place-items:center;width:31px;height:31px;margin-bottom:18px;border-radius:50%;background:var(--blue);color:#fff;font-weight:800;font-size:.85rem}.cards p{min-height:4.4em}.faq details{padding:14px 0;border-top:1px solid var(--line)}.faq summary{font-weight:750;cursor:pointer}footer{text-align:center;color:#345}footer small{color:var(--muted)}dialog{border:0;border-radius:16px;max-width:740px;width:calc(100% - 24px);box-shadow:0 20px 60px #0006}dialog::backdrop{background:#00243c99}dialog form{box-shadow:none;margin:0;padding:4px}fieldset{margin:18px 0;padding:4px 0 14px;border:0;border-bottom:1px solid var(--line)}legend{font-weight:800}form label{display:block;margin:10px 0;font-weight:650}input{display:block;width:100%;padding:10px;margin-top:4px;border:1px solid #9aa8af;border-radius:7px;font:inherit}.close{float:right;background:none;color:#222;font-size:1.8rem;line-height:1;padding:0}.result{font-weight:700}@media(max-width:740px){.wrap{padding:14px}.hero{padding:24px;align-items:flex-start;gap:16px}.hero img{width:94px}.readiness,.example,.cards{grid-template-columns:1fr}.readiness label{align-items:flex-start;flex-direction:column;gap:8px}.readiness select{width:100%}.screenshot img{max-width:100%}.cards p{min-height:0}}@media(max-width:430px){.hero{display:block}.hero img{margin-bottom:16px}}
/* Each answer stays with its question, including on narrow screens. */
.readiness{grid-template-columns:1fr;gap:16px}
.material-question{padding:18px;border:1px solid var(--line);border-radius:12px;background:#fff}
.readiness .material-question label{display:block;border:0;border-radius:0;padding:0;margin:0 0 10px;background:none}
.material-question select{width:100%;max-width:340px}
.material-help{margin-top:12px;padding:12px 14px;background:var(--soft);border-left:3px solid var(--blue);line-height:1.6}
.material-help a{color:var(--blue-dark);font-weight:750;text-underline-offset:3px}
[hidden]{display:none!important}
textarea{display:block;width:100%;resize:vertical;padding:10px;margin-top:4px;border:1px solid #9aa8af;border-radius:7px;font:inherit}
.experience+.experience{margin-top:20px;padding-top:20px;border-top:1px solid var(--line)}
button:disabled{opacity:.65;cursor:wait}
#cv-sportivo{scroll-margin-top:20px}
/* A compact, clearly grouped CV editor; optional education stays out of the way. */
#generator{padding:24px;max-height:90vh;background:#f7fafc}
#cv-form{background:transparent;padding:0}
#cv-form>h2{padding-right:36px;color:var(--blue-dark)}
#cv-form>p{color:var(--muted)}
#cv-form fieldset{padding:18px;margin:24px 0;border:1px solid var(--line);border-radius:12px;background:#fff}
#cv-form legend{padding:0 8px;color:var(--blue-dark);font-size:1.08rem}
#cv-form fieldset>p,.field-hint{margin:0 0 14px;color:var(--muted);font-size:.9rem}
#cv-form .experience{display:grid;grid-template-columns:1fr 1fr;gap:12px 16px}
#cv-form .experience label{margin:0;font-size:.92rem}
#cv-form .wide-field,#cv-form .experience label:has(textarea){grid-column:1/-1}
#cv-form .experience>.close{grid-column:1/-1;justify-self:end}
#cv-form input,#cv-form textarea{background:#fff;border-color:#bdcdd7;min-height:44px}
#cv-form :is(input,textarea,button,summary):focus-visible{outline:3px solid #f2b531;outline-offset:3px}
#cv-form [data-add-experience],#cv-form [data-add-formation]{margin-top:16px;background:var(--soft);color:var(--blue-dark);border:1px solid var(--line);font-size:.9rem}
.cv-optional{margin:24px 0;border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}
.cv-optional summary{display:flex;align-items:center;gap:12px;padding:18px;cursor:pointer;color:var(--blue-dark);font-weight:750;list-style:none}
.cv-optional summary::-webkit-details-marker{display:none}
.cv-optional summary::after{content:'+';margin-left:auto;font-size:1.4rem;line-height:1}
.cv-optional[open] summary::after{content:'−'}
.cv-optional[open] summary{border-bottom:1px solid var(--line);background:var(--soft)}
.optional-badge{padding:3px 9px;border-radius:20px;background:var(--soft);color:var(--muted);font-size:.75rem;font-weight:600}
.cv-optional-content{padding:18px}
#cv-form>button[type=submit]{width:100%;padding:14px}
@media(max-width:540px){#generator{padding:16px}#cv-form .experience{grid-template-columns:1fr}#cv-form fieldset{padding:14px}.cv-optional summary{flex-wrap:wrap;padding:14px;gap:8px}.cv-optional-content{padding:14px}}
