:root {
  --navy: #0b1d31;
  --navy-2: #102944;
  --navy-3: #173552;
  --paper: #fbfaf6;
  --cream: #f3eee4;
  --ink: #102136;
  --muted: #5f6b7b;
  --line: #d7dde3;
  --gold: #c6a15a;
  --gold-soft: #e4cf9e;
  --on-navy: #e9edf3;
  --on-navy-soft: #aeb9c7;
  --rule-navy: rgba(233, 237, 243, .12);
  --error: #a33a2a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; letter-spacing: -.025em; margin: 0; }
h2 { font-size: clamp(36px, 4.4vw, 58px); line-height: 1.05; text-wrap: balance; }
h3 { font-size: 24px; line-height: 1.2; }
p { margin: 0; }
.shell { width: min(1240px, calc(100% - 56px)); margin: 0 auto; }

.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px; display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px; border-radius: 3px; font-weight: 600; font-size: 15px; font-family: inherit;
  background: var(--navy); color: #fff; border: 1px solid var(--navy); cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-1px); }
.button:disabled { opacity: .7; cursor: wait; transform: none; }
.buttonGold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.buttonGold:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.buttonSmall { padding: 10px 16px; font-size: 14px; }
.textLink { font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* Header */
.siteHeader {
  position: sticky; top: 0; z-index: 30;
  background: rgba(11, 29, 49, .95); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule-navy); color: var(--on-navy);
}
.headerInner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 33px; width: auto; }
.wordmark { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; font-size: 17px; letter-spacing: .06em; color: #fff; white-space: nowrap; }
.wordmark span { color: var(--gold); }
.nav { display: flex; gap: 32px; font-size: 14px; color: var(--on-navy-soft); }
.nav a:hover, .signIn:hover { color: #fff; }
.headerActions { display: flex; align-items: center; gap: 16px; font-size: 14px; }
.signIn { color: var(--on-navy); font-weight: 500; border: 1px solid var(--rule-navy); padding: 9px 14px; border-radius: 3px; white-space: nowrap; }
.headerActions .button { background: var(--gold); border-color: var(--gold); color: var(--navy); white-space: nowrap; }
.ctaShort { display: none; }

/* Hero */
.hero { background: var(--navy); color: var(--on-navy); padding: 96px 0 110px; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 85% 20%, rgba(198, 161, 90, .10), transparent 60%),
              radial-gradient(ellipse 60% 70% at 0% 100%, rgba(23, 53, 82, .9), transparent 60%);
}
.heroGrid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(46px, 5.6vw, 80px); line-height: 1.0; color: #fff; text-wrap: balance; }
.hero h1 .line { display: block; }
.hero h1 em { color: var(--gold); font-style: italic; }
.lead { font-size: 19px; color: var(--on-navy-soft); margin-top: 30px; max-width: 560px; }
.heroActions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 38px; }
.heroActions .textLink { color: var(--on-navy); }
.heroVisual { margin: 0; }
.heroVisual img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 40px 120px rgba(0, 0, 0, .45); }

/* Placeholders for imagery awaiting approval */
.pending {
  aspect-ratio: 16 / 10; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; text-align: center; padding: 24px; border: 1px dashed rgba(198, 161, 90, .55);
  background: linear-gradient(135deg, rgba(23, 53, 82, .7), rgba(16, 41, 68, .4)); color: var(--on-navy-soft);
}
.pending span { font-family: 'Playfair Display', Georgia, serif; font-size: 22px; color: #fff; }
.pending small { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.pendingLight { background: #fff; color: var(--muted); border-color: var(--gold); }
.pendingLight span { color: var(--ink); }

/* Division band */
.divisionBand { background: var(--navy-2); color: var(--on-navy); border-top: 1px solid var(--rule-navy); }
.divisionGrid { display: grid; grid-template-columns: repeat(3, 1fr); }
.divisionGrid > div { padding: 28px 28px; border-left: 1px solid var(--rule-navy); display: flex; flex-direction: column; gap: 4px; }
.divisionGrid > div:first-child { border-left: 0; padding-left: 0; }
.divisionGrid small { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.divisionLink:hover strong { color: var(--gold-soft); }
.divisionLink strong span { font-size: 15px; color: var(--gold); }
.divisionGrid strong { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; font-size: 21px; color: #fff; }

/* Sections */
.section { padding: 120px 0; }
.sectionTinted { background: var(--cream); }
.sectionNavy { background: var(--navy); color: var(--on-navy); }
.sectionNavy h2, .sectionNavy h3 { color: #fff; }
.sectionHead { max-width: 780px; margin-bottom: 60px; }
.sectionHead > p { color: var(--muted); font-size: 18px; margin-top: 22px; max-width: 640px; }

/* Benefits */
.benefitGrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.benefit { padding: 34px 30px 0 0; margin-right: 30px; border-right: 1px solid var(--line); }
.benefit:last-child { border-right: 0; margin-right: 0; }
.benefit h3 { font-size: 23px; margin-bottom: 14px; }
.benefit p { color: var(--muted); font-size: 16px; }

/* Platform areas */
.areaGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.area { background: var(--paper); padding: 34px 32px; }
.area h3 { font-size: 22px; margin-bottom: 8px; }
.area p { color: var(--muted); font-size: 16px; }
.productShot { margin: 72px 0 0; }
.productShot img { width: 100%; border-radius: 8px; box-shadow: 0 30px 90px rgba(8, 26, 45, .2); }
.productShot figcaption { margin-top: 18px; color: var(--muted); font-size: 15px; }

/* AI team */
.teamGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.member { background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.member img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; }
.memberBody { padding: 26px 26px 30px; }
.aiTag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); background: var(--gold-soft); padding: 4px 9px; border-radius: 2px; margin-bottom: 14px; }
.member h3 { font-size: 26px; }
.memberRole { font-size: 14px; color: var(--gold); font-weight: 600; letter-spacing: .02em; margin: 4px 0 12px; }
.member p { color: var(--muted); font-size: 15.5px; }
.teamNote { margin-top: 30px; color: var(--muted); font-size: 15px; }
.teamNote a { color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--gold); }
/* Small-screen menu */
.mobileMenu { display: none; position: relative; }
.mobileMenu summary { list-style: none; cursor: pointer; padding: 9px 10px; border: 1px solid var(--rule-navy); border-radius: 3px; display: flex; }
.mobileMenu summary::-webkit-details-marker { display: none; }
.mobileMenuIcon { display: inline-flex; flex-direction: column; gap: 3px; }
.mobileMenuIcon i { display: block; width: 16px; height: 2px; background: #fff; border-radius: 1px; }
.mobileMenuPanel { position: absolute; right: 0; top: calc(100% + 12px); width: min(300px, calc(100vw - 32px)); background: var(--navy); border: 1px solid var(--rule-navy); border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.4); padding: 8px 0; z-index: 40; }
.mobileMenuPanel a { display: block; padding: 13px 20px; color: var(--on-navy); font-size: 15px; border-bottom: 1px solid var(--rule-navy); }
.mobileMenuPanel a:last-child { border-bottom: 0; }
.mobileMenuPanel a:hover { color: var(--gold-soft); }

/* Oversight */
.modelGrid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule-navy); }
.modelStep { padding: 40px 36px 8px 0; border-right: 1px solid var(--rule-navy); margin-right: 36px; }
.modelStep:last-child { border-right: 0; margin-right: 0; }
.modelStep h3 { font-size: 26px; margin-bottom: 14px; }
.modelStep p { color: var(--on-navy-soft); font-size: 16px; }

/* Built inside */
.builtGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.builtCopy p { color: var(--muted); font-size: 18px; margin-bottom: 18px; }
.builtCopy .textLink { display: inline-block; margin-top: 10px; }

/* Demo */
.demoGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.demoGrid > div > p { color: var(--muted); font-size: 18px; margin-top: 22px; max-width: 480px; }
.contactLines { display: flex; flex-direction: column; gap: 8px; margin-top: 34px; font-size: 18px; font-weight: 600; }
.contactLines a { width: fit-content; border-bottom: 1px solid transparent; }
.contactLines a:hover { border-color: var(--gold); }
.formWrap { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 34px; box-shadow: 0 20px 60px rgba(11, 29, 49, .06); }
.demoForm { display: flex; flex-direction: column; gap: 16px; }
.fieldRow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink); }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 3px; padding: 12px 14px; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); }
.fieldError { font-size: 13px; color: var(--error); min-height: 0; }
.fieldError:empty { display: none; }
.demoForm input, .demoForm select, .demoForm textarea, .demoForm button, .formDone { scroll-margin-top: 96px; scroll-margin-bottom: 24px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.demoForm .button { align-self: flex-start; margin-top: 4px; }
.formStatus { font-size: 14px; color: var(--error); }
.formStatus:empty { display: none; }
.formDone h3 { font-size: 30px; margin-bottom: 12px; }
.formDone p { color: var(--muted); }
.formDone:focus { outline: none; }

/* Footer */
.footer { background: var(--navy); color: var(--on-navy-soft); padding: 80px 0 34px; }
.footerTop { display: grid; grid-template-columns: auto 1fr; gap: 60px; align-items: center; padding-bottom: 50px; border-bottom: 1px solid var(--rule-navy); }
.footerLockup img { width: 320px; height: auto; }
.footerStatement { font-family: 'Playfair Display', Georgia, serif; color: #fff; font-size: 20px; line-height: 1.45; max-width: 620px; justify-self: end; }
.footerGrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 46px 0; }
.footerGrid small { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footerGrid a { display: block; font-size: 15px; padding: 4px 0; }
.footerGrid a:hover { color: #fff; }
.footerBottom { display: flex; justify-content: space-between; font-size: 13px; border-top: 1px solid var(--rule-navy); padding-top: 26px; }

/* Restrained reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.inView { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .button:hover { transform: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .nav { display: none; }
  .mobileMenu { display: block; }
  .heroGrid { grid-template-columns: 1fr; gap: 56px; }
  .benefitGrid { grid-template-columns: repeat(2, 1fr); }
  .benefit:nth-child(2) { border-right: 0; margin-right: 0; }
  .benefit:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 34px; }
  .areaGrid { grid-template-columns: repeat(2, 1fr); }
  .builtGrid, .demoGrid { grid-template-columns: 1fr; gap: 48px; }
  .footerTop { grid-template-columns: 1fr; gap: 30px; }
  .footerStatement { justify-self: start; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .shell { width: calc(100% - 32px); }
  .headerInner { height: 64px; gap: 10px; }
  .brand img { height: 28px; }
  .wordmark { font-size: 12px; letter-spacing: .05em; line-height: 1.15; white-space: normal; }
  .wordmark span { display: block; }
  .ctaLong { display: none; }
  .ctaShort { display: inline; }
  .headerActions { gap: 8px; }
  .signIn { display: none; }
  .headerActions .button { padding: 8px 10px; font-size: 13px; }
  .hero { padding: 64px 0 72px; }
  .hero h1 { font-size: clamp(40px, 11vw, 52px); }
  .lead { font-size: 17px; }
  .heroActions { gap: 18px; }
  .divisionGrid { grid-template-columns: 1fr; }
  .divisionGrid > div { border-left: 0; border-top: 1px solid var(--rule-navy); padding: 20px 0; }
  .divisionGrid > div:first-child { border-top: 0; }
  .section { padding: 80px 0; }
  .sectionHead { margin-bottom: 44px; }
  .benefitGrid { grid-template-columns: 1fr; border-top: 0; }
  .benefit, .benefit:nth-child(n) { border-right: 0; margin: 0; padding: 26px 0; border-top: 1px solid var(--line); }
  .areaGrid { grid-template-columns: 1fr; }
  .area { padding: 26px 22px; }
  .productShot { margin-top: 48px; }
  .pending span { font-size: 18px; }
  .teamGrid { grid-template-columns: 1fr; gap: 28px; }
  .modelGrid { grid-template-columns: 1fr; }
  .modelStep { border-right: 0; margin-right: 0; padding: 30px 0; border-bottom: 1px solid var(--rule-navy); }
  .modelStep:last-child { border-bottom: 0; }
  .formWrap { padding: 24px 20px; }
  .fieldRow { grid-template-columns: 1fr; }
  .demoForm .button { align-self: stretch; }
  .footerLockup img { width: 250px; }
  .footerStatement { font-size: 18px; }
  .footerGrid { grid-template-columns: 1fr; gap: 28px; }
  .footerBottom { flex-direction: column; gap: 6px; }
}

