:root {
  color-scheme: light;
  --font-display: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Public Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #12272b;
  --ink-2: #294348;
  --night: #062026;
  --blue: #155f8e;
  --blue-2: #1687bd;
  --teal: #009f96;
  --green: #2e9a70;
  --gold: #d49a35;
  --red: #bf554d;
  --paper: #f6f8f3;
  --paper-2: #eaf3ee;
  --line: #d8e4dc;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(6, 32, 38, 0.16);
  --soft-shadow: 0 14px 32px rgba(6, 32, 38, 0.10);
  --focus: 0 0 0 4px rgba(22, 135, 189, 0.16);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snap: cubic-bezier(0.34, 1.56, 0.64, 1);
  --max: 1180px;
  --header: 72px;
  --hero-offset: 0px;
  --frame-shift: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  line-height: 1.5;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  color: var(--white);
  background: var(--blue);
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

p {
  color: #51676a;
  font-weight: 500;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  min-height: var(--header);
  padding: 10px max(20px, calc((100vw - var(--max)) / 2));
  background: rgba(250, 252, 248, 0.88);
  border-bottom: 1px solid rgba(216, 228, 220, 0.82);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(250, 252, 248, 0.97);
  border-color: rgba(18, 39, 43, 0.10);
  box-shadow: 0 12px 28px rgba(6, 32, 38, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.18), transparent 42%),
    linear-gradient(135deg, var(--blue), var(--teal) 58%, var(--gold));
  box-shadow: 0 9px 20px rgba(0, 159, 150, 0.22);
  background-size: 160% 160%;
  animation: brandFlow 8s ease-in-out infinite;
}

.brand-word {
  font-size: 1.02rem;
  white-space: nowrap;
}

.brand-note {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #5e746e;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 8px;
  color: #4b625f;
  font-size: 0.94rem;
  font-weight: 800;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 6px 14px rgba(6, 32, 38, 0.08);
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms var(--ease-out), box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.header-action {
  color: var(--white);
  background: linear-gradient(135deg, var(--ink), #0e4e55);
  box-shadow: 0 12px 26px rgba(20, 34, 53, 0.18);
}

.button svg,
.header-action svg,
.nav-toggle svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.button:hover,
.button:focus-visible,
.header-action:hover,
.header-action:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--soft-shadow);
}

.button.primary {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.20), transparent 42%),
    linear-gradient(135deg, var(--blue), var(--teal) 62%, var(--green));
  background-size: 160% 160%;
  box-shadow: 0 14px 30px rgba(0, 159, 150, 0.20);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border-color: var(--line);
}

.button.glass {
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(10px);
}

.button.primary:hover,
.button.primary:focus-visible {
  background-position: 100% 100%;
}

.button:focus-visible,
.header-action:focus-visible,
.site-nav a:focus-visible,
.nav-toggle:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
}

.hero {
  position: relative;
  min-height: clamp(560px, 74svh, 760px);
  overflow: clip;
  color: var(--white);
  background: var(--night);
}

.hero::before,
.subhero::before,
.band-ink::before {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  inset: -20% 0 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 92px 92px;
  mask-image: linear-gradient(90deg, black, transparent 78%);
  opacity: 0.24;
  transform: translateY(var(--frame-shift));
  animation: gridDrift 22s linear infinite;
}

.hero-media,
.hero-media img,
.hero-shade,
.signal-canvas {
  position: absolute;
  inset: 0;
}

.signal-canvas {
  width: 100%;
  height: 100%;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
  transform: translateY(var(--hero-offset)) scale(1.035);
  transform-origin: center;
  transition: transform 120ms linear;
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6, 32, 38, 0.94) 0%, rgba(6, 32, 38, 0.78) 42%, rgba(6, 32, 38, 0.20) 76%),
    linear-gradient(180deg, rgba(6, 32, 38, 0.04), rgba(6, 32, 38, 0.72));
}

.signal-canvas {
  z-index: 2;
  opacity: 0.62;
  mix-blend-mode: screen;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(760px, calc(100% - 40px));
  padding: clamp(64px, 8vw, 110px) 0 158px max(20px, calc((100vw - var(--max)) / 2));
}

.eyebrow {
  color: var(--blue-2);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow,
.band-ink .eyebrow {
  color: #83ded5;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.02;
  font-family: var(--font-display);
  font-weight: 800;
  text-wrap: balance;
}

.hero h1 {
  margin-top: 14px;
  color: var(--white);
  font-size: clamp(4.4rem, 11vw, 8.8rem);
  text-shadow: 0 18px 54px rgba(0, 0, 0, 0.36);
  animation: titleSettle 900ms var(--ease-out) both;
}

.subhero h1 {
  margin-top: 14px;
  font-size: clamp(2.65rem, 6vw, 5.9rem);
}

h2 {
  font-size: clamp(2rem, 4.4vw, 4.6rem);
}

h3 {
  font-size: clamp(1.15rem, 2.1vw, 1.55rem);
}

.hero-kicker {
  width: min(700px, 100%);
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-brief {
  position: absolute;
  z-index: 4;
  right: max(20px, calc((100vw - var(--max)) / 2));
  bottom: 28px;
  left: max(20px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.18);
}

.hero-brief div {
  position: relative;
  padding: 18px;
  overflow: hidden;
  background: rgba(6, 32, 38, 0.46);
}

.hero-brief div::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,0.16), transparent);
  transform: translateX(-115%);
  animation: surfaceSweep 8s ease-in-out infinite;
}

.hero-brief div:nth-child(2)::before {
  animation-delay: 1.1s;
}

.hero-brief div:nth-child(3)::before {
  animation-delay: 2.2s;
}

.metric-value {
  display: block;
  color: var(--white);
  font-weight: 900;
  font-size: 1.2rem;
}

.metric-label {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  font-weight: 600;
}

.band {
  position: relative;
  padding: clamp(54px, 7vw, 96px) 0;
  background: var(--white);
}

.band-light {
  background: var(--paper);
}

.band-ink {
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(0, 159, 150, 0.18), rgba(212, 154, 53, 0.10)),
    var(--night);
}

.band-ink::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.18;
  animation: gridDrift 28s linear infinite;
}

.band-ink > .wrap {
  position: relative;
  z-index: 1;
}

.band-ink h2,
.band-ink h3 {
  color: var(--white);
}

.band-ink p {
  color: rgba(255, 255, 255, 0.76);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 7vw, 80px);
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.section-copy {
  max-width: 650px;
}

.section-copy h2,
.section-heading h2 {
  margin-top: 12px;
}

.section-copy p:not(.eyebrow) {
  margin-top: 18px;
  font-size: 1.06rem;
}

.section-heading {
  width: min(880px, 100%);
  margin-bottom: 34px;
}

.stat-grid,
.module-grid,
.role-grid,
.control-grid,
.integration-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.split > .stat-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.module-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-tile,
.module-card,
.feature-row,
.mini-widget,
.ops-card,
.work-column,
.finance-board,
.notice-panel,
.check-list,
.pilot-form,
.pilot-meter,
.dashboard-panel,
.control-ring,
.timeline,
.contact-points {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(6, 32, 38, 0.07);
}

.stat-tile,
.module-card,
.feature-row,
.mini-widget,
.ops-card,
.work-column,
.finance-board,
.notice-panel,
.check-list,
.pilot-form,
.pilot-meter,
.dashboard-panel,
.control-ring,
.timeline,
.contact-points {
  position: relative;
}

.stat-tile,
.module-card,
.feature-row,
.ops-card,
.work-item,
.integration-grid > div,
.check-list div,
.contact-points div,
.pilot-meter div {
  overflow: hidden;
  transition: transform 220ms var(--ease-out), box-shadow 220ms ease, border-color 220ms ease;
}

.stat-tile::before,
.module-card::before,
.feature-row::before,
.ops-card::before,
.integration-grid > div::before,
.check-list div::before,
.contact-points div::before,
.pilot-meter div::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--teal), var(--gold));
  opacity: 0.84;
}

.stat-tile:hover,
.module-card:hover,
.feature-row:hover,
.ops-card:hover,
.work-item:hover,
.integration-grid > div:hover,
.check-list div:hover,
.contact-points div:hover,
.pilot-meter div:hover {
  border-color: rgba(0, 159, 150, 0.36);
  box-shadow: 0 18px 44px rgba(6, 32, 38, 0.11);
  transform: translateY(-3px);
}

.stat-tile {
  min-height: 214px;
  padding: 22px;
}

.stat-number {
  display: inline-flex;
  color: var(--gold);
  font-weight: 900;
  font-size: 0.92rem;
  font-family: var(--font-display);
}

.stat-tile strong {
  display: block;
  margin-top: 38px;
  color: var(--ink);
  font-size: 1.08rem;
}

.stat-tile p,
.module-card p,
.feature-row p {
  margin-top: 9px;
}

.process-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.process-strip li {
  position: relative;
  min-height: 210px;
  padding: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  transition: background 220ms ease, transform 220ms var(--ease-out);
}

.process-strip li::after {
  content: "";
  position: absolute;
  inset: auto 22px 18px 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 420ms var(--ease-out);
}

.process-strip li:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-2px);
}

.process-strip li:hover::after,
.process-strip.is-visible li::after {
  transform: scaleX(1);
}

.process-strip span {
  display: block;
  color: var(--white);
  font-size: 1.08rem;
  font-weight: 900;
}

.process-strip p {
  margin-top: 72px;
  font-size: 0.95rem;
}

.module-card {
  min-height: 260px;
  padding: 24px;
}

.module-card > span,
.feature-row > span,
.integration-grid span,
.check-list span,
.contact-points span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: var(--blue);
  background: linear-gradient(135deg, #e9f4f0, #e7f3fb);
  box-shadow: inset 0 0 0 1px rgba(21, 95, 142, 0.08);
}

.module-card > span svg,
.feature-row > span svg,
.integration-grid span svg,
.check-list span svg,
.contact-points span svg {
  width: 22px;
  height: 22px;
}

.module-card h3 {
  margin-top: 28px;
}

.module-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 850;
  transition: color 160ms ease, transform 160ms var(--ease-out);
}

.module-card a:hover,
.module-card a:focus-visible {
  color: var(--teal);
  transform: translateX(3px);
}

.cta-band {
  padding: 44px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(21, 95, 142, 0.94), rgba(0, 159, 150, 0.94)),
    var(--blue);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-inner h2 {
  width: min(760px, 100%);
  margin-top: 8px;
  color: var(--white);
  font-size: clamp(1.7rem, 3vw, 3.2rem);
}

.cta-inner .eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

.subhero {
  position: relative;
  padding: clamp(78px, 10vw, 130px) 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(21, 95, 142, 0.10), rgba(0, 159, 150, 0.10)),
    var(--paper);
}

.subhero::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 95, 142, 0.10) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 159, 150, 0.08) 1px, transparent 1px);
  background-size: 68px 68px;
  opacity: 0.55;
  transform: translateY(var(--frame-shift));
  animation: gridDrift 26s linear infinite;
}

.subhero > .wrap {
  position: relative;
  z-index: 1;
}

.subhero.compact {
  padding-bottom: clamp(68px, 8vw, 105px);
}

.subhero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.76fr);
  gap: clamp(34px, 7vw, 76px);
  align-items: center;
}

.dashboard-panel {
  min-height: 480px;
  padding: 16px;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(6, 32, 38, 0.98), rgba(20, 55, 58, 0.96)),
    var(--night);
  border-color: rgba(255, 255, 255, 0.10);
  overflow: hidden;
}

.dashboard-panel::before,
.dashboard-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.dashboard-panel::before {
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(131, 222, 213, 0.16), transparent),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px;
  transform: translateX(-120%);
  animation: panelScan 7s ease-in-out infinite;
}

.dashboard-panel::after {
  inset: 10px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px;
}

.panel-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 8px 18px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
  font-weight: 800;
}

.panel-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mini-widget {
  min-height: 132px;
  padding: 18px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.mini-widget::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.10), transparent);
  transform: translateX(-115%);
  animation: surfaceSweep 9s ease-in-out infinite;
}

.mini-widget:nth-child(2)::before {
  animation-delay: 0.9s;
}

.mini-widget:nth-child(3)::before {
  animation-delay: 1.8s;
}

.mini-widget > * {
  position: relative;
  z-index: 1;
}

.mini-widget.wide {
  grid-column: 1 / -1;
}

.mini-widget strong {
  color: #d9f4f6;
}

.mini-widget p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.68);
}

.big-number {
  display: block;
  margin-top: 16px;
  color: var(--white);
  font-size: 2.2rem;
  font-weight: 900;
  font-family: var(--font-display);
  animation: metricPulse 3.8s ease-in-out infinite;
}

.route-line {
  position: relative;
  height: 66px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 0 10%, rgba(131, 222, 213, 0.52) 10% 11%, transparent 11% 100%),
    linear-gradient(135deg, rgba(21, 95, 142, 0.48), rgba(46, 154, 112, 0.36));
  background-size: 120px 100%, auto;
  animation: routeFlow 4.8s linear infinite;
}

.route-line::before,
.route-line::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(47, 159, 104, 0.18);
}

.route-line::before {
  left: 22%;
  top: 24px;
  animation: routePulse 2.8s ease-in-out infinite;
}

.route-line::after {
  right: 16%;
  top: 18px;
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(212, 154, 53, 0.20);
  animation: routePulse 2.8s ease-in-out 0.9s infinite;
}

.feature-rows {
  display: grid;
  gap: 14px;
}

.feature-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
}

.finance-board {
  overflow: hidden;
}

.ledger-row {
  display: grid;
  grid-template-columns: 1.3fr 0.65fr 0.65fr;
  gap: 14px;
  align-items: center;
  min-height: 58px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}

.ledger-row:last-child {
  border-bottom: 0;
}

.ledger-row.head {
  color: #5a706d;
  background: var(--paper);
  font-size: 0.9rem;
  font-weight: 900;
}

.ledger-row strong {
  display: inline-flex;
  justify-content: center;
  min-width: 72px;
  padding: 4px 8px;
  border-radius: 8px;
  color: var(--green);
  background: rgba(46, 154, 112, 0.10);
  font-weight: 900;
}

.integration-grid {
  color: var(--ink);
}

.band-ink .integration-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.integration-grid > div {
  position: relative;
  min-height: 176px;
  padding: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
}

.integration-grid strong {
  display: block;
  margin-top: 36px;
  color: var(--ink);
}

.integration-grid p {
  margin-top: 8px;
  color: #51676a;
}

.band-ink .integration-grid > div,
.band-ink .notice-panel {
  color: var(--ink);
}

.band-ink .integration-grid strong,
.band-ink .notice-panel h3 {
  color: var(--ink);
}

.band-ink .integration-grid p,
.band-ink .notice-panel p {
  color: #51676a;
}

.ops-stack {
  display: grid;
  gap: 12px;
}

.ops-card {
  display: grid;
  grid-template-columns: 42px auto 1fr;
  gap: 16px;
  align-items: center;
  min-height: 104px;
  padding: 20px;
}

.ops-card svg {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 8px 14px rgba(6, 32, 38, 0.12));
}

.ops-card strong {
  color: var(--ink);
  font-size: 2.1rem;
  line-height: 1;
  font-family: var(--font-display);
  animation: metricPulse 3.6s ease-in-out infinite;
}

.ops-card p {
  color: #52677e;
}

.ops-card.good svg {
  color: var(--green);
}

.ops-card.warn svg {
  color: var(--gold);
}

.ops-card.urgent svg {
  color: var(--red);
}

.workday-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.work-column {
  min-height: 380px;
  padding: 18px;
  overflow: hidden;
}

.work-column::before {
  content: "";
  position: absolute;
  inset: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
}

.work-column h3 {
  margin-bottom: 14px;
}

.work-item {
  position: relative;
  min-height: 86px;
  padding: 14px 14px 14px 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.work-item + .work-item {
  margin-top: 10px;
}

.work-item strong {
  color: var(--ink);
}

.work-item p {
  margin-top: 4px;
  font-size: 0.92rem;
}

.dot {
  position: absolute;
  left: 13px;
  top: 20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  animation: dotBeat 2.8s ease-in-out infinite;
}

.dot.good {
  background: var(--green);
}

.dot.warn {
  background: var(--gold);
}

.dot.urgent {
  background: var(--red);
}

.signal-map {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.08) 1px, transparent 1px),
    rgba(255, 255, 255, 0.05);
  background-size: 42px 42px;
  animation: mapDrift 18s linear infinite;
}

.signal-map::before {
  content: "";
  position: absolute;
  inset: 11% 10%;
  border: 1px solid rgba(131, 222, 213, 0.24);
  border-radius: 8px;
  transform: skew(-8deg);
}

.signal-map::after {
  content: "";
  position: absolute;
  inset: 24% 16% 22% 20%;
  border-top: 2px solid rgba(212, 154, 53, 0.46);
  border-right: 2px solid rgba(131, 222, 213, 0.38);
  transform: rotate(-9deg);
  filter: drop-shadow(0 0 12px rgba(131, 222, 213, 0.28));
}

.signal-map span {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 9px rgba(47, 159, 104, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}

.signal-map span:nth-child(1) { left: 16%; top: 24%; }
.signal-map span:nth-child(2) { left: 48%; top: 18%; animation-delay: 0.3s; background: var(--blue-2); }
.signal-map span:nth-child(3) { left: 72%; top: 36%; animation-delay: 0.7s; }
.signal-map span:nth-child(4) { left: 34%; top: 66%; animation-delay: 1s; background: var(--gold); }
.signal-map span:nth-child(5) { left: 82%; top: 72%; animation-delay: 1.4s; background: var(--blue); }

.control-ring {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
  background: var(--night);
  border-color: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.control-ring::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.24;
  animation: gridDrift 20s linear infinite;
}

.control-ring div {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.control-ring strong {
  color: var(--white);
  font-size: 1.2rem;
}

.control-ring span {
  color: #83ded5;
  font-weight: 900;
  font-family: var(--font-display);
}

.check-list,
.contact-points {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.check-list div,
.contact-points div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  min-height: 78px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.control-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.notice-panel {
  padding: 28px;
  color: var(--ink);
  background: var(--white);
}

.notice-panel p {
  margin-top: 14px;
}

.pilot-meter {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line);
}

.pilot-meter div {
  min-height: 210px;
  padding: 22px;
  background: var(--white);
}

.pilot-meter span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--teal));
  font-weight: 900;
  font-family: var(--font-display);
}

.pilot-meter strong {
  display: block;
  margin-top: 44px;
  color: var(--ink);
  font-size: 1.18rem;
}

.pilot-meter p {
  margin-top: 8px;
}

.timeline {
  padding: 18px;
  margin: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.timeline li:last-child {
  border-bottom: 0;
}

.timeline strong {
  color: var(--blue);
}

.timeline span {
  color: #53687e;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.62fr);
  gap: clamp(34px, 7vw, 78px);
  align-items: start;
}

.auth-grid,
.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(340px, 0.72fr);
  gap: clamp(34px, 7vw, 78px);
  align-items: start;
}

.legal-layout {
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1fr);
}

.auth-panel,
.legal-panel {
  position: relative;
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

.auth-panel::before,
.legal-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--teal), var(--gold));
}

.auth-panel-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.auth-panel-top > span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: var(--blue);
  background: linear-gradient(135deg, #e9f4f0, #e7f3fb);
}

.auth-panel-top svg,
.auth-points svg {
  width: 22px;
  height: 22px;
}

.auth-panel-top strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.08rem;
}

.auth-panel-top p {
  margin-top: 3px;
  font-size: 0.94rem;
}

.auth-panel label {
  display: grid;
  gap: 8px;
}

.auth-panel label span {
  color: var(--ink);
  font-weight: 850;
}

.auth-panel input,
.auth-panel select,
.auth-panel textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--paper);
  outline: none;
}

.auth-panel input:focus,
.auth-panel select:focus,
.auth-panel textarea:focus {
  border-color: var(--blue);
  box-shadow: var(--focus);
}

.auth-switch {
  font-size: 0.95rem;
}

.auth-switch a {
  color: var(--blue);
  font-weight: 900;
}

.auth-points {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.auth-points div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.auth-points span {
  color: var(--blue);
}

.compact-meter {
  margin-top: 28px;
}

.compact-meter div {
  min-height: 170px;
}

.compact-meter strong {
  margin-top: 30px;
}

.legal-panel h2 {
  margin-top: 18px;
  color: var(--ink);
  font-size: clamp(1.28rem, 2vw, 1.75rem);
}

.legal-panel h2:first-child {
  margin-top: 0;
}

.legal-panel p {
  max-width: 78ch;
  color: #51676a;
}

.pilot-form {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.pilot-form label {
  display: grid;
  gap: 8px;
}

.pilot-form label span {
  color: var(--ink);
  font-weight: 850;
}

.pilot-form input,
.pilot-form select,
.pilot-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--paper);
  outline: none;
}

.pilot-form input:focus,
.pilot-form select:focus,
.pilot-form textarea:focus {
  border-color: var(--blue);
  box-shadow: var(--focus);
}

.pilot-form textarea {
  resize: vertical;
}

.form-note {
  min-height: 22px;
  font-size: 0.9rem;
}

.site-footer {
  padding: 30px 0;
  color: rgba(255, 255, 255, 0.78);
  background: #06181d;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 22px;
  align-items: center;
}

.site-footer strong {
  color: var(--white);
}

.site-footer p {
  color: rgba(255, 255, 255, 0.66);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-weight: 800;
}

.footer-meta {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
}

body.js-ready .reveal {
  opacity: 0;
  filter: blur(10px);
  transform: translate3d(0, 28px, 0) scale(0.985);
  transition:
    opacity 720ms var(--ease-out),
    transform 720ms var(--ease-out),
    filter 720ms ease;
  transition-delay: calc(var(--reveal-order, 0) * 55ms);
  will-change: opacity, transform, filter;
}

body.js-ready .reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

body.js-ready .reveal.is-visible .stat-tile,
body.js-ready .reveal.is-visible .module-card,
body.js-ready .reveal.is-visible .feature-row,
body.js-ready .reveal.is-visible .work-column {
  animation: clipSettle 760ms var(--ease-out) both;
}

body.js-ready .reveal.is-visible .stat-tile:nth-child(2),
body.js-ready .reveal.is-visible .module-card:nth-child(2),
body.js-ready .reveal.is-visible .feature-row:nth-child(2),
body.js-ready .reveal.is-visible .work-column:nth-child(2) {
  animation-delay: 90ms;
}

body.js-ready .reveal.is-visible .stat-tile:nth-child(3),
body.js-ready .reveal.is-visible .module-card:nth-child(3),
body.js-ready .reveal.is-visible .feature-row:nth-child(3),
body.js-ready .reveal.is-visible .work-column:nth-child(3) {
  animation-delay: 180ms;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.78;
  }
  50% {
    transform: scale(1.22);
    opacity: 1;
  }
}

@keyframes brandFlow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes gridDrift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 92px 92px, 92px 92px;
  }
}

@keyframes titleSettle {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.975);
    filter: blur(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes clipSettle {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes surfaceSweep {
  0%, 38% {
    transform: translateX(-115%);
  }
  58%, 100% {
    transform: translateX(115%);
  }
}

@keyframes panelScan {
  0%, 44% {
    transform: translateX(-120%);
  }
  68%, 100% {
    transform: translateX(120%);
  }
}

@keyframes routeFlow {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 120px 0, 0 0;
  }
}

@keyframes routePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.18);
  }
}

@keyframes metricPulse {
  0%, 100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(-2px);
    opacity: 0.88;
  }
}

@keyframes dotBeat {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 159, 150, 0.0);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(0, 159, 150, 0.14);
  }
}

@keyframes mapDrift {
  from {
    background-position: 0 0, 0 0, 0 0;
  }
  to {
    background-position: 42px 42px, 42px 42px, 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    --hero-offset: 0px !important;
    --frame-shift: 0px !important;
  }

  body.js-ready .reveal,
  .reveal {
    opacity: 1;
    filter: none;
    transform: none;
  }
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: grid;
    justify-self: end;
  }

  .site-nav {
    position: fixed;
    top: var(--header);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    justify-content: flex-start;
    border-radius: 8px;
  }

  .header-action {
    display: none;
  }

  .hero-brief,
  .stat-grid,
  .process-strip,
  .module-grid,
  .role-grid,
  .control-grid,
  .integration-grid,
  .workday-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-strip {
    display: grid;
  }

  .subhero-grid,
  .split,
  .split.reverse,
  .contact-grid,
  .auth-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-panel {
    min-height: 420px;
  }
}

@media (max-width: 720px) {
  :root {
    --header: 66px;
  }

  .wrap {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    padding: 10px 14px;
    gap: 12px;
  }

  .brand-note {
    display: none;
  }

  .brand-word {
    max-width: 40vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    min-height: 81svh;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(6, 32, 38, 0.84), rgba(6, 32, 38, 0.76)),
      linear-gradient(90deg, rgba(6, 32, 38, 0.86), rgba(6, 32, 38, 0.26));
  }

  .hero-content {
    width: min(100% - 28px, 760px);
    padding: 58px 0 225px 14px;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 22px;
  }

  .hero-actions .button {
    min-height: 42px;
    padding: 0 11px;
    font-size: 0.9rem;
  }

  .hero h1 {
    font-size: clamp(3.35rem, 20vw, 5.5rem);
    overflow-wrap: anywhere;
  }

  .hero-brief {
    right: 14px;
    bottom: 18px;
    left: 14px;
    grid-template-columns: 1fr;
  }

  .hero-brief div {
    padding: 13px;
  }

  .band {
    padding: 42px 0;
  }

  .stat-grid,
  .process-strip,
  .module-grid,
  .role-grid,
  .control-grid,
  .integration-grid,
  .workday-board,
  .pilot-meter,
  .panel-grid,
  .auth-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .band-ink .integration-grid {
    grid-template-columns: 1fr;
  }

  .auth-panel,
  .legal-panel {
    padding: 18px;
  }

  .auth-panel .button {
    width: 100%;
  }

  .mini-widget.wide {
    grid-column: auto;
  }

  .process-strip li {
    min-height: 154px;
  }

  .process-strip p {
    margin-top: 34px;
  }

  .feature-row {
    grid-template-columns: 1fr;
  }

  .ledger-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 16px;
  }

  .ops-card {
    grid-template-columns: 36px auto;
  }

  .ops-card p {
    grid-column: 1 / -1;
  }

  .control-ring {
    grid-template-columns: 1fr;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .cta-inner,
  .footer-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .cta-inner {
    display: grid;
  }

  .site-footer nav {
    gap: 10px;
  }
}
