:root {
  color-scheme: light;
  --font-sans: "Segoe UI Variable", "Aptos", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --color-bg: #f4f6fa;
  --color-surface: #ffffff;
  --color-surface-alt: #f9fbff;
  --color-text: #0b1020;
  --color-muted: #2f3a52;
  --color-link: #1058d1;
  --color-link-hover: #0a46ad;
  --color-border: #c9d2e2;
  --color-focus: #0a62ff;
  --shadow-soft: 0 12px 30px rgba(6, 16, 38, 0.08);
  --radius-tight: 0.375rem;
  --container-max: 74rem;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image:
    linear-gradient(rgba(14, 31, 71, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 31, 71, 0.03) 1px, transparent 1px),
    radial-gradient(circle at 100% 0, rgba(31, 82, 186, 0.08), transparent 34%);
  background-size: 2.5rem 2.5rem, 2.5rem 2.5rem, auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-link);
  text-underline-offset: 0.14em;
}

a:hover {
  color: var(--color-link-hover);
}

:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

.container {
  width: min(100% - 2rem, var(--container-max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-tight);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  z-index: 1000;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 252, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  min-height: 4rem;
}

.brand {
  font-weight: 680;
  letter-spacing: 0.09em;
  font-size: 0.93rem;
  color: var(--color-text);
  text-decoration: none;
}

.nav-toggle {
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  border-radius: var(--radius-tight);
  padding: 0.45rem 0.7rem;
  font: inherit;
}

.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  display: none;
}

.site-nav[data-open="true"] {
  display: block;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: var(--space-2);
  display: grid;
  gap: var(--space-1);
}

.site-nav a {
  display: block;
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 0.25rem;
  color: var(--color-muted);
}

.site-nav a:hover {
  background: var(--color-surface-alt);
  color: var(--color-text);
}

.hero {
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 8vw, 5rem);
}

.kicker,
.eyebrow {
  font-weight: 620;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin: 0 0 var(--space-1);
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin-top: 0;
  letter-spacing: -0.015em;
}

h1 {
  max-width: 18ch;
  margin-bottom: var(--space-2);
  font-size: clamp(2rem, 5.1vw, 4rem);
  font-weight: 540;
}

h2 {
  font-size: clamp(1.45rem, 2.2vw, 2.05rem);
  margin-bottom: var(--space-2);
  font-weight: 560;
}

h3 {
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  margin-bottom: 0.6rem;
  font-weight: 560;
}

.lead {
  max-width: 62ch;
  color: var(--color-muted);
  margin-bottom: var(--space-3);
}

.hero-journey {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 0 var(--space-4);
  font-size: clamp(0.92rem, 1.7vw, 1.08rem);
  letter-spacing: 0.02em;
}

.hero-journey strong {
  font-weight: 650;
  color: #ffffff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-block;
  background: linear-gradient(135deg, #0f56ca 0%, #0b4cb4 100%);
  color: #ffffff;
  text-decoration: none;
  padding: 0.7rem 1rem;
  border-radius: 0.3rem;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
}

.button:hover {
  color: #ffffff;
  filter: brightness(0.93);
}

.button-secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  box-shadow: none;
}

.button-secondary:hover {
  color: var(--color-text);
  background: var(--color-surface-alt);
  filter: none;
}

.section {
  padding: var(--space-6) 0;
}

.section-alt {
  background: var(--color-surface-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-grid .container {
  max-width: 60rem;
}

.section-intro {
  max-width: 65ch;
  color: var(--color-muted);
}

.execution-path {
  list-style: none;
  margin: var(--space-3) 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.execution-path li {
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-tight);
}

.execution-path li:not(:last-child)::after {
  content: "->";
  margin-left: 0.6rem;
  color: var(--color-muted);
}

.scale-journey {
  background: #07111f;
  color: #f5f8ff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.scale-journey .eyebrow {
  color: #8fa9d1;
}

.scale-intro {
  color: #c4d0e2;
  max-width: 74ch;
}

.scale-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
  margin-top: var(--space-4);
}

.scale-stage {
  position: relative;
  min-height: 20rem;
  padding: 1.35rem;
  border: 1px solid rgba(164, 189, 226, 0.25);
  background: rgba(255, 255, 255, 0.025);
}

.scale-stage::after {
  content: "";
  position: absolute;
  left: 1.35rem;
  right: 1.35rem;
  bottom: 0;
  height: 2px;
  background: rgba(143, 169, 209, 0.42);
}

.scale-stage-emphasis {
  background: linear-gradient(180deg, rgba(26, 86, 179, 0.17), rgba(255, 255, 255, 0.025));
  border-color: rgba(143, 178, 232, 0.48);
}

.scale-stage-emphasis::after {
  background: #5d8fdc;
}

.stage-number {
  margin: 0 0 var(--space-4);
  color: #8fa9d1;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

.scale-stage h3 {
  color: #ffffff;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
}

.stage-thesis {
  color: #ffffff;
  font-weight: 600;
}

.scale-stage p:last-child {
  color: #c4d0e2;
}

.scale-principle {
  max-width: 72ch;
  margin: var(--space-4) 0 0;
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #dce7f7;
  font-size: clamp(1rem, 1.7vw, 1.16rem);
}

.pillars {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.pillar {
  border-top: 2px solid #90a5c8;
  padding-top: 0.95rem;
}

.pillar p {
  margin: 0;
  color: var(--color-muted);
}

.use-case-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr));
}

.use-case {
  padding: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-tight);
  background: var(--color-surface);
}

.use-case p {
  margin: 0;
  color: var(--color-muted);
}

.architecture {
  display: grid;
  gap: 0.8rem;
}

.architecture-node {
  border-left: 2px solid #7f9dcd;
  background: var(--color-surface);
  padding: 0.8rem 0.95rem;
}

.architecture-node-emphasis {
  border-left-width: 4px;
  border-left-color: #1058d1;
  font-weight: 620;
  box-shadow: var(--shadow-soft);
}

.architecture-note {
  margin-top: var(--space-3);
  max-width: 72ch;
}

.contact-copy {
  max-width: 66ch;
  color: var(--color-muted);
}

.text-link {
  font-weight: 560;
}

.site-footer {
  border-top: 1px solid var(--color-border);
  background: #f9fbff;
}

.footer-inner {
  padding: var(--space-4) 0;
  display: grid;
  gap: 0.35rem;
}

.footer-brand {
  letter-spacing: 0.09em;
  font-size: 0.87rem;
  font-weight: 680;
}

.footer-inner p {
  margin: 0;
  color: var(--color-muted);
}

@media (min-width: 48rem) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: block;
    border: 0;
    background: transparent;
  }

  .site-nav ul {
    padding: 0;
    display: flex;
    gap: 0.4rem;
  }

  .execution-path {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .execution-path li:not(:last-child)::after {
    content: "";
    display: block;
    margin-top: 0.6rem;
    border-bottom: 1px solid #98aecd;
  }
}

@media (max-width: 34rem) {
  .hero {
    padding-top: 3.3rem;
  }

  .section {
    padding: 3.1rem 0;
  }

  .scale-stage {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
/* =========================================================
   SENTRYN HERO – DARK CINEMATIC TEXT CONTRAST
   ========================================================= */

.hero-film {
  background: #020711;
  color: #f5f8ff;
}

.hero-film .hero-copy {
  color: #f5f8ff;
}

.hero-film .kicker {
  color: #8fa9d1;
}

.hero-film h1 {
  color: #f5f8ff;
}

.hero-film .lead {
  color: #c4d0e2;
}

.hero-film .button-secondary {
  color: #f5f8ff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.02);
}

.hero-film .button-secondary:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
}
