/* The homepage opens on paper white, then follows the scroll into Legion's forest palette. */
body.legion-landing-page {
  --landing-bg: rgb(255, 255, 255);
  --landing-ink: #111713;
  --landing-muted: #505950;
  --landing-line: rgba(17, 23, 19, .16);
  --landing-button: #111713;
  --landing-button-ink: #fff;
  --landing-logo-invert: 0;
  --landing-font: Arial, Helvetica, sans-serif;
  background: #0d1410;
  font-family: var(--landing-font);
}
.legion-landing-page header.legion-header,
.legion-landing-page .legion-mobile-nav {
  --lh-bg: var(--landing-bg);
  --lh-bg-solid: var(--landing-bg);
  --lh-surface: var(--landing-bg);
  --lh-border: var(--landing-line);
  --lh-border-strong: var(--landing-line);
  --lh-text: var(--landing-ink);
  --lh-muted: var(--landing-muted);
  --lh-soft: var(--landing-muted);
  --lh-accent: var(--landing-ink);
  --lh-accent-soft: transparent;
  --lh-shadow: 0 20px 50px #00000012;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: none;
}
.legion-landing-page header.legion-header.is-scrolled {border-color: var(--landing-line);box-shadow: none;}
.legion-landing-page header.legion-header > .container {max-width: 1440px;padding-inline: clamp(24px, 5.5vw, 88px);}
.legion-landing-page header.legion-header .nav-logo img {height: 30px;filter: brightness(0) invert(var(--landing-logo-invert));}
.legion-landing-page header.legion-header .nav-link-item,
.legion-landing-page header.legion-header .nav-dropdown-toggle {font-family: var(--landing-font);font-size: 12px;font-weight: 500;}
.legion-landing-page header.legion-header .btn-nav-signup {background: var(--landing-button);color: var(--landing-button-ink);font-size: 12px;font-weight: 500;box-shadow: none;}
.legion-landing-page header.legion-header .btn-nav-signin {font-size: 12px;font-weight: 500;border: none;}
.legion-landing-page header.legion-header :is(.nav-link-item, .nav-dropdown-toggle, .btn-nav-signin, .btn-nav-signup, .btn-nav-panel, .mobile-toggle) {transition: transform .2s ease, opacity .2s ease;}
.legion-landing-page header.legion-header .dropdown-menu-legion a {color: var(--landing-ink);}
.legion-landing-page header.legion-header .dropdown-menu-legion .dd-desc {color: var(--landing-muted);}
.legion-landing-page header.legion-header .mobile-toggle {color: var(--landing-ink);border-color: var(--landing-line);background: transparent;}
.legion-landing-page header.legion-header :is(a, button):focus-visible {outline: 2px solid var(--landing-ink);outline-offset: 4px;}
.legion-landing-page .legion-mobile-nav {background: var(--landing-bg);border-color: var(--landing-line);}
.legion-landing-page .legion-mobile-nav a {color: var(--landing-ink);border-color: var(--landing-line);}
.legion-landing-page .legion-mobile-nav .mob-section-label {color: var(--landing-muted);}
.legion-landing-page .legion-mobile-nav .mob-buttons a {border: 1px solid var(--landing-line);}
.legion-landing-page .legion-mobile-nav .mob-buttons a:last-child {background: var(--landing-button) !important;color: var(--landing-button-ink) !important;}
.legion-home {background: #0d1410;color: #f0f3ef;overflow: clip;font-family: var(--landing-font);}
.legion-home h1,.legion-home h2,.legion-home h3 {font-family: var(--landing-font);font-weight: 400;}
.legion-home .container {width: 100%;max-width: 1440px;padding-inline: clamp(24px, 5.5vw, 88px);}
.legion-home a,.legion-home button {-webkit-tap-highlight-color: transparent;}
.legion-home a:focus-visible,.legion-home button:focus-visible {outline: 2px solid currentColor;outline-offset: 6px;}
.legion-home-opening {background: var(--landing-bg);color: var(--landing-ink);}
/* The shared dark-mode stylesheet forces white headings and styles every paragraph/icon. */
body.legion-landing-page .legion-home-opening :is(h1, h2) {color: var(--landing-ink) !important;}
.legion-landing-page .legion-home-opening p {color: var(--landing-muted);}
.legion-landing-page .legion-home-opening :is(.legion-home-hero__eyebrow, .legion-home-kicker) {color: var(--landing-ink);}
.legion-landing-page header.legion-header i,
.legion-landing-page .legion-home-opening i {color: inherit;}
.legion-home-hero {position: relative;display: flex;flex-direction: column;justify-content: space-between;min-height: min(1000px, calc(100svh - 68px));padding: 0;background: none;border: 0;}
.legion-home-hero__inner {display: grid;grid-template-columns: 1.12fr 1fr;align-items: center;gap: 3%;flex: 1;padding-block: clamp(70px, 9vh, 112px) 44px;text-align: left;}
.legion-home-hero__copy {z-index: 1;min-width: 0;}
.legion-home-hero__eyebrow,.legion-home-kicker,.legion-home-section__eyebrow {display: block;font-family: var(--landing-font);font-size: 11px;font-weight: 500;line-height: 1.6;letter-spacing: .14em;text-transform: uppercase;}
.legion-home-hero__eyebrow {margin: 0 0 32px;color: var(--landing-ink);}
.legion-home-hero h1 {max-width: 670px;margin: 0;color: var(--landing-ink);font-size: clamp(64px, 7.55vw, 112px);font-weight: 400;line-height: .99;letter-spacing: -.067em;text-wrap: balance;text-shadow: none;}
.legion-home-hero__description {max-width: 475px;margin: 32px 0 0;color: var(--landing-muted);font-size: clamp(16px, 1.3vw, 19px);line-height: 1.65;}
.legion-home-announcement {display: inline-block;margin: 0 0 20px;padding: 0;border: 0;background: none;color: var(--landing-muted);font-size: 12px;}
.legion-home-actions {justify-content: flex-start;gap: 24px;margin-top: 32px;}
.legion-home-actions a {min-height: 48px;padding: 14px 0;border: none;border-radius: 0;color: var(--landing-ink);font-size: 12px;font-weight: 500;gap: 22px;}
.legion-home-opening .legion-home-actions a {transition: transform .2s ease, opacity .2s ease;}
.legion-home-actions a::after,.legion-home-section__actions a::after {content: '↗';font-family: Arial, sans-serif;font-size: 17px;font-weight: 400;transition: transform .25s ease;}
.legion-home-actions a:hover::after,.legion-home-section__actions a:hover::after {transform: translate(2px, -2px);}
.legion-home-actions a:hover {color: var(--landing-ink);transform: none;}
.legion-home-actions a.primary {padding-inline: 22px;border: 1px solid var(--landing-button);border-radius: 3px;background: var(--landing-button);color: var(--landing-button-ink);}
.legion-home-actions a.primary:hover {border-color: var(--landing-button);background: var(--landing-button);color: var(--landing-button-ink);opacity: .85;}
.legion-home-emergence {position: relative;align-self: stretch;display: flex;flex-direction: column;justify-content: center;min-width: 0;max-height: 640px;}
.legion-home-emergence__art {position: relative;width: 115%;aspect-ratio: 1;margin-left: -7.5%;}
.legion-home-emergence__art img,.legion-home-field {position: absolute;inset: 0;width: 100%;height: 100%;object-fit: contain;}
.legion-home-emergence__art img {filter: invert(var(--landing-logo-invert));}
.legion-home-field {opacity: 0;pointer-events: none;}
.landing-art-ready .legion-home-field {opacity: 1;}
.landing-art-ready .legion-home-emergence__art img {opacity: 0;}
.legion-home-emergence__label,.legion-home-emergence__caption {position: absolute;left: 5%;color: var(--landing-muted);font-family: monospace;font-size: 9px;letter-spacing: .065em;}
.legion-home-emergence__label {top: 3%;}
.legion-home-emergence__caption {bottom: 4%;display: flex;align-items: center;gap: 10px;}
.legion-home-emergence__dot {width: 5px;height: 5px;background: currentColor;border-radius: 50%;}
.legion-home-hero__foot {display: flex;align-items: center;justify-content: space-between;gap: 20px;min-height: 82px;color: var(--landing-muted);font-size: 10px;letter-spacing: .02em;}
.legion-home-scroll {display: flex;align-items: center;gap: 12px;color: var(--landing-ink);text-decoration: none;}
.legion-home-scroll:hover {color: var(--landing-ink);}
.legion-home-scroll__arrow {display: grid;place-items: center;width: 30px;height: 40px;border: 1px solid var(--landing-line);border-radius: 20px;font-size: 16px;transition: transform .25s;}
.legion-home-scroll:hover .legion-home-scroll__arrow {transform: translateY(4px);}
.legion-home-motion {display: inline-flex;align-items: center;gap: 8px;min-height: 44px;padding: 10px 0 10px 12px;border: 0;background: none;color: inherit;font-family: inherit;font-size: 10px;}
.legion-home-motion[hidden] {display: none;}
.legion-home-mission {position: relative;padding-block: clamp(100px, 16vw, 230px);scroll-margin-top: 68px;border-top: 1px solid var(--landing-line);}
.legion-home-mission__inner {display: grid;grid-template-columns: .4fr 1fr;gap: 8%;}
.legion-home-kicker {margin: 0 0 24px;color: inherit;}
.legion-home-mission__inner > .legion-home-kicker {margin-top: 10px;}
.legion-home-mission h2 {margin: 0;color: var(--landing-ink);font-size: clamp(44px, 5.4vw, 80px);line-height: 1.08;letter-spacing: -.055em;}
.legion-home-mission h2 span {font-family: Georgia, 'Times New Roman', serif;font-style: italic;font-weight: 400;letter-spacing: -.055em;}
.legion-home-mission__copy > p {max-width: 590px;margin: 32px 0;color: var(--landing-muted);font-size: 19px;line-height: 1.7;}
.legion-home-text-link {display: inline-flex;align-items: center;gap: 40px;min-height: 44px;border-bottom: 1px solid currentColor;color: var(--landing-ink);font-size: 13px;text-decoration: none;}
.legion-home-text-link:hover {color: var(--landing-ink);opacity: .75;}
.legion-home-film {padding-block: 104px 72px;background: #0d1410;}
.legion-home-film__heading {display: flex;align-items: flex-end;justify-content: space-between;gap: 40px;margin-bottom: 48px;}
.legion-home-film__heading .legion-home-kicker {color: #acc9b3;}
.legion-home-film h2 {margin: 0;color: #f0f3ef;font-size: clamp(38px, 4.6vw, 66px);letter-spacing: -.05em;line-height: 1.1;}
.legion-home-film__heading > p {margin: 0 0 4px;color: #aebbb1;font-size: 14px;line-height: 1.65;}
.legion-home-film__frame {position: relative;overflow: hidden;aspect-ratio: 16 / 9;border-radius: 4px;background: #070d09;}
.legion-home-film .legion-home-hero__video {display: block;width: 100%;height: 100%;max-height: none;margin: 0;border: 0;border-radius: 0;object-fit: contain;background: #070d09;}
.legion-home-film__caption {display: flex;justify-content: space-between;gap: 20px;padding-top: 16px;color: #9daf9f;font-family: monospace;font-size: 10px;}
.legion-home-curious-feature {padding-block: 120px;background: #15261b;border-block: 1px solid #bad2c11c;}
.legion-home-curious-feature__inner {grid-template-columns: 1.2fr 1fr;gap: 12%;}
.legion-home-curious-feature .legion-home-section__eyebrow {margin-bottom: 24px;color: #b8edc7;}
.legion-home-curious-feature h2 {max-width: 670px;margin-bottom: 24px;font-size: clamp(38px, 4.5vw, 64px);font-weight: 400;line-height: 1.08;letter-spacing: -.05em;}
.legion-home-curious-feature p {max-width: 490px;color: #b4c6b8;font-size: 16px;line-height: 1.7;}
.legion-home-curious-feature__steps {display: flex;flex-direction: column;align-items: stretch;gap: 0;padding: 0;border: none;border-radius: 0;background: none;box-shadow: none;}
.legion-home-curious-feature__steps span {display: flex;align-items: center;gap: 38px;padding: 20px 4px;border: 0;border-bottom: 1px solid #bad2c134;border-radius: 0;background: none;color: #e3eee5;font-size: 22px;font-weight: 400;line-height: 1.35;text-align: left;}
.legion-home-curious-feature__steps b {color: #a7bcae;font-family: monospace;font-size: 11px;font-weight: 400;}
.legion-home-curious-feature__steps i {display: none;}
.legion-home-sections {background: #0d1410;}
.legion-home-section {padding-block: 112px;border-top: 1px solid #bfd9c51c;background: #0d1410;scroll-margin-top: 68px;}
.legion-home-section.alt {background: #0d1410;}
.legion-home-section__inner {display: grid;grid-template-columns: .4fr 1fr;column-gap: 8%;text-align: left;}
.legion-home-section__inner > * {grid-column: 2;min-width: 0;}
.legion-home-section__inner > .legion-home-section__eyebrow {grid-column: 1;grid-row: 1 / span 5;align-self: start;margin: 8px 0 0;color: #b7c6b9;}
.legion-home-section__inner > .legion-home-section__eyebrow::before {display: block;content: var(--section-number, '');margin-bottom: 20px;font-family: monospace;font-size: 11px;letter-spacing: .02em;color: #93a999;}
.legion-home-section h2 {max-width: 820px;margin: 0 0 24px;color: #eff3ed;font-size: clamp(36px, 4.25vw, 60px);font-weight: 400;line-height: 1.1;letter-spacing: -.05em;text-wrap: balance;}
.legion-home-section__description {max-width: 650px;margin: 0;color: #afbeb3;font-size: 16px;line-height: 1.8;}
.legion-landing-page .legion-home-section__description {color: #afbeb3;}
.legion-home-section__actions {justify-content: flex-start;gap: 28px;margin-top: 30px;}
.legion-home-section__actions a,.legion-home-section__actions a.primary {justify-content: space-between;gap: 26px;min-height: 44px;padding: 10px 0;border: 0;border-bottom: 1px solid #accbb660;border-radius: 0;background: none;color: #c3e5ce;font-size: 12px;font-weight: 400;}
.legion-home-section__actions a:hover,.legion-home-section__actions a.primary:hover {border-color: #d1f6dc;background: none;color: #e5f7ea;transform: none;}
.legion-home-section--research .legion-today-research {gap: 24px;}
.legion-today-research > div,.legion-today-research > div + div {padding: 24px 0;border: 0;border-top: 1px solid #bed4c547;border-radius: 0;background: none;box-shadow: none;}
.legion-today-research b {font-weight: 400;}
.legion-today-research span,.legion-context-list span {color: #b8ddc3;font-weight: 400;}
.legion-context-list {gap: 24px;}
.legion-context-list li {padding: 22px 0;background: none;border-color: #bed4c547;}
.legion-context-list b {font-weight: 400;}
.legion-observable-flow {grid-template-columns: 1fr;margin-top: 36px;}
.legion-observable-flow__legacy {display: none;}
.legion-observable-flow__legion {padding: 0;border: none;border-radius: 0;background: none;}
.legion-observable-flow ol {grid-template-columns: repeat(5, minmax(0, 1fr));gap: 12px;overflow: visible;}
.legion-observable-flow li {padding: 14px 0;border-color: #b8edc7;background: none;}
.legion-observable-flow li:not(:last-child)::after {display: none;}
.legion-observable-flow b {font-size: 12px;font-weight: 400;line-height: 1.45;}
.legion-observable-flow small {font-size: 11px;line-height: 1.6;}
.legion-home-note {margin: 20px 0 0;color: #96a89c;font-size: 11px;}
.legion-agent-selection {width: 100%;grid-template-columns: auto 1fr;margin-top: 36px;padding: 24px 0;border: 0;border-block: 1px solid #bad2c12b;border-radius: 0;background: none;}
.legion-agent-selection p {grid-column: 1 / -1;}
.legion-review-path,.legion-control-principles,.legion-safety-list {justify-content: flex-start;margin: 32px 0 0;}
.legion-review-path span,.legion-control-principles span,.legion-safety-list span {padding: 10px 14px;border-color: #bad2c134;border-radius: 3px;background: none;color: #c4d3c7;font-size: 12px;font-weight: 400;}
.legion-network-insights {grid-template-columns: 1fr;gap: 0;margin-top: 12px;}
.legion-network-insights article {padding: 30px 0;border: none;border-bottom: 1px solid #bad2c12b;border-radius: 0;background: none;box-shadow: none;}
.legion-network-insights h3 {margin: 16px 0;font-size: 25px;letter-spacing: -.03em;}
.legion-network-insights__type {color: #b8ddc3;}
.legion-home-section--final {padding-block: 150px;background: #1b3022;}
.legion-home-section--final .legion-home-section__inner {display: block;text-align: center;}
.legion-home-section--final .legion-home-section__eyebrow {margin-bottom: 28px;}
.legion-home-section--final .legion-home-section__eyebrow::before {display: none;}
.legion-home-section--final h2 {max-width: 880px;margin: 0 auto 30px;font-size: clamp(48px, 6.5vw, 92px);line-height: 1.02;}
.legion-home-section--final .legion-home-section__description {max-width: 510px;margin-inline: auto;}
.legion-home-section--final .legion-home-section__actions {justify-content: center;}
.legion-home-section--final .legion-home-section__actions a {padding: 15px 24px;border: 0;border-radius: 3px;background: #c4e7ce;color: #0d2013;}
.legion-home-section--final .legion-home-section__actions a:hover {background: #e0f5e6;color: #0d2013;}
.landing-motion-ready [data-reveal] {opacity: 0;transform: translate3d(0, 28px, 0);transition: opacity .85s ease, transform .85s cubic-bezier(.2, .65, .2, 1);transition-delay: var(--reveal-delay, 0ms);}
.landing-motion-ready [data-reveal].is-visible {opacity: 1;transform: none;}
.landing-motion-ready [data-reveal]:focus-within {opacity: 1;transform: none;}
.landing-motion-paused [data-reveal] {opacity: 1;transform: none;transition: none;}
@media (min-width: 1700px) {.legion-home-hero__inner {padding-block: 110px 70px;}}
@media (max-width: 1100px) {
  .legion-home-hero h1 {font-size: clamp(60px, 7.3vw, 84px);}
  .legion-home-hero__inner {gap: 0;grid-template-columns: 1.1fr 1fr;}
  .legion-home-actions {gap: 12px;}
  .legion-home-actions a {font-size: 11px;gap: 14px;}
  .legion-home-actions a.primary {padding-inline: 16px;}
  .legion-home-mission__inner,.legion-home-section__inner {grid-template-columns: .3fr 1fr;gap: 6%;}
  .legion-home-curious-feature__inner {gap: 8%;}
}
@media (max-width: 800px) {
  .legion-home-hero {min-height: auto;}
  .legion-home-hero__inner {grid-template-columns: 1fr;gap: 30px;padding-block: 70px 12px;text-align: left;}
  .legion-home-hero h1 {max-width: 640px;font-size: clamp(60px, 10.6vw, 84px);}
  .legion-home-hero__description {max-width: 510px;margin: 28px 0 0;}
  .legion-home-hero__eyebrow {margin-bottom: 24px;}
  .legion-home-actions {justify-content: flex-start;gap: 24px;margin-top: 28px;}
  .legion-home-emergence {width: 100%;max-width: 550px;height: 370px;margin: 0 auto;}
  .legion-home-emergence__art {height: 440px;width: 440px;max-width: 110%;margin: -28px auto;}
  .legion-home-emergence__label {top: 8px;left: 0;}
  .legion-home-emergence__caption {bottom: 0;left: 0;}
  .legion-home-hero__foot {min-height: 90px;}
  .legion-home-hero__footnote {display: none;}
  .legion-home-mission__inner,.legion-home-section__inner {grid-template-columns: 1fr;gap: 0;}
  .legion-home-section__inner > * {grid-column: 1;}
  .legion-home-section__inner > .legion-home-section__eyebrow {grid-row: auto;display: flex;gap: 24px;margin: 0 0 30px;}
  .legion-home-section__inner > .legion-home-section__eyebrow::before {margin: 0;}
  .legion-home-mission__inner > .legion-home-kicker {margin: 0 0 40px;}
  .legion-home-mission__copy > p {font-size: 17px;}
  .legion-home-curious-feature__inner {grid-template-columns: 1fr;gap: 48px;}
  .legion-home-curious-feature__steps {max-width: none;}
  .legion-home-curious-feature__steps span {font-size: 19px;padding-block: 17px;}
  .legion-home-section,.legion-home-curious-feature {padding-block: 80px;}
  .legion-home-film {padding-block: 80px 60px;}
  .legion-home-film__heading {gap: 24px;margin-bottom: 32px;}
  .legion-home-film__heading > p {font-size: 12px;}
  .legion-home-section--final {padding-block: 110px;}
  .legion-home-section--final .legion-home-section__eyebrow {display: block;}
  .legion-context-list {grid-template-columns: repeat(3, 1fr);gap: 20px;}
}
@media (max-width: 540px) {
  .legion-landing-page header.legion-header .nav-logo img {height: 26px;}
  .legion-home-hero__inner {padding-top: 48px;gap: 28px;}
  .legion-home-hero h1 {font-size: clamp(48px, 12vw, 65px);letter-spacing: -.06em;line-height: 1.02;max-width: 410px;}
  .legion-home-hero__eyebrow {font-size: 10px;margin-bottom: 25px;}
  .legion-home-hero__description {font-size: 15px;line-height: 1.7;margin-top: 24px;}
  .legion-home-actions {flex-direction: row;align-items: center;gap: 14px;}
  .legion-home-actions a {width: auto;font-size: 10px;gap: 12px;}
  .legion-home-actions a.primary {padding-inline: 15px;}
  .legion-home-emergence {height: 305px;}
  .legion-home-emergence__art {width: 320px;height: 320px;margin: 0 auto;}
  .legion-home-emergence__label {top: 0;}
  .legion-home-emergence__label,.legion-home-emergence__caption {font-size: 8px;}
  .legion-home-hero__foot {min-height: 82px;}
  .legion-home-mission {padding-block: 90px;scroll-margin-top: 62px;}
  .legion-home-mission h2 {font-size: clamp(35px, 9.3vw, 49px);}
  .legion-home-mission__copy > p {font-size: 16px;margin-block: 28px;}
  .legion-home-film__heading {display: block;}
  .legion-home-film__heading > p {margin-top: 20px;}
  .legion-home-film__heading > p br {display: none;}
  .legion-home-film h2 {font-size: 37px;}
  .legion-home-film__caption {font-size: 8px;}
  .legion-home-section h2,.legion-home-curious-feature h2 {font-size: clamp(32px, 8.5vw, 44px);}
  .legion-home-section__description,.legion-home-curious-feature p {font-size: 15px;}
  .legion-home-section__actions {align-items: flex-start;flex-direction: column;gap: 12px;}
  .legion-home-section__actions a {width: auto;}
  .legion-home-section--final .legion-home-section__actions {align-items: center;}
  .legion-home-section--final h2 {font-size: clamp(40px, 11vw, 60px);}
  .legion-context-list {grid-template-columns: 1fr;gap: 0;margin-top: 28px;}
  .legion-observable-flow ol {grid-template-columns: 1fr;gap: 12px;}
  .legion-observable-flow li {display: grid;grid-template-columns: .75fr 1fr;gap: 20px;padding-block: 16px;}
  .legion-observable-flow small {margin: 0;}
  .legion-observable-flow b {font-size: 13px;}
  .legion-home-section--research .legion-today-research {gap: 0;}
}
@media (prefers-reduced-motion: reduce) {
  .legion-landing-page *, .legion-landing-page *::before, .legion-landing-page *::after {animation: none !important;transition: none !important;scroll-behavior: auto !important;}
  .legion-home [data-reveal] {opacity: 1 !important;transform: none !important;}
}
@media print {
  body.legion-landing-page {padding: 0;}
  .legion-home [data-reveal] {opacity: 1 !important;transform: none !important;}
  .legion-home-motion,.legion-home-field,.legion-home-scroll, .legion-landing-page header.legion-header {display: none !important;}
  .legion-home-emergence__art img {opacity: 1;}
}
