:root {
  --ink: #0a0f1a;
  --muted: #5c6678;
  --line: #dce4ef;
  --paper: #f4f7fb;
  --white: #ffffff;
  --navy: #0b1f3b;
  --navy-hover: #12335e;
  --indigo: #1f5bff;
  --cyan: #12c2ff;
  --copper: #b07a3a;
  --rose: #b85d6b;
  --shadow: 0 24px 70px rgba(11, 31, 59, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(244, 247, 251, 0.9);
  border-bottom: 1px solid rgba(220, 228, 239, 0.82);
  backdrop-filter: blur(16px);
}

.brand,
.nav,
.hero-actions,
.hero-metrics,
.workflow-list div {
  display: flex;
  align-items: center;
}

.brand img {
  width: 156px;
  height: auto;
}

.nav {
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav a:hover,
.header-action:hover {
  color: var(--indigo);
}

.header-action {
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(520px, 1fr) minmax(420px, 0.92fr);
  gap: clamp(34px, 4vw, 64px);
  align-items: center;
  min-height: calc(100svh - 72px);
  padding: clamp(40px, 5vw, 72px) clamp(24px, 4vw, 56px) clamp(34px, 5vw, 64px);
}

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

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

p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(4rem, 7.2vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: keep-all;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: normal;
}

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

.hero-lead {
  max-width: 680px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.55vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 800;
}

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

.button.secondary {
  color: var(--navy);
  background: transparent;
}

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

.hero-metrics {
  flex-wrap: wrap;
  gap: 16px;
  margin: 42px 0 0;
}

.hero-metrics div {
  min-width: 150px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

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

.hero-media {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(11, 31, 59, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-media::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(244, 247, 251, 0.12), rgba(244, 247, 251, 0));
  content: "";
}

.hero-media img {
  width: 100%;
  min-height: 390px;
  object-fit: cover;
  object-position: center;
}

.section {
  padding: clamp(56px, 8vw, 104px) clamp(20px, 4vw, 56px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.68fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro p:last-child,
.operations-panel p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

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

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

.feature-card {
  min-height: 260px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-card:nth-child(2) .feature-icon {
  background: var(--copper);
}

.feature-card:nth-child(3) .feature-icon {
  background: var(--rose);
}

.feature-card:nth-child(4) .feature-icon {
  background: var(--cyan);
}

.feature-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--indigo);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 800;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.operations {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  background: var(--navy);
  color: var(--white);
}

.operations .eyebrow {
  color: var(--cyan);
}

.operations-panel {
  max-width: 650px;
}

.operations-panel p {
  margin-top: 22px;
  color: #cbd8ce;
}

.workflow-list {
  flex-direction: column;
  gap: 12px;
}

.workflow-list div {
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 72px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.workflow-list strong {
  min-width: 110px;
}

.workflow-list span {
  color: #d8e2db;
  text-align: right;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.64fr);
  align-items: start;
  gap: clamp(32px, 6vw, 88px);
  background: var(--white);
}

.contact-copy {
  max-width: 760px;
}

.contact p {
  margin-top: 18px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  padding: clamp(22px, 3vw, 32px);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(11, 31, 59, 0.1);
}

.form-header,
.field-wide,
.contact-preference,
.form-footer,
.form-status {
  grid-column: 1 / -1;
}

.form-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 8px;
}

.form-header strong {
  color: var(--navy);
  font-size: 1.05rem;
}

.form-header span,
.form-footer small {
  color: var(--muted);
  font-size: 0.86rem;
}

.field {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 700;
}

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

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cfd9e8;
  border-radius: 8px;
  font: inherit;
  font-weight: 500;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.contact-preference {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.contact-preference legend {
  width: 100%;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 700;
}

.contact-preference label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid #cfd9e8;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.contact-preference input {
  accent-color: var(--indigo);
}

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

.field input:focus,
.field textarea:focus {
  background: #ffffff;
  border-color: var(--indigo);
  box-shadow: 0 0 0 4px rgba(31, 91, 255, 0.12);
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 4px;
}

.form-footer .button {
  min-width: 210px;
}

.form-footer a {
  color: var(--indigo);
  font-weight: 800;
}

.form-footer .button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 700;
}

.legal-page {
  max-width: 900px;
  margin: 0 auto;
}

.legal-page h1 {
  margin-bottom: 28px;
  font-size: clamp(2.5rem, 7vw, 5.5rem);
}

.legal-page h2 {
  margin-top: 34px;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.15;
}

.legal-page p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.legal-page a {
  color: var(--indigo);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 4vw, 56px);
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

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

.site-footer a {
  color: var(--navy);
  font-weight: 800;
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .hero-media {
    max-height: 420px;
  }

  .hero-media img {
    min-height: 320px;
  }
}

@media (max-width: 980px) {
  .site-header {
    position: static;
  }

  .nav {
    display: none;
  }

  .hero,
  .intro,
  .operations,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    order: -1;
  }

  .hero-media img {
    min-height: 300px;
  }

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

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

  .header-action {
    display: none;
  }

  .hero,
  .section {
    padding-inline: 16px;
  }

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

  .button {
    width: 100%;
  }

  .hero-metrics {
    display: grid;
    grid-template-columns: 1fr;
  }

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

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

  .form-header {
    flex-direction: column;
    gap: 4px;
  }

  .workflow-list div {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .workflow-list span {
    text-align: left;
  }

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