:root {
  --ink: #090706;
  --muted: #b69f89;
  --line: rgba(166, 119, 76, 0.28);
  --paper: #1d1510;
  --panel: #140f0c;
  --green: #d39a58;
  --red: #d15f4f;
  --amber: #c98742;
  --blue: #e2b06d;
  --navy: #0b0908;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #f5eadc;
  background: var(--ink);
  font-family: Inter, Arial, sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 0 6vw;
  border-bottom: 1px solid rgba(166, 119, 76, 0.25);
  background: rgba(9, 7, 6, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
}

.brand-logo {
  width: 36px;
  height: 36px;
  display: block;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.main-nav {
  display: flex;
  gap: 26px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.main-nav a:hover {
  color: #fff;
}

.header-action,
.primary-button,
.secondary-button,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

.header-action,
.primary-button,
.contact-form button {
  color: #fff;
  background: #6d4324;
  border-color: #b9783d;
}

.secondary-button {
  color: #f5eadc;
  border-color: rgba(211, 154, 88, 0.64);
  background: transparent;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.86fr);
  gap: 7vw;
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: 7vw 6vw 5vw;
  background:
    linear-gradient(115deg, rgba(152, 91, 42, 0.35), transparent 42%),
    linear-gradient(180deg, #20150f, #090706);
}

.hero h1,
.section-heading h2,
.workflow h2,
.proof h2,
.contact h2 {
  margin: 0;
  max-width: 820px;
  letter-spacing: 0;
  line-height: 1.02;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 6.8rem);
}

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

.hero-lede {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.65;
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: 14px;
  max-width: 560px;
  margin: 44px 0 0;
}

.hero-metrics div {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.hero-metrics dt {
  font-size: 1.45rem;
  font-weight: 800;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.command-visual {
  overflow: hidden;
  border: 1px solid rgba(211, 154, 88, 0.34);
  border-radius: 8px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.visual-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  color: #f5eadc;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.visual-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #6d4324;
}

.visual-toolbar strong {
  margin-left: auto;
  font-size: 0.8rem;
}

.target-map {
  position: relative;
  min-height: 360px;
  margin: 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 38px 38px;
}

.node {
  position: absolute;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: #8a552d;
  font-weight: 800;
}

.node-entry {
  left: 12%;
  top: 18%;
}

.node-auth {
  left: 46%;
  top: 34%;
  background: #5d7040;
}

.node-data {
  right: 14%;
  top: 18%;
  background: #b37318;
}

.node-admin {
  right: 22%;
  bottom: 17%;
  background: #c73535;
}

.route-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.82), transparent);
  transform-origin: left center;
}

.route-one {
  top: 37%;
  left: 20%;
  width: 54%;
  transform: rotate(9deg);
}

.route-two {
  bottom: 31%;
  left: 48%;
  width: 30%;
  transform: rotate(38deg);
}

.finding-list {
  display: grid;
  gap: 12px;
  padding: 0 22px 22px;
}

.finding-list article {
  padding: 16px;
  color: #f5eadc;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.finding-list h2 {
  margin: 8px 0 4px;
  font-size: 1rem;
}

.finding-list p {
  margin: 0;
  color: #d0b79e;
  font-size: 0.9rem;
}

.severity {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.critical {
  color: #ffdada;
  background: rgba(199, 53, 53, 0.28);
}

.high {
  color: #fff1d5;
  background: rgba(179, 115, 24, 0.28);
}

.audience-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0 6vw 5vw;
  background: var(--ink);
}

.audience-band article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #140f0c;
}

.audience-band h2 {
  margin: 0 0 14px;
  color: #f5eadc;
  font-size: 1.12rem;
  font-weight: 700;
}

.audience-illustration,
.feature-illustration,
.services-illustration {
  display: block;
  width: 100%;
  height: auto;
  color: #d39a58;
}

.audience-illustration {
  max-width: 180px;
  margin-bottom: 22px;
}

.audience-illustration rect,
.audience-illustration path,
.audience-illustration circle,
.feature-illustration rect,
.feature-illustration path,
.feature-illustration circle,
.services-illustration rect,
.services-illustration path,
.services-illustration circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.audience-band p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.section,
.product-section,
.services-section,
.about-section,
.workflow,
.proof,
.contact {
  padding: 7vw 6vw;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 6vw;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading h2,
.workflow h2,
.proof h2,
.contact h2 {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
}

.section-heading p:last-child,
.workflow-copy p:last-child,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

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

.feature-card,
.steps article,
.proof-grid article {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature-card {
  position: relative;
  overflow: hidden;
}

.feature-illustration {
  max-width: 150px;
  margin-bottom: 20px;
  opacity: 0.88;
}

.icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--ink);
  border-radius: 8px;
  background: #d39a58;
  font-weight: 800;
}

.feature-card h3,
.steps h3 {
  margin: 28px 0 10px;
  font-size: 1.2rem;
}

.feature-card p,
.steps p,
.proof-grid p,
.product-grid p,
.service-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.product-section {
  background: #120d0a;
}

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

.product-grid article {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #1d1510;
}

.product-grid span {
  color: var(--blue);
  font-weight: 800;
}

.product-grid h3,
.service-list h3 {
  margin: 26px 0 10px;
  font-size: 1.18rem;
}

.services-section {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 6vw;
  background: #090706;
}

.services-copy p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.services-illustration {
  max-width: 360px;
  margin-top: 34px;
  color: #e2b06d;
}

.about-section {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 6vw;
  background: #120d0a;
}

.about-copy h2 {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.about-copy p:last-child {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

.about-grid {
  display: grid;
  gap: 16px;
}

.about-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #140f0c;
}

.about-grid span {
  color: #d39a58;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.about-grid h3 {
  margin: 14px 0 10px;
  font-size: 1.25rem;
}

.about-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.services-section h2 {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.service-list {
  display: grid;
  gap: 16px;
}

.service-list article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #140f0c;
}

.service-list h3 {
  margin-top: 0;
}

.workflow {
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  gap: 6vw;
  background: #120d0a;
}

.workflow-copy {
  position: sticky;
  top: 112px;
  align-self: start;
}

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

.steps span {
  color: var(--blue);
  font-weight: 800;
}

.proof {
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  gap: 6vw;
}

.proof-grid {
  display: grid;
  gap: 16px;
}

.proof-grid article {
  min-height: auto;
}

.proof-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 6vw;
  color: #fff;
  background: #090706;
}

.contact .eyebrow {
  color: #d39a58;
}

.contact p {
  color: #d0b79e;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #e8edf5;
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
}

.contact-form textarea {
  min-height: 132px;
  padding-top: 12px;
  resize: vertical;
}

.contact-form option {
  color: var(--ink);
}

.contact-form button {
  border-color: #d39a58;
  color: #090706;
  background: #d39a58;
}

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

.demo-link {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-page {
  background: var(--ink);
  color: #fff;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 6vw;
  align-items: end;
  padding: 7vw 6vw 4vw;
  background:
    linear-gradient(115deg, rgba(152, 91, 42, 0.42), transparent 42%),
    var(--ink);
}

.contact-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.contact-hero p:last-child {
  max-width: 720px;
  margin: 24px 0 0;
  color: #d0b79e;
  font-size: 1.12rem;
  line-height: 1.7;
}

.contact-details,
.contact-panel {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.contact-details strong {
  font-size: 1.1rem;
}

.contact-details span,
.contact-panel li {
  color: #d0b79e;
  line-height: 1.55;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  padding: 0 6vw 7vw;
}

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

.contact-form-large .full-span,
.contact-form-large button,
.contact-form-large .form-note {
  grid-column: 1 / -1;
}

.contact-panel {
  align-self: start;
}

.contact-panel h2 {
  margin: 0;
  font-size: 1.4rem;
}

.contact-panel ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 18px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 6vw;
  color: var(--muted);
  background: #090706;
}

.site-footer span {
  color: #f5eadc;
  font-weight: 800;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: #fff;
}

.legal-page {
  background: #120d0a;
}

.legal-hero {
  padding: 7vw 6vw 4vw;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #1d1510, #090706);
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(2.75rem, 7vw, 6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.legal-hero p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.legal-content {
  width: min(860px, calc(100% - 36px));
  margin: 0 auto;
  padding: 54px 0 76px;
}

.legal-content h2 {
  margin: 34px 0 10px;
  font-size: 1.35rem;
}

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

.legal-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.76;
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .hero,
  .section-heading,
  .services-section,
  .about-section,
  .contact-hero,
  .contact-layout,
  .workflow,
  .proof,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .command-visual {
    max-width: 680px;
  }

  .feature-grid,
  .product-grid,
  .audience-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-copy {
    position: static;
  }

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

@media (max-width: 620px) {
  .site-header {
    min-height: 68px;
    padding: 0 18px;
  }

  .header-action {
    display: none;
  }

  .hero,
  .section,
  .product-section,
  .services-section,
  .about-section,
  .contact-hero,
  .contact-layout,
  .workflow,
  .proof,
  .contact {
    padding: 54px 18px;
  }

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

  .hero-metrics,
  .feature-grid,
  .product-grid,
  .steps,
  .audience-band {
    grid-template-columns: 1fr;
  }

  .target-map {
    min-height: 280px;
    margin: 14px;
  }

  .node {
    width: 48px;
    height: 48px;
  }

  .finding-list {
    padding: 0 14px 14px;
  }

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

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