/* Myška Hrnečka — myskahrnecka.cz. Colours are the game's (kids-kitchen src/KidsKitchen/Engine/Ui.cs). Text pairs
   checked for WCAG AA: ink on cream 11.1:1, teal on cream 5.5:1, white on teal 5.8:1, white on accent-dark 5.5:1,
   ink on gold 6.5:1. Accent #D96A2B, green and terra are for large text, shapes and art only. No JavaScript. */

@font-face { font-family: Manrope; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/manrope-latin-400.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: Manrope; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/manrope-latin-ext-400.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: Manrope; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/manrope-latin-700.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: Manrope; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/manrope-latin-ext-700.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: Manrope; font-style: normal; font-weight: 800; font-display: swap; src: url(/assets/fonts/manrope-latin-800.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: Manrope; font-style: normal; font-weight: 800; font-display: swap; src: url(/assets/fonts/manrope-latin-ext-800.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; }

:root {
  --cream: #FFF8E8;
  --cream-deep: #F7ECD4;
  --paper: #FFFFFF;
  --ink: #4A3326;
  --ink-soft: #6B5446;
  --teal: #376E73;
  --teal-dark: #2F6064;
  --gold: #F0B92E;
  --gold-soft: #FCEBC0;
  --green: #4E9A5C;
  --green-soft: #DDEFD9;
  --terra: #CA8562;
  --accent: #D96A2B;
  --accent-dark: #A94F1A;
  --line: rgba(74, 51, 38, 0.12);
  --shadow: 0 1px 2px rgba(74, 51, 38, 0.06), 0 10px 28px rgba(74, 51, 38, 0.10);
  --radius: 24px;
  --radius-s: 14px;
  --font: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1160px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--cream); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 3px solid var(--accent-dark); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); font-weight: 800; color: var(--teal); }
h3 { font-size: 1.25rem; font-weight: 800; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--teal); color: #fff; padding: 10px 16px; border-radius: 12px; z-index: 10; }
.skip:focus { top: 12px; }
mark { background: var(--gold-soft); color: var(--ink); padding: 0 4px; border-radius: 4px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 5; background: rgba(255, 248, 232, 0.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.top-in { display: flex; align-items: center; gap: 24px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.15rem; }
.brand img { border-radius: 10px; }
.nav { display: flex; gap: 6px 20px; flex-wrap: wrap; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 700; padding: 6px 2px; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal); border-bottom-color: var(--gold); }
.langs { display: flex; background: var(--cream-deep); border-radius: 999px; padding: 3px; }
.langs a { text-decoration: none; color: var(--ink-soft); font-weight: 800; font-size: 0.85rem; padding: 5px 11px; border-radius: 999px; }
.langs a[aria-current="true"] { background: var(--paper); color: var(--teal); box-shadow: 0 1px 3px rgba(74, 51, 38, 0.15); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 0; }
.hero-in { position: relative; order: 1; }
.hero-art { order: 2; width: min(760px, 100%); margin: 0 auto; }
.hero-art img { width: 100%; }
.hero-text { padding: 32px 0 8px; }
.eyebrow { display: inline-block; background: var(--gold-soft); color: var(--ink); font-weight: 800; font-size: 0.9rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.6rem, 1.6rem + 4.4vw, 4.4rem); font-weight: 800; color: var(--teal); margin-bottom: 18px; }
.hero h1 span { display: block; font-size: 0.5em; color: var(--accent-dark); margin-top: 6px; }
.lead { font-size: 1.2rem; color: var(--ink); max-width: 34em; }
.soon { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; background: var(--paper); border-radius: 999px; padding: 10px 18px; box-shadow: var(--shadow); }
.soon::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.badges { display: flex; gap: 12px; flex-wrap: wrap; }
.badge img { height: 54px; width: auto; }
.secondary { margin-top: 18px; font-weight: 700; }
@media (min-width: 1100px) {
  .hero { min-height: clamp(520px, 47vw, 680px); flex-direction: row; align-items: center; }
  .hero-art { position: absolute; inset: 0; width: auto; margin: 0; }
  .hero-art img { height: 100%; object-fit: cover; object-position: left center; }
  .hero-text { max-width: 460px; padding: 56px 0; }
}
@media (min-width: 1360px) { .hero-text { max-width: 520px; } }

/* ---------- sections ---------- */
section { padding: clamp(56px, 7vw, 96px) 0; }
.section-lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 40em; margin-bottom: 36px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.step { background: var(--paper); border-radius: var(--radius); padding: 14px 14px 22px; box-shadow: var(--shadow); }
.step h3, .step p { padding-inline: 8px; }
.step p { color: var(--ink-soft); margin: 0; }
.shot { margin: 0 0 18px; }
.shot img { border-radius: var(--radius-s); border: 6px solid #2D2A28; background: #2D2A28; }
.num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 1rem; margin-right: 10px; vertical-align: 2px; }

.learn { background: var(--paper); }
.learn-in { display: grid; gap: 36px; }
@media (min-width: 960px) { .learn-in { grid-template-columns: 5fr 7fr; align-items: center; } }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 40px; font-size: 1.1rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%234E9A5C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.gallery { list-style: none; padding: 4px 4px 14px; margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 360px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; }
.gallery li { scroll-snap-align: start; }
.gallery img { border-radius: var(--radius-s); border: 5px solid #2D2A28; background: #2D2A28; }

.packs { background: var(--cream) url(/assets/tiles.svg) repeat; }
.pack-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.pack { background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.pack > img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--cream-deep); padding: 12px; }
.pack-body { padding: 18px 20px 20px; }
.pack-body h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pack-body p { color: var(--ink-soft); margin: 0; }
.recipes { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.recipes li { background: var(--cream); border-radius: 999px; padding: 2px 12px; font-weight: 700; font-size: 0.92rem; }
.tag { font-size: 0.9rem; font-weight: 800; color: var(--teal-dark); border: 2px solid var(--teal); border-radius: 999px; padding: 1px 12px; white-space: nowrap; }
.tag.free { background: var(--green-soft); border-color: var(--green-soft); color: #2F6B3A; }
.bundle { background: var(--gold-soft); justify-content: center; }
.bundle .pack-body { padding: 28px 24px; }
.bundle p { color: var(--ink); }
.coming { margin-top: 10px !important; font-weight: 700; }
.note { margin-top: 26px; font-weight: 700; max-width: 46em; }

.safety-grid { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.safety-grid li { background: var(--paper); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.safety-grid img { width: 88px; height: 88px; margin-bottom: 10px; }
.safety-grid p { color: var(--ink-soft); margin: 0; }
.calm { background: var(--gold-soft); border-radius: var(--radius-s); padding: 16px 20px; font-weight: 700; max-width: 46em; }
.more { font-weight: 800; }

.card-demo { background: var(--cream-deep); }
.recipe-card { background: var(--paper); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); max-width: 980px; }
.recipe-card > h3 { font-size: 1.8rem; color: var(--terra); color: var(--accent-dark); }
.card-note { color: var(--ink-soft); }
.card-cols { display: grid; gap: 28px; }
@media (min-width: 820px) { .card-cols { grid-template-columns: 2fr 3fr; } }
.col-h { color: var(--teal); font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.06em; }
.recipe-card h4:not(.col-h) { font-size: 0.85rem; color: var(--ink-soft); letter-spacing: 0.08em; margin-top: 14px; }
.recipe-card ul { margin: 0; padding-left: 20px; }
.card-steps { margin: 0; padding-left: 24px; display: grid; gap: 6px; }
.card-steps li.adult { font-weight: 700; }
.who { display: inline-block; font-size: 0.78rem; font-weight: 800; color: #fff; background: var(--accent-dark); border-radius: 999px; padding: 1px 9px; vertical-align: 1px; }
.legend { margin-top: 14px; color: var(--ink-soft); font-size: 0.95rem; }
.card-foot { margin: 20px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); color: var(--ink-soft); font-size: 0.95rem; }

.about { text-align: center; }
.about-in { max-width: 680px; }
.button { display: inline-block; background: var(--teal); color: #fff; text-decoration: none; font-weight: 800; padding: 13px 26px; border-radius: 999px; box-shadow: var(--shadow); }
.button:hover { background: var(--teal-dark); color: #fff; }

/* ---------- documents ---------- */
.doc { padding: clamp(36px, 5vw, 64px) 0 72px; }
.doc h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); color: var(--teal); font-weight: 800; }
.doc h2 { font-size: 1.5rem; margin-top: 1.6em; }
.doc h3 { font-size: 1.15rem; margin-top: 1.4em; color: var(--ink); }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 0.35em; }
.doc .lead { background: var(--paper); border-radius: var(--radius-s); padding: 16px 20px; box-shadow: var(--shadow); font-weight: 700; font-size: 1.1rem; }
.nf .nf-sk { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- footer ---------- */
.foot { background: var(--cream-deep); border-top: 1px solid var(--line); padding: 36px 0 44px; font-size: 0.95rem; }
.foot p { margin: 0 0 8px; }
.foot-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.05rem; }
.foot-brand img { border-radius: 8px; }
.tm { color: var(--ink-soft); font-size: 0.82rem; max-width: 60em; }

@media (max-width: 620px) {
  .top-in { gap: 8px 16px; padding: 8px 0; }
  .nav { order: 3; width: 100%; margin-left: 0; gap: 4px 16px; }
  .langs { margin-left: auto; }
  body { font-size: 1rem; }
  section { padding: 48px 0; }
  .section-lead { margin-bottom: 24px; }
  .pack > img { aspect-ratio: 16 / 9; padding: 6px; }
  .pack-body { padding: 14px 16px 16px; }
  .safety-grid { gap: 12px; }
  .safety-grid li { display: grid; grid-template-columns: 64px 1fr; gap: 2px 14px; align-items: start; padding: 16px; }
  .safety-grid img { width: 64px; height: 64px; margin: 0; grid-row: span 2; }
  .safety-grid h3 { margin: 4px 0 2px; font-size: 1.1rem; }
  .steps { gap: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .top, .foot, .skip { display: none; } body { background: #fff; } }
