:root {
  --ink: #0f1720;
  --muted: #5d6877;
  --paper: #f6f8fb;
  --surface: #ffffff;
  --line: #d9e1e8;
  --navy: #071126;
  --navy-2: #0d1933;
  --cyan: #25d8ef;
  --amber: #ff9f2f;
  --green: #59d17a;
  --purple: #7b42bc;
  --red: #ff3c43;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 24px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, Arial, Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(37, 216, 239, 0.62);
  outline-offset: 4px;
}

img {
  max-width: 100%;
}

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

.site-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 96vh;
  overflow: hidden;
  background: var(--navy);
  color: #ffffff;
}

.hero::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 17, 38, 0.97) 0%, rgba(7, 17, 38, 0.9) 42%, rgba(7, 17, 38, 0.48) 100%),
    radial-gradient(circle at 76% 18%, rgba(37, 216, 239, 0.26), transparent 34%),
    radial-gradient(circle at 62% 72%, rgba(255, 159, 47, 0.18), transparent 38%);
  content: "";
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.78;
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero .site-shell {
  position: relative;
  z-index: 1;
}

.topbar {
  position: relative;
  z-index: 5;
  background: rgba(7, 17, 38, 0.88);
  backdrop-filter: blur(18px);
}

.topbar:has(.menu[open]) {
  min-height: 330px;
}

.topbar-shell {
  min-height: 88px;
  width: min(1360px, calc(100% - 48px));
  margin: 0 auto;
  position: relative;
  padding: 22px 0;
}

.menu {
  display: grid;
  width: 100%;
  justify-items: start;
}

.menu summary {
  display: inline-flex;
  position: relative;
  z-index: 4;
  width: 46px;
  min-height: 42px;
  align-items: center;
  border: 1px solid rgba(37, 216, 239, 0.62);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  cursor: pointer;
  justify-content: center;
  letter-spacing: 0;
  list-style: none;
  padding: 0;
}

.menu summary::-webkit-details-marker {
  display: none;
}

.menu-icon {
  display: grid;
  gap: 5px;
  width: 18px;
}

.menu-icon i {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
}

.menu[open] .menu-icon i:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu[open] .menu-icon i:nth-child(2) {
  opacity: 0;
}

.menu[open] .menu-icon i:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.menu-panel {
  position: absolute;
  top: 88px;
  right: auto;
  left: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr;
  width: min(340px, calc(100vw - 48px));
  margin-top: 0;
  border: 1px solid rgba(255, 159, 47, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(7, 17, 38, 0.98), rgba(9, 21, 45, 0.94)),
    var(--navy);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  padding: 8px 0;
}

.menu-panel a {
  display: grid;
  min-height: 44px;
  align-items: center;
  grid-template-columns: 38px 1fr;
  border-right: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.78);
  gap: 10px;
  padding: 0 10px;
  white-space: normal;
}

.menu-panel a:last-child {
  border-bottom: 0;
}

.menu-panel a:hover,
.menu-panel a:focus-visible {
  color: #ffffff;
}

.menu-panel span {
  color: var(--amber);
  font-family: monospace;
  font-size: 0.76rem;
}

.menu-panel strong {
  font-size: 0.8rem;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

.desktop-nav {
  display: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  position: absolute;
  z-index: 4;
  top: 50%;
  right: 0;
  width: 188px;
  height: 56px;
  min-width: 188px;
  transform: translateY(-50%);
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.4));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.74fr);
  align-items: center;
  gap: 54px;
  padding: 96px 0 104px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, Arial, Helvetica, sans-serif;
  font-weight: 840;
  letter-spacing: 0;
  line-height: 1.02;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3.35rem, 8vw, 6.6rem);
}

.hero-lede {
  max-width: 660px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.17rem;
  line-height: 1.72;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 780;
}


.button-primary {
  background: var(--cyan);
  color: #061116;
  box-shadow: 0 14px 40px rgba(37, 216, 239, 0.22);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.hero-console {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(7, 17, 38, 0.68);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
  padding: 22px;
  backdrop-filter: blur(18px);
}

.console-header,
.logo-pill,
.proof-item,
.workflow-row {
  display: flex;
  align-items: center;
}

.console-header {
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
}

.console-header strong {
  color: #ffffff;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.logo-pill {
  min-height: 72px;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
  font-weight: 760;
}

.logo-pill img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.console-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.console-grid div {
  min-height: 106px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 14px;
}

.console-grid span,
.service-card span,
.contact-panel span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.console-grid span {
  color: var(--amber);
}

.console-grid strong {
  display: block;
  margin-top: 12px;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.3;
}

.section {
  padding: 98px 0;
}

.section h2 {
  max-width: 780px;
  font-size: clamp(2.25rem, 5vw, 4.15rem);
}

.section p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.76;
}

.proof-section {
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  padding: 28px 0;
}

.proof-wrap {
  display: grid;
  gap: 18px;
}

.trust-note {
  max-width: 980px;
  margin: 0;
  color: #405062;
  font-size: 0.98rem;
  font-weight: 680;
  line-height: 1.58;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.proof-item {
  gap: 12px;
  min-height: 62px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbfc;
  padding: 14px;
}

.proof-item span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 0 0 5px rgba(37, 216, 239, 0.11);
}

.proof-item strong {
  font-size: 0.94rem;
}

.section-heading {
  max-width: 840px;
  margin-bottom: 38px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 16px;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 334px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 22px;
  box-shadow: 0 18px 60px rgba(15, 23, 32, 0.06);
}

.service-visual {
  display: flex;
  width: 66px;
  height: 66px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-bottom: 26px;
  background: #eef4f8;
}

.logo-visual img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.controls-visual {
  position: relative;
  flex-direction: column;
  gap: 10px;
  background: #eef4f8;
}

.controls-visual i {
  position: relative;
  display: block;
  width: 38px;
  height: 3px;
  border-radius: 999px;
  background: #1a8f43;
}

.controls-visual i::after {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #1a8f43;
  content: "";
  transform: translateY(-50%);
}

.controls-visual i:nth-child(1)::after {
  left: 5px;
}

.controls-visual i:nth-child(2)::after {
  right: 6px;
}

.controls-visual i:nth-child(3)::after {
  left: 18px;
}

.route-visual {
  position: relative;
  background: #eef4f8;
}

.route-visual::before {
  position: absolute;
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background: var(--purple);
  content: "";
  transform: rotate(-28deg);
}

.route-visual b {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--purple);
}

.route-visual b:nth-child(1) {
  left: 14px;
  top: 37px;
}

.route-visual b:nth-child(2) {
  right: 15px;
  top: 19px;
}

.route-visual b:nth-child(3) {
  right: 17px;
  bottom: 15px;
  background: var(--cyan);
}

.service-card span {
  color: var(--amber);
}

.service-card h3 {
  margin: 0 0 14px;
  font-size: 1.34rem;
}

.service-card p {
  font-size: 0.98rem;
}

.systems-section {
  background:
    linear-gradient(135deg, rgba(7, 17, 38, 0.97), rgba(13, 25, 51, 0.95)),
    var(--navy);
  color: #ffffff;
}

.systems-grid,
.contact-card {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  align-items: center;
  gap: 56px;
}

.systems-section p {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.72);
}

.systems-proof {
  display: grid;
  gap: 8px;
  margin-top: 26px;
  border-left: 3px solid var(--cyan);
  padding-left: 16px;
}

.systems-proof strong {
  color: #ffffff;
  font-size: 1.02rem;
}

.systems-proof span {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.55;
}

.workflow-board {
  display: grid;
  gap: 12px;
}

.workflow-row {
  min-height: 82px;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  padding: 16px;
}

.workflow-row span {
  color: var(--cyan);
  font-family: monospace;
}

.workflow-row strong {
  line-height: 1.38;
}

.platform-section {
  background: #ffffff;
}

.platform-card {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 46px;
  align-items: start;
  border: 1px solid #cbd7df;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(7, 17, 38, 0.97), rgba(13, 25, 51, 0.95)),
    var(--navy);
  color: #ffffff;
  padding: 34px;
  box-shadow: 0 24px 80px rgba(15, 23, 32, 0.16);
}

.platform-card > div:first-child {
  max-width: 550px;
}

.platform-card p {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.72);
}

.platform-details {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  padding: 24px;
}

.platform-details h3 {
  margin: 0 0 18px;
  font-size: 1.25rem;
}

.platform-details ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.platform-details li {
  position: relative;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.platform-details li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--cyan);
  content: "";
}

.contact-section {
  background: #ecf3f7;
}

.contact-card {
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(37, 216, 239, 0.12), rgba(255, 159, 47, 0.08)),
    #f9fbfc;
  padding: 34px;
}

.contact-card > div:first-child p:not(.section-kicker) {
  margin-top: 22px;
}

.contact-panel {
  align-self: center;
  border: 1px solid #cbd7df;
  border-radius: 8px;
  background: #ffffff;
  padding: 26px;
}

.intake-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.intake-form label {
  display: grid;
  gap: 7px;
  color: #263342;
  font-size: 0.82rem;
  font-weight: 800;
}

.intake-form input,
.intake-form select,
.intake-form textarea {
  width: 100%;
  border: 1px solid #c6d2dc;
  border-radius: 8px;
  background: #f9fbfc;
  color: var(--ink);
  font: inherit;
  min-height: 44px;
  padding: 10px 12px;
}

.intake-form textarea {
  min-height: 118px;
  resize: vertical;
}

.intake-form input:focus,
.intake-form select:focus,
.intake-form textarea:focus {
  border-color: #087386;
  outline: 3px solid rgba(37, 216, 239, 0.22);
}

.full-field,
.hidden-field,
.intake-form button {
  grid-column: 1 / -1;
}

.hidden-field {
  position: absolute;
  left: -10000px;
}

.intake-form button {
  border: 0;
  cursor: pointer;
}

.intake-form button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 22px;
  font-size: 0.9rem;
}

.form-status[data-state="success"] {
  color: #176d38;
}

.form-status[data-state="error"] {
  color: #a2312e;
}

.direct-email {
  margin-top: 14px;
  font-size: 0.9rem;
}

.form-privacy {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.privacy-inline-link {
  border: 0;
  background: transparent;
  color: #087386;
  cursor: pointer;
  font: inherit;
  font-weight: 820;
  padding: 0;
}

.direct-email a {
  color: #087386;
  font-weight: 820;
  overflow-wrap: anywhere;
}

.footer {
  border-top: 1px solid rgba(255, 159, 47, 0.4);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.68);
  padding: 26px 0;
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.86rem;
  font-weight: 720;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer a,
.footer-link {
  border: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.privacy-dialog {
  width: min(560px, calc(100vw - 32px));
  border: 1px solid #cbd7df;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 0;
  box-shadow: 0 32px 110px rgba(7, 17, 38, 0.34);
}

.privacy-dialog::backdrop {
  background: rgba(7, 17, 38, 0.68);
}

.privacy-panel {
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 28px;
}

.privacy-panel h2 {
  max-width: 420px;
  margin: 0;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1.04;
}

.privacy-panel p:not(.section-kicker) {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.68;
}

@media (min-width: 1180px) {
  .hero {
    min-height: 92vh;
  }

  .hero-grid {
    gap: 48px;
    padding: 70px 0 78px;
  }

  .hero h1 {
    max-width: 800px;
    font-size: clamp(3.25rem, 6.3vw, 5.72rem);
    line-height: 1;
  }

  .hero-lede {
    margin-top: 22px;
    font-size: 1.1rem;
    line-height: 1.64;
  }

  .hero-actions {
    margin-top: 26px;
  }
}

@media (min-width: 1040px) {
  .topbar-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .menu {
    display: none;
  }

  .desktop-nav {
    display: inline-flex;
    align-items: center;
    gap: clamp(18px, 2.2vw, 32px);
  }

  .desktop-nav a {
    position: relative;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    font-weight: 820;
    line-height: 1;
    text-transform: uppercase;
    transition: color 160ms ease;
  }

  .desktop-nav a::after {
    position: absolute;
    right: 0;
    bottom: -10px;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--cyan);
    content: "";
    opacity: 0;
    transform: scaleX(0.7);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .desktop-nav a:hover,
  .desktop-nav a:focus-visible {
    color: #ffffff;
  }

  .desktop-nav a:hover::after,
  .desktop-nav a:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
  }

  .brand {
    position: static;
    transform: none;
  }
}

@media (min-width: 1728px) {
  .hero {
    min-height: 96vh;
  }

  .hero-grid {
    padding: 86px 0 96px;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 5.3vw, 6.25rem);
  }

  .hero-lede {
    margin-top: 28px;
    font-size: 1.17rem;
    line-height: 1.72;
  }

  .hero-actions {
    margin-top: 34px;
  }
}

@media (max-width: 960px) {
  .hero {
    min-height: auto;
  }

  .hero-grid,
  .systems-grid,
  .platform-card,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding: 52px 0 78px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .site-shell {
    width: min(100% - 28px, 1160px);
  }

  .topbar-shell {
    min-height: 74px;
    width: min(100% - 28px, 1160px);
    padding: 16px 0;
  }

  .topbar:has(.menu[open]) {
    min-height: 342px;
  }

  .menu {
    width: 100%;
  }

  .brand {
    width: 144px;
    height: 48px;
    min-width: 144px;
  }

  .menu summary {
    min-height: 40px;
    width: 44px;
    border-color: rgba(37, 216, 239, 0.68);
  }

  .menu-panel {
    top: 74px;
    left: 0;
    width: min(330px, calc(100vw - 28px));
  }

  .menu-panel a {
    grid-template-columns: 36px 1fr;
    padding: 0 4px;
  }

  .hero h1 {
    font-size: 3.05rem;
  }

  .hero-lede {
    font-size: 1.02rem;
  }

  .hero-grid {
    padding: 46px 0 54px;
  }

  .logo-strip,
  .console-grid,
  .service-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .console-grid div {
    min-height: 0;
    padding: 13px 14px;
  }

  .console-grid strong {
    margin-top: 7px;
  }

  .section {
    padding: 74px 0;
  }

  .systems-section {
    padding-bottom: 56px;
  }

  .platform-section {
    padding-top: 56px;
  }

  .section h2 {
    font-size: 2.28rem;
  }

  .contact-card {
    padding: 22px;
  }

  .intake-form {
    grid-template-columns: 1fr;
  }

  .footer-shell {
    align-items: flex-start;
    flex-direction: column;
  }
}


.not-found {
  display: grid;
  min-height: 100vh;
  place-items: center;
  align-content: center;
  gap: 18px;
  padding: 32px;
  background: var(--navy);
  color: #ffffff;
  text-align: center;
}

.not-found img {
  width: min(280px, 76vw);
}

.not-found h1 {
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 5rem);
}

.not-found p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.72);
}
