/* Augmented Defense site. Brand colours come from the AD logo (blue, navy, green "point"). */
:root {
  --navy-950: #070d1d;
  --navy-900: #0b1530;
  --navy-800: #13213f;
  --navy-700: #1d2f57;
  --blue-600: #3d6bc4;
  --blue-500: #4a72b5;
  --blue-300: #8fb0ea;
  --green-500: #6fb347;
  --ink: #0f1b3d;
  --muted: #55607a;
  --line: #dde3ee;
  --paper: #ffffff;
  --paper-2: #f4f6fb;
  --warn-bg: #fff4dc;
  --warn: #7a4a00;
  --danger: #b3261e;
  --ok: #2f8a4e;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(11, 21, 48, .06), 0 8px 24px rgba(11, 21, 48, .07);
  --font-head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.6 var(--font-body); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue-600); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.08; margin: 0 0 .4em; letter-spacing: .2px; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: 1.55rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 2px; border-radius: 4px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (max-width: 600px) { .container { padding: 0 16px; } body { font-size: 16px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { font: 600 .82rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 12px; display: block; }
:is(.dark, .darker) .eyebrow { color: var(--blue-300); }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }
:is(.dark, .darker) .lede { color: #c5d0e6; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 1rem/1 var(--font-body); padding: 14px 22px; border-radius: 10px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, transform .05s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue-600); color: #fff; }
.btn-primary:hover { background: #3260b8; }
.btn-secondary { background: transparent; color: var(--blue-600); border-color: var(--blue-600); }
.btn-secondary:hover { background: rgba(61, 107, 196, .08); }
:is(.dark, .darker) .btn-secondary { color: #fff; border-color: rgba(255, 255, 255, .7); }
:is(.dark, .darker) .btn-secondary:hover { background: rgba(255, 255, 255, .1); }
.btn-sm { padding: 10px 14px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.center .btn-row { justify-content: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 21, 48, .96); backdrop-filter: blur(8px); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.nav { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 700 1.25rem/1 var(--font-head); letter-spacing: .5px; text-transform: uppercase; flex: none; }
.brand img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 18px; flex: 1; }
.nav-links a { color: #c9d4ea; text-decoration: none; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav-links a:hover { color: #fff; }
.nav-links a[aria-current="page"] { color: #fff; border-bottom-color: var(--green-500); }
.nav-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255, 255, 255, .3); color: #fff; border-radius: 8px; padding: 6px 10px; font-size: 1.2rem; cursor: pointer; }
@media (max-width: 1200px) {   /* eight links need about 1140 px on one line */
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; gap: 0; background: var(--navy-900); padding: 8px 20px 16px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .nav-actions .btn { display: none; }
}

/* Sections */
section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.dark { background: var(--navy-900); color: #eef2fa; }
.darker { background: var(--navy-950); color: #eef2fa; }
.tint { background: var(--paper-2); }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } section { padding: 64px 0; } }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } .split.flip > :first-child { order: 0; } }
.rounded-img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: auto; }

/* Hero */
.hero { padding: 0; background: var(--navy-950); color: #fff; }
.hero-media { position: relative; aspect-ratio: 10 / 3; min-height: 220px; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 13, 29, 0) 55%, rgba(7, 13, 29, 1) 100%); }
.hero-body { padding: 8px 0 72px; text-align: center; }
.hero-body .lede { margin: 0 auto 28px; color: #c5d0e6; }
.hero-body .btn-row { justify-content: center; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 28px; color: #aab7d1; font-size: .95rem; list-style: none; padding: 0; }
.trust-row li::before { content: "✓"; color: var(--green-500); font-weight: 700; margin-right: 8px; }
@media (max-width: 680px) { .hero-media { aspect-ratio: 4 / 3; } .hero-media img { object-position: 78% 50%; } }

.page-hero { padding: 72px 0 56px; }
.page-hero.has-img { position: relative; overflow: hidden; }
.page-hero .lede { margin-bottom: 0; }

/* Cards */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
:is(.dark, .darker) .card { background: var(--navy-800); border-color: rgba(255, 255, 255, .08); box-shadow: none; }
.card h3 { margin-bottom: .3em; }
.card p:last-child { margin-bottom: 0; }
.guide-download .guide-file-details { font-size: .88rem; color: var(--muted); margin: 16px 0; }
.dark .guide-download .guide-file-details { color: #c5d0e6; }
.guide-download .btn { white-space: normal; text-align: center; }
.guide-preview { display: block; width: 100%; max-width: 400px; margin: 0 auto; }
.icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: rgba(61, 107, 196, .12); color: var(--blue-600); margin-bottom: 14px; }
:is(.dark, .darker) .icon { background: rgba(143, 176, 234, .14); color: var(--blue-300); }
.stake { display: flex; gap: 16px; align-items: flex-start; }
.stake .x { flex: none; width: 34px; height: 34px; border-radius: 50%; background: rgba(179, 38, 30, .12); color: #d2554c; display: grid; place-items: center; font-weight: 700; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 64px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--blue-600); color: #fff; font: 700 1.5rem/48px var(--font-head); text-align: center; }

/* Quote */
.quote { border-left: 4px solid var(--green-500); padding: 6px 0 6px 20px; font-size: 1.2rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .95rem; background: var(--paper); }
:is(.dark, .darker) .chips li { border-color: rgba(255, 255, 255, .15); background: transparent; }

/* Video facade */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.video button { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; border: 0; background: var(--blue-600); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 8px 30px rgba(0, 0, 0, .4); }
.video button:hover { background: #3260b8; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .video-note { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px; font-size: .85rem; color: #dfe6f3; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }

/* Tabs */
.tabs [role="tablist"] { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tabs [role="tab"] { font: 600 1rem/1 var(--font-body); padding: 12px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: transparent; color: #c9d4ea; cursor: pointer; }
.tabs [role="tab"][aria-selected="true"] { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.tabs [role="tabpanel"][hidden] { display: none; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 1.1rem; padding: 16px 40px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.6rem; color: var(--blue-600); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 18px; color: var(--muted); }

/* Forms */
.form { display: grid; gap: 16px; }

.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { padding-left: 28px; position: relative; margin: 6px 0; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--green-500); font-weight: 700; }

/* Calculator */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
.range-field { display: grid; gap: 6px; }
.range-field .top { display: flex; justify-content: space-between; font-weight: 600; }
.range-field output { color: var(--blue-600); font-weight: 700; }
.range-field input[type=range] { width: 100%; accent-color: var(--blue-600); }
.big-number { font: 700 clamp(2.4rem, 5vw, 3.6rem)/1 var(--font-head); }
.compare-bars { display: grid; gap: 14px; margin: 18px 0; }
.bar { display: grid; gap: 6px; }
.bar .track { height: 14px; background: rgba(255, 255, 255, .1); border-radius: 7px; overflow: hidden; }
.bar .fill { height: 100%; background: #d2554c; border-radius: 7px; transition: width .25s; }
.bar.ad .fill { background: var(--green-500); }

/* Footer */
.site-footer { background: var(--navy-950); color: #aab7d1; padding: 64px 0 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { color: #fff; font-size: 1.1rem; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .06em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #c9d4ea; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.legal { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 40px; padding-top: 24px; font-size: .82rem; color: #8592ad; display: grid; gap: 8px; }

/* The big update: the nav link pulses even when not selected, and a bar on every other page points to it (user 2026-10-30). */
.nav-links a.nav-big { color: #3dd4ff; font-weight: 700; animation: big-pulse 1.6s ease-in-out infinite; }
@keyframes big-pulse { 0%, 100% { color: #3dd4ff; text-shadow: 0 0 0 rgba(61, 212, 255, 0); } 50% { color: #fff; text-shadow: 0 0 14px rgba(61, 212, 255, .95); } }
.big-update-bar { display: block; background: linear-gradient(90deg, #0b3a5c, #0f5f8a, #0b3a5c); color: #fff; text-align: center; padding: 9px 16px; font-size: .95rem; text-decoration: none; border-bottom: 1px solid rgba(61, 212, 255, .4); }
.big-update-bar:hover b { text-decoration: underline; }
.big-update-bar b { color: #bff0ff; white-space: nowrap; }
@media (max-width: 640px) { .big-update-bar .bar-text { display: none; } }
.big-update-tag { display: inline-block; background: #3dd4ff; color: #06121f; border-radius: 999px; padding: 4px 10px; margin-right: 10px; font: 700 .72rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; animation: big-glow 1.6s ease-in-out infinite; }
@keyframes big-glow { 0%, 100% { box-shadow: 0 0 0 rgba(61, 212, 255, 0); } 50% { box-shadow: 0 0 16px rgba(61, 212, 255, .9); } }
.big-update-banner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 20px 24px; border-radius: 14px; text-decoration: none; color: #eef2fa; background: radial-gradient(600px 160px at 0% 0%, rgba(61, 212, 255, .25), transparent 70%), var(--navy-900); border: 1px solid rgba(61, 212, 255, .45); box-shadow: 0 0 30px rgba(61, 212, 255, .15); }
.big-update-banner > span:nth-child(2) { flex: 1 1 320px; }
.big-update-banner b { color: #fff; font: 700 1.3rem/1.2 var(--font-head); display: block; }
.big-update-banner .arrow { font-weight: 700; color: #3dd4ff; white-space: nowrap; }
.big-update-banner:hover { border-color: #3dd4ff; }
.big-update-wrap { padding: 28px 0; background: var(--navy-950); }
@media (prefers-reduced-motion: reduce) { .nav-links a.nav-big, .big-update-tag { animation: none; } }
/* The pitch on the first screen, the real/virtual explainer and image tags (user 2026-10-30). */
.pitch { max-width: 640px; margin: 20px 0 0; padding: 12px 16px; border-left: 4px solid var(--green-500); background: rgba(111, 179, 71, .12); border-radius: 0 10px 10px 0; color: #e6efe0; font-size: .98rem; }
.pitch b { color: #fff; }
.hero-body .pitch { margin: 20px auto 0; text-align: left; }
.blend-img { display: block; width: 100%; height: auto; margin: 8px 0 28px; border-radius: 14px; border: 1px solid rgba(61, 212, 255, .3); }
.img-tag { position: relative; }
.img-tag::after { content: attr(data-tag); position: absolute; left: 14px; top: 14px; background: rgba(7, 13, 29, .82); color: #bff0ff; border: 1px solid rgba(61, 212, 255, .5); border-radius: 999px; padding: 5px 11px; font: 600 .76rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; }
