/* =========================================================
   TDS Softlink: design system
   Clean white base (emerald24-inspired), dark technical
   sections (Tulip-inspired), brand orange-red gradient.
   ========================================================= */
:root {
  --brand: #e2260b;
  --brand-1: #ff4401;
  --brand-2: #c80001;
  --brand-grad: linear-gradient(135deg, var(--brand-1) 0%, var(--brand-2) 100%);
  --brand-soft: #fff1ec;

  --ink: #0d0f14;
  --ink-2: #2b2f38;
  --muted: #626977;
  --line: #e6e7eb;
  --soft: #f5f5f7;
  --white: #fff;

  --dark: #0c1820;
  --dark-2: #13232d;
  --dark-3: #1c3140;
  --dark-line: rgba(255, 255, 255, .1);
  --dark-muted: rgba(255, 255, 255, .66);

  --font-head: "Inter Tight", Inter, system-ui, sans-serif;
  --font-body: Inter, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(13, 15, 20, .04), 0 12px 32px rgba(13, 15, 20, .06);
  --shadow-lg: 0 30px 80px rgba(13, 15, 20, .14);

  --container: 1240px;
  --gutter: 24px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.65 var(--font-body); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; line-height: 1.1; letter-spacing: -.025em; margin: 0; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 880px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typography ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin: 0 0 18px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--brand-grad); }
.eyebrow--light { color: #ffb59e; }
.display { font-size: clamp(42px, 7vw, 92px); font-weight: 500; letter-spacing: -.04em; line-height: 1.02; }
.h1 { font-size: clamp(38px, 5.4vw, 68px); letter-spacing: -.035em; }
.h2 { font-size: clamp(30px, 4vw, 52px); letter-spacing: -.03em; }
.h3 { font-size: clamp(22px, 2.4vw, 30px); }
.h4 { font-size: 20px; letter-spacing: -.015em; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); line-height: 1.6; max-width: 680px; }
.h1 + .lead, .h2 + .lead, .h3 + .lead { margin-top: 18px; }
.text-brand { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font: 600 15px/1 var(--font-body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-brand { background: var(--brand-grad); color: #fff; box-shadow: 0 8px 24px rgba(226, 38, 11, .28); }
.btn-brand:hover { box-shadow: 0 12px 30px rgba(226, 38, 11, .38); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #262a33; }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .25); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .08); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 18px 32px; font-size: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand); text-decoration: none; }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgba(255, 255, 255, .88); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.logo img { height: 30px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-list > li > a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 999px; font-size: 14.5px; font-weight: 500; text-decoration: none; color: var(--ink-2); transition: background .15s, color .15s; }
.nav-list > li > a:hover { background: var(--soft); color: var(--ink); }
.nav-list > li > a[aria-current="page"] { color: var(--brand); }
.has-dropdown { position: relative; }
.dropdown { position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px); width: 620px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
.dropdown::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.has-dropdown:hover .dropdown, .has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.dropdown-grid a { display: block; padding: 12px 14px; border-radius: 12px; text-decoration: none; }
.dropdown-grid a:hover { background: var(--soft); }
.dropdown-grid b { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.dropdown-grid span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.dropdown-all b { color: var(--brand); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); transition: transform .25s var(--ease), top .25s; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--dark); color: #fff; }
.section--dark .lead, .section--dark .muted { color: var(--dark-muted); }
.section--dark .eyebrow { color: #ff8b6b; }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 780px; }
.section-head .h2 { margin-bottom: 18px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.section-head--split > div { max-width: 700px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--top { align-items: start; }
.split--wide-left { grid-template-columns: 1.15fr .85fr; }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.card:hover { box-shadow: var(--shadow); }
.card h3 { font-size: 20px; letter-spacing: -.015em; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; }
.card--soft { background: var(--soft); border-color: transparent; }
.card--dark { background: var(--dark-2); border-color: var(--dark-line); color: #fff; }
.card--dark p { color: var(--dark-muted); }
.card-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 22px; }
.card--dark .card-icon { background: rgba(255, 68, 1, .14); color: #ff8b6b; }
.card-num { font: 500 13px/1 var(--font-mono); color: var(--brand); margin-bottom: 18px; display: block; letter-spacing: .08em; }

/* Big link cards for solution areas (numbered, Engram-inspired) */
.area-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.area-card { grid-column: span 4; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 320px; padding: 32px; border-radius: var(--radius-lg); text-decoration: none; color: var(--ink); background: var(--soft); isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s; }
.area-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.area-card::before { content: attr(data-num); position: absolute; right: -6px; bottom: -40px; font: 500 200px/1 var(--font-head); letter-spacing: -.06em; color: rgba(13, 15, 20, .05); z-index: -1; transition: transform .5s var(--ease); }
.area-card:hover::before { transform: translateY(-14px); }
.area-card h3 { font-size: clamp(22px, 2vw, 27px); margin: 16px 0 12px; max-width: 320px; }
.area-card p { color: var(--muted); margin: 0; max-width: 360px; }
.area-card .area-go { margin-top: 28px; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; transition: background .25s, color .25s, transform .25s var(--ease); }
.area-card:hover .area-go { background: var(--ink); color: #fff; transform: rotate(-45deg); }
.area-card--wide { grid-column: span 6; }
.area-card--brand { background: var(--brand-grad); color: #fff; }
.area-card--brand p { color: rgba(255, 255, 255, .85); }
.area-card--brand::before { color: rgba(255, 255, 255, .12); }
.area-card--dark { background: var(--dark); color: #fff; }
.area-card--dark p { color: var(--dark-muted); }
.area-card--dark::before { color: rgba(255, 255, 255, .06); }
.area-card--brand .area-go, .area-card--dark .area-go { background: rgba(255, 255, 255, .14); color: #fff; }
.area-card--brand:hover .area-go, .area-card--dark:hover .area-go { background: #fff; color: var(--ink); }
.area-tag { font: 500 12px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; opacity: .7; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.chips li, .chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 14px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.chips--soft li { background: var(--soft); border-color: transparent; }
.section--dark .chips li, .card--dark .chips li { background: rgba(255, 255, 255, .06); border-color: var(--dark-line); color: rgba(255, 255, 255, .85); }
.chips--brand li { background: var(--brand-soft); border-color: transparent; color: #a3200a; font-weight: 500; }
.selling-terms { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 22px; font: 500 13px/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.selling-terms span::before { content: "● "; font-size: 9px; vertical-align: 2px; }

/* ---------- Hero (home) ---------- */
.hero { padding: clamp(64px, 9vw, 120px) 0 0; text-align: center; position: relative; overflow: hidden; }
.hero .display { max-width: 1100px; margin: 0 auto 28px; }
.hero .lead { margin: 0 auto 40px; }
.hero .btn-row { justify-content: center; }
.hero-ticker { display: inline-flex; align-items: center; gap: 12px; padding: 7px 8px 7px 16px; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 34px; font-size: 14px; color: var(--muted); }
.ticker-window { height: 26px; overflow: hidden; position: relative; min-width: 190px; text-align: left; }
.ticker-list { list-style: none; animation: ticker 9s var(--ease) infinite; }
.ticker-list li { height: 26px; display: flex; align-items: center; padding: 0 12px; border-radius: 999px; background: var(--brand-grad); color: #fff; font-weight: 600; font-size: 13px; width: max-content; }
@keyframes ticker {
  0%, 28% { transform: translateY(0); }
  33%, 61% { transform: translateY(-26px); }
  66%, 94% { transform: translateY(-52px); }
  100% { transform: translateY(-78px); }
}
.hero-visual { margin: clamp(56px, 7vw, 88px) auto 0; max-width: 1180px; position: relative; }

/* Infinite marquee */
.marquee { overflow: hidden; position: relative; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 14px; font: 500 clamp(18px, 2vw, 24px)/1 var(--font-head); letter-spacing: -.01em; color: var(--ink-2); white-space: nowrap; }
.marquee-item::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--brand-grad); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }
.section--dark .marquee { border-color: var(--dark-line); }
.section--dark .marquee-item { color: rgba(255, 255, 255, .8); }

/* Dashboard mock (hero visual) */
.dash { background: var(--dark); border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: 14px 14px 0; box-shadow: var(--shadow-lg); text-align: left; color: #fff; overflow: hidden; }
.dash-bar { display: flex; align-items: center; gap: 7px; padding: 4px 6px 14px; }
.dash-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.dash-bar span { margin-left: 12px; font: 500 12px var(--font-mono); color: var(--dark-muted); }
.dash-body { display: grid; grid-template-columns: 200px 1fr; background: var(--dark-2); border-radius: 14px 14px 0 0; min-height: 420px; }
.dash-side { padding: 20px 14px; border-right: 1px solid var(--dark-line); display: flex; flex-direction: column; gap: 4px; }
.dash-side span { padding: 9px 12px; border-radius: 8px; font-size: 13px; color: var(--dark-muted); }
.dash-side span.on { background: rgba(255, 68, 1, .16); color: #fff; }
.dash-main { padding: 22px; display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); grid-auto-rows: min-content; }
.kpi { background: var(--dark-3); border-radius: 12px; padding: 16px; }
.kpi small { display: block; font-size: 12px; color: var(--dark-muted); margin-bottom: 8px; }
.kpi b { font: 600 24px/1 var(--font-head); letter-spacing: -.02em; }
.kpi em { font-style: normal; font-size: 12px; color: #5fd49a; margin-left: 6px; }
.kpi em.down { color: #ff8b6b; }
.chart { grid-column: span 3; background: var(--dark-3); border-radius: 12px; padding: 16px; }
.chart small, .lines small { font-size: 12px; color: var(--dark-muted); }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 170px; margin-top: 14px; }
.bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, rgba(255, 68, 1, .9), rgba(200, 0, 1, .55)); transform-origin: bottom; animation: grow 1.4s var(--ease) both; }
.bars i:nth-child(even) { background: rgba(255, 255, 255, .16); }
@keyframes grow { from { transform: scaleY(0); } }
.lines { grid-column: span 1; background: var(--dark-3); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.line-row { display: flex; justify-content: space-between; font-size: 12.5px; }
.line-row span:last-child { font-family: var(--font-mono); }
.meter { height: 5px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; margin-top: 5px; }
.meter i { display: block; height: 100%; background: var(--brand-grad); border-radius: 4px; }

/* ---------- Chaos → One system ---------- */
.chaos { display: grid; grid-template-columns: 1fr 120px 1fr; gap: 24px; align-items: center; }
.chaos-field { position: relative; min-height: 380px; border-radius: var(--radius-lg); background: repeating-linear-gradient(0deg, transparent 0 31px, rgba(13, 15, 20, .04) 31px 32px), repeating-linear-gradient(90deg, transparent 0 31px, rgba(13, 15, 20, .04) 31px 32px), var(--soft); overflow: hidden; }
.chaos-item { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 14px; font-weight: 500; white-space: nowrap; transition: transform 1s var(--ease), opacity .6s; }
.chaos-item svg { color: var(--muted); }
.chaos-item:nth-child(1) { top: 9%; left: 8%; transform: rotate(-8deg); }
.chaos-item:nth-child(2) { top: 18%; left: 54%; transform: rotate(6deg); }
.chaos-item:nth-child(3) { top: 40%; left: 22%; transform: rotate(4deg); }
.chaos-item:nth-child(4) { top: 46%; left: 62%; transform: rotate(-5deg); }
.chaos-item:nth-child(5) { top: 66%; left: 6%; transform: rotate(7deg); }
.chaos-item:nth-child(6) { top: 76%; left: 44%; transform: rotate(-3deg); }
.chaos-item:nth-child(7) { top: 30%; left: 34%; transform: rotate(-12deg); opacity: .85; }
.chaos.is-in .chaos-item { animation: jitter 3.2s ease-in-out infinite; }
.chaos.is-in .chaos-item:nth-child(2n) { animation-delay: -1.1s; }
.chaos.is-in .chaos-item:nth-child(3n) { animation-delay: -2s; }
@keyframes jitter { 0%, 100% { translate: 0 0; } 50% { translate: 4px -6px; } }
.chaos-arrow { display: grid; place-items: center; }
.chaos-arrow span { width: 72px; height: 72px; border-radius: 50%; background: var(--brand-grad); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 12px var(--brand-soft); }
.one-system { border-radius: var(--radius-lg); background: var(--dark); color: #fff; padding: 34px; min-height: 380px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.one-system h3 { font-size: 22px; margin-bottom: 10px; display: flex; align-items: center; gap: 12px; }
.one-system h3 img { width: 34px; height: 34px; }
.one-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 12px; font-size: 14px; opacity: 0; transform: translateX(-12px); transition: opacity .5s, transform .5s var(--ease); }
.one-row::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-grad); font-size: 12px; flex: none; }
.chaos.is-in .one-row { opacity: 1; transform: none; }
.chaos.is-in .one-row:nth-child(3) { transition-delay: .15s; }
.chaos.is-in .one-row:nth-child(4) { transition-delay: .3s; }
.chaos.is-in .one-row:nth-child(5) { transition-delay: .45s; }
.chaos.is-in .one-row:nth-child(6) { transition-delay: .6s; }
.chaos.is-in .one-row:nth-child(7) { transition-delay: .75s; }

.pressures { margin-top: 56px; }
.pressures h3 { font: 500 13px/1 var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 18px; }
.today-with { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.tw-card { border-radius: var(--radius); padding: 30px; }
.tw-card h3 { font: 500 13px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 22px; }
.tw-card--today { background: var(--soft); }
.tw-card--today h3 { color: var(--muted); }
.tw-card--with { background: var(--brand-grad); color: #fff; }
.flow-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.flow-inline span { padding: 9px 14px; border-radius: 10px; background: #fff; font-size: 14.5px; font-weight: 500; }
.tw-card--with .flow-inline span { background: rgba(255, 255, 255, .16); }
.flow-inline i { font-style: normal; opacity: .55; }
.tw-card--today .flow-inline span { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(98, 105, 119, .4); }

/* ---------- Scroll-highlight statement (emerald24 effect) ---------- */
.statement { font: 500 clamp(30px, 4.6vw, 60px)/1.15 var(--font-head); letter-spacing: -.035em; max-width: 1080px; }
.statement .w { color: rgba(13, 15, 20, .14); transition: color .35s; }
.statement .w.on { color: var(--ink); }
.statement .w.on.hl { color: var(--brand); }
.section--dark .statement .w { color: rgba(255, 255, 255, .16); }
.section--dark .statement .w.on { color: #fff; }
.section--dark .statement .w.on.hl { color: #ff6a3d; }

/* ---------- Health check (interactive) ---------- */
.health { display: grid; grid-template-columns: 1fr 1.05fr; gap: 28px; align-items: start; }
.health-list { display: grid; gap: 10px; }
.health-opt { display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; padding: 18px 20px; border-radius: 14px; border: 1px solid var(--dark-line); background: var(--dark-2); color: rgba(255, 255, 255, .82); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.health-opt:hover { border-color: rgba(255, 255, 255, .25); color: #fff; }
.health-opt[aria-selected="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.health-opt .hn { font: 500 12px/1 var(--font-mono); opacity: .55; flex: none; width: 22px; }
.health-opt .hq { font-size: 15px; line-height: 1.45; }
.health-panel { position: sticky; top: calc(var(--header-h) + 24px); border-radius: var(--radius-lg); background: var(--brand-grad); color: #fff; padding: clamp(28px, 4vw, 48px); min-height: 440px; display: flex; flex-direction: column; }
.health-panel .hp-tag { font: 500 12px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; opacity: .8; margin-bottom: 18px; }
.health-panel h3 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 8px; }
.health-panel .hp-q { font-size: 16px; opacity: .85; font-style: italic; margin-bottom: 26px; }
.health-panel .hp-sol { font: 500 13px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; opacity: .75; margin-bottom: 10px; }
.health-panel h4 { font-size: 24px; margin-bottom: 12px; }
.health-panel p { font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .92); }
.health-panel .btn { margin-top: auto; align-self: flex-start; background: #fff; color: var(--ink); }
.health-panel.swap > * { animation: fadeUp .45s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Phone mockup (OneView) ---------- */
.phone-stage { position: relative; display: flex; justify-content: center; gap: 22px; padding: 20px 0; }
.phone { width: 270px; flex: none; border-radius: 42px; padding: 11px; background: #0b0d12; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2a2e38; position: relative; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 82px; height: 22px; border-radius: 20px; background: #000; z-index: 2; }
.phone-screen { border-radius: 32px; background: #f4f5f8; overflow: hidden; height: 540px; padding: 52px 14px 14px; display: flex; flex-direction: column; gap: 10px; font-size: 12px; color: var(--ink); }
.phone--offset { margin-top: 70px; }
.ps-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.ps-head b { font: 600 16px var(--font-head); }
.ps-head span { width: 28px; height: 28px; border-radius: 50%; background: var(--brand-grad); }
.ps-card { background: #fff; border-radius: 14px; padding: 12px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.ps-card small { color: var(--muted); display: block; font-size: 11px; }
.ps-card strong { font: 600 20px/1.2 var(--font-head); }
.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ps-spark { height: 46px; margin-top: 8px; }
.ps-approve { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ps-approve div { min-width: 0; }
.ps-approve b { display: block; font-size: 12px; }
.ps-btn { padding: 6px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 600; flex: none; }
.ps-alert { display: flex; gap: 10px; align-items: flex-start; }
.ps-alert i { width: 8px; height: 8px; border-radius: 50%; margin-top: 4px; background: var(--brand); flex: none; }
.ps-alert i.amber { background: #f0a020; }
.ps-alert i.green { background: #22a565; }
.ps-tabs { margin-top: auto; display: flex; justify-content: space-around; padding: 10px 0 2px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.ps-tabs span.on { color: var(--brand); font-weight: 600; }

.feature-rows { display: grid; gap: 4px; }
.feature-row { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.feature-row:last-child { border-bottom: 0; }
.feature-row .fi { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.feature-row h3 { font-size: 19px; margin-bottom: 4px; letter-spacing: -.01em; }
.feature-row p { color: var(--muted); margin: 0; }
.section--dark .feature-row { border-color: var(--dark-line); }
.section--dark .feature-row .fi { background: rgba(255, 68, 1, .14); color: #ff8b6b; }
.section--dark .feature-row p { color: var(--dark-muted); }

/* ---------- Process flow (One connected factory) ---------- */
.flow { position: relative; display: grid; grid-template-columns: repeat(11, 1fr); gap: 0; margin-top: 20px; }
.flow::before { content: ""; position: absolute; top: 27px; left: 4.5%; right: 4.5%; height: 2px; background: var(--dark-line); }
.flow::after { content: ""; position: absolute; top: 27px; left: 4.5%; height: 2px; width: 0; background: var(--brand-grad); transition: width 2.6s var(--ease); }
.flow.is-in::after { width: 91%; }
.flow-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 0 4px; }
.flow-dot { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--dark-2); border: 1px solid var(--dark-line); color: rgba(255, 255, 255, .7); font: 500 13px var(--font-mono); transition: background .4s, color .4s, border-color .4s, box-shadow .4s; }
.flow.is-in .flow-dot { background: var(--brand-grad); color: #fff; border-color: transparent; box-shadow: 0 0 0 6px rgba(255, 68, 1, .12); }
.flow-step span { font-size: 13.5px; font-weight: 500; color: rgba(255, 255, 255, .85); line-height: 1.3; }
.flow-light::before { background: var(--line); }
.flow-light .flow-dot { background: #fff; border-color: var(--line); color: var(--muted); }
.flow-light .flow-step span { color: var(--ink-2); }

/* Vertical process steps (implementation, traceability) */
.steps { counter-reset: step; display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 90px 1fr; gap: 28px; padding: 36px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step-num { font: 500 44px/1 var(--font-head); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px var(--ink); }
.step h3 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 4px; }
.step .step-kicker { font: 500 12px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; display: block; }
.step p { color: var(--muted); max-width: 720px; }
.step .chips { margin-top: 16px; }
.section--dark .step { border-color: var(--dark-line); }
.section--dark .step-num { -webkit-text-stroke-color: rgba(255, 255, 255, .6); }

/* Chain (pill sequence with arrows) */
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.chain span { padding: 12px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 500; font-size: 15px; }
.chain i { font-style: normal; color: var(--brand); font-weight: 600; }
.chain--dark span { background: var(--dark-2); border-color: var(--dark-line); color: #fff; }

/* ---------- Outcomes / benefits ---------- */
.outcomes { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.outcome { padding: 38px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s; }
.outcome:hover { background: var(--soft); }
.outcome .card-num { margin-bottom: 28px; }
.outcome h3 { font-size: 24px; margin-bottom: 10px; }
.outcome p { color: var(--muted); margin: 0; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--dark-line); }
.stat { padding: 40px 28px 10px 0; border-right: 1px solid var(--dark-line); padding-left: 28px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 500 clamp(44px, 6vw, 80px)/1 var(--font-head); letter-spacing: -.045em; margin-bottom: 14px; }
.stat span { color: var(--dark-muted); font-size: 15px; }
.stats--light { border-color: var(--line); }
.stats--light .stat { border-color: var(--line); }
.stats--light .stat span { color: var(--muted); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 96px); position: relative; overflow: hidden; }
.page-hero .h1 { max-width: 980px; margin-bottom: 24px; }
.page-hero .lead { margin-bottom: 0; }
.page-hero .btn-row { margin-top: 36px; }
.page-hero--dark { background: var(--dark); color: #fff; }
.page-hero--dark .lead { color: var(--dark-muted); }
.page-hero--dark .eyebrow { color: #ff8b6b; }
.page-hero--dark::after { content: ""; position: absolute; right: -200px; top: -200px; width: 640px; height: 640px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 68, 1, .28), transparent 65%); pointer-events: none; }
.page-hero .grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(13, 15, 20, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(13, 15, 20, .045) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at 80% 0%, #000 0%, transparent 60%); mask-image: radial-gradient(ellipse at 80% 0%, #000 0%, transparent 60%); pointer-events: none; }
.page-hero--dark .grid-bg { background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); }
.page-hero > .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: 13.5px; color: var(--muted); margin-bottom: 28px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.page-hero--dark .breadcrumb { color: var(--dark-muted); }

/* In-page sub navigation (solution pages) */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 4px; list-style: none; overflow-x: auto; scrollbar-width: none; padding: 10px 0; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--muted); text-decoration: none; white-space: nowrap; transition: background .15s, color .15s; }
.subnav a:hover { color: var(--ink); background: var(--soft); }
.subnav a.is-active { background: var(--ink); color: #fff; }

/* Solution capability blocks */
.cap { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 80px); padding: clamp(48px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.cap:first-of-type { border-top: 0; }
.cap-head .card-num { margin-bottom: 14px; }
.cap-head h3 { font-size: clamp(24px, 2.6vw, 32px); }
.cap-body > p { color: var(--muted); font-size: 17px; max-width: 680px; margin-bottom: 22px; }
.cap-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; list-style: none; }
.cap-list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 15.5px; }
.cap-list li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 6px; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e2260b' stroke-width='3'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; }
.section--dark .cap { border-color: var(--dark-line); }
.section--dark .cap-list li { border-color: var(--dark-line); }
.section--dark .cap-list li::before { background-color: rgba(255, 68, 1, .16); }
.section--dark .cap-body > p { color: var(--dark-muted); }

.group-label { display: flex; align-items: center; gap: 18px; margin: 10px 0 8px; font: 500 13px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.group-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Tri-panel (logistics control tower etc.) */
.tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tri-item { border-radius: var(--radius); padding: 28px; background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.tri-item:nth-child(2) { background: var(--brand-grad); }
.tri-item:nth-child(3) { background: var(--dark-3); }
.tri-item b { display: block; font: 500 12px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-bottom: 18px; }
.tri-item h4 { font-size: 22px; line-height: 1.25; }

/* ---------- Stories / testimonials ---------- */
.story-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.story { border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); background: var(--soft); display: flex; flex-direction: column; }
.story--feature { grid-column: 1 / -1; background: var(--dark); color: #fff; display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(28px, 5vw, 64px); }
.story-role { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 22px; }
.story--feature .story-role { color: #ff8b6b; }
.story-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-grad); color: #fff; display: grid; place-items: center; font: 600 15px var(--font-head); letter-spacing: 0; }
.story h3 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; margin-bottom: 22px; }
.story h3::before { content: "“"; color: var(--brand); }
.story h3::after { content: "”"; color: var(--brand); }
.story blockquote { margin: 0; color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }
.story blockquote p:last-child { margin-bottom: 0; }
.story--feature blockquote { color: rgba(255, 255, 255, .82); }
.story-more { margin-top: 18px; align-self: flex-start; background: none; border: 0; padding: 0; color: var(--brand); font-weight: 600; cursor: pointer; }
.story .story-full[hidden] { display: none; }

.owner-quote { border-radius: var(--radius-lg); background: var(--brand-grad); color: #fff; padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.owner-quote h3 { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 22px; }
.owner-quote blockquote { margin: 0; font-size: 17px; line-height: 1.7; color: rgba(255, 255, 255, .92); }
.owner-figure { background: rgba(0, 0, 0, .14); border-radius: var(--radius); padding: 32px; }
.owner-figure b { display: block; font: 500 clamp(48px, 6vw, 76px)/1 var(--font-head); letter-spacing: -.04em; }
.owner-figure span { opacity: .85; }
.owner-figure hr { border: 0; height: 1px; background: rgba(255, 255, 255, .25); margin: 22px 0; }

/* ---------- Jobs ---------- */
.jobs { border-top: 1px solid var(--line); }
.job { border-bottom: 1px solid var(--line); }
.job-summary { display: grid; grid-template-columns: 1.6fr 1fr 1fr 40px; gap: 20px; align-items: center; padding: 24px 0; cursor: pointer; list-style: none; }
.job-summary::-webkit-details-marker { display: none; }
.job-summary h3 { font-size: 20px; letter-spacing: -.01em; }
.job-summary span { color: var(--muted); font-size: 15px; }
.job-toggle { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .25s var(--ease), background .2s; }
.job[open] .job-toggle { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.job-body { padding: 0 0 32px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 48px; }
.job-body h4 { font: 500 12px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.job-body ul { padding-left: 18px; color: var(--ink-2); }
.job-body li { margin-bottom: 6px; }
.job-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.job-apply { grid-column: 1 / -1; }
.jobs-empty { padding: 32px 0; color: var(--muted); }
.jobs-head { cursor: default; padding: 0 0 14px; font: 500 12px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.jobs-head span { font-size: 12px; }

/* ---------- Forms & booking ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field label .opt { font-weight: 400; color: var(--muted); }
.input, .select, .textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; font: 400 15.5px var(--font-body); color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(226, 38, 11, .12); }
.textarea { min-height: 130px; resize: vertical; }
.input:user-invalid, .select:user-invalid { border-color: #d33; }
.option-grid { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.option-grid legend { margin-bottom: 10px; }
.option-chip { position: relative; }
.option-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.option-chip span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; cursor: pointer; transition: all .15s; user-select: none; }
.option-chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.option-chip input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.hp-field { position: absolute; left: -9999px; }
.form-note { font-size: 13.5px; color: var(--muted); margin-top: 14px; }
.form-status { margin-top: 16px; padding: 14px 18px; border-radius: 12px; font-size: 15px; display: none; }
.form-status.ok { display: block; background: #e8f7ef; color: #166b3f; }
.form-status.err { display: block; background: #fdecea; color: #a1281c; }

.booking { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; margin-bottom: 8px; }
.cal, .slots { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; }
.cal-head, .slots-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.cal-head b, .slots-head b { font: 600 16px var(--font-head); }
.cal-head small, .slots-head small { display: block; color: var(--muted); font-size: 13px; font-weight: 400; font-family: var(--font-body); }
.cal-nav { display: flex; align-items: center; gap: 6px; }
.cal-nav button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; }
.cal-nav button:disabled { opacity: .35; cursor: default; }
.cal-month { min-width: 120px; text-align: center; font-weight: 600; font-size: 15px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-dow { font-size: 12px; color: var(--muted); padding: 6px 0; font-weight: 500; }
.cal-day { aspect-ratio: 1; border-radius: 10px; border: 0; background: transparent; font-size: 14.5px; cursor: pointer; transition: background .15s, color .15s; color: var(--ink); }
.cal-day:hover:not(:disabled) { background: var(--soft); }
.cal-day:disabled { color: #c3c6cd; cursor: default; }
.cal-day.is-today { box-shadow: inset 0 0 0 1px var(--line); }
.cal-day[aria-pressed="true"] { background: var(--brand-grad); color: #fff; font-weight: 600; }
.slot-list { display: grid; gap: 10px; }
.slot { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; text-align: left; transition: border-color .15s, background .15s; }
.slot:hover { border-color: var(--ink); }
.slot b { font-size: 15px; font-weight: 600; }
.slot small { color: var(--muted); font-size: 13px; }
.slot[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); }
.slot[aria-pressed="true"]::after { content: "✓"; color: var(--brand); font-weight: 700; }
.slots-empty { color: var(--muted); font-size: 14.5px; padding: 18px 0; }
.booking-summary { margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: var(--soft); font-size: 14.5px; }
.booking-summary:empty { display: none; }

.contact-info { display: grid; gap: 14px; }
.ci { display: flex; gap: 16px; padding: 20px; border-radius: var(--radius); background: var(--soft); }
.ci-icon { flex: none; width: 42px; height: 42px; border-radius: 12px; background: #fff; display: grid; place-items: center; color: var(--brand); }
.ci h3 { font-size: 16px; margin-bottom: 4px; letter-spacing: -.005em; }
.ci p, .ci a { margin: 0; color: var(--muted); text-decoration: none; font-size: 15px; }
.ci a:hover { color: var(--brand); }
.ci-lines { display: grid; gap: 2px; }

/* ---------- CTA band ---------- */
.cta-band { border-radius: var(--radius-lg); background: var(--dark); color: #fff; padding: clamp(40px, 7vw, 96px); position: relative; overflow: hidden; text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 120%; background: radial-gradient(ellipse at center top, rgba(255, 68, 1, .45), transparent 60%); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band .h2 { max-width: 880px; margin: 0 auto 20px; }
.cta-band .lead { color: var(--dark-muted); margin: 0 auto 36px; }
.cta-band .btn-row { justify-content: center; }

/* Pilot badge */
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font: 500 12px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; background: var(--brand-soft); color: #a3200a; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 2s infinite; }
.badge--light { background: rgba(255, 255, 255, .12); color: #ffb59e; }
.badge--neutral { background: var(--soft); color: var(--muted); }
.badge--neutral::before { animation: none; }
@keyframes pulse { 50% { opacity: .3; } }

/* ProTracker terminal visual */
.terminal { border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--dark-3), var(--dark)); padding: 26px; border: 1px solid var(--dark-line); box-shadow: var(--shadow-lg); color: #fff; }
.terminal-screen { border-radius: 16px; background: #0a1218; padding: 20px; display: grid; gap: 12px; border: 1px solid var(--dark-line); }
.term-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--dark-muted); }
.term-top b { color: #fff; font: 600 15px var(--font-head); }
.term-big { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.term-big div { background: var(--dark-2); border-radius: 12px; padding: 14px; }
.term-big small { display: block; font-size: 11.5px; color: var(--dark-muted); margin-bottom: 4px; }
.term-big strong { font: 600 28px/1 var(--font-head); letter-spacing: -.02em; }
.term-big strong span { font-size: 14px; color: var(--dark-muted); font-weight: 500; }
.term-row { display: flex; gap: 8px; flex-wrap: wrap; }
.term-row span { flex: 1 1 auto; text-align: center; padding: 10px; border-radius: 10px; background: var(--dark-2); font-size: 12.5px; color: rgba(255, 255, 255, .85); }
.term-row span.hot { background: var(--brand-grad); color: #fff; font-weight: 600; }
.term-note { font-size: 13px; padding: 12px 14px; border-radius: 10px; background: rgba(95, 212, 154, .1); color: #8ee4b6; }

/* Journey (innovation roadmap) */
.journey { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; position: relative; }
.journey-step { border-radius: var(--radius); padding: 24px 20px; background: var(--dark-2); border: 1px solid var(--dark-line); position: relative; }
.journey-step:first-child { background: var(--brand-grad); border-color: transparent; }
.journey-step .card-num { color: #ff8b6b; margin-bottom: 30px; }
.journey-step:first-child .card-num { color: #fff; opacity: .8; }
.journey-step h3 { font-size: 18px; margin-bottom: 10px; letter-spacing: -.01em; }
.journey-step p { font-size: 14px; color: var(--dark-muted); margin: 0; }
.journey-step:first-child p { color: rgba(255, 255, 255, .85); }
.journey-step:not(:last-child)::after { content: "→"; position: absolute; right: -11px; top: 26px; width: 22px; height: 22px; border-radius: 50%; background: var(--dark); color: #ff8b6b; display: grid; place-items: center; font-size: 12px; z-index: 2; }

/* Value timeline chart (Tulip-inspired) */
.value-chart { position: relative; display: grid; grid-template-columns: repeat(9, 1fr); gap: 8px; align-items: end; height: 340px; padding: 0 0 46px 34px; border-left: 1px solid var(--dark-line); border-bottom: 1px solid var(--dark-line); }
.value-col { display: flex; flex-direction: column-reverse; gap: 8px; }
.value-col i { height: 30px; border-radius: 6px; background: var(--dark-3); opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s var(--ease); }
.value-col i.hi { background: #3b5568; }
.value-col i.br { background: var(--brand-grad); }
.value-chart.is-in .value-col i { opacity: 1; transform: none; }
.value-base { position: absolute; left: 34px; right: 0; bottom: 6px; height: 32px; border-radius: 6px; background: var(--dark-2); color: var(--dark-muted); display: grid; place-items: center; font-size: 12.5px; }
.value-axis-y { position: absolute; left: -6px; top: 50%; transform: rotate(-90deg) translateX(50%); transform-origin: left; font-size: 12px; color: var(--dark-muted); }
.value-axis-x { text-align: center; font-size: 12px; color: var(--dark-muted); margin-top: 10px; }

/* Number list (vision, philosophy) */
.big-quote { font: 500 clamp(28px, 4vw, 52px)/1.15 var(--font-head); letter-spacing: -.03em; max-width: 1040px; }
.big-quote em { font-style: normal; color: var(--brand); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, .75); padding: clamp(64px, 8vw, 110px) 0 32px; }
.footer-cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--dark-line); }
.footer-cta-title { font-size: clamp(36px, 6vw, 80px); color: #fff; letter-spacing: -.04em; max-width: 820px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.4fr; gap: 40px; padding: 56px 0; }
.footer-brand img { height: 34px; width: auto; margin-bottom: 20px; }
.footer-brand p { font-size: 14.5px; max-width: 320px; }
.footer-badges { display: flex; gap: 8px; }
.footer-badges span { padding: 6px 12px; border: 1px solid var(--dark-line); border-radius: 999px; font-size: 12.5px; }
.site-footer h3 { font: 500 12px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; font-size: 14.5px; }
.site-footer a { text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--dark-line); font-size: 13.5px; }
.footer-bottom p { margin: 0; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-stagger.is-in > * { opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: .4s; }
.reveal-stagger.is-in > *:nth-child(7) { transition-delay: .48s; }
.reveal-stagger.is-in > *:nth-child(8) { transition-delay: .56s; }
.reveal-stagger.is-in > *:nth-child(n+9) { transition-delay: .62s; }
.no-js .reveal, .no-js .reveal-stagger > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .ticker-list { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-list > li > a { padding: 9px 9px; font-size: 14px; }
  .site-nav { gap: 12px; }
  .journey { grid-template-columns: repeat(3, 1fr); }
  .journey-step:nth-child(3)::after { display: none; }
}
@media (max-width: 1040px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: block; }
  /* header's backdrop-filter makes it the containing block, so size explicitly */
  .site-nav { position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); background: #fff; border-top: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 32px; overflow-y: auto; opacity: 0; transform: translateY(-8px); visibility: hidden; pointer-events: none; transition: opacity .25s, transform .3s var(--ease), visibility .3s; }
  .site-nav.is-open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li > a { display: flex; justify-content: space-between; padding: 16px 4px; font-size: 17px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav-list > li > a:hover { background: transparent; }
  .dropdown { position: static; transform: none; width: auto; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 8px; display: none; }
  .has-dropdown:hover .dropdown { transform: none; }
  .has-dropdown.is-open .dropdown { display: block; transform: none; }
  .has-dropdown.is-open .dropdown-trigger svg { transform: rotate(180deg); }
  .dropdown-grid { grid-template-columns: 1fr; }
  .nav-cta { margin-top: 24px; padding: 16px; }
  body.nav-open { overflow: hidden; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .area-card, .area-card--wide { grid-column: span 6; }
  .split, .split--wide-left { grid-template-columns: 1fr; }
  .health { grid-template-columns: 1fr; }
  .health-panel { position: relative; top: 0; min-height: 0; }
  .chaos { grid-template-columns: 1fr; }
  .chaos-arrow span { transform: rotate(90deg); }
  .flow { grid-template-columns: repeat(4, 1fr); row-gap: 32px; }
  .flow::before, .flow::after { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .cap { grid-template-columns: 1fr; gap: 20px; }
  .story--feature, .owner-quote { grid-template-columns: 1fr; }
  .booking { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .tri { grid-template-columns: 1fr; }
  .outcomes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .area-card, .area-card--wide { grid-column: 1 / -1; min-height: 260px; }
  .today-with { grid-template-columns: 1fr; }
  .outcomes { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat:nth-child(3) { padding: 28px 0 8px; border-right: 0; border-bottom: 1px solid var(--dark-line); }
  .stats--light .stat { border-color: var(--line); }
  .stat:last-child { border-bottom: 0; }
  .cap-list { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .jobs-head { display: none; }
  .job-summary { grid-template-columns: 1fr 40px; gap: 6px 16px; }
  .job-summary h3 { grid-column: 1; }
  .job-summary span { grid-column: 1; font-size: 14px; }
  .job-toggle { grid-column: 2; grid-row: 1 / span 3; }
  .job-body { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .phone { width: 240px; }
  .phone-screen { height: 480px; }
  .phone--offset { display: none; }
  .dash-main { grid-template-columns: 1fr 1fr; padding: 14px; }
  .chart, .lines { grid-column: 1 / -1; }
  .chaos-field { min-height: 330px; }
  .chaos-item { font-size: 12.5px; padding: 8px 12px; }
  .step { grid-template-columns: 1fr; gap: 12px; }
  .journey { grid-template-columns: 1fr; }
  .journey-step::after { display: none; }
  .value-chart { height: 260px; }
  .hero-ticker { flex-direction: column; border-radius: 18px; padding: 10px 14px; gap: 8px; }
  .ticker-window { min-width: 160px; }
  .ticker-list li { margin: 0 auto; }
}
