@import url('https://fonts.googleapis.com/css2?family=Michroma&display=swap');

@font-face {
  font-family: "Astrix Sans";
  src: url("/_next/static/media/13971731025ec697-s.p.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

@font-face {
  font-family: "Astrix Manrope";
  src: url("/_next/static/media/4c9affa5bc8f420e-s.p.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --navy-950: #020817;
  --navy-900: #061329;
  --navy-850: #081a35;
  --navy-800: #0b2342;
  --gold: #e5bd70;
  --gold-bright: #f3d690;
  --cream: #f6f0e5;
  --muted: #aeb7c7;
  --teal: #57d8ba;
  --teal-dark: #148a78;
  --line: rgba(229, 189, 112, .24);
  --line-soft: rgba(255, 255, 255, .11);
  --shell: min(1440px, calc(100vw - 96px));
  --header-height: 84px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --astrix-future: "Sratome", "Michroma", "Eurostile Extended", "Bank Gothic", sans-serif;
  --display: var(--astrix-future);
  --body: var(--astrix-future);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); background: var(--navy-950); }
body { margin: 0; min-width: 320px; overflow-x: hidden; color: var(--cream); background: radial-gradient(circle at 75% 16%, rgba(35, 89, 146, .15), transparent 34rem), var(--navy-950); font-family: var(--body); -webkit-font-smoothing: antialiased; }
body::selection { color: var(--navy-950); background: var(--gold); }
a { color: inherit; text-decoration: none; }
.digital-section { background: linear-gradient(180deg, rgba(9, 34, 65, .38), rgba(2, 8, 23, 0)); }
.digital-capability-grid article { background: linear-gradient(145deg, rgba(7, 31, 59, .92), rgba(5, 15, 33, .72)); }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img, video { display: block; max-width: 100%; }

.skip-link { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 12px 18px; color: var(--navy-950); background: var(--gold-bright); border-radius: 6px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.page-shell { width: var(--shell); margin-inline: auto; }

.site-header { position: fixed; z-index: 100; top: 0; left: 0; width: 100%; height: var(--header-height); display: flex; align-items: center; justify-content: space-between; padding: 0 max(48px, calc((100vw - 1440px) / 2)); border-bottom: 1px solid rgba(229, 189, 112, .18); background: linear-gradient(180deg, rgba(2, 8, 23, .94), rgba(2, 8, 23, .72)); backdrop-filter: blur(18px); transition: background .35s ease, box-shadow .35s ease; }
.site-header.is-scrolled { background: rgba(2, 8, 23, .96); box-shadow: 0 14px 40px rgba(0, 0, 0, .22); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark { width: 46px; height: 46px; display: grid; place-items: center; flex: 0 0 auto; overflow: hidden; border: 1px solid rgba(229, 189, 112, .35); border-radius: 50%; background: rgba(14, 34, 65, .76); }
.brand-mark img { width: 38px; height: 38px; object-fit: contain; }
.brand-name { font-family: var(--display); font-size: 17px; font-weight: 760; letter-spacing: .15em; text-transform: uppercase; white-space: nowrap; }
.brand-name span { color: var(--gold); font-weight: 520; }
.header-nav { display: flex; align-items: center; gap: clamp(22px, 2.4vw, 42px); color: rgba(246, 240, 229, .78); font-family: var(--display); font-size: 12px; font-weight: 650; }
.header-nav > a:not(.back-link) { position: relative; padding-block: 12px; }
.header-nav > a:not(.back-link)::after { position: absolute; right: 0; bottom: 5px; left: 0; height: 1px; content: ""; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.header-nav > a:not(.back-link):hover::after, .header-nav > a:not(.back-link):focus-visible::after { transform: scaleX(1); transform-origin: left; }
.back-link { min-height: 44px; display: inline-flex; align-items: center; gap: 16px; padding: 0 18px 0 22px; border: 1px solid rgba(246, 240, 229, .28); border-radius: 999px; color: var(--cream); }
.back-link:hover, .back-link:focus-visible { color: var(--navy-950); border-color: var(--gold); background: var(--gold); }
.mobile-section-nav { display: none; }

.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: calc(var(--header-height) + 72px) 0 78px; overflow: hidden; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, rgba(2, 8, 23, .95), rgba(6, 19, 41, .88)); }
.hero-grid { position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(87, 216, 186, .18) 1px, transparent 1px), linear-gradient(90deg, rgba(87, 216, 186, .18) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to right, black, transparent 72%); }
.hero-glow { position: absolute; width: 500px; height: 500px; border-radius: 50%; filter: blur(90px); opacity: .15; pointer-events: none; }
.hero-glow-one { top: 15%; right: 2%; background: var(--teal); }
.hero-glow-two { bottom: -25%; left: 20%; background: var(--gold); }
.hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .86fr) minmax(520px, 1.14fr); gap: clamp(54px, 6vw, 110px); align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 18px; margin: 0 0 24px; color: var(--gold); font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow span + span::before { width: 48px; height: 1px; display: inline-block; margin-right: 18px; vertical-align: middle; content: ""; background: var(--gold); }
.hero h1, .section-head h2, .workflow-title-block h2, .governance-card-main h2, .closing h2 { margin: 0; font-family: var(--display); font-weight: 520; letter-spacing: -.055em; line-height: .98; }
.hero h1 { max-width: 720px; font-size: clamp(56px, 5.7vw, 96px); }
.hero h1 em, .section-head h2 em, .workflow-title-block h2 em, .governance-card-main h2 em, .closing h2 em { color: var(--gold); font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.hero-intro { max-width: 690px; margin: 30px 0 0; color: rgba(246, 240, 229, .73); font-size: clamp(16px, 1.18vw, 20px); line-height: 1.7; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.hero-pills span { padding: 8px 12px; border: 1px solid rgba(87, 216, 186, .26); border-radius: 999px; color: #bcefe3; background: rgba(87, 216, 186, .07); font-family: var(--display); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; font-family: var(--display); font-size: 12px; font-weight: 740; transition: transform .25s var(--ease), background .25s ease, border-color .25s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-gold { min-width: 230px; color: var(--navy-950); background: linear-gradient(135deg, #f1cf87, #d7a952); box-shadow: 0 16px 42px rgba(226, 189, 115, .16); }
.button-ghost { min-width: 220px; border-color: rgba(246, 240, 229, .25); background: rgba(2, 8, 23, .3); }
.button-ghost:hover, .button-ghost:focus-visible { border-color: var(--gold); background: rgba(229, 189, 112, .08); }

.demo-frame { margin: 0; overflow: hidden; border: 1px solid rgba(229, 189, 112, .36); border-radius: 20px; background: rgba(2, 8, 23, .72); box-shadow: 0 34px 100px rgba(0, 0, 0, .42), 0 0 80px rgba(87, 216, 186, .09); }
.demo-frame-top, .demo-frame figcaption { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 18px; font-family: var(--display); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.demo-frame-top { color: var(--gold); border-bottom: 1px solid var(--line); }
.demo-frame video { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #000; }
.demo-frame figcaption { color: rgba(246, 240, 229, .76); border-top: 1px solid var(--line-soft); }
.demo-frame figcaption small { color: var(--muted); font-size: 8px; }

.value-strip { border-bottom: 1px solid var(--line); background: #041022; }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.value-grid article { min-height: 190px; padding: 34px 30px; border-right: 1px solid var(--line); }
.value-grid article:first-child { border-left: 1px solid var(--line); }
.value-grid span, .capability-grid span, .governance-card > span { color: var(--gold); font-family: Georgia, serif; font-style: italic; }
.value-grid strong { display: block; margin-top: 32px; font-family: var(--display); font-size: 17px; }
.value-grid p { margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.section { padding: 124px 0; border-bottom: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 80px; align-items: end; margin-bottom: 60px; }
.section-head h2, .workflow-title-block h2, .governance-card-main h2 { font-size: clamp(44px, 5.4vw, 84px); }
.section-summary { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.compact-head { grid-template-columns: 1fr; }

.platform { background: radial-gradient(circle at 15% 40%, rgba(87, 216, 186, .07), transparent 32rem), var(--navy-950); }
.module-explorer { display: grid; grid-template-columns: 330px minmax(0, 1fr); border: 1px solid var(--line); background: rgba(6, 19, 41, .56); }
.module-tabs { display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.module-tabs button { min-height: 78px; display: flex; align-items: center; gap: 20px; padding: 0 24px; color: rgba(246, 240, 229, .68); text-align: left; border: 0; border-bottom: 1px solid var(--line-soft); background: transparent; cursor: pointer; }
.module-tabs button:last-child { border-bottom: 0; }
.module-tabs button span { color: var(--gold); font-family: Georgia, serif; font-style: italic; }
.module-tabs button[aria-selected="true"] { color: var(--navy-950); background: var(--gold); }
.module-tabs button[aria-selected="true"] span { color: var(--navy-950); }
.module-panels { min-height: 440px; padding: clamp(42px, 5vw, 76px); }
.module-panel { animation: reveal .48s var(--ease); }
.module-panel > p { margin: 0 0 20px; color: var(--teal); font-family: var(--display); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.module-panel h3 { max-width: 920px; margin: 0; font-family: var(--display); font-size: clamp(30px, 3vw, 52px); font-weight: 520; line-height: 1.1; }
.module-panel ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 36px; margin: 48px 0 0; padding: 0; list-style: none; }
.module-panel li { position: relative; padding: 16px 0 16px 22px; color: var(--muted); border-top: 1px solid var(--line-soft); font-size: 14px; line-height: 1.45; }
.module-panel li::before { position: absolute; top: 21px; left: 0; width: 7px; height: 7px; content: ""; border: 1px solid var(--teal); border-radius: 50%; }

.capabilities { background: #041022; }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.capability-grid article { min-height: 270px; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s ease, transform .3s var(--ease); }
.capability-grid article:hover { z-index: 1; background: rgba(87, 216, 186, .045); transform: translateY(-3px); }
.capability-grid h3 { margin: 62px 0 14px; font-family: var(--display); font-size: 20px; font-weight: 580; }
.capability-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

.workflows { overflow: hidden; background: radial-gradient(circle at 85% 50%, rgba(229, 189, 112, .08), transparent 35rem), var(--navy-950); }
.workflow-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(480px, 1.2fr); gap: 100px; }
.workflow-title-block { position: sticky; top: calc(var(--header-height) + 48px); align-self: start; }
.workflow-title-block > p:last-child { max-width: 620px; margin: 30px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.workflow-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.workflow-list li { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 26px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.workflow-list li > span { color: var(--gold); font-family: Georgia, serif; font-size: 20px; font-style: italic; }
.workflow-list strong { font-family: var(--display); font-size: 22px; }
.workflow-list p { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.governance { background: #041022; }
.governance-layout { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.governance-card { min-height: 250px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.governance-card-main { grid-row: span 2; min-height: 500px; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(42px, 5vw, 72px); background: radial-gradient(circle at 20% 20%, rgba(87, 216, 186, .09), transparent 24rem); }
.governance-card-main p:last-child { max-width: 720px; margin: 30px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.governance-card:not(.governance-card-main) strong { display: block; margin-top: 56px; font-family: var(--display); font-size: 20px; }
.governance-card:not(.governance-card-main) p { margin: 14px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.closing { position: relative; min-height: 760px; display: grid; place-items: center; overflow: hidden; text-align: center; background: var(--navy-950); }
.closing-glow { position: absolute; width: min(70vw, 900px); aspect-ratio: 1; border: 1px solid rgba(229, 189, 112, .22); border-radius: 50%; box-shadow: inset 0 0 130px rgba(87, 216, 186, .08), 0 0 140px rgba(229, 189, 112, .06); }
.closing-inner { position: relative; z-index: 1; padding-block: 120px; }
.closing .eyebrow { justify-content: center; }
.closing h2 { font-size: clamp(46px, 6.4vw, 98px); }
.closing-inner > p:not(.eyebrow) { max-width: 720px; margin: 28px auto 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.contact-actions { justify-content: center; }

.site-footer { padding: 36px 0; border-top: 1px solid var(--line); background: #010611; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; color: var(--muted); font-family: var(--display); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.footer-brand .brand-name { font-size: 13px; }

@keyframes reveal { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1180px) {
  :root { --shell: min(100% - 48px, 1100px); }
  .header-nav > a:not(.back-link) { display: none; }
  .hero-layout { grid-template-columns: 1fr; gap: 54px; }
  .hero-copy { max-width: 850px; }
  .demo-frame { width: min(100%, 980px); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid article:nth-child(3) { border-left: 1px solid var(--line); }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow-layout { gap: 60px; }
}

@media (max-width: 800px) {
  :root { --shell: calc(100% - 32px); --header-height: 72px; }
  .site-header { height: var(--header-height); padding: 0 16px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-mark img { width: 34px; height: 34px; }
  .brand-name { font-size: 13px; letter-spacing: .11em; }
  .back-link { min-height: 40px; padding: 0 14px; font-size: 10px; }
  .back-link span:last-child { display: none; }
  .mobile-section-nav { position: sticky; z-index: 80; top: var(--header-height); display: flex; gap: 20px; padding: 13px 16px; overflow-x: auto; border-bottom: 1px solid var(--line); background: rgba(2, 8, 23, .96); scrollbar-width: none; }
  .mobile-section-nav::-webkit-scrollbar { display: none; }
  .mobile-section-nav a { color: var(--muted); font-family: var(--display); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
  .hero { min-height: auto; padding: 90px 0 58px; }
  .hero-layout { gap: 40px; }
  .hero h1 { font-size: clamp(44px, 13.6vw, 68px); }
  .hero-intro { font-size: 15px; }
  .hero-actions, .button { width: 100%; }
  .button { min-width: 0; }
  .demo-frame { border-radius: 14px; }
  .demo-frame-top, .demo-frame figcaption { padding: 11px 12px; font-size: 8px; }
  .demo-frame figcaption small { display: none; }
  .value-grid { grid-template-columns: 1fr; }
  .value-grid article { min-height: 160px; border-left: 1px solid var(--line); }
  .section { padding: 86px 0; }
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 42px; }
  .section-head h2, .workflow-title-block h2, .governance-card-main h2 { font-size: clamp(40px, 12vw, 60px); }
  .module-explorer { grid-template-columns: 1fr; }
  .module-tabs { display: grid; grid-template-columns: repeat(5, minmax(140px, 1fr)); overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .module-tabs::-webkit-scrollbar { display: none; }
  .module-tabs button { min-height: 64px; border-right: 1px solid var(--line-soft); border-bottom: 0; white-space: nowrap; }
  .module-panels { min-height: 560px; padding: 32px 24px; }
  .module-panel h3 { font-size: 32px; }
  .module-panel ul { grid-template-columns: 1fr; margin-top: 34px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-grid article { min-height: 240px; }
  .workflow-layout { grid-template-columns: 1fr; gap: 50px; }
  .workflow-title-block { position: static; }
  .governance-layout { grid-template-columns: 1fr; }
  .governance-card-main { grid-row: auto; min-height: 520px; }
  .closing { min-height: 690px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .brand-name { max-width: none; overflow: visible; font-size: 11px; letter-spacing: .1em; text-overflow: clip; }
  .back-link span:first-child { font-size: 0; }
  .back-link span:first-child::after { content: "Back"; font-size: 10px; }
  .hero h1 { font-size: 42px; letter-spacing: -.045em; }
  .hero-pills span { font-size: 8px; }
  .capability-grid article, .governance-card { padding: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
