
:root{--navy:#17243c;--navy-deep:#111b30;--ink:#20314b;--muted:#667188;--gold:#e7b75f;--gold-soft:#f7e6c6;--cream:#faf8f2;--paper:#fffdf8;--line:#e8e5dd;--white:#fff;--radius:18px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--cream);font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.5;-webkit-font-smoothing:antialiased}body::selection{background:var(--gold-soft)}.grain{pointer-events:none;position:fixed;inset:0;z-index:40;opacity:.12;background-image:radial-gradient(#59627b 0.4px,transparent .45px);background-size:7px 7px;mix-blend-mode:multiply}.wrap{width:min(1140px,calc(100% - 48px));margin-inline:auto}.site-header{background:var(--navy);position:relative;z-index:2;border-bottom:1px solid #354059}.navbar{height:82px;display:flex;justify-content:space-between;align-items:center}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:#fff}.brand-mark{font-size:28px;color:var(--gold);border:1.5px solid #806e55;border-radius:50%;height:42px;width:42px;display:grid;place-items:center}.brand-name{font-weight:800;letter-spacing:.16em;line-height:1.15;font-size:16px}.brand-name strong{color:var(--gold)}.brand-name small{display:block;font-size:7px;letter-spacing:.19em;color:#aab4c7;margin-top:6px}.header-link{font-size:13px;font-weight:750;color:var(--gold);text-decoration:none}.header-link:hover{text-decoration:underline}.hero{display:grid;grid-template-columns:1.1fr .9fr;gap:54px;min-height:540px;align-items:center;padding-block:55px 67px}.eyebrow,.overline,.preview-topline{font-size:11px;letter-spacing:.18em;font-weight:850;color:#9b7844}.eyebrow{display:inline-flex;align-items:center;gap:9px}.pulse{height:8px;width:8px;display:inline-block;background:var(--gold);border-radius:50%;box-shadow:0 0 0 4px #e7b75f32}.hero h1{font-size:clamp(44px,5vw,70px);line-height:1.08;letter-spacing:-.057em;font-weight:840;color:var(--navy);margin:19px 0 22px}.hero h1 em,.section-header h2 em,.result-heading h2 em{font-family:Georgia,serif;font-weight:500;letter-spacing:-.04em;color:#c09047}.hero-copy>p{color:#697486;max-width:560px;line-height:1.85;font-size:16px;margin:0}.hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:18px;margin-top:28px}.btn{appearance:none;font:inherit;font-weight:800;border-radius:9px;padding:14px 19px;display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:49px;border:1px solid transparent;cursor:pointer;text-decoration:none;transition:transform .18s,background .18s,color .18s}.btn:hover{transform:translateY(-2px)}.btn:focus-visible,input:focus-visible,.header-link:focus-visible{outline:3px solid #ecb84e;outline-offset:3px}.btn-primary{background:var(--navy);color:#fff;box-shadow:0 8px 25px #17243c22}.btn-primary:hover{background:#2b3d5a}.btn-outline{background:white;border-color:#d1cfc8;color:var(--navy)}.btn-full{width:100%;font-size:15px;min-height:55px}.small-note{font-size:12px;color:#7f8793}.small-note span{color:#58a082;font-size:17px;font-weight:900}.hero-metrics{display:flex;gap:35px;margin-top:43px}.hero-metrics div{display:flex;flex-direction:column;gap:0}.hero-metrics div:not(:last-child){padding-right:31px;border-right:1px solid #dddcd6}.hero-metrics b{font-size:20px;color:var(--navy)}.hero-metrics span{font-size:11px;color:#808b99;margin-top:2px}.hero-art{height:425px;position:relative;background:radial-gradient(ellipse,#fffaf0 5%,#f1e5d0 60%,transparent 69%);display:flex;align-items:center;justify-content:center;isolation:isolate}.orbit{position:absolute;border:1px solid #dbcaa7;border-radius:50%;width:340px;height:340px;transform:rotate(-15deg)}.orbit-two{width:395px;height:290px;transform:rotate(40deg)}.art-star{position:absolute;color:#c9974b;font-size:30px}.s1{top:24px;right:20%}.s2{bottom:70px;left:8%;font-size:25px}.s3{top:115px;left:10%}.ticket{background:#fffdf4;border:1px solid #dbc99e;position:absolute;box-shadow:0 24px 35px #1c293b20;display:flex;flex-direction:column;text-align:center;align-items:center}.ticket-front{width:262px;height:348px;padding:20px 22px;transform:rotate(7deg);z-index:2}.ticket-top{width:100%;display:flex;justify-content:space-between;border-bottom:1px solid #d5c6a9;padding-bottom:9px;font-size:8px;color:#8b806d;font-weight:850;letter-spacing:.1em}.ticket-icon{font-size:66px;margin-top:30px;filter:drop-shadow(0 6px 5px #19223c12)}.ticket-front strong{font-size:22px;line-height:1.2;letter-spacing:.1em;color:#21334d;margin-top:12px}.ticket-line{width:55px;height:2px;background:var(--gold);margin:21px 0 12px}.ticket-front small{font-size:9px;color:#837969;letter-spacing:.08em}.ticket-seal{position:absolute;bottom:-23px;left:-27px;transform:rotate(-18deg);font-size:10px;font-weight:900;letter-spacing:.12em;color:#a24e45;border:3px double #a24e45;padding:9px;background:#fffaf2}.ticket-back{height:295px;width:225px;transform:translate(-70px,-12px) rotate(-12deg);background:#e7b75f;color:#56472c;padding:25px;justify-content:space-between;font-weight:900;font-size:12px;letter-spacing:.17em}.ticket-symbol{font-family:Georgia,serif;font-size:115px;font-weight:400}.ticket-back small{font-size:8px}.art-caption{position:absolute;bottom:4px;right:10%;font-size:9px;font-weight:900;letter-spacing:.27em;color:#b08b55}.workspace{background:#fff;padding:72px 0 84px;border-top:1px solid #efebe2}.section-header{text-align:center;margin-bottom:36px}.section-header h2,.result-heading h2{font-size:clamp(31px,4vw,45px);line-height:1.13;letter-spacing:-.043em;color:var(--navy);margin:9px 0 9px}.section-header p,.result-heading p{margin:0;font-size:14px;color:#86909b}.workspace-grid{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(300px,.82fr);align-items:start;gap:26px}.builder{padding:32px 35px 35px;border:1px solid #e8e6e1;border-radius:18px;box-shadow:0 16px 50px #1b29450c;background:#fff}.form-section{padding-bottom:28px;margin-bottom:25px;border-bottom:1px solid var(--line)}.form-heading{display:flex;gap:13px;align-items:center;margin-bottom:25px}.step{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#f9edd5;color:#957039;font-family:Georgia,serif;font-size:16px;font-weight:750;flex-shrink:0}.form-heading h3{font-size:17px;line-height:1.2;margin:0 0 4px;color:#243249}.form-heading p{font-size:12px;color:#9499a4;margin:0}.field-label{font-size:12px;font-weight:800;color:#3c4860;display:block;margin:0 0 9px}#heroName{width:100%;border-radius:8px;border:1px solid #e2dfd8;background:#fefdfa;color:#2b3549;padding:13px 14px;font-size:15px;outline:none}#heroName:focus{border-color:#cfa45f}.field-help{display:block;font-size:10px;color:#9aa1a9;margin:7px 0 20px}.choices-fieldset{margin:0;padding:0;border:0;min-width:0}.age-options,.two-options{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.two-options{grid-template-columns:1fr 1fr;margin-bottom:16px}.age-options label,.two-options label{cursor:pointer;min-width:0}.age-options input,.two-options input,.theme-option input{position:absolute;opacity:0;width:1px;height:1px}.age-options span,.two-options span{min-height:43px;display:grid;place-items:center;padding:8px 5px;border:1px solid #e5e2dd;border-radius:8px;background:#fff;color:#5b6472;font-weight:750;font-size:12px;text-align:center}.two-options span{font-size:12px;min-height:48px}.age-options input:checked+span,.two-options input:checked+span{border-color:#d09c47;color:#8b642c;background:#fef7e8;box-shadow:0 0 0 1px #d09c477a}.age-options input:focus-visible+span,.two-options input:focus-visible+span,.theme-option input:focus-visible+.theme-card{outline:3px solid #e7b75f;outline-offset:3px}.theme-options{display:grid;gap:10px}.theme-option{cursor:pointer}.theme-card{min-height:78px;display:flex;align-items:center;gap:14px;border:1px solid #e9e6df;border-radius:9px;padding:12px 14px;transition:border-color .2s,background .2s}.theme-emoji{font-size:30px;display:grid;place-items:center;width:45px;height:43px;border-radius:8px;background:#f7f3eb}.theme-label{flex:1}.theme-label strong{display:block;font-size:13px;color:#26354d}.theme-label small{display:block;font-size:11px;color:#8992a0;margin-top:3px}.check-dot{border:1px solid #d4d1ca;border-radius:50%;height:17px;width:17px}.theme-option input:checked+.theme-card{border:1.5px solid #caa16a;background:#fffaf0}.theme-option input:checked+.theme-card .check-dot{background:#cb9d53;border:4px solid #fffcf6;box-shadow:0 0 0 1px #caa16a}.builder .form-section:last-of-type{margin-bottom:26px}.form-footer{text-align:center;font-size:11px;color:#99a0ac;margin:13px 0 0}.preview-card{background:var(--navy);border-radius:17px;padding:23px 25px 0;color:white;position:sticky;top:20px;box-shadow:0 17px 46px #1d304320;overflow:hidden}.preview-topline{display:flex;align-items:center;justify-content:space-between;color:#e8c78c;font-size:9px;letter-spacing:.14em}.light-bulb{width:8px;height:8px;background:#e1b45f;border-radius:50%;box-shadow:0 0 0 4px #e5b96828}.preview-illustration{position:relative;height:207px;display:grid;place-items:center;isolation:isolate}.preview-rays{position:absolute;width:180px;height:180px;border-radius:50%;border:1px solid #59647a;box-shadow:0 0 0 24px #ffffff09,0 0 0 48px #ffffff06}.preview-big-emoji{font-size:95px;filter:drop-shadow(0 7px 12px #0004);transform:rotate(-14deg)}.preview-float{position:absolute;top:33px;left:17%;font-size:24px;color:#e4c078}.preview-body{padding-bottom:25px}.tag{display:inline-flex;color:#d7b56b;border:1px solid #6b634c;font-size:9px;letter-spacing:.17em;font-weight:850;padding:4px 7px;border-radius:3px}.preview-body h3{font-family:Georgia,serif;font-size:29px;line-height:1.17;font-weight:500;margin:16px 0 8px;color:#fff2d7}.preview-body p{font-size:12px;color:#a6b3c6;line-height:1.9;margin:0 0 25px;min-height:46px}.preview-divider{height:1px;background:#43516b;margin:0 0 18px}.preview-row{display:flex;justify-content:space-between;gap:10px;margin:13px 0;font-size:12px}.preview-row span{color:#aab5c8}.preview-row strong{color:#f5f0e5}.preview-foot{margin-inline:-25px;background:#29354d;text-align:center;font-size:10px;letter-spacing:.05em;color:#d1ad73;padding:13px}.result-section{padding:78px 0 83px}.result-section[hidden]{display:none}.result-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.result-stamp{transform:rotate(11deg);font-size:10px;color:#b85c53;text-align:center;border:3px double #b85c53;padding:15px;font-weight:900;letter-spacing:.18em;line-height:2}.result-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:25px 0 18px;flex-wrap:wrap}.result-buttons{display:flex;gap:9px;flex-wrap:wrap}.result-meta{font-size:13px;font-weight:700;color:#768294}.result-info{background:#f9edce;border:1px solid #e6ce99;border-radius:12px;padding:14px 19px;display:flex;gap:14px;align-items:start;margin:0 0 25px}.result-info>span{font-size:25px}.result-info p{margin:0;line-height:1.65;color:#625138;font-size:13px}.print-area{background:white;border:1px solid #e7e3db;border-radius:16px;padding:28px;box-shadow:0 15px 40px #17243c0b}.sheet-head{display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid #2c3e59;padding-bottom:15px;margin-bottom:19px}.sheet-brand{font-size:13px;font-weight:900;letter-spacing:.08em}.sheet-badge{font-size:10px;letter-spacing:.12em;font-weight:850;color:#8e6d3f}.guide{background:#fcfaf4;border-radius:10px;padding:24px;border:1px solid #e8e1d6;break-inside:avoid}.guide h3{font-size:24px;margin:0 0 9px;color:#192c47}.guide p{font-size:13px;color:#627089;line-height:1.75}.guide-list{margin:13px 0 0;padding-left:20px;font-size:13px;line-height:1.95}.guide-answer{margin-top:15px;padding:12px 15px;border-radius:8px;background:#e9eef3;font-size:12px;line-height:1.8}.guide-warning{margin-top:17px;font-size:12px;color:#6a5338}.card-section-title{font-size:18px;margin:27px 0 13px;color:#25344b}.clues-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.clue-card{min-height:255px;border:1.5px dashed #b6ad9d;border-radius:10px;padding:20px;background:#fffdf8;display:flex;flex-direction:column;break-inside:avoid}.clue-card>header{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;font-weight:800;color:#9c7c45;letter-spacing:.08em}.clue-number{font-size:21px;color:#2e3d54;font-weight:900}.clue-card h4{font-size:17px;line-height:1.3;margin:11px 0 6px}.clue-task{font-size:13px;line-height:1.65;color:#39475c;margin:0 0 13px}.clue-hint{border-top:1px solid #e6d7bc;padding-top:11px;margin-top:auto}.clue-hint b{display:block;color:#946d37;font-size:10px;text-transform:uppercase;letter-spacing:.12em;margin-bottom:5px}.clue-hint p{margin:0;font-size:12px;line-height:1.6}.certificate{border:6px double #e1c794;text-align:center;margin:25px 0 4px;padding:29px 15px;break-inside:avoid;background:#fffdf8}.certificate .cert-small{font-size:12px;color:#9a7d4e;letter-spacing:.2em;font-weight:850}.certificate .cert-icon{font-size:42px;margin:6px 0}.certificate h3{font-family:Georgia,serif;font-size:32px;color:#253654;margin:7px 0}.certificate-name{font-family:Georgia,serif;font-size:28px;color:#a77732;margin:6px 0}.certificate p{font-size:13px;line-height:1.7;color:#48566e;margin:0 0 15px}.cert-line{display:inline-block;min-width:130px;padding-top:4px;border-top:1px solid #c6bb9d;font-size:10px;color:#8e8b85}.post-result-note{font-size:12px;color:#8a95a3;line-height:1.65;margin:17px 0 0}.how-section{padding:67px 0 78px;background:#f1eadc}.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.how-grid article{background:#fffcf5;padding:26px;border:1px solid #e8ddc9;border-radius:14px;min-height:200px}.how-icon{display:grid;place-items:center;background:#f4e4c4;width:50px;height:50px;border-radius:12px;font-size:27px;color:#95703b}.how-grid h3{margin:17px 0 6px;font-size:17px}.how-grid p{margin:0;color:#738092;font-size:13px;line-height:1.75}.footer{background:var(--navy-deep);color:white;padding:30px 0}.foot-grid{display:flex;align-items:center;justify-content:space-between;gap:20px}.foot-logo{font-weight:900;letter-spacing:.14em;font-size:14px;color:#e6bd73}.footer p{font-size:11px;color:#98a4b6;line-height:1.7;margin:6px 0;text-align:right}.foot-grid>div p{text-align:left}.toast{position:fixed;bottom:20px;right:20px;max-width:320px;border-radius:10px;background:#253c57;color:#fff;padding:12px 16px;font-size:13px;z-index:51;box-shadow:0 10px 30px #101b3040;opacity:0;pointer-events:none;transform:translateY(10px);transition:opacity .2s,transform .2s}.toast.show{opacity:1;transform:translateY(0)}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:900px){.hero{gap:15px;grid-template-columns:1fr .75fr}.hero h1{font-size:48px}.workspace-grid{grid-template-columns:minmax(0,1fr) minmax(270px,.8fr)}.builder{padding:25px 22px}.hero-metrics{gap:18px}.hero-metrics div:not(:last-child){padding-right:18px}}
@media(max-width:700px){.wrap{width:min(100% - 32px,530px)}.navbar{height:70px}.brand-name{font-size:12px;letter-spacing:.1em}.brand-name small{font-size:6px}.brand-mark{height:35px;width:35px;font-size:23px}.header-link{font-size:12px}.hero{display:flex;flex-direction:column;text-align:center;padding:43px 0 33px;gap:14px}.hero h1{font-size:clamp(40px,11vw,61px);margin:16px 0}.hero-copy>p{font-size:14px}.hero-actions{justify-content:center}.hero-metrics{margin-top:27px;justify-content:center;gap:12px}.hero-metrics div:not(:last-child){padding-right:13px}.hero-metrics b{font-size:18px}.hero-metrics span{font-size:10px}.hero-art{width:100%;height:260px;overflow:hidden}.orbit{width:220px;height:220px}.orbit-two{width:270px;height:180px}.ticket-front{transform:scale(.63) rotate(7deg);flex-shrink:0}.ticket-back{transform:translate(-55px,-10px) scale(.63) rotate(-12deg);flex-shrink:0}.art-caption{bottom:9px}.workspace{padding:49px 0 55px}.workspace-grid{grid-template-columns:1fr}.section-header{margin-bottom:24px}.section-header h2{font-size:34px}.preview-card{position:static;max-width:480px;width:100%;margin-inline:auto}.preview-illustration{height:150px}.preview-big-emoji{font-size:67px}.preview-rays{width:125px;height:125px}.result-section{padding:53px 0}.result-stamp{display:none}.result-toolbar{align-items:stretch}.result-buttons{width:100%}.result-buttons .btn{flex:1;padding:11px;font-size:12px;gap:5px}.print-area{padding:17px}.clues-grid{grid-template-columns:1fr}.clue-card{min-height:220px}.guide{padding:17px}.how-grid{grid-template-columns:1fr}.how-grid article{min-height:0}.foot-grid{align-items:start;flex-direction:column}.footer p{text-align:left}}
@media(max-width:380px){.age-options{gap:5px}.age-options span{font-size:11px}.two-options span{font-size:11px}.builder{padding:20px 15px}.hero-metrics{gap:7px}.hero-metrics div:not(:last-child){padding-right:8px}}
@media print{@page{size:A4;margin:13mm}html,body{background:white!important;color:#111!important;margin:0!important;padding:0!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}.grain,.site-header,.hero,.workspace,.how-section,.footer,.result-heading,.result-toolbar,.result-info,.post-result-note,.toast{display:none!important}.wrap{max-width:none;width:100%;margin:0;padding:0}.result-section{display:block!important;padding:0!important;margin:0!important}.print-area{box-shadow:none!important;border:0!important;padding:0!important;background:white!important}.sheet-head{border-color:#444}.guide{background:#fff!important;border:1px solid #bbb;margin-bottom:15px;padding:14px}.guide h3{font-size:18px}.guide p,.guide-list,.guide-answer{font-size:10.5px}.guide-list{line-height:1.65}.guide-answer{margin-top:8px;padding:8px;border:1px solid #aaa}.guide-warning{margin-top:8px;font-size:10px}.card-section-title{font-size:16px;margin:17px 0 9px}.clues-grid{display:grid!important;grid-template-columns:repeat(2,1fr)!important;gap:9px}.clue-card{min-height:230px;break-inside:avoid-page;padding:14px}.clue-card h4{font-size:15px}.clue-task,.clue-hint p{font-size:11px}.certificate{margin-top:22px;padding:22px;break-inside:avoid-page}.certificate h3{font-size:24px}.certificate-name{font-size:25px}.certificate p{font-size:11px}}


/* TAJNA MISJA 1.1: składane wskazówki do odsłonięcia po rozwiązaniu */
.fold-note{display:block;border-top:2px dashed #b9a57b;margin-top:2px;padding:7px 0 6px;font-size:10px;font-weight:800;letter-spacing:.02em;color:#9b7844}.clue-hint{margin-top:auto;padding-top:0;border-top:0}.clue-hint b{padding-top:7px;border-top:1px solid #e6d7bc}.clue-card{min-height:295px}.guide-answer{line-height:1.75}@media print{.clue-card{min-height:258px}.fold-note{font-size:9px;padding:4px 0}.clue-task{line-height:1.45}}
