/* DronesPanel — shared styles. No framework, no build step. */
:root {
  --ink: #0b1420;
  --ink-2: #16263a;
  --paper: #f7f6f2;
  --paper-2: #ffffff;
  --line: #d9d7cf;
  --amber: #e07a1f;
  --amber-dark: #a9560f;
  --teal: #0f6b70;
  --muted: #5a6475;
  --wrap: 1120px;
  --radius: 14px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
section { padding: 60px 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: 0; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 14px; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 16px; max-width: 72ch; }
.lede { font-size: 1.14rem; color: var(--ink-2); }
.eyebrow {
  font: 600 0.74rem/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 12px;
}
.muted { color: var(--muted); }
.small { font-size: 0.92rem; }

/* header */
header.site {
  position: sticky; top: 0; z-index: 30;
  background: rgba(247, 246, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; gap: 18px; min-height: 62px; }
.brand { font-weight: 700; letter-spacing: -0.02em; text-decoration: none; color: var(--ink); }
.brand span { color: var(--amber); }
header.site nav { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; }
header.site nav a { color: var(--ink-2); text-decoration: none; font-size: 0.93rem; }
header.site nav a:hover { color: var(--amber-dark); }

/* hero */
.hero { position: relative; color: #fff; border-top: 0; padding: 0; }
.hero img.bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: saturate(0.85);
}
.hero .scrim {
  position: relative;
  background: linear-gradient(100deg, rgba(11, 20, 32, 0.93) 0%, rgba(11, 20, 32, 0.78) 55%, rgba(11, 20, 32, 0.35) 100%);
  padding: 86px 0 74px;
}
.hero h1 { color: #fff; max-width: 20ch; }
.hero p { color: #d8dde6; max-width: 62ch; }
.hero .eyebrow { color: #f0a85e; }

.btn {
  display: inline-block; padding: 12px 20px; border-radius: 999px;
  font-weight: 600; text-decoration: none; font-size: 0.97rem;
}
.btn-primary { background: var(--amber); color: #15100a; }
.btn-primary:hover { background: #f08f32; color: #15100a; }
.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.45); color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* generic cards + grids */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card img { border-radius: 10px; margin-bottom: 14px; aspect-ratio: 16/9; object-fit: cover; }

.stat { font: 700 1.9rem/1 var(--font); color: var(--teal); display: block; }

/* tables */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; min-width: 640px; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #eeece5; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; }
tr:last-child td { border-bottom: 0; }

/* numbered steps */
ol.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 16px; }
ol.steps li { counter-increment: s; padding-left: 54px; position: relative; }
ol.steps li::before {
  content: counter(s);
  position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 0.95rem;
}
ol.steps h3 { margin-bottom: 4px; }

/* dark band */
.band { background: var(--ink); color: #e7ebf1; border-top: 0; }
.band h2, .band h3 { color: #fff; }
.band .eyebrow { color: #f0a85e; }
.band .card { background: #13243a; border-color: #24364f; color: #dfe5ee; }
.band a { color: #f0a85e; }

/* FAQ */
details {
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 20px; margin-bottom: 12px;
}
details summary { font-weight: 650; cursor: pointer; }
details[open] summary { margin-bottom: 10px; }
details p:last-child { margin-bottom: 0; }

/* photo strip */
.strip { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.strip img { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; }

/* source list */
ul.sources { padding-left: 20px; font-size: 0.93rem; color: var(--muted); }
ul.sources li { margin-bottom: 6px; }

footer.site { background: var(--ink); color: #9fb0c4; padding: 48px 0 60px; font-size: 0.92rem; }
footer.site a { color: #cfd8e4; }
footer.site h3 { color: #fff; font-size: 0.95rem; }
footer.site .grid { margin-bottom: 28px; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: 6px; }

.pill {
  display: inline-block; font: 600 0.72rem/1 var(--mono); letter-spacing: 0.1em;
  text-transform: uppercase; padding: 6px 10px; border-radius: 999px;
  background: #eceadf; color: var(--muted); border: 1px solid var(--line);
}
.pill.live { background: #e3f1ea; color: #1b6b45; border-color: #bfe0cf; }

@media (max-width: 640px) {
  section { padding: 44px 0; }
  .hero .scrim { padding: 60px 0 52px; }
  header.site nav { display: none; }
}
