:root {
  --bg: #09111f;
  --surface: #101d31;
  --surface-2: #142640;
  --text: #f4f7fb;
  --muted: #a9b7ca;
  --line: rgba(255,255,255,.10);
  --lime: #c4f36a;
  --orange: #ff865d;
  --cyan: #65e1df;
  --shadow: 0 24px 70px rgba(0,0,0,.28);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: radial-gradient(circle at 90% 0%, rgba(101,225,223,.13), transparent 34rem), var(--bg); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(9,17,31,.82); backdrop-filter: blur(18px); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: .02em; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; color: #09111f; background: var(--lime); border-radius: 11px; font-weight: 950; transform: rotate(-8deg); }
.nav-links { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a { padding: 9px 12px; color: var(--muted); border-radius: 10px; font-size: .93rem; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,.08); }
.menu-toggle { display: none; border: 1px solid var(--line); color: var(--text); background: transparent; border-radius: 10px; padding: 9px 11px; font-size: 1rem; }
.hero { padding: 90px 0 76px; position: relative; overflow: hidden; }
.hero:after { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: 30px; border-radius: 50%; background: linear-gradient(135deg, rgba(196,243,106,.2), rgba(255,134,93,.05)); filter: blur(2px); pointer-events: none; }
.eyebrow { color: var(--lime); text-transform: uppercase; font-size: .76rem; font-weight: 800; letter-spacing: .16em; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; margin: 0 0 18px; }
h1 { max-width: 780px; font-size: clamp(2.8rem, 7vw, 6.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.7rem); }
h3 { font-size: 1.34rem; }
.lead { max-width: 710px; color: var(--muted); font-size: clamp(1.04rem, 2vw, 1.25rem); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 13px; border: 1px solid transparent; font-weight: 750; transition: transform .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #09111f; background: var(--lime); }
.btn-secondary { color: var(--text); border-color: var(--line); background: rgba(255,255,255,.04); }
.section { padding: 80px 0; }
.section-muted { background: linear-gradient(180deg, transparent, rgba(20,38,64,.48), transparent); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 30px; }
.section-head p { color: var(--muted); max-width: 520px; margin: 0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { position: relative; min-height: 230px; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(160deg, rgba(20,38,64,.88), rgba(16,29,49,.9)); box-shadow: var(--shadow); overflow: hidden; }
.card:before { content: ""; position: absolute; width: 130px; height: 130px; right: -45px; bottom: -50px; border-radius: 50%; background: var(--card-accent, rgba(196,243,106,.18)); filter: blur(2px); }
.card > * { position: relative; z-index: 1; }
.card p { color: var(--muted); margin: 0; }
.card-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 14px; color: #09111f; background: var(--card-icon, var(--lime)); font-size: 1.4rem; font-weight: 900; }
.card-link { display: inline-flex; gap: 8px; align-items: center; margin-top: 24px; color: var(--lime); font-weight: 750; }
.feature { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: stretch; }
.feature-panel { padding: 34px; border-radius: 25px; border: 1px solid var(--line); background: linear-gradient(140deg, #172b47, #0e1a2c); }
.feature-panel p { color: var(--muted); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; }
.stat { padding: 16px; border-top: 1px solid var(--line); }
.stat strong { display: block; font-size: 1.6rem; }
.stat span { color: var(--muted); font-size: .85rem; }
.quote { padding: 34px; border-left: 3px solid var(--lime); background: rgba(196,243,106,.06); border-radius: 0 18px 18px 0; color: #dfe9f4; font-size: 1.35rem; }
.page-hero { padding: 76px 0 52px; border-bottom: 1px solid var(--line); }
.page-hero .lead { max-width: 770px; }
.prose { max-width: 810px; }
.prose p, .prose li { color: var(--muted); font-size: 1.06rem; }
.prose ul { padding-left: 22px; }
.check-list { list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li:before { content: "✓"; flex: 0 0 auto; color: #09111f; background: var(--lime); width: 23px; height: 23px; border-radius: 8px; display: grid; place-items: center; font-size: .8rem; font-weight: 900; }
.cta { padding: 34px; border-radius: 25px; background: linear-gradient(120deg, rgba(196,243,106,.18), rgba(101,225,223,.14)); border: 1px solid rgba(196,243,106,.28); }
.site-footer { padding: 34px 0 45px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.small { color: var(--muted); font-size: .92rem; }
.badge { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: rgba(196,243,106,.12); color: var(--lime); font-size: .78rem; font-weight: 750; }
.app-screen { margin-top: 28px; padding: 18px; border-radius: 25px; border: 1px solid var(--line); background: #07101d; box-shadow: var(--shadow); }
.app-top { display: flex; justify-content: space-between; gap: 20px; padding: 5px 8px 16px; color: var(--muted); font-size: .85rem; }
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.app-folder { min-height: 106px; display: flex; flex-direction: column; justify-content: space-between; padding: 14px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.app-folder b { font-size: .95rem; }
.app-folder span { color: var(--muted); font-size: .78rem; }
@media (max-width: 850px) {
  .container { width: min(100% - 28px, 680px); }
  .nav { min-height: 66px; }
  .menu-toggle { display: block; }
  .nav-links { display: none; width: 100%; padding: 10px 0 16px; }
  .nav-links.open { display: flex; }
  .nav { flex-wrap: wrap; }
  .nav-links a { width: 100%; }
  .hero { padding-top: 65px; }
  .grid, .feature { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .section-head p { margin-top: 14px; }
}
@media (max-width: 500px) {
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: 1fr; }
}


/* Version 2 visual layer: photographic heroes for every section. */
.hero, .page-hero { isolation: isolate; background: #0a1322; }
.hero::before, .page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(90deg, rgba(9,17,31,.97) 0%, rgba(9,17,31,.78) 34%, rgba(9,17,31,.22) 74%, rgba(9,17,31,.42) 100%), var(--hero-image); background-size: cover; background-position: center; transform: scale(1.01); }
.hero::after { z-index: -1; }
.hero .container, .page-hero .container { position: relative; z-index: 1; }
.hero { min-height: 620px; display: flex; align-items: center; }
.page-hero { min-height: 470px; display: flex; align-items: end; }
.hero h1, .page-hero h1 { text-shadow: 0 8px 30px rgba(0,0,0,.34); text-wrap: balance; }
.hero .lead, .page-hero .lead { color: #e5edf6; text-shadow: 0 3px 18px rgba(0,0,0,.48); }
.hero .actions, .page-hero .actions { position: relative; z-index: 2; }
.card { transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease; }
.card:hover { transform: translateY(-5px); border-color: rgba(196,243,106,.34); box-shadow: 0 28px 80px rgba(0,0,0,.38); }

/* Tactical field-library theme for the application page. */
body.tactical { --bg: #10160f; --surface: #1a2418; --surface-2: #222e1e; --text: #f1edd8; --muted: #b8bea5; --line: rgba(214,198,106,.18); --lime: #d6c66a; --orange: #c87942; --cyan: #91b8a1; --shadow: 0 24px 70px rgba(0,0,0,.42); background: radial-gradient(circle at 90% 0%, rgba(145,184,161,.13), transparent 32rem), var(--bg); }
body.tactical .site-header { background: rgba(13,19,12,.9); }
body.tactical .brand-mark { color: #11160e; background: var(--lime); border-radius: 4px; transform: rotate(0); }
body.tactical .page-hero::before { background-image: linear-gradient(90deg, rgba(13,19,12,.98) 0%, rgba(13,19,12,.82) 38%, rgba(13,19,12,.28) 78%, rgba(13,19,12,.5) 100%), var(--hero-image); filter: saturate(.68) sepia(.1) contrast(1.08); }
body.tactical .eyebrow { color: var(--lime); letter-spacing: .18em; }
body.tactical .badge { color: #171b11; background: var(--lime); }
body.tactical .btn-primary { color: #151a10; background: var(--lime); }
body.tactical .feature-panel, body.tactical .card { background: linear-gradient(145deg, rgba(33,46,28,.96), rgba(22,31,20,.96)); }
body.tactical .app-screen { background: #11180f; border-color: rgba(214,198,106,.3); background-image: linear-gradient(rgba(214,198,106,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(214,198,106,.035) 1px, transparent 1px); background-size: 24px 24px; }
body.tactical .app-top { text-transform: uppercase; letter-spacing: .13em; color: var(--lime); }
body.tactical .app-folder { position: relative; background: rgba(34,46,29,.94); border-color: rgba(214,198,106,.2); }
body.tactical .app-folder::after { content: "//"; position: absolute; right: 12px; top: 9px; color: rgba(214,198,106,.42); font-size: .72rem; letter-spacing: .1em; }
body.tactical .cta { background: linear-gradient(120deg, rgba(214,198,106,.16), rgba(145,184,161,.12)); border-color: rgba(214,198,106,.3); }
body.tactical .site-footer { background: #0e140d; }
@media (max-width: 850px) { .hero { min-height: 600px; } .page-hero { min-height: 480px; } .hero::before, .page-hero::before { background-position: 62% center; } }
