/* ===================================================================
   Finario · homepage + právne stránky
   Rovnaký vizuálny jazyk ako landing /investicny-test: tmavé „midnight“
   plátno, brand violet, oranžový akcent pre CTA, Space Grotesk + Inter.
   Landing má vlastné inline štýly a tento súbor nepoužíva.
   =================================================================== */

@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(public/fonts/inter-latinext.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:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url(public/fonts/inter-latin.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:'Space Grotesk';font-style:normal;font-weight:500 700;font-display:swap;src:url(public/fonts/spacegrotesk-latinext.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:'Space Grotesk';font-style:normal;font-weight:500 700;font-display:swap;src:url(public/fonts/spacegrotesk-latin.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}

:root {
    --ink: #0a0b14;
    --ink-soft: #0f1120;
    --ink-2: #161829;
    --violet: #a855f7;
    --violet-br: #c4a0ff;
    --violet-dp: #7c3aed;
    --brand: #623d98;
    --gold: #ee8f3e;
    --gold-br: #fab85f;
    --gold-dp: #d4742a;
    --paper: #f4f1ea;
    --mist: #a3a4ba;
    --mist-dim: #8587a4;
    --line: rgba(255, 255, 255, 0.08);
    --line-br: rgba(255, 255, 255, 0.16);
    --card: rgba(255, 255, 255, 0.035);
    --card-hov: rgba(255, 255, 255, 0.06);
    --sheet-ink: #17142b;
    --sheet-ink-2: #4b4764;
    --sheet-line: #ddd8cc;

    --radius-lg: clamp(22px, 2.6vw, 32px);
    --shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

    --wrap: 1180px;
    --gutter: clamp(20px, 4.5vw, 44px);
    --section: clamp(72px, 10vw, 132px);
    --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    margin: 0;
    background: var(--ink);
    color: var(--paper);
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
h1, h2, h3, p { overflow-wrap: break-word; }

a { color: var(--violet-br); text-underline-offset: 0.18em; }
a:hover { color: #fff; }

:focus-visible { outline: 3px solid var(--gold-br); outline-offset: 3px; border-radius: 4px; }

.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: 16px; top: -64px; z-index: 100;
    padding: 10px 16px; background: var(--paper); color: var(--ink); border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 16px; color: var(--ink); }

/* ---------- typografia ---------- */

h1, h2, h3 {
    font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.06;
    text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 1.2rem + 5.2vw, 4.75rem); }
h2 { font-size: clamp(2rem, 1.2rem + 3.3vw, 3.5rem); }
h3 { font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem); letter-spacing: -0.012em; line-height: 1.18; }

.lead { font-size: clamp(1.08rem, 0.98rem + 0.5vw, 1.3rem); line-height: 1.55; color: var(--mist); text-wrap: pretty; }

.grad {
    color: transparent;
    background: linear-gradient(120deg, var(--violet-br), #f0abfc 55%, var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
}

/* ---------- rozloženie ---------- */

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section); }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .lead { margin-top: 20px; }
.section-head .lead + .lead { margin-top: 12px; }

/* Svetlý „hárok“ – kontrastný panel na tmavom plátne. */
.sheet {
    margin-inline: clamp(8px, 1.4vw, 20px);
    border-radius: clamp(26px, 4vw, 48px);
    background: var(--paper);
    color: var(--sheet-ink);
}
.sheet a { color: var(--brand); }
.sheet a:hover { color: var(--violet-dp); }
.sheet :focus-visible { outline-color: var(--brand); }

/* ---------- tlačidlá ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
    padding: 1rem 1.6rem; border: 0; border-radius: 14px;
    font-family: "Inter", system-ui, sans-serif; font-size: 1rem; font-weight: 700; line-height: 1.2;
    text-decoration: none; white-space: nowrap; cursor: pointer;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s;
}
.btn-gold {
    background: linear-gradient(180deg, var(--gold-br), var(--gold) 55%, var(--gold-dp));
    color: #2a1605;
    box-shadow: 0 14px 34px -10px rgba(238, 143, 62, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.btn-gold:hover { color: #2a1605; transform: translateY(-2px); box-shadow: 0 20px 44px -10px rgba(238, 143, 62, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn-gold:active { transform: translateY(0); }
.btn-ghost { background: rgba(255, 255, 255, 0.05); color: var(--paper); border: 1px solid var(--line-br); backdrop-filter: blur(8px); }
.btn-ghost:hover { color: var(--paper); background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }
.btn-lg { padding: 1.15rem 2rem; font-size: 1.08rem; }
.btn-sm { padding: 0.65rem 1.1rem; font-size: 0.94rem; }
.btn svg { flex: none; }

/* ---------- hlavička ---------- */

.site-header {
    position: sticky; top: 0; z-index: 50;
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s, border-color 0.3s;
}
.site-header.is-stuck, .site-header.is-open {
    background: rgba(10, 11, 20, 0.8);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom-color: var(--line);
}
.site-header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { height: 36px; width: auto; }

.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.site-nav a:not(.btn) {
    position: relative; padding-block: 6px;
    color: var(--mist); font-size: 0.97rem; font-weight: 500; text-decoration: none;
    transition: color 0.2s;
}
.site-nav a:not(.btn)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--violet), var(--gold));
    transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.site-nav a:not(.btn):hover { color: var(--paper); }
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle {
    display: none; width: 44px; height: 44px; padding: 0;
    border: 1px solid var(--line-br); border-radius: 12px; background: rgba(255, 255, 255, 0.05); color: var(--paper); cursor: pointer;
}
.nav-toggle svg { margin: auto; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 899px) {
    .nav-toggle { display: block; }
    .site-nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        padding: 8px var(--gutter) 24px;
        background: rgba(10, 11, 20, 0.97); border-bottom: 1px solid var(--line);
    }
    .site-nav.is-open { display: flex; }
    .site-nav a:not(.btn) { padding-block: 15px; border-bottom: 1px solid var(--line); font-size: 1.1rem; color: var(--paper); }
    .site-nav a:not(.btn)::after { display: none; }
    .site-nav .btn { margin-top: 20px; }
}

/* ---------- úvod ---------- */

.hero { position: relative; padding-block: clamp(36px, 6vw, 84px) clamp(64px, 9vw, 120px); }
.hero-bg { position: absolute; inset: calc(-1 * var(--header-h)) 0 0; overflow: hidden; pointer-events: none; }
.hero-bg::before {
    content: ""; position: absolute; inset: -10% -10% 0;
    background:
        radial-gradient(44% 52% at 12% 16%, rgba(124, 58, 237, 0.5), transparent 70%),
        radial-gradient(38% 46% at 82% 34%, rgba(192, 38, 211, 0.26), transparent 70%),
        radial-gradient(46% 42% at 58% 104%, rgba(238, 143, 62, 0.13), transparent 72%);
}
.hero-bg::after {
    content: ""; position: absolute; inset: 0; opacity: 0.45;
    background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000, transparent 78%);
    mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000, transparent 78%);
}

.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 1.1rem + 3.5vw, 4.1rem); }
.hero .lead { margin-top: 24px; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-art { position: relative; aspect-ratio: 1 / 1; width: 110%; max-width: 620px; margin-left: -4%; }
/* Presah doprava až tam, kde je po stranách obsahu voľné miesto. */
@media (min-width: 1360px) {
    .hero-art { width: 128%; margin-left: -6%; }
}
.hero-art::before {
    content: ""; position: absolute; inset: 6%; border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.55), rgba(124, 58, 237, 0.12) 55%, transparent 72%);
    filter: blur(8px);
}
.hero-rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero-rings circle { fill: none; stroke: rgba(255, 255, 255, 0.1); stroke-width: 1; }
.hero-rings .ring-dash { stroke: rgba(196, 160, 255, 0.4); stroke-dasharray: 2 10; stroke-linecap: round; stroke-width: 2; }
.hero-rings .orbit { fill: var(--gold); stroke: none; }
.hero-rings g { transform-origin: 50% 50%; }
.hero-art picture { position: absolute; inset: 0; transform: translate3d(var(--px, 0px), var(--py, 0px), 0); transition: transform 0.5s var(--ease); }
.hero-art img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.55)); }

@media (prefers-reduced-motion: no-preference) {
    .hero-copy > * { animation: rise 0.8s var(--ease) both; }
    .hero-copy > :nth-child(2) { animation-delay: 0.1s; }
    .hero-copy > :nth-child(3) { animation-delay: 0.2s; }
    .hero-art { animation: art-in 1.1s var(--ease) 0.15s both; }
    .hero-art img { animation: float 8s ease-in-out 1.3s infinite; }
    .hero-rings .spin-slow { animation: spin 70s linear infinite; }
    .hero-rings .spin-orbit { animation: spin 26s linear infinite; }
}
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes art-in { from { opacity: 0; transform: scale(0.9) translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 899px) {
    .hero-grid { grid-template-columns: minmax(0, 1fr); }
    .hero h1 { font-size: clamp(2.5rem, 1.2rem + 5.2vw, 4rem); }
    .hero-art { width: 100%; max-width: 440px; margin: 8px auto 0; }
}

/* ---------- objavenie pri skrolovaní ---------- */

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- kalkulačka ---------- */

.calc-section::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(50% 40% at 85% 12%, rgba(124, 58, 237, 0.22), transparent 70%), radial-gradient(40% 36% at 6% 86%, rgba(238, 143, 62, 0.1), transparent 70%);
}
.calc-section .wrap { position: relative; }

.calc {
    display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
    border: 1px solid transparent; border-radius: var(--radius-lg);
    background:
        linear-gradient(var(--ink-soft), var(--ink-soft)) padding-box,
        linear-gradient(135deg, rgba(196, 160, 255, 0.55), rgba(255, 255, 255, 0.07) 38%, rgba(255, 255, 255, 0.07) 62%, rgba(238, 143, 62, 0.5)) border-box;
    box-shadow: var(--shadow);
}

.calc-controls { display: grid; align-content: start; gap: 30px; padding: clamp(22px, 3vw, 38px); border-right: 1px solid var(--line); }
.calc-field-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.calc-field label { font-weight: 600; line-height: 1.3; }

.calc-num {
    display: flex; align-items: center; gap: 5px; flex: none;
    padding: 7px 12px; border: 1px solid var(--line-br); border-radius: 12px; background: rgba(255, 255, 255, 0.05);
    font-family: "Space Grotesk", "Inter", sans-serif; font-size: 1.1rem; font-weight: 600; font-variant-numeric: tabular-nums;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.calc-num:focus-within { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.22); }
.calc-num input { width: 5.2rem; padding: 0; border: 0; background: none; color: var(--paper); font: inherit; text-align: right; -moz-appearance: textfield; appearance: textfield; }
.calc-num input:focus { outline: none; }
.calc-num input::-webkit-outer-spin-button, .calc-num input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-num span { color: var(--mist-dim); font-weight: 500; }

.range { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 34px; margin: 6px 0 0; background: transparent; cursor: pointer; --fill: 50%; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--violet-dp), var(--violet) var(--fill), rgba(255, 255, 255, 0.12) var(--fill)); }
.range::-webkit-slider-thumb {
    -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border: 0; border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #fff, #e9defc 60%, #cdb6f7);
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.35), 0 6px 16px rgba(0, 0, 0, 0.5);
    transition: box-shadow 0.2s, transform 0.2s;
}
.range:hover::-webkit-slider-thumb, .range:active::-webkit-slider-thumb { transform: scale(1.08); box-shadow: 0 0 0 7px rgba(168, 85, 247, 0.3), 0 6px 16px rgba(0, 0, 0, 0.5); }
.range::-moz-range-track { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.12); }
.range::-moz-range-progress { height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--violet-dp), var(--violet)); }
.range::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: #efe6fd; box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.35), 0 6px 16px rgba(0, 0, 0, 0.5); }
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--ink-soft), 0 0 0 6px var(--gold-br); }
.range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px var(--ink-soft), 0 0 0 6px var(--gold-br); }

.calc-scale { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--mist-dim); font-variant-numeric: tabular-nums; }

.calc-result { min-width: 0; padding: clamp(22px, 3vw, 38px); }
.calc-figure-label { color: var(--mist); }
.calc-figure {
    margin-top: 2px;
    font-family: "Space Grotesk", "Inter", sans-serif; font-weight: 600;
    font-size: clamp(3rem, 1.8rem + 4.4vw, 5.25rem); line-height: 1; letter-spacing: -0.03em;
}

.calc-figure.is-long { font-size: clamp(2.4rem, 1.5rem + 3.2vw, 4rem); }
.calc-figure.is-xlong { font-size: clamp(1.9rem, 1.2rem + 2.5vw, 3.1rem); }

.calc-split { display: flex; gap: 3px; height: 10px; margin-top: 22px; }
.calc-split i { display: block; height: 100%; min-width: 4px; border-radius: 5px; transition: flex-basis 0.35s var(--ease); }
.calc-split .is-deposits { flex: 0 0 50%; background: #8f91ad; }
.calc-split .is-returns { flex: 1 1 0; background: linear-gradient(90deg, var(--violet-dp), var(--violet-br)); }

.calc-legend { display: flex; flex-wrap: wrap; gap: 8px 34px; margin-top: 14px; }
.calc-legend div { display: flex; align-items: baseline; gap: 9px; }
.calc-legend dt { display: flex; align-items: center; gap: 8px; color: var(--mist); }
.calc-legend dd { font-family: "Space Grotesk", "Inter", sans-serif; font-size: 1.2rem; font-weight: 600; font-variant-numeric: tabular-nums; }

.key { display: inline-block; flex: none; width: 12px; height: 12px; border-radius: 4px; }
.key-deposits { background: #8f91ad; }
.key-returns { background: linear-gradient(135deg, var(--violet-dp), var(--violet-br)); }
.key-total { width: 18px; height: 3px; border-radius: 2px; background: var(--violet-br); }
.key-cross { border: 3px solid var(--gold); border-radius: 50%; background: transparent; box-shadow: 0 0 12px rgba(238, 143, 62, 0.7); }

.calc-insight {
    display: flex; align-items: center; gap: 12px;
    margin-top: 20px; padding: 13px 16px; max-width: 620px;
    border: 1px solid rgba(238, 143, 62, 0.28); border-radius: 14px; background: rgba(238, 143, 62, 0.07);
    line-height: 1.45;
}
.calc-insight [hidden] { display: none; }

.chart { position: relative; margin-top: 22px; touch-action: pan-y; border-radius: 12px; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart text { font-family: "Inter", sans-serif; font-size: 12.5px; fill: var(--mist-dim); font-variant-numeric: tabular-nums; }
.chart .grid { stroke: rgba(255, 255, 255, 0.07); stroke-width: 1; }
.chart .axis { stroke: rgba(255, 255, 255, 0.18); stroke-width: 1; }
.chart .area-deposits { fill: rgba(255, 255, 255, 0.055); }
.chart .area-returns { fill: url(#calc-returns-fill); }
.chart .line-deposits { fill: none; stroke: #8f91ad; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .line-total { fill: none; stroke: var(--violet-br); stroke-width: 2.75; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 7px rgba(168, 85, 247, 0.75)); }
.chart .dot-total { fill: #fff; stroke: var(--violet); stroke-width: 3; }
.chart .dot-deposits { fill: #8f91ad; stroke: var(--ink-soft); stroke-width: 2; }
.chart .cross-dot { fill: var(--ink-soft); stroke: var(--gold); stroke-width: 3; filter: drop-shadow(0 0 6px rgba(238, 143, 62, 0.8)); }
.chart .cross-leader { stroke: var(--gold); stroke-width: 1.5; }
.chart .cross-label { fill: var(--gold-br); font-size: 13px; font-weight: 700; }
.chart .hair { stroke: rgba(255, 255, 255, 0.5); stroke-width: 1; }
@media (prefers-reduced-motion: no-preference) {
    .chart.is-drawing .line-total, .chart.is-drawing .line-deposits { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s var(--ease) 0.1s forwards; }
    .chart.is-drawing .area-returns, .chart.is-drawing .area-deposits, .chart.is-drawing circle, .chart.is-drawing .cross-leader, .chart.is-drawing .cross-label { opacity: 0; animation: fade 0.6s ease 1.1s forwards; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

.chart-tip {
    position: absolute; top: 0; left: 0; z-index: 2; min-width: 190px; padding: 12px 14px;
    border: 1px solid var(--line-br); border-radius: 14px; background: rgba(22, 24, 41, 0.94);
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.8);
    font-size: 0.875rem; line-height: 1.4; pointer-events: none;
}
.chart-tip[hidden] { display: none; }
.chart-tip-title { margin-bottom: 6px; color: var(--mist); }
.chart-tip-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.chart-tip-row span { display: flex; align-items: center; gap: 8px; color: var(--mist); }
.chart-tip-row b { font-weight: 700; font-variant-numeric: tabular-nums; }

.calc-table { margin-top: 18px; }
.calc-table summary { display: inline-block; padding-block: 6px; color: var(--violet-br); font-weight: 600; text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; list-style: none; }
.calc-table summary::-webkit-details-marker { display: none; }
.calc-table summary:hover { color: #fff; }
.calc-table-scroll { max-height: 352px; margin-top: 12px; overflow: auto; border: 1px solid var(--line); border-radius: 14px; }
.calc-table table { width: 100%; border-collapse: collapse; font-size: 0.94rem; font-variant-numeric: tabular-nums; }
.calc-table th, .calc-table td { padding: 9px 14px; text-align: right; white-space: nowrap; }
.calc-table th:first-child, .calc-table td:first-child { text-align: left; }
.calc-table thead th { position: sticky; top: 0; background: var(--ink-2); color: var(--mist); font-weight: 600; }
.calc-table tbody tr + tr td { border-top: 1px solid var(--line); }

.calc-disclaimer { margin-top: 26px; max-width: 760px; font-size: 0.875rem; line-height: 1.55; color: var(--mist-dim); }

@media (max-width: 899px) {
    .calc { grid-template-columns: minmax(0, 1fr); }
    .calc-controls { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- o nás (svetlý hárok) ---------- */

.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center; }

.about-visual { position: relative; padding: 0 0 22px 22px; }
.about-visual::before { content: ""; position: absolute; left: 0; bottom: 0; width: 62%; height: 58%; border-radius: var(--radius-lg); background: linear-gradient(145deg, var(--violet-dp), var(--brand)); }
.about-visual::after { content: ""; position: absolute; z-index: 2; right: -18px; top: -18px; width: 96px; height: 96px; border-radius: 50%; background: linear-gradient(160deg, var(--gold-br), var(--gold)); box-shadow: 0 18px 30px -12px rgba(212, 116, 42, 0.7); }
.photo { position: relative; z-index: 1; display: block; overflow: hidden; border-radius: var(--radius-lg); background: #d9d4c8; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about-visual .photo { aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -24px rgba(23, 20, 43, 0.45); }
.about-visual:hover .photo img, .way:hover .photo img { transform: scale(1.045); }

.about-text h2 { margin-bottom: 28px; }
.about-text p { color: var(--sheet-ink-2); }
.about-text p + p { margin-top: 18px; }
.about-text p:first-of-type { font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.7rem); line-height: 1.38; letter-spacing: -0.01em; color: var(--sheet-ink); }
.about-text strong { color: var(--brand); }

@media (max-width: 767px) {
    .about-grid { grid-template-columns: minmax(0, 1fr); }
    .about-visual { margin-right: 18px; }
    .about-visual .photo { aspect-ratio: 4 / 3; }
}

/* ---------- misia · vízia · hodnoty ---------- */

.mv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.mv-card { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 52px); min-height: 340px; border-radius: var(--radius-lg); }
.mv-card h2 { font-size: clamp(1.8rem, 1.3rem + 1.9vw, 2.6rem); }
.mv-card p { position: relative; margin-top: 20px; max-width: 520px; }
.mv-card svg { position: absolute; right: -70px; bottom: -90px; width: 300px; height: 300px; pointer-events: none; }
.mv-card svg circle { fill: none; stroke-width: 1.5; }
.mv-mission { background: linear-gradient(150deg, #8b5cf6 0%, var(--brand) 48%, #37206b 100%); box-shadow: 0 30px 70px -30px rgba(124, 58, 237, 0.8); }
.mv-mission p { color: #ece4fb; }
.mv-mission svg circle { stroke: rgba(255, 255, 255, 0.22); }
.mv-vision { background: var(--card); border: 1px solid var(--line-br); }
.mv-vision::before { content: ""; position: absolute; right: -20%; top: -30%; width: 70%; height: 80%; background: radial-gradient(circle, rgba(238, 143, 62, 0.22), transparent 68%); pointer-events: none; }
.mv-vision p { color: var(--mist); }
.mv-vision svg circle { stroke: rgba(238, 143, 62, 0.32); }

.values { margin-top: clamp(64px, 9vw, 112px); }
.values h2 { text-align: center; }

.marquee { margin-top: clamp(28px, 4vw, 48px); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.marquee-track { display: flex; width: max-content; }
.marquee ul { display: flex; flex: none; align-items: center; list-style: none; }
.marquee li {
    display: flex; align-items: center; gap: clamp(22px, 3.4vw, 52px); padding-right: clamp(22px, 3.4vw, 52px);
    font-family: "Space Grotesk", "Inter", sans-serif; font-size: clamp(2.6rem, 1.4rem + 5.6vw, 6rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; white-space: nowrap;
}
.marquee li::after { content: ""; flex: none; width: 0.2em; height: 0.2em; border-radius: 50%; background: var(--gold); box-shadow: 0 0 22px rgba(238, 143, 62, 0.8); }
.marquee li:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--violet-br); }
@media (prefers-reduced-motion: no-preference) {
    .marquee-track { animation: marquee 38s linear infinite; }
    .marquee:hover .marquee-track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
    .marquee { -webkit-mask-image: none; mask-image: none; }
    .marquee-track { width: auto; }
    .marquee ul { flex-wrap: wrap; justify-content: center; }
    .marquee ul[aria-hidden="true"] { display: none; }
    .marquee li { font-size: clamp(1.8rem, 5vw, 3rem); }
}
@keyframes marquee { to { transform: translateX(-50%); } }

.ebook { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 6vw, 88px); align-items: center; margin-top: clamp(64px, 9vw, 112px); }
.ebook-tagline { font-family: "Space Grotesk", "Inter", sans-serif; font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.6rem); font-weight: 600; line-height: 1.16; letter-spacing: -0.02em; text-wrap: balance; }
.ebook-copy { margin-top: 22px; max-width: 560px; color: var(--mist); }
.ebook .btn { margin-top: 30px; }
.ebook-cover-wrap { position: relative; perspective: 1200px; padding: 12px 28px; }
.ebook-cover-wrap::before { content: ""; position: absolute; inset: -12%; background: radial-gradient(circle, rgba(124, 58, 237, 0.5), transparent 68%); filter: blur(12px); }
.ebook-cover {
    position: relative; width: clamp(180px, 22vw, 270px); border-radius: 10px;
    transform: rotateY(-18deg) rotateX(6deg) rotate(2deg);
    box-shadow: 26px 34px 60px -18px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.08);
    transition: transform 0.7s var(--ease);
}
.ebook-cover-wrap:hover .ebook-cover { transform: rotateY(-6deg) rotateX(2deg) rotate(0deg) translateY(-6px); }

@media (max-width: 767px) {
    .mv-grid, .ebook { grid-template-columns: minmax(0, 1fr); }
    .mv-card { min-height: 0; }
    .ebook-cover-wrap { justify-self: start; order: -1; }
}

/* ---------- ako to prebieha ---------- */

.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.way { --way-bg: #12131d; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--way-bg); transition: border-color 0.3s, transform 0.4s var(--ease); }
.way:hover { border-color: rgba(196, 160, 255, 0.4); transform: translateY(-4px); }
.way .photo { aspect-ratio: 16 / 10; border-radius: 0; }
.way .photo::after { content: ""; position: absolute; inset: 35% 0 -1px; background: linear-gradient(180deg, transparent, var(--way-bg) 96%); }
.way-body { position: relative; z-index: 1; margin-top: -54px; padding: 0 clamp(22px, 3vw, 38px) clamp(26px, 3vw, 38px); }
.way-body p { margin-top: 14px; color: var(--mist); }

.checks { display: grid; gap: 10px; margin-top: 16px; list-style: none; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before {
    content: ""; position: absolute; left: 0; top: 0.28em; width: 20px; height: 20px; border-radius: 50%;
    background: rgba(238, 143, 62, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fab85f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.ways-summary { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: clamp(40px, 6vw, 64px); text-align: center; }
.ways-summary p { font-size: 1.15rem; color: var(--mist); }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; }
.pills li { display: flex; align-items: center; gap: 9px; padding: 9px 18px; border: 1px solid var(--line-br); border-radius: 999px; background: rgba(255, 255, 255, 0.05); font-weight: 600; }
.pills li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.22); }
.ways-summary .btn { margin-top: 10px; }

@media (max-width: 767px) {
    .ways { grid-template-columns: minmax(0, 1fr); }
    .ways-summary .btn { white-space: normal; text-align: center; }
}

/* ---------- čo sa naučíte ---------- */

.learn-section::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(46% 34% at 8% 22%, rgba(124, 58, 237, 0.2), transparent 70%); }
.learn-section .wrap { position: relative; }

.learn-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.learn-card {
    display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(16px, 2.4vw, 28px); align-items: center;
    padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card);
    transition: border-color 0.3s, background-color 0.3s, transform 0.4s var(--ease);
}
.learn-card:hover { border-color: rgba(196, 160, 255, 0.4); background: var(--card-hov); transform: translateY(-4px); }
.learn-card img { width: clamp(84px, 11vw, 132px); filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.5)); transition: transform 0.6s var(--ease); }
.learn-card:hover img { transform: translateY(-6px) rotate(-5deg) scale(1.06); }
.learn-card p { margin-top: 10px; color: var(--mist); }

.result-box {
    position: relative; overflow: hidden; margin-top: clamp(40px, 6vw, 72px); padding: clamp(28px, 5vw, 68px);
    border: 1px solid transparent; border-radius: var(--radius-lg);
    background:
        linear-gradient(160deg, #1b1436, #110f24 60%) padding-box,
        linear-gradient(135deg, rgba(196, 160, 255, 0.6), rgba(255, 255, 255, 0.06) 45%, rgba(238, 143, 62, 0.55)) border-box;
    box-shadow: var(--shadow);
}
.result-box::before { content: ""; position: absolute; right: -12%; top: -40%; width: 60%; height: 120%; background: radial-gradient(circle, rgba(124, 58, 237, 0.34), transparent 66%); pointer-events: none; }
.result-box > * { position: relative; }
.result-box h3 { color: var(--gold-br); }
.result-highlight { margin-top: 18px; max-width: 900px; font-family: "Space Grotesk", "Inter", sans-serif; font-size: clamp(1.5rem, 1.05rem + 2.1vw, 2.75rem); font-weight: 500; line-height: 1.16; letter-spacing: -0.02em; color: var(--mist); text-wrap: balance; }
.result-highlight strong { font-weight: 600; color: var(--paper); }
.result-intro { margin-top: clamp(28px, 4vw, 44px); color: var(--mist); }
.result-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; list-style: none; }
.result-list li { padding: 20px 20px 22px; border: 1px solid var(--line-br); border-radius: 16px; background: rgba(255, 255, 255, 0.04); line-height: 1.45; }
.result-list li::before {
    content: ""; display: block; width: 26px; height: 26px; margin-bottom: 14px; border-radius: 50%;
    background: rgba(238, 143, 62, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fab85f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.result-close { margin-top: clamp(24px, 3vw, 36px); max-width: 720px; color: var(--mist); }
.result-close strong { color: var(--paper); font-weight: 600; }

@media (max-width: 767px) {
    .learn-grid, .result-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 479px) {
    .learn-card { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- kontakt (svetlý hárok) ---------- */

.contact-wrap { max-width: 720px; margin-inline: auto; }
.contact-wrap h2 { text-align: center; }

.contact-form {
    display: grid; gap: 20px; margin-top: clamp(28px, 4vw, 48px); padding: clamp(22px, 4vw, 44px);
    border-radius: var(--radius-lg); background: #fff; box-shadow: 0 30px 70px -34px rgba(23, 20, 43, 0.4);
}
.field label { display: block; margin-bottom: 7px; font-weight: 600; }
.input {
    display: block; width: 100%; min-height: 54px; padding: 14px 16px;
    border: 1.5px solid var(--sheet-line); border-radius: 14px; background: #fff; color: var(--sheet-ink);
    font: inherit; line-height: 1.4; transition: border-color 0.2s, box-shadow 0.2s;
}
.input::placeholder { color: #8b879d; opacity: 1; }
.input:hover { border-color: #bdb6cf; }
.input:focus { outline: none; border-color: var(--violet-dp); box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.16); }
textarea.input { min-height: 120px; resize: vertical; }
.iti { display: block; width: 100%; color: var(--sheet-ink); }
.iti__country-list { color: var(--sheet-ink); }

.field-error { margin-top: 7px; font-size: 0.94rem; color: #b3261e; }
.field-error[hidden] { display: none; }

.check { display: flex; align-items: flex-start; gap: 12px; line-height: 1.45; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--violet-dp); }
.contact-form .btn { width: 100%; }

.form-status { padding: 14px 16px; border-left: 4px solid var(--violet-dp); border-radius: 0 12px 12px 0; background: #f1ebfd; font-weight: 600; }
.form-status[hidden] { display: none; }

/* ---------- päta ---------- */

.site-footer { padding-block: clamp(48px, 7vw, 80px) 44px; }
.site-footer.is-ruled { border-top: 1px solid var(--line); }
.footer-in { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.footer-in img { height: 46px; width: auto; }
.footer-disclaimer { max-width: 70ch; font-size: 0.86rem; line-height: 1.6; color: var(--mist-dim); }
.footer-disclaimer strong { color: var(--mist); font-weight: 600; }
.footer-copyright { font-size: 0.82rem; color: var(--mist-dim); }
.site-footer a { color: var(--mist); }
.site-footer a:hover { color: var(--paper); }

/* ---------- právne stránky ---------- */

.legal { position: relative; padding-block: clamp(32px, 6vw, 72px) var(--section); }
.legal::before { content: ""; position: absolute; inset: calc(-1 * var(--header-h)) 0 auto; height: 620px; pointer-events: none; background: radial-gradient(42% 60% at 12% 0%, rgba(124, 58, 237, 0.36), transparent 70%); }
.legal .wrap { position: relative; }

.prose { max-width: 720px; }
.prose h1 { font-size: clamp(2.25rem, 1.5rem + 3.2vw, 3.6rem); margin-bottom: 18px; }
.prose h2 { margin-top: 44px; margin-bottom: 12px; font-size: clamp(1.45rem, 1.3rem + 0.6vw, 1.7rem); letter-spacing: -0.012em; line-height: 1.2; }
.prose h3 { margin-top: 28px; margin-bottom: 8px; font-size: 1.2rem; }
.prose p { margin-bottom: 16px; color: var(--mist); }
.prose ul { display: grid; gap: 8px; margin: 0 0 16px 20px; color: var(--mist); }
.prose li::marker { color: var(--violet); }
.prose strong { color: var(--paper); font-weight: 600; }

.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 30px; font-weight: 600; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.last-updated { font-size: 0.94rem; color: var(--mist-dim) !important; }

.prose-wide { max-width: 1000px; }
.prose-wide > p { max-width: 720px; }
.third-party-list { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px !important; margin: 26px 0 0 !important; list-style: none; }
.third-party-item { padding: 18px 20px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.third-party-name { font-weight: 700; color: var(--paper); line-height: 1.3; }
.third-party-address { margin-top: 6px; font-size: 0.94rem; line-height: 1.55; }
