:root {
  --navy: #082f58;
  --blue: #276ef1;
  --blue-soft: #eef5ff;
  --ink: #0d2d4e;
  --text: #4c6177;
  --muted: #5d7389;
  --line: #dfe9f5;
  --green: #1dbb75;
  --green-soft: #e9fbf3;
  --amber-soft: #fff5df;
  --red: #ee5f68;
  --red-soft: #fff0f1;
  --shadow: 0 18px 50px rgba(21, 76, 132, .10);
  --shadow-soft: 0 10px 28px rgba(21, 76, 132, .08);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* Inline SVG icons from the sprite at the top of the page. */
.i { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-box { width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; color: var(--blue); background: #eaf3ff; border-radius: 10px; font-size: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.9);
  border-bottom: 1px solid rgba(221,233,245,.8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.header-inner { height: 70px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; width: max-content; }
.brand img { display: block; height: 28px; width: auto; }
.desktop-nav { display: flex; align-items: center; gap: 30px; justify-self: center; }
.desktop-nav a, .login-link { font-size: 14px; color: #3f5670; font-weight: 600; transition: color .2s ease; }
.desktop-nav a:hover, .login-link:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.menu-toggle { display: none; border: 0; background: none; width: 44px; height: 44px; padding: 10px; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 4px; }
.mobile-menu { border-top: 1px solid var(--line); background: #fff; }
.mobile-menu-inner { padding: 18px 20px 24px; display: grid; gap: 12px; }
.mobile-menu-inner > a:not(.btn) { padding: 9px 0; font-weight: 700; }
.mobile-menu-inner hr { width: 100%; border: 0; border-top: 1px solid var(--line); }

/* ---------- Buttons ---------- */
.btn { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 20px; border-radius: 10px; font-size: 15px; font-weight: 700; border: 1px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 22px rgba(39,110,241,.22); }
.btn-primary:hover { background: #155ee4; box-shadow: 0 14px 28px rgba(39,110,241,.28); }
.btn-secondary { background: #fff; border-color: #bfd2e8; color: var(--ink); }
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }
.btn-white { background: #fff; color: var(--navy); }
.btn-small { min-height: 40px; padding: 0 16px; border-radius: 8px; font-size: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: #8cc3ff; font-size: 15px; font-weight: 700; }
.text-link:hover { color: #fff; }

/* ---------- Shared section type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .04em; padding: 6px 10px; border-radius: 999px; background: #edf5ff; text-transform: uppercase; }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.eyebrow-dark { background: rgba(255,255,255,.10); color: #bcdcff; }
h1, h2 { margin: 0; letter-spacing: -.04em; line-height: 1.06; }
.section-intro h2, .use-cases h2, .security-copy h2, .intelligence-copy h2, .faq-intro h2 { margin-top: 14px; font-size: clamp(32px, 3.3vw, 46px); }
.section-intro p, .security-copy > p, .intelligence-copy > p, .faq-intro > p { color: var(--text); font-size: 16px; line-height: 1.65; }
.section-soft { background: #f7faff; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 56px; background: linear-gradient(180deg,#fff 0%,#fbfdff 70%,#f5f9ff 100%); }
.hero-grid-pattern { position: absolute; inset: 0; pointer-events: none; opacity: .75; background-image: linear-gradient(rgba(60,126,235,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(60,126,235,.035) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to right, transparent, #000 55%, #000); -webkit-mask-image: linear-gradient(to right, transparent, #000 55%, #000); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; min-height: 480px; }
.hero-copy { max-width: 600px; }
.hero h1 { margin-top: 18px; font-size: clamp(38px, 3.9vw, 54px); font-weight: 800; }
.hero h1 span { color: var(--blue); }
.hero-lead { margin: 20px 0 0; max-width: 560px; color: var(--text); font-size: 17px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.micro-proof { display: flex; gap: 26px; margin-top: 26px; flex-wrap: wrap; }
.micro-proof > div { display: flex; gap: 10px; align-items: center; }
.micro-proof strong { display: block; font-size: 14px; color: var(--ink); }
.micro-proof small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ---------- Decorative product mockups (aria-hidden, inert) ---------- */
.hero-visual { position: relative; min-height: 420px; display: grid; place-items: center; }
.route { position: absolute; border: 2px dashed #8cb6ff; border-radius: 12px; opacity: .65; }
.route-a { width: 160px; height: 220px; right: -12px; top: 22px; border-left-color: transparent; }
.route-b { width: 220px; height: 140px; left: 20px; bottom: 30px; border-right-color: transparent; }
.app-shell { background: #fff; border: 1px solid #d8e5f3; border-radius: 13px; box-shadow: var(--shadow); display: grid; grid-template-columns: 130px 1fr; overflow: hidden; user-select: none; }
.hero-app { width: 100%; max-width: 640px; min-height: 330px; transform: translateY(6px); }
.app-sidebar { background: #0b315a; color: #fff; padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; }
.app-brand { display: flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 800; margin-bottom: 12px; white-space: nowrap; }
.app-brand .i { color: #75a9ff; font-size: 13px; }
.app-nav { color: #c7d9ed; font-size: 9px; padding: 8px; border-radius: 7px; display: flex; gap: 7px; align-items: center; }
.app-nav .i { font-size: 11px; }
.app-nav.active { background: rgba(255,255,255,.11); color: #fff; }
.app-main { padding: 18px; min-width: 0; }
.app-header-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.app-header-row h3 { margin: 2px 0 0; font-size: 19px; letter-spacing: -.03em; }
.tiny-muted { color: #90a3b5; font-size: 7px; font-weight: 800; letter-spacing: .08em; }
.app-button { background: var(--blue); color: #fff; font-size: 8px; font-weight: 800; padding: 8px 10px; border-radius: 6px; white-space: nowrap; }
.tabs { display: flex; gap: 5px; margin: 14px 0; flex-wrap: wrap; }
.tab { font-size: 7px; color: #7c90a6; background: #f5f8fc; padding: 5px 7px; border-radius: 5px; }
.tab.active { color: var(--blue); background: #eef5ff; outline: 1px solid #b9d3ff; }
.table-wrap { overflow: hidden; border: 1px solid #edf2f7; border-radius: 8px; }
.ui-table { width: 100%; border-collapse: collapse; font-size: 7px; color: #40566d; }
.ui-table th, .ui-table td { padding: 8px 7px; border-bottom: 1px solid #edf2f7; text-align: left; white-space: nowrap; }
.ui-table th { color: #7a8fa5; font-weight: 800; background: #fbfcfe; }
.ui-table tr:last-child td { border-bottom: 0; }
.avatar-dot { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; margin-right: 5px; color: #2b6ef2; background: #e9f2ff; font-size: 5px; font-weight: 900; }
.status { display: inline-flex; align-items: center; justify-content: center; font-size: 7px; font-weight: 800; border-radius: 999px; padding: 4px 7px; white-space: nowrap; }
.status-process { background: var(--amber-soft); color: #b36b00; }
.status-done { background: var(--green-soft); color: #117a4f; }
.status-alert { background: var(--red-soft); color: #c23540; }
.floating-card { position: absolute; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #fff; border: 1px solid #e1ebf5; border-radius: 11px; box-shadow: 0 14px 36px rgba(29,85,147,.14); }
.floating-card strong { display: block; font-size: 10px; }
.floating-card small { display: block; color: #6c8195; font-size: 8px; margin: 3px 0 5px; }
.request-float { right: -8px; top: 18px; }
.result-float { left: 7px; bottom: 10px; }
.client-float { right: 0; bottom: 2px; }
.mini-doc-icon, .success-icon, .avatar-big { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 8px; background: #eaf3ff; color: var(--blue); font-size: 14px; }
.success-icon { background: var(--green-soft); color: var(--green); border-radius: 50%; }
.avatar-big { border-radius: 50%; font-size: 8px; font-weight: 900; }

/* ---------- Stats band ---------- */
.stats-band { padding: 22px 0; background: #f5f8fd; border-top: 1px solid #eef3f8; border-bottom: 1px solid #eef3f8; }
.stats-panel { display: grid; grid-template-columns: repeat(4,1fr); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 22px rgba(25,83,145,.05); }
.metric { display: flex; gap: 14px; align-items: center; padding: 18px 24px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric strong { display: block; font-size: 22px; letter-spacing: -.03em; }
.metric div > span { display: block; color: var(--text); font-size: 13px; margin-top: 2px; }

/* ---------- Workflow ---------- */
.workflow { padding: 84px 0; }
.workflow-top { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 54px; }
.workflow-steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1.08fr auto 1fr; align-items: center; gap: 8px; }
.step-card { min-height: 230px; padding: 20px 18px; background: #fff; border: 1px solid #e3edf7; border-radius: 13px; box-shadow: var(--shadow-soft); }
.step-card-featured { border: 1px solid #75a4ff; background: linear-gradient(180deg,#2c73ef 0,#2c73ef 26%,#fff 26%,#fff 100%); }
.step-card-featured .step-top { color: #fff; }
.step-card-featured .step-top .icon-box { color: #fff; background: rgba(255,255,255,.18); }
.step-card-featured h3 { margin-top: 30px; }
.step-top { display: flex; align-items: center; justify-content: space-between; color: #5d7389; font-weight: 800; font-size: 13px; }
.step-card h3 { margin: 22px 0 10px; font-size: 16px; line-height: 1.25; }
.step-card p { margin: 0; color: var(--text); font-size: 14px; line-height: 1.55; }
.flow-arrow { color: var(--blue); font-size: 20px; display: grid; place-items: center; }

/* ---------- Control (dark) ---------- */
.control-section { background: radial-gradient(circle at 85% 20%,#0e4a80 0,#0a3764 30%,#082e56 75%); padding: 82px 0 64px; color: #fff; }
.control-header { display: grid; grid-template-columns: .72fr 1.28fr; gap: 50px; align-items: center; }
.control-header h2 { margin-top: 14px; font-size: clamp(34px,3.5vw,50px); }
.control-header p { color: #c7d8ea; font-size: 16px; line-height: 1.7; max-width: 470px; }
.control-app { min-height: 330px; grid-template-columns: 126px 1fr; box-shadow: 0 26px 70px rgba(0,0,0,.22); }
.control-app .app-main { color: var(--ink); }
.app-header-row.compact { margin-bottom: 12px; }
.toolbar { display: flex; gap: 7px; margin-bottom: 10px; }
.toolbar > span { flex: 1; display: flex; align-items: center; gap: 5px; padding: 8px 10px; border: 1px solid #e7eef6; border-radius: 6px; color: #97a6b6; font-size: 7px; }
.toolbar > i { display: grid; place-items: center; border: 1px solid #dce8f3; color: #5c7085; background: #fff; border-radius: 6px; font-size: 7px; font-style: normal; padding: 0 9px; }
.capability-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.capability-grid article { display: flex; gap: 13px; }
.capability-grid .icon-box { width: 40px; height: 40px; flex-basis: 40px; background: rgba(72,143,244,.18); color: #8cc3ff; }
.capability-grid h3 { margin: 0 0 5px; font-size: 15px; }
.capability-grid p { margin: 0; color: #c2d5e9; font-size: 14px; line-height: 1.5; }

/* ---------- Catalog ---------- */
.catalog { padding: 82px 0; }
.catalog-grid { display: grid; grid-template-columns: .68fr 1.32fr; gap: 44px; align-items: center; }
.catalog-copy p { max-width: 410px; }
.catalog-copy h2, .faq-intro h2 { font-size: clamp(30px, 2.8vw, 40px); }
.catalog-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.catalog-card { padding: 18px; background: #fff; border: 1px solid #e3edf7; border-radius: 12px; box-shadow: var(--shadow-soft); }
.catalog-card h3 { margin: 14px 0 10px; font-size: 15px; line-height: 1.25; }
.catalog-card ul { margin: 0; padding: 0; list-style: none; }
.catalog-card li { position: relative; padding-left: 12px; margin: 8px 0; color: var(--text); font-size: 13px; line-height: 1.4; }
.catalog-card li::before { content: "•"; color: var(--blue); position: absolute; left: 0; }
.catalog-total { background: linear-gradient(180deg,#eef5ff,#fff); text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.catalog-total strong { font-size: 44px; color: var(--blue); letter-spacing: -.05em; }
.catalog-total h3 { margin: 2px 0 8px; }
.catalog-total p { color: var(--muted); font-size: 13px; line-height: 1.45; margin: 0; }

/* ---------- Use cases ---------- */
.use-cases { padding: 80px 0; }
.use-cases h2 { margin: 14px 0 28px; max-width: 760px; }
.use-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.use-card { display: grid; grid-template-columns: 100px 1fr; gap: 17px; padding: 14px; border: 1px solid var(--line); border-radius: 13px; box-shadow: 0 9px 25px rgba(26,82,140,.06); }
.use-photo { min-height: 170px; border-radius: 10px; display: grid; place-items: center; color: var(--blue); font-size: 34px; }
.use-photo-1 { background: linear-gradient(135deg,#dbe9f6,#f8e6d5); }
.use-photo-2 { background: linear-gradient(135deg,#e7e3de,#d5e7f3); }
.use-photo-3 { background: linear-gradient(135deg,#e3eef4,#f4e5dc); }
.mini-label { color: var(--blue); font-weight: 800; font-size: 13px; }
.use-card h3 { margin: 8px 0; font-size: 16px; line-height: 1.3; }
.use-card p { margin: 0; color: var(--text); font-size: 14px; line-height: 1.55; }

/* ---------- Request lifecycle ---------- */
.intelligence { padding: 82px 0; }
.intelligence-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 70px; align-items: center; }
.process-map { position: relative; max-width: 470px; padding-right: 100px; }
.process-card { display: flex; gap: 13px; align-items: center; width: 265px; padding: 13px 15px; border-radius: 10px; border: 1px solid #e2ebf5; background: #fff; box-shadow: var(--shadow-soft); }
.process-card strong, .branch-card strong { display: block; font-size: 13px; }
.process-card small, .branch-card small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.process-dot { width: 26px; height: 26px; flex: 0 0 26px; display: grid; place-items: center; border-radius: 50%; font-size: 13px; }
.process-dot.done { color: #0b9a5d; background: var(--green-soft); }
.process-dot.active { background: var(--blue); }
.process-dot.active::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.process-highlight { border-color: #a6c6ff; background: #f1f6ff; }
.process-line { height: 13px; width: 2px; background: #bed6fb; margin-left: 28px; }
.process-line.dotted { background: repeating-linear-gradient(to bottom,#8db4f9 0 3px,transparent 3px 6px); }
.branch-card { position: absolute; width: 200px; display: flex; gap: 10px; padding: 12px; background: #fff; border: 1px solid #e3ebf5; border-radius: 10px; box-shadow: var(--shadow-soft); }
.branch-card > span { width: 26px; height: 26px; flex: 0 0 26px; display: grid; place-items: center; border-radius: 50%; font-size: 14px; }
.branch-warning { right: 0; top: 55px; }
.branch-warning > span { color: var(--red); background: var(--red-soft); }
.branch-notify { right: 5px; bottom: 48px; }
.branch-notify > span { color: var(--blue); background: var(--blue-soft); }
.intelligence-copy h2 { max-width: 660px; }
.feature-pairs { margin-top: 28px; display: grid; grid-template-columns: repeat(2,1fr); gap: 22px 28px; }
.feature-pairs article, .security-grid article { display: flex; gap: 12px; }
.feature-pairs h3, .security-grid h3 { margin: 0 0 4px; font-size: 15px; }
.feature-pairs p, .security-grid p { margin: 0; color: var(--text); font-size: 14px; line-height: 1.5; }

/* ---------- Security ---------- */
.security-section { padding: 78px 0 68px; }
.security-main { display: grid; grid-template-columns: 185px 1fr; gap: 36px; align-items: center; }
.shield-art { width: 160px; height: 160px; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle,#e4efff 0,#f4f8ff 65%,transparent 66%); color: #b6d2ff; font-size: 120px; position: relative; }
.shield-art .i { stroke-width: 1.2; }
.shield-lock { position: absolute; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; color: var(--blue); background: #fff; box-shadow: var(--shadow); font-size: 24px; }
.shield-lock .i { stroke-width: 2; }
.security-grid { margin-top: 27px; display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.transparency-panel { margin-top: 40px; display: grid; grid-template-columns: auto 1.35fr 1fr; gap: 20px; align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: #f7faff; }
.transparency-panel > .icon-box { width: 44px; height: 44px; background: #e7f1ff; font-size: 20px; }
.transparency-copy h3 { margin: 0 0 6px; font-size: 16px; }
.transparency-copy p, .transparency-note p { margin: 0; color: var(--text); font-size: 14px; line-height: 1.55; }
.transparency-note { border-left: 1px solid var(--line); padding-left: 20px; }
.transparency-note div { display: flex; gap: 16px; margin-top: 10px; flex-wrap: wrap; }
.transparency-note a { color: var(--blue); font-size: 14px; font-weight: 700; }

/* ---------- FAQ ---------- */
.faq-section { padding: 78px 0; }
.faq-grid { display: grid; grid-template-columns: .58fr 1.42fr; gap: 64px; align-items: start; }
.faq-intro p { max-width: 360px; }
.accordion { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 0; }
.faq-item h3 { margin: 0; }
.faq-item button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 20px; border: 0; background: #fff; color: var(--ink); text-align: left; font-size: 16px; font-weight: 700; }
.faq-item button .i { color: var(--blue); font-size: 18px; transition: transform .2s ease; }
.faq-item.open button .i { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 20px 18px; }
.faq-answer p { margin: 0; color: var(--text); font-size: 15px; line-height: 1.6; }
.faq-item.open .faq-answer { display: block; }

/* ---------- Closing CTA ---------- */
.closing-cta { position: relative; overflow: hidden; padding: 64px 0; text-align: center; color: #fff; background: linear-gradient(135deg,#0b3968,#082c52); }
.closing-cta .container { position: relative; z-index: 2; }
.closing-cta h2 { font-size: clamp(30px,3vw,44px); max-width: 900px; margin: 0 auto; }
.closing-cta p { max-width: 760px; margin: 16px auto 0; color: #c7d9eb; font-size: 16px; line-height: 1.6; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }
.closing-cta small { display: block; margin-top: 14px; color: #b8cfe4; font-size: 13px; }
.cta-routes { position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(90deg,transparent 48%,#fff 49%,#fff 51%,transparent 52%), linear-gradient(transparent 48%,#fff 49%,#fff 51%,transparent 52%); background-size: 90px 90px; transform: rotate(10deg) scale(1.2); }

/* ---------- Footer ---------- */
.site-footer { background: #062746; color: #d5e2ef; padding: 52px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3,1fr); gap: 40px; }
.footer-brand img { display: block; height: 28px; width: auto; }
.footer-brand p { color: #a9bfd5; font-size: 14px; line-height: 1.6; max-width: 320px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 10px; }
.footer-grid h3 { margin: 2px 0 4px; color: #fff; font-size: 14px; }
.footer-grid a { color: #b8cbdd; font-size: 14px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.10); color: #93abc3; font-size: 13px; }

/* Scroll reveal only when JS is running (landing.js sets html.js), so the
   page is never blank without it. The hero is never hidden. */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .desktop-nav { gap: 18px; }
  .hero-grid { gap: 32px; }
  .workflow-top { grid-template-columns: 1fr; }
  .workflow-steps { max-width: 900px; }
  .control-header { grid-template-columns: 1fr; }
  .control-header > div:first-child { max-width: 680px; }
  .catalog-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 900px) {
  .desktop-nav, .header-actions { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .menu-toggle { display: block; justify-self: end; }
  .hero { padding-top: 42px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .stats-panel { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .workflow-steps { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); justify-self: center; }
  .step-card { min-height: 0; }
  .step-card-featured { background: #fff; border-width: 2px; }
  .step-card-featured .step-top { color: var(--blue); }
  .step-card-featured .step-top .icon-box { color: #fff; background: var(--blue); }
  .step-card-featured h3 { margin-top: 22px; }
  .capability-grid { grid-template-columns: repeat(2,1fr); }
  .catalog-cards { grid-template-columns: repeat(2,1fr); }
  .use-grid { grid-template-columns: 1fr; }
  .intelligence-grid { grid-template-columns: 1fr; }
  .security-main { grid-template-columns: 1fr; }
  .shield-art { width: 130px; height: 130px; font-size: 96px; }
  .transparency-panel { grid-template-columns: auto 1fr; }
  .transparency-note { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 14px; }
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .header-inner { height: 64px; }
  .brand img { height: 24px; }
  .hero { padding: 34px 0 38px; }
  .hero-grid { gap: 28px; min-height: auto; }
  .eyebrow { font-size: 11px; }
  .hero h1 { font-size: clamp(34px,10vw,42px); margin-top: 15px; }
  .hero-lead { font-size: 16px; line-height: 1.58; }
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .micro-proof { gap: 14px 18px; }
  .micro-proof > div { flex: 1 1 140px; }
  .hero-visual { min-height: 300px; }
  .hero-app { min-height: 260px; grid-template-columns: 44px 1fr; }
  .hero-app .app-sidebar, .control-app .app-sidebar { padding: 12px 6px; align-items: center; }
  .app-nav span, .app-brand span { display: none; }
  .hero-app .app-main, .control-app .app-main { padding: 12px; }
  .hero-app .tabs { display: none; }
  .ui-table th:nth-child(4), .ui-table td:nth-child(4) { display: none; }
  .ui-table th, .ui-table td { padding: 7px 4px; }
  .request-float, .client-float { display: none; }
  .result-float { left: 50px; bottom: -6px; }
  .stats-band { padding: 16px 0; }
  .metric { padding: 16px 14px; gap: 10px; }
  .metric strong { font-size: 19px; }
  .workflow, .catalog, .use-cases, .intelligence, .security-section, .faq-section { padding: 64px 0; }
  .section-intro h2, .use-cases h2, .security-copy h2, .intelligence-copy h2, .faq-intro h2 { font-size: 30px; }
  .control-section { padding: 64px 0 56px; }
  .control-header { gap: 30px; }
  .control-header h2 { font-size: 32px; }
  .control-app { min-height: 250px; grid-template-columns: 44px 1fr; }
  .control-app .toolbar > i { display: none; }
  .capability-grid { grid-template-columns: 1fr; gap: 18px; }
  .catalog-cards { grid-template-columns: 1fr; }
  .use-card { grid-template-columns: 76px 1fr; }
  .use-photo { min-height: 140px; font-size: 28px; }
  .process-map { padding-right: 0; max-width: 100%; }
  .process-card { width: calc(100% - 18px); }
  .branch-card { position: static; width: calc(100% - 18px); margin: 10px 0 10px 18px; }
  .feature-pairs, .security-grid { grid-template-columns: 1fr; gap: 16px; }
  .transparency-panel { grid-template-columns: 1fr; }
  .closing-cta { padding: 52px 0; }
  .closing-cta h2 { font-size: 30px; }
  .cta-actions { display: grid; }
}

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