:root {
  color-scheme: light;
  --bg: #f7f8f5;
  --surface: #ffffff;
  --surface-2: #eef4ef;
  --ink: #11211b;
  --muted: #5f7069;
  --line: #d8e0da;
  --green: #14a06f;
  --green-dark: #0c6f50;
  --delex-orange: #ff6a00;
  --delex-navy: #071728;
  --teal: #057b78;
  --coral: #cf624b;
  --gold: #b47a1d;
  --code: #16211d;
  --shadow: 0 24px 70px rgba(24, 42, 35, 0.12);
  --radius: 8px;
  --max: 1180px;
}

.landing-page {
  background: #ffffff;
  color: #20242a;
}

.landing-page .container {
  max-width: 1170px;
}

.landing-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 23, 40, 0.56);
  backdrop-filter: blur(10px);
}

.landing-header .navbar {
  min-height: 86px;
}

.landing-header .navbar-brand {
  color: #fff;
  font-weight: 900;
  letter-spacing: 0;
}

.landing-header .nav-link {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
  font-size: 0.84rem;
  text-transform: uppercase;
}

.landing-header .nav-link.active,
.landing-header .nav-link:hover,
.landing-header .nav-link:focus {
  color: var(--delex-orange);
}

.landing-header .dropdown-menu {
  border: 0;
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.landing-header .dropdown-item {
  font-weight: 700;
}

.btn-brand {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--delex-orange);
  --bs-btn-border-color: var(--delex-orange);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #e65f00;
  --bs-btn-hover-border-color: #e65f00;
  --bs-btn-focus-shadow-rgb: 255, 106, 0;
  font-weight: 850;
}

.fw-black {
  font-weight: 950;
}

.delex-inspired-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 9rem 0 7rem;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(7, 23, 40, 0.78), rgba(7, 23, 40, 0.78)),
    radial-gradient(circle at 50% 45%, rgba(255, 106, 0, 0.12), transparent 42%);
}

.landing-kicker,
.landing-section-label {
  margin-bottom: 1rem;
  color: var(--delex-orange);
  font-size: 0.84rem;
  font-weight: 950;
  text-transform: uppercase;
}

.landing-kicker {
  color: #fff;
}

.delex-inspired-hero h1 {
  max-width: 920px;
  font-size: clamp(3.4rem, 7vw, 5.75rem);
  line-height: 1.08;
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.35);
}

.delex-inspired-hero .lead {
  max-width: 790px;
  color: rgba(255, 255, 255, 0.82);
}

.landing-stat-section {
  position: relative;
  z-index: 4;
  margin-top: -56px;
  padding-bottom: 6.5rem;
}

.landing-stat-card {
  min-height: 108px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.94);
}

.landing-stat-row .col-md-4:first-child .landing-stat-card {
  background: var(--delex-orange);
}

.stat-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 6px;
  background: #fff;
  color: var(--delex-orange);
  font-weight: 950;
  font-size: 0.88rem;
}

.landing-stat-row .col-md-4:not(:first-child) .stat-icon {
  background: var(--delex-orange);
  color: #fff;
}

.stat-label {
  display: block;
  color: currentColor;
  opacity: 0.72;
  font-size: 0.75rem;
  font-weight: 850;
  text-transform: uppercase;
}

.landing-stat-card strong {
  display: block;
  font-size: 1.12rem;
  font-weight: 950;
}

.py-lg-7 {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.landing-title {
  color: #4a4f57;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 950;
  line-height: 1.08;
}

.landing-rule {
  width: 132px;
  height: 4px;
  margin-top: 1rem;
  background: linear-gradient(90deg, var(--delex-orange) 0 26px, transparent 26px 32px, var(--delex-orange) 32px);
}

.landing-image-panel {
  overflow: hidden;
  border-radius: 6px;
  background: #f2f4f6;
  box-shadow: 0 24px 70px rgba(15, 26, 36, 0.13);
}

.landing-image-panel img {
  width: 100%;
}

.landing-section-intro {
  max-width: 760px;
}

.landing-services {
  background: #fff;
}

.service-card {
  min-height: 268px;
  border: 0;
  border-radius: 6px;
  background: #f1f1f1;
  color: #222831;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.service-card:hover,
.service-card:focus {
  color: #222831;
  transform: translateY(-5px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.12);
}

.service-card .card-body {
  padding: 3.25rem 2rem;
}

.service-card h3 {
  margin-top: 1.55rem;
  margin-bottom: 1rem;
  color: #252a31;
  font-size: 1.1rem;
  font-weight: 950;
}

.service-card p {
  margin-bottom: 0;
  color: #4f5964;
}

.service-diamond {
  display: inline-grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border-radius: 10px;
  background: var(--delex-orange);
  color: #fff;
  font-weight: 950;
  transform: rotate(45deg);
  box-shadow: 0 10px 22px rgba(255, 106, 0, 0.32);
}

.service-diamond span {
  display: block;
  transform: rotate(-45deg);
}

.landing-process {
  background: #fafafa;
}

.process-card {
  min-height: 210px;
  padding: 2rem;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(15, 26, 36, 0.08);
}

.process-card span {
  color: var(--delex-orange);
  font-weight: 950;
}

.process-card h3 {
  margin: 0.75rem 0 0.75rem;
  color: #252a31;
  font-weight: 950;
}

.process-card p {
  margin-bottom: 0;
  color: #5d6670;
}

.landing-dark {
  background: var(--delex-navy);
}

.landing-dark .landing-title {
  color: #fff;
}

.dark-quote {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.dark-quote .card-body {
  padding: 2rem;
}

.landing-footer {
  background: #fff;
}

.landing-footer h3 {
  color: #20242a;
  font-size: 0.9rem;
  font-weight: 950;
}

.landing-footer a:not(.navbar-brand) {
  display: block;
  margin: 0.35rem 0;
  color: #707983;
}

.footer-bottom {
  border-top: 1px solid #e8ecef;
  color: #707983;
}

.auth-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 106, 0, 0.1), transparent 28%),
    linear-gradient(135deg, #f7f8f5 0%, #ffffff 48%, #eef4ef 100%);
  color: #20242a;
}

.auth-topbar {
  padding: 1.1rem 0;
}

.auth-brand {
  color: #111820;
  font-weight: 950;
}

.auth-toplink {
  color: #52606b;
  font-weight: 760;
}

.auth-shell {
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  padding: 3rem 0 5rem;
}

.auth-context h1 {
  max-width: 520px;
  color: #20242a;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 950;
  line-height: 1.02;
}

.auth-context p {
  max-width: 560px;
  color: #5f6b76;
  font-size: 1.08rem;
}

.auth-context-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 2rem;
}

.auth-context-list div,
.auth-confirm-list div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: 0.9rem 1rem;
  border: 1px solid #e2e8e5;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.auth-context-list strong,
.auth-confirm-list strong {
  color: var(--delex-orange);
  font-weight: 950;
}

.auth-card {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
}

.auth-card .card-body {
  padding: clamp(1.4rem, 4vw, 2.4rem);
}

.oauth-button {
  min-height: 44px;
  font-weight: 820;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.4rem 0;
  color: #7a858f;
  font-size: 0.88rem;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: #e0e5e8;
}

.auth-small-link,
.auth-terms,
.auth-card p {
  font-size: 0.9rem;
}

.auth-small-link {
  color: #5f6b76;
}

.auth-terms {
  margin: 1rem 0;
  color: #7a858f;
  text-align: center;
}

.auth-confirm-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

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

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

a:hover {
  color: var(--green-dark);
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(20, 160, 111, 0.35);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 248, 245, 0.88);
  border-bottom: 1px solid rgba(216, 224, 218, 0.85);
  backdrop-filter: blur(18px);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 72px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

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

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

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

.nav-links > a,
.nav-dropdown > button {
  min-height: 40px;
  padding: 9px 11px;
  border-radius: 8px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.nav-links > a:hover,
.nav-dropdown > button:hover,
.nav-links > a[aria-current="page"] {
  background: rgba(20, 160, 111, 0.08);
  color: var(--ink);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown button::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 560px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px;
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
  display: grid;
}

.dropdown-panel a {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid transparent;
}

.dropdown-panel a:hover {
  border-color: var(--line);
  background: var(--surface-2);
  color: var(--ink);
}

.dropdown-panel strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.92rem;
}

.dropdown-panel span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  box-shadow: 0 6px 0 var(--ink), 0 -6px 0 var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
}

.button.primary {
  background: var(--green);
  border-color: var(--green);
  color: white;
}

.button.dark {
  background: var(--code);
  border-color: var(--code);
  color: white;
}

.button:hover {
  transform: translateY(-1px);
  color: inherit;
}

.hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(246, 241, 226, 0.95), rgba(238, 248, 241, 0.94) 52%, rgba(245, 249, 250, 0.95)),
    var(--bg);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: 48px;
  align-items: center;
  padding: 74px 24px 42px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 760;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
}

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

h1 {
  max-width: 840px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 5.75rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.25;
}

.lede {
  max-width: 710px;
  color: var(--muted);
  font-size: 1.18rem;
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
  max-width: 720px;
}

.metric {
  padding: 14px;
  border: 1px solid rgba(216, 224, 218, 0.9);
  background: rgba(255, 255, 255, 0.58);
  border-radius: var(--radius);
}

.metric strong {
  display: block;
  font-size: 1.38rem;
}

.metric span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  min-height: 560px;
  display: grid;
  align-content: center;
  gap: 18px;
}

.console {
  border-radius: var(--radius);
  border: 1px solid #26352f;
  background: var(--code);
  color: #e6f7ee;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.console-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.dot:nth-child(2) {
  background: var(--gold);
}

.dot:nth-child(3) {
  background: var(--green);
}

.console pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  font-size: 0.9rem;
  line-height: 1.65;
}

.code-green {
  color: #8de3bd;
}

.code-gold {
  color: #f1c779;
}

.dashboard-shot {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.shot-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
}

.shot-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  min-height: 255px;
}

.shot-sidebar {
  padding: 16px;
  background: #f3f6f1;
  border-right: 1px solid var(--line);
}

.shot-line {
  height: 12px;
  border-radius: 999px;
  background: #dce6df;
  margin-bottom: 12px;
}

.shot-line.short {
  width: 58%;
}

.shot-main {
  padding: 16px;
}

.memory-node {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 10px;
  background: var(--surface);
}

.node-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(20, 160, 111, 0.14);
  border: 1px solid rgba(20, 160, 111, 0.25);
}

.section {
  padding: 86px 0;
  border-bottom: 1px solid var(--line);
}

.section.tight {
  padding: 56px 0;
}

.section.dark {
  background: #14211c;
  color: #f4f8f2;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.section.dark .muted,
.section.dark .lede {
  color: #b8c7bf;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.45fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

.muted {
  color: var(--muted);
}

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

.product-card,
.capability-card,
.pricing-card,
.doc-card,
.feature-row,
.quote-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
}

.product-card,
.capability-card,
.doc-card {
  min-height: 220px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-card:hover,
.doc-card:hover {
  border-color: rgba(20, 160, 111, 0.45);
  box-shadow: 0 12px 34px rgba(24, 42, 35, 0.08);
  color: var(--ink);
}

.icon-tile {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  background: rgba(20, 160, 111, 0.12);
  color: var(--green-dark);
  border: 1px solid rgba(20, 160, 111, 0.22);
  font-weight: 800;
}

.product-card:nth-child(3n + 2) .icon-tile,
.capability-card:nth-child(3n + 2) .icon-tile {
  background: rgba(5, 123, 120, 0.11);
  color: var(--teal);
  border-color: rgba(5, 123, 120, 0.24);
}

.product-card:nth-child(3n) .icon-tile,
.capability-card:nth-child(3n) .icon-tile {
  background: rgba(207, 98, 75, 0.11);
  color: var(--coral);
  border-color: rgba(207, 98, 75, 0.24);
}

.card-link {
  margin-top: auto;
  color: var(--green-dark);
  font-weight: 700;
}

.band {
  background: var(--surface-2);
}

.architecture-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: 34px;
  align-items: center;
}

.image-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  height: auto;
}

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

.step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.step-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--code);
  color: white;
  font-weight: 760;
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.logo-chip {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--muted);
  font-size: 0.9rem;
}

.page-hero {
  padding: 76px 0 50px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #fbf8ee, #eff8f2 58%, #f7fafa);
}

.page-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.52fr);
  gap: 36px;
  align-items: center;
}

.page-hero h1 {
  font-size: clamp(2.55rem, 5.5vw, 4.7rem);
}

.mini-terminal,
.facts-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 18px;
}

.mini-terminal {
  background: var(--code);
  color: #e8fff4;
  overflow-x: auto;
}

.mini-terminal code {
  white-space: pre;
  font-size: 0.86rem;
}

.facts-panel dl {
  margin: 0;
  display: grid;
  gap: 14px;
}

.facts-panel dt {
  color: var(--muted);
  font-size: 0.86rem;
}

.facts-panel dd {
  margin: 4px 0 0;
  font-weight: 740;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  color: var(--muted);
}

.feature-list li::before {
  content: "";
  width: 16px;
  height: 16px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.72);
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) 1fr;
  gap: 22px;
  padding: 24px;
  margin-bottom: 14px;
}

.pricing-card {
  padding: 24px;
}

.pricing-card.highlight {
  border-color: rgba(20, 160, 111, 0.55);
  box-shadow: var(--shadow);
}

.price {
  margin: 16px 0;
  font-size: 2.2rem;
  font-weight: 820;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #f0f5f1;
  font-size: 0.9rem;
}

tr:last-child td {
  border-bottom: 0;
}

.quote-card {
  padding: 24px;
  background: #fbfaf4;
}

.quote-card p {
  font-size: 1.15rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(340px, 0.6fr);
  gap: 28px;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
  padding: 11px 12px;
  color: var(--ink);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.site-footer {
  padding: 56px 0;
  background: #0f1915;
  color: #edf5f0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 26px;
}

.site-footer a {
  color: #c9d7cf;
}

.site-footer a:hover {
  color: white;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-col h3 {
  margin-bottom: 4px;
  font-size: 0.94rem;
}

.footer-note {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aebdb5;
  font-size: 0.9rem;
}

@media (max-width: 1040px) {
  .hero-grid,
  .page-hero .container,
  .architecture-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .product-grid,
  .capability-grid,
  .pricing-grid,
  .doc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  .menu-button {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    inset: 72px 0 auto 0;
    max-height: calc(100vh - 72px);
    overflow: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(247, 248, 245, 0.98);
  }

  body.menu-open .nav-links {
    display: flex;
  }

  .nav-links > a,
  .nav-dropdown > button {
    width: 100%;
    justify-content: space-between;
  }

  .dropdown-panel {
    position: static;
    width: 100%;
    margin: 8px 0 12px;
    display: grid;
    box-shadow: none;
    grid-template-columns: 1fr;
  }

  .nav-actions .button:not(.primary) {
    display: none;
  }

  .hero-grid {
    padding-top: 54px;
  }

  .hero-metrics,
  .shot-grid,
  .section-head,
  .feature-row {
    grid-template-columns: 1fr;
  }

  .shot-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .nav,
  .container,
  .hero-grid {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: 3rem;
  }

  .product-grid,
  .capability-grid,
  .pricing-grid,
  .doc-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .section-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
