:root {
  --ink: #102a43;
  --ink-2: #183b56;
  --paper: #f4f7fa;
  --white: #ffffff;
  --line: #cfdae6;
  --muted: #52677b;
  --accent: #2f80ed;
  --accent-dark: #1661b8;
  --green: #1f6f8f;
  --red: #c84232;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
.far, .fas { display: inline-block; width: 1em; font-family: "Segoe UI Symbol", "Segoe UI", sans-serif; font-style: normal; font-weight: 800; line-height: 1; text-align: center; }
.fa-bars::before { content: "≡"; }
.fa-arrow-right::before, .fa-route::before, .fa-chart-line::before { content: "→"; }
.fa-check::before, .fa-calendar-check::before, .fa-file-check::before, .fa-clipboard-check::before, .fa-shield-check::before { content: "✓"; }
.fa-tools::before { content: "+"; }
.fa-cogs::before { content: "⚙"; }
.fa-bolt::before { content: "↯"; }
.fa-box::before { content: "□"; }
.fa-eye::before, .fa-users::before { content: "◉"; }
.fa-database::before { content: "≡"; }
.fa-chart-bar::before { content: "▥"; }
.fa-calendar-alt::before { content: "▦"; }
.fa-history::before { content: "↶"; }
.fa-exclamation-triangle::before { content: "!"; }
.fa-clock::before { content: "◷"; }
.fa-user-shield::before { content: "◆"; }
.fa-compass::before { content: "◇"; }
.fa-envelope::before { content: "@"; }
.fa-phone::before { content: "☎"; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; padding: 10px 14px; background: var(--accent); font-weight: 800; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(244,247,250,.96); border-bottom: 2px solid var(--ink); backdrop-filter: blur(12px); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 210px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 750; }
.site-nav a:not(.btn) { padding-block: 8px; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"]:not(.btn) { border-color: var(--accent-dark); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 2px solid var(--ink); background: transparent; font-size: 21px; cursor: pointer; }

.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 20px; border: 2px solid var(--ink); border-radius: 2px; background: var(--accent); color: var(--white); font-size: 13px; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; box-shadow: 4px 4px 0 var(--ink); transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--ink); background: #5aa5ff; }
.btn:active { transform: translate(4px,4px); box-shadow: none; }
.btn-dark { color: var(--white); background: var(--ink); border-color: var(--white); box-shadow: 4px 4px 0 var(--accent); }
.btn-dark:hover { background: var(--green); box-shadow: 6px 6px 0 var(--accent); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; border-bottom: 2px solid var(--ink); }

.hero { min-height: 710px; position: relative; isolation: isolate; display: flex; align-items: center; color: var(--white); background: var(--ink) url('../img/hero/elixir-industrial-hero.png') center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,29,54,.95) 0%, rgba(12,42,70,.78) 44%, rgba(12,42,70,.12) 78%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 9px; background: repeating-linear-gradient(135deg,var(--accent) 0 14px,var(--ink) 14px 28px); }
.hero-content { max-width: 690px; padding: 96px 0 120px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 20px; color: #72b5ff; font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .12em; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; }
h1,h2,h3 { margin: 0; line-height: 1.07; letter-spacing: 0; }
h1 { max-width: 760px; font-size: clamp(44px, 6.2vw, 82px); font-weight: 850; }
.hero-lead { max-width: 630px; margin: 24px 0 32px; color: #e6eef6; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.hero-note { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 18px; color: #cedbe8; font-size: 13px; font-weight: 700; }
.hero-note span::before { content: "✓"; margin-right: 7px; color: #72b5ff; }

.proof-strip { background: var(--accent); color: var(--white); border-bottom: 2px solid var(--ink); }
.proof-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.proof-item { min-height: 132px; padding: 28px 24px; border-right: 2px solid var(--ink); }
.proof-item:first-child { border-left: 2px solid var(--ink); }
.proof-value { display: block; font: 850 30px/1.1 "Segoe UI",sans-serif; }
.proof-label { display: block; margin-top: 8px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

.section { padding: 100px 0; }
.section-dark { background: var(--ink); color: var(--white); }
.section-kicker { margin: 0 0 12px; color: var(--green); font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .12em; }
.section-dark .section-kicker { color: #72b5ff; }
.section-title { max-width: 790px; font-size: clamp(34px,4.3vw,58px); font-weight: 850; }
.section-intro { max-width: 690px; margin: 20px 0 0; color: var(--muted); font-size: 17px; }
.section-dark .section-intro { color: #c4d3e1; }
.section-head { margin-bottom: 52px; }

.capability-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 2px solid var(--ink); border-left: 2px solid var(--ink); }
.capability { min-height: 286px; padding: 28px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: var(--white); transition: transform .15s ease, background .15s ease; }
.capability:hover { transform: translateY(-5px); background: #eef6ff; }
.capability-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 46px; color: var(--white); background: var(--accent); border: 2px solid var(--ink); font-size: 21px; }
.capability h3 { font-size: 21px; font-weight: 850; }
.capability p { margin: 14px 0 0; color: var(--muted); font-size: 14px; }

.planning-section { background: #e7eef5; border-top: 2px solid var(--ink); }
.planning-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.planning-card { display: flex; min-width: 0; flex-direction: column; border: 2px solid var(--ink); background: var(--white); box-shadow: 7px 7px 0 var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.planning-card:hover { transform: translate(-3px,-3px); box-shadow: 10px 10px 0 var(--accent-dark); }
.planning-card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 2px solid var(--ink); }
.planning-card-body { display: flex; flex: 1; flex-direction: column; padding: 28px; }
.planning-card-no { color: var(--green); font: 850 12px/1 monospace; letter-spacing: .12em; }
.planning-card h3 { margin-top: 20px; font-size: 25px; font-weight: 850; }
.planning-card ul { margin: 24px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.planning-card li { position: relative; padding: 12px 0 12px 20px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; font-weight: 650; }
.planning-card li::before { content: ""; position: absolute; left: 0; top: 20px; width: 7px; height: 7px; background: var(--accent); border: 1px solid var(--ink); }

.product-stage { display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 64px; }
.feature-list { list-style: none; padding: 0; margin: 30px 0 0; border-top: 1px solid #31587b; }
.feature-list li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding: 15px 0; border-bottom: 1px solid #31587b; color: #e6eef6; }
.feature-list i { color: #72b5ff; margin-top: 5px; }
.screen-frame { position: relative; padding: 18px; border: 2px solid #5c7893; background: #17324d; box-shadow: 12px 12px 0 var(--accent); }
.screen-frame::before { content: "LIVE OPERATIONS VIEW"; display: block; margin-bottom: 14px; color: #72b5ff; font: 800 11px/1 monospace; letter-spacing: .12em; }
.screen-frame img { width: 100%; }

.workflow { display: grid; grid-template-columns: repeat(5,1fr); border: 2px solid var(--ink); background: var(--white); }
.step { position: relative; min-height: 210px; padding: 28px 24px; border-right: 2px solid var(--ink); }
.step:last-child { border-right: 0; }
.step-no { display: block; color: var(--green); font: 850 14px/1 monospace; }
.step h3 { margin-top: 34px; font-size: 20px; }
.step p { color: var(--muted); font-size: 13px; }

.outcomes { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 2px solid var(--ink); }
.outcome-visual { min-height: 520px; background: url('../img/hero/elixir-industrial-hero.png') 80% center/cover; }
.outcome-copy { padding: clamp(34px,6vw,76px); color: var(--white); background: var(--accent); }
.outcome-copy h2 { font-size: clamp(34px,4vw,52px); font-weight: 850; }
.outcome-list { margin: 30px 0 34px; padding: 0; list-style: none; }
.outcome-list li { padding: 13px 0; border-bottom: 1px solid rgba(16,42,67,.35); font-weight: 750; }
.outcome-list i { width: 26px; }

.integrations { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.integration { padding: 30px; border: 2px solid #537391; background: var(--ink-2); }
.integration i { color: #72b5ff; font-size: 28px; }
.integration h3 { margin-top: 26px; font-size: 23px; }
.integration p { color: #c4d3e1; margin-bottom: 0; }

.final-cta { padding: 74px 0; background: var(--green); color: var(--white); border-block: 2px solid var(--ink); }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-row h2 { max-width: 760px; font-size: clamp(34px,4.5vw,58px); font-weight: 850; }
.cta-row p { margin: 14px 0 0; color: #dce8f2; }

.site-footer { padding: 58px 0 24px; background: #081b33; color: #dce6ef; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 60px; padding-bottom: 48px; }
.footer-brand img { display: block; width: 260px; height: auto; padding: 9px 12px; background: var(--white); border: 2px solid var(--accent); }
.footer-brand p { max-width: 420px; color: #9fb3c7; }
.footer-title { color: #72b5ff; font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .12em; }
.footer-links { display: grid; gap: 10px; margin-top: 16px; color: #c0cfdd; font-size: 14px; }
.footer-bottom { padding-top: 20px; border-top: 1px solid #284761; color: #88a0b6; font-size: 12px; }

.page-hero { padding: 96px 0 76px; color: var(--white); background: var(--ink); border-bottom: 8px solid var(--accent); }
.page-hero h1 { font-size: clamp(42px,5.5vw,70px); }
.page-hero p { max-width: 680px; margin: 20px 0 0; color: #c7d5e2; font-size: 18px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-panel { padding: 36px; border: 2px solid var(--ink); background: var(--white); box-shadow: 8px 8px 0 var(--accent); }
.feature-panel h2 { font-size: 34px; }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; }
.check-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.check-list i { width: 26px; color: var(--green); }
.master-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 2px solid var(--ink); border-left: 2px solid var(--ink); }
.master-item { min-height: 140px; padding: 22px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: var(--white); }
.master-item i { color: var(--green); font-size: 22px; }
.master-item h3 { margin-top: 24px; font-size: 17px; }

.contact-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 64px; align-items: start; }
.contact-details { padding: 32px; color: var(--white); background: var(--ink); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--accent); }
.contact-details h2 { font-size: 32px; }
.contact-line { display: flex; gap: 14px; padding: 22px 0; border-bottom: 1px solid #31587b; }
.contact-line i { color: #72b5ff; margin-top: 5px; }
.contact-line span { display: block; color: #9fb3c7; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.demo-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-field { display: grid; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.form-field input, .form-field textarea, .form-field select { width: 100%; border: 2px solid var(--ink); border-radius: 0; background: var(--white); padding: 14px; outline: none; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--green); box-shadow: 4px 4px 0 var(--accent); }
.form-field input[aria-invalid="true"], .form-field textarea[aria-invalid="true"], .form-field select[aria-invalid="true"] { border-color: #b42318; box-shadow: 4px 4px 0 #fecdca; }
.form-field textarea { min-height: 150px; resize: vertical; }
.field-error { min-height: 17px; color: #b42318; font-size: 12px; font-weight: 700; }
.form-note { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }
.form-status.full { grid-column: 1 / -1; }
.form-status:empty { display: none; }
.form-status.is-error { padding: 12px 14px; color: #8a1c13; background: #fff0ee; border-left: 4px solid #b42318; font-weight: 700; }
.website-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.demo-form button:disabled { cursor: wait; opacity: .7; transform: none; }

body.modal-open { overflow: hidden; }
.thank-you-modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; }
.thank-you-modal[hidden] { display: none; }
.thank-you-backdrop { position: absolute; inset: 0; background: rgba(8,27,51,.78); }
.thank-you-dialog { position: relative; width: min(520px,100%); padding: 44px; color: var(--ink); background: var(--white); border: 2px solid var(--ink); box-shadow: 12px 12px 0 var(--accent); }
.thank-you-dialog h2 { margin: 8px 0 14px; font-size: clamp(30px,5vw,44px); }
.thank-you-dialog p:not(.section-kicker) { margin: 0 0 28px; color: var(--muted); }
.modal-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; display: grid; place-items: center; border: 2px solid var(--ink); background: var(--white); color: var(--ink); font-size: 27px; line-height: 1; cursor: pointer; }
.modal-close:hover, .modal-close:focus-visible { color: var(--white); background: var(--ink); }
.success-mark { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 24px; color: var(--white); background: var(--accent); border: 2px solid var(--ink); font-size: 28px; font-weight: 900; }

@media (max-width: 980px) {
  .site-nav { display: none; position: fixed; inset: 78px 0 auto; padding: 24px 20px 30px; align-items: stretch; flex-direction: column; background: var(--paper); border-bottom: 2px solid var(--ink); }
  .site-nav.is-open { display: flex; }
  .menu-toggle { display: grid; place-items: center; }
  .hero { min-height: 650px; background-position: 63% center; }
  .proof-grid, .capability-grid { grid-template-columns: repeat(2,1fr); }
  .planning-grid { grid-template-columns: 1fr; max-width: 680px; }
  .product-stage, .split, .contact-layout { grid-template-columns: 1fr; }
  .workflow { grid-template-columns: repeat(2,1fr); }
  .step { border-bottom: 2px solid var(--ink); }
  .outcomes { grid-template-columns: 1fr; }
  .outcome-visual { min-height: 380px; }
  .master-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav-wrap { min-height: 70px; }
  .site-nav { top: 70px; }
  .brand img { width: 178px; }
  .hero { min-height: 690px; background-position: 68% center; }
  .hero::before { background: linear-gradient(90deg,rgba(8,29,54,.97),rgba(12,42,70,.78)); }
  .hero-content { padding: 82px 0 105px; }
  .hero-lead { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .proof-grid, .capability-grid, .integrations, .footer-grid, .master-grid { grid-template-columns: 1fr; }
  .proof-item { border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
  .section { padding: 72px 0; }
  .capability { min-height: 230px; }
  .capability-icon { margin-bottom: 28px; }
  .product-stage { gap: 42px; }
  .screen-frame { box-shadow: 7px 7px 0 var(--accent); }
  .workflow { grid-template-columns: 1fr; }
  .step { min-height: auto; border-right: 0; }
  .cta-row { align-items: flex-start; flex-direction: column; }
  .demo-form { grid-template-columns: 1fr; }
  .form-field.full, .form-note { grid-column: auto; }
  .thank-you-dialog { padding: 34px 26px; box-shadow: 7px 7px 0 var(--accent); }
}

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