/* Drone Weather marketing site — single stylesheet, no external fonts. */
:root {
  color-scheme: light dark;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #eef2f9;
  --text: #0f172a;
  --muted: #4b5566;
  --border: #d9e0ec;
  --primary: #2846dd;
  --primary-ink: #ffffff;
  --primary-soft: #e4e9fb;
  --ok: #178a4c;
  --ok-soft: #dff5e8;
  --warn: #b07a00;
  --warn-soft: #fff1cc;
  --nok: #b42332;
  --nok-soft: #fbe1e5;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius: 16px;
  --max: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --surface: #121b2f;
    --surface-2: #182339;
    --text: #e7edf7;
    --muted: #a8b3c7;
    --border: #26324a;
    --primary: #6d8cff;
    --primary-ink: #0b1220;
    --primary-soft: #1c2a52;
    --ok: #3ad088;
    --ok-soft: #12352a;
    --warn: #f5c451;
    --warn-soft: #3a3012;
    --nok: #ff7b8a;
    --nok-soft: #3d1a20;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.list-reset { list-style: none; padding: 0; margin: 0; }
.tight { margin: 0; }
.centered { margin-left: auto; margin-right: auto; }
.brand-desc { margin-top: 12px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--primary); color: var(--primary-ink); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; color: var(--text); font-size: 1.05rem; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.site-nav a { text-decoration: none; color: var(--muted); padding: 8px 10px; border-radius: 8px; font-weight: 600; font-size: 0.95rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.lang { border: 1px solid var(--border); }
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; cursor: pointer; color: var(--muted); padding: 8px 10px; border-radius: 8px; font-weight: 600; font-size: 0.95rem; border: 1px solid var(--border); }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu details[open] summary { color: var(--text); background: var(--surface-2); }
.lang-menu ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; min-width: 200px; max-height: 70vh; overflow: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); padding: 6px; display: block; }
.lang-menu li { display: block; }
.lang-menu ul a { display: block; padding: 8px 10px; }
.lang-menu ul a[aria-current="true"] { color: var(--primary); font-weight: 700; }
.site-footer .langs { margin-top: 26px; }
.site-footer .langs ul { display: flex; flex-wrap: wrap; gap: 4px 16px; }
@media (max-width: 640px) { .site-nav a { padding: 6px 8px; font-size: 0.88rem; } .brand span { display: none; } .lang-menu summary { padding: 6px 8px; font-size: 0.88rem; } .lang-menu ul { position: fixed; left: 12px; right: 12px; top: auto; margin-top: 8px; max-height: 60vh; } }

/* hero */
.hero { padding: 56px 0 24px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--primary); background: var(--primary-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40rem; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 10px; }
.store { display: inline-flex; align-items: center; gap: 10px; background: #111; color: #fff; text-decoration: none; padding: 9px 16px 9px 12px; border-radius: 12px; border: 1px solid #333; min-width: 180px; transition: transform .12s ease, box-shadow .12s ease; }
.store:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.store svg { width: 28px; height: 28px; flex: none; }
.store .l { display: flex; flex-direction: column; line-height: 1.1; }
.store .s { font-size: 0.68rem; letter-spacing: 0.03em; opacity: .85; }
.store .b { font-size: 1.15rem; font-weight: 700; }
.note { font-size: 0.95rem; color: var(--muted); }
.stats { display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 26px 0 0; padding: 18px 0 0; border-top: 1px solid var(--border); }
.stats div { min-width: 96px; }
.stats dt { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; color: var(--text); line-height: 1.1; }
.stats dd { margin: 2px 0 0; font-size: 0.9rem; color: var(--muted); }
@media (max-width: 480px) { .stats { gap: 10px 22px; } .stats dt { font-size: 1.35rem; } }
.phone { justify-self: center; width: min(300px, 80vw); padding: 12px; border-radius: 44px; background: #0e1018; box-shadow: var(--shadow), inset 0 0 0 2px #2a2e3c; }
.phone img { display: block; width: 100%; height: auto; aspect-ratio: 1290 / 2796; object-fit: cover; border-radius: 32px; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .phone { width: min(260px, 70vw); } }

/* sections */
section.block { padding: 48px 0; }
section.block + section.block { border-top: 1px solid var(--border); }
.section-head { max-width: 46rem; margin-bottom: 28px; }
.grid { display: grid; gap: 18px; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid.c3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid.c3, .grid.c2 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.card h3 { margin-top: 0; }
.features > :last-child:nth-child(3n+1) { grid-column: 1 / -1; }
.card p:last-child { margin-bottom: 0; }
.icon { width: 40px; height: 40px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; margin-bottom: 14px; }
.icon svg { width: 22px; height: 22px; }

/* verdicts */
.verdicts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 720px) { .verdicts { grid-template-columns: 1fr; } }
.verdict { border-radius: var(--radius); padding: 18px 20px; border: 1px solid var(--border); background: var(--surface); }
.verdict .pill { display: inline-block; font-weight: 800; padding: 6px 14px; border-radius: 10px; margin-bottom: 10px; }
.verdict.ok .pill { background: var(--ok-soft); color: var(--ok); }
.verdict.warn .pill { background: var(--warn-soft); color: var(--warn); }
.verdict.nok .pill { background: var(--nok-soft); color: var(--nok); }

/* steps */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 58px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--primary); color: var(--primary-ink); display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; }

/* pro */
.pro { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 34px; }
.pro ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
@media (max-width: 720px) { .pro ul { grid-template-columns: 1fr; } .pro { padding: 24px; } }
.pro li { padding-left: 28px; position: relative; }
.pro li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--ok); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zm3.7 6.2-4.4 4.5a1 1 0 0 1-1.4 0L4.3 9.1a1 1 0 1 1 1.4-1.4l.9.9 3.7-3.8a1 1 0 0 1 1.4 1.4z'/%3E%3C/svg%3E") center / contain no-repeat; }
.price { font-weight: 800; font-size: 1.1rem; margin-bottom: 4px; }
.btn { display: inline-block; text-decoration: none; background: var(--primary); color: var(--primary-ink); font-weight: 700; padding: 12px 20px; border-radius: 12px; }
.btn.ghost { background: transparent; color: var(--primary); border: 2px solid var(--primary); }

/* screenshots */
.shots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 1000px) { .shots { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .shots { grid-template-columns: repeat(2, 1fr); } }
.shot { margin: 0; }
.shot img { border-radius: 18px; border: 1px solid var(--border); background: #000; aspect-ratio: 1290 / 2796; object-fit: cover; width: 100%; }
.shot figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 8px; text-align: center; }

/* sources */
.sources { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
@media (max-width: 720px) { .sources { grid-template-columns: 1fr; } }
.sources li { padding: 12px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.disclaimer { margin-top: 20px; padding: 14px 18px; border-left: 4px solid var(--warn); background: var(--warn-soft); border-radius: 10px; }

/* faq */
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 4px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 800; color: var(--primary); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 14px; color: var(--muted); }

/* pulvecast + cta */
.banner { background: linear-gradient(135deg, #14532d, #166534); color: #ecfdf5; border-radius: 24px; padding: 32px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.banner a.btn { background: #ecfdf5; color: #14532d; }
.banner .stores { margin: 0; }
@media (max-width: 720px) { .banner { grid-template-columns: 1fr; } }
.cta { text-align: center; padding: 64px 0 72px; }
.cta .stores { justify-content: center; }

/* article */
.article { padding: 44px 0 64px; }
.article .wrap { max-width: 800px; }
.article header { margin-bottom: 28px; }
.article h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.article h2 { font-size: 1.45rem; margin-top: 2em; }
.article h3 { margin-top: 1.5em; }
.article ul, .article ol { padding-left: 1.4em; }
.article li { margin-bottom: 0.4em; }
.article blockquote { margin: 0; padding: 4px 18px; border-left: 4px solid var(--primary); background: var(--surface); border-radius: 8px; }
.breadcrumb { font-size: 0.9rem; color: var(--muted); }
.breadcrumb ol { list-style: none; padding: 0; margin: 0 0 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--border); }
.table-wrap { overflow-x: auto; margin: 1em 0; border: 1px solid var(--border); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--surface-2); }
tr:last-child td { border-bottom: 0; }
code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; font-size: 0.9em; }
.meta { color: var(--muted); font-size: 0.9rem; }

/* footer */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); padding: 40px 0 28px; margin-top: 24px; font-size: 0.95rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 800px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .legal { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.88rem; }
.err { padding: 80px 0; }
.err ul { list-style: none; padding: 0; }
.err li { margin-bottom: 8px; }
