:root {
  --bg: #07131d;
  --bg-2: #0a1924;
  --panel: #0d2130;
  --panel-2: #102a3a;
  --text: #f5f8fa;
  --muted: #a8bbc8;
  --ink: #0a1520;
  --paper: #f4f7f8;
  --line: rgba(255,255,255,.11);
  --line-dark: rgba(8,21,32,.13);
  --cyan: #50d8ff;
  --cyan-2: #9feaff;
  --orange: #ffb454;
  --green: #72e0b8;
  --max: 1180px;
  --radius: 20px;
  --shadow: 0 24px 80px rgba(0,0,0,.22);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img, svg { display: block; max-width: 100%; }

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

.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;
}

.skip-link {
  position: fixed;
  top: 8px; left: 8px;
  transform: translateY(-140%);
  z-index: 9999;
  background: white;
  color: black;
  padding: 10px 14px;
  border-radius: 8px;
}
.skip-link:focus { transform: none; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: .25s ease;
}
.site-header.scrolled {
  background: rgba(7,19,29,.88);
  backdrop-filter: blur(18px);
  border-color: var(--line);
}
.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand-mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid rgba(80,216,255,.55);
  background: rgba(80,216,255,.07);
  color: var(--cyan);
  border-radius: 10px;
  font-weight: 800;
  letter-spacing: -.04em;
}
.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}
.brand-copy strong { font-size: 14px; letter-spacing: .02em; }
.brand-copy span { color: var(--muted); font-size: 11px; margin-top: 4px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.site-nav > a {
  color: #d7e3e9;
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
}
.site-nav > a:not(.button):hover { color: var(--cyan); }

.nav-toggle {
  display: none;
  appearance: none;
  border: 0;
  background: transparent;
  padding: 8px;
}
.nav-toggle span:not(.sr-only) {
  width: 24px;
  height: 2px;
  display: block;
  background: white;
  margin: 5px 0;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 10px;
  background: var(--cyan);
  color: #031018;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  border: 1px solid var(--cyan);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover {
  transform: translateY(-2px);
  background: var(--cyan-2);
  box-shadow: 0 12px 35px rgba(80,216,255,.18);
}
.button-small { min-height: 40px; padding-inline: 15px; font-size: 12px; }
.button-outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(255,255,255,.26);
}
.button-outline:hover {
  background: rgba(255,255,255,.07);
  color: var(--cyan);
}

/* Hero */
.hero {
  overflow: hidden;
  min-height: 760px;
  padding: 154px 0 70px;
  color: var(--text);
  background:
    radial-gradient(circle at 77% 35%, rgba(80,216,255,.12), transparent 23%),
    radial-gradient(circle at 68% 75%, rgba(255,180,84,.08), transparent 22%),
    linear-gradient(160deg, #07131d 0%, #0a1d29 52%, #07131d 100%);
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  align-items: center;
  gap: 70px;
}
.eyebrow {
  margin: 0 0 16px;
  color: #0f7998;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero .eyebrow,
.section-dark .eyebrow,
.section-accent .eyebrow,
.contact-section .eyebrow { color: var(--cyan); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; }
h1 {
  margin-bottom: 24px;
  max-width: 790px;
  font-size: clamp(52px, 6.6vw, 86px);
  letter-spacing: -.055em;
}
h1 span { color: var(--cyan); }
.hero-lead {
  color: #bdcbd3;
  max-width: 690px;
  font-size: clamp(17px, 1.8vw, 21px);
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 34px;
}
.text-link {
  color: #e8f1f5;
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
}
.text-link span { color: var(--cyan); margin-left: 5px; }
.hero-tags {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.hero-tags span,
.chips span,
.profile-capabilities span {
  border: 1px solid var(--line);
  color: #bdd0da;
  background: rgba(255,255,255,.035);
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .03em;
}

.hero-side-note {
  margin: 18px 0 0;
  max-width: 560px;
  color: #9fb2bd;
  font-size: 14px;
}

/* Hero featured visual */
.hero-visual {
  position: relative;
}
.hero-poster {
  margin: 0;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  box-shadow: 0 30px 90px rgba(0,0,0,.34);
}
.hero-poster::before {
  content: "";
  position: absolute;
  inset: auto -15% -22% 12%;
  height: 38%;
  background: radial-gradient(circle, rgba(80,216,255,.35), transparent 60%);
  filter: blur(42px);
  z-index: 0;
  pointer-events: none;
}
.hero-poster img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
}
.hero-poster-caption {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 16px 18px;
  color: #bdd0da;
  font-size: 12px;
  line-height: 1.5;
  background: linear-gradient(180deg, rgba(7,19,29,.15), rgba(7,19,29,.78));
  border-top: 1px solid rgba(255,255,255,.09);
}

/* Sections */
.section { padding: 106px 0; }
.section-dark {
  color: var(--text);
  background: var(--bg);
}
.section-accent {
  color: var(--text);
  background:
    radial-gradient(circle at 15% 20%, rgba(80,216,255,.1), transparent 30%),
    linear-gradient(140deg, #0d2837, #07131d 75%);
}
.section-heading {
  max-width: 790px;
  margin-bottom: 48px;
}
.section-heading h2,
.profile-card h2,
.contact-card h2 {
  margin-bottom: 18px;
  font-size: clamp(37px, 5vw, 62px);
  letter-spacing: -.045em;
}
.section-heading > p:last-child {
  margin-bottom: 0;
  color: #546873;
  font-size: 17px;
  max-width: 730px;
}
.section-dark .section-heading > p:last-child,
.section-accent .section-heading > p:last-child {
  color: var(--muted);
}

/* Flow */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.flow-card {
  position: relative;
  min-height: 390px;
  padding: 34px 25px 30px;
  border-right: 1px solid var(--line-dark);
}
.flow-card:first-child { border-left: 1px solid var(--line-dark); }
.flow-number {
  position: absolute;
  top: 18px;
  right: 18px;
  color: #9badb6;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
}
.flow-card h3 {
  margin: 28px 0 12px;
  font-size: 24px;
  letter-spacing: -.03em;
}
.flow-card p { color: #5e707a; font-size: 14px; }
.flow-card ul {
  margin: 24px 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid var(--line-dark);
}
.flow-card li {
  position: relative;
  padding: 5px 0 5px 14px;
  font-size: 12px;
  font-weight: 650;
  color: #243944;
}
.flow-card li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #0f94b9;
  position: absolute;
  left: 0; top: 12px;
}

.icon {
  width: 48px; height: 48px;
  border: 1px solid #b6cbd5;
  border-radius: 12px;
  position: relative;
  background: white;
}
.icon::before, .icon::after { content: ""; position: absolute; }
.gate-icon::before {
  width: 24px; height: 15px;
  border: 2px solid #0f7998;
  border-bottom: 0;
  left: 10px; top: 13px;
}
.gate-icon::after {
  width: 30px; height: 2px;
  background: #ff9d38;
  left: 8px; bottom: 10px;
}
.yard-icon::before {
  width: 28px; height: 22px;
  border: 2px solid #0f7998;
  left: 8px; top: 11px;
  box-shadow: inset 0 -7px 0 rgba(80,216,255,.18);
}
.yard-icon::after {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #ff9d38;
  left: 21px; top: 20px;
  box-shadow: 0 0 0 5px rgba(255,157,56,.12);
}
.quay-icon::before {
  width: 24px; height: 24px;
  border-left: 2px solid #0f7998;
  border-top: 2px solid #0f7998;
  left: 10px; top: 10px;
  transform: skewY(-15deg);
}
.quay-icon::after {
  width: 28px; height: 2px;
  background: #ff9d38;
  left: 10px; bottom: 9px;
}
.core-icon::before {
  width: 25px; height: 25px;
  border: 2px solid #0f7998;
  border-radius: 6px;
  left: 10px; top: 10px;
}
.core-icon::after {
  width: 5px; height: 5px;
  background: #ff9d38;
  border-radius: 50%;
  left: 21px; top: 21px;
  box-shadow: -10px 0 0 #0f7998, 10px 0 0 #0f7998;
}

/* Systems */
.system-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.system-card {
  min-height: 310px;
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
}
.system-topline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 45px;
}
.system-code {
  color: var(--cyan);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .12em;
}
.system-domain {
  color: #849ba7;
  font-size: 11px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}
.system-card h3 {
  margin-bottom: 13px;
  font-size: 26px;
  letter-spacing: -.035em;
}
.system-card p {
  color: #9fb2bd;
  font-size: 14px;
  max-width: 550px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}
.vendor-note {
  color: #738a96;
  font-size: 11px;
  margin: 26px 2px 0;
}

/* Services */
.services-list {
  border-top: 1px solid var(--line-dark);
}
.service-row {
  display: grid;
  grid-template-columns: 64px 1fr 290px;
  gap: 30px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--line-dark);
}
.service-id {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid #b8cad2;
  border-radius: 50%;
  color: #0e7898;
  font-weight: 850;
  font-size: 12px;
}
.service-row h3 {
  margin-bottom: 8px;
  font-size: 22px;
  letter-spacing: -.025em;
}
.service-row p { color: #5d707a; margin: 0; font-size: 14px; }
.service-outcome {
  justify-self: end;
  color: #315160;
  font-size: 12px;
  font-weight: 750;
  text-align: right;
}

/* Approach */
.approach-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.approach-grid .section-heading { position: sticky; top: 120px; margin-bottom: 0; }
.principles {
  border-top: 1px solid var(--line);
}
.principle {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 22px;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}
.principle > span {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
}
.principle h3 { margin-bottom: 7px; font-size: 20px; }
.principle p { margin: 0; color: var(--muted); font-size: 14px; }

/* Profile */
.profile-card {
  padding: 56px;
  border-radius: 28px;
  background: white;
  border: 1px solid var(--line-dark);
  box-shadow: 0 18px 80px rgba(8,21,32,.06);
}
.profile-kicker {
  padding-bottom: 20px;
  margin-bottom: 42px;
  border-bottom: 1px solid var(--line-dark);
  color: #6e818c;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.profile-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
}
.profile-card h2 { margin-bottom: 8px; }
.profile-role {
  color: #0f7998;
  font-weight: 750;
}
.profile-copy p { color: #50646f; font-size: 16px; }
.profile-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
}
.profile-capabilities span {
  color: #28404c;
  border-color: #d6e0e5;
  background: #f7fafb;
}


/* Pricing */
.pricing-section {
  background: #eef4f6;
}
.pricing-card {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 60px;
  align-items: center;
  padding: 48px 54px;
  background: white;
  border: 1px solid var(--line-dark);
  border-radius: 28px;
  box-shadow: 0 18px 70px rgba(8,21,32,.06);
}
.pricing-card h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -.04em;
}
.pricing-card p:last-child {
  margin-bottom: 0;
  color: #5d707a;
  max-width: 680px;
}
.rate-block {
  justify-self: end;
  width: min(100%, 360px);
  padding: 30px;
  border-radius: 20px;
  color: var(--text);
  background: linear-gradient(145deg, #0a1d29, #102a3a);
  border: 1px solid rgba(80,216,255,.22);
}
.rate-main {
  display: block;
  color: var(--cyan);
  font-size: clamp(40px, 5vw, 58px);
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: 1;
}
.rate-main span {
  color: #b8cad4;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.rate-day {
  display: block;
  margin-top: 13px;
  color: white;
  font-size: 18px;
  font-weight: 800;
}
.rate-block small {
  display: block;
  margin-top: 14px;
  color: #91a8b4;
  line-height: 1.45;
}

/* Contact */
.contact-section {
  color: var(--text);
  background: var(--bg);
}
.contact-card {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 70px;
  align-items: end;
  padding: 64px;
  border: 1px solid rgba(80,216,255,.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 20%, rgba(80,216,255,.11), transparent 26%),
    rgba(255,255,255,.025);
}
.contact-card p { color: var(--muted); max-width: 700px; }
.contact-actions { justify-self: end; max-width: 300px; }
.contact-hint {
  margin: 13px 0 0;
  font-size: 10px;
  line-height: 1.5;
}
.contact-hint code {
  color: #d9e6ec;
  word-break: break-all;
}

/* Footer */
footer {
  color: #a9bac3;
  background: #050d13;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  font-size: 11px;
}
.footer-grid strong { color: white; font-size: 13px; }
.footer-grid p { margin: 5px 0; }
.footer-grid > div:last-child { text-align: right; }
.footer-grid a { color: var(--cyan); text-decoration: none; }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 980px) {
  .site-nav {
    position: fixed;
    top: 69px;
    left: 20px; right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 16px;
    background: #0b1d29;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .hero { padding-top: 132px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-visual { max-width: 620px; width: 100%; margin: 0 auto; }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-card:nth-child(2) { border-right: 1px solid var(--line-dark); }
  .flow-card:nth-child(3) { border-left: 1px solid var(--line-dark); border-top: 1px solid var(--line-dark); }
  .flow-card:nth-child(4) { border-top: 1px solid var(--line-dark); }
  .approach-grid { grid-template-columns: 1fr; gap: 45px; }
  .approach-grid .section-heading { position: static; }
  .profile-grid, .contact-card { grid-template-columns: 1fr; }
  .contact-actions { justify-self: start; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, var(--max)); }
  .brand-copy span { display: none; }
  .section { padding: 78px 0; }
  .hero { min-height: 0; padding-bottom: 54px; }
  h1 { font-size: clamp(46px, 13vw, 70px); }
  .hero-visual { transform: scale(.96); transform-origin: center top; margin-bottom: -12px; }
  .stack-card { width: 175px; min-height: 108px; }
  .card-gate { left: -8px; }
  .card-yard { right: -8px; }
  .system-grid { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: 1fr; border-bottom: 0; }
  .flow-card {
    min-height: 0;
    border: 1px solid var(--line-dark) !important;
    border-top: 0 !important;
  }
  .flow-card:first-child { border-top: 1px solid var(--line-dark) !important; }
  .service-row { grid-template-columns: 45px 1fr; gap: 18px; }
  .service-outcome { grid-column: 2; justify-self: start; text-align: left; }
  .profile-card, .contact-card { padding: 32px 24px; border-radius: 20px; }
  .profile-grid { gap: 28px; }
  .footer-grid { flex-direction: column; }
  .footer-grid > div:last-child { text-align: left; }
}

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

@media (max-width: 720px) {
  .pricing-card { grid-template-columns: 1fr; gap: 28px; padding: 32px 24px; }
  .rate-block { justify-self: stretch; width: 100%; }
}
