/* ============================================================
   4T4 — Decision-intelligence landing page
   Built on colors_and_type.css (brand tokens).
   Industrial, pragmatic, B2B. Navy + cyan. Aptos.
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  font-family: var(--font-sans);
  color: var(--ink-1);
  font-size: 16px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }

/* ---------- buttons ---------- */
.btn {
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: var(--brand-navy);
  color: #fff;
  cursor: pointer;
  transition: background var(--dur-2) var(--ease-out), border-color var(--dur-2), color var(--dur-2), transform var(--dur-1);
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; border-bottom: 0; white-space: nowrap;
}
.btn:hover { background: var(--brand-navy-2); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn .arr { font-family: var(--font-mono); font-weight: 400; }
.btn.accent { background: var(--brand-blue); color: var(--brand-navy); }
.btn.accent:hover { background: var(--brand-blue-deep); color: #fff; }
.btn.ghost { background: transparent; color: var(--brand-navy); border-color: var(--line-strong); }
.btn.ghost:hover { background: var(--paper-2); }
.btn.on-dark { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.22); }
.btn.on-dark:hover { background: rgba(255,255,255,0.14); }
.btn.lg { font-size: 16px; padding: 16px 28px; }
.btn.sm { font-size: 13px; padding: 9px 15px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 80;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  max-width: 1280px; margin: 0 auto;
  padding: 13px 32px;
  display: flex; align-items: center; gap: 30px;
}
.nav .logo { height: 27px; }
.nav .links { display: flex; gap: 26px; margin-left: 8px; }
.nav .links a {
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  text-decoration: none; border-bottom: 0;
}
.nav .links a:hover { color: var(--brand-navy); }
.nav .spacer { flex: 1; }
.lang-switch { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-mono); }
.lang-switch .lang-sep { color: var(--ink-5); font-size: 12px; }
.lang-btn {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; font-weight: 700;
  background: none; border: 0; cursor: pointer; padding: 4px 2px; color: var(--ink-4);
  border-bottom: 2px solid transparent; transition: color var(--dur-1), border-color var(--dur-1);
}
.lang-btn:hover { color: var(--ink-2); }
.lang-btn[aria-pressed="true"] { color: var(--brand-navy); border-bottom-color: var(--brand-blue); }

/* ---------- section primitives ---------- */
.section { padding: 88px 32px; position: relative; }
.section.tight { padding: 60px 32px; }
.section.dark { background: var(--brand-navy); color: #fff; }
.section.dark h1, .section.dark h2, .section.dark h3, .section.dark h4 { color: #fff; }
.section.tint { background: var(--paper-2); }
.section.blue-tint { background: var(--brand-blue-wash); }

.wrap { max-width: 1180px; margin: 0 auto; }
.wrap.narrow { max-width: 880px; }
.wrap.wide { max-width: 1300px; }

.overline {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 700; color: var(--brand-blue-deep); display: inline-flex;
  align-items: center; gap: 9px;
}
.overline::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.section.dark .overline { color: var(--brand-blue); }

.h-display {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(38px, 5vw, 66px); line-height: 1.0;
  letter-spacing: -0.03em; margin: 0; text-wrap: balance;
}
.section-h {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 3.6vw, 46px); line-height: 1.07;
  letter-spacing: -0.025em; margin: 16px 0 22px; text-wrap: balance;
}
.lede {
  font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--ink-2);
  max-width: 680px; text-wrap: pretty; margin: 0 0 32px;
}
.section.dark .lede { color: rgba(255,255,255,0.78); }
.kicker-line {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; letter-spacing: -0.02em;
  color: var(--brand-navy); text-wrap: balance;
}
.section.dark .kicker-line { color: #fff; }
.kicker-line .hi { color: var(--brand-blue-deep); }
.section.dark .kicker-line .hi { color: var(--brand-blue); }
.mono-tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--ink-4); text-transform: uppercase; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--brand-navy);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(104deg, rgba(4,20,38,0.94) 0%, rgba(4,20,38,0.74) 46%, rgba(4,20,38,0.42) 100%),
    linear-gradient(0deg, rgba(4,20,38,0.85) 0%, rgba(4,20,38,0.10) 40%),
    url('assets/pitch-hero-port-trucks.png');
  background-size: cover; background-position: center 30%;
  filter: contrast(1.04);
}
.hero-in {
  position: relative; z-index: 1;
  max-width: 1180px; margin: 0 auto;
  padding: 60px 32px 0;
}
.hero h1 {
  font-family: var(--font-display); font-weight: 700; color: #fff;
  font-size: clamp(36px, 4.6vw, 60px); line-height: 1.0;
  letter-spacing: -0.032em; margin: 18px 0 0; max-width: 17ch; text-wrap: balance;
}
.hero .sub {
  font-size: clamp(17px, 1.4vw, 20px); line-height: 1.45;
  color: rgba(255,255,255,0.82); max-width: 600px; margin: 20px 0 0; text-wrap: pretty;
}
.hero .support {
  font-size: 15px; line-height: 1.55; color: rgba(255,255,255,0.58);
  max-width: 560px; margin: 12px 0 0;
}
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 0; }
.hero .overline { color: var(--brand-blue); }

/* persona shortcut cards — straddle hero/next section */
.persona-shortcuts {
  position: relative; z-index: 2;
  max-width: 1180px; margin: 44px auto 0; padding: 0 32px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.14);
  border-bottom: 0;
}
.pshort {
  background: rgba(8,26,46,0.86); backdrop-filter: blur(6px);
  padding: 26px 26px 24px; color: #fff; text-decoration: none; border-bottom: 0;
  display: flex; flex-direction: column; gap: 8px;
  transition: background var(--dur-2);
}
.pshort:hover { background: rgba(14,40,65,0.96); color: #fff; }
.pshort .who { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-blue); }
.pshort .line { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.18; letter-spacing: -0.015em; color: #fff; }
.pshort .go { margin-top: auto; font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,0.62); display: inline-flex; align-items: center; gap: 7px; }
.pshort:hover .go { color: var(--brand-blue); }

/* ============================================================
   OPERATIONAL WALL (core problem)
   ============================================================ */
.problem-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: start; }
.decision-list { list-style: none; padding: 0; margin: 22px 0 0; columns: 2; column-gap: 28px; }
.decision-list li {
  font-size: 16px; color: var(--ink-2); padding: 9px 0 9px 22px; position: relative;
  break-inside: avoid; line-height: 1.4;
}
.decision-list li::before {
  content: "›"; position: absolute; left: 0; top: 8px; color: var(--brand-blue-deep);
  font-family: var(--font-mono); font-weight: 700;
}
.wall { display: flex; flex-direction: column; gap: 14px; }
.note {
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: 16px 18px; box-shadow: var(--shadow-1); position: relative;
}
.note:nth-child(odd) { transform: rotate(-0.6deg); }
.note:nth-child(even) { transform: rotate(0.5deg); margin-left: 28px; }
.note .src { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-4); margin-bottom: 6px; display: flex; align-items: center; gap: 7px; }
.note .src::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-blue); flex-shrink: 0; }
.note.wa .src::before { background: var(--ok); }
.note.email .src::before { background: var(--warn); }
.note.postit .src::before { background: var(--danger); }
/* post-it tints (match landing-v3 source) */
.wall .note.wa { background: #F0FDF4; }
.wall .note.email { background: #EFF6FF; }
.wall .note.postit { background: #FEF9C3; }
.note .msg { font-size: 16px; color: var(--ink-1); line-height: 1.4; }

/* ============================================================
   COMPARISON (TMS vs 4T4)
   ============================================================ */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 12px; }
.cmp-card { border-radius: 14px; padding: 32px 30px; border: 1px solid var(--line); background: var(--paper); }
.cmp-card.legacy { background: var(--paper); }
.cmp-card.is4t4 { background: var(--brand-navy); border-color: var(--brand-navy); color: #fff; box-shadow: var(--shadow-3); }
.cmp-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.cmp-card.is4t4 .cmp-head { border-color: rgba(255,255,255,0.14); }
.cmp-head .t { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.015em; }
.cmp-card.is4t4 .cmp-head .t { color: #fff; }
.cmp-head .tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-4); }
.cmp-card.is4t4 .cmp-head .tag { color: var(--brand-blue); }
.cmp-list { list-style: none; padding: 0; margin: 0; }
.cmp-list li { font-size: 15.5px; line-height: 1.4; padding: 13px 0 13px 28px; border-bottom: 1px solid var(--line); position: relative; color: var(--ink-2); }
.cmp-card.is4t4 .cmp-list li { color: rgba(255,255,255,0.84); border-color: rgba(255,255,255,0.1); }
.cmp-list li:last-child { border-bottom: 0; }
.cmp-list li::before { position: absolute; left: 0; top: 12px; font-family: var(--font-mono); font-weight: 700; font-size: 13px; }
.cmp-card.legacy .cmp-list li::before { content: "—"; color: var(--ink-4); }
.cmp-card.is4t4 .cmp-list li::before { content: "+"; color: var(--brand-blue); }
.cmp-key { margin-top: 36px; text-align: center; }

/* ============================================================
   PERSONA TABS
   ============================================================ */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; border-bottom: 1px solid var(--line); }
.section.dark .tabs { border-color: rgba(255,255,255,0.14); }
.tab {
  font-family: var(--font-sans); font-weight: 600; font-size: 15px; cursor: pointer;
  background: none; border: 0; border-bottom: 3px solid transparent; color: var(--ink-3);
  padding: 14px 4px; margin-right: 26px; transition: color var(--dur-2), border-color var(--dur-2);
  display: flex; align-items: center; gap: 10px;
}
.tab .ix { font-family: var(--font-mono); font-size: 12px; color: var(--ink-4); }
.tab[aria-selected="true"] { color: var(--brand-navy); border-color: var(--brand-blue); }
.tab[aria-selected="true"] .ix { color: var(--brand-blue-deep); }
.section.dark .tab { color: rgba(255,255,255,0.55); }
.section.dark .tab[aria-selected="true"] { color: #fff; }

.tab-panel { display: none; padding-top: 44px; }
.tab-panel.active { display: block; }
.persona-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.persona-copy .ph { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 18px; text-wrap: balance; }
.persona-copy p { font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 48ch; }
.benefits { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 0; }
.benefits li { font-size: 15.5px; color: var(--ink-1); padding: 12px 0 12px 30px; border-top: 1px solid var(--line); position: relative; line-height: 1.4; }
.benefits li:last-child { border-bottom: 1px solid var(--line); }
.benefits li::before {
  content: ""; position: absolute; left: 2px; top: 17px; width: 11px; height: 11px;
  border: 2px solid var(--brand-blue); border-top: 0; border-right: 0; transform: rotate(-45deg);
}

/* partnership / returns sub-grids for vendor persona */
.mini-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 8px; }
.mini-cols h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-blue-deep); margin: 0 0 12px; }
.mini-cols ul { list-style: none; padding: 0; margin: 0; }
.mini-cols li { font-size: 14.5px; color: var(--ink-2); padding: 7px 0 7px 18px; position: relative; line-height: 1.35; }
.mini-cols li::before { content: "›"; position: absolute; left: 0; top: 7px; color: var(--brand-blue-deep); font-family: var(--font-mono); }

/* ---------- decision card (dispatcher UI) ---------- */
.decision-card {
  background: #0B1C30; border: 1px solid rgba(76,174,226,0.2); border-radius: 14px;
  overflow: hidden; box-shadow: var(--shadow-4); color: #fff;
}
.dc-head { padding: 16px 20px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.02); }
.dc-head .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand-blue); box-shadow: 0 0 0 4px rgba(76,174,226,0.18); }
.dc-head .ttl { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-blue); }
.dc-head .id { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.4); }
.dc-body { padding: 20px; }
.dc-row { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.dc-row:first-child { padding-top: 0; }
.dc-row .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.42); width: 92px; flex-shrink: 0; padding-top: 2px; }
.dc-row .val { font-size: 15px; line-height: 1.45; color: rgba(255,255,255,0.9); }
.dc-row .val strong { color: #fff; }
.dc-row.risk .val { color: #F4C151; }
.dc-row.alt .val { color: var(--brand-blue-soft); }
.dc-actions { display: flex; gap: 8px; padding: 16px 20px; border-top: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.02); }
.dc-actions .a { flex: 1; text-align: center; font-family: var(--font-sans); font-weight: 700; font-size: 13px; padding: 11px; border-radius: 7px; cursor: pointer; border: 1px solid transparent; transition: background var(--dur-2); }
.dc-actions .approve { background: var(--brand-blue); color: var(--brand-navy); }
.dc-actions .approve:hover { background: var(--brand-blue-deep); color: #fff; }
.dc-actions .change { background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.18); }
.dc-actions .change:hover { background: rgba(255,255,255,0.13); }
.dc-actions .reject { background: transparent; color: rgba(255,255,255,0.6); border-color: rgba(255,255,255,0.14); }
.dc-actions .reject:hover { color: #fff; }

/* ============================================================
   USE CASES — vertical tabs + featured panel
   ============================================================ */
.uc { display: grid; grid-template-columns: 320px 1fr; gap: 40px; margin-top: 12px; align-items: start; }
.uc-nav { display: flex; flex-direction: column; gap: 2px; }
.uc-tab {
  text-align: left; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid transparent; color: rgba(255,255,255,0.62); cursor: pointer;
  padding: 18px 20px; border-radius: 0 8px 8px 0; transition: all var(--dur-2); font-family: inherit;
}
.uc-tab .ut-ix { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--brand-blue); display: block; margin-bottom: 5px; }
.uc-tab .ut-t { font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.2; letter-spacing: -0.01em; color: rgba(255,255,255,0.78); }
.uc-tab[aria-selected="true"] { background: rgba(76,174,226,0.1); border-left-color: var(--brand-blue); }
.uc-tab[aria-selected="true"] .ut-t { color: #fff; }
.uc-tab:hover .ut-t { color: #fff; }

.uc-panel { display: none; }
.uc-panel.active { display: block; }
.uc-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; overflow: hidden; }
.uc-card .uc-top { padding: 32px 34px 26px; }
.uc-card h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -0.02em; color: #fff; margin: 0 0 16px; }
.uc-pain { font-size: 16.5px; line-height: 1.55; color: rgba(255,255,255,0.7); max-width: 60ch; }
.uc-pain .pl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #F4A24C; display: block; margin-bottom: 6px; }
.uc-support { padding: 26px 34px; border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); background: rgba(0,0,0,0.15); }
.uc-support .pl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-blue); display: block; margin-bottom: 14px; }
.uc-points { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 32px; }
.uc-points li { font-size: 14.5px; color: rgba(255,255,255,0.82); padding: 6px 0 6px 20px; position: relative; line-height: 1.4; break-inside: avoid; }
.uc-points li::before { content: "›"; position: absolute; left: 0; color: var(--brand-blue); font-family: var(--font-mono); }
.uc-out { padding: 26px 34px; }
.uc-out .pl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ok); display: block; margin-bottom: 14px; }
.outcome-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13.5px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: rgba(76,174,226,0.12); color: var(--brand-blue-soft); border: 1px solid rgba(76,174,226,0.22); }
.uc-data { padding: 0 34px 26px; }
.uc-data .pl { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.uc-data .dv { font-size: 13.5px; color: rgba(255,255,255,0.6); line-height: 1.5; margin-top: 5px; }

/* before/after chart panel */
.chart-wrap { background: #fff; border-radius: 12px; padding: 18px; margin-top: 6px; }
.chart-legend { display: flex; gap: 22px; margin-top: 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.chart-legend span { display: inline-flex; align-items: center; gap: 7px; }
.chart-legend .sw { width: 16px; height: 3px; border-radius: 2px; }

/* ============================================================
   HOW IT WORKS — loop
   ============================================================ */
.loop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 16px; counter-reset: step; }
.loop-step {
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 24px 22px;
  position: relative; box-shadow: var(--shadow-1);
}
.loop-step .ln { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--brand-blue-deep); font-weight: 700; }
.loop-step h4 { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; margin: 10px 0 8px; color: var(--ink-1); }
.loop-step p { font-size: 14px; color: var(--ink-3); margin: 0; line-height: 1.45; }
.loop-step.accent { background: var(--brand-navy); border-color: var(--brand-navy); }
.loop-step.accent .ln { color: var(--brand-blue); }
.loop-step.accent h4 { color: #fff; }
.loop-step.accent p { color: rgba(255,255,255,0.7); }

/* ============================================================
   ARCHITECTURE STACK (why generic AI)
   ============================================================ */
.arch { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.stack { display: flex; flex-direction: column; gap: 8px; }
.layer {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); border-radius: 10px;
  padding: 18px 22px; display: flex; align-items: center; gap: 16px;
}
.layer .lc { font-family: var(--font-mono); font-size: 12px; color: var(--brand-blue); width: 30px; flex-shrink: 0; }
.layer .lt { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: #fff; letter-spacing: -0.01em; }
.layer .ld { font-size: 13.5px; color: rgba(255,255,255,0.6); margin-top: 2px; }
.layer.hl { background: rgba(76,174,226,0.1); border-color: rgba(76,174,226,0.35); }

/* ============================================================
   INTEGRATIONS
   ============================================================ */
.integ-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 12px; }
.integ {
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 22px 22px;
  display: flex; align-items: center; gap: 16px; box-shadow: var(--shadow-1);
}
.integ .badge {
  width: 44px; height: 44px; border-radius: 9px; flex-shrink: 0; background: var(--brand-blue-wash);
  display: grid; place-items: center; font-family: var(--font-mono); font-weight: 700; font-size: 13px;
  color: var(--brand-blue-deep); letter-spacing: -0.02em;
}
.integ .nm { font-weight: 700; font-size: 15.5px; color: var(--ink-1); }
.integ .dd { font-size: 12.5px; color: var(--ink-4); font-family: var(--font-mono); }
.integ-note { margin-top: 28px; padding: 18px 22px; border-left: 3px solid var(--brand-blue); background: var(--brand-blue-wash); border-radius: 0 8px 8px 0; font-size: 15px; color: var(--ink-2); }
.integ-note code { font-family: var(--font-mono); background: rgba(255,255,255,0.6); }

/* ============================================================
   BUSINESS CASE + ROI
   ============================================================ */
.bizcase { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 8px 0 56px; }
.model-card { border-radius: 14px; padding: 28px 30px; border: 1px solid var(--line); }
.model-card.manual { background: var(--paper); }
.model-card.leveraged { background: var(--brand-navy); border-color: var(--brand-navy); color: #fff; }
.model-card .mc-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-4); }
.model-card.leveraged .mc-tag { color: var(--brand-blue); }
.model-flow { font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 1.9vw, 23px); line-height: 1.35; letter-spacing: -0.015em; margin-top: 14px; color: var(--ink-1); }
.model-card.leveraged .model-flow { color: #fff; }
.model-flow .ar { color: var(--brand-blue-deep); font-family: var(--font-mono); font-weight: 400; margin: 0 4px; }
.model-card.leveraged .model-flow .ar { color: var(--brand-blue); }

.roi { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-3); background: var(--paper); }
.roi-inputs { padding: 34px 34px; border-right: 1px solid var(--line); }
.roi-inputs h3 { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin: 0 0 4px; }
.roi-inputs .sub { font-size: 13px; color: var(--ink-4); margin: 0 0 20px; }
.roi-field { margin-bottom: 17px; }
.roi-field label { display: flex; justify-content: space-between; align-items: baseline; font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.roi-field label .v { font-family: var(--font-mono); font-size: 13px; color: var(--brand-blue-deep); font-weight: 700; }
.roi-field input[type="range"] { width: 100%; accent-color: var(--brand-blue); height: 4px; cursor: pointer; }
.roi-out { padding: 34px 34px; background: var(--brand-navy); color: #fff; }
.roi-out .rl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-blue); }
.roi-headline { margin: 6px 0 22px; }
.roi-headline .big { font-family: var(--font-display); font-weight: 900; font-size: clamp(36px, 4.5vw, 56px); line-height: 1; letter-spacing: -0.03em; color: #fff; }
.roi-headline .rng { font-size: 14px; color: rgba(255,255,255,0.55); font-family: var(--font-mono); margin-top: 6px; }
.roi-breakdown { list-style: none; padding: 0; margin: 0 0 22px; }
.roi-breakdown li { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 14px; }
.roi-breakdown li .k { color: rgba(255,255,255,0.65); }
.roi-breakdown li .n { font-family: var(--font-mono); font-weight: 700; color: #fff; }
.roi-disclaim { font-size: 12px; color: rgba(255,255,255,0.42); line-height: 1.5; font-family: var(--font-mono); }

/* ============================================================
   PILOT steps
   ============================================================ */
.pilot-steps { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; margin-top: 16px; counter-reset: pstep; border-top: 2px solid var(--line); }
.pstep { padding: 24px 18px 26px; border-right: 1px solid var(--line); position: relative; }
.pstep:last-child { border-right: 0; }
.pstep::before {
  counter-increment: pstep; content: counter(pstep, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--brand-blue-deep);
  display: block; margin-bottom: 12px;
}
.pstep::after { content: ""; position: absolute; top: -2px; left: 0; width: 0; height: 2px; background: var(--brand-blue); }
.pstep:nth-child(1)::after { width: 100%; }
.pstep h4 { font-family: var(--font-sans); font-weight: 700; font-size: 15px; line-height: 1.25; margin: 0; color: var(--ink-1); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 12px; align-items: stretch; }
.price-card { border: 1px solid var(--line); border-radius: 16px; padding: 34px 34px; background: var(--paper); display: flex; flex-direction: column; }
.price-card.feature { background: var(--brand-navy); border-color: var(--brand-navy); color: #fff; box-shadow: var(--shadow-3); }
.price-card .pc-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-blue-deep); }
.price-card.feature .pc-tag { color: var(--brand-blue); }
.price-card .amount { font-family: var(--font-display); font-weight: 900; font-size: clamp(34px, 4vw, 48px); letter-spacing: -0.03em; line-height: 1; margin: 14px 0 6px; color: var(--ink-1); }
.price-card.feature .amount { color: #fff; }
.price-card .amount small { font-size: 16px; font-weight: 600; color: var(--ink-4); letter-spacing: 0; }
.price-card.feature .amount small { color: rgba(255,255,255,0.55); }
.price-card .incl { list-style: none; padding: 0; margin: 18px 0 0; }
.price-card .incl li { font-size: 14.5px; padding: 9px 0 9px 26px; position: relative; color: var(--ink-2); border-top: 1px solid var(--line); }
.price-card.feature .incl li { color: rgba(255,255,255,0.82); border-color: rgba(255,255,255,0.1); }
.price-card .incl li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 10px; height: 10px; border: 2px solid var(--brand-blue); border-top: 0; border-right: 0; transform: rotate(-45deg); }
.price-key { margin-top: 30px; text-align: center; }

/* ============================================================
   PROOF
   ============================================================ */
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 16px; }
.proof-card { border: 1px solid var(--line); border-radius: 12px; padding: 24px 22px; background: var(--paper); }
.proof-card .seg { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-blue-deep); margin-bottom: 8px; }
.proof-card .pn { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; color: var(--ink-1); margin-bottom: 4px; }
.proof-card .pd { font-size: 13px; color: var(--ink-3); line-height: 1.4; }
.proof-note { font-size: 13px; color: var(--ink-4); font-family: var(--font-mono); margin-top: 20px; line-height: 1.6; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final {
  position: relative; color: #fff; overflow: hidden; background: var(--brand-navy);
}
.final::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(180deg, rgba(4,20,38,0.92) 0%, rgba(4,20,38,0.8) 100%),
    url('assets/hero-port-tablet.png');
  background-size: cover; background-position: center;
}
.final-in { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 96px 32px; }
.final-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.final-login { margin-top: 22px; font-size: 14.5px; color: rgba(255,255,255,0.62); }
.final-login button { background: none; border: 0; color: var(--brand-blue); font-weight: 700; cursor: pointer; font-size: 14.5px; font-family: inherit; padding: 0; }
.final-login button:hover { color: #fff; text-decoration: underline; }
.cta-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 40px 0 56px; }
.cta-card { background: rgba(11,28,48,0.7); border: 1px solid rgba(255,255,255,0.14); border-radius: 14px; padding: 26px 26px 24px; backdrop-filter: blur(6px); display: flex; flex-direction: column; gap: 10px; }
.cta-card .ct-who { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-blue); }
.cta-card .ct-t { font-family: var(--font-display); font-weight: 700; font-size: 21px; line-height: 1.15; letter-spacing: -0.015em; color: #fff; }
.cta-card .btn { margin-top: 8px; align-self: flex-start; }

.lead-form { background: rgba(255,255,255,0.97); border-radius: 16px; padding: 34px; box-shadow: var(--shadow-4); }
.lead-form .ff-title { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--ink-1); margin: 0 0 4px; }
.lead-form .ff-sub { font-size: 14px; color: var(--ink-3); margin: 0 0 22px; }
.ff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ff-field { display: flex; flex-direction: column; gap: 6px; }
.ff-field.full { grid-column: 1 / -1; }
.ff-field label { font-size: 12px; font-weight: 700; color: var(--ink-3); font-family: var(--font-mono); letter-spacing: 0.04em; text-transform: uppercase; }
.ff-field input, .ff-field select, .ff-field textarea {
  font-family: inherit; font-size: 15px; padding: 11px 13px; border: 1px solid var(--line-strong);
  border-radius: 7px; background: #fff; color: var(--ink-1); width: 100%;
}
.ff-field textarea { resize: vertical; min-height: 64px; }
.ff-field input:focus, .ff-field select:focus, .ff-field textarea:focus { outline: none; border-color: var(--brand-blue); box-shadow: var(--shadow-focus); }
.ff-submit { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; margin-top: 6px; }
.ff-submit .note { font-size: 12px; color: var(--ink-4); font-family: var(--font-mono); }

/* ============================================================
   FOOTER
   ============================================================ */
.foot { background: #030E1B; color: rgba(255,255,255,0.5); padding: 60px 32px 36px; }
.foot-in { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.2fr; gap: 40px; }
.foot h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--brand-blue); margin: 0 0 16px; }
.foot a.link { display: block; font-size: 13.5px; color: rgba(255,255,255,0.62); text-decoration: none; border-bottom: 0; margin-bottom: 9px; }
.foot a.link:hover { color: #fff; }
.foot .logo-block img { height: 30px; margin-bottom: 16px; }
.foot .logo-block p { font-size: 13.5px; color: rgba(255,255,255,0.5); max-width: 300px; margin: 0; line-height: 1.55; }
.foot-bottom { max-width: 1280px; margin: 44px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; gap: 24px; align-items: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: rgba(255,255,255,0.35); }
.foot-bottom .sp { flex: 1; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .uc { grid-template-columns: 1fr; }
  .uc-nav { flex-direction: row; overflow-x: auto; }
  .uc-tab { min-width: 200px; border-left: 0; border-bottom: 3px solid transparent; border-radius: 8px 8px 0 0; }
  .uc-tab[aria-selected="true"] { border-left: 0; border-bottom-color: var(--brand-blue); }
  .loop { grid-template-columns: repeat(2, 1fr); }
  .pilot-steps { grid-template-columns: repeat(2, 1fr); }
  .pstep { border-bottom: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .section { padding: 72px 22px; }
  .nav .links { display: none; }
  .persona-shortcuts { grid-template-columns: 1fr; margin-top: 40px; }
  .problem-grid, .compare, .persona-layout, .arch, .bizcase, .pricing { grid-template-columns: 1fr; gap: 32px; }
  .decision-list, .uc-points { columns: 1; }
  .integ-grid, .proof-grid { grid-template-columns: 1fr 1fr; }
  .roi { grid-template-columns: 1fr; }
  .roi-inputs { border-right: 0; border-bottom: 1px solid var(--line); }
  .loop, .cta-cards, .mini-cols, .ff-grid { grid-template-columns: 1fr; }
  .pilot-steps { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: clamp(34px, 9vw, 52px); }
}
