/* =========================================================================
   Laurus Operating System (LOS) - los.laurusgroup.co.uk
   Standalone product site design system. Premium enterprise technology
   feel: dark, clean, modern, navy + gold (matching LOS's own established
   mark and losportal.com), IBM Plex Sans/Mono. Deliberately all-dark
   throughout (no light/white sections) - the previous company-style
   homepage this site replaces mixed light and dark sections; this is a
   different brief (a standalone LOS product site), not a restyle of that
   page, so the whole page now reads as one consistent dark surface.
   ========================================================================= */

:root {
  --navy-950: #04070d;
  --navy-900: #060b16;
  --navy-850: #080f1e;
  --navy-800: #0a1428;
  --navy-line: #1c2c4a;
  --on-dark: #eef2fa;
  --on-dark-dim: #98a7c4;
  --on-dark-dimmer: #6c7a9a;

  --gold: #d4af37;
  --gold-bright: #f3dc95;
  --gold-dim: #8a6526;

  --status-live: #d4af37;
  --status-developing: #4f9fdb;
  --status-planned: #6c7a9a;

  --font-display: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;

  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 24px;
  --container-width: 1180px;
  --shadow-soft: 0 24px 60px -30px rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Keep section headings clear of the sticky header on anchor jumps. */
  scroll-padding-top: 88px;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--navy-900);
  color: var(--on-dark);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--on-dark);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 650; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--on-dark-dim); }
a { color: var(--gold-bright); }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: 760px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin: 0 0 14px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--gold-bright);
}

.section {
  padding: clamp(60px, 8vw, 116px) 0;
}
.section-alt { background: var(--navy-950); }

.section-heading { max-width: 700px; margin: 0 0 44px; }
.section-heading.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-lede { font-size: 1.1rem; color: var(--on-dark-dim); max-width: 62ch; }

/* -------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 14px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.button.primary {
  background: var(--gold);
  color: var(--navy-950);
  box-shadow: 0 14px 30px -14px rgba(212, 175, 55, 0.55);
}
.button.primary:hover { background: var(--gold-bright); transform: translateY(-1px); }
.button.secondary {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(238, 242, 250, 0.28);
}
.button.secondary:hover { color: var(--gold-bright); border-color: var(--gold-bright); }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* -------------------------------------------------------------------
   Header / navigation
   ------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(6, 11, 22, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--navy-line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.brand img { height: 36px; width: auto; display: block; }
.wordmark {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--on-dark);
}
.wordmark .accent { color: var(--gold-bright); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  color: var(--on-dark-dim);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.93rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.nav-links a:hover { border-color: var(--gold-bright); color: var(--on-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--navy-line);
  background: var(--navy-850);
  cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 0 auto; background: var(--on-dark); transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------- */
.hero {
  background: var(--navy-900);
  color: var(--on-dark);
  padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 70px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 82% 0%, rgba(212, 175, 55, 0.14), transparent 60%),
    radial-gradient(50% 45% at 10% 100%, rgba(79, 159, 219, 0.08), transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: center;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin: 0 0 20px;
}
.hero h1 { color: var(--on-dark); max-width: 17ch; margin-bottom: 20px; }
.hero-lede { font-size: 1.12rem; color: var(--on-dark-dim); max-width: 54ch; margin-bottom: 30px; }
.hero-portal-note {
  margin-top: 18px;
  font-size: 0.86rem;
  color: var(--on-dark-dimmer);
}
.hero-portal-note a { color: var(--on-dark-dimmer); text-decoration: underline; }

/* -------------------------------------------------------------------
   Cards / grids
   ------------------------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

.card {
  background: var(--navy-800);
  border-radius: var(--radius);
  padding: 28px 26px;
  border: 1px solid var(--navy-line);
}
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }

.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--gold-bright);
}
.icon-badge svg { width: 22px; height: 22px; }

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.status-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-chip.is-live { color: var(--gold-bright); background: rgba(243, 220, 149, 0.14); }
.status-chip.is-developing { color: #7fc0f0; background: rgba(79, 159, 219, 0.18); }
.status-chip.is-planned { color: var(--on-dark-dim); background: rgba(238, 242, 250, 0.08); }

/* -------------------------------------------------------------------
   What LOS connects
   ------------------------------------------------------------------- */
.connects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.connect-card {
  padding: 26px 24px;
}
/* "What is LOS" has eight areas - four across on wide screens so the
   grid ends on a full row; falls back to the shared 2/1-column rules. */
.connects-grid-8 { grid-template-columns: repeat(4, 1fr); }
.connect-index {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--gold-bright);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 12px;
}

/* -------------------------------------------------------------------
   Real LOS interface examples
   ------------------------------------------------------------------- */
.interface-examples {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.interface-frame {
  border-radius: var(--radius-lg);
  border: 1px solid var(--navy-line);
  background: var(--navy-800);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.interface-frame-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--navy-850);
  border-bottom: 1px solid var(--navy-line);
}
.interface-frame-chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--navy-line);
}
.interface-frame img { width: 100%; height: auto; display: block; }
.interface-frame-caption {
  padding: 18px 22px 22px;
}
.interface-frame-caption h3 { margin-bottom: 6px; font-size: 1.05rem; }
.interface-frame-caption p { margin: 0; font-size: 0.92rem; }

/* -------------------------------------------------------------------
   Industries / use cases
   ------------------------------------------------------------------- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.industry-card {
  display: flex;
  flex-direction: column;
}
.industry-card > .status-chip {
  align-self: flex-start;
}
/* Live vs Developing split inside a single industry card (PaddockDesk),
   so what is live today and what is still being built are never blurred
   under one chip. Sits in the same bottom slot as .industry-note. */
.status-split {
  list-style: none;
  margin: auto 0 0;
  padding: 10px 0 0;
  display: grid;
  gap: 10px;
}
.status-split li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--on-dark-dimmer);
}
.status-split .status-chip { margin-bottom: 0; flex-shrink: 0; }
.industry-card p.industry-note {
  margin-top: auto;
  padding-top: 10px;
  font-size: 0.86rem;
  color: var(--on-dark-dimmer);
  font-style: italic;
}

/* PaddockDesk brand badge - small, supporting mark only (never the hero,
   never dominant). The approved asset (assets/images/
   PaddockDesk_approved_navy_logo.png) has its own fully opaque
   near-white background (not transparent), so it sits inside a small
   white rounded chip rather than directly on the dark card - the same
   pattern used for partner logos on dark UIs generally, and it keeps the
   approved asset's own pixels completely untouched. align-self so it
   never stretches full-width inside the card's flex column, and
   line-height:0 on the wrap avoids the inline-image whitespace gap. */
.paddockdesk-badge-wrap {
  align-self: flex-start;
  display: inline-block;
  margin: 2px 0 12px;
  padding: 6px 10px;
  background: #ffffff;
  border-radius: 8px;
  line-height: 0;
}
.paddockdesk-badge {
  display: block;
  width: 130px;
  height: auto;
}

@media (max-width: 720px) {
  .paddockdesk-badge {
    width: 108px;
  }
}

/* -------------------------------------------------------------------
   Security / infrastructure
   ------------------------------------------------------------------- */
.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.security-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--navy-800);
  border: 1px solid var(--navy-line);
}
.security-item .icon-badge { flex-shrink: 0; margin-bottom: 0; }
.security-item h3 { margin-bottom: 6px; font-size: 1.05rem; }
.security-item p { margin: 0; font-size: 0.92rem; }

/* -------------------------------------------------------------------
   Real deployments
   ------------------------------------------------------------------- */
/* Status key above the deployments - states what Live / Developing /
   Future direction each mean, using the same chips as the cards. */
.status-key {
  list-style: none;
  margin: -16px auto 32px;
  padding: 0;
  max-width: 880px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 20px;
}
.status-key li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--on-dark-dim);
}
.status-key .status-chip { margin-bottom: 0; }
.future-direction {
  margin: 28px auto 0;
  max-width: 760px;
  text-align: center;
  font-size: 0.92rem;
  color: var(--on-dark-dim);
}
.future-direction .status-chip { margin: 0 8px 0 0; vertical-align: middle; }
.deployments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.deployment-card {
  display: flex;
  flex-direction: column;
}
.deployment-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.deployment-org-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-dark-dimmer);
  white-space: nowrap;
}
.deployment-disclaimer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--navy-line);
  font-size: 0.84rem;
  color: var(--on-dark-dimmer);
}
.deployment-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-bright);
  text-decoration: none;
}
/* Same bottom-aligned slot as .deployment-link, for a deployment with no
   public URL yet - keeps every card in the grid ending at the same
   visual baseline regardless of description length, without implying a
   link that doesn't exist. */
.deployment-link-placeholder {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--on-dark-dimmer);
}

/* -------------------------------------------------------------------
   Final CTA
   ------------------------------------------------------------------- */
.final-cta {
  text-align: center;
}
.final-cta .button-row { justify-content: center; margin-top: 10px; }

/* -------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(238, 242, 250, 0.75);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-grid h4 { color: var(--on-dark); font-family: var(--font-body); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.footer-grid a { color: rgba(238, 242, 250, 0.75); text-decoration: none; display: block; margin-bottom: 10px; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--gold-bright); }
/* Staff sign-in: deliberately small and quiet - the site is for the
   public; staff access is a footnote, never a headline. */
.footer-grid a.footer-staff-link { margin-top: 18px; font-size: 0.8rem; color: rgba(238, 242, 250, 0.5); }
.footer-brand .wordmark { color: var(--on-dark); }
.footer-brand p { color: rgba(238, 242, 250, 0.55); font-size: 0.9rem; max-width: 34ch; }
.footer-bottom {
  border-top: 1px solid rgba(238, 242, 250, 0.12);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(238, 242, 250, 0.5);
}
.laurus-group-line { display: inline; }
.laurus-group-line strong { color: var(--gold-bright); font-weight: 600; }
.laurus-group-line a { text-decoration: none; }
.laurus-group-line a:hover strong { text-decoration: underline; }

/* -------------------------------------------------------------------
   Placeholder convention - matches this ecosystem's existing sites.
   ------------------------------------------------------------------- */
.tbc {
  background: rgba(243, 220, 149, 0.14);
  color: var(--gold-bright);
  padding: 1px 8px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.9em;
}

/* -------------------------------------------------------------------
   Utility
   ------------------------------------------------------------------- */
.text-muted { color: var(--on-dark-dimmer); }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--navy-950);
  color: var(--on-dark);
  padding: 12px 18px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; top: 0; }

/* -------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------- */
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-grid > .hero-system-col { order: -1; }
  .connects-grid, .connects-grid-8 { grid-template-columns: repeat(2, 1fr); }
  .status-key { grid-template-columns: 1fr; margin-top: -20px; }
  .interface-examples { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .deployments-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  #site-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-900);
    padding: 20px 24px 26px;
    border-bottom: 1px solid var(--navy-line);
    gap: 16px;
  }
  .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; }
  html { scroll-padding-top: 108px; }
  .connects-grid, .connects-grid-8 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}
