/* EduBombka – style strony. Wartości przeniesione 1:1 z spec/landing-reference.dc.html (§10.1). */

/* Fonty lokalne (OFL, pliki z @fontsource) – patrz fonts/LICENSE-*.txt */
@font-face{font-family:'Fredoka';font-style:normal;font-display:swap;font-weight:500;src:url(../fonts/fredoka-latin-ext-500-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Fredoka';font-style:normal;font-display:swap;font-weight:500;src:url(../fonts/fredoka-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Fredoka';font-style:normal;font-display:swap;font-weight:600;src:url(../fonts/fredoka-latin-ext-600-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Fredoka';font-style:normal;font-display:swap;font-weight:600;src:url(../fonts/fredoka-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Fredoka';font-style:normal;font-display:swap;font-weight:700;src:url(../fonts/fredoka-latin-ext-700-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Fredoka';font-style:normal;font-display:swap;font-weight:700;src:url(../fonts/fredoka-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Nunito';font-style:normal;font-display:swap;font-weight:400;src:url(../fonts/nunito-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Nunito';font-style:normal;font-display:swap;font-weight:400;src:url(../fonts/nunito-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Nunito';font-style:normal;font-display:swap;font-weight:600;src:url(../fonts/nunito-latin-ext-600-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Nunito';font-style:normal;font-display:swap;font-weight:600;src:url(../fonts/nunito-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Nunito';font-style:normal;font-display:swap;font-weight:700;src:url(../fonts/nunito-latin-ext-700-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Nunito';font-style:normal;font-display:swap;font-weight:700;src:url(../fonts/nunito-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Nunito';font-style:normal;font-display:swap;font-weight:800;src:url(../fonts/nunito-latin-ext-800-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Nunito';font-style:normal;font-display:swap;font-weight:800;src:url(../fonts/nunito-latin-800-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ---------- Baza (helmet wzorca) ---------- */
body{margin:0;background:#0A2A20}
a{color:#F6F1E4}a:hover{color:#FFFFFF}
[hidden]{display:none !important}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}}

@keyframes eb-glow{0%,100%{opacity:.2}50%{opacity:.65}}
@keyframes eb-swing{0%,100%{transform:rotate(-5deg)}50%{transform:rotate(5deg)}}
.eb-g{animation:eb-glow 1.3s ease-in-out infinite}
.eb-swing{animation:eb-swing 3.4s ease-in-out infinite;transform-origin:50% 0}
@media (prefers-reduced-motion: reduce){.eb-g,.eb-swing{animation:none}}
@keyframes eb-snow{to{background-position:0 120px,30px 100px,60px 240px}}
.eb-snow{background-image:radial-gradient(circle,rgba(255,255,255,.9) 3px,transparent 3.5px),radial-gradient(circle,rgba(255,255,255,.6) 2px,transparent 2.5px),radial-gradient(circle,rgba(255,255,255,.35) 4px,transparent 4.5px);background-size:120px 120px,70px 70px,200px 240px;background-position:0 0,30px 30px,60px 0;animation:eb-snow 10s linear infinite}
@media (prefers-reduced-motion: reduce){.eb-snow{animation:none}}
.eb-d2{animation-delay:.2s}.eb-d4{animation-delay:.4s}.eb-d6{animation-delay:.6s}.eb-d8{animation-delay:.8s}.eb-d10{animation-delay:1s}

.page{font-family:Nunito,system-ui,sans-serif;color:#10231C;background:#F6F1E4;overflow-x:clip}
.fredoka{font-family:Fredoka,system-ui,sans-serif}

/* Widoczny fokus (§10.4) */
:focus-visible{outline:3px solid currentColor;outline-offset:3px}
.site-header .btn-nav:focus-visible,.on-dark .btn-hero:focus-visible{outline-color:#F6F1E4}
.skip-link{position:absolute;left:16px;top:-100px;z-index:10;background:#E2B33C;color:#10231C;padding:10px 18px;border:3px solid #10231C;border-radius:999px;font-weight:800;text-decoration:none}
.skip-link:focus{top:12px}
.skip-link:hover{color:#10231C}

/* ---------- Nagłówek ---------- */
.site-header{background:#0E3B2C;color:#F6F1E4}
.header-inner{max-width:1120px;margin:0 auto;padding:18px 32px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-family:Fredoka,system-ui,sans-serif;font-weight:700;font-size:27px;color:#F6F1E4}
.nav{display:flex;flex-wrap:wrap;align-items:center;gap:26px;font-size:16px;font-weight:700}
.nav-link{text-decoration:none;padding:12px 0}
.btn-nav,.btn-nav:hover{text-decoration:none;background:#E2B33C;color:#10231C;padding:10px 24px;border-radius:999px;border:3px solid #10231C;box-shadow:3px 3px 0 #10231C;font-family:Fredoka,system-ui,sans-serif;font-weight:600;font-size:17px}

/* ---------- Hero ---------- */
.hero{background-color:#0E3B2C;color:#F6F1E4}
.garland{display:block;width:100%;height:60px}
.hero-inner{max-width:1120px;margin:0 auto;padding:24px 32px 40px;display:flex;flex-wrap:wrap;align-items:center;gap:40px}
.hero-copy{flex:1 1 480px;min-width:0;display:flex;flex-direction:column;gap:24px;align-items:flex-start}
.badge-hello{background:#C62828;color:#FFFFFF;border:3px solid #10231C;box-shadow:3px 3px 0 #10231C;border-radius:999px;padding:6px 18px;font-family:Fredoka,system-ui,sans-serif;font-weight:600;font-size:16px;transform:rotate(-2deg)}
.hero-title{margin:0;font-family:Fredoka,system-ui,sans-serif;font-weight:700;font-size:clamp(42px, 6.2vw, 74px);line-height:1.02;text-wrap:balance}
.accent{color:#E2B33C}
.hero-lead{margin:0;font-size:20px;line-height:1.5;font-weight:600;max-width:520px;color:#DCE7DF;text-wrap:pretty}
.cta-row{display:flex;flex-wrap:wrap;align-items:center;gap:22px}
.btn-hero,.btn-hero:hover{text-decoration:none;background:#E2B33C;color:#10231C;padding:16px 32px;border-radius:999px;border:3px solid #10231C;box-shadow:6px 6px 0 #10231C;font-family:Fredoka,system-ui,sans-serif;font-weight:600;font-size:21px}
.link-more{font-size:17px;font-weight:700;padding:14px 0}
.hero-art{flex:0 1 440px;min-width:0;margin:0 auto}
.mascot{display:block;width:100%;height:auto}
.wave{display:block;width:100%;height:56px}

/* ---------- Co ma w środku ---------- */
.section-board{max-width:1120px;margin:0 auto;padding:72px 32px 96px}
.section-head{display:flex;flex-direction:column;gap:14px;max-width:680px;margin-bottom:56px}
.h2{margin:0;font-family:Fredoka,system-ui,sans-serif;font-weight:700;font-size:clamp(32px, 4.2vw, 48px);line-height:1.08}
.lead{margin:0;font-size:19px;line-height:1.5;font-weight:600;color:#3F4F48}
.board-row{display:flex;flex-wrap:wrap;gap:56px;align-items:flex-start}
.board-photo{flex:1 1 340px;min-width:0;position:relative;padding:0 8px 8px 0}
.board-frame{border-radius:32px;overflow:hidden;background:#8E8FB5;border:4px solid #10231C;box-shadow:10px 10px 0 #10231C;transform:rotate(-2deg)}
.board-frame img{display:block;width:100%;height:auto}
.sticker-real{position:absolute;left:-8px;top:-18px;background:#E2B33C;border:3px solid #10231C;box-shadow:3px 3px 0 #10231C;border-radius:999px;padding:8px 18px;font-family:Fredoka,system-ui,sans-serif;font-weight:600;font-size:17px;transform:rotate(-7deg)}
.features{flex:1 1 440px;min-width:0;display:grid;grid-template-columns:repeat(auto-fit, minmax(min(200px, 100%), 1fr));gap:32px}
.feature{display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.feature-icon{width:64px;height:64px;border-radius:22px;border:3px solid #10231C;box-shadow:4px 4px 0 #10231C;display:flex;align-items:center;justify-content:center}
.fi-leds{background:#FFE94D;transform:rotate(-4deg)}
.fi-buttons{background:#FF9C8A;transform:rotate(3deg)}
.fi-motion{background:#D3A8FF;transform:rotate(-3deg)}
.fi-usb{background:#8CC6FF;transform:rotate(4deg)}
.fi-switch{background:#8DEBB8;transform:rotate(-4deg)}
.fi-hanger{background:#E2B33C;transform:rotate(3deg)}
.feature h3{margin:0;font-family:Fredoka,system-ui,sans-serif;font-weight:600;font-size:23px}
.feature p{margin:0;font-size:16.5px;line-height:1.45;font-weight:600;color:#3F4F48}

.candy{height:18px;border-top:4px solid #10231C;border-bottom:4px solid #10231C;background-image:repeating-linear-gradient(135deg, #C62828 0 18px, #FFFFFF 18px 36px)}

/* ---------- Jak to działa ---------- */
.section-how{background:#FFE9A8}
.how-inner{max-width:1120px;margin:0 auto;padding:88px 32px 104px}
.how-title{margin:0 0 64px}
.steps{display:grid;grid-template-columns:repeat(auto-fit, minmax(min(280px, 100%), 1fr));gap:44px 32px}
.step{position:relative;background:#FFFFFF;border:4px solid #10231C;box-shadow:8px 8px 0 #10231C;border-radius:28px;padding:52px 28px 28px;display:flex;flex-direction:column;gap:10px}
.step-1{transform:rotate(-1.5deg)}
.step-2{transform:rotate(1deg)}
.step-3{transform:rotate(-1deg)}
.step-num{position:absolute;top:-34px;left:24px;width:68px;height:68px;border-radius:50%;border:4px solid #10231C;display:flex;align-items:center;justify-content:center;font-family:Fredoka,system-ui,sans-serif;font-weight:700;font-size:38px;color:#10231C}
.step-1 .step-num{background:#2E9BFF}
.step-2 .step-num{background:#FF9C8A}
.step-3 .step-num{background:#8DEBB8}
.step h3{margin:0;font-family:Fredoka,system-ui,sans-serif;font-weight:600;font-size:26px}
.step p{margin:0;font-size:17px;line-height:1.5;font-weight:600;color:#3F4F48}

/* ---------- Czego uczy ---------- */
.section-learn{max-width:1120px;margin:0 auto;padding:96px 32px;display:flex;flex-wrap:wrap;gap:56px;align-items:flex-start}
.learn-copy{flex:1 1 380px;min-width:0;display:flex;flex-direction:column;gap:14px}
.pill-dark{align-self:flex-start;background:#10231C;color:#F6F1E4;border-radius:999px;padding:6px 16px;font-family:Fredoka,system-ui,sans-serif;font-weight:600;font-size:15px}
.concepts{flex:1 1 440px;min-width:0;margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:18px}
.concepts li{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px}
.concept{flex:0 0 150px;box-sizing:border-box;text-align:center;color:#FFFFFF;border:3px solid #10231C;box-shadow:4px 4px 0 #10231C;border-radius:16px;padding:10px 12px;font-family:Fredoka,system-ui,sans-serif;font-weight:600;font-size:19px}
.c-events{background:#B8430F;transform:rotate(-2deg)}
.c-loops{background:#17694A;transform:rotate(1.5deg)}
.c-cond{background:#7A4FD0;transform:rotate(-1deg)}
.c-rgb{background:#1D6FD6;transform:rotate(2deg)}
.concepts span{flex:1 1 220px;font-size:17px;line-height:1.45;font-weight:600;color:#3F4F48}

/* ---------- Zapisy ---------- */
.section-signup{background-color:#0E3B2C;color:#F6F1E4}
.signup-inner{max-width:1120px;margin:0 auto;padding:96px 32px;display:flex;flex-wrap:wrap;gap:56px;align-items:center;justify-content:space-between}
.signup-copy{flex:1 1 400px;min-width:0;display:flex;flex-direction:column;gap:18px}
.h2-big{margin:0;font-family:Fredoka,system-ui,sans-serif;font-weight:700;font-size:clamp(34px, 4.6vw, 56px);line-height:1.04}
.signup-lead{margin:0;font-size:19px;line-height:1.5;font-weight:600;color:#DCE7DF;max-width:480px}
.checklist{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:12px;font-size:17px;font-weight:700}
.checklist li{display:flex;align-items:center;gap:12px}
.checklist svg{flex:0 0 26px}

.card{flex:0 1 440px;min-width:0;position:relative;background:#F6F1E4;color:#10231C;border:4px solid #10231C;box-shadow:10px 10px 0 #E2B33C;border-radius:32px;padding:36px 32px 32px}
.card a{color:#0E3B2C;font-weight:800}
.card a:hover{color:#17694A}
.sticker-free{position:absolute;top:-24px;right:-14px;background:#C62828;color:#FFFFFF;border:3px solid #10231C;box-shadow:3px 3px 0 #10231C;border-radius:999px;padding:8px 18px;font-family:Fredoka,system-ui,sans-serif;font-weight:600;font-size:17px;transform:rotate(6deg)}
.signup-form{margin:0;display:flex;flex-direction:column;gap:18px}
.card-title{margin:0;font-family:Fredoka,system-ui,sans-serif;font-weight:700;font-size:30px;line-height:1.1}
.field{display:flex;flex-direction:column;gap:6px;font-size:15px;font-weight:800}
.input{height:50px;box-sizing:border-box;width:100%;padding:0 14px;border:3px solid #10231C;border-radius:14px;background:#FFFFFF;color:#10231C;font:600 17px Nunito, system-ui, sans-serif}
.input::placeholder{color:#5E6D66}
.input[aria-invalid="true"]{border-color:#B3261E}
.choice{margin:0;padding:0;border:none;display:flex;flex-direction:column;gap:8px}
.choice legend{padding:0;margin-bottom:8px;font-size:15px;font-weight:800}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{display:flex;align-items:center;gap:8px;min-height:44px;box-sizing:border-box;padding:6px 14px;border:3px solid #10231C;border-radius:999px;background:#FFFFFF;font-size:15px;font-weight:700;cursor:pointer}
.chip input{width:20px;height:20px;margin:0;accent-color:#17694A}
.consent{display:flex;align-items:flex-start;gap:10px;font-size:14.5px;line-height:1.4;font-weight:600;color:#3F4F48;cursor:pointer}
.consent input{flex:0 0 22px;width:22px;height:22px;margin:0;accent-color:#17694A}
.btn-submit{height:58px;border-radius:999px;border:3px solid #10231C;box-shadow:5px 5px 0 #10231C;background:#E2B33C;color:#10231C;font:600 21px Fredoka, system-ui, sans-serif;cursor:pointer}
.btn-submit:disabled{opacity:.75;cursor:progress}
.field-error{margin:0;font-size:14px;line-height:1.35;font-weight:700;color:#B3261E}
.form-error{margin:0;padding:10px 14px;border:3px solid #B3261E;border-radius:14px;background:#FFFFFF;font-size:15px;font-weight:700;color:#B3261E}
.noscript{margin:0 0 18px;padding:12px 14px;border:3px solid #10231C;border-radius:14px;background:#FFFFFF;font-size:15px;font-weight:700;line-height:1.4}
.hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
.thanks{display:flex;flex-direction:column;gap:14px;padding:24px 0}
.thanks h3{margin:0;font-family:Fredoka,system-ui,sans-serif;font-weight:700;font-size:34px;line-height:1.1}
.thanks p{margin:0;font-size:18px;line-height:1.5;font-weight:600;color:#3F4F48}
.thanks:focus{outline:none}

/* ---------- Stopka ---------- */
.site-footer{background:#0A2A20;color:#C8D6CD}
.footer-inner{max-width:1120px;margin:0 auto;padding:32px;display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;font-size:15px;font-weight:600}

/* ---------- Podstrony ---------- */
.sub-hero{background-color:#0E3B2C;color:#F6F1E4}
.sub-inner{max-width:1120px;margin:0 auto;padding:72px 32px 96px;display:flex;justify-content:center}
.card-sub{flex:0 1 560px;display:flex;flex-direction:column;align-items:flex-start;gap:18px;text-align:left}
.card-wide{flex:0 1 760px}
.sub-title{margin:0;font-family:Fredoka,system-ui,sans-serif;font-weight:700;font-size:clamp(30px, 4.2vw, 44px);line-height:1.08}
.sub-text{margin:0;font-size:18px;line-height:1.5;font-weight:600;color:#3F4F48}
.sub-mascot{display:block;width:180px;max-width:60%;height:auto;align-self:center}
.card .btn-hero,.card .btn-hero:hover{color:#10231C;font-weight:600}
button.btn-hero{cursor:pointer}
button.btn-hero:disabled{opacity:.75;cursor:progress}
.prose{font-size:17px;line-height:1.55;font-weight:600;color:#3F4F48}
.prose h2{margin:12px 0 0;font-family:Fredoka,system-ui,sans-serif;font-weight:600;font-size:24px;color:#10231C}
.prose p{margin:0}
.todo{display:block;padding:10px 14px;border:3px dashed #B3261E;border-radius:14px;background:#FFFFFF;color:#B3261E;font-weight:800}
.card .btn-hero:focus-visible{outline-color:#10231C}
