/* =============================================================================
   argusapp.co - the Night Desk look (2026-10-22).

   Layout: one centred column (max 1180px) of glass panels on the dark desk;
   the hero splits copy left / live logo right and stacks on a phone.
   One deliberate dark world, the same as Argus Sales: no light theme.
   ============================================================================= */

:root {
  color-scheme: dark;
  /* colour */
  --desk: #0E1013;          /* the page */
  --glass: rgba(255, 255, 255, 0.045);
  --glass-hi: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.10);
  --ink: #EEF0F4;           /* text */
  --soft: #AEB4C2;          /* secondary text */
  --muted: #9198A6;         /* captions */
  --brass: #D8BC82;         /* the accent: buttons, highlights */
  --brass-ink: #E8D3A8;     /* brass text on glass */
  --steel: #6E93D6;
  --steel-deep: #4A6EAA;
  --gold-line: #B98A35;     /* chart lines (passes contrast on the desk) */
  /* type */
  --face: 'Inter Tight', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.5rem;
  --step-3: 2.25rem;
  --step-4: clamp(2.3rem, 4.6vw, 4rem);
  /* shape */
  --r-panel: 32px;
  --r-chip: 999px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background-color: var(--desk);
  background-image:
    radial-gradient(900px 560px at 8% -4%, rgba(74, 110, 170, 0.30), transparent 65%),
    radial-gradient(800px 520px at 96% 8%, rgba(201, 164, 92, 0.16), transparent 62%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 14px);
  color: var(--ink);
  font-family: var(--face);
  font-size: var(--step-0);
  line-height: 1.55;
  font-feature-settings: 'tnum' 1;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brass-ink); }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { text-wrap: balance; margin: 0; font-weight: 400; letter-spacing: -0.02em; }
p { margin: 0; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* ── header ─────────────────────────────────────────────────────────────── */
.site-head {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: rgba(14, 16, 19, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 21;
  background: var(--desk);
}
.site-head .wrap { display: flex; align-items: center; gap: 24px; padding-block: 12px; }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.logo-mark { position: relative; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; overflow: hidden; background: var(--desk); border: 1px solid var(--line); }
.logo-mark img { display: block; width: 100%; height: 100%; object-fit: cover; }
.logo-word { display: block; height: 16px; width: auto; }
.site-nav { display: flex; gap: 26px; flex: 1; justify-content: center; font-size: 0.9375rem; }
.site-nav a { color: var(--soft); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: var(--r-chip);
  font: inherit; font-size: 0.9375rem; font-weight: 600; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform 160ms ease, background-color 160ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-brass { background: var(--brass); color: var(--desk); }
.btn-brass:hover { background: #E4CB95; color: var(--desk); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(255, 255, 255, 0.22); font-weight: 500; }
.btn-ghost:hover { background: var(--glass-hi); color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .btn, .btn:hover { transition: none; transform: none; } }

/* ── hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow-x: clip;
  background: var(--desk) url('photos/hall.jpg') center 32% / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 16, 19, 0.94) 0%, rgba(14, 16, 19, 0.72) 48%, rgba(14, 16, 19, 0.40) 100%),
    linear-gradient(180deg, rgba(14, 16, 19, 0.10) 0%, rgba(14, 16, 19, 0) 55%, rgba(14, 16, 19, 1) 100%);
}
.hero .wrap { position: relative; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; padding-block: 60px 64px; }
/* the live mark and the suite's name on one line, its top level with the glimpse card */
.hero-brand { display: flex; align-items: center; gap: 18px; }
.hero-brand .eyebrow { font-size: 0.9375rem; }
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
/* the live Argus mark, the hero's seal */
.hero-mark {
  position: relative;
  flex: 0 0 auto;
  width: 104px; height: 104px;
  border-radius: 28px;
  overflow: hidden;
  background: var(--desk);
  border: 1px solid rgba(216, 188, 130, 0.22);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 70px rgba(110, 147, 214, 0.28);
}
.hero-mark img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 720px) { .hero-mark { width: 88px; height: 88px; border-radius: 24px; } }

.eyebrow { font-size: var(--step--1); font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass-ink); }
.hero h1 { font-size: var(--step-4); line-height: 1.02; font-weight: 300; letter-spacing: -0.045em; }
.hero h1 em { font-style: normal; color: var(--brass); }
.lede { max-width: 34em; font-size: var(--step-1); line-height: 1.55; color: var(--soft); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* the product glimpse: a glass card over the photo (sample figures) */
.hero-glimpse { flex: 1 1 380px; min-width: 0; display: flex; justify-content: flex-end; }
.glimpse {
  margin: 0;
  width: min(460px, 100%);
  max-width: 100%;
  display: flex; flex-direction: column; gap: 14px;
  padding: 22px;
  border-radius: var(--r-panel);
  background: rgba(18, 20, 25, 0.74);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55);
}
.glimpse-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 0.8125rem; color: var(--muted); }
.glimpse-big { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.glimpse-big strong { font-size: clamp(2.4rem, 4.2vw, 3.4rem); font-weight: 200; line-height: 1; letter-spacing: -0.045em; }
.pill-up {
  white-space: nowrap; font-size: 0.75rem; padding: 6px 11px; border-radius: var(--r-chip);
  background: rgba(216, 188, 130, 0.14); border: 1px solid rgba(216, 188, 130, 0.35); color: var(--brass-ink);
}
.glimpse svg { display: block; width: 100%; height: auto; }
.glimpse-legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 0.75rem; color: var(--soft); }
.glimpse-legend span { display: inline-flex; align-items: center; gap: 7px; }
.glimpse-legend i { display: inline-block; width: 18px; height: 0; border-top: 2px solid; }
.glimpse-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.gt { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.gt span { font-size: 0.6875rem; color: var(--muted); }
.gt strong { font-size: 1.25rem; font-weight: 300; letter-spacing: -0.02em; }
.glimpse-note { font-size: 0.6875rem; color: var(--muted); text-align: right; }
/* the glimpse as an app window, turned slightly toward the headline */
.glimpse.app {
  width: min(520px, 100%);
  padding: 0 0 18px;
  gap: 12px;
  overflow: hidden;
  background: rgba(16, 18, 23, 0.86);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 50px 140px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(216, 188, 130, 0.10), 0 0 90px rgba(110, 147, 214, 0.18);
  transform: perspective(1600px) rotateY(-9deg) rotateX(3deg);
  transform-origin: left center;
}
.glimpse.app > :not(.app-bar):not(.app-tape) { margin-inline: 20px; }
.glimpse.app > svg { width: calc(100% - 40px); }
.app-bar { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); font-size: 0.75rem; color: var(--muted); }
.dots { display: flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.app-title { flex: 1; letter-spacing: 0.04em; }
.live { display: inline-flex; align-items: center; gap: 6px; color: var(--brass-ink); }
.live b { width: 7px; height: 7px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 10px var(--brass); }
.app-tape { padding: 7px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 0.6875rem; letter-spacing: 0.1em; color: var(--muted); }
.app-tape em { font-style: normal; color: var(--brass-ink); }
.glimpse.app .glimpse-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gt em { font-style: normal; font-size: 0.6875rem; color: var(--muted); }
.gt em.up { color: var(--brass-ink); }
.stages { display: flex; flex-direction: column; gap: 7px; }
.stage-bar { display: flex; gap: 3px; height: 10px; }
.stage-bar i { border-radius: 3px; }
.stage-keys { display: flex; justify-content: space-between; gap: 6px; font-size: 0.625rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 760px) {
  .hero-glimpse { justify-content: center; }
  .glimpse.app { transform: none; }
  .glimpse.app .glimpse-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage-keys span:nth-child(n+4) { display: none; }
}

/* ── the photo band (the arched hall) ───────────────────────────────────── */
.band {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  background: var(--desk) url('photos/charts.jpg') center 40% / cover no-repeat;
}
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 16, 19, 0.85) 0%, rgba(14, 16, 19, 0.35) 45%, rgba(14, 16, 19, 0.94) 100%),
    linear-gradient(90deg, rgba(14, 16, 19, 0.85) 0%, rgba(14, 16, 19, 0) 70%),
    linear-gradient(0deg, rgba(46, 72, 120, 0.28), rgba(46, 72, 120, 0.28));
}
.band .wrap { position: relative; width: 100%; padding-block: 48px 44px; display: flex; flex-direction: column; gap: 12px; }
.band h2 { max-width: 15em; font-size: var(--step-4); line-height: 1.04; font-weight: 300; letter-spacing: -0.04em; }
.band p { max-width: 34em; font-size: var(--step-1); color: #D3D7E0; }

/* ── desk and field (two photos) ────────────────────────────────────────── */
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.duo figure {
  position: relative; margin: 0; overflow: hidden;
  aspect-ratio: 4 / 3; max-width: 100%;
  border-radius: var(--r-panel); border: 1px solid var(--line);
  background: var(--glass);
}
.duo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.duo figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px 18px; border-radius: 20px;
  background: rgba(14, 16, 19, 0.74); border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.duo figcaption strong { font-size: var(--step-1); font-weight: 500; }
.duo figcaption span { font-size: 0.9375rem; color: var(--soft); }

/* ── sections ───────────────────────────────────────────────────────────── */
.section .wrap { padding-block: 56px 8px; display: flex; flex-direction: column; gap: 28px; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 40em; }
.section-head h2 { font-size: var(--step-3); line-height: 1.08; font-weight: 300; }
.section-head p { color: var(--soft); font-size: var(--step-1); }

.suite { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.module {
  display: flex; flex-direction: column; gap: 14px;
  padding: 24px; border-radius: var(--r-panel);
  background: var(--glass); border: 1px solid var(--line);
}
.module-name { display: flex; flex-direction: column; gap: 2px; }
.module-name .brand { font-size: var(--step--1); letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.module-name h3 { font-size: var(--step-2); font-weight: 400; line-height: 1.15; }
.module-name h3 b { font-weight: 600; }
.module p { color: var(--soft); }
.module ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 0.9375rem; }
.module li { display: flex; gap: 10px; align-items: baseline; }
.module li::before { content: ""; flex: 0 0 6px; height: 6px; border-radius: 50%; background: var(--steel); transform: translateY(-2px); }
.module.soon { background: transparent; border-style: dashed; }
.module.soon li::before { background: var(--muted); }
.tag {
  align-self: flex-start; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em;
  padding: 4px 12px; border-radius: var(--r-chip);
  background: rgba(216, 188, 130, 0.14); color: var(--brass-ink); border: 1px solid rgba(216, 188, 130, 0.35);
}
.tag.steel { background: rgba(110, 147, 214, 0.14); color: #B9CCF0; border-color: rgba(110, 147, 214, 0.35); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 1px solid var(--line); }
.fact { padding: 20px 24px 6px 0; display: flex; flex-direction: column; gap: 6px; }
.fact h3 { font-size: var(--step-1); font-weight: 500; }
.fact p { color: var(--soft); font-size: 0.9375rem; }

/* ── demo form ──────────────────────────────────────────────────────────── */
.demo {
  display: flex; flex-wrap: wrap; gap: 32px;
  padding: 32px; border-radius: 36px;
  background:
    linear-gradient(160deg, rgba(24, 34, 58, 0.90), rgba(36, 30, 20, 0.86)),
    var(--desk) url('photos/office.jpg') center / cover no-repeat;
  border: 1px solid rgba(216, 188, 130, 0.28);
}
.demo-copy { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.demo-copy h2 { font-size: var(--step-3); line-height: 1.08; font-weight: 300; }
.demo-copy p { color: #D3D7E0; }
.contact-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 0.9375rem; }
.contact-line code { font-family: inherit; user-select: all; color: var(--ink); background: rgba(0, 0, 0, 0.25); padding: 6px 12px; border-radius: 10px; }
.form { flex: 1.3 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 0.8125rem; color: var(--soft); }
.field.wide { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  min-height: 50px; padding: 0 14px; border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(14, 16, 19, 0.55);
  color: var(--ink); font: inherit; font-size: 1rem;
}
.field textarea { min-height: 110px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brass); outline: none; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form-status { font-size: 0.875rem; color: var(--brass-ink); }
.form-status.bad { color: #F0B866; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } .demo { padding: 26px 20px; } }

/* ── legal and support pages ────────────────────────────────────────────── */
.doc .wrap { padding-block: 48px 32px; }
.doc article { max-width: 44em; display: flex; flex-direction: column; gap: 18px; }
.doc h1 { font-size: var(--step-3); font-weight: 300; }
.doc h2 { font-size: var(--step-1); font-weight: 600; letter-spacing: 0; margin-top: 18px; }
.doc p, .doc li { color: var(--soft); }
.doc ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }
.doc .updated { color: var(--muted); font-size: 0.875rem; }
.panel { padding: 24px; border-radius: var(--r-panel); background: var(--glass); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }

/* ── footer ─────────────────────────────────────────────────────────────── */
.site-foot { margin-top: 48px; border-top: 1px solid var(--line); }
.site-foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding-block: 22px 28px; font-size: 0.875rem; color: var(--muted); }
.site-foot nav { display: flex; gap: 22px; flex: 1; }
.site-foot a { color: var(--soft); text-decoration: none; }
.site-foot a:hover { color: var(--ink); }

@media (max-width: 720px) {
  .site-nav { display: none; }
  .site-head .wrap { justify-content: space-between; }
  .hero .wrap { padding-block: 36px 40px; }
}
