:root {
  --ink: #151c29;
  --ink-2: #1f2b3f;
  --blue: #2175b8;
  --blue-bright: #00a4fc;
  --blue-soft: #94d4eb;
  --mist: #f3f7fb;
  --line: #d9e3ef;
  --muted: #465466;
  --yellow: #edd713;
  --white: #ffffff;
  --max: 1160px;
  --radius: 8px;
  --shadow: 0 22px 64px rgba(21, 28, 41, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: rgba(21, 28, 41, 0.08);
  box-shadow: 0 10px 35px rgba(21, 28, 41, 0.08);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  width: min(var(--max), calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand img {
  width: 190px;
  height: auto;
}

.brand .logo-blue { display: none; }
.site-header.is-scrolled .logo-white,
.site-header.menu-open .logo-white { display: none; }
.site-header.is-scrolled .logo-blue,
.site-header.menu-open .logo-blue { display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.45rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.93rem;
  font-weight: 800;
}

.site-header.is-scrolled .nav-links,
.site-header.menu-open .nav-links { color: var(--ink); }

.nav-links a,
.nav-dropdown summary {
  padding: 0.45rem 0;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  list-style: none;
  cursor: pointer;
}

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

.nav-dropdown summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.nav-dropdown[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  z-index: 40;
  width: 250px;
  padding: 0.55rem;
  border: 1px solid rgba(21, 28, 41, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
  box-shadow: 0 22px 48px rgba(21, 28, 41, 0.18);
  transform: translateX(-50%);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.72rem 0.8rem;
  border-radius: 6px;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  background: var(--mist);
}

.nav-links .nav-cta {
  padding: 0.72rem 1rem;
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.site-header.is-scrolled .menu-toggle,
.site-header.menu-open .menu-toggle {
  color: var(--ink);
  border-color: rgba(21, 28, 41, 0.14);
  background: var(--white);
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle span::before { transform: translateY(-7px); }
.menu-toggle span::after { transform: translateY(5px); }
.site-header.menu-open .menu-toggle span { transform: rotate(45deg); }
.site-header.menu-open .menu-toggle span::before { opacity: 0; }
.site-header.menu-open .menu-toggle span::after { transform: translateY(-2px) rotate(90deg); }

.detail-hero {
  position: relative;
  min-height: 72svh;
  display: grid;
  align-items: end;
  padding: 9rem 0 5rem;
  color: var(--white);
  overflow: hidden;
}

.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 15, 25, 0.9) 0%, rgba(8, 15, 25, 0.72) 46%, rgba(8, 15, 25, 0.28) 100%),
    var(--hero-image) var(--hero-position, center)/cover no-repeat;
  transform: scale(1.02);
}

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

.hero-copy {
  max-width: 760px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.8rem;
  color: var(--blue-soft);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 7px rgba(237, 215, 19, 0.16);
}

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

h1 {
  max-width: 840px;
  margin-bottom: 1.2rem;
  font-size: clamp(2.75rem, 6vw, 5.2rem);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 12px 32px rgba(0, 0, 0, 0.34);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3.2vw, 3.15rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.18;
}

.hero-lede {
  max-width: 690px;
  margin-bottom: 1.6rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.06rem, 1.7vw, 1.24rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(33, 117, 184, 0.28);
}

.button-primary:hover { background: #1b659f; }

.button-light {
  background: var(--white);
  color: var(--ink);
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
}

.button-ghost:hover { background: rgba(255, 255, 255, 0.1); }

.section {
  padding: 5.2rem 0;
}

.section-soft {
  background: var(--mist);
}

.section-dark {
  background: var(--ink);
  color: var(--white);
}

.section-head {
  max-width: 760px;
  margin-bottom: 2.7rem;
}

.section-head .kicker {
  color: var(--blue);
}

.section-head .kicker::before {
  box-shadow: 0 0 0 7px rgba(237, 215, 19, 0.22);
}

.lead {
  max-width: 740px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
}

.decision-grid,
.use-grid,
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--white);
}

.decision-item,
.use-item,
.proof-item {
  min-height: 190px;
  padding: clamp(1.3rem, 2.4vw, 1.9rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.decision-item span,
.use-item span,
.proof-item span {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.decision-item p,
.use-item p,
.proof-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.oculi-callout {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.oculi-callout::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 28, 41, 0.96), rgba(21, 28, 41, 0.76)),
    url("images/oculi-usage.webp") center/cover no-repeat;
}

.oculi-callout-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.oculi-callout p,
.oculi-callout .lead {
  color: rgba(255, 255, 255, 0.78);
}

.oculi-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.16);
}

.oculi-proof-strip div {
  min-height: 145px;
  padding: clamp(1rem, 2.2vw, 1.35rem);
  background: rgba(12, 17, 26, 0.7);
  backdrop-filter: blur(8px);
}

.oculi-proof-strip strong {
  display: block;
  color: var(--white);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1;
}

.oculi-proof-strip span {
  display: block;
  margin-top: 0.4rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.plain-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--muted);
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 6px rgba(33, 117, 184, 0.09);
}

.process-line {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.process-step {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 1.4rem;
  padding: clamp(1.15rem, 2.2vw, 1.55rem);
  background: var(--white);
}

.process-step strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.process-step p {
  margin-bottom: 0;
  color: var(--muted);
}

.detail-cta {
  position: relative;
  overflow: hidden;
}

.detail-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 28, 41, 0.96), rgba(21, 28, 41, 0.78)),
    url("images/contact-galt-boardroom.webp") center/cover no-repeat;
}

.detail-cta .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
}

.detail-cta p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.detail-cta .contact-grid {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
}

.contact-grid p,
.contact-grid .lead {
  color: rgba(255, 255, 255, 0.86);
}

.contact-panel {
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(12, 17, 26, 0.72);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field-full { grid-column: 1 / -1; }

label {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.84rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  padding: 0.85rem 0.9rem;
  outline: none;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

input:focus,
textarea:focus {
  border-color: var(--blue-bright);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 0 0 4px rgba(0, 164, 252, 0.16);
}

textarea {
  min-height: 134px;
  resize: vertical;
}

.trap-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.turnstile-slot {
  min-height: 0;
  margin-top: 1rem;
}

.turnstile-slot.is-active {
  min-height: 72px;
}

.form-status {
  min-height: 1.45rem;
  margin-top: 0.95rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}

.form-status[data-state="success"] { color: #9fe1bb; }
.form-status[data-state="error"] { color: #ffb1b1; }
.form-status[data-state="loading"] { color: #c9ddf6; }

.site-footer {
  padding: 2.2rem 0;
  background: #0e1420;
  color: rgba(255, 255, 255, 0.74);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.footer-grid img {
  width: 150px;
}

.footer-links {
  display: flex;
  gap: 1rem;
  font-weight: 800;
}

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

@media (max-width: 920px) {
  .nav-wrap {
    min-height: 68px;
    align-items: center;
  }

  .brand img {
    width: 170px;
  }

  .menu-toggle { display: inline-flex; }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    display: grid;
    gap: 0;
    padding: 0.6rem 20px 1rem;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(21, 28, 41, 0.08);
    box-shadow: 0 24px 40px rgba(21, 28, 41, 0.12);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-header.menu-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a,
  .nav-dropdown summary {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(21, 28, 41, 0.08);
  }

  .nav-links .hide-tablet {
    display: none;
  }

  .nav-dropdown {
    border-bottom: 1px solid rgba(21, 28, 41, 0.08);
  }

  .nav-dropdown summary {
    border-bottom: 0;
  }

  .nav-dropdown-menu {
    position: static;
    width: 100%;
    padding: 0 0 0.65rem 0.9rem;
    border: 0;
    box-shadow: none;
    background: transparent;
    transform: none;
  }

  .nav-dropdown-menu a {
    padding: 0.6rem 0;
    color: var(--muted);
  }

  .nav-links .nav-cta {
    margin-top: 0.8rem;
    text-align: center;
  }

  .detail-hero {
    min-height: 76svh;
    padding: 8.2rem 0 3.6rem;
  }

  .detail-hero::before {
    background:
      linear-gradient(90deg, rgba(8, 15, 25, 0.94) 0%, rgba(8, 15, 25, 0.74) 100%),
      var(--hero-image) var(--hero-position, center)/cover no-repeat;
  }

  h1 {
    font-size: clamp(2.45rem, 11.4vw, 4rem);
  }

  .section {
    padding: 4rem 0;
  }

  .decision-grid,
  .use-grid,
  .proof-grid,
  .oculi-callout-grid,
  .split,
  .detail-cta .wrap,
  .contact-grid,
  .detail-cta .contact-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

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

@media (max-width: 560px) {
  .wrap,
  .nav-wrap {
    width: min(100% - 30px, var(--max));
  }

  .detail-hero {
    min-height: 76svh;
    padding-top: 8.8rem;
  }

  .button-row,
  .button {
    width: 100%;
  }

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

  .oculi-proof-strip {
    grid-template-columns: 1fr;
  }
}
