:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #62716d;
  --line: #d9e2de;
  --panel: #ffffff;
  --canvas: #f3f7f5;
  --brand: #0f7c63;
  --brand-dark: #075340;
  --header: #0b1f1a;
  --accent: #c97b22;
  --danger: #b42318;
  --warning: #a15c07;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

a,
button,
input {
  font: inherit;
}

a {
  color: inherit;
}

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

.site-header {
  align-items: center;
  background: rgba(11, 31, 26, 0.96);
  color: #e8f5ef;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 74px;
  padding: 12px 28px;
  position: sticky;
  top: 0;
  z-index: 30;
}

.brand {
  align-items: center;
  color: #e8f5ef;
  display: flex;
  gap: 14px;
  min-width: 230px;
  text-decoration: none;
}

.brand img {
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

.brand small {
  color: #a8bcb4;
  font-size: 13px;
  margin-top: 3px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 6px;
}

.site-nav a {
  align-items: center;
  border-radius: 8px;
  color: #d8ebe3;
  display: inline-flex;
  min-height: 40px;
  padding: 0 12px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  outline: 0;
}

.site-nav .nav-cta {
  background: var(--brand);
  color: #ffffff;
  margin-left: 4px;
}

.menu-toggle {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  cursor: pointer;
  display: none;
  height: 42px;
  justify-content: center;
  padding: 0;
  width: 42px;
}

.menu-toggle span:not(.sr-only) {
  background: #e8f5ef;
  border-radius: 99px;
  display: block;
  height: 2px;
  position: absolute;
  width: 18px;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.hero {
  background: var(--header);
  color: #ffffff;
  min-height: 720px;
  overflow: hidden;
  padding: 76px 28px 84px;
  position: relative;
}

.hero::after {
  background: linear-gradient(90deg, rgba(11, 31, 26, 0.94), rgba(11, 31, 26, 0.72), rgba(11, 31, 26, 0.3));
  content: "";
  inset: 0;
  position: absolute;
}

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

.dashboard-frame {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  color: var(--ink);
  left: 42%;
  min-width: 780px;
  padding: 18px;
  position: absolute;
  top: 76px;
  transform: rotate(-2deg);
  width: 54vw;
}

.dashboard-top {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 8px;
  margin: -4px -2px 16px;
  padding: 0 0 14px;
}

.dashboard-top span {
  background: var(--line);
  border-radius: 50%;
  display: block;
  height: 10px;
  width: 10px;
}

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

.metric,
.queue-panel,
.calendar-panel,
.feature-card,
.workflow-list article,
.control-panel,
.contact-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metric {
  display: grid;
  gap: 7px;
  min-height: 138px;
  padding: 16px;
}

.metric span,
.metric small,
.panel-heading span,
.task span,
.calendar-panel li {
  color: var(--muted);
}

.metric strong {
  font-size: 28px;
}

.dashboard-main {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.8fr);
  margin-top: 14px;
}

.queue-panel,
.calendar-panel {
  padding: 18px;
}

.panel-heading,
.control-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.panel-heading {
  margin-bottom: 14px;
}

.task {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 10px;
  min-height: 56px;
  padding: 10px;
}

.task + .task {
  margin-top: 10px;
}

.task b {
  background: var(--brand);
  border-radius: 999px;
  display: block;
  flex: 0 0 auto;
  height: 10px;
  width: 10px;
}

.task.risk b {
  background: var(--danger);
}

.task.warn b {
  background: var(--accent);
}

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

.hero-content {
  margin: 0 auto;
  max-width: 1180px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #9be2cc;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  font-size: 108px;
  line-height: 0.9;
}

h2 {
  font-size: 46px;
  line-height: 1.05;
}

h3 {
  font-size: 19px;
}

.hero-copy {
  color: #d8ebe3;
  font-size: 21px;
  line-height: 1.55;
  margin: 28px 0;
  max-width: 660px;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-action,
.secondary-action {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  min-height: 46px;
  padding: 0 18px;
  text-decoration: none;
}

.primary-action {
  background: var(--brand);
  color: #ffffff;
}

.secondary-action {
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.trust-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-strip span {
  align-items: center;
  display: flex;
  min-height: 76px;
  padding: 0 28px;
}

.section,
.workflow-band,
.contact-section,
.site-footer {
  margin: 0 auto;
  max-width: 1240px;
  padding: 86px 28px;
}

.section-heading {
  max-width: 760px;
}

.features-header {
  align-items: end;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.62fr);
}

.features-header > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
  margin: 0;
}

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

.feature-card {
  align-content: start;
  display: grid;
  gap: 14px;
  min-height: 244px;
  overflow: hidden;
  padding: 22px;
  position: relative;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.feature-card::before {
  background: linear-gradient(180deg, rgba(15, 124, 99, 0.18), rgba(15, 124, 99, 0));
  content: "";
  height: 92px;
  inset: 0 0 auto;
  position: absolute;
}

.feature-card:hover {
  border-color: rgba(15, 124, 99, 0.42);
  box-shadow: 0 16px 34px rgba(9, 35, 28, 0.08);
  transform: translateY(-2px);
}

.feature-mark {
  align-items: center;
  background: #e6f4ed;
  border: 1px solid rgba(15, 124, 99, 0.2);
  border-radius: 8px;
  color: var(--brand-dark);
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  height: 34px;
  justify-content: center;
  position: relative;
  width: 44px;
}

.feature-card h3,
.feature-card p {
  position: relative;
}

.feature-card p,
.workflow-copy p,
.workflow-list p,
.split-section p,
.contact-section p,
.site-footer > span {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.workflow-band {
  align-items: start;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.workflow-copy p,
.split-section p,
.contact-section p {
  font-size: 18px;
  margin-top: 18px;
}

.workflow-list {
  display: grid;
  gap: 14px;
}

.workflow-list article {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.workflow-list span {
  color: var(--accent);
  font-weight: 700;
}

.split-section,
.contact-section {
  align-items: center;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
}

.control-panel,
.contact-form {
  padding: 22px;
}

.control-row {
  color: var(--muted);
  margin-top: 16px;
}

.control-row:first-child {
  margin-top: 0;
}

.control-row strong {
  color: var(--ink);
}

.progress {
  background: #e6f4ed;
  border-radius: 999px;
  height: 10px;
  margin-top: 8px;
  overflow: hidden;
}

.progress span {
  background: var(--brand);
  display: block;
  height: 100%;
}

.progress.amber {
  background: #fff3e1;
}

.progress.amber span {
  background: var(--accent);
}

.progress.red {
  background: #fff1f0;
}

.progress.red span {
  background: var(--danger);
}

.contact-section {
  padding-top: 42px;
}

.contact-info {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-info a {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 5px;
  padding: 16px;
  text-decoration: none;
}

.contact-info span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.contact-info strong {
  color: var(--ink);
  font-size: 18px;
}

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

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

.contact-form label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 124, 99, 0.14);
  outline: 0;
}

.span-2 {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.form-actions .primary-action {
  border: 0;
  cursor: pointer;
}

.form-status {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: none;
  font-size: 14px;
  padding: 11px 12px;
}

.form-status.visible {
  display: block;
}

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

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

.footer-brand strong {
  font-size: 22px;
}

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

@media (max-width: 1020px) {
  h1 {
    font-size: 86px;
  }

  h2 {
    font-size: 38px;
  }

  .dashboard-frame {
    left: 28%;
    min-width: 720px;
    opacity: 0.68;
    top: 118px;
    width: 720px;
  }

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

  .workflow-band,
  .split-section,
  .contact-section,
  .features-header {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .site-header {
    max-width: 100vw;
    padding: 12px 18px;
  }

  .menu-toggle {
    display: inline-flex;
    left: min(330px, calc(100vw - 60px));
    position: fixed;
    right: auto;
    top: 16px;
  }

  .site-nav {
    background: var(--header);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: none;
    gap: 4px;
    inset: 74px 0 auto 0;
    padding: 12px 18px 18px;
    position: fixed;
  }

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

  .site-nav a {
    width: 100%;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    justify-content: center;
  }

  .hero {
    max-width: 100vw;
    min-height: 690px;
    padding: 64px 18px 74px;
  }

  .dashboard-frame {
    left: 14%;
    min-width: 620px;
    opacity: 0.32;
    top: 150px;
  }

  .hero::after {
    background: rgba(11, 31, 26, 0.83);
  }

  h1 {
    font-size: 64px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-content,
  .section-heading,
  .feature-grid,
  .features-header,
  .workflow-copy,
  .workflow-list,
  .split-section > div,
  .contact-section > div {
    max-width: 320px;
    width: calc(100vw - 36px);
  }

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

  .section-heading,
  .features-header,
  .workflow-copy,
  .split-section > div,
  .contact-section > div,
  .feature-card,
  .workflow-list article,
  .control-panel,
  .contact-form {
    min-width: 0;
  }

  .trust-strip,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .features-header {
    gap: 18px;
  }

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

  .span-2 {
    grid-column: auto;
  }

  .trust-strip span {
    min-height: 58px;
    padding: 0 18px;
  }

  .section,
  .workflow-band,
  .contact-section,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

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

@media (max-width: 430px) {
  .brand {
    min-width: 0;
  }

  .brand img {
    height: 48px;
    width: 48px;
  }

  .brand strong {
    font-size: 22px;
  }

  .menu-toggle {
    left: auto;
    position: fixed;
    right: 18px;
    top: 16px;
  }

  .brand small {
    display: none;
  }

  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 29px;
  }

  .hero-content,
  .section-heading,
  .feature-grid,
  .features-header,
  .workflow-copy,
  .workflow-list,
  .split-section > div,
  .contact-section > div {
    max-width: 320px;
    width: 100%;
  }

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

  .hero-actions .primary-action,
  .hero-actions .secondary-action {
    justify-content: center;
    width: 100%;
  }
}
