/* Shared by promic.html and exithreat.html. Colours follow index.html. */
:root {
  --bg: #ffffff;
  --soft: #f3f7fb;
  --ink: #10202f;
  --muted: #52606d;
  --line: #dde5ee;
  --navy: #0d2236;
  --blue: #1e7fd8;
  --warn-bg: #fff6e0;
  --warn-line: #f0d48a;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0b1724; --soft: #0f2031; --ink: #e8eef4; --muted: #9fb0c0; --line: #213447; --blue: #5aa9f0; --warn-bg: #2a2110; --warn-line: #5c4a1c; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.7; }
a { color: var(--blue); }
img { max-width: 100%; display: block; }
.wrap { max-width: 900px; margin: 0 auto; padding: 0 20px; }

header { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.bar img { height: 28px; width: auto; }
.bar a.home { font-weight: 600; text-decoration: none; }

.hero { background: var(--navy); color: #fff; padding: 52px 0; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 36px; align-items: center; }
.hero-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.hero-head img { width: 64px; height: 64px; border-radius: 16px; }
.hero h1 { font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.15; margin: 0; }
.hero p { margin: 0 0 18px; color: #d5e0ea; font-size: 1.1rem; }
.hero .links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.hero .links a:not(.btn) { color: #fff; }
.shots { display: flex; gap: 12px; justify-content: center; align-items: flex-end; }
.shots img { width: 46%; max-width: 170px; min-width: 0; border-radius: 16px; border: 5px solid #000; }
.btn { display: inline-block; padding: 11px 22px; border-radius: 10px; font-weight: 600; text-decoration: none; background: linear-gradient(90deg, #1e7fd8, #36b3c9); color: #fff; }
.badge { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); color: #fff; font-size: .85rem; font-weight: 600; }

.toc { border-bottom: 1px solid var(--line); background: var(--soft); }
.toc .wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-top: 12px; padding-bottom: 12px; }
.toc a { font-weight: 600; text-decoration: none; }

main section { padding: 44px 0 8px; }
main section:last-child { padding-bottom: 56px; }
h2 { font-size: clamp(1.5rem, 3.5vw, 1.9rem); line-height: 1.25; margin: 0 0 12px; }
h3 { font-size: 1.15rem; line-height: 1.35; margin: 30px 0 6px; }
p { margin: 0 0 14px; }
ul { padding-left: 22px; margin: 0 0 14px; }
li { margin-bottom: 6px; }
.note { background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin: 18px 0; }
.note.warn { background: var(--warn-bg); border-color: var(--warn-line); }
.note p:last-child, .note ul:last-child { margin-bottom: 0; }

ol.steps { list-style: none; counter-reset: step; padding: 0; margin: 14px 0 0; }
ol.steps > li { counter-increment: step; position: relative; padding: 0 0 8px 46px; margin-bottom: 12px; }
ol.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, #1e7fd8, #36b3c9); }
ol.steps strong:first-child { display: block; }

.table-wrap { overflow-x: auto; margin: 10px 0 18px; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
th { background: var(--soft); }

footer { background: #000; color: #8e8e8e; padding: 22px 0; font-size: .9rem; }
.foot { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: #8e8e8e; text-decoration: none; }
footer a:hover { color: #fff; }

@media (max-width: 720px) {
  .hero { padding: 36px 0; }
  .hero-grid { grid-template-columns: 1fr; }
}
