:root {
  color-scheme: light;
  --ink: #132235;
  --muted: #586b83;
  --muted-soft: #74869b;
  --line: #d6e0e9;
  --surface: #f7f9fb;
  --surface-strong: #eaf1f5;
  --paper: #ffffff;
  --accent: #087f98;
  --accent-strong: #05667d;
  --accent-soft: #d8f3f5;
  --navy: #142633;
  --navy-muted: #d7e7eb;
  --focus: #c85c21;
  font-family: Inter, Aptos, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-size: 16px;
  line-height: 1.55;
}

a { color: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 12px clamp(24px, 5vw, 84px);
  color: var(--ink);
  background: rgba(247, 249, 251, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--accent-strong);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  background: var(--accent-soft);
  border: 1px solid #8ddce4;
  border-radius: 8px;
}

.brand strong,
.brand small { display: block; line-height: 1.15; }
.brand strong { font-size: 15px; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 12px; }

nav { display: flex; align-items: center; gap: 26px; }
nav a { color: #32465c; font-size: 14px; font-weight: 650; text-decoration: none; }
nav a:hover { color: var(--accent-strong); }

.header-action {
  justify-self: end;
  padding: 10px 14px;
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  background: var(--paper);
  border: 1px solid #b9ced8;
  border-radius: 6px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(520px, 1.4fr);
  align-items: center;
  gap: clamp(44px, 7vw, 116px);
  min-height: 690px;
  padding: 74px clamp(24px, 7vw, 112px) 88px;
  color: #f5fbfb;
  background: var(--navy);
  overflow: hidden;
}

.hero-copy { max-width: 570px; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-size: 14px; font-weight: 780; }
.hero .eyebrow { color: #8ce5e7; }

h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: 0; }
h1 { font-size: clamp(52px, 7vw, 94px); font-weight: 800; }
h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 790; }
h3 { font-size: 21px; font-weight: 760; }

.hero-lead { margin: 18px 0 0; color: #fff; font-size: clamp(24px, 3.2vw, 42px); font-weight: 720; line-height: 1.15; }
.hero-text { max-width: 510px; margin: 24px 0 0; color: var(--navy-muted); font-size: 19px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  font-size: 15px;
  font-weight: 760;
  text-align: center;
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 6px;
}

.button-primary { color: #042f37; background: #63ded8; border-color: #79e6e1; }
.button-primary:hover { background: #8ae9e2; }
.button-secondary { color: #f7ffff; border-color: #5c7a84; }
.button-secondary:hover { border-color: #a9d6d8; background: #1d3543; }
.button-secondary-dark { color: var(--ink); border-color: #a9bac8; }
.button-secondary-dark:hover { color: var(--ink); border-color: #8097aa; background: #eaf1f5; }
.button:disabled { cursor: wait; opacity: 0.7; }

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 48px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid #45606a;
}

.hero-facts dt { color: #a9c5c9; font-size: 13px; }
.hero-facts dd { margin: 3px 0 0; color: #fff; font-size: 14px; font-weight: 680; }

.hero-product { position: relative; margin: 0; min-width: 0; }
.hero-product img {
  display: block;
  width: 118%;
  max-width: none;
  min-width: 620px;
  margin-left: 2%;
  border: 1px solid #5d7881;
  border-radius: 8px;
  box-shadow: 0 28px 64px rgba(1, 8, 14, 0.36);
}

.hero-product figcaption { margin: 12px 4% 0; color: #b4cdd1; font-size: 13px; }

.product-section,
.operation-section {
  padding: 112px clamp(24px, 7vw, 112px);
}

.product-section { background: var(--paper); }
.section-intro { max-width: 710px; }
.section-intro > p:last-child { margin: 20px 0 0; color: var(--muted); font-size: 18px; }
.section-intro-compact { max-width: 680px; }

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

.capability-grid article,
.operation-grid article {
  min-width: 0;
  padding: 25px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.capability-number { display: block; margin-bottom: 46px; color: var(--accent-strong); font-size: 14px; font-weight: 800; }
.capability-grid p,
.operation-grid p { margin: 12px 0 0; color: var(--muted); }

.workflow-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: center;
  padding: 108px clamp(24px, 7vw, 112px);
  background: var(--surface-strong);
}

.workflow-visual { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; align-items: center; min-height: 160px; }
.workflow-line { position: absolute; top: 50%; right: 7%; left: 7%; height: 2px; background: #98c8cf; transform: translateY(-50%); }
.workflow-step { position: relative; z-index: 1; display: grid; min-width: 0; min-height: 78px; place-items: center; padding: 10px; color: var(--ink); font-size: 14px; font-weight: 760; text-align: center; background: var(--paper); border: 1px solid #9bcbd2; border-radius: 8px; }
.workflow-copy p:last-child { margin: 18px 0 0; color: var(--muted); font-size: 18px; }

.operation-section { background: var(--paper); }
.operation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 46px; }

.pilot-section {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px 80px;
  align-items: start;
  padding: 112px clamp(24px, 7vw, 112px);
  color: #effafa;
  background: #0b5666;
}

.pilot-section .eyebrow { color: #bcf2ef; }
.pilot-copy h2 { max-width: 590px; }
.pilot-copy > p:last-child { max-width: 560px; margin: 20px 0 0; color: #d5ebec; font-size: 18px; }
.pilot-steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid #77b6bd; }
.pilot-steps li { display: grid; grid-template-columns: 58px 1fr; gap: 14px; align-items: center; min-height: 74px; border-bottom: 1px solid #77b6bd; }
.pilot-steps strong { color: #baf1ed; font-size: 14px; }
.pilot-steps span { font-size: 17px; font-weight: 690; }
.pilot-note { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; border-top: 1px solid #77b6bd; }
.pilot-note p { max-width: 610px; margin: 0; color: #d5ebec; }

.contact-section { padding: 112px clamp(24px, 7vw, 112px); background: #e8f2f4; }
.contact-section h2 { max-width: 660px; }
.contact-section > p:not(.eyebrow) { max-width: 600px; margin: 20px 0 0; color: var(--muted); font-size: 18px; }
.contact-section .contact-status { margin-top: 34px; color: var(--accent-strong); font-size: 15px; font-weight: 690; }
.contact-section .button { margin-top: 18px; }

.pilot-dialog {
  width: min(920px, calc(100vw - 32px));
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
}

.pilot-dialog::backdrop { background: rgba(8, 21, 33, 0.72); backdrop-filter: blur(5px); }
.pilot-dialog-panel { padding: clamp(22px, 3vw, 30px); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 28px 72px rgba(1, 14, 23, 0.36); }
.pilot-dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.pilot-dialog-heading .eyebrow { margin-bottom: 6px; }
.pilot-dialog-heading h2 { font-size: clamp(27px, 3vw, 38px); }
.dialog-close { display: grid; flex: 0 0 auto; width: 38px; height: 38px; place-items: center; padding: 0; color: #344a60; font: inherit; font-size: 24px; line-height: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; cursor: pointer; }
.dialog-close:hover { color: var(--ink); background: var(--surface-strong); }
.pilot-dialog-intro { max-width: 680px; margin: 12px 0 18px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-field { display: grid; gap: 5px; min-width: 0; color: var(--ink); font-size: 14px; font-weight: 740; }
.form-field small { color: var(--muted); font-weight: 500; }
.form-field input,
.form-field select,
.form-field textarea { width: 100%; min-width: 0; padding: 9px 11px; color: var(--ink); font: inherit; font-size: 16px; font-weight: 450; background: #fff; border: 1px solid #aebfcd; border-radius: 6px; }
.form-field textarea { min-height: 76px; resize: vertical; }
.form-field-full { grid-column: 1 / -1; }
.form-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; color: var(--ink); font-size: 14px; }
.form-consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent-strong); }
.form-privacy-note { margin: 8px 0 0 28px; color: var(--muted); font-size: 13px; }
.form-status { margin: 14px 0 0; padding: 10px 12px; font-size: 14px; font-weight: 650; border: 1px solid var(--line); border-radius: 6px; }
.form-status[data-state="pending"] { color: #3b5569; background: var(--surface); }
.form-status[data-state="success"] { color: #0a5b4d; background: #e4f5ed; border-color: #8dd8bc; }
.form-status[data-state="error"] { color: #9e2431; background: #fff0f1; border-color: #e5a5ae; }
.form-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; margin-top: 18px; }

@media (min-width: 820px) {
  .form-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-height: 760px) {
  .pilot-dialog { max-height: calc(100dvh - 24px); overflow: auto; }
  .pilot-dialog-panel { max-height: calc(100dvh - 24px); overflow: auto; }
}

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px clamp(24px, 7vw, 112px); color: #d8e4e6; background: var(--navy); }
.site-footer p { margin: 0; }
.site-footer span { margin-left: 8px; color: #a9c5c9; }
.site-footer a { color: #bceeee; font-size: 14px; font-weight: 700; text-decoration: none; }

@media (max-width: 1060px) {
  .hero { grid-template-columns: 1fr; gap: 54px; padding-top: 64px; }
  .hero-product img { width: 100%; min-width: 0; margin-left: 0; }
  .hero-product figcaption { margin-left: 0; }
  .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workflow-section { grid-template-columns: 1fr; gap: 48px; }
  .pilot-section { grid-template-columns: 1fr; }
}

@media (max-width: 740px) {
  .site-header { grid-template-columns: 1fr auto; gap: 12px; min-height: 68px; padding: 10px 18px; }
  .site-header nav { display: none; }
  .header-action { padding: 9px 10px; font-size: 13px; }
  .hero,
  .product-section,
  .operation-section,
  .workflow-section,
  .pilot-section,
  .contact-section { padding-right: 22px; padding-left: 22px; }
  .hero { min-height: 0; padding-top: 56px; padding-bottom: 60px; }
  .hero-text { font-size: 17px; }
  .hero-facts { grid-template-columns: 1fr; gap: 12px; margin-top: 34px; }
  .hero-facts div { display: grid; grid-template-columns: 92px 1fr; align-items: baseline; }
  .hero-facts dd { margin: 0; }
  .capability-grid,
  .operation-grid { grid-template-columns: 1fr; }
  .capability-number { margin-bottom: 26px; }
  .workflow-visual { grid-template-columns: 1fr; gap: 8px; min-height: 0; padding-left: 30px; }
  .workflow-line { top: 9%; bottom: 9%; left: 16px; width: 2px; height: auto; transform: none; }
  .workflow-step { min-height: 54px; justify-items: start; padding-left: 20px; text-align: left; }
  .pilot-note { display: grid; justify-items: start; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field-full { grid-column: auto; }
  .form-actions { justify-content: stretch; }
  .form-actions .button { flex: 1 1 180px; }
  .site-footer { align-items: flex-start; flex-direction: column; padding: 24px 22px; }
  .site-footer span { display: block; margin: 4px 0 0; }
}
