/* Eris Technology website. Colours and type from the Eris Brand Identity Guidelines (2026, v1.0). */
:root {
  --midnight: #0B1528;   /* primary canvas */
  --deep: #14243F;       /* cards and panels */
  --slate: #1C3152;      /* secondary surfaces, rules */
  --line: #2E4A72;
  --green: #8DD14F;      /* accent only: kickers, key figures, one CTA */
  --green-hover: #A6DE72;
  --white: #FFFFFF;
  --grey: #B4C0D0;       /* supporting text */
  --body: #DCE3EC;       /* long-form text */
  --muted: #7A8AA2;
  --ask: #F5B841;
  --stop: #FF7A6E;
  --stop-text: #FF9A90;
  --radius: 20px;
  --wrap: 1160px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--midnight);
  color: var(--white);
  font-family: Calibri, Carlito, "Segoe UI", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.55;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--green); }
a:hover { color: var(--green-hover); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; line-height: 1.1; font-weight: 700; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--midnight); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 16px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(11, 21, 40, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--slate); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.wordmark { color: var(--green); font-size: 26px; font-weight: 700; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; }
.wordmark:hover { color: var(--green); }
.nav { display: flex; align-items: center; gap: 30px; font-size: 17px; }
.nav a { color: var(--grey); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav a[aria-current="page"] { font-weight: 700; }
.nav .nav-product { display: inline-flex; align-items: center; gap: 8px; color: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px 7px 10px; }
.nav .nav-product:hover { border-color: var(--green); }
.nav .nav-product svg { width: 20px; height: 20px; }
/* Small screens: the same nav, opened by a checkbox (no script). */
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-button { display: none; cursor: pointer; color: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 6px 14px; font-size: 16px; }
.nav-toggle:focus-visible + .nav-button { outline: 3px solid var(--green); outline-offset: 3px; }

@media (max-width: 860px) {
  .site-header .wrap { position: relative; }
  .nav-button { display: block; }
  .nav { display: none; flex-direction: column; align-items: stretch; gap: 0; position: absolute; right: 16px; top: calc(100% + 8px); background: var(--deep); border: 1px solid var(--line); border-radius: 16px; padding: 8px; min-width: 240px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45); }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav a { padding: 12px 14px; border-radius: 10px; }
  .nav .nav-product { border: 0; margin-top: 4px; background: var(--midnight); padding: 12px 14px; }
}

/* ---------- product sub-bar (Eris Patrol pages) ---------- */
.subbar { border-bottom: 1px solid var(--slate); background: var(--deep); }
.subbar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 12px; padding-bottom: 12px; }
.subbar .brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 700; font-size: 19px; text-decoration: none; }
.subbar .brand svg { width: 28px; height: 28px; }
.subbar nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: 16px; }
.subbar nav a { color: var(--grey); text-decoration: none; }
.subbar nav a:hover, .subbar nav a[aria-current="page"] { color: var(--white); }
.subbar nav a[aria-current="page"] { font-weight: 700; }
@media (max-width: 600px) { .subbar nav .btn { display: none; } }

/* ---------- type ---------- */
.kicker { font-size: 15px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); }
.display { font-size: clamp(40px, 6vw, 64px); line-height: 1.04; letter-spacing: -0.01em; }
.h2 { font-size: clamp(30px, 4vw, 42px); }
.h3 { font-size: 24px; line-height: 1.2; }
.lead { font-size: clamp(19px, 2vw, 22px); color: var(--grey); max-width: 36em; }
.muted { color: var(--grey); }
.small { font-size: 15px; }
.rule { width: 96px; height: 5px; border-radius: 3px; background: var(--green); border: 0; margin: 0; }

/* ---------- layout ---------- */
.section { padding: 88px 0; }
.section.tight { padding: 56px 0; }
.section + .section { padding-top: 0; }
.stack { display: flex; flex-direction: column; gap: 22px; }
.stack-sm { display: flex; flex-direction: column; gap: 12px; }
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.grid-2 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
@media (max-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .section { padding: 64px 0; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--slate); }
.hero .wrap { position: relative; padding-top: 104px; padding-bottom: 96px; }
.hero .art { position: absolute; right: -80px; top: 50%; transform: translateY(-50%); width: 620px; opacity: 0.9; pointer-events: none; }
.hero .copy { position: relative; max-width: 760px; display: flex; flex-direction: column; gap: 24px; }
.hero.page .wrap { padding-top: 80px; padding-bottom: 72px; }
@media (max-width: 860px) {
  .hero .art { width: 420px; right: -160px; opacity: 0.35; }
  .hero .wrap { padding-top: 72px; padding-bottom: 64px; }
}

/* ---------- cards ---------- */
.card { background: var(--deep); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card p { color: var(--grey); font-size: 17px; }
.card .num { font-size: 40px; font-weight: 700; color: var(--green); line-height: 1; }
.card.bar { border-left: 5px solid var(--green); border-radius: 6px var(--radius) var(--radius) 6px; }
.card.lg { padding: 40px; gap: 16px; }
.card.lg p { font-size: 18px; color: var(--body); }
.card .tag { align-self: flex-start; font-size: 14px; font-weight: 700; color: var(--green); border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; }
.panel { background: var(--deep); border-radius: 24px; padding: clamp(28px, 5vw, 56px); }
.outline { border: 1px solid var(--line); border-radius: 24px; padding: clamp(28px, 5vw, 48px); }
.prose { display: flex; flex-direction: column; gap: 16px; color: var(--body); max-width: 46em; }
.prose strong { color: var(--white); }

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.btn { display: inline-flex; align-items: center; gap: 10px; font: inherit; font-weight: 700; font-size: 18px; text-decoration: none; border-radius: 999px; padding: 14px 26px; border: 2px solid transparent; }
.btn.primary { background: var(--green); color: var(--midnight); }
.btn.primary:hover { background: var(--green-hover); color: var(--midnight); }
.btn.ghost { color: var(--white); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--green); color: var(--white); }
.link-arrow { font-weight: 700; text-decoration: none; }
.link-arrow::after { content: " →"; }

/* ---------- strip ---------- */
.strip { border-bottom: 1px solid var(--slate); }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 14px 40px; padding-top: 22px; padding-bottom: 22px; font-size: 17px; color: var(--grey); }
.strip b { color: var(--white); }

/* ---------- tabs-free offering list (services) ---------- */
.offer { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 8px 24px; padding: 36px 0; border-top: 1px solid var(--slate); }
.offer:last-child { border-bottom: 1px solid var(--slate); }
.offer .num { font-size: 40px; font-weight: 700; color: var(--green); line-height: 1; }
.offer .body { display: flex; flex-direction: column; gap: 12px; max-width: 48em; }
.offer .body p { color: var(--body); }
.offer .body .pull { color: var(--white); font-size: 20px; font-weight: 700; }
@media (max-width: 600px) { .offer { grid-template-columns: minmax(0, 1fr); } }

/* ---------- people ---------- */
.person { background: var(--deep); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.person .who { display: flex; align-items: center; gap: 18px; }
.person .initials { flex: none; width: 64px; height: 64px; border-radius: 32px; background: var(--slate); border: 2px solid var(--green); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; color: var(--green); }
.person p { color: var(--body); font-size: 17px; }

/* ---------- Patrol-specific ---------- */
.mock { background: var(--deep); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.mock .top { display: flex; align-items: center; justify-content: space-between; font-size: 14px; }
.mock .top span:first-child { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.mock .icon { flex: none; width: 44px; height: 44px; border-radius: 22px; background: rgba(255, 122, 110, 0.16); display: flex; align-items: center; justify-content: center; }
.mock .quote { background: var(--midnight); border-radius: 12px; padding: 12px 14px; font-size: 16px; }
.mask { background: rgba(255, 122, 110, 0.18); color: var(--stop-text); font-weight: 700; padding: 1px 6px; border-radius: 6px; }
.mock .cta { background: var(--white); color: var(--midnight); font-weight: 700; text-align: center; padding: 13px; border-radius: 12px; }
.list { margin: 0; padding-left: 20px; color: var(--grey); font-size: 17px; display: flex; flex-direction: column; gap: 6px; }
.stat { display: block; font-size: 44px; font-weight: 700; color: var(--green); line-height: 1.1; }
.table { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.table table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.table th { background: var(--deep); text-align: left; padding: 12px 16px; }
.table td { padding: 12px 16px; border-top: 1px solid var(--line); color: var(--body); vertical-align: top; }
.note { border-left: 4px solid var(--green); background: var(--deep); border-radius: 0 16px 16px 0; padding: 18px 22px; font-size: 16px; color: var(--grey); }
details.faq { background: var(--deep); border-radius: 16px; padding: 18px 22px; }
details.faq summary { cursor: pointer; font-weight: 700; }
details.faq p { margin-top: 10px; color: var(--grey); font-size: 17px; }
.article { max-width: 860px; }
.article h2 { font-size: 28px; line-height: 1.2; margin-top: 18px; }
.article p, .article li { color: var(--body); }
.article ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 4px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--slate); margin-top: 24px; }
.site-footer .cols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.site-footer h3 { font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 16px; }
.site-footer ul a { color: var(--grey); text-decoration: none; }
.site-footer ul a:hover { color: var(--white); }
.site-footer .tagline { color: var(--grey); font-size: 16px; margin-top: 12px; max-width: 22em; }
.site-footer .legal { border-top: 1px solid var(--slate); }
.site-footer .legal .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; padding-bottom: 28px; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .site-footer .cols { grid-template-columns: minmax(0, 1fr); } }
