:root {
  --ink: #101316;
  --muted: #59636f;
  --line: #dce2e8;
  --soft: #f4f6f8;
  --panel: #ffffff;
  --teal: #0f9f8f;
  --teal-dark: #0b6f68;
  --lime: #d8f256;
  --orange: #ff7a1a;
  --blue: #297ad8;
  --shadow: 0 24px 70px rgba(13, 29, 48, .16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fbfcfd;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 70px);
  background: rgba(251, 252, 253, .88);
  border-bottom: 1px solid rgba(220, 226, 232, .9);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links,
.hero-actions,
.form-footer,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark,
.mini-logo {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #071312;
  background: var(--lime);
  font-weight: 900;
}

.nav-links {
  gap: 26px;
  color: var(--muted);
  font-size: .95rem;
}

.nav-links a,
.nav-cta,
.btn {
  text-decoration: none;
}

.nav-cta {
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 72px clamp(20px, 5vw, 70px) 58px;
  background:
    linear-gradient(135deg, rgba(216, 242, 86, .34), transparent 30%),
    linear-gradient(180deg, #ffffff, #f4f8fa);
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: .92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.3rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading h2 .line {
  display: block;
  white-space: nowrap;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.hero-text,
.contact-copy p,
.feature-grid p,
.workflow p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 630px;
  font-size: 1.16rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background: var(--ink);
}

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

.product-shell {
  min-width: 0;
}

.app-frame {
  display: grid;
  grid-template-columns: 74px 1fr;
  overflow: hidden;
  min-height: 530px;
  border: 1px solid #d6dde4;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
}

.app-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 20px 12px;
  border-right: 1px solid var(--line);
  background: #f5f6f7;
}

.app-sidebar span {
  width: 28px;
  height: 28px;
  border: 1px solid #d9dee3;
  border-radius: 8px;
  background: #fff;
}

.app-sidebar .active-dot {
  border-color: var(--orange);
  box-shadow: inset 0 0 0 4px #fff;
  background: var(--orange);
}

.app-panel {
  padding: 24px;
}

.app-topbar,
.loadout-header,
.route-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.app-topbar {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.app-topbar small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.app-topbar button {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 800;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 22px 0;
}

.metric-card,
.loadout-card,
.job-grid span,
.feature-grid article,
.workflow-steps div,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.metric-card {
  min-height: 112px;
  padding: 18px;
}

.metric-card span {
  display: block;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
}

.metric-card strong {
  display: block;
  margin-top: 18px;
  font-size: 2.1rem;
}

.metric-card.blue {
  background: #eaf3ff;
}

.metric-card.green {
  background: #e8f8f1;
}

.metric-card.amber {
  background: #fff4e5;
}

.loadout-card {
  padding: 20px;
}

.loadout-header {
  margin-bottom: 18px;
}

.loadout-header span {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: #e5f8f5;
  font-size: .78rem;
  font-weight: 800;
}

.route-row {
  padding: 12px 0;
  border-top: 1px solid #edf0f2;
}

.route-row span {
  width: 76px;
  font-size: .8rem;
  font-weight: 900;
}

.route-bar {
  flex: 1;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf0f2;
}

.route-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
}

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

.job-grid span {
  padding: 14px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
}

.section,
.screens-section,
.workflow,
.contact-section {
  padding: 86px clamp(20px, 5vw, 70px);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--muted);
  line-height: 1.7;
}

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

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

.screens-section {
  background: #eef4f3;
}

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

.screen-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  margin: 0;
  border: 1px solid rgba(16, 19, 22, .12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(13, 29, 48, .12);
}

.screen-card.large {
  grid-column: span 2;
  grid-row: span 2;
}

.screen-open {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.screen-open:focus-visible {
  outline: 4px solid rgba(15, 159, 143, .35);
  outline-offset: -4px;
}

.screen-open img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform .22s ease;
}

.screen-card:hover .screen-open img {
  transform: scale(1.018);
}

.screen-card figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .52);
  border-radius: 8px;
  color: #fff;
  background: rgba(16, 19, 22, .74);
  font-size: .82rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.feature-icon {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--teal-dark);
  font-weight: 900;
}

.workflow {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(360px, 1.15fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: start;
  background: var(--ink);
  color: #fff;
}

.workflow .eyebrow,
.workflow p {
  color: rgba(255, 255, 255, .72);
}

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

.workflow-steps div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px 16px;
  padding: 18px;
  color: var(--ink);
}

.workflow-steps span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--lime);
  font-weight: 900;
}

.workflow-steps p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(360px, .72fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.contact-points span {
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 700;
}

.contact-form {
  padding: 24px;
  box-shadow: 0 18px 48px rgba(13, 29, 48, .08);
}

.form-row {
  margin-bottom: 16px;
}

label {
  display: block;
  margin-bottom: 7px;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

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

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

input:focus,
textarea:focus {
  outline: 3px solid rgba(15, 159, 143, .18);
  border-color: var(--teal);
}

.error-message,
#gdpr-consent-error {
  min-height: 18px;
  margin-top: 5px;
  color: #b42318;
  font-size: .78rem;
}

.gdpr-row {
  margin: 4px 0 18px;
}

#gdpr-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  color: var(--muted);
  font-size: .79rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
  cursor: pointer;
}

#gdpr-label input {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 2px;
  accent-color: var(--teal);
}

#gdpr-label a {
  color: var(--teal-dark);
  font-weight: 800;
}

.status {
  min-height: 22px;
  margin-top: 12px;
  color: var(--teal-dark);
  font-size: .9rem;
  font-weight: 800;
}

.status.error {
  color: #b42318;
}

.silent-frame {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 70px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 900;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: clamp(16px, 4vw, 44px);
  background: rgba(8, 13, 18, .82);
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  display: block;
  max-width: min(96vw, 1500px);
  max-height: 88vh;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .36);
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 1050px) {
  .hero,
  .workflow,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

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

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hero {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .product-shell {
    display: none;
  }

  h1 {
    font-size: 3.1rem;
  }

  .section-heading h2 .line {
    display: inline;
    white-space: normal;
  }

  .section-heading h2 .line:first-child::after {
    content: " ";
  }

  .app-frame {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .app-sidebar {
    display: none;
  }

  .metric-grid,
  .job-grid,
  .feature-grid,
  .screens-grid {
    grid-template-columns: 1fr;
  }

  .screen-card,
  .screen-card.large,
  .screen-card:nth-child(n) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .app-panel,
  .contact-form {
    padding: 18px;
  }

  .workflow-steps div {
    grid-template-columns: 1fr;
  }

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