/* Kam se ukrýt – web. Barvy a písmo stejné jako aplikace (směr A · Noc). */
:root {
  --signal: #F07D00; --on-signal: #1A1000; --signal-ink: #A85600;
  --noc: #13233A; --noc-2: #1E3150; --noc-line: #2B4263; --noc-3: #0E1A2C;
  --beton: #D9DCDF; --bg: #EEF0F2; --card: #FFFFFF; --line: #D3D8DE;
  --poplach: #C8281E; --bezpeci: #1E7A4C;
  --text: #13233A; --muted: #56616F; --light: #B9C3CF;
  --r: 14px;
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Source Sans 3", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font: 400 18px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
a:hover { color: var(--signal); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 4px; }
ul, ol { list-style: none; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.h, h1, h2, h3 { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; line-height: 1.02; }
h1 { font-size: clamp(44px, 7vw, 82px); }
h2 { font-size: clamp(32px, 4.6vw, 48px); }
h3 { font-size: 25px; }
.eb { font: 700 14px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--signal-ink); margin-bottom: 14px; }
.lead { font-size: 20px; color: var(--muted); max-width: 660px; }
.sec { padding: 88px 0; }
.sec-head { margin-bottom: 36px; }
.sec-head h2 { margin-bottom: 12px; }
.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--signal); color: var(--on-signal); padding: 10px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------- hlavička ---------- */
.site-head { background: var(--noc); color: #fff; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { color: #fff; }
.brand .logo { width: 40px; height: 40px; }
.brand span { font: 700 25px/1 var(--head); text-transform: uppercase; letter-spacing: .04em; }
.menu { display: flex; align-items: center; gap: 30px; }
.menu ul { display: flex; gap: 28px; }
.menu ul a { text-decoration: none; color: var(--light); font-weight: 600; font-size: 16px; }
.menu ul a:hover, .menu ul a[aria-current] { color: #fff; }
.menu-cta { background: var(--signal); color: var(--on-signal); text-decoration: none; font-weight: 700; font-size: 16px; padding: 11px 18px; border-radius: 10px; }
.menu-cta:hover { background: #FF8C0F; color: var(--on-signal); }
.menu-m { display: none; position: relative; }
.menu-m summary { list-style: none; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; }
.menu-m summary::-webkit-details-marker { display: none; }
.menu-m .i { width: 28px; height: 28px; }
.menu-m ul { position: absolute; right: 0; top: 52px; z-index: 5; width: 240px; background: var(--noc-2); border-radius: 12px; padding: 8px; box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.menu-m li a { display: block; padding: 12px 14px; text-decoration: none; font-weight: 600; border-radius: 8px; }
.menu-m li a:hover { background: var(--noc-line); color: #fff; }

/* ---------- tlačítka ---------- */
.btn-play { display: inline-flex; align-items: center; gap: 12px; background: var(--signal); color: var(--on-signal); text-decoration: none; padding: 14px 24px; border-radius: 12px; }
.btn-play:hover { background: #FF8C0F; color: var(--on-signal); }
.btn-play svg { width: 22px; height: 22px; fill: var(--on-signal); }
.btn-play span { display: flex; flex-direction: column; gap: 3px; font-weight: 700; font-size: 19px; line-height: 1; }
.btn-play small { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.btn-line { display: inline-flex; align-items: center; padding: 16px 22px; border-radius: 12px; border: 1.5px solid #56708F; color: #fff; text-decoration: none; font-weight: 700; font-size: 17px; }
.btn-line:hover { border-color: #fff; color: #fff; }

/* ---------- hero ---------- */
.hero { background: var(--noc); color: #fff; padding: 40px 0 88px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero .eb { color: var(--signal); }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--signal); }
.hero .lead { color: var(--light); margin-bottom: 30px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin-top: 16px; font-size: 15px; color: var(--light); }
.hero-shots { display: flex; gap: 20px; justify-content: center; align-items: flex-end; }
.hero-shots .shot:first-child { transform: translateY(-24px); }

/* rámeček pro snímek obrazovky */
.shot { width: 200px; aspect-ratio: 200 / 420; border-radius: 30px; background: #0B1626; border: 1px solid var(--noc-line); padding: 9px; flex: none; }
.shot > * { width: 100%; height: 100%; border-radius: 22px; object-fit: cover; }
.shot .ph { background: var(--noc-2); color: var(--light); display: grid; place-items: center; text-align: center; font-size: 14px; font-weight: 600; padding: 16px; }

/* ---------- poplachový pruh ---------- */
.alarm-bar { display: block; background: var(--poplach); color: #fff; text-decoration: none; }
.alarm-bar:hover { color: #fff; background: #B3231A; }
.alarm-bar .wrap { display: flex; align-items: center; gap: 24px; padding-top: 20px; padding-bottom: 20px; }
.alarm-bar svg { width: 96px; height: 24px; flex: none; }
.alarm-bar p { flex: 1; font-size: 19px; }
.alarm-bar .more { font-weight: 700; border-bottom: 2px solid #fff; white-space: nowrap; }

/* ---------- karty ---------- */
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
a.card:hover { border-color: var(--signal); color: var(--text); }
.card .ico { width: 44px; height: 44px; border-radius: 11px; background: var(--noc); color: var(--signal); display: grid; place-items: center; }
.card h3 { font-size: 25px; }
.card p { color: var(--muted); font-size: 16px; }
.card .big { font: 700 56px/1 var(--head); text-transform: uppercase; }

/* ---------- kroky (jako v aplikaci) ---------- */
.steps { counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 46px 1fr; column-gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: 0; }
.steps li::before { content: counter(s); grid-row: span 2; width: 46px; height: 46px; border-radius: 10px; background: var(--noc); color: #fff; font: 700 27px/46px var(--head); text-align: center; }
.steps b { font-size: 20px; line-height: 1.3; }
.steps span { color: var(--muted); font-size: 17px; }
.steps.red li::before { background: var(--poplach); }

/* ---------- blok poplach ---------- */
.alarm { background: var(--noc); color: #fff; }
.alarm .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.alarm-card { background: var(--poplach); border-radius: 16px; padding: 30px 28px; display: flex; flex-direction: column; gap: 14px; }
.alarm-card .eb { color: #FFD9D5; margin: 0; }
.alarm-card h2 { font-size: clamp(40px, 5vw, 56px); }
.alarm-card .wave { width: 100%; height: 30px; }
.alarm-card p { color: #FFE7E5; font-size: 17px; }
.alarm-card .btn-sm { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 22px; border: 1.5px solid #fff; color: #fff; text-decoration: none; font-weight: 700; font-size: 16px; }
.alarm-card .btn-sm .i { width: 20px; height: 20px; }
.call { display: flex; align-items: center; gap: 18px; margin-top: 18px; background: var(--noc-2); border-radius: var(--r); padding: 16px 22px; text-decoration: none; }
.call:hover { color: #fff; background: var(--noc-line); }
.call b { font: 700 50px/1 var(--head); }
.call span { color: var(--light); font-size: 16px; }
.alarm .steps li { border-color: var(--noc-line); }
.alarm .steps li::before { background: var(--noc-2); }
.alarm .steps li:first-child::before { background: var(--signal); color: var(--on-signal); }
.alarm .steps span { color: var(--light); }
.alarm .note { margin-top: 18px; background: var(--noc-2); border-radius: 12px; padding: 16px 20px; font-size: 16px; color: var(--light); }
.alarm .note strong { color: #fff; }

/* ---------- aplikace ---------- */
.feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.feat li { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.feat .ico { width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--noc); color: var(--signal); display: grid; place-items: center; }
.feat .ico .i { width: 22px; height: 22px; }
.feat b { display: block; font-size: 18px; line-height: 1.3; margin-bottom: 2px; }
.feat span { color: var(--muted); font-size: 16px; }
.shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.shots figure { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.shots figcaption { font-weight: 700; font-size: 17px; text-align: center; }
.more-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 28px; font-weight: 700; font-size: 18px; color: var(--signal-ink); text-decoration: none; }
.more-link .i { width: 20px; height: 20px; }

/* ---------- upozornění a zdroje ---------- */
.notice { background: var(--beton); border-radius: 16px; padding: 32px 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.notice h2 { font-size: 30px; margin-bottom: 10px; }
.notice p { font-size: 17px; }

/* ---------- patička ---------- */
.site-foot { background: var(--noc-3); color: var(--light); font-size: 16px; padding: 52px 0 36px; }
.foot-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand { font: 700 22px/1 var(--head); text-transform: uppercase; letter-spacing: .04em; color: #fff; margin-bottom: 10px; }
.foot-h { font: 700 18px/1 var(--head); text-transform: uppercase; letter-spacing: .06em; color: #fff; margin-bottom: 12px; }
.foot-cols li + li { margin-top: 8px; }
.foot-cols a { text-decoration: none; }
.foot-cols a:hover { color: #fff; }
.foot-note { margin-top: 14px; color: #fff; border: 1px solid var(--noc-line); border-radius: 12px; padding: 14px 16px; font-size: 15px; }
.foot-legal { border-top: 1px solid #22354F; margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-size: 14px; }
.foot-legal a:hover { color: #fff; }

/* ---------- mobil ---------- */
@media (max-width: 960px) {
  .menu { display: none; }
  .menu-m { display: block; }
  .hero .wrap, .alarm .wrap, .notice { grid-template-columns: 1fr; gap: 36px; }
  .grid4, .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid3, .feat { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-cols > div { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .nav { height: 64px; }
  .brand span { font-size: 22px; }
  .sec { padding: 60px 0; }
  .hero { padding: 24px 0 60px; }
  .hero-shots .shot { width: 150px; }
  .btn-play, .btn-line { width: 100%; justify-content: center; }
  .alarm-bar .wrap { flex-wrap: wrap; gap: 10px 16px; }
  .alarm-bar svg { width: 72px; }
  .alarm-bar p { flex-basis: 100%; font-size: 17px; order: 2; }
  .alarm-bar .more { order: 3; }
  .grid4 { grid-template-columns: 1fr; }
  .card { padding: 18px; }
  .grid4 { gap: 10px; }
  .grid4 .card { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; row-gap: 2px; padding: 14px 16px; }
  .grid4 .card .ico { grid-row: span 2; }
  .grid4 .card h3 { font-size: 22px; align-self: end; }
  .grid4 .card p { font-size: 15px; }
  .shots { gap: 20px 12px; }
  .shots .shot { width: 100%; max-width: 170px; }
  .notice { padding: 24px 20px; }
  .steps li { grid-template-columns: 38px 1fr; column-gap: 14px; }
  .steps li::before { width: 38px; height: 38px; font-size: 23px; line-height: 38px; }
  .steps b { font-size: 18px; }
  .steps span { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
