:root {
  --ink: #12222a;
  --ink-2: #263941;
  --muted: #627177;
  --line: #d8e2e0;
  --paper: #f6faf8;
  --white: #ffffff;
  --teal: #0c7c76;
  --teal-dark: #075854;
  --green: #5d8f4f;
  --coral: #d9684a;
  --amber: #e8b95a;
  --blue: #346c8f;
  --shadow: 0 24px 70px rgba(18, 34, 42, 0.14);
  --radius: 8px;
  --max: 1180px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 32px), var(--max));
  min-height: 68px;
  margin: 14px auto 0;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 50px rgba(18, 34, 42, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 4px;
  border-radius: 8px;
  background: #111820;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-2);
  font-size: 0.94rem;
  font-weight: 650;
}

.nav a {
  min-height: 40px;
  padding: 10px 12px;
  border-radius: 7px;
}

.nav a:hover {
  background: rgba(12, 124, 118, 0.08);
}

.nav .nav-cta {
  margin-left: 12px;
  color: var(--white);
  background: var(--ink);
}

.nav .nav-cta:hover {
  background: var(--teal-dark);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: var(--ink);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  background: #d7e7e3;
}

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

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

.hero-shade {
  background:
    linear-gradient(90deg, rgba(246, 250, 248, 0.98) 0%, rgba(246, 250, 248, 0.93) 33%, rgba(246, 250, 248, 0.36) 69%, rgba(246, 250, 248, 0.14) 100%),
    linear-gradient(180deg, rgba(18, 34, 42, 0.18), rgba(18, 34, 42, 0.02) 40%, rgba(18, 34, 42, 0.16));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 168px 0 132px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 640;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 6.4vw, 6.35rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.95rem, 4vw, 3.9rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--ink-2);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 800;
}

.button.primary {
  color: var(--white);
  background: var(--teal-dark);
  box-shadow: 0 16px 36px rgba(7, 88, 84, 0.24);
}

.button.primary:hover {
  background: var(--ink);
}

.button.secondary {
  border-color: rgba(18, 34, 42, 0.18);
  background: rgba(255, 255, 255, 0.66);
}

.hero-proof {
  max-width: 650px;
  margin-top: 24px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  font-size: 0.95rem;
  font-weight: 720;
}

.hero-proof span::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
}

.hero-proof span:nth-child(2)::before {
  background: var(--blue);
}

.hero-proof span:nth-child(3)::before {
  background: var(--green);
}

.hero-peek {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0;
  width: min(calc(100% - 32px), var(--max));
  transform: translateX(-50%);
  padding: 18px 22px;
  border-radius: 8px 8px 0 0;
  color: var(--white);
  background: var(--ink);
  font-weight: 750;
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 22px 16px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.logo-strip span {
  padding: 7px 13px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 760;
}

.section {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 108px 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 52px;
  align-items: start;
}

.section-copy p:not(.eyebrow),
.proof-copy p,
.section-head {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-copy p:not(.eyebrow) {
  max-width: 620px;
}

.section-head {
  max-width: 880px;
  margin-bottom: 34px;
}

.section-head h2 {
  color: var(--ink);
}

.system-map {
  display: grid;
  gap: 12px;
}

.system-map article,
.buyer-grid article,
.security-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(18, 34, 42, 0.05);
}

.system-map article {
  display: grid;
  grid-template-columns: 185px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
}

.system-map strong {
  color: var(--teal-dark);
}

.system-map span,
.buyer-grid p,
.security-grid p,
.proof-list span {
  color: var(--muted);
}

.product-band {
  padding: 96px 16px;
  background:
    linear-gradient(135deg, rgba(12, 124, 118, 0.12), rgba(217, 104, 74, 0.12)),
    var(--ink);
}

.product-shell {
  width: min(100%, var(--max));
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: #f8fbfb;
  box-shadow: var(--shadow);
}

.browser-bar {
  display: flex;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: #edf4f2;
}

.browser-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--coral);
}

.browser-bar span:nth-child(2) {
  background: var(--amber);
}

.browser-bar span:nth-child(3) {
  background: var(--green);
}

.product-grid {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  min-height: 460px;
}

.product-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border-right: 1px solid var(--line);
  background: #eef6f4;
}

.product-sidebar strong {
  margin-bottom: 18px;
}

.product-sidebar span {
  padding: 10px 12px;
  border-radius: 7px;
  color: var(--muted);
  font-weight: 720;
}

.product-sidebar .active {
  color: var(--white);
  background: var(--teal-dark);
}

.product-main {
  padding: 34px;
}

.product-topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.product-topline h2 {
  max-width: 760px;
  font-size: clamp(1.7rem, 3vw, 3.05rem);
}

.status-pill {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 7px;
  color: var(--teal-dark);
  background: rgba(12, 124, 118, 0.12);
  font-size: 0.84rem;
  font-weight: 800;
}

.answer-card {
  margin-top: 28px;
  padding: 24px;
  border-left: 5px solid var(--coral);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 36px rgba(18, 34, 42, 0.08);
}

.answer-card p {
  margin: 0;
  font-size: 1.05rem;
}

.sources {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.sources span {
  padding: 8px 10px;
  border: 1px solid rgba(52, 108, 143, 0.22);
  border-radius: 7px;
  color: var(--blue);
  background: rgba(52, 108, 143, 0.08);
  font-size: 0.88rem;
  font-weight: 740;
}

.workflow-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.workflow-row div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fdfefe;
}

.workflow-row strong {
  display: block;
  font-size: 1.9rem;
  line-height: 1;
}

.workflow-row span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 720;
}

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

.buyer-grid article,
.security-grid article {
  padding: 24px;
}

.buyer-grid h3,
.security-grid h3 {
  margin-top: 18px;
}

.buyer-grid p,
.security-grid p {
  margin: 12px 0 0;
}

.icon {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(12, 124, 118, 0.12);
}

.icon::before,
.icon::after {
  content: "";
  position: absolute;
}

.icon.governance::before {
  inset: 9px 12px;
  border: 3px solid var(--teal-dark);
  border-top: 0;
}

.icon.governance::after {
  top: 7px;
  left: 10px;
  width: 18px;
  height: 4px;
  border-radius: 4px;
  background: var(--coral);
}

.icon.search::before {
  top: 9px;
  left: 9px;
  width: 13px;
  height: 13px;
  border: 3px solid var(--blue);
  border-radius: 50%;
}

.icon.search::after {
  right: 9px;
  bottom: 9px;
  width: 12px;
  height: 3px;
  border-radius: 3px;
  background: var(--blue);
  transform: rotate(45deg);
}

.icon.intake::before {
  top: 8px;
  left: 11px;
  width: 16px;
  height: 21px;
  border-radius: 3px;
  background: var(--green);
}

.icon.intake::after {
  top: 13px;
  left: 15px;
  width: 8px;
  height: 3px;
  box-shadow: 0 6px 0 rgba(255, 255, 255, 0.9), 0 12px 0 rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.9);
}

.icon.control::before {
  inset: 9px;
  border-radius: 50%;
  background: var(--amber);
}

.icon.control::after {
  top: 13px;
  left: 18px;
  width: 3px;
  height: 12px;
  border-radius: 3px;
  background: var(--ink);
}

.proof {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 0.75fr);
  gap: 54px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.proof-copy p {
  max-width: 680px;
}

.proof-list {
  display: grid;
  gap: 12px;
}

.proof-list div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.security {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
  padding-top: 0;
}

.security-grid {
  display: grid;
  gap: 14px;
}

.security-grid article:first-child {
  border-left: 5px solid var(--teal);
}

.security-grid article:nth-child(2) {
  border-left: 5px solid var(--blue);
}

.security-grid article:nth-child(3) {
  border-left: 5px solid var(--coral);
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  align-items: start;
  gap: 34px;
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto 76px;
  padding: 44px;
  border-radius: var(--radius);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(93, 143, 79, 0.3), rgba(217, 104, 74, 0.2)),
    var(--ink);
  box-shadow: var(--shadow);
}

.cta-section h2 {
  max-width: 820px;
  font-size: clamp(1.9rem, 3.5vw, 3.55rem);
}

.cta-section .eyebrow {
  color: #bfe4dd;
}

.cta-section .contact-form .button.primary {
  width: 100%;
  background: var(--white);
  color: var(--ink);
  box-shadow: none;
}

.contact-form {
  display: grid;
  gap: 14px;
  width: 100%;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 7px;
}

.contact-form label span {
  color: #d8e2e0;
  font-size: 0.82rem;
  font-weight: 760;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 7px;
  padding: 11px 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(110, 183, 179, 0.8);
  outline-offset: 2px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.form-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile {
  width: 100%;
  min-height: 65px;
}

.turnstile iframe {
  width: 100% !important;
}

.form-footer {
  display: grid;
  gap: 10px;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: #d8e2e0;
  font-size: 0.9rem;
}

.form-status.is-error {
  color: #ffd4c9;
}

.form-status.is-success {
  color: #d8f4e6;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px max(16px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--white);
}

.footer .brand {
  color: var(--ink);
}

.footer a:not(.brand) {
  font-weight: 750;
  color: var(--teal-dark);
}

@media (max-width: 980px) {
  .site-header {
    width: min(calc(100% - 24px), var(--max));
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 50px rgba(18, 34, 42, 0.14);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    width: 100%;
  }

  .hero {
    min-height: 860px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(246, 250, 248, 0.98) 0%, rgba(246, 250, 248, 0.92) 44%, rgba(246, 250, 248, 0.52) 100%),
      linear-gradient(90deg, rgba(246, 250, 248, 0.98), rgba(246, 250, 248, 0.3));
  }

  .hero-inner {
    padding-top: 142px;
  }

  .split,
  .section-head,
  .proof,
  .security {
    grid-template-columns: 1fr;
  }

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

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

  .product-sidebar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .product-sidebar strong {
    grid-column: 1 / -1;
    margin-bottom: 2px;
  }

  .product-topline,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-section {
    align-items: flex-start;
  }

  .cta-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    margin-top: 8px;
  }

  .hero {
    min-height: 820px;
  }

  .hero-inner {
    width: min(calc(100% - 28px), var(--max));
    padding: 128px 0 118px;
  }

  h1 {
    font-size: clamp(2.65rem, 15vw, 4.7rem);
  }

  .button {
    width: 100%;
  }

  .section {
    width: min(calc(100% - 28px), var(--max));
    padding: 74px 0;
  }

  .system-map article,
  .proof-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .product-band {
    padding: 62px 12px;
  }

  .product-sidebar {
    grid-template-columns: 1fr 1fr;
    padding: 16px;
  }

  .product-main {
    padding: 22px;
  }

  .status-pill {
    white-space: normal;
  }

  .workflow-row,
  .buyer-grid {
    grid-template-columns: 1fr;
  }

  .cta-section {
    width: min(calc(100% - 28px), var(--max));
    padding: 28px;
    margin-bottom: 48px;
  }

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