/* 12345-web — štýly stránky.
   Písma: vlastné súbory vo fonts/ (bez Google Fonts — žiadne odovzdávanie IP adries tretej strane).
   Tokeny (:root) a triedy k-* sú kópie zo skillu 12345-design (tokens.css, components/bundle.css);
   scripts/brand.test.mjs kontroluje, že sa tokeny nerozišli. Zmena značky = najprv skill, potom sem. */

@font-face { font-family: "Sora"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/sora-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: "Sora"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/sora-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: "Sora"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/sora-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: "Sora"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/sora-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: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/source-sans-3-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: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/source-sans-3-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: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/source-sans-3-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: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/source-sans-3-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; }

/* --- Tokeny značky (kópia z 12345-design/tokens.css) --- */
:root {
  --surface: #ffffff;
  --surface-tint: #f8fbfd;
  --surface-tint-strong: #f0f6fa;
  --line: #d9e6ee;
  --ink: #0d283f;
  --ink-muted: #536878;
  --brand: #0c5ab4;
  --on-brand: #ffffff;
  --deep: #0d283f;
  --on-deep: #ffffff;
  --signal: #42bed4;
  --deep-shade: #081826;
  --brand-light: #6aa7f2;
  --glass-fill: rgba(255, 255, 255, 0.08);
  --glass-line: rgba(255, 255, 255, 0.18);
  --focus-ring: var(--brand);
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --radius-0: 0;
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

/* --- Komponenty značky (kópia z 12345-design/components/bundle.css) --- */
.k-pad { padding: var(--space-4); }
.k-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.k-eyebrow { margin: 0; font-family: var(--font-sans); font-size: 11px; line-height: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.k-heading { margin: var(--space-2) 0 0; font-family: var(--font-display); font-size: 20px; line-height: 26px; font-weight: 700; color: var(--ink); }
.k-docheader { display: flex; background: var(--deep); color: var(--on-deep); }
.k-docheader::before { content: ""; flex: 0 0 var(--space-2); background: var(--signal); }
.k-docheader-body { padding: var(--space-6); }
.k-docheader h1 { margin: 0; font-family: var(--font-display); font-size: 28px; line-height: 34px; font-weight: 700; color: var(--on-deep); }
.k-docheader p { margin: var(--space-2) 0 0; font-size: 15px; line-height: 23px; color: var(--on-deep); opacity: .85; }
.k-step { background: var(--surface-tint); border-top: 2px solid var(--signal); padding: var(--space-4); }
.k-step:nth-child(4n+2), .k-step:nth-child(4n+3) { background: var(--surface-tint-strong); }
.k-step-num { font-family: var(--font-display); font-size: 28px; line-height: 32px; font-weight: 700; color: var(--brand); font-variant-numeric: tabular-nums; }
.k-step h3 { margin: var(--space-3) 0 var(--space-1); font-size: 15px; line-height: 23px; font-weight: 700; color: var(--ink); }
.k-step p { margin: 0; font-size: 13px; line-height: 19px; color: var(--ink-muted); }
.k-info { background: var(--surface-tint); border-top: 2px solid var(--signal); padding: var(--space-4); }
.k-info h3 { margin: 0 0 var(--space-2); font-size: 15px; line-height: 23px; font-weight: 700; color: var(--brand); }
.k-info p { margin: 0; font-size: 13px; line-height: 19px; color: var(--ink); }
.k-table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 19px; font-variant-numeric: tabular-nums; }
.k-table th { background: var(--deep); color: var(--on-deep); font-weight: 700; text-align: center; padding: var(--space-2) var(--space-3); }
.k-table th:first-child, .k-table td:first-child { text-align: left; font-weight: 700; }
.k-table td { padding: var(--space-2) var(--space-3); text-align: center; border-bottom: 1px solid var(--line); color: var(--ink); }
.k-table tbody tr:nth-child(even) td { background: var(--surface-tint-strong); }
.k-table tr.k-total td { color: var(--brand); font-weight: 700; }
.k-cta { display: flex; background: var(--deep); }
.k-cta::before { content: ""; flex: 0 0 var(--space-2); background: var(--signal); }
.k-cta p { flex: 1; margin: 0; padding: var(--space-4) var(--space-6); text-align: center; font-weight: 700; color: var(--on-deep); }
.k-footer { border-top: 1px solid var(--line); padding-top: var(--space-3); display: flex; justify-content: space-between; gap: var(--space-4); font-size: 11px; line-height: 16px; color: var(--ink-muted); }
.k-footer strong { display: block; font-size: 13px; line-height: 19px; color: var(--ink); }
.k-footer .k-role { color: var(--brand); font-weight: 700; }
.k-footer .k-page { text-align: right; white-space: nowrap; }
.k-footer .k-page b { display: block; color: var(--brand); font-size: 13px; }
.k-btn { font: inherit; font-weight: 700; font-size: 15px; height: 40px; padding: 0 var(--space-4); border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.k-btn-primary { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.k-btn:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.k-row { display: flex; gap: var(--space-3); align-items: center; flex-wrap: wrap; }

/* --- Web 12345: základ ---
   Pravidlá: skill 12345-design, WEB.md (zaoblené tvary, žiara, sklo). Tokeny sú navrhnuté pre A4;
   na webe je základný text 16 px kvôli čitateľnosti na mobile. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-sans); font-size: 16px; line-height: 24px; background: var(--surface); color: var(--ink); }
a { color: var(--brand); }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
.container { width: min(100% - 32px, 1120px); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--space-4); top: -100px; z-index: 30; padding: var(--space-2) var(--space-4); border-radius: var(--radius-full); background: var(--surface); color: var(--ink); border: 2px solid var(--focus-ring); font-weight: 700; }
.skip-link:focus { top: var(--space-4); }

/* --- Tlačidlá: na webe pilulky --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 48px; padding: 0 var(--space-6); border: 1px solid transparent; border-radius: var(--radius-full); font: inherit; font-size: 16px; font-weight: 700; line-height: 1; text-decoration: none; cursor: pointer; transition: transform .2s ease, background-color .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: color-mix(in srgb, var(--brand) 86%, var(--ink)); }
.btn-light { background: var(--surface); color: var(--ink); }
.btn-link-light { padding: var(--space-3) var(--space-2); border-radius: var(--radius-full); color: var(--on-deep); font-weight: 700; text-decoration: none; }
.btn-link-light:hover { text-decoration: underline; text-underline-offset: 4px; }

/* --- Plávajúca navigácia --- */
.site-nav { position: fixed; top: var(--space-6); left: 0; right: 0; z-index: 20; display: flex; justify-content: center; padding-inline: var(--space-6); pointer-events: none; }
.site-nav-pill { position: relative; pointer-events: auto; display: flex; align-items: center; gap: var(--space-4); width: min(100%, 1040px); padding: var(--space-2) var(--space-2) var(--space-2) var(--space-6); border: 1px solid color-mix(in srgb, var(--line) 60%, transparent); border-radius: var(--radius-full); background: color-mix(in srgb, var(--surface) 84%, transparent); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); transition: width .45s cubic-bezier(.2,.7,.2,1), background-color .3s ease, border-color .3s ease; }
.site-nav.is-scrolled .site-nav-pill { width: min(100%, 940px); background: var(--surface); border-color: var(--line); }
.site-logo { display: block; flex: 0 0 auto; border-radius: var(--radius-md); }
.site-logo img { display: block; width: auto; height: 40px; }
.site-nav-links { display: flex; gap: var(--space-1); margin-left: auto; }
.site-nav-links a { padding: var(--space-2) var(--space-3); border-radius: var(--radius-full); color: var(--ink); font-size: 15px; text-decoration: none; transition: background-color .2s ease; }
.site-nav-links a:hover { background: var(--surface-tint-strong); }
.site-nav-cta { min-height: 44px; padding: 0 var(--space-4); font-size: 15px; }
.site-nav-toggle { display: none; flex: 0 0 44px; height: 44px; margin-left: auto; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-full); background: var(--surface); color: var(--ink); cursor: pointer; }
.burger, .burger::before, .burger::after { display: block; width: 18px; height: 2px; margin: 0 auto; border-radius: 2px; background: currentColor; transition: transform .3s ease, opacity .2s ease; }
.burger { position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -6px; }
.burger::after { top: 6px; }
.site-nav.is-open .burger { background: transparent; }
.site-nav.is-open .burger::before { transform: translateY(6px) rotate(45deg); }
.site-nav.is-open .burger::after { transform: translateY(-6px) rotate(-45deg); }

/* --- Úvod: žiara, závoj, obsah --- */
.hero { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; min-height: max(680px, 100svh); margin: var(--space-3); padding: 136px var(--space-6) 72px; border-radius: var(--radius-lg); color: var(--on-deep);
  /* Záloha bez WebGL: statická žiara z farieb značky. */
  background: radial-gradient(ellipse 70% 60% at 72% 22%, color-mix(in srgb, var(--brand) 75%, transparent), transparent 70%), radial-gradient(ellipse 60% 50% at 18% 88%, color-mix(in srgb, var(--signal) 35%, transparent), transparent 70%), var(--deep-shade); }
.hero-aurora { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; opacity: 0; transform: scale(calc(1 + var(--hero-progress, 0) * .08)); transition: opacity 1.4s ease; }
.hero-aurora.is-ready { opacity: 1; }
.hero-veil { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 62% 56% at 50% 44%, color-mix(in srgb, var(--deep-shade) 82%, transparent) 0%, color-mix(in srgb, var(--deep-shade) 50%, transparent) 55%, transparent 86%), linear-gradient(to bottom, color-mix(in srgb, var(--deep-shade) 45%, transparent), transparent 28%); }
.hero-inner { display: flex; flex-direction: column; align-items: center; width: min(100%, 900px); text-align: center; will-change: transform, opacity; }
.hero :focus-visible { outline-color: var(--on-deep); }
.hero-chip { margin: 0 0 var(--space-6); padding: var(--space-2) var(--space-4); border: 1px solid var(--glass-line); border-radius: var(--radius-full); background: var(--glass-fill); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); font-size: 13px; line-height: 19px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hero-title { margin: 0; font-family: var(--font-display); font-size: 64px; line-height: 68px; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.hero-title span, .hero-title em { display: inline-block; }
.hero-title em { font-style: normal; color: var(--signal); }
.hero-lead { max-width: 58ch; margin: var(--space-6) 0 0; font-size: 19px; line-height: 29px; color: color-mix(in srgb, var(--on-deep) 84%, transparent); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-4); margin-top: var(--space-8); }

/* --- AI okno (sklo) --- */
.ai-window { width: min(100%, 720px); margin: 64px 0 0; padding: var(--space-3) var(--space-4) var(--space-4); border: 1px solid var(--glass-line); border-radius: var(--radius-lg); background: linear-gradient(var(--glass-fill), var(--glass-fill)), color-mix(in srgb, var(--deep-shade) 40%, transparent); -webkit-backdrop-filter: blur(18px) saturate(130%); backdrop-filter: blur(18px) saturate(130%); text-align: left; }
.ai-window-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); padding: 0 var(--space-1) var(--space-3); }
.ai-window-caption { font-size: 14px; line-height: 20px; color: color-mix(in srgb, var(--on-deep) 80%, transparent); }
.ai-tools { display: inline-flex; padding: 3px; border: 1px solid var(--glass-line); border-radius: var(--radius-full); }
.ai-tool { min-height: 36px; padding: 0 var(--space-4); border: 0; border-radius: var(--radius-full); background: transparent; color: var(--on-deep); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background-color .35s ease, color .35s ease; }
.ai-tool[aria-pressed="true"] { background: var(--surface); color: var(--ink); }
.ai-input { display: flex; align-items: flex-end; gap: var(--space-3); padding: var(--space-4); border: 1px solid var(--glass-line); border-radius: var(--radius-md); background: color-mix(in srgb, var(--deep-shade) 55%, transparent); }
.ai-plus { display: grid; place-items: center; flex: 0 0 32px; height: 32px; border: 1px solid var(--glass-line); border-radius: var(--radius-full); color: color-mix(in srgb, var(--on-deep) 80%, transparent); font-size: 20px; line-height: 1; }
.ai-body { flex: 1; min-width: 0; }
.ai-for { display: block; font-size: 12px; line-height: 16px; letter-spacing: .05em; text-transform: uppercase; color: color-mix(in srgb, var(--on-deep) 72%, transparent); }
.ai-for b { color: var(--signal); }
.ai-text { display: grid; margin: var(--space-1) 0 0; font-size: 18px; line-height: 26px; color: var(--on-deep); }
.ai-text > * { grid-area: 1 / 1; }
.ai-sizer { visibility: hidden; }
.ai-sizer::after { content: ""; display: inline-block; width: 4px; }
.ai-caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -0.18em; background: var(--signal); animation: caret 1s steps(1) infinite; }
.ai-send { display: grid; place-items: center; flex: 0 0 40px; height: 40px; border-radius: var(--radius-full); background: var(--surface); color: var(--ink); }
@keyframes caret { 50% { opacity: 0; } }

/* --- Nábeh úvodu: zdola s rozostrením, postupne --- */
@keyframes enter { from { opacity: 0; transform: translateY(24px); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
.enter { animation: enter .9s cubic-bezier(.2,.7,.2,1) both; }
.enter-1 { animation-delay: .1s; }
.enter-2 { animation-delay: .22s; }
.enter-3 { animation-delay: .42s; }
.enter-4 { animation-delay: .62s; }
.enter-5 { animation-delay: .78s; }
.enter-6 { animation-delay: 1s; animation-duration: 1.1s; }

/* --- Päta --- */
.site-footer { padding-block: var(--space-12); }
.site-footer .k-footer { flex-wrap: wrap; font-size: 13px; line-height: 19px; }
.site-footer .k-footer strong { font-size: 15px; line-height: 23px; }
.site-footer-contact { display: flex; flex-direction: column; gap: var(--space-1); text-align: right; }
.site-footer-contact a { color: var(--ink-muted); text-decoration: none; }
.site-footer-contact a:hover { color: var(--brand); text-decoration: underline; }

/* --- Tablet a mobil --- */
@media (max-width: 900px) {
  .site-nav-toggle { display: block; }
  .site-nav-links { position: absolute; top: calc(100% + var(--space-2)); left: 0; right: 0; display: none; flex-direction: column; gap: 0; margin: 0; padding: var(--space-2); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
  .site-nav.is-open .site-nav-links { display: flex; }
  .site-nav-links a { padding: var(--space-3) var(--space-4); font-size: 17px; }
  .site-nav-cta { margin-left: auto; }
  .site-nav-toggle { margin-left: 0; }
}
@media (max-width: 640px) {
  .site-nav { top: var(--space-4); padding-inline: var(--space-4); }
  .site-nav-pill { padding-left: var(--space-4); }
  .site-logo img { height: 32px; }
  .site-nav-cta { display: none; }
  .site-nav-toggle { margin-left: auto; }
  .hero { min-height: max(620px, 100svh); margin: var(--space-2); padding: 112px var(--space-4) 40px; }
  .hero-chip { font-size: 11px; line-height: 16px; }
  .hero-title { font-size: 40px; line-height: 44px; }
  .hero-veil { background: radial-gradient(ellipse 140% 64% at 50% 44%, color-mix(in srgb, var(--deep-shade) 80%, transparent) 0%, color-mix(in srgb, var(--deep-shade) 55%, transparent) 60%, transparent 100%), linear-gradient(to bottom, color-mix(in srgb, var(--deep-shade) 45%, transparent), transparent 28%); }
  .hero-lead { font-size: 17px; line-height: 26px; }
  .ai-window { margin-top: 40px; padding: var(--space-2) var(--space-2) var(--space-2); }
  .ai-window-head { padding: var(--space-1) var(--space-2) var(--space-3); }
  .ai-input { padding: var(--space-3); }
  .ai-text { font-size: 16px; line-height: 24px; }
  .site-footer-contact { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .enter { animation: none; }
  .ai-caret { animation: none; }
  .hero-aurora { transition: none; }
  .btn:hover { transform: none; }
}
