/* Stránka O aplikaci / About — landing ve stylu mojesdh.cz, tokeny stejné jako aplikace (styles.css). */
:root {
  --accent: #e0292e; --accent-dark: #b81f23; --accent-soft: #fdecec;
  --ink: #1a1a1a; --heading: #1a1a1a; --muted: #5c5c5c; --faint: #767676;
  --bg: #f4f4f5; --bg-alt: #eaeaec; --surface: #ffffff; --surface-alt: #f6f6f7;
  --line: #e2e2e5; --line-2: #d0d0d4; --success: #2e7d32;
  --header-bg: rgba(244, 244, 245, .88); --glow: rgba(224, 41, 46, .17);
  --shadow: 0 1px 3px rgba(20, 20, 22, .06), 0 10px 30px rgba(20, 20, 22, .08);
  --font-head: 'Montserrat', 'Arial Black', Arial, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --radius: 12px; --wrap: 1120px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --accent: #ff4a4f; --accent-dark: #e0292e; --accent-soft: #3a1f22;
  --ink: #ececee; --heading: #ffffff; --muted: #a6a6ad; --faint: #7a7a82;
  --bg: #161619; --bg-alt: #0e0e11; --surface: #1f1f24; --surface-alt: #26262c;
  --line: #2e2e35; --line-2: #3b3b44; --success: #5cb85f;
  --header-bg: rgba(22, 22, 25, .86); --glow: rgba(255, 74, 79, .2);
  --shadow: 0 1px 3px rgba(0, 0, 0, .45), 0 8px 24px rgba(0, 0, 0, .4);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 17px;
  line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); color: var(--heading); letter-spacing: -.02em; line-height: 1.15; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
.logo { font-family: var(--font-head); font-weight: 900; letter-spacing: .03em; text-decoration: none; color: var(--heading); }
.dot { color: var(--accent); margin: 0 1px; }

/* hlavička */
.site-header { position: sticky; top: 0; z-index: 5; background: var(--header-bg); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: .95rem; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--heading); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 600;
  text-decoration: none; font-size: 1rem; border: 1px solid transparent; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: var(--line-2); color: var(--heading); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { padding: 8px 14px; font-size: .9rem; }
.lang { font-family: var(--font-head); font-weight: 800; font-size: .8rem; letter-spacing: .05em; text-decoration: none;
  color: var(--muted); border: 1px solid var(--line-2); border-radius: 8px; padding: 6px 9px; }
.lang:hover { color: var(--heading); border-color: var(--accent); }

/* hero */
.hero { position: relative; overflow: hidden; padding: 88px 0 96px; }
.hero::before { content: ""; position: absolute; width: 640px; height: 640px; right: -180px; top: -220px; border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 68%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-block; margin-bottom: 20px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px;
  color: var(--muted); font-size: .85rem; font-weight: 500; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 900; }
.accent { color: var(--accent); }
.lead { margin-top: 20px; font-size: 1.15rem; color: var(--muted); max-width: 32em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.note { margin-top: 18px; font-size: .92rem; color: var(--faint); }

/* ukázka aplikace */
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: #1a1a1a; color: #fff; font-size: .78rem; }
.mock-bar .logo { color: #fff; font-size: .8rem; }
.mock-bar .tabs { display: flex; gap: 6px; color: rgba(255, 255, 255, .7); font-family: var(--font-head); font-weight: 700; }
.mock-bar .tabs span { padding: 3px 8px; border-radius: 6px; }
.mock-bar .tabs .on { background: var(--accent); color: #fff; }
.mock-body { padding: 16px 18px; font-family: var(--font-mono); font-size: .8rem; line-height: 1.65; white-space: pre; overflow: hidden; }
.mock-err { margin: 0 18px 16px; padding: 12px 14px; border-radius: 10px; background: var(--surface-alt); border: 1px solid var(--line);
  font-size: .85rem; }
.mock-err b { color: var(--accent); font-family: var(--font-head); }
.mock-err .fix { display: inline-block; margin-top: 8px; padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 7px; font-size: .78rem; }
.t { color: var(--accent); } .a { color: #2a78d6; } .v { color: #1b8a5e; } .c { color: var(--faint); font-style: italic; }
:root[data-theme="dark"] .a { color: #6aa8f0; } :root[data-theme="dark"] .v { color: #5fcf9a; }
.mock-caption { padding: 8px 14px; font-size: .75rem; color: var(--faint); border-top: 1px solid var(--line); }

/* sekce */
section { padding: 80px 0; }
section.alt { background: var(--bg-alt); }
.section-head { max-width: 44em; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 800; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.08rem; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
a.card { text-decoration: none; display: block; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 8px; }
.card p, .card li { color: var(--muted); font-size: .97rem; }
.card ul { margin: 10px 0 0; padding-left: 18px; }
.card .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 14px;
  background: var(--accent-soft); color: var(--accent); font-family: var(--font-mono); font-weight: 800; font-size: .85rem; }
.card .go { display: inline-block; margin-top: 12px; color: var(--accent); font-weight: 600; font-size: .92rem; }
.points { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.points li { display: flex; gap: 12px; align-items: flex-start; }
.points li::before { content: "✓"; color: var(--success); font-weight: 800; flex: 0 0 auto; }
.disclaimer { border-left: 3px solid var(--accent); }

/* otázky */
.faq { max-width: 50em; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--heading); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--accent); font-weight: 800; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 10px; color: var(--muted); }
.faq a { color: var(--accent); }

/* výzva a patička */
.cta { text-align: center; }
.cta .actions { justify-content: center; }
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 28px; font-size: .88rem; color: var(--faint); }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--heading); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
.footer-grid p { margin-top: 10px; max-width: 26em; }
.site-footer h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap;
  gap: 8px 24px; justify-content: space-between; }
.hugo-note { color: var(--faint); white-space: nowrap; }

@media (max-width: 960px) {
  .hero { padding: 56px 0 64px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  section { padding: 64px 0; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav { display: none; }
  .site-header .wrap { gap: 12px; }
  .site-header .btn { margin-left: auto; }
  .grid, .grid.cols-2, .footer-grid { grid-template-columns: 1fr; }
  .mock-body { font-size: .72rem; }
}
