/* Lexx AI Worldwide — ship + dragonfly full-site art direction */
:root {
  --night: #050711;
  --ink: #080d1a;
  --panel: rgba(7, 14, 27, .78);
  --panel-soft: rgba(10, 19, 35, .58);
  --white: #f4f7ff;
  --muted: #acb9cc;
  --cyan: #82e8f1;
  --blue: #5d9cff;
  --violet: #a98aff;
  --gold: #f2bd72;
  --line: rgba(195, 222, 255, .17);
  --site-max: 1260px;
  --site-ease: cubic-bezier(.2, .72, .2, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; background: var(--night); }
body { min-width: 320px; overflow-x: hidden; background: var(--night); color: var(--white); }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .12;
  background-image: linear-gradient(rgba(130,232,241,.045) 1px, transparent 1px), linear-gradient(90deg,rgba(130,232,241,.045) 1px,transparent 1px);
  background-size: 84px 84px; mask-image: linear-gradient(#000, transparent 78%);
}
.shell { width: min(var(--site-max), calc(100% - 56px)); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; padding: 10px 14px; color: #04101a; background: var(--cyan); border-radius: 5px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

/* Header: the ship remains the primary emblem; dragonfly is a secondary motif. */
.site-header { padding: 0; background: rgba(5,8,18,.9); border-bottom: 1px solid var(--line); box-shadow: 0 12px 44px rgba(0,0,0,.25); backdrop-filter: blur(18px); }
.site-header .brand { position: relative; gap: 12px; letter-spacing: .08em; font-size: .91rem; }
.site-header .ship-mark { width: 78px; height: 43px; flex: 0 0 78px; border: 1px solid rgba(130,232,241,.42); border-radius: 7px; background: radial-gradient(ellipse,rgba(35,92,150,.42),rgba(5,8,18,.95)); box-shadow: 0 0 24px rgba(83,166,239,.13); }
.site-header .ship-mark img { width: 100%; height: 100%; object-fit: contain; filter: saturate(1.1) contrast(1.08); }
.site-header .brand::after { content: ""; display: block; width: 30px; height: 24px; margin-left: 2px; background: url("assets/lexx-dragonfly.svg") center/contain no-repeat; opacity: .86; }
.site-header .brand em { color: var(--cyan); font-style: normal; }
.site-nav { align-items: center; gap: clamp(15px,2.2vw,30px); color: #c1ccdb; font-size: .83rem; }
.site-nav a { transition: color .2s ease, border-color .2s ease; }
.site-nav a:hover { color: var(--cyan); }
.site-nav .nav-briefing { padding: 10px 15px; border: 1px solid rgba(130,232,241,.36); border-radius: 999px; background: rgba(12,25,43,.52); color: var(--white); }
.menu-toggle { border-color: rgba(195,222,255,.26); background: rgba(8,16,31,.8); }

/* Hero: full-bleed new ship art, deliberate left copy zone, real responsive image. */
.hero.shell {
  position: relative; isolation: isolate; display: block; width: 100%; max-width: none; min-height: clamp(640px, calc(100svh - 78px), 900px);
  margin: 0; padding: 36px max(28px, calc((100% - var(--site-max))/2)) 48px; overflow: hidden;
  background: radial-gradient(ellipse at 72% 42%, rgba(33,94,145,.22), transparent 48%), var(--night);
}
.hero.shell::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 78% 42%,rgba(130,232,241,.08),transparent 42%), linear-gradient(180deg,rgba(5,7,17,.22),transparent 48%,rgba(5,7,17,.92)); }
.hero.shell::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg,transparent,rgba(130,232,241,.46),rgba(242,189,114,.25),transparent); }
.hero-copy { position: relative; z-index: 3; width: min(720px, 56vw); margin: 8px 0 0 max(0px, calc((100% - var(--site-max))/2)); padding: 0; }
.hero-copy .eyebrow { margin-bottom: 16px; color: var(--cyan); font-size: .66rem; letter-spacing: .2em; text-shadow: 0 0 22px rgba(130,232,241,.28); }
.hero-copy .eyebrow.brand-eyebrow,.ecosystem-copy .eyebrow.brand-eyebrow { text-transform: none; letter-spacing: .08em; }
.hero-copy .eyebrow-divider { color: var(--gold); }
.hero-copy h1 { max-width: 720px; margin: 0 0 20px; font-size: clamp(3.3rem,6.1vw,6.2rem); line-height: .94; letter-spacing: -.076em; text-wrap: balance; text-shadow: 0 16px 54px rgba(0,0,0,.45); }
.hero-copy h1 em { color: #d9edff; font-family: Georgia,"Times New Roman",serif; font-weight: 400; }
.hero-copy .lede { max-width: 620px; color: #dce8f3; font-size: clamp(1.08rem,1.55vw,1.3rem); line-height: 1.48; }
.hero-copy .hero-detail { max-width: 590px; color: #b3c3d3; font-size: .95rem; line-height: 1.7; }
.hero-copy .actions { gap: 11px; margin-top: 20px; }
.hero-copy .button { min-height: 47px; border-radius: 999px; padding: 12px 18px; font-size: .83rem; }
.hero-copy .button.primary { color: #06111b; background: linear-gradient(125deg,#9af0f2,#81b8ff 62%,#cbb6ff); box-shadow: 0 11px 32px rgba(89,190,224,.24); }
.hero-copy .button.primary:hover { transform: translateY(-2px); box-shadow: 0 15px 40px rgba(89,190,224,.34); }
.hero-copy .button.quiet { border-color: rgba(220,235,251,.3); background: rgba(4,8,18,.42); color: var(--white); backdrop-filter: blur(10px); }
.hero-copy .micro { margin-top: 16px; color: #c3d2df; font-size: .59rem; letter-spacing: .11em; line-height: 1.7; }
.hero-copy .signal { background: var(--cyan); box-shadow: 0 0 15px var(--cyan); }
.hero-stage { position: absolute; inset: 0; z-index: 0; display: block; width: 100%; min-height: 100%; margin: 0; border: 0; border-radius: 0; background: none; box-shadow: none; pointer-events: none; }
.hero-stage::before { content: ""; position: absolute; inset: 0; z-index: 1; display: block; pointer-events: none; background: linear-gradient(90deg,rgba(4,6,15,.91) 0%,rgba(4,6,15,.78) 29%,rgba(4,6,15,.35) 47%,rgba(4,6,15,.04) 72%,rgba(4,6,15,.1) 100%),linear-gradient(0deg,rgba(4,6,15,.76),transparent 30%,transparent 76%,rgba(4,6,15,.18)); }
.hero-stage::after { content: ""; position: absolute; inset: 0; z-index: 1; display: block; pointer-events: none; opacity: .12; background-image: linear-gradient(rgba(130,232,241,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(130,232,241,.08) 1px,transparent 1px); background-size: 76px 76px; mask-image: linear-gradient(90deg,#000,transparent 78%); }
.hero-stage .hero-art { position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 49%; opacity: 1; mix-blend-mode: normal; filter: saturate(1.04) contrast(1.03); transform: none; }
.hero-stage > *:not(.hero-art) { display: none !important; }

/* Ecosystem: connected source categories embedded in a cinematic intelligence field. */
.ecosystem-band { position: relative; isolation: isolate; overflow: hidden; padding: clamp(88px,10vw,140px) 0 104px; border-block: 1px solid rgba(130,232,241,.16); background: linear-gradient(112deg,rgba(4,8,18,.95),rgba(7,14,29,.86) 58%,rgba(12,8,26,.93)),url("assets/lexx-network-field.png") center/cover no-repeat; }
.ecosystem-band::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 73% 34%,rgba(65,143,205,.2),transparent 37%),radial-gradient(ellipse at 8% 88%,rgba(119,72,177,.12),transparent 36%); }
.ecosystem-band::after { content: ""; position: absolute; right: 4%; top: 10%; z-index: -1; width: 150px; height: 115px; opacity: .12; background: url("assets/lexx-dragonfly.svg") center/contain no-repeat; transform: rotate(-12deg); }
.ecosystem-inner { display: grid; grid-template-columns: minmax(270px,.82fr) minmax(0,1.18fr); align-items: center; gap: clamp(35px,6vw,86px); }
.ecosystem-copy { position: relative; z-index: 2; max-width: 590px; }
.ecosystem-copy .eyebrow { color: var(--cyan); letter-spacing: .19em; }
.ecosystem-copy h2 { margin: 0 0 19px; font-size: clamp(2.5rem,4.5vw,4.6rem); line-height: .99; letter-spacing: -.068em; text-wrap: balance; }
.ecosystem-copy p:not(.eyebrow) { max-width: 560px; margin: 0; color: #b3c1d1; font-size: .94rem; line-height: 1.72; }
.ecosystem-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: rgba(5,10,21,.31); }
.ecosystem-tile { min-height: 106px; display: grid; align-content: center; justify-items: start; gap: 6px; padding: 16px 13px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; background: rgba(7,14,28,.42); transition: background .22s ease,border-color .22s ease; }
.ecosystem-tile:hover { transform: none; background: rgba(23,49,73,.66); border-color: rgba(130,232,241,.43); }
.ecosystem-tile span:not(.logo-duo) { color: #edf3fb; font-size: .82rem; line-height: 1.24; }
.ecosystem-tile small { color: #a8b7c8; font-size: .65rem; letter-spacing: .03em; }
.ecosystem-tile .corp-logo { width: 23px; height: 23px; object-fit: contain; display: block; }
.ecosystem-tile .logo-duo { display: flex; align-items: center; gap: 6px; height: 23px; }
.ecosystem-tile .logo-duo .corp-logo { width: 20px; height: 20px; }
.ecosystem-tile .text-mark { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 6px; color: #fff; font-size: .75rem; }
.ecosystem-inner::after { content: "Illustrative categories · availability varies by deployment"; grid-column: 2; justify-self: end; margin-top: -22px; color: #9aaabe; font-size: .68rem; letter-spacing: .03em; }

/* Operating layer: dimensional command scene with a clear, human-reviewed sequence. */
#operating-layer.section.shell { position: relative; isolation: isolate; overflow: hidden; width: 100%; max-width: none; margin: 0; padding: clamp(94px,10vw,142px) max(28px,calc((100% - var(--site-max))/2)) 112px; background: #06101f; }
#operating-layer::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg,rgba(4,8,17,.92),rgba(5,11,23,.72) 45%,rgba(4,8,17,.74)),linear-gradient(0deg,rgba(4,8,17,.78),transparent 60%),url("assets/lexx-command-center.webp") center/cover no-repeat; }
#operating-layer::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 74% 34%,rgba(73,156,215,.18),transparent 34%); }
#operating-layer .section-head { max-width: 880px; margin: 0 0 36px; padding-left: 20px; }
#operating-layer .section-head::before { width: 2px; background: linear-gradient(var(--cyan),var(--violet),transparent); }
#operating-layer .section-head h2 { max-width: 850px; margin: 0 0 18px; font-size: clamp(2.7rem,5vw,5rem); line-height: .98; letter-spacing: -.07em; }
#operating-layer .section-head p.lede { max-width: 690px; color: #bcc9d8; font-size: .94rem; line-height: 1.68; }
.field-console { margin: 36px 0 21px; border: 1px solid rgba(130,232,241,.34); border-radius: 0; background: linear-gradient(120deg,rgba(4,13,25,.78),rgba(8,18,35,.65)); box-shadow: 0 30px 78px rgba(0,0,0,.27); backdrop-filter: blur(12px); }
.field-console::before { opacity: .35; }
.console-header { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid rgba(130,232,241,.2); color: #d9f6fa; font-size: .72rem; letter-spacing: .1em; }
.console-header b { color: var(--cyan); font-size: .65rem; }
.console-track { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 21px 18px; }
.console-track>i { color: var(--gold); font-style: normal; }
.console-node { position: relative; z-index: 1; min-width: 140px; padding: 15px 13px; border: 1px solid rgba(195,222,255,.18); background: rgba(4,10,22,.84); }
.console-node.active { border-color: rgba(130,232,241,.7); box-shadow: 0 0 24px rgba(130,232,241,.12); }
.console-node.amber { border-color: rgba(242,189,114,.62); }
.console-node small { display: block; color: #b3c4d5; font-size: .65rem; letter-spacing: .06em; }
.console-node strong { display: block; margin: 8px 0 4px; color: #f4f7ff; font-size: 1.05rem; }
.console-node em { color: var(--cyan); font-size: .72rem; font-style: normal; }
.console-node.amber em { color: var(--gold); }
#operating-layer .cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; border-top: 1px solid rgba(195,222,255,.16); border-bottom: 1px solid rgba(195,222,255,.16); perspective: none; }
#operating-layer .card { position: relative; min-height: 230px; padding: 27px 25px; border: 0; border-right: 1px solid rgba(195,222,255,.16); border-radius: 0; background: rgba(5,11,23,.5); box-shadow: none; backdrop-filter: blur(7px); transition: background .2s ease; }
#operating-layer .card:last-child { border-right: 0; }
#operating-layer .card:hover { transform: none; background: rgba(20,42,63,.57); box-shadow: none; }
#operating-layer .card.featured { border-color: rgba(130,232,241,.35); background: linear-gradient(145deg,rgba(13,39,54,.72),rgba(5,11,23,.52)); }
#operating-layer .card .index { top: 22px; right: 22px; color: var(--gold); font-size: 1.2rem; }
#operating-layer .card h3 { margin: 53px 0 10px; font-size: 1.24rem; }
#operating-layer .card p { color: #b4c2d1; font-size: .81rem; line-height: 1.64; }

/* Security: the information boundary itself becomes the full-width visual. */
.security-band { position: relative; isolation: isolate; overflow: hidden; padding: clamp(88px,10vw,138px) 0 116px; background: linear-gradient(120deg,#06101f,#0c1229 54%,#170e2c); border-block: 1px solid rgba(130,232,241,.13); }
.security-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 83% 27%,rgba(84,108,184,.23),transparent 32%),radial-gradient(ellipse at 16% 80%,rgba(34,133,167,.12),transparent 35%),linear-gradient(90deg,rgba(4,8,17,.22),transparent 60%); }
.security-band .section-head { max-width: 900px; margin-bottom: 27px; }
.security-band .section-head h2 { margin: 0 0 16px; font-size: clamp(2.7rem,5vw,5rem); line-height: .98; letter-spacing: -.07em; }
.security-band .section-head p.lede { max-width: 700px; color: #b4c3d4; font-size: .94rem; line-height: 1.68; }
.boundary-console { position: relative; margin: 35px 0 23px; border: 1px solid rgba(130,232,241,.32); border-radius: 0; background: linear-gradient(120deg,rgba(5,14,27,.73),rgba(17,11,36,.68)); box-shadow: 0 28px 65px rgba(0,0,0,.26); backdrop-filter: blur(12px); }
.boundary-console::before { opacity: .28; }
.boundary-line { position: relative; display: flex; align-items: center; justify-content: space-around; gap: 12px; padding: 24px 17px; }
.boundary-line::before { content: ""; position: absolute; left: 9%; right: 9%; top: 50%; height: 1px; background: linear-gradient(90deg,var(--cyan),var(--violet),var(--gold)); opacity: .42; }
.boundary-line>i { position: relative; z-index: 1; color: var(--gold); font-style: normal; }
.boundary-node,.boundary-gate { position: relative; z-index: 1; min-width: 155px; display: grid; justify-items: center; gap: 5px; padding: 15px 12px; border: 1px solid rgba(195,222,255,.2); background: rgba(5,11,23,.93); text-align: center; }
.boundary-node b,.boundary-gate b { color: #e8f4ff; font-size: .79rem; letter-spacing: .08em; }
.boundary-node small,.boundary-gate small { color: #b0bfd0; font-size: .62rem; letter-spacing: .05em; text-transform: uppercase; }
.boundary-node.remote { border-color: rgba(169,138,255,.48); }
.boundary-node.human { border-color: rgba(242,189,114,.5); }
.boundary-footer { display: flex; justify-content: space-between; gap: 16px; padding: 11px 17px; border-top: 1px solid rgba(195,222,255,.14); color: #9cadc0; font-size: .54rem; letter-spacing: .13em; }
.boundary-footer b { color: var(--gold); font-weight: 700; }
.security-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.security-card { position: relative; min-height: 250px; padding: 26px 24px; border: 0; border-right: 1px solid var(--line); border-radius: 0; background: rgba(5,11,22,.46); }
.security-card:last-child { border-right: 0; }
.security-card::after { display: none; }
.security-card.remote { background: rgba(31,18,56,.4); }
.security-card.action { background: rgba(38,27,19,.34); }
.security-card .mode-label { color: var(--cyan); font-size: .57rem; letter-spacing: .16em; }
.security-card.remote .mode-label { color: #c5a7ff; }
.security-card.action .mode-label { color: var(--gold); }
.security-card h3 { margin: 22px 0 10px; font-size: 1.18rem; letter-spacing: -.03em; }
.security-card p { color: #b4c1d0; font-size: .78rem; line-height: 1.65; }
.security-card .tag { display: inline-block; margin-top: 13px; padding: 6px 8px; border: 1px solid rgba(130,232,241,.3); color: #bcecf2; font-size: .53rem; letter-spacing: .12em; }
.security-note { margin: 18px 0 0; color: #94a3b6; font-size: .68rem; }
.security-note strong,.security-note b { color: var(--gold); }

/* Use-case scene: product work plus the optional helmeted Lexx persona. */
#use-cases.section.shell { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0,1.04fr) minmax(340px,.96fr); grid-template-rows: auto auto 1fr; gap: 0 46px; align-items: center; width: 100%; max-width: none; margin: 0; padding: clamp(90px,10vw,142px) max(28px,calc((100% - var(--site-max))/2)); background: linear-gradient(110deg,#060a15,#091325 62%,#0b0d1d); }
#use-cases::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 80% 45%,rgba(57,126,195,.16),transparent 35%),linear-gradient(90deg,transparent 42%,rgba(4,7,16,.18)); }
#use-cases .section-head { grid-column: 1; grid-row: 1; align-self: end; max-width: 640px; margin: 0 0 26px; }
#use-cases .section-head h2 { max-width: 690px; margin: 0; font-size: clamp(2.6rem,4.9vw,4.9rem); line-height: .98; letter-spacing: -.07em; }
#use-cases .workstream-console { grid-column: 1; grid-row: 2; align-self: start; margin: 0 0 14px; border: 1px solid rgba(130,232,241,.3); border-radius: 0; background: linear-gradient(120deg,rgba(5,15,28,.7),rgba(13,14,30,.64)); box-shadow: none; backdrop-filter: blur(10px); }
#use-cases .workstream-console::before { opacity: .25; }
#use-cases .workstream-header { padding: 10px 13px; font-size: .67rem; }
#use-cases .workstream-track { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; padding: 0; }
#use-cases .workstream-track>span { display: grid; gap: 5px; min-height: 72px; align-content: center; padding: 12px; border-right: 1px solid rgba(195,222,255,.12); }
#use-cases .workstream-track>span:last-child { border-right: 0; }
#use-cases .workstream-track b { color: #e8f3ff; font-size: .68rem; letter-spacing: .06em; }
#use-cases .workstream-track small { color: #b0bfd0; font-size: .64rem; }
#use-cases .use-grid { grid-column: 1; grid-row: 3; display: grid; grid-template-columns: 1fr; width: 100%; border-top: 1px solid var(--line); background: transparent; }
#use-cases .use-item { display: grid; grid-template-columns: 38px 1fr; gap: 11px; padding: 13px 4px; border-color: rgba(195,222,255,.14); }
#use-cases .use-item>span { color: var(--gold); font-size: .61rem; }
#use-cases .use-item h3 { margin: 0 0 3px; font-size: .88rem; }
#use-cases .use-item p { margin: 0; color: #aebed0; font-size: .72rem; line-height: 1.52; }
#use-cases .persona-feature { position: relative; grid-column: 2; grid-row: 1 / span 3; align-self: stretch; min-height: 530px; margin: 0; overflow: hidden; border: 1px solid rgba(130,232,241,.28); background: #050915; box-shadow: 0 34px 82px rgba(0,0,0,.36); }
#use-cases .persona-feature::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg,rgba(4,7,16,.94),transparent 29%),linear-gradient(90deg,rgba(4,7,16,.14),transparent 58%); }
#use-cases .persona-feature img { display: block; width: 100%; height: 100%; min-height: 530px; object-fit: cover; object-position: 52% center; }
#use-cases .persona-feature figcaption { position: absolute; z-index: 2; right: 15px; bottom: 14px; left: 17px; display: grid; gap: 4px; color: #c6d4e3; font-size: .62rem; }
#use-cases .persona-feature figcaption strong { color: var(--cyan); font-size: .55rem; letter-spacing: .14em; text-transform: uppercase; }

/* Workflow: a luminous path rather than a stack of cards. */
.workflow-band { position: relative; overflow: hidden; padding: clamp(82px,9vw,122px) 0 98px; background: linear-gradient(115deg,rgba(5,9,19,.94),rgba(7,13,28,.82),rgba(16,9,30,.93)),url("assets/lexx-hero-revamp.webp") center 42%/cover no-repeat; border-block: 1px solid rgba(130,232,241,.16); }
.workflow-band::before { content: ""; position: absolute; right: 5%; top: 7%; width: 110px; height: 82px; opacity: .14; background: url("assets/lexx-dragonfly.svg") center/contain no-repeat; }
.workflow h2 { margin: 0; font-size: clamp(2.4rem,4.8vw,4.8rem); line-height: .98; letter-spacing: -.07em; }
.workflow .eyebrow { color: var(--cyan); }
.workflow .path { display: flex; align-items: stretch; justify-content: space-between; gap: 8px; margin-top: 42px; padding: 0; border: 0; border-radius: 0; background: transparent; overflow: visible; }
.workflow .path>div { position: relative; z-index: 1; flex: 1 1 0; min-width: 0; display: grid; align-content: start; gap: 8px; padding: 19px 13px 18px; border-top: 1px solid rgba(130,232,241,.4); border-bottom: 1px solid rgba(195,222,255,.11); background: rgba(5,11,22,.38); }
.workflow .path>div b { color: #eff7ff; font-size: .75rem; letter-spacing: .1em; }
.workflow .path>div span { color: #a6b5c8; font-size: .62rem; line-height: 1.3; }
.workflow .path>i { align-self: center; flex: 0 0 auto; color: var(--gold); font-style: normal; font-size: 1rem; }

/* Briefing and footer close the same visual world. */
#briefing.section.shell { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(300px,.7fr); align-items: center; gap: 54px; width: 100%; max-width: none; margin: 0; padding: clamp(88px,10vw,142px) max(28px,calc((100% - var(--site-max))/2)); background: #050914; }
#briefing::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(4,7,16,.93),rgba(4,7,16,.79) 53%,rgba(4,7,16,.32)),linear-gradient(0deg,rgba(4,7,16,.65),transparent),url("assets/lexx-hero-revamp.webp") right 42%/cover no-repeat; }
#briefing::after { display: none; }
#briefing>div:first-child { max-width: 680px; }
#briefing h2 { margin: 0 0 18px; font-size: clamp(2.8rem,5.6vw,5.6rem); line-height: .96; letter-spacing: -.075em; }
#briefing p.lede { max-width: 630px; color: #bbc8d6; font-size: .96rem; line-height: 1.7; }
#briefing .briefing-card { position: relative; overflow: hidden; padding: 29px 27px; border: 1px solid rgba(242,189,114,.45); border-radius: 2px; background: linear-gradient(145deg,rgba(8,27,42,.82),rgba(22,11,36,.82)); box-shadow: 0 28px 72px rgba(0,0,0,.33); backdrop-filter: blur(12px); }
#briefing .briefing-card h3 { margin: 0 0 8px; font-size: 1.34rem; }
#briefing .briefing-card p { color: #b6c4d3; font-size: .8rem; line-height: 1.62; }
#briefing .small-ship { width: 122px; height: 43px; margin-bottom: 17px; }
#briefing .briefing-status { margin: 20px 0; padding: 13px 0; border-color: rgba(130,232,241,.22); font-size: .52rem; }
.site-footer { background: #03050c; border-top: 1px solid rgba(130,232,241,.17); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 27px 0 22px; }
.footer-inner>div:first-child>p { color: #92a1b6; font-size: .67rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; color: #b4c0d0; font-size: .69rem; }
.footer-links a:hover { color: var(--cyan); }
.legal-line { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0 19px; border-top: 1px solid rgba(195,222,255,.1); color: #7f8da1; font-size: .61rem; }

@media (max-width: 1000px) {
  .ecosystem-inner { grid-template-columns: 1fr; gap: 32px; }
  .ecosystem-copy { max-width: 800px; }
  .ecosystem-inner::after { grid-column: 1; margin-top: -17px; }
  .hero-copy { width: min(610px,58vw); }
  .operation-sequence { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .sequence-link { display: none; }
  .operation-step { border-right: 1px solid rgba(195,222,255,.13); }
  .operation-step:last-child { border-right: 0; }
  #use-cases.section.shell { grid-template-columns: minmax(0,1fr) minmax(300px,.78fr); gap: 0 28px; }
  #use-cases .persona-feature,#use-cases .persona-feature img { min-height: 470px; }
}
@media (max-width: 760px) {
  .shell { width: min(var(--site-max),calc(100% - 36px)); }
  .site-header { padding: 0; }
  .site-header .brand { gap: 8px; }
  .site-header .ship-mark { width: 58px; height: 34px; flex-basis: 58px; }
  .site-header .brand::after { width: 24px; height: 20px; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; align-items: stretch; gap: 0; padding: 8px 18px 16px; border-bottom: 1px solid var(--line); background: rgba(5,8,18,.98); box-shadow: 0 18px 38px rgba(0,0,0,.35); }
  .site-nav.open { display: grid; }
  .site-nav a { padding: 12px 4px; border-bottom: 1px solid rgba(195,222,255,.1); font-size: .84rem; }
  .site-nav .nav-briefing { margin-top: 8px; padding: 11px 12px; border-radius: 7px; }
  .hero.shell { display: flex; flex-direction: column; min-height: 0; padding: 82px 0 0; }
  .hero-copy { width: min(var(--site-max),calc(100% - 36px)); margin: 0 auto; padding: 24px 0 27px; }
  .hero-copy .eyebrow { font-size: .56rem; letter-spacing: .13em; }
  .hero-copy h1 { max-width: 600px; font-size: clamp(3rem,12.7vw,4.4rem); }
  .hero-copy .lede { font-size: 1.02rem; }
  .hero-copy .hero-detail { font-size: .86rem; }
  .hero-copy .actions { display: grid; grid-template-columns: 1fr; gap: 9px; }
  .hero-copy .actions .button { justify-content: center; }
  .hero-copy .micro { margin-top: 18px; font-size: .54rem; }
  .hero-stage { position: relative; inset: auto; width: 100%; height: auto; min-height: 0; aspect-ratio: 3/2; margin-top: 0; border-top: 1px solid rgba(130,232,241,.24); }
  .hero-stage .hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-position: center 50%; }
  .hero-stage::before { background: linear-gradient(0deg,rgba(4,6,15,.3),transparent 56%),linear-gradient(180deg,rgba(4,6,15,.14),transparent 33%); }
  .hero-image-caption { right: 14px; bottom: 12px; font-size: .47rem; }
  .hero-scroll { display: none; }
  .ecosystem-band,#operating-layer.section.shell,.security-band,.workflow-band { padding-top: 78px; padding-bottom: 78px; }
  .ecosystem-inner { width: calc(100% - 36px); }
  .ecosystem-copy h2,.section-head h2 { font-size: clamp(2.4rem,10vw,3.6rem); }
  .ecosystem-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ecosystem-tile { min-height: 80px; padding: 12px 10px; }
  .ecosystem-tile span:not(.logo-duo) { font-size: .74rem; }
  .ecosystem-inner::after { font-size: .62rem; line-height: 1.5; }
  #operating-layer.section.shell { padding-left: 18px; padding-right: 18px; }
  #operating-layer .section-head { padding-left: 16px; }
  #operating-layer .section-head h2 { font-size: clamp(2.45rem,9.8vw,3.9rem); }
  .field-console { margin: 26px 0 17px; }
  .console-header { font-size: .58rem; }
  .console-track { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 12px; }
  .console-track::before,.console-track>i { display: none; }
  .console-node { min-width: 0; display: grid; grid-template-columns: 34px 1fr; column-gap: 8px; align-items: center; padding: 10px; }
  .console-node small { grid-row: span 2; font-size: .56rem; }
  .console-node strong { margin: 0; font-size: .74rem; }
  .console-node em { font-size: .52rem; }
  #operating-layer .cards { grid-template-columns: 1fr; }
  #operating-layer .card { min-height: 0; padding: 20px 18px; border-right: 0; border-bottom: 1px solid rgba(195,222,255,.14); }
  #operating-layer .card:last-child { border-bottom: 0; }
  #operating-layer .card h3 { margin: 6px 50px 8px 0; font-size: 1.12rem; }
  #operating-layer .card .index { top: 17px; right: 18px; }
  #operating-layer .card p { font-size: .75rem; }
  .operating-footer { flex-wrap: wrap; font-size: .55rem; line-height: 1.7; }
  .boundary-line { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 13px 9px; }
  .boundary-line::before { left: 50%; right: auto; top: 14%; bottom: 14%; width: 1px; height: auto; transform: none; }
  .boundary-line>i { display: none; }
  .boundary-node,.boundary-gate { min-width: 0; min-height: 85px; padding: 11px 8px; }
  .boundary-node b,.boundary-gate b { font-size: .68rem; }
  .boundary-node small,.boundary-gate small { font-size: .62rem; }
  .boundary-footer { flex-direction: column; gap: 6px; font-size: .58rem; }
  .security-grid { grid-template-columns: 1fr; }
  .security-card { min-height: 0; padding: 20px 6px; border-right: 0; border-bottom: 1px solid var(--line); }
  .security-card:last-child { border-bottom: 0; }
  .security-card h3 { margin: 13px 0 7px; font-size: 1.07rem; }
  .security-card p { font-size: .75rem; }
  #use-cases.section.shell { display: block; width: 100%; padding: 78px 18px; }
  #use-cases .section-head { margin-bottom: 23px; }
  #use-cases .section-head h2 { font-size: clamp(2.4rem,10vw,3.6rem); }
  #use-cases .workstream-track { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #use-cases .workstream-track>span { min-height: 62px; border-bottom: 1px solid rgba(195,222,255,.1); }
  #use-cases .workstream-track>span:nth-child(even) { border-right: 0; }
  #use-cases .persona-feature { min-height: 0; margin-top: 25px; }
  #use-cases .persona-feature img { min-height: 0; aspect-ratio: 3/2; object-position: center 48%; }
  #use-cases .persona-feature figcaption { font-size: .55rem; }
  .workflow .path { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 28px; }
  .workflow .path>i { display: none; }
  .workflow .path>div { display: grid; grid-template-columns: 92px 1fr; gap: 3px 10px; padding: 12px 13px; border-top: 0; border-bottom: 1px solid rgba(195,222,255,.12); }
  .workflow .path>div b { grid-row: span 2; align-self: center; font-size: .68rem; }
  .workflow .path>div span { font-size: .61rem; }
  .workflow-band { padding-left: 0; padding-right: 0; }
  #briefing.section.shell { display: block; width: 100%; padding: 78px 18px; }
  #briefing>div:first-child { margin-bottom: 27px; }
  #briefing h2 { font-size: clamp(2.7rem,11vw,4rem); }
  #briefing .briefing-card { padding: 22px 19px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 15px; padding: 23px 0 18px; }
  .footer-links { gap: 11px 15px; font-size: .65rem; }
  .legal-line { flex-direction: column; gap: 5px; font-size: .57rem; }
}
@media (max-width: 390px) {
  .site-header .brand::after { display: none; }
  .hero-copy .eyebrow { letter-spacing: .1em; }
  .hero-copy .micro { display: grid; gap: 3px; }
  .hero-copy .micro .signal { display: none; }
  .orbit-label { font-size: .45rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
