:root {
  --navy-950: #10213f;
  --navy-900: #1b315d;
  --navy-800: #234172;
  --blue-700: #345f9d;
  --blue-600: #3f6fb3;
  --blue-100: #e8f0fb;
  --amber: #e5ad3d;
  --ink: #132238;
  --muted: #52627a;
  --line: #d8e1ec;
  --surface: #ffffff;
  --soft: #f3f6fa;
  --max: 1180px;
  --shadow: 0 24px 60px rgba(15, 36, 68, .14);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.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;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--navy-900);
  background: #fff;
  border-radius: 4px;
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #fff;
  background: linear-gradient(90deg, var(--navy-900), var(--navy-800));
  border-bottom: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 6px 24px rgba(8, 22, 44, .18);
}

.nav-shell {
  width: min(var(--max), calc(100% - 40px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1.14rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  color: #fff;
  flex: 0 0 auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  color: rgba(255,255,255,.83);
  font-size: .91rem;
  font-weight: 650;
  text-decoration: none;
  transition: color .18s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible { color: #fff; }

.main-nav .login-link {
  padding: 9px 16px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 5px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 0;
  background: transparent;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.hero {
  min-height: 660px;
  display: flex;
  align-items: center;
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(10, 24, 48, .94) 0%, rgba(14, 35, 68, .79) 50%, rgba(16, 38, 73, .28) 100%),
    url("assets/landing-hero-construction.webp");
  background-size: cover;
  background-position: center right;
}

.hero-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 98px 0 116px;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 820;
  letter-spacing: .15em;
}

.hero-brand svg {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--blue-600);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #bed7f8;
}

.eyebrow span {
  width: 28px;
  height: 2px;
  background: var(--amber);
}

.hero h1 {
  max-width: 790px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.65rem, 5.2vw, 4.65rem);
  line-height: 1.04;
  letter-spacing: -.045em;
  font-weight: 770;
  text-wrap: balance;
}

.hero-copy {
  max-width: 650px;
  margin: 27px 0 34px;
  color: #e2eaf5;
  font-size: clamp(1.05rem, 1.8vw, 1.27rem);
  line-height: 1.65;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
  transition: transform .17s ease, background-color .17s ease, border-color .17s ease, box-shadow .17s ease;
}

.button:hover { transform: translateY(-1px); }
.button:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(229, 173, 61, .42);
  outline-offset: 3px;
}

.button-primary {
  color: #fff;
  background: var(--blue-600);
  box-shadow: 0 10px 24px rgba(15, 50, 99, .25);
}

.button-primary:hover { background: var(--blue-700); }

.button-ghost {
  color: #fff;
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.55);
  backdrop-filter: blur(6px);
}

.button-ghost:hover { background: rgba(255,255,255,.13); }

.beta-strip {
  color: #fff;
  background: var(--blue-600);
}

.section-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.beta-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 12px 24px;
  padding: 16px 0;
}

.beta-inner strong { font-size: .97rem; }
.beta-inner span { color: #e5eefb; font-size: .93rem; }
.beta-inner a {
  margin-left: auto;
  color: #fff;
  font-size: .91rem;
  font-weight: 750;
  text-underline-offset: 4px;
}

.section { padding: 92px 0; }
.workflow-section { background: var(--soft); }

.features-section { background: #fff; }

.feature-groups {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy-900);
}

.feature-group {
  min-height: 330px;
  padding: 31px 31px 34px;
  border-right: 1px solid var(--line);
}

.feature-group:last-child { border-right: 0; }
.feature-number {
  color: var(--blue-600);
  font-size: .76rem;
  font-weight: 820;
  letter-spacing: .1em;
}

.feature-group h3 {
  margin: 20px 0 23px;
  font-size: 1.28rem;
  line-height: 1.28;
}

.feature-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-group li {
  position: relative;
  margin-top: 16px;
  padding-left: 20px;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.52;
}

.feature-group li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 0;
  width: 8px;
  height: 2px;
  background: var(--amber);
}

.section-heading h2,
.product-heading h2,
.pilot-media h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 3.7vw, 3rem);
  line-height: 1.13;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.process-board {
  margin-top: 42px;
  padding: 22px 22px 28px;
  background: #fff;
  border: 1px solid #ced9e7;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(21, 48, 86, .09);
}

.process-board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 2px 18px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.process-board-head strong { font-size: 1.02rem; }
.process-board-head span { color: var(--muted); font-size: .82rem; }

.process-track {
  margin: 0;
  padding: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  list-style: none;
}

.process-track li {
  position: relative;
  min-width: 0;
  padding: 0 15px;
}

.process-track li:first-child { padding-left: 0; }
.process-track li:last-child { padding-right: 0; }

.process-track li:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 49px;
  left: calc(50% + 22px);
  width: calc(100% - 44px);
  height: 2px;
  background: #3cad78;
}

.process-role {
  display: block;
  min-height: 21px;
  margin-bottom: 8px;
  color: var(--blue-700);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.process-node {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #3cad78;
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #3cad78;
  font-size: .82rem;
  font-weight: 800;
}

.process-track h3 {
  margin: 19px 0 7px;
  color: var(--ink);
  font-size: .96rem;
  line-height: 1.3;
}

.process-track p {
  margin: 0;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.48;
}

.product-section { background: var(--soft); }

.product-heading {
  display: block;
}

.product-heading > p {
  max-width: 470px;
  margin: 0 0 5px auto;
  color: var(--muted);
  font-size: 1.02rem;
}

.product-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 42px 0 14px;
}

.product-tab {
  padding: 10px 16px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 4px;
  font-size: .9rem;
  font-weight: 730;
  cursor: pointer;
  text-align: left;
  line-height: 1.45;
}

.product-tab.is-active {
  color: #fff;
  background: var(--navy-900);
}

.product-frame {
  overflow: hidden;
  background: #fff;
  border: 1px solid #ccd7e4;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.browser-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 15px;
  background: #f8fafc;
  border-bottom: 1px solid #dbe3ed;
}

.browser-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c1cbd8;
}

.browser-bar span:first-child { background: #e5ad3d; }
.browser-bar em {
  margin-left: auto;
  color: #8895a6;
  font-size: .75rem;
  font-style: normal;
}

.product-panel {
  margin: 0;
  background: #edf3fa;
}

.product-panel video,
.product-panel img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: contain;
  background: #edf3fa;
}

.product-panel figcaption {
  display: flex;
  align-items: baseline;
  gap: 10px 18px;
  padding: 18px 22px 20px;
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
}

.product-panel figcaption strong {
  flex: 0 0 auto;
  color: var(--ink);
}

.product-panel figcaption span { font-size: .94rem; }

.roles-section { background: #fff; }

.roles-grid {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.role-card {
  min-height: 305px;
  padding: 34px;
  border-right: 1px solid var(--line);
}

.role-card:last-child { border-right: 0; }
.role-index { color: var(--blue-600); font-size: .78rem; font-weight: 800; }
.role-card h3 { margin: 34px 0 22px; font-size: 1.45rem; }
.role-card ul { margin: 0; padding: 0; list-style: none; }
.role-card li {
  position: relative;
  margin-top: 13px;
  padding-left: 20px;
  color: var(--muted);
}

.role-card li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 0;
  width: 8px;
  height: 2px;
  background: var(--amber);
}

.pilot-section {
  padding: 96px 0;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(15, 34, 67, .98), rgba(35, 65, 114, .98)),
    url("assets/landing-hero-construction.webp") center/cover;
}

.pilot-shell {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 58px;
  align-items: start;
}

.section-label.light { color: #bfd8fa; }
.pilot-media h2 { color: #fff; }
.pilot-media > p:not(.section-label) {
  max-width: 490px;
  margin: 16px 0 22px;
  color: #d9e4f2;
  font-size: 1.03rem;
}

.pilot-media h2 {
  max-width: 520px;
  margin-bottom: 22px;
}

.video-frame {
  overflow: hidden;
  background: #091a34;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  box-shadow: 0 22px 55px rgba(1, 10, 28, .34);
}

.video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #091a34;
  object-fit: contain;
}

.pilot-form {
  margin-top: 0;
  padding: 34px;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(3, 14, 34, .3);
}

.simple-process {
  position: relative;
  margin: 46px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
}

.simple-process::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: #3cad78;
}

.simple-process li {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 0 14px;
  text-align: center;
}

.simple-process li > span {
  width: 46px;
  height: 46px;
  margin: 0 auto 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #3cad78;
  border: 5px solid var(--soft);
  border-radius: 50%;
  box-shadow: 0 0 0 2px #3cad78;
  font-size: .82rem;
  font-weight: 820;
}

.simple-process strong,
.simple-process small { display: block; }
.simple-process strong { font-size: .97rem; }
.simple-process small {
  margin-top: 6px;
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.42;
}

.form-heading { margin-bottom: 24px; }
.form-heading h3 { margin: 0 0 6px; font-size: 1.45rem; }
.form-heading p { margin: 0; color: var(--muted); font-size: .92rem; }

.pilot-form label {
  display: block;
  margin-top: 16px;
  color: #293b54;
  font-size: .84rem;
  font-weight: 720;
}

.pilot-form input,
.pilot-form select,
.pilot-form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #bac8d9;
  border-radius: 4px;
}

.pilot-form textarea { resize: vertical; }
.pilot-form .consent-label { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.pilot-form .consent-label input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; }
.consent-label a { text-underline-offset: 3px; }
.form-error { margin-top: 18px; padding: 14px; color: #8c2525; background: #fff1f1; border: 1px solid #e9b5b5; border-radius: 4px; }
.form-error p { margin: 0; }
.form-error p + p { margin-top: 6px; }
.button:disabled { opacity: .7; cursor: default; transform: none; }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.pilot-form input:focus,
.pilot-form select:focus,
.pilot-form textarea:focus { border-color: var(--blue-600); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.optional { color: #7e8ca0; font-weight: 500; }
.button-full { width: 100%; margin-top: 22px; border: 0; }
.form-note { margin: 10px 0 0; color: #7a8798; font-size: .76rem; text-align: center; }

.form-success {
  margin-top: 18px;
  padding: 14px;
  color: #164a34;
  background: #eaf8f1;
  border: 1px solid #a9dac2;
  border-radius: 4px;
}

.form-success strong,
.form-success span { display: block; }
.form-success span { margin-top: 3px; font-size: .87rem; }

.faq-section { background: var(--soft); }

.resources-strip {
  padding: 48px 0;
  background: #fff;
  border-top: 1px solid var(--line);
}

.resources-inner {
  display: grid;
  grid-template-columns: .55fr 1.45fr;
  gap: 70px;
  align-items: center;
}

.resources-inner .section-label { margin-bottom: 7px; }
.resources-inner h2 { margin: 0; font-size: 1.45rem; }

.resource-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 26px;
}

.resource-links a {
  position: relative;
  padding: 8px 22px 8px 0;
  color: var(--blue-700);
  font-size: .9rem;
  font-weight: 680;
  text-decoration: none;
  border-bottom: 1px solid #e1e8f0;
}

.resource-links a::after {
  content: "›";
  position: absolute;
  right: 2px;
  color: var(--blue-600);
}

.resource-links a:hover { color: var(--navy-900); }

.faq-grid {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 90px;
}

.faq-list { border-top: 1px solid #bac8d9; }
.faq-list details { border-bottom: 1px solid #bac8d9; }
.faq-list summary {
  position: relative;
  padding: 21px 42px 21px 0;
  font-weight: 730;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 16px;
  right: 2px;
  color: var(--blue-600);
  font-size: 1.4rem;
  font-weight: 400;
}

.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: -6px 0 22px; color: var(--muted); }

.site-footer {
  color: #cfdaea;
  background: #101f39;
}

.footer-top {
  min-height: 250px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  padding-top: 56px;
  padding-bottom: 44px;
}

.footer-brand { align-self: start; }
.footer-links { display: grid; grid-template-columns: .75fr 1.25fr; gap: 44px; }
.footer-links div { display: grid; align-content: start; gap: 9px; }
.footer-links strong { margin-bottom: 5px; color: #fff; font-size: .86rem; }
.footer-links a { color: #aebed3; font-size: .84rem; text-decoration: none; }
.footer-links a:hover { color: #fff; }

.footer-bottom {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #8393a9;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .8rem;
}

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    padding: 18px 20px 24px;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    background: var(--navy-900);
    border-top: 1px solid rgba(255,255,255,.13);
    box-shadow: 0 20px 30px rgba(8, 22, 44, .22);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 10px 0; }
  .main-nav .login-link { margin-top: 6px; text-align: center; }
  .hero { min-height: 600px; background-position: 62% center; }
  .hero-inner { padding: 84px 0 95px; }
  .beta-inner { align-items: flex-start; flex-direction: column; gap: 4px; }
  .beta-inner a { margin: 6px 0 0; }
  .feature-groups { grid-template-columns: 1fr; }
  .feature-group { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-group:last-child { border-bottom: 0; }
  .process-track { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .process-track li:nth-child(3)::after { display: none; }
  .product-heading, .pilot-shell, .faq-grid { grid-template-columns: 1fr; gap: 34px; }
  .product-heading > p { margin: 0; }
  .roles-grid { grid-template-columns: 1fr; }
  .role-card { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .role-card:last-child { border-bottom: 0; }
  .pilot-shell { max-width: 720px; }
  .resources-inner { grid-template-columns: 1fr; gap: 24px; }
  .simple-process { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 0; }
  .simple-process::before { display: none; }
}

@media (max-width: 620px) {
  .nav-shell, .section-shell, .hero-inner { width: min(100% - 28px, var(--max)); }
  .section { padding: 68px 0; }
  .hero { min-height: 570px; background-position: 70% center; }
  .hero-brand { margin-bottom: 20px; }
  .hero h1 { font-size: 2.55rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .process-board { padding: 20px; }
  .process-track { display: block; padding-top: 22px; }
  .process-track li,
  .process-track li:first-child,
  .process-track li:last-child { min-height: 128px; padding: 0 0 24px 58px; }
  .process-track li:not(:last-child)::after,
  .process-track li:nth-child(3)::after {
    display: block;
    top: 55px;
    left: 19px;
    width: 2px;
    height: calc(100% - 34px);
  }
  .process-role { margin-bottom: 5px; }
  .process-node { position: absolute; top: 26px; left: 0; }
  .process-track h3 { margin-top: 0; }
  .product-tabs { display: flex; overflow-x: auto; padding-bottom: 4px; }
  .product-tab { flex: 0 0 220px; white-space: normal; }
  .browser-bar em { display: none; }
  .product-panel figcaption { align-items: flex-start; flex-direction: column; }
  .product-panel figcaption strong { flex: auto; }
  .role-card { padding: 28px 24px; }
  .pilot-section { padding: 72px 0; }
  .pilot-shell { width: min(100% - 28px, var(--max)); }
  .pilot-form { padding: 25px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .simple-process { display: block; }
  .simple-process li { min-height: 108px; padding: 0 0 25px 66px; text-align: left; }
  .simple-process li > span { position: absolute; top: 0; left: 2px; margin: 0; }
  .simple-process li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 48px;
    bottom: 0;
    left: 24px;
    width: 2px;
    background: #3cad78;
  }
  .faq-grid { gap: 26px; }
  .resource-links { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 42px; }
  .footer-links { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding: 16px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
