/* ===========================================================
   milan.doucuje — sdílené styly (vícestránkový návrh)
   =========================================================== */
:root {
  --paper: #f5f1e8;
  --paper-2: #efe9db;
  --card: #fffdf8;
  --ink: #181610;
  --ink-dim: #6a665b;
  --ink-faint: #a39e8f;
  --line: #e2dccd;
  --accent: #ff4d1c;
  --accent-deep: #d63a0e;
  --accent-soft: #ffe7dd;
  --teal: #1f7a64;
  --green: #15803d;
  --radius: 20px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --f-disp: "Fraunces", serif;
  --f-body: "Hanken Grotesk", sans-serif;
  --f-mono: "IBM Plex Mono", monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper); color: var(--ink); font-family: var(--f-body);
  line-height: 1.55; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: #fff; }
a { color: inherit; text-decoration: none; }

/* CURSOR */
@media (pointer: fine) { body, a, button, input, textarea, label, select { cursor: none; } }
.cur-dot, .cur-ring { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; border-radius: 50%; transform: translate(-50%, -50%); mix-blend-mode: difference; }
.cur-dot { width: 7px; height: 7px; background: #fff; }
.cur-ring { width: 34px; height: 34px; border: 1.5px solid #fff; background: transparent; transition: width .3s var(--ease), height .3s var(--ease), background .3s, border-color .3s, border-width .3s; }
.cur-ring.hover { width: 52px; height: 52px; background: transparent; border-color: #fff; border-width: 2px; }
@media (pointer: coarse) { .cur-dot, .cur-ring { display: none; } }

/* GRAIN */
.grain { position: fixed; inset: 0; z-index: 9000; pointer-events: none; opacity: 0.035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* LOADER */
.loader { position: fixed; inset: 0; z-index: 10000; background: var(--paper);
  display: flex; align-items: flex-end; justify-content: space-between; padding: 40px clamp(20px,5vw,80px);
  transition: transform 1.1s var(--ease); }
.loader.done { transform: translateY(-101%); }
.loader__w { font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; color: var(--ink-dim); }
.loader__n { font-family: var(--f-disp); font-weight: 400; font-size: clamp(80px,22vw,260px); line-height: .8; letter-spacing: -.03em; }
.loader__n em { font-style: italic; color: var(--accent); }

/* LAYOUT HELPERS */
.wrap { width: min(1240px, 92vw); margin: 0 auto; position: relative; z-index: 2; }
.kicker { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep);
  display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 26px; height: 1.5px; background: var(--accent); }

/* NAV */
nav.site { position: fixed; top: 0; left: 0; right: 0; z-index: 500; display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(20px,5vw,56px); transition: background .4s var(--ease), padding .4s, border-color .4s; border-bottom: 1px solid transparent; }
nav.site.scrolled { background: rgba(245,241,232,.78); backdrop-filter: blur(14px); padding-top: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.logo { font-family: var(--f-disp); font-weight: 500; font-size: 22px; letter-spacing: -.02em; display: flex; align-items: center; gap: 9px; }
.logo i { font-style: italic; color: var(--accent); }
.logo .pin { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(21,128,61,.15); }
.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-links a { font-family: var(--f-mono); font-size: 13px; color: var(--ink-dim); padding: 8px 14px; border-radius: 999px; transition: color .3s, background .3s; }
.nav-links a:hover { color: var(--ink); background: rgba(0,0,0,.04); }
.nav-links a.active { color: var(--ink); background: rgba(0,0,0,.06); }
.nav-cta { font-family: var(--f-mono); font-size: 13px; font-weight: 500; background: var(--ink); color: var(--paper) !important;
  padding: 11px 20px !important; border-radius: 999px !important; transition: transform .3s var(--ease), background .3s; }
.nav-cta:hover { background: var(--accent); transform: translateY(-1px); }
@media (max-width: 880px) { .nav-links { display: none; } }

/* BUTTONS */
.btn { font-family: var(--f-mono); font-size: 14px; font-weight: 500; padding: 15px 26px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 9px; transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s; will-change: transform; }
.btn--p { background: var(--accent); color: #fff; }
.btn--p:hover { box-shadow: 0 12px 34px rgba(255,77,28,.32); }
.btn--g { border: 1.5px solid var(--ink); color: var(--ink); }
.btn--g:hover { background: var(--ink); color: var(--paper); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--accent); }
.btn .ar { transition: transform .3s var(--ease); }
.btn:hover .ar { transform: translateX(3px); }
.btn--block { width: 100%; justify-content: center; }

/* HERO (home) */
.hero { min-height: 100svh; display: flex; align-items: center; padding: 130px clamp(20px,5vw,56px) 70px; position: relative; overflow: hidden; }
.hero__blob { position: absolute; width: 50vw; height: 50vw; border-radius: 50%; filter: blur(120px); opacity: .5; z-index: 0;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%); top: -15%; left: -10%; }
.hero__blob2 { position: absolute; width: 38vw; height: 38vw; border-radius: 50%; filter: blur(130px); opacity: .35; z-index: 0;
  background: radial-gradient(circle, #d6f0e8, transparent 70%); bottom: -20%; right: -8%; }
.hero__grid { position: relative; z-index: 3; display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; width: 100%; }
@media (max-width: 920px) { .hero__grid { grid-template-columns: 1fr; gap: 44px; } }
.badge { display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-mono); font-size: 12.5px; color: var(--ink-dim);
  background: var(--card); border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; }
.badge .pin { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{box-shadow:0 0 0 0 rgba(21,128,61,.4)} 70%{box-shadow:0 0 0 8px rgba(21,128,61,0)} }
.hero h1 { font-family: var(--f-disp); font-weight: 400; font-size: clamp(46px, 7.5vw, 116px); line-height: .95; letter-spacing: -.025em; margin: 26px 0 0; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease); }
.loaded .hero h1 .line > span { transform: translateY(0); }
.hero h1 .line:nth-child(2) > span { transition-delay: .1s; }
.hero__sub { max-width: 460px; margin-top: 28px; font-size: clamp(16px,1.4vw,19px); color: var(--ink-dim);
  opacity: 0; transform: translateY(18px); transition: all 1s var(--ease) .5s; }
.loaded .hero__sub { opacity: 1; transform: none; }
.hero__actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; opacity: 0; transform: translateY(18px); transition: all 1s var(--ease) .62s; }
.loaded .hero__actions { opacity: 1; transform: none; }

/* CODE EDITOR */
.editor { background: #14130f; border-radius: var(--radius); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(20,18,12,.5), 0 0 0 1px var(--line);
  opacity: 0; transform: translateY(30px) scale(.98); transition: all 1.1s var(--ease) .4s; }
.loaded .editor { opacity: 1; transform: none; }
.editor__bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; background: #1c1a15; border-bottom: 1px solid #2a2820; }
.editor__bar .d { width: 11px; height: 11px; border-radius: 50%; }
.d1 { background: #ff5f56; } .d2 { background: #ffbd2e; } .d3 { background: #27c93f; }
.editor__name { font-family: var(--f-mono); font-size: 12px; color: #6f6c60; margin-left: 10px; }
.editor__run { margin-left: auto; font-family: var(--f-mono); font-size: 11px; color: #cfcabb; background: #2a2820;
  border: none; padding: 6px 12px; border-radius: 7px; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: background .25s; }
.editor__run:hover { background: var(--accent); color: #fff; }
.editor__body { padding: 22px 22px 8px; font-family: var(--f-mono); font-size: clamp(12.5px,1.25vw,15px); line-height: 1.85; min-height: 190px; }
.editor__body pre { white-space: pre-wrap; word-break: break-word; margin: 0; color: #d8d4c6; }
.t-key { color: #ff7849; } .t-fn { color: #6fb3ff; } .t-str { color: #8fd98a; } .t-pln { color: #d8d4c6; }
.caret { display: inline-block; width: 8px; height: 1.05em; background: var(--accent); vertical-align: text-bottom; animation: blink 1s steps(2) infinite; margin-left: 1px; }
@keyframes blink { 50% { opacity: 0; } }
.editor__out { font-family: var(--f-mono); font-size: clamp(12.5px,1.25vw,15px); padding: 0 22px 22px; opacity: 0; transform: translateY(8px); transition: all .5s var(--ease); }
.editor__out.show { opacity: 1; transform: none; }
.editor__out .prompt { color: #5a574c; } .editor__out .res { color: #8fd98a; }
.editor__out .ok { display: inline-flex; align-items: center; gap: 6px; color: #27c93f; font-size: 11px; margin-top: 10px; }

/* STRIP */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-2); }
.strip__grid { display: grid; grid-template-columns: repeat(4,1fr); }
.strip__grid > div { padding: 32px clamp(16px,3vw,40px); border-left: 1px solid var(--line); }
.strip__grid > div:first-child { border-left: none; }
.strip__n { font-family: var(--f-disp); font-weight: 400; font-size: clamp(28px,4vw,46px); letter-spacing: -.02em; line-height: 1; }
.strip__n em { font-style: italic; color: var(--accent); }
.strip__l { font-family: var(--f-mono); font-size: 12px; color: var(--ink-dim); margin-top: 10px; }
@media (max-width: 760px) { .strip__grid { grid-template-columns: 1fr 1fr; } .strip__grid > div:nth-child(odd){border-left:none} }

/* MARQUEE */
.marquee { padding: 26px 0; overflow: hidden; }
.marquee__t { display: flex; gap: 44px; width: max-content; animation: scroll 34s linear infinite; }
.marquee:hover .marquee__t { animation-play-state: paused; }
.marquee__i { font-family: var(--f-disp); font-style: italic; font-weight: 400; font-size: clamp(22px,3.4vw,40px); color: var(--ink-faint);
  display: flex; align-items: center; gap: 44px; white-space: nowrap; }
.marquee__i::after { content: "·"; color: var(--accent); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* SECTION */
section { padding: clamp(80px,11vw,150px) 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: 64px; }
.sec-head h2 { font-family: var(--f-disp); font-weight: 400; font-size: clamp(34px,5.5vw,72px); line-height: 1; letter-spacing: -.025em; max-width: 16ch; }
.sec-head h2 em { font-style: italic; color: var(--accent); }
.sec-head p { max-width: 340px; color: var(--ink-dim); }

/* PAGE HERO (inner pages) */
.page-hero { padding: 170px clamp(20px,5vw,56px) 70px; position: relative; overflow: hidden; }
.page-hero__blob { position: absolute; width: 46vw; height: 46vw; border-radius: 50%; filter: blur(130px); opacity: .42; z-index: 0;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%); top: -20%; right: -10%; }
.page-hero h1 { font-family: var(--f-disp); font-weight: 400; font-size: clamp(42px,7vw,96px); line-height: .98; letter-spacing: -.025em; margin-top: 22px; max-width: 14ch; }
.page-hero h1 em { font-style: italic; color: var(--accent); }
.page-hero p { max-width: 520px; margin-top: 24px; font-size: clamp(16px,1.4vw,19px); color: var(--ink-dim); }

/* SUBJECTS + PRICING */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 34px; position: relative; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(380px circle at var(--mx,50%) var(--my,0%), rgba(255,77,28,.06), transparent 60%); opacity: 0; transition: opacity .4s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(20,18,12,.3); border-color: #d8cfb9; }
.card:hover::before { opacity: 1; }
.subj__top { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.subj__emoji { font-size: 38px; }
.subj__title { font-family: var(--f-disp); font-size: 34px; font-weight: 500; letter-spacing: -.02em; }
.card p { color: var(--ink-dim); font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.tags span { font-family: var(--f-mono); font-size: 12px; color: var(--ink); background: var(--paper-2); border: 1px solid var(--line); padding: 7px 13px; border-radius: 8px; transition: background .25s, color .25s; }
.tags span:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.subjects { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.card--soon { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; border-style: dashed; background: transparent; }
.card--soon .subj__title { color: var(--ink-faint); }

.pricing { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px,4vw,46px); }
.pricing__head { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.pricing__title { font-family: var(--f-disp); font-weight: 400; font-size: clamp(26px,3.6vw,42px); letter-spacing: -.02em; margin-top: 12px; }
.pricing__title em { font-style: italic; color: var(--accent); }
.toggle { position: relative; display: inline-flex; background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 5px; }
.toggle__btn { position: relative; z-index: 2; font-family: var(--f-mono); font-size: 13px; color: var(--ink-dim); background: none; border: none; cursor: pointer; padding: 11px 24px; border-radius: 999px; transition: color .35s; white-space: nowrap; }
.toggle__btn.is-active { color: var(--paper); }
.toggle__pill { position: absolute; z-index: 1; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); background: var(--ink); border-radius: 999px; transition: transform .45s var(--ease); }
.toggle.pack .toggle__pill { transform: translateX(100%); }
.price-grid { display: grid; gap: 18px; animation: fadeUp .5s var(--ease); }
.price-grid[data-view-panel="hour"] { grid-template-columns: repeat(2, 1fr); }
.price-grid[data-view-panel="pack"] { grid-template-columns: repeat(2, 1fr); }
.price-grid[hidden] { display: none; }
@media (max-width: 780px) { .price-grid { grid-template-columns: 1fr !important; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.price { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 30px 26px; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.price:hover { transform: translateY(-5px); box-shadow: 0 20px 44px -26px rgba(20,18,12,.32); border-color: #d8cfb9; }
.price__label { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-deep); }
.price__name { font-family: var(--f-disp); font-size: 24px; font-weight: 500; margin: 10px 0 4px; letter-spacing: -.01em; }
.price__desc { color: var(--ink-dim); font-size: 14px; }
.price__amt { font-family: var(--f-disp); font-size: 42px; font-weight: 400; margin-top: auto; padding-top: 22px; letter-spacing: -.02em; line-height: 1; }
.price__amt em { font-style: italic; color: var(--accent); font-size: 24px; }
.price__amt s { color: var(--ink-faint); font-size: 22px; text-decoration: line-through; margin-right: 8px; }
.price__amt small { font-family: var(--f-body); font-size: 14px; color: var(--ink-faint); font-weight: 400; }
.price__badge { align-self: flex-start; font-family: var(--f-mono); font-size: 11px; color: var(--accent-deep); background: var(--accent-soft); padding: 5px 11px; border-radius: 7px; margin-top: 16px; }
.price--hl { background: var(--ink); border-color: var(--ink); }
.price--hl .price__name, .price--hl .price__amt { color: var(--paper); }
.price--hl .price__desc { color: #b5b0a3; }
.price--hl .price__label, .price--hl .price__amt em { color: #ff8a5c; }
.price--hl .price__badge { background: rgba(255,255,255,.12); color: #ffd9cc; }
.price--hl:hover { box-shadow: 0 24px 50px -24px rgba(20,18,12,.6); }
.price-note { font-size: 13px; color: var(--ink-faint); margin-top: 26px; line-height: 1.7; max-width: 74ch; }
.price-note a { color: var(--accent-deep); border-bottom: 1px solid var(--accent-soft); }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; gap: 44px; } }
.about-text p { font-size: clamp(17px,1.5vw,20px); color: var(--ink-dim); margin-bottom: 22px; line-height: 1.7; }
.about-text p strong { color: var(--ink); font-weight: 600; }
.about-text .lead { font-family: var(--f-disp); font-size: clamp(28px,4vw,46px); color: var(--ink); font-weight: 400; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 28px; }
.about-text .lead em { font-style: italic; color: var(--accent); }
.skill-group { border-top: 1px solid var(--line); padding: 24px 0; }
.skill-group h4 { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 16px; }
.skill-group .tags span { background: var(--card); }

/* FAQ */
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; background: none; border: none; text-align: left; cursor: pointer; padding: 28px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-family: var(--f-disp); font-size: clamp(19px,2.4vw,28px); font-weight: 400; color: var(--ink); letter-spacing: -.01em; }
.faq-q .ic { flex-shrink: 0; width: 30px; height: 30px; position: relative; transition: transform .4s var(--ease); }
.faq-q .ic::before, .faq-q .ic::after { content: ""; position: absolute; background: var(--accent); top: 50%; left: 50%; transform: translate(-50%,-50%); }
.faq-q .ic::before { width: 16px; height: 2px; } .faq-q .ic::after { width: 2px; height: 16px; transition: transform .4s var(--ease); }
.faq-item.open .faq-q .ic::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { color: var(--ink-dim); font-size: 16.5px; line-height: 1.7; padding-bottom: 28px; max-width: 60ch; }
.faq-a strong { color: var(--ink); }

/* CONTACT */
.contact { text-align: center; position: relative; overflow: hidden; }
.contact__blob { position: absolute; left: 50%; top: 40%; transform: translate(-50%,-50%); width: 60vw; height: 40vw; border-radius: 50%; filter: blur(130px); opacity: .4; background: radial-gradient(circle, var(--accent-soft), transparent 65%); z-index: 0; }
.contact .wrap { position: relative; z-index: 2; }
.contact h2 { font-family: var(--f-disp); font-weight: 400; font-size: clamp(40px,8vw,120px); letter-spacing: -.03em; line-height: .98; }
.contact h2 em { font-style: italic; color: var(--accent); }
.contact p { color: var(--ink-dim); max-width: 460px; margin: 26px auto 44px; font-size: 17px; }
.contact-links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.clink { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 24px; text-align: left; transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.clink:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 18px 40px -24px rgba(255,77,28,.4); }
.clink .em { font-size: 26px; }
.clink b { display: block; font-family: var(--f-mono); font-size: 11px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .08em; font-weight: 500; }
.clink span { font-family: var(--f-body); font-size: 15px; font-weight: 600; color: var(--ink); }

/* CTA BAND */
.cta-band { text-align: center; }
.cta-band .inner { background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: clamp(48px,8vw,90px) clamp(24px,5vw,60px); position: relative; overflow: hidden; }
.cta-band h2 { font-family: var(--f-disp); font-weight: 400; font-size: clamp(32px,5.5vw,68px); letter-spacing: -.025em; line-height: 1; }
.cta-band h2 em { font-style: italic; color: #ff8a5c; }
.cta-band p { color: #b5b0a3; max-width: 440px; margin: 22px auto 36px; }

/* FORMS / AUTH */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth__aside { display: none; } }
.auth__aside { background: var(--ink); color: var(--paper); padding: 56px clamp(32px,4vw,64px); display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth__aside .logo { color: var(--paper); }
.auth__aside .logo i { color: #ff8a5c; }
.auth__aside .pitch { font-family: var(--f-disp); font-weight: 400; font-size: clamp(30px,3.4vw,52px); line-height: 1.06; letter-spacing: -.02em; max-width: 16ch; }
.auth__aside .pitch em { font-style: italic; color: #ff8a5c; }
.auth__aside .mini { display: flex; flex-direction: column; gap: 16px; }
.auth__aside .mini div { display: flex; gap: 12px; align-items: center; font-size: 14px; color: #c9c4b6; }
.auth__aside .mini .dot2 { width: 8px; height: 8px; border-radius: 50%; background: #ff8a5c; flex-shrink: 0; }
.auth__aside .blob { position: absolute; width: 30vw; height: 30vw; border-radius: 50%; filter: blur(120px); opacity: .25; background: var(--accent); bottom: -10%; right: -10%; }
.auth__main { display: flex; align-items: center; justify-content: center; padding: 56px clamp(24px,4vw,64px); }
.auth__box { width: 100%; max-width: 400px; }
.auth__box h1 { font-family: var(--f-disp); font-weight: 400; font-size: clamp(32px,5vw,44px); letter-spacing: -.02em; }
.auth__box .sub { color: var(--ink-dim); margin: 10px 0 32px; font-size: 15px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; color: var(--ink-dim); margin-bottom: 8px; }
.input { width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-family: var(--f-body); font-size: 15px; color: var(--ink); transition: border-color .25s, box-shadow .25s; }
.input::placeholder { color: var(--ink-faint); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.auth__row { display: flex; justify-content: space-between; align-items: center; margin: 6px 0 24px; font-size: 13px; }
.auth__row a { color: var(--accent-deep); }
.auth__alt { text-align: center; margin-top: 24px; font-size: 14px; color: var(--ink-dim); }
.auth__alt a { color: var(--accent-deep); font-weight: 600; }
.checkbox { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; color: var(--ink-dim); margin-bottom: 22px; }
.checkbox input { margin-top: 3px; accent-color: var(--accent); }

/* PROTOTYPE NOTE */
.proto-note { font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-faint); background: var(--paper-2); border: 1px dashed var(--line);
  border-radius: 10px; padding: 12px 14px; margin-top: 24px; line-height: 1.6; }
.proto-note b { color: var(--accent-deep); }

/* DASHBOARD */
.dash { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
@media (max-width: 860px) { .dash { grid-template-columns: 1fr; } .dash__side { display: none; } }
.dash__side { background: var(--ink); color: var(--paper); padding: 28px 22px; display: flex; flex-direction: column; gap: 8px; position: sticky; top: 0; height: 100vh; }
.dash__side .logo { color: var(--paper); margin-bottom: 28px; }
.dash__side .logo i { color: #ff8a5c; }
.dnav { font-family: var(--f-mono); font-size: 13px; color: #b5b0a3; padding: 12px 14px; border-radius: 10px; display: flex; align-items: center; gap: 12px; transition: background .25s, color .25s; }
.dnav:hover { background: rgba(255,255,255,.06); color: var(--paper); }
.dnav.active { background: var(--accent); color: #fff; }
.dnav .dico { width: 8px; height: 8px; border-radius: 2px; background: currentColor; opacity: .7; }
.dash__user { margin-top: auto; border-top: 1px solid #2c2a22; padding-top: 18px; display: flex; align-items: center; gap: 12px; }
.dash__user .av { width: 38px; height: 38px; border-radius: 50%; background: #ff8a5c; color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--f-disp); }
.dash__user b { font-size: 14px; color: var(--paper); display: block; }
.dash__user span { font-size: 12px; color: #8b877b; }
.dash__main { padding: clamp(28px,4vw,52px); }
.dash__top { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 36px; }
.dash__top h1 { font-family: var(--f-disp); font-weight: 400; font-size: clamp(28px,4vw,44px); letter-spacing: -.02em; }
.dash__top h1 em { font-style: italic; color: var(--accent); }
.dash__top .date { font-family: var(--f-mono); font-size: 13px; color: var(--ink-dim); }
.dash-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 18px; }
@media (max-width: 760px) { .dash-grid { grid-template-columns: 1fr; } }
.dcard { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.dcard--accent { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.dcard__label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }
.dcard--accent .dcard__label { color: #ff8a5c; }
.dcard__big { font-family: var(--f-disp); font-weight: 400; font-size: 46px; letter-spacing: -.02em; line-height: 1; margin: 14px 0 6px; }
.dcard__big em { font-style: italic; color: var(--accent); font-size: 26px; }
.dcard--accent .dcard__big em { color: #ff8a5c; }
.dcard__sub { font-size: 13px; color: var(--ink-dim); }
.dcard--accent .dcard__sub { color: #b5b0a3; }
.bar { height: 8px; background: var(--paper-2); border-radius: 99px; overflow: hidden; margin-top: 16px; }
.dcard--accent .bar { background: rgba(255,255,255,.12); }
.bar > i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px; margin-top: 18px; }
.panel h3 { font-family: var(--f-disp); font-weight: 500; font-size: 22px; letter-spacing: -.01em; margin-bottom: 6px; }
.panel .muted { color: var(--ink-dim); font-size: 14px; margin-bottom: 20px; }
.lesson { display: flex; align-items: center; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.lesson:first-of-type { border-top: none; }
.lesson .when { font-family: var(--f-mono); font-size: 13px; color: var(--ink); min-width: 130px; }
.lesson .what { flex: 1; }
.lesson .what b { font-weight: 600; }
.lesson .what span { display: block; font-size: 13px; color: var(--ink-dim); }
.lesson .st { font-family: var(--f-mono); font-size: 11px; padding: 5px 11px; border-radius: 7px; background: var(--accent-soft); color: var(--accent-deep); }
.lesson .st.done { background: rgba(21,128,61,.12); color: var(--green); }
.dtable { width: 100%; border-collapse: collapse; }
.dtable th { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); text-align: left; padding: 0 0 14px; font-weight: 500; }
.dtable td { padding: 14px 0; border-top: 1px solid var(--line); font-size: 14px; }
.dtable .ok { color: var(--green); font-family: var(--f-mono); font-size: 12px; }

/* FOOTER */
footer.site { border-top: 1px solid var(--line); padding: 50px clamp(20px,5vw,56px); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
footer.site .logo { font-size: 20px; }
footer.site .meta { font-family: var(--f-mono); font-size: 12px; color: var(--ink-faint); display: flex; gap: 20px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a { font-family: var(--f-mono); font-size: 12px; color: var(--ink-dim); }
.foot-links a:hover { color: var(--accent); }

/* REVEAL */
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-rd="1"]{transition-delay:.08s}[data-rd="2"]{transition-delay:.16s}[data-rd="3"]{transition-delay:.24s}

/* ===== MOBILNÍ MENU ===== */
.nav-burger { display: none; position: relative; z-index: 510; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--card); flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.nav-burger span { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .3s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 880px) { .nav-burger { display: flex; } }

.mobile-menu { position: fixed; inset: 0; z-index: 490; background: var(--paper); display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu__inner { display: flex; flex-direction: column; gap: 6px; text-align: center; }
.mobile-menu__inner a { font-family: var(--f-disp); font-size: clamp(30px, 9vw, 44px); color: var(--ink); padding: 8px 16px; letter-spacing: -.02em;
  opacity: 0; transform: translateY(16px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.mobile-menu.open .mobile-menu__inner a { opacity: 1; transform: none; }
.mobile-menu.open .mobile-menu__inner a:nth-child(1){transition-delay:.06s}
.mobile-menu.open .mobile-menu__inner a:nth-child(2){transition-delay:.12s}
.mobile-menu.open .mobile-menu__inner a:nth-child(3){transition-delay:.18s}
.mobile-menu.open .mobile-menu__inner a:nth-child(4){transition-delay:.24s}
.mobile-menu.open .mobile-menu__inner a:nth-child(5){transition-delay:.30s}
.mobile-menu__inner .mm-cta { margin-top: 18px; font-family: var(--f-mono); font-size: 15px; background: var(--accent); color: #fff;
  border-radius: 999px; padding: 14px 30px; align-self: center; }

/* ===== PROSE / PRÁVNÍ STRÁNKY ===== */
.prose { max-width: 760px; }
.prose h2 { font-family: var(--f-disp); font-weight: 500; font-size: clamp(24px, 3.4vw, 34px); letter-spacing: -.02em; margin: 40px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-dim); font-size: 16.5px; line-height: 1.7; margin-bottom: 14px; }
.prose ul { padding-left: 22px; margin-bottom: 14px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--accent-deep); text-decoration: underline; }
.prose .updated { font-family: var(--f-mono); font-size: 12px; color: var(--ink-faint); margin-bottom: 32px; }
.prose .note { background: var(--paper-2); border: 1px dashed var(--line); border-radius: 12px; padding: 16px 18px; font-size: 14px; color: var(--ink-dim); }

/* ===== REDUKOVANÉ ANIMACE (přístupnost) ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .marquee__t { animation: none !important; }
}
