:root {
  color-scheme: light;
  --ink: #0d1b2a;
  --muted: #496174;
  --line: #d8e2ea;
  --soft: #eef6f4;
  --paper: #ffffff;
  --brand: #0a6f6b;
  --brand-dark: #063f43;
  --orange: #db8a2e;
  --blue: #2d6f9f;
  --red: #c7473e;
  --shadow: 0 18px 55px rgba(12, 31, 48, .16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f7faf9;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 28px;
  border-bottom: 1px solid rgba(216, 226, 234, .8);
  background: rgba(247, 250, 249, .92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--brand);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #183247;
  font-size: 14px;
  font-weight: 750;
}

.site-nav a {
  text-decoration: none;
}

.nav-login {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  padding: 96px 28px 70px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5, 35, 38, .78), rgba(5, 35, 38, .54) 40%, rgba(247, 250, 249, .94) 100%),
    #0d3d42;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 82px;
  background: #f7faf9;
  clip-path: polygon(0 58%, 100% 0, 100% 100%, 0 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(880px, 100%);
  margin: 0 auto;
  color: #fff;
  text-align: center;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .38);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero h1 {
  display: inline-block;
  margin: 0;
  padding: 0 .07em .1em;
  font-size: clamp(64px, 12vw, 144px);
  line-height: .86;
  letter-spacing: 0;
  color: #ffb24a;
  font-weight: 950;
  background: linear-gradient(180deg, #fff7dc 0%, #ffc15f 34%, #f47c2a 63%, #ffe7ad 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter:
    drop-shadow(0 7px 0 rgba(4, 48, 51, .82))
    drop-shadow(0 18px 32px rgba(0, 0, 0, .58));
  text-shadow: none;
}

.hero h1::after {
  content: "";
  display: block;
  width: 76%;
  height: 9px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(244, 124, 42, 0), #f47c2a 22%, #0e7371 78%, rgba(14, 115, 113, 0));
  box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
}

@supports not ((background-clip: text) or (-webkit-background-clip: text)) {
  .hero h1 {
    color: #ffb24a;
    -webkit-text-fill-color: initial;
  }
}

.hero-subtitle {
  width: min(760px, 100%);
  margin: 24px auto 0;
  color: #ffffff;
  font-size: clamp(19px, 2.6vw, 30px);
  line-height: 1.25;
  font-weight: 760;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .46);
}

.hero-actions,
.dialog-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--brand);
}

.button.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .08);
}

.hero-scene {
  position: absolute;
  inset: 82px 24px 0;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  opacity: .82;
}

.scene-panel {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.scene-dispatch {
  left: 3%;
  top: 8%;
  width: min(760px, 72vw);
  height: 480px;
}

.scene-bar {
  height: 38px;
  background: var(--brand);
}

.scene-grid {
  display: grid;
  grid-template-columns: 68px repeat(4, minmax(110px, 1fr));
  grid-auto-rows: 64px;
  font-size: 12px;
}

.scene-grid span,
.scene-grid strong {
  border-right: 1px solid #cddbe3;
  border-bottom: 1px solid #cddbe3;
}

.scene-grid strong {
  padding: 9px;
  color: var(--muted);
  font-size: 11px;
}

.job {
  margin: 8px;
  padding: 8px;
  border-left: 5px solid;
  border-radius: 6px;
  color: #102336;
  font-size: 12px;
  line-height: 1.25;
  background: #eaf4ee;
}

.job.green { border-color: #4f9f5f; background: #e7f3e6; }
.job.amber { border-color: var(--orange); background: #fff1d9; }
.job.blue { border-color: var(--blue); background: #e8f2fb; }
.job.red { border-color: var(--red); background: #fae7e6; }
.job.wide { grid-column: span 2; }

.scene-metrics {
  right: 6%;
  top: 12%;
  width: 300px;
  padding: 18px;
}

.scene-metrics p {
  margin: 0 0 12px;
  color: var(--muted);
  font-weight: 900;
}

.scene-metrics div,
.metric-card {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.scene-metrics div + div {
  margin-top: 10px;
}

.scene-metrics strong,
.metric-card strong {
  font-size: 25px;
}

.scene-metrics span,
.metric-card small {
  color: var(--muted);
}

.scene-mobile {
  right: 12%;
  bottom: 17%;
  width: 224px;
  padding: 18px;
}

.phone-top {
  width: 52px;
  height: 5px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: #c8d5dc;
}

.scene-mobile h3 {
  margin: 0 0 8px;
}

.scene-mobile p {
  margin: 8px 0;
  color: var(--muted);
}

.scene-mobile button {
  width: 100%;
  min-height: 40px;
  margin-top: 10px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--brand);
  font-weight: 800;
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
}

.intro-strip {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 46px;
  align-items: end;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

p {
  color: var(--muted);
  line-height: 1.55;
}

.workflow-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  background: #fff;
}

.workflow-band article {
  min-height: 248px;
  padding: 34px;
  border-right: 1px solid var(--line);
}

.workflow-band article:last-child {
  border-right: 0;
}

.workflow-band span,
.platform-map span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.split-section,
.proof-section,
.security-section,
.cta-band,
.contact-section {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 44px;
  align-items: start;
}

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

.feature-grid article,
.dashboard-preview,
.contact-form,
.platform-map article,
.check-list,
.cta-band {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(12, 31, 48, .05);
}

.feature-grid article {
  padding: 22px;
}

.proof-section {
  align-items: center;
}

.dashboard-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 18px;
}

.bar-preview {
  grid-column: 1 / -1;
  display: grid;
  align-items: end;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  height: 156px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(#fff, #f1f7f6);
}

.bar-preview span {
  display: block;
  border-radius: 8px 8px 0 0;
  background: var(--brand);
}

.bar-preview span:nth-child(1) { height: 45%; }
.bar-preview span:nth-child(2) { height: 72%; background: var(--orange); }
.bar-preview span:nth-child(3) { height: 58%; background: var(--blue); }
.bar-preview span:nth-child(4) { height: 86%; background: var(--brand-dark); }

.contact-section {
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

label {
  display: grid;
  gap: 7px;
  color: #183247;
  font-size: 13px;
  font-weight: 850;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cbd9e2;
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  font-size: 13px;
}

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

.page-hero {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0 46px;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: .98;
}

.page-hero p:last-child {
  font-size: 20px;
  max-width: 760px;
}

.platform-map {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.platform-map article {
  padding: 26px;
}

.check-list {
  margin: 0;
  padding: 24px 24px 24px 44px;
}

.check-list li {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.45;
}

.cta-band {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 30px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 28px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer p {
  margin: 4px 0 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 750;
}

.legal-page {
  width: min(800px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0;
}

.legal-page h1 {
  font-size: clamp(38px, 6vw, 66px);
  margin: 0 0 20px;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    font-weight: 850;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 14px;
    right: 14px;
    display: none;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: grid;
  }

  .legal-nav {
    position: static;
    display: flex;
    border: 0;
    box-shadow: none;
  }

  .hero {
    min-height: 760px;
    padding-inline: 20px;
  }

  .scene-dispatch {
    left: -14%;
    width: 760px;
    opacity: .55;
  }

  .scene-metrics {
    right: 4%;
    top: 8%;
    width: 245px;
  }

  .scene-mobile {
    right: 8%;
    bottom: 20%;
  }

  .intro-strip,
  .split-section,
  .proof-section,
  .security-section,
  .contact-section,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .workflow-band,
  .platform-map,
  .feature-grid,
  .dashboard-preview {
    grid-template-columns: 1fr;
  }

  .workflow-band article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .cta-band .button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 16px;
  }

  .hero {
    padding-top: 76px;
    min-height: 720px;
  }

  .hero h1 {
    font-size: 70px;
  }

  .hero-subtitle {
    font-size: 19px;
  }

  .scene-metrics {
    display: none;
  }

  .scene-mobile {
    right: 5%;
    bottom: 26%;
    width: 190px;
  }

  .section {
    width: calc(100% - 28px);
    padding-block: 52px;
  }

  .site-footer {
    display: grid;
  }
}
