/* Landing page. Question-centric product tour (layout from concept C) in the blue and slate palette (from concept A):
   cool grey canvas, white panels, one blue accent, IBM Plex type. Chart palette validated for CVD and contrast on white. */
:root {
  color-scheme: light;
  --page: #f6f8fb;
  --panel: #ffffff;
  --ink: #0f172a;
  --ink-2: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --accent: #1f63c6;
  --accent-hover: #174ea6;
  --accent-wash: #eef4fd;
  --control: #eef1f5;
  --radius: 12px;

  --viz-font: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --viz-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --viz-surface: #ffffff;
  --viz-ink: #0f172a;
  --viz-ink-2: #475569;
  --viz-muted: #64748b;
  --viz-grid: #e8edf3;
  --viz-axis: #c3cbd6;
  --viz-zone: #f3f6fa;
  --viz-s1: #2a78d6; --viz-s1-text: #000000;
  --viz-s2: #eb6834; --viz-s2-text: #0f172a;
  --viz-s3: #1baf7a; --viz-s3-text: #0f172a;
  --viz-deemph: #cfd6df;
  --viz-critical: #d03b3b;
  --viz-critical-wash: #fdf1f1;
  --viz-seq-1: #e3eefc; --viz-seq-1-text: #0f172a;
  --viz-seq-2: #b9d4f6; --viz-seq-2-text: #0f172a;
  --viz-seq-3: #86b6ef; --viz-seq-3-text: #0f172a;
  --viz-seq-4: #3f86df; --viz-seq-4-text: #0f172a;
  --viz-seq-5: #1c5cab; --viz-seq-5-text: #ffffff;
  --viz-radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--viz-font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--page); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: 12px; top: -48px; padding: 8px 14px; background: var(--ink); color: #fff; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; font: 600 15px/1 var(--viz-font); text-decoration: none; border-radius: 8px; border: 1px solid transparent; cursor: pointer; transition: background-color .15s, border-color .15s; white-space: nowrap; }
.btn-primary { color: #fff; background: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { color: var(--ink); background: var(--panel); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink-2); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn svg { width: 16px; height: 16px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.logo-mark { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: var(--accent); }
.logo-mark svg { width: 16px; height: 16px; fill: #fff; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; }
.nav a:not(.btn) { color: var(--ink-2); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--ink); }

/* Hero */
.hero { padding: 72px 0 88px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.chip-label { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; font-size: 13px; font-weight: 500; color: var(--accent); background: var(--accent-wash); border-radius: 999px; }
.chip-label i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero h1 { margin-top: 20px; font-size: clamp(2.3rem, 4.6vw, 3.5rem); font-weight: 600; line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
.hero-lede { margin-top: 20px; font-size: 18px; color: var(--ink-2); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 22px; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.hero-meta li { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { width: 14px; height: 14px; fill: none; stroke: var(--accent); stroke-width: 2.4; }

.window { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 1px 2px rgb(16 24 40 / 0.05), 0 24px 48px -24px rgb(16 24 40 / 0.22); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fbfcfd; border-bottom: 1px solid var(--line); }
.search { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; height: 36px; padding: 0 10px; background: #fff; border: 1px solid var(--line-strong); border-radius: 8px; }
.search svg { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 2; }
.search select { flex: 1; min-width: 0; height: 100%; font: 500 14px var(--viz-font); color: var(--ink); background: transparent; border: 0; outline: none; cursor: pointer; text-overflow: ellipsis; }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash); }
.window-body { padding: 20px; }

/* Sections */
.section { padding: 88px 0; }
.section-white { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.label { font-size: 13px; font-weight: 600; color: var(--accent); }
.section h2 { margin-top: 8px; font-size: clamp(1.8rem, 3.2vw, 2.4rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.section-lede { max-width: 640px; margin-top: 12px; font-size: 17px; color: var(--ink-2); text-wrap: pretty; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 48px; }

/* Workflow */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; padding: 0; list-style: none; }
.flow li { position: relative; padding: 22px; background: var(--page); border: 1px solid var(--line); border-radius: var(--radius); }
.flow li:not(:last-child)::after { content: ''; position: absolute; top: 37px; right: -17px; width: 18px; height: 2px; background: var(--line-strong); }
.flow-no { display: inline-grid; place-items: center; width: 30px; height: 30px; font-family: var(--viz-mono); font-size: 13px; font-weight: 600; color: var(--accent); background: var(--accent-wash); border-radius: 8px; }
.flow li.is-planned .flow-no { color: var(--muted); background: var(--control); }
.flow h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: 16px; font-weight: 600; }
.flow p { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.tag { padding: 1px 8px; font-size: 11px; font-weight: 600; color: var(--ink-2); background: var(--control); border-radius: 999px; }

/* Panels */
.panel { padding: 22px 24px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.panel-head h3 { font-size: 15px; font-weight: 600; }
.panel-head p { font-size: 13px; color: var(--muted); }
.bank-panel { margin-top: 36px; }
.seg { display: inline-flex; padding: 3px; background: var(--control); border-radius: 9px; }
.seg button { height: 30px; padding: 0 12px; font: 500 13px/1 var(--viz-font); color: var(--ink-2); background: transparent; border: 0; border-radius: 7px; cursor: pointer; }
.seg button[aria-pressed='true'] { color: var(--ink); background: #fff; font-weight: 600; box-shadow: 0 1px 2px rgb(16 24 40 / 0.12); }
.attention { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 16px; margin-top: 36px; }
.callout { display: flex; gap: 10px; margin-top: 20px; font-size: 14px; color: var(--ink-2); }
.callout svg { flex: none; width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }
.coverage-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.stat-callout { display: flex; align-items: baseline; gap: 14px; margin-top: 24px; padding: 16px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
.stat-callout b { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.stat-callout span { font-size: 14px; color: var(--ink-2); }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 40px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { padding: 24px; background: var(--panel); }
.feature svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin-top: 12px; font-size: 16px; font-weight: 600; }
.feature p { margin-top: 6px; font-size: 14px; color: var(--ink-2); }

/* Roadmap */
.lanes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.lane { padding: 18px; background: var(--page); border: 1px solid var(--line); border-radius: var(--radius); }
.lane h3 { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.lane ul { display: grid; gap: 10px; margin-top: 12px; padding: 0; list-style: none; }
.lane li { padding: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.lane li b { display: block; font-size: 14px; font-weight: 600; }
.lane li span { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-2); }

/* Privacy + CTA */
.privacy { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.privacy-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0; list-style: none; }
.privacy-list li { display: flex; gap: 10px; padding: 16px; font-size: 14px; color: var(--ink-2); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
.privacy-list li svg { flex: none; width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.privacy-list b { display: block; color: var(--ink); font-weight: 600; }
.pilot-note { margin-top: 20px; padding: 12px 14px; font-size: 14px; color: var(--ink-2); background: var(--panel); border: 1px solid var(--line); border-left: 3px solid #eda100; border-radius: 8px; }
.cta { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 32px; align-items: center; padding: 48px; color: #fff; background: radial-gradient(120% 140% at 50% 0%, #2a6fd0 0%, #163f86 60%, #10306a 100%); border-radius: 16px; }
.cta h2 { margin: 0; color: #fff; }
.cta p { margin-top: 10px; font-size: 17px; color: rgb(255 255 255 / 0.78); }
.cta .btn-primary { color: var(--ink); background: #fff; }
.cta .btn-primary:hover { background: #e8f0fc; }
.site-footer { padding: 40px 0; border-top: 1px solid var(--line); background: var(--panel); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; font-size: 13px; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

@media (max-width: 1040px) {
  .hero-grid, .attention, .coverage-grid, .privacy { grid-template-columns: 1fr; }
  .flow, .lanes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow li:not(:last-child)::after { display: none; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .nav a:not(.btn) { display: none; }
  .cta { grid-template-columns: 1fr; padding: 32px 24px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 48px 0 64px; }
  .section { padding: 64px 0; }
  .flow, .lanes, .features, .privacy-list { grid-template-columns: 1fr; }
  .window-body, .panel { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
