:root {
  --navy: #071827;
  --navy-deep: #04101c;
  --navy-raised: #0d263a;
  --ink: #102230;
  --paper: #f5f3ed;
  --paper-cool: #eef5f5;
  --white: #ffffff;
  --cyan: #3dd6dc;
  --cyan-soft: #9be9eb;
  --teal: #1f9eaa;
  --amber: #f3a847;
  --amber-soft: #ffd497;
  --muted: #9fb5c3;
  --line: rgba(136, 196, 213, 0.18);
  --radius-lg: 30px;
  --radius-md: 20px;
  --wrap: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--navy); }
body {
  min-width: 320px;
  margin: 0;
  color: #edf8fb;
  background: var(--navy);
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }
.wrap { width: min(calc(100% - 40px), var(--wrap)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 14px; color: var(--navy); border-radius: 8px; background: var(--cyan); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-nav { position: absolute; z-index: 20; inset: 0 0 auto; border-bottom: 1px solid rgba(140, 205, 222, 0.13); }
.nav-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { min-width: 0; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 44px; height: 44px; flex: 0 0 auto; overflow: hidden; border-radius: 13px; box-shadow: 0 14px 36px rgba(46, 210, 218, 0.17); }
.brand-mark img { width: 100%; height: 100%; display: block; }
.brand-copy { min-width: 0; display: grid; gap: 2px; }
.brand-copy strong { font-size: 1.02rem; letter-spacing: -0.02em; }
.brand-copy small { color: #7f9bad; font-size: 0.58rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links > a:not(.button) { color: #a8bdca; font-size: 0.76rem; font-weight: 650; text-decoration: none; }
.nav-links > a:not(.button):hover { color: var(--cyan-soft); }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 20px; border: 1px solid transparent; border-radius: 12px; font-size: 0.79rem; font-weight: 700; text-decoration: none; transition: transform 180ms ease, border-color 180ms ease, background 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .nav-links a:focus-visible, .text-link:focus-visible { outline: 3px solid rgba(61, 214, 220, 0.34); outline-offset: 4px; }
.button-primary { color: #05161d; background: linear-gradient(135deg, #aaf4f2, var(--cyan) 60%, #28b8c4); box-shadow: 0 16px 38px rgba(41, 199, 207, 0.18); }
.button-quiet { color: #d9e9ef; border-color: rgba(143, 202, 220, 0.22); background: rgba(255, 255, 255, 0.035); }

.hero { position: relative; min-height: 820px; overflow: hidden; background: radial-gradient(circle at 78% 42%, rgba(23, 164, 179, 0.17), transparent 28%), radial-gradient(circle at 90% 70%, rgba(243, 168, 71, 0.08), transparent 22%), linear-gradient(154deg, #071a2c, #04101c 72%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: 0.28; pointer-events: none; background-image: linear-gradient(rgba(129, 195, 211, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(129, 195, 211, 0.055) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(circle at 70% 48%, black, transparent 68%); }
.hero-grid { position: relative; min-height: 820px; display: grid; grid-template-columns: minmax(0, 0.83fr) minmax(540px, 1.17fr); align-items: center; gap: 10px; padding-top: 92px; }
.hero-copy { position: relative; z-index: 5; min-width: 0; padding: 70px 0 58px; }
.eyebrow, .section-kicker { margin: 0; color: var(--cyan); font-size: 0.69rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 22px; height: 1px; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.hero h1 { max-width: 680px; margin: 24px 0 0; font-family: Newsreader, Georgia, serif; font-size: clamp(4.25rem, 6.6vw, 6.6rem); font-weight: 500; line-height: 0.91; letter-spacing: -0.055em; }
.hero h1 em { display: block; color: var(--cyan-soft); font-style: normal; }
.hero-lede { max-width: 620px; margin: 28px 0 0; color: #abc0cd; font-size: 1.04rem; line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-visual { position: relative; z-index: 2; width: 920px; max-width: none; margin-left: -118px; transform: translateY(25px); }
.hero-visual::before { content: ""; position: absolute; z-index: 2; inset: 0 auto 0 0; width: 39%; pointer-events: none; background: linear-gradient(90deg, #061522 0%, rgba(6, 21, 34, 0.83) 31%, transparent 100%); }
.hero-visual img { width: 100%; height: auto; display: block; filter: saturate(0.95) contrast(1.04) drop-shadow(0 50px 90px rgba(0, 0, 0, 0.48)); mask-image: radial-gradient(ellipse 84% 78% at 54% 52%, black 68%, transparent 100%); }
.signal-card { position: absolute; z-index: 4; right: 7%; bottom: 7%; width: 420px; padding: 20px; border: 1px solid rgba(141, 217, 231, 0.24); border-radius: 18px; background: rgba(5, 21, 34, 0.82); box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42); backdrop-filter: blur(18px); }
.signal-card__top { display: flex; justify-content: space-between; align-items: center; color: #7895a7; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.signal-card__top strong { color: var(--cyan-soft); }
.mini-rail { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 20px; }
.mini-rail::before { content: ""; position: absolute; top: 6px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, var(--cyan), var(--amber), var(--cyan), #5d7889); opacity: 0.55; }
.mini-rail span { position: relative; display: grid; justify-items: center; gap: 7px; color: #7892a3; font-size: 0.57rem; font-weight: 700; }
.mini-rail i { z-index: 1; width: 12px; height: 12px; display: block; border: 3px solid #0a2030; border-radius: 50%; background: #597383; }
.mini-rail .confirmed i { background: var(--cyan); box-shadow: 0 0 13px rgba(61, 214, 220, 0.7); }
.mini-rail .modeled i { background: var(--amber); box-shadow: 0 0 13px rgba(243, 168, 71, 0.55); }
.mini-rail .untraced i { border: 1px dashed #88a0ae; background: #0a2030; }
.signal-card__note { margin-top: 17px; padding-top: 13px; color: #83a0b0; border-top: 1px solid rgba(141, 201, 219, 0.13); font-size: 0.66rem; }

.section { padding: 116px 0; }
.trail-section { color: var(--ink); background: linear-gradient(180deg, #f8f6f1, var(--paper)); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr); align-items: end; gap: 70px; }
.section-kicker { color: #138794; }
.section h2, .closing-card h2 { margin: 14px 0 0; font-family: Newsreader, Georgia, serif; font-size: clamp(3rem, 5.7vw, 5.4rem); font-weight: 500; line-height: 0.98; letter-spacing: -0.052em; }
.section-heading > p { margin: 0; color: #5b6d77; font-size: 1rem; line-height: 1.75; }
.trail-grid { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 62px; }
.trail-grid::before { content: ""; position: absolute; top: 78px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, #5ccbd1, #e1a65b, #1c98a5); opacity: 0.45; }
.trail-grid article { position: relative; min-width: 0; min-height: 294px; padding: 22px; border: 1px solid rgba(24, 69, 83, 0.11); border-radius: 20px; background: rgba(255, 255, 255, 0.63); }
.trail-grid .stage-featured { color: #e9f8fa; border-color: rgba(61, 214, 220, 0.31); background: linear-gradient(155deg, #102d3e, #071827); box-shadow: 0 25px 60px rgba(6, 28, 43, 0.19); transform: translateY(-12px); }
.stage-number { color: #7b8c94; font-family: "IBM Plex Mono", monospace; font-size: 0.64rem; }
.stage-icon { position: relative; z-index: 1; width: 48px; height: 48px; display: grid; place-items: center; margin-top: 30px; color: #087f8a; border: 1px solid rgba(18, 139, 150, 0.2); border-radius: 14px; background: #e4f6f5; font-size: 1.2rem; font-weight: 700; }
.stage-featured .stage-icon { color: #09232c; border-color: transparent; background: var(--amber-soft); box-shadow: 0 0 0 6px rgba(243, 168, 71, 0.07); }
.trail-grid h3 { margin: 25px 0 8px; font-size: 1.22rem; letter-spacing: -0.025em; }
.trail-grid p { margin: 0; color: #61727b; font-size: 0.82rem; line-height: 1.6; }
.stage-featured p { color: #9eb6c3; }
.stage-tag { display: inline-flex; margin-top: 22px; padding: 6px 8px; color: #ffd899; border: 1px solid rgba(243, 168, 71, 0.2); border-radius: 999px; background: rgba(243, 168, 71, 0.08); font-size: 0.57rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

.states-section { background: radial-gradient(circle at 8% 10%, rgba(61, 214, 220, 0.08), transparent 25%), linear-gradient(165deg, #0b2234, #061421 65%); }
.states-layout { display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(460px, 1.14fr); align-items: center; gap: 90px; }
.states-copy h2 { max-width: 620px; }
.states-copy > p:not(.section-kicker) { max-width: 580px; margin: 25px 0 0; color: #9bb2c1; line-height: 1.75; }
.text-link { display: inline-flex; gap: 10px; margin-top: 30px; color: var(--cyan-soft); font-size: 0.84rem; font-weight: 700; text-decoration: none; }
.state-stack { display: grid; gap: 12px; }
.state-card { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: center; min-height: 128px; padding: 24px 26px; border: 1px solid rgba(141, 201, 219, 0.15); border-radius: 20px; background: linear-gradient(140deg, rgba(17, 47, 68, 0.82), rgba(5, 20, 33, 0.86)); }
.state-orb { width: 26px; height: 26px; display: block; justify-self: center; border-radius: 50%; }
.state-confirmed .state-orb { background: var(--cyan); box-shadow: 0 0 0 8px rgba(61, 214, 220, 0.08), 0 0 24px rgba(61, 214, 220, 0.45); }
.state-checked .state-orb { background: #8fb8ff; box-shadow: 0 0 0 8px rgba(143, 184, 255, 0.08), 0 0 24px rgba(143, 184, 255, 0.38); }
.state-modeled .state-orb { background: var(--amber); box-shadow: 0 0 0 8px rgba(243, 168, 71, 0.07), 0 0 24px rgba(243, 168, 71, 0.35); }
.state-open .state-orb { border: 1.5px dashed #7d98a8; background: transparent; box-shadow: 0 0 0 8px rgba(133, 161, 177, 0.05); }
.state-card p { margin: 0; color: #7fa3b4; font-family: "IBM Plex Mono", monospace; font-size: 0.61rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.state-modeled p { color: #e7b870; }
.state-card h3 { margin: 7px 0 5px; font-size: 1.04rem; }
.state-card div > span { color: #8ea7b6; font-size: 0.78rem; line-height: 1.5; }

.demo-section { color: var(--ink); background: linear-gradient(180deg, #edf4f4, #f8f6f1); }
.demo-shell { display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1.14fr); align-items: center; gap: 65px; }
.demo-copy h2 { max-width: 590px; font-size: clamp(3rem, 5vw, 4.8rem); }
.demo-copy > p:not(.section-kicker) { max-width: 540px; margin: 24px 0 0; color: #5f717b; line-height: 1.75; }
.demo-copy .button { margin-top: 30px; }
.demo-preview { overflow: hidden; min-width: 0; padding: 24px; color: #17313f; border: 1px solid rgba(26, 87, 101, 0.15); border-radius: 26px; background: rgba(255, 255, 255, 0.78); box-shadow: 0 30px 80px rgba(29, 75, 87, 0.13); }
.preview-top { display: flex; justify-content: space-between; gap: 20px; color: #748690; font-family: "IBM Plex Mono", monospace; font-size: 0.62rem; text-transform: uppercase; }
.preview-top b { color: #0a8892; }
.preview-product { display: grid; gap: 7px; margin-top: 28px; padding: 23px; border: 1px solid #d6e4e5; border-radius: 17px; background: #f9fbfa; }
.preview-product span { color: #536973; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; }
.preview-product strong { font-family: Newsreader, Georgia, serif; font-size: 1.75rem; font-weight: 600; letter-spacing: -0.025em; }
.preview-product em { width: fit-content; padding: 6px 9px; color: #7d4d11; border: 1px solid #efd4aa; border-radius: 999px; background: #fff6e9; font-size: 0.63rem; font-style: normal; font-weight: 700; }
.preview-rail { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 18px; }
.preview-rail span { min-width: 0; padding: 10px 4px; color: #71838c; border: 1px dashed #cad8db; border-radius: 10px; text-align: center; font-size: 0.59rem; font-weight: 700; }
.preview-rail .on { color: #0d6f77; border-style: solid; border-color: #b9dcde; background: #eaf8f7; }
.preview-rail .model { color: #8a581a; border-style: solid; border-color: #efd5ad; background: #fff6e9; }
.preview-rail .checked { color: #355b85; border-style: solid; border-color: #c6d8ed; background: #edf5ff; }
.preview-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.preview-meta span { display: grid; gap: 4px; padding: 14px; color: #536973; border-radius: 12px; background: #edf3f3; font-size: 0.64rem; }
.preview-meta b { color: #284854; }

.closing-section { padding: 80px 0 100px; color: #edf8fb; background: #f8f6f1; }
.closing-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 50px; padding: 55px 58px; border-radius: 30px; background: radial-gradient(circle at 84% 0%, rgba(61, 214, 220, 0.16), transparent 28%), linear-gradient(145deg, #0b263a, #061421 70%); box-shadow: 0 36px 90px rgba(7, 32, 47, 0.25); }
.closing-card h2 { max-width: 850px; font-size: clamp(2.7rem, 5vw, 4.65rem); }
.site-footer { padding: 30px 0; color: #6f899a; border-top: 1px solid rgba(138, 198, 214, 0.12); background: #04101c; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; font-size: 0.68rem; }

@media (max-width: 1080px) {
  .hero { min-height: auto; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; padding-top: 138px; }
  .hero-copy { max-width: 820px; padding: 40px 0 0; }
  .hero h1 { max-width: 760px; }
  .hero-visual { width: min(1120px, calc(100% + 280px)); margin: -55px -225px 0 2%; transform: none; }
  .signal-card { left: 0; right: auto; bottom: 12%; }
  .trail-grid { grid-template-columns: repeat(3, 1fr); }
  .trail-grid::before { display: none; }
  .trail-grid article { min-height: 260px; }
  .trail-grid .stage-featured { transform: none; }
  .states-layout, .demo-shell { grid-template-columns: 1fr; }
  .states-copy h2, .demo-copy h2 { max-width: 760px; }
  .state-stack { grid-template-columns: repeat(2, 1fr); }
  .state-card { grid-template-columns: 1fr; align-items: start; }
  .state-orb { justify-self: start; }
}

@media (max-width: 820px) {
  .signal-card { left: 0; right: auto; width: min(340px, calc(100vw - 60px)); }
}

@media (max-width: 760px) {
  .wrap { width: min(calc(100% - 28px), var(--wrap)); }
  .nav-inner { min-height: 74px; }
  .brand-copy small, .nav-links > a:not(.button) { display: none; }
  .nav-links { gap: 8px; }
  .nav-links .button { min-height: 42px; padding-inline: 13px; }
  .hero-grid { padding-top: 106px; }
  .hero-copy { min-width: 0; }
  .hero h1 { font-size: clamp(3.25rem, 15.4vw, 5rem); }
  .hero-lede { font-size: 0.94rem; line-height: 1.65; }
  .hero-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .hero-actions .button { width: 100%; min-width: 0; }
  .hero-visual { width: min(840px, calc(100% + 430px)); margin: -30px -330px 0 -100px; }
  .hero-visual::before { width: 32%; }
  .signal-card { left: 100px; right: auto; bottom: 7%; width: min(340px, calc(100vw - 44px)); padding: 16px; }
  .section { padding: 80px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 25px; }
  .section h2, .closing-card h2 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .trail-grid { grid-template-columns: 1fr; }
  .trail-grid article { min-height: auto; }
  .stage-icon { margin-top: 22px; }
  .state-stack { grid-template-columns: 1fr; }
  .state-card { grid-template-columns: 42px 1fr; }
  .state-orb { justify-self: center; }
  .demo-preview { padding: 17px; }
  .preview-product { padding: 18px; }
  .preview-rail { gap: 4px; }
  .preview-rail span { padding-inline: 1px; font-size: 0.52rem; }
  .preview-meta { grid-template-columns: 1fr; }
  .closing-section { padding: 18px 0 72px; }
  .closing-card { grid-template-columns: 1fr; padding: 38px 28px; }
  .closing-card .button { width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

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