/* ============================================================
   moveassist — mai-world marketing site
   Design language: "Global Wayfinding"
   Deep-ink editorial + warm paper, four-colour route system,
   Fraunces display / Manrope body / Spline Sans Mono details.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&family=Manrope:wght@400;500;600;700;800&family=Spline+Sans+Mono:wght@400;500;600&display=swap');

:root {
  /* ink scale (deep space navy, descendant of the brand's #000138) */
  --ink-950: #060819;
  --ink-900: #0a0d28;
  --ink-850: #0e1230;
  --ink-800: #131739;
  --ink-700: #1c2148;
  --ink-line: rgba(150, 162, 210, .16);
  --ink-line-strong: rgba(150, 162, 210, .3);

  /* warm paper (editorial light sections) */
  --paper: #f5f3ec;
  --paper-2: #edeae0;
  --paper-card: #fbfaf6;
  --paper-line: #dcd7c8;

  /* text */
  --t-dark-hi: #eef0fa;
  --t-dark-mid: #aab2d4;
  --t-dark-lo: #7d86ad;
  --t-paper-hi: #1b1f30;
  --t-paper-mid: #555b72;

  /* the wayfinding four */
  --c-blue: #2fa8ef;     /* platform / maia */
  --c-yellow: #f0b41a;   /* corporate mobility — mai-assignment */
  --c-pink: #e8466e;     /* RMC & DSP — mai-relocation */
  --c-green: #25b56a;    /* movers — mai-move */
  --c-blue-deep: #0c6aa8;

  /* type */
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Manrope', -apple-system, sans-serif;
  --mono: 'Spline Sans Mono', 'SFMono-Regular', monospace;

  --maxw: 1200px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --shadow-pop: 0 24px 60px -18px rgba(4, 6, 24, .55);
}

/* ---------- base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  background: var(--ink-900);
  color: var(--t-dark-hi);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: rgba(47, 168, 239, .35); }

/* film-grain atmosphere over everything */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 2000;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* mono labels — the wayfinding voice */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-blue);
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 22px;
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { content: ''; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow.y { color: var(--c-yellow); }
.eyebrow.p { color: var(--c-pink); }
.eyebrow.g { color: var(--c-green); }

/* display type */
.display {
  font-family: var(--serif);
  font-weight: 560;
  font-variation-settings: 'opsz' 110;
  line-height: 1.04;
  letter-spacing: -.015em;
}
.display em {
  font-style: italic;
  font-weight: 480;
  font-variation-settings: 'opsz' 144;
}
h1.display { font-size: clamp(44px, 6.4vw, 84px); }
h2.display { font-size: clamp(34px, 4.4vw, 56px); }
h3.display { font-size: clamp(26px, 3vw, 36px); }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--t-dark-mid); max-width: 56ch; }

/* on-paper variants */
.on-paper { background: var(--paper); color: var(--t-paper-hi); }
.on-paper .lede, .on-paper p { color: var(--t-paper-mid); }
.on-paper .eyebrow { color: var(--c-blue-deep); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 700; font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .2s;
  will-change: transform;
}
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary {
  background: var(--c-blue); color: #06121f;
  box-shadow: 0 8px 30px -8px rgba(47, 168, 239, .55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 38px -8px rgba(47, 168, 239, .65); }
.btn-ghost {
  border: 1px solid var(--ink-line-strong); color: var(--t-dark-hi);
  background: rgba(150, 162, 210, .05);
}
.btn-ghost:hover { transform: translateY(-2px); background: rgba(150, 162, 210, .12); }
.on-paper .btn-ghost { border-color: #c9c3b2; color: var(--t-paper-hi); background: transparent; }
.on-paper .btn-ghost:hover { background: rgba(27, 31, 48, .06); }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(8, 10, 32, .82);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom-color: var(--ink-line);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 28px;
  height: 76px;
  display: flex; align-items: center; gap: 34px;
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--t-dark-hi); }
.brand .mark { width: 32px; height: 32px; color: var(--t-dark-hi); }
.brand .word { font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.brand .word b { color: var(--c-blue); font-weight: 800; }
.brand .plat {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em;
  color: var(--t-dark-lo); border: 1px solid var(--ink-line-strong);
  padding: 3px 8px; border-radius: 999px; margin-left: 2px;
}
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav > li { position: relative; }
.main-nav a, .main-nav .nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 8px;
  font-size: 14.5px; font-weight: 600; color: var(--t-dark-mid);
  transition: color .2s, background .2s;
}
.main-nav a:hover, .main-nav .nav-link:hover,
.main-nav a.active { color: var(--t-dark-hi); background: rgba(150, 162, 210, .08); }
.main-nav a.active { box-shadow: inset 0 -2px 0 var(--c-blue); border-radius: 8px 8px 0 0; }
.nav-caret { width: 9px; height: 9px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 280px;
  background: var(--ink-850);
  border: 1px solid var(--ink-line);
  border-radius: var(--r-md);
  padding: 8px;
  box-shadow: var(--shadow-pop);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .28s var(--ease-out);
}
.main-nav li:hover .dropdown, .main-nav li:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 11px 12px; border-radius: 9px;
}
.dropdown .dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dropdown small { display: block; font-weight: 500; color: var(--t-dark-lo); font-size: 12px; }
.dropdown b { font-size: 14px; color: var(--t-dark-hi); }

.header-cta { margin-left: 6px; padding: 11px 20px; font-size: 14px; }

.nav-burger { display: none; flex-direction: column; gap: 5px; margin-left: auto; padding: 8px; }
.nav-burger span { width: 22px; height: 2px; background: var(--t-dark-hi); border-radius: 2px; transition: all .3s var(--ease-out); }
body.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
body.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero-maia ---------- */
.hero-maia {
  position: relative;
  padding: 188px 0 100px;
  background:
    radial-gradient(1100px 520px at 82% -8%, rgba(47, 168, 239, .14), transparent 62%),
    radial-gradient(800px 500px at -12% 30%, rgba(232, 70, 110, .07), transparent 60%),
    var(--ink-900);
  overflow: hidden;
}
.hero-maia-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--ink-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--ink-line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(900px 600px at 70% 20%, rgba(0,0,0,.5), transparent 75%);
  -webkit-mask-image: radial-gradient(900px 600px at 70% 20%, rgba(0,0,0,.5), transparent 75%);
}
.hero-maia-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.hero-maia h1 { margin: 0 0 26px; }
.hero-maia h1 .route-word { position: relative; white-space: nowrap; }
.hero-maia h1 .route-word svg {
  position: absolute; left: -2%; bottom: -.18em; width: 104%; height: .42em;
  overflow: visible;
}
.hero-maia h1 .route-word path {
  fill: none; stroke: var(--c-blue); stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: 1000; stroke-dashoffset: 1000;
  animation: drawRoute 1.4s var(--ease-out) .9s forwards;
}
@keyframes drawRoute { to { stroke-dashoffset: 0; } }
.hero-maia .lede { margin-bottom: 36px; }
.hero-maia-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.hero-maia-meta {
  margin-top: 56px;
  display: flex; gap: 0; flex-wrap: wrap;
  border-top: 1px solid var(--ink-line);
}
.hero-maia-meta .hm {
  padding: 18px 28px 0 0; margin-right: 28px;
  border-right: 1px solid var(--ink-line);
}
.hero-maia-meta .hm:last-child { border-right: none; }
.hero-maia-meta b { display: block; font-family: var(--serif); font-size: 27px; font-weight: 600; letter-spacing: -.01em; }
.hero-maia-meta span { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--t-dark-lo); }

/* hero-maia entrance */
.hero-maia [data-stagger] { opacity: 0; transform: translateY(26px); animation: riseIn .9s var(--ease-out) forwards; }
.hero-maia [data-stagger="1"] { animation-delay: .05s; }
.hero-maia [data-stagger="2"] { animation-delay: .18s; }
.hero-maia [data-stagger="3"] { animation-delay: .32s; }
.hero-maia [data-stagger="4"] { animation-delay: .46s; }
.hero-maia [data-stagger="5"] { animation-delay: .6s; }
@keyframes riseIn { to { opacity: 1; transform: none; } }

/* ---------- globe ---------- */
.globe-stage { position: relative; min-height: 480px; }
.globe-svg { width: 118%; max-width: none; margin-left: -4%; overflow: visible; }
.globe-svg .grat { stroke: var(--ink-line-strong); fill: none; }
.globe-svg .grat-soft { stroke: var(--ink-line); fill: none; }
.globe-sphere { animation: globeBreathe 9s ease-in-out infinite; transform-origin: center; }
@keyframes globeBreathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.015); } }

.globe-svg .arc {
  fill: none; stroke-width: 1.8; stroke-linecap: round;
  stroke-dasharray: 6 8;
  animation: arcFlow 2.6s linear infinite;
  opacity: .9;
}
@keyframes arcFlow { to { stroke-dashoffset: -56; } }
.globe-svg .city { animation: cityPulse 3s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes cityPulse { 0%,100% { opacity: .85; } 50% { opacity: .35; } }
.globe-svg .city-ring {
  fill: none; stroke-width: 1; opacity: 0;
  animation: ringOut 3s ease-out infinite;
  transform-origin: center; transform-box: fill-box;
}
@keyframes ringOut { 0% { opacity: .8; transform: scale(.4); } 80% { opacity: 0; transform: scale(2.4); } 100% { opacity: 0; } }
.globe-svg text { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; fill: var(--t-dark-lo); }

/* floating relocation ticket */
.hero-maia-ticket {
  position: absolute; right: -6px; bottom: 6px;
  width: 282px;
  background: var(--paper-card); color: var(--t-paper-hi);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-pop);
  transform: rotate(2.4deg);
  animation: ticketFloat 7s ease-in-out infinite;
  overflow: hidden;
}
@keyframes ticketFloat { 0%,100% { transform: rotate(2.4deg) translateY(0); } 50% { transform: rotate(1.6deg) translateY(-10px); } }
.hero-maia-ticket .tk-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px;
  background: var(--ink-800); color: var(--t-dark-hi);
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em;
}
.hero-maia-ticket .tk-top i { color: var(--c-yellow); font-style: normal; }
.hero-maia-ticket .tk-route {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 16px 8px;
}
.hero-maia-ticket .tk-route b { font-family: var(--serif); font-size: 30px; font-weight: 600; }
.hero-maia-ticket .tk-route small { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .12em; color: var(--t-paper-mid); text-transform: uppercase; }
.tk-plane { flex: 1; margin: 0 12px; position: relative; height: 14px; }
.tk-plane::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; border-top: 1.5px dashed #c4beac; }
.tk-plane svg { position: absolute; top: -3px; left: 0; width: 18px; height: 18px; color: var(--c-blue-deep); animation: planeHop 5s var(--ease-out) infinite; }
@keyframes planeHop { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: calc(100% - 18px); opacity: 0; } }
.hero-maia-ticket .tk-body { padding: 6px 16px 14px; display: flex; gap: 18px; }
.hero-maia-ticket .tk-body div small { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--t-paper-mid); }
.hero-maia-ticket .tk-body div b { font-size: 13px; font-weight: 700; }
.tk-tear { border-top: 2px dashed var(--paper-line); position: relative; }
.tk-tear::before, .tk-tear::after {
  content: ''; position: absolute; top: -7px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--ink-900);
}
.tk-tear::before { left: -7px; } .tk-tear::after { right: -7px; }
.tk-stub { display: flex; align-items: center; justify-content: space-between; padding: 11px 16px; }
.tk-barcode { width: 96px; height: 26px; background: repeating-linear-gradient(90deg, #2a2e3f 0 2px, transparent 2px 4px, #2a2e3f 4px 7px, transparent 7px 9px, #2a2e3f 9px 10px, transparent 10px 13px); }
.tk-stub .status {
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em;
  color: #156d42; background: rgba(37, 181, 106, .16);
  border: 1px solid rgba(37, 181, 106, .4);
  padding: 4px 10px; border-radius: 999px;
}

/* ---------- generic sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-head { max-width: 1020px; margin-bottom: 60px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: 18px; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; } .reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; } .reveal[data-d="4"] { transition-delay: .32s; }

/* ---------- orbit (stakeholders) ---------- */
.orbit-section { background: var(--paper); color: var(--t-paper-hi); }
.orbit-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.orbit-stage { position: relative; aspect-ratio: 1; max-width: 520px; margin: 0 auto; width: 100%; }
.orbit-ring { position: absolute; inset: 6%; border: 1.5px dashed #cdc7b5; border-radius: 50%; animation: spinSlow 80s linear infinite; }
.orbit-ring.r2 { inset: 24%; animation-duration: 60s; animation-direction: reverse; border-color: #d8d3c2; }
@keyframes spinSlow { to { transform: rotate(360deg); } }
.orbit-core {
  position: absolute; inset: 38%;
  background: var(--ink-900); color: var(--t-dark-hi);
  border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  box-shadow: 0 18px 50px -12px rgba(10, 13, 40, .45);
}
.orbit-core svg { width: 38px; height: 38px; }
.orbit-core span { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; color: var(--t-dark-mid); }
.orbit-node {
  position: absolute; width: 112px; margin: -22px 0 0 -56px;
  text-align: center; cursor: pointer;
  transition: transform .35s var(--ease-out);
}
.orbit-node .on-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--paper-card); border: 1.5px solid var(--paper-line);
  padding: 8px 13px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 6px 18px -8px rgba(27, 31, 48, .25);
  transition: all .3s var(--ease-out);
}
.orbit-node .on-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--node-c, var(--c-blue)); font-style: normal; }
.orbit-node:hover, .orbit-node.active { transform: scale(1.08); z-index: 3; }
.orbit-node.active .on-chip { border-color: var(--node-c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--node-c) 18%, transparent), 0 10px 24px -8px rgba(27,31,48,.3); }
.orbit-detail {
  border-left: 3px solid var(--c-blue);
  padding: 6px 0 6px 26px;
  min-height: 150px;
  transition: border-color .3s;
}
.orbit-detail h3 { font-family: var(--serif); font-weight: 600; font-size: 27px; margin-bottom: 10px; letter-spacing: -.01em; }
.orbit-detail p { font-size: 16px; max-width: 46ch; }
.orbit-detail .od-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.orbit-detail .od-tags span {
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em;
  border: 1px solid #cfc9b8; padding: 4px 11px; border-radius: 999px; color: var(--t-paper-mid);
}

/* ---------- lifecycle route ---------- */
.lifecycle { background: var(--paper-2); color: var(--t-paper-hi); padding: 96px 0 116px; overflow: hidden; }
.route-strip { position: relative; margin-top: 70px; }
.route-line { position: absolute; top: 26px; left: 2%; right: 2%; height: 3px; }
.route-line .rl-base { position: absolute; inset: 0; border-top: 3px dashed #c9c3b0; }
.route-line .rl-fill {
  position: absolute; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--c-yellow), var(--c-pink), var(--c-blue), var(--c-green));
  transition: width 2.4s var(--ease-out);
}
.route-strip.in .rl-fill { width: 100%; }
.route-stops { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; position: relative; }
.route-stop { text-align: center; padding-top: 0; }
.route-stop .rs-dot {
  width: 53px; height: 53px; margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--paper-card); border: 2px solid #c9c3b0;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 2;
  transition: all .4s var(--ease-out);
}
.route-stop .rs-dot svg { width: 21px; height: 21px; color: var(--t-paper-mid); transition: color .3s; }
.route-stop:hover .rs-dot { transform: translateY(-6px); border-color: var(--stop-c, var(--c-blue)); box-shadow: 0 12px 24px -10px color-mix(in srgb, var(--stop-c, var(--c-blue)) 55%, transparent); }
.route-stop:hover .rs-dot svg { color: var(--stop-c, var(--c-blue)); }
.route-stop b { display: block; font-size: 14px; font-weight: 800; margin-bottom: 4px; }
.route-stop span { font-size: 12.5px; color: var(--t-paper-mid); line-height: 1.45; display: block; max-width: 17ch; margin: 0 auto; }
.route-stop .rs-num { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; color: var(--t-paper-mid); display: block; margin-bottom: 10px; }

/* ---------- product demo ---------- */
.demo-section {
  background:
    radial-gradient(900px 480px at 14% 0%, rgba(47, 168, 239, .12), transparent 60%),
    var(--ink-950);
  padding: 120px 0 130px;
}
.demo-topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap; margin-bottom: 34px;
}
.theme-controls { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.theme-controls .tc-label { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--t-dark-lo); }
.swatches { display: flex; gap: 9px; }
.swatch {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid transparent;
  background: var(--sw); position: relative;
  transition: transform .25s var(--ease-out), box-shadow .25s;
}
.swatch::after { content: ''; position: absolute; inset: -6px; border: 1.5px solid transparent; border-radius: 50%; transition: border-color .25s; }
.swatch:hover { transform: scale(1.12); }
.swatch.active::after { border-color: var(--t-dark-hi); }
.swatch .sw-acc { position: absolute; right: -1px; bottom: -1px; width: 13px; height: 13px; border-radius: 50%; background: var(--swa); border: 2px solid var(--ink-950); }
.mode-toggle {
  display: flex; border: 1px solid var(--ink-line-strong); border-radius: 999px; padding: 3px; gap: 2px;
}
.mode-toggle button {
  padding: 6px 16px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: var(--t-dark-lo);
  transition: all .25s;
}
.mode-toggle button.active { background: var(--t-dark-hi); color: var(--ink-950); }

/* browser frame */
.browser {
  border-radius: var(--r-lg);
  border: 1px solid var(--ink-line);
  background: var(--ink-850);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7);
  overflow: hidden;
}
.browser-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--ink-line);
}
.browser-bar .dots { display: flex; gap: 7px; }
.browser-bar .dots i { width: 11px; height: 11px; border-radius: 50%; font-style: normal; }
.browser-bar .dots i:nth-child(1) { background: #ff5f57; } .browser-bar .dots i:nth-child(2) { background: #febc2e; } .browser-bar .dots i:nth-child(3) { background: #28c840; }
.browser-bar .url {
  flex: 1; max-width: 420px; margin: 0 auto;
  font-family: var(--mono); font-size: 11.5px; color: var(--t-dark-lo);
  background: rgba(150, 162, 210, .07); border: 1px solid var(--ink-line);
  border-radius: 8px; padding: 6px 14px; text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 7px;
}
.browser-bar .url svg { width: 11px; height: 11px; color: var(--c-green); }

/* the mock app — themed by JS via --app-* vars */
.app {
  --app-nav: #31364c;
  --app-nav-text: #f0f1f5;
  --app-accent: #2fa8ef;
  --app-bg: #f4f6f9;
  --app-panel: #ffffff;
  --app-line: #e2e6ed;
  --app-text: #1a1a1a;
  --app-mut: #6b7280;
  --app-soft: #eef2f7;
  --app-hover: #262a3b;
  font-family: var(--sans);
  background: var(--app-bg); color: var(--app-text);
  display: grid; grid-template-rows: auto 1fr;
  height: 596px;
  font-size: 13px;
  transition: background .45s, color .45s;
}
.app * { transition: background-color .45s, color .45s, border-color .45s; }

.app-nav {
  display: flex; align-items: center; gap: 16px;
  background: var(--app-nav); color: var(--app-nav-text);
  padding: 0 18px; height: 50px;
}
.app-nav .an-logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; }
.app-nav .an-logo svg { width: 20px; height: 20px; }
.app-nav .an-search {
  margin-left: 16px; flex: 1; max-width: 320px;
  display: flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .12); border-radius: 7px;
  padding: 6px 12px; font-size: 12px; color: rgba(255, 255, 255, .65);
}
.app-nav .an-search svg { width: 13px; height: 13px; }
.app-nav .an-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.app-nav .an-bell { position: relative; opacity: .85; }
.app-nav .an-bell svg { width: 17px; height: 17px; }
.app-nav .an-bell i { position: absolute; top: -3px; right: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--c-pink); font-style: normal; }
.app-nav .an-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--app-accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
}

.app-body { display: grid; grid-template-columns: 196px 1fr; min-height: 0; }
.app-drawer {
  background: var(--app-panel); border-right: 1px solid var(--app-line);
  padding: 14px 10px; display: flex; flex-direction: column; gap: 3px;
}
.app-drawer button {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 13px; border-radius: 8px;
  font-size: 12.8px; font-weight: 600; color: var(--app-mut);
  text-align: left; width: 100%;
  transition: all .2s;
}
.app-drawer button svg { width: 15px; height: 15px; flex: none; }
.app-drawer button:hover { background: var(--app-soft); color: var(--app-text); }
.app-drawer button.active { background: var(--app-accent); color: #fff; }
.app-drawer .ad-sep { height: 1px; background: var(--app-line); margin: 10px 6px; }
.app-drawer .ad-foot { margin-top: auto; padding: 10px 13px; font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; color: var(--app-mut); }

.app-main { padding: 20px 22px; overflow: auto; min-width: 0; }
.app-main::-webkit-scrollbar { width: 8px; }
.app-main::-webkit-scrollbar-thumb { background: var(--app-line); border-radius: 4px; }

.app-pagehead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 12px; flex-wrap: wrap; }
.app-pagehead h4 { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.app-pagehead .ap-crumb { font-size: 11.5px; color: var(--app-mut); margin-top: 2px; }
.app-btn {
  background: var(--app-accent); color: #fff;
  padding: 8px 16px; border-radius: 8px;
  font-size: 12.5px; font-weight: 700;
  transition: background .2s, transform .2s;
}
.app-btn:hover { background: var(--app-hover); transform: translateY(-1px); }
.app-btn.ghost { background: transparent; color: var(--app-text); border: 1px solid var(--app-line); }
.app-btn.ghost:hover { background: var(--app-soft); transform: none; }

.app-panel { background: var(--app-panel); border: 1px solid var(--app-line); border-radius: 12px; overflow: hidden; }

/* table */
.app-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.app-table th {
  text-align: left; font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--app-mut); font-weight: 700;
  padding: 11px 14px; border-bottom: 1px solid var(--app-line);
  background: var(--app-soft);
}
.app-table td { padding: 12px 14px; border-bottom: 1px solid var(--app-line); }
.app-table tbody tr { cursor: pointer; transition: background .15s; }
.app-table tbody tr:hover { background: var(--app-soft); }
.app-table tbody tr.sel { background: color-mix(in srgb, var(--app-accent) 9%, var(--app-panel)); box-shadow: inset 3px 0 0 var(--app-accent); }
.app-table .at-name { font-weight: 700; }
.app-table .at-route { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--app-mut); }
.chip {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .03em;
}
.chip.ok { background: rgba(37, 181, 106, .15); color: #1d8a52; }
.chip.warn { background: rgba(240, 180, 26, .18); color: #9c7408; }
.chip.info { background: rgba(47, 168, 239, .15); color: #1273ad; }
.chip.muted { background: var(--app-soft); color: var(--app-mut); }
.prog { width: 90px; height: 6px; border-radius: 3px; background: var(--app-soft); overflow: hidden; }
.prog i { display: block; height: 100%; border-radius: 3px; background: var(--app-accent); transition: width .6s var(--ease-out); }

/* case detail drawer inside demo */
.case-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 16px; }
.cd-fieldset { border: 1px solid var(--app-line); border-radius: 10px; padding: 13px 15px; }
.cd-fieldset legend, .cd-fieldset .cd-leg { font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: var(--app-mut); margin-bottom: 9px; display: block; }
.cd-row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 12.3px; border-bottom: 1px dashed var(--app-line); }
.cd-row:last-child { border-bottom: none; }
.cd-row span { color: var(--app-mut); }
.cd-row b { font-weight: 700; text-align: right; }
.cd-back { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--app-accent); padding: 4px 0; }

/* cost estimate */
.ce-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; }
.ce-lines { padding: 6px 0; }
.ce-line {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px; border-bottom: 1px solid var(--app-line);
  font-size: 12.6px;
}
.ce-line:last-child { border-bottom: none; }
.ce-line label { display: flex; align-items: center; gap: 10px; flex: 1; cursor: pointer; font-weight: 600; }
.ce-line .ce-cat { font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em; color: var(--app-mut); width: 64px; flex: none; text-transform: uppercase; }
.ce-line .ce-amt { font-family: var(--mono); font-size: 12px; font-weight: 600; }
.ce-line.off { opacity: .42; }
.ce-line.off .ce-amt { text-decoration: line-through; }
.ce-check {
  appearance: none; width: 16px; height: 16px; border-radius: 5px;
  border: 1.6px solid var(--app-line); background: var(--app-panel);
  display: grid; place-content: center; cursor: pointer; flex: none;
  transition: all .2s;
}
.ce-check:checked { background: var(--app-accent); border-color: var(--app-accent); }
.ce-check:checked::before { content: ''; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translateY(-1px); }
.ce-total { padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.ce-total small { font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--app-mut); font-weight: 700; }
.ce-total .ce-big { font-family: var(--mono); font-size: 30px; font-weight: 600; letter-spacing: -.02em; }
.ce-total .ce-sub { font-size: 11.5px; color: var(--app-mut); }
.ce-donut { margin: 14px auto 4px; }
.ce-donut circle { fill: none; stroke-width: 14; }
.ce-donut .dn-track { stroke: var(--app-soft); }
.ce-donut .dn-val { stroke: var(--app-accent); stroke-linecap: round; transition: stroke-dasharray .7s var(--ease-out); }

/* tasks */
.task-phases { padding: 8px 0; }
.task-phase-h {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px 6px; font-size: 10.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em; color: var(--app-mut);
}
.task-phase-h i { font-style: normal; width: 8px; height: 8px; border-radius: 50%; }
.task {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 16px 9px 34px; font-size: 12.8px; font-weight: 600;
  transition: opacity .3s;
}
.task .t-meta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.task .t-due { font-family: var(--mono); font-size: 10px; color: var(--app-mut); }
.task.done label { text-decoration: line-through; opacity: .55; }
.task label { cursor: pointer; display: flex; gap: 10px; align-items: center; }
.task-progress { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-top: 1px solid var(--app-line); background: var(--app-soft); }
.task-progress .prog { flex: 1; width: auto; height: 8px; }
.task-progress b { font-family: var(--mono); font-size: 12px; min-width: 38px; text-align: right; }

/* maia chat */
.maia-chat { display: flex; flex-direction: column; height: 100%; min-height: 380px; }
.mc-log { flex: 1; padding: 18px; display: flex; flex-direction: column; gap: 12px; overflow: auto; }
.mc-msg { max-width: 78%; padding: 10px 14px; border-radius: 14px; font-size: 12.8px; line-height: 1.55; }
.mc-msg.user { align-self: flex-end; background: var(--app-accent); color: #fff; border-bottom-right-radius: 4px; }
.mc-msg.bot { align-self: flex-start; background: var(--app-soft); border-bottom-left-radius: 4px; white-space: pre-line; }
.mc-msg.bot b { font-weight: 800; }
.mc-msg.thinking { font-family: var(--mono); font-size: 11px; color: var(--app-mut); background: transparent; padding: 2px 4px; }
.mc-msg.thinking::after { content: '▍'; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mc-suggest { display: flex; gap: 8px; padding: 0 18px 12px; flex-wrap: wrap; }
.mc-suggest button {
  font-size: 11.5px; font-weight: 700; color: var(--app-accent);
  border: 1px solid color-mix(in srgb, var(--app-accent) 40%, transparent);
  background: color-mix(in srgb, var(--app-accent) 7%, transparent);
  padding: 6px 13px; border-radius: 999px;
  transition: all .2s;
}
.mc-suggest button:hover { background: color-mix(in srgb, var(--app-accent) 16%, transparent); }
.mc-input {
  margin: 0 18px 16px; display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--app-line); border-radius: 12px; padding: 10px 14px;
  color: var(--app-mut); font-size: 12.5px; background: var(--app-panel);
}
.mc-input .spark { color: var(--app-accent); width: 15px; height: 15px; }

.demo-caption { margin-top: 30px; display: flex; gap: 14px; align-items: flex-start; max-width: 760px; }
.demo-caption svg { flex: none; width: 20px; height: 20px; color: var(--c-yellow); margin-top: 3px; }
.demo-caption p { color: var(--t-dark-mid); font-size: 15px; }
.demo-caption b { color: var(--t-dark-hi); }

/* ---------- solution cards (boarding passes) ---------- */
.passes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.pass {
  --pc: var(--c-blue);
  position: relative;
  background: var(--paper-card); color: var(--t-paper-hi);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
  box-shadow: 0 10px 30px -18px rgba(10, 13, 40, .35);
  display: flex; flex-direction: column;
}
.pass:hover { transform: translateY(-8px) rotate(-.4deg); box-shadow: 0 30px 60px -22px rgba(10, 13, 40, .5); }
.pass .ps-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px;
  background: var(--ink-900); color: var(--t-dark-hi);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em;
}
.pass .ps-head i { font-style: normal; color: var(--pc); }
.pass .ps-body { padding: 24px 22px 18px; flex: 1; }
.pass .ps-body h3 { font-family: var(--serif); font-weight: 600; font-size: 25px; letter-spacing: -.01em; margin-bottom: 10px; }
.pass .ps-body h3 span { color: color-mix(in srgb, var(--pc) 80%, var(--t-paper-hi)); }
.pass .ps-body p { font-size: 14.5px; color: var(--t-paper-mid); margin-bottom: 16px; }
.pass .ps-feats { display: flex; flex-direction: column; gap: 7px; }
.pass .ps-feats li { display: flex; gap: 10px; font-size: 13.5px; font-weight: 600; align-items: baseline; }
.pass .ps-feats li::before { content: '→'; color: var(--pc); font-weight: 800; }
.pass .ps-tear { border-top: 2px dashed var(--paper-line); position: relative; }
.pass .ps-tear::before, .pass .ps-tear::after {
  content: ''; position: absolute; top: -8px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--section-bg, var(--ink-900));
}
.pass .ps-tear::before { left: -8px; } .pass .ps-tear::after { right: -8px; }
.pass .ps-stub {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px;
}
.pass .ps-stub .go { font-weight: 800; font-size: 13.5px; color: var(--t-paper-hi); display: inline-flex; align-items: center; gap: 8px; }
.pass .ps-stub .go svg { width: 15px; height: 15px; transition: transform .3s var(--ease-out); color: var(--pc); }
.pass:hover .ps-stub .go svg { transform: translateX(5px); }
.pass .ps-code { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--t-paper-mid); }

/* ---------- maia teaser ---------- */
.maia-teaser { background: var(--ink-900); }
.maia-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.maia-window {
  background: var(--ink-850);
  border: 1px solid var(--ink-line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
}
.maia-window .mw-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px; border-bottom: 1px solid var(--ink-line);
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--t-dark-lo);
}
.maia-window .mw-bar .pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--c-green); animation: cityPulse 2.4s infinite; }
.maia-window .mw-log { padding: 22px; display: flex; flex-direction: column; gap: 14px; min-height: 280px; }
.mw-msg { max-width: 85%; padding: 12px 16px; border-radius: 14px; font-size: 14px; line-height: 1.55; }
.mw-msg.u { align-self: flex-end; background: var(--c-blue); color: #06121f; font-weight: 600; border-bottom-right-radius: 4px; }
.mw-msg.b { align-self: flex-start; background: var(--ink-700); color: var(--t-dark-hi); border-bottom-left-radius: 4px; white-space: pre-line; }
.mw-msg.b .cur { display: inline-block; width: 8px; background: var(--c-blue); animation: blink .9s steps(1) infinite; }
.maia-points { display: flex; flex-direction: column; gap: 22px; margin-top: 34px; }
.maia-points li { display: flex; gap: 16px; }
.maia-points .mp-ic {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(47, 168, 239, .12); border: 1px solid rgba(47, 168, 239, .3);
  display: flex; align-items: center; justify-content: center; color: var(--c-blue);
}
.maia-points .mp-ic svg { width: 20px; height: 20px; }
.maia-points b { display: block; font-size: 16px; margin-bottom: 3px; }
.maia-points p { font-size: 14.5px; color: var(--t-dark-mid); }

/* ---------- testimonials ---------- */
.tags-section { background: var(--paper); color: var(--t-paper-hi); overflow: hidden; }
.lug-tags { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: start; }
.lug {
  position: relative;
  background: var(--paper-card);
  border: 1.5px solid var(--paper-line);
  border-radius: 16px;
  padding: 30px 26px 24px;
  transition: transform .45s var(--ease-out), box-shadow .45s;
}
.lug::before {
  content: ''; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 38px; height: 13px; border-radius: 999px;
  border: 2.5px solid var(--paper-line); background: var(--paper);
}
.lug:nth-child(1) { transform: rotate(-1.4deg); }
.lug:nth-child(2) { transform: rotate(.8deg) translateY(14px); }
.lug:nth-child(3) { transform: rotate(-.6deg); }
.lug:hover { transform: rotate(0) translateY(-6px); box-shadow: 0 24px 50px -20px rgba(27, 31, 48, .3); z-index: 2; }
.lug blockquote {
  font-family: var(--serif); font-weight: 500; font-style: italic;
  font-size: 18.5px; line-height: 1.5; letter-spacing: -.005em;
  margin: 22px 0 22px; color: var(--t-paper-hi);
}
.lug blockquote::before { content: '“'; color: var(--lug-c, var(--c-blue)); font-size: 1.6em; line-height: 0; vertical-align: -.32em; margin-right: 2px; }
.lug .lg-who { display: flex; align-items: center; gap: 12px; border-top: 1.5px dashed var(--paper-line); padding-top: 16px; }
.lug .lg-av {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; color: #fff;
  background: var(--lug-c, var(--c-blue));
}
.lug .lg-who b { display: block; font-size: 14px; }
.lug .lg-who span { font-size: 12px; color: var(--t-paper-mid); }

/* ---------- security strip ---------- */
.sec-strip { background: var(--ink-950); }
.sec-strip .wrap {
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
  border: 1px solid var(--ink-line);
  border-radius: var(--r-lg);
  padding: 44px 48px;
  background:
    radial-gradient(500px 200px at 90% 10%, rgba(37, 181, 106, .1), transparent 65%),
    var(--ink-850);
}
.iso-badge {
  flex: none; width: 96px; height: 96px; border-radius: 50%;
  border: 2px solid var(--c-green);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  font-family: var(--mono); color: var(--c-green);
  position: relative;
}
.iso-badge::before { content: ''; position: absolute; inset: 5px; border: 1px dashed rgba(37, 181, 106, .5); border-radius: 50%; animation: spinSlow 30s linear infinite; }
.iso-badge b { font-size: 14px; letter-spacing: .06em; }
.iso-badge span { font-size: 9px; letter-spacing: .2em; }
.sec-strip h3 { font-family: var(--serif); font-weight: 600; font-size: 26px; margin-bottom: 8px; letter-spacing: -.01em; }
.sec-strip p { color: var(--t-dark-mid); max-width: 52ch; font-size: 15px; }
.sec-strip .btn { margin-left: auto; }

/* ---------- final CTA ---------- */
.final-cta {
  position: relative; text-align: center;
  padding: 150px 0 160px;
  background:
    radial-gradient(800px 420px at 50% 110%, rgba(47, 168, 239, .2), transparent 65%),
    var(--ink-900);
  overflow: hidden;
}
.final-cta .fc-codes {
  position: absolute; inset: 0; pointer-events: none;
  font-family: var(--mono); font-size: 11px; letter-spacing: .3em; color: var(--t-dark-lo);
  opacity: .35;
}
.final-cta .fc-codes span { position: absolute; animation: codeDrift 14s ease-in-out infinite; }
@keyframes codeDrift { 0%,100% { transform: translateY(0); opacity: .25; } 50% { transform: translateY(-16px); opacity: .6; } }
.final-cta h2 { margin-bottom: 20px; }
.final-cta .lede { margin: 0 auto 40px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-950); border-top: 1px solid var(--ink-line); padding: 70px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 54px; }
.footer-grid h5 { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--t-dark-lo); margin-bottom: 18px; }
.footer-grid ul { display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { font-size: 14px; color: var(--t-dark-mid); transition: color .2s; }
.footer-grid a:hover { color: var(--t-dark-hi); }
.footer-grid a .f-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 9px; vertical-align: 1px; }
.footer-brand p { color: var(--t-dark-mid); font-size: 14px; max-width: 34ch; margin: 16px 0 20px; }
.footer-brand .f-contact { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: var(--t-dark-mid); }
.footer-brand .f-contact a:hover { color: var(--c-blue); }
.footer-bottom {
  border-top: 1px solid var(--ink-line); padding-top: 26px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--t-dark-lo);
}
.footer-bottom .fb-iso { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; display: flex; align-items: center; gap: 8px; }
.footer-bottom .fb-iso i { width: 8px; height: 8px; border-radius: 50%; background: var(--c-green); font-style: normal; }

/* ---------- inner-page hero-maia ---------- */
.page-hero-maia {
  padding: 175px 0 80px;
  background:
    radial-gradient(900px 420px at 80% -10%, var(--ph-glow, rgba(47, 168, 239, .14)), transparent 62%),
    var(--ink-900);
  position: relative; overflow: hidden;
}
.page-hero-maia .wrap { position: relative; }
.page-hero-maia h1 { max-width: 16ch; }
.page-hero-maia .lede { margin-top: 22px; }

/* solutions deep sections */
.sol-section { padding: 100px 0; }
.sol-section .sol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.sol-section.alt .sol-grid > .sol-visual { order: -1; }
.sol-feats { margin-top: 26px; display: grid; gap: 14px; }
.sol-feats li { display: flex; gap: 14px; align-items: flex-start; }
.sol-feats .sf-ic {
  flex: none; width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--sol-c, var(--c-blue)) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--sol-c, var(--c-blue)) 35%, transparent);
  color: var(--sol-c, var(--c-blue));
}
.sol-feats .sf-ic svg { width: 17px; height: 17px; }
.sol-feats b { display: block; font-size: 15.5px; }
.sol-feats p { font-size: 14px; color: var(--t-dark-mid); }
.on-paper .sol-feats p { color: var(--t-paper-mid); }

/* mini UI vignettes for solution visuals */
.vignette {
  border-radius: var(--r-lg); border: 1px solid var(--ink-line);
  background: var(--ink-850); box-shadow: var(--shadow-pop);
  padding: 22px; position: relative; overflow: hidden;
}
.on-paper .vignette { background: var(--paper-card); border-color: var(--paper-line); box-shadow: 0 24px 60px -24px rgba(27, 31, 48, .25); }
.vignette .vg-stamp {
  position: absolute; top: 18px; right: 18px;
  font-family: var(--mono); font-size: 9px; letter-spacing: .2em; text-transform: uppercase;
  border: 1.5px solid var(--sol-c, var(--c-blue)); color: var(--sol-c, var(--c-blue));
  padding: 5px 10px; border-radius: 4px;
  transform: rotate(6deg); opacity: .85;
}

/* stat band */
.stat-band { background: var(--paper-2); color: var(--t-paper-hi); padding: 72px 0; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-row b { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 4vw, 54px); letter-spacing: -.02em; }
.stat-row b sup { font-size: .45em; color: var(--c-blue-deep); }
.stat-row span { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--t-paper-mid); }

/* ---------- demo (request) page ---------- */
.demo-page-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: start; }
.demo-form {
  background: var(--paper-card); color: var(--t-paper-hi);
  border-radius: var(--r-lg); padding: 40px;
  box-shadow: var(--shadow-pop);
}
.demo-form h3 { font-family: var(--serif); font-weight: 600; font-size: 26px; margin-bottom: 6px; }
.demo-form .df-sub { font-size: 14px; color: var(--t-paper-mid); margin-bottom: 28px; }
.df-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.df-field { margin-bottom: 18px; }
.df-field label { display: block; font-size: 12px; font-weight: 800; letter-spacing: .04em; margin-bottom: 7px; }
.df-field input, .df-field select, .df-field textarea {
  width: 100%; font: inherit; font-size: 14.5px;
  border: 1.5px solid var(--paper-line); border-radius: 10px;
  background: #fff; color: var(--t-paper-hi);
  padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.df-field input:focus, .df-field select:focus, .df-field textarea:focus {
  outline: none; border-color: var(--c-blue);
  box-shadow: 0 0 0 4px rgba(47, 168, 239, .18);
}
.df-field .df-err { display: none; font-size: 12px; color: var(--c-pink); margin-top: 5px; font-weight: 600; }
.df-field.invalid input, .df-field.invalid select { border-color: var(--c-pink); }
.df-field.invalid .df-err { display: block; }
.demo-form .btn { width: 100%; justify-content: center; margin-top: 8px; }
.df-note { font-size: 12px; color: var(--t-paper-mid); text-align: center; margin-top: 14px; }

.df-success { text-align: center; padding: 30px 10px; display: none; }
.df-success.show { display: block; animation: riseIn .7s var(--ease-out); }
.df-success .ok-ring {
  width: 84px; height: 84px; margin: 0 auto 24px; border-radius: 50%;
  border: 2.5px solid var(--c-green); color: var(--c-green);
  display: flex; align-items: center; justify-content: center;
}
.df-success .ok-ring svg { width: 38px; height: 38px; }
.df-success h3 { margin-bottom: 10px; }
.df-success p { color: var(--t-paper-mid); font-size: 15px; }

.demo-aside .da-points { display: flex; flex-direction: column; gap: 24px; margin: 36px 0; }
.demo-aside .da-points li { display: flex; gap: 16px; }
.demo-aside .da-num {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--ink-line-strong);
  font-family: var(--mono); font-size: 13px;
  display: flex; align-items: center; justify-content: center; color: var(--c-blue);
}
.demo-aside b { display: block; margin-bottom: 3px; font-size: 16px; }
.demo-aside p { color: var(--t-dark-mid); font-size: 14.5px; }
.da-quote {
  border-left: 3px solid var(--c-yellow); padding-left: 22px; margin-top: 40px;
}
.da-quote blockquote { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.55; color: var(--t-dark-hi); margin-bottom: 12px; }
.da-quote cite { font-style: normal; font-size: 13px; color: var(--t-dark-lo); font-family: var(--mono); letter-spacing: .08em; }

/* ---------- about page ---------- */
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 42px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px; border-left: 2px dashed var(--ink-line-strong); }
.tl-item { position: relative; padding-bottom: 44px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ''; position: absolute; left: -41px; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--ink-900); border: 2.5px solid var(--c-blue);
}
.tl-item .tl-year { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; color: var(--c-blue); }
.tl-item h3 { font-family: var(--serif); font-weight: 600; font-size: 23px; margin: 7px 0 8px; letter-spacing: -.01em; }
.tl-item p { color: var(--t-dark-mid); font-size: 15px; max-width: 56ch; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
  border: 1.5px solid var(--paper-line); border-radius: var(--r-md);
  background: var(--paper-card); padding: 30px 26px;
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
.value-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px -18px rgba(27, 31, 48, .25); }
.value-card .vc-num { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--c-blue-deep); }
.value-card h3 { font-family: var(--serif); font-weight: 600; font-size: 22px; margin: 12px 0 10px; }
.value-card p { font-size: 14.5px; }

/* ---------- security page ---------- */
.shield-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.shield-card {
  border: 1px solid var(--ink-line); border-radius: var(--r-md);
  background: var(--ink-850); padding: 30px 26px;
  transition: transform .4s var(--ease-out), border-color .3s;
}
.shield-card:hover { transform: translateY(-6px); border-color: rgba(37, 181, 106, .5); }
.shield-card .sc-ic {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 20px;
  background: rgba(37, 181, 106, .12); border: 1px solid rgba(37, 181, 106, .35);
  display: flex; align-items: center; justify-content: center; color: var(--c-green);
}
.shield-card .sc-ic svg { width: 21px; height: 21px; }
.shield-card h3 { font-size: 17.5px; font-weight: 800; margin-bottom: 9px; }
.shield-card p { font-size: 14px; color: var(--t-dark-mid); }

/* legal */
.legal-body { max-width: 760px; }
.legal-body h2 { font-family: var(--serif); font-weight: 600; font-size: 30px; margin: 54px 0 16px; letter-spacing: -.01em; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--t-dark-mid); font-size: 15px; margin-bottom: 12px; }
.legal-body ul { list-style: disc; padding-left: 22px; }

/* marquee of city codes */
.code-marquee {
  border-top: 1px solid var(--ink-line); border-bottom: 1px solid var(--ink-line);
  padding: 16px 0; overflow: hidden; background: var(--ink-950);
  font-family: var(--mono); font-size: 12px; letter-spacing: .26em; color: var(--t-dark-lo);
  user-select: none;
}
.code-marquee .cm-track { display: flex; gap: 56px; width: max-content; animation: marquee 48s linear infinite; white-space: nowrap; }
.code-marquee span i { font-style: normal; color: var(--c-blue); margin: 0 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-maia-inner { grid-template-columns: 1fr; }
  .globe-stage { min-height: 0; max-width: 560px; margin: 0 auto; }
  .hero-maia-ticket { right: 8px; }
  .orbit-layout, .maia-grid, .sol-section .sol-grid, .demo-page-grid { grid-template-columns: 1fr; gap: 48px; }
  .sol-section.alt .sol-grid > .sol-visual { order: 0; }
  .route-stops { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .route-line { display: none; }
  .lug-tags { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .lug:nth-child(2) { transform: rotate(.8deg); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-row, .shield-grid, .values-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
}
@media (max-width: 820px) {
  .main-nav {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(8, 10, 32, .97); backdrop-filter: blur(16px);
    padding: 18px 24px 28px;
    border-bottom: 1px solid var(--ink-line);
    display: none;
  }
  body.nav-open .main-nav { display: flex; }
  .main-nav a, .main-nav .nav-link { padding: 13px 14px; font-size: 16px; width: 100%; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: transparent; padding: 0 0 0 16px; display: none; }
  .main-nav li.open .dropdown { display: block; }
  .nav-burger { display: flex; }
  .header-cta { display: none; }
  .passes { grid-template-columns: 1fr; }
  .ce-grid, .case-detail { grid-template-columns: 1fr; }
  .app-body { grid-template-columns: 1fr; }
  .app-drawer { flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--app-line); padding: 8px; }
  .app-drawer .ad-sep, .app-drawer .ad-foot { display: none; }
  .app-drawer button { width: auto; white-space: nowrap; }
  .app { height: 640px; }
  .section { padding: 80px 0; }
  .hero-maia { padding-top: 150px; }
  .hero-maia-meta .hm { border-right: none; padding-right: 0; }
  .sec-strip .wrap { padding: 34px 28px; }
  .sec-strip .btn { margin-left: 0; }
  .demo-topbar { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  h1.display { font-size: clamp(32px, 10.5vw, 44px); }
  h2.display { font-size: clamp(28px, 8vw, 34px); }
  .route-stops { grid-template-columns: repeat(2, 1fr); }
  .stat-row, .shield-grid, .values-grid, .footer-grid, .df-row { grid-template-columns: 1fr; }
  .hero-maia-ticket { display: none; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero-maia [data-stagger] { opacity: 1; transform: none; }
}
