:root {
  --blue: #3992f6;
  --blue-dark: #1f6fd1;
  --blue-soft: #eaf3fe;
  --navy: #0a2342;
  --navy-2: #123b6d;
  --ink: #1a2433;
  --muted: #5a6779;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --urgent: #c2410c;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 35, 66, 0.08);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--blue-dark); }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--line); box-shadow: 0 2px 12px rgba(10,35,66,0.05); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand img { display: block; height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; }
.nav a:hover { color: var(--blue-dark); }
.nav .nav-cta { background: var(--blue); color: #fff; padding: 9px 16px; border-radius: 9px; }
.nav .nav-cta:hover { background: var(--blue-dark); color: #fff; }
.nav .staff-login { font-size: 12px; font-weight: 500; color: var(--muted); }

/* Hero */
.hero {
  color: #fff; position: relative; overflow: hidden; padding: 88px 0 0;
  background:
    radial-gradient(900px 460px at 90% -10%, rgba(57,146,246,0.45), transparent 60%),
    radial-gradient(700px 360px at -10% 100%, rgba(57,146,246,0.18), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.10) 1.2px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, #000 20%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 85%);
}
.hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 52px; align-items: center; }
.eyebrow { margin: 0 0 14px; color: #9cc8fb; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(34px, 4.8vw, 56px); line-height: 1.06; letter-spacing: -0.025em; }
.hero h1 span { display: block; color: #6db0fa; }
.lede { margin: 22px 0 0; max-width: 600px; font-size: 18px; color: #c8d6e8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-panel { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); border-radius: 18px; padding: 26px; box-shadow: 0 30px 60px rgba(0,0,0,0.25); backdrop-filter: blur(4px); }
.hero-panel-title { margin: 0 0 14px; font-weight: 700; font-size: 15px; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.check-list li { position: relative; padding-left: 30px; color: #dce6f2; font-size: 15px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='m9.5 16.2-3.7-3.7 1.4-1.4 2.3 2.3 6.3-6.3 1.4 1.4z'/%3E%3C/svg%3E") center/16px no-repeat;
}
.pillars { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,0.14); }
.pillars li { padding: 26px 24px 30px 0; }
.pillars li + li { padding-left: 24px; border-left: 1px solid rgba(255,255,255,0.14); }
.pillars strong { display: block; font-size: 16px; margin-bottom: 4px; }
.pillars span { font-size: 14px; color: #a9bbd1; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 10px; font: inherit; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .15s, border-color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover { border-color: #fff; }

/* Sections */
.section { padding: 92px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: linear-gradient(160deg, var(--navy), #0e2d55); color: #fff; }
.kicker { margin: 0 0 8px; color: var(--blue-dark); font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.kicker-light { color: #9cc8fb; }
.section h2 { margin: 0; font-size: clamp(27px, 3.4vw, 38px); line-height: 1.14; letter-spacing: -0.018em; color: var(--navy); max-width: 780px; }
.section-dark h2, .section-cta h2 { color: #fff; }
.section-lede { margin: 14px 0 0; color: var(--muted); max-width: 680px; font-size: 17px; }
.section-dark .section-lede, .section-cta .section-lede { color: #c8d6e8; }
.fine { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.fine-light { color: #a9bbd1; }

/* Deliver */
.deliver-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; }
.deliver-item { padding: 4px 0; }
.d-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), #6db0fa); box-shadow: 0 10px 22px rgba(57,146,246,0.3); }
.d-icon svg { width: 26px; height: 26px; fill: #fff; }
.deliver-item h3 { margin: 18px 0 6px; font-size: 18px; color: var(--navy); }
.deliver-item p { margin: 0; color: var(--muted); font-size: 15px; }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.svc { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: var(--radius); padding: 24px 24px 22px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.svc:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(10,35,66,0.12); }
.svc h3 { margin: 0 0 6px; font-size: 18px; color: var(--navy); }
.svc > p { margin: 0; color: var(--muted); font-size: 15px; }
.svc ul { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.svc li { position: relative; padding-left: 18px; font-size: 14px; }
.svc li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 7px; height: 7px; border-radius: 2px; background: var(--blue); }

/* Plans */
.plan-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.plan { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; }
.plan h3 { margin: 0 0 8px; font-size: 22px; color: var(--navy); }
.plan p { margin: 0; color: var(--muted); font-size: 15px; }
.plan-featured { border: 2px solid var(--blue); box-shadow: 0 18px 40px rgba(57,146,246,0.18); }
.plan-badge { position: absolute; top: -12px; left: 24px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.matrix-wrap { margin-top: 28px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.matrix { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 14px; }
.matrix th, .matrix td { padding: 11px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.matrix tbody tr:last-child th, .matrix tbody tr:last-child td { border-bottom: 0; }
.matrix thead th { background: var(--navy); color: #fff; font-size: 14px; position: sticky; top: 0; }
.matrix thead th:first-child { text-align: left; }
.matrix thead .col-featured { background: var(--blue); }
.matrix tbody th { text-align: left; font-weight: 500; color: var(--ink); }
.matrix tbody tr:nth-child(even) { background: var(--bg-alt); }
.matrix td.y { color: var(--blue-dark); font-weight: 700; }
.matrix td.y::before { content: "✓ "; }
.matrix td.a { color: var(--muted); font-size: 13px; }
.matrix td.n { color: #b6c0cc; }

/* Compliance */
.fw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.fw { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 18px; }
.fw strong { display: block; font-size: 16px; color: #fff; }
.fw span { display: block; margin-top: 4px; font-size: 14px; color: #a9bbd1; }
.provide { margin-top: 36px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 26px 28px; }
.provide h3 { margin: 0 0 14px; font-size: 18px; }
.provide ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.provide li { position: relative; padding-left: 26px; font-size: 14px; color: #d3dfec; }
.provide li strong { color: #fff; }
.provide li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='m9.5 16.2-3.7-3.7 1.4-1.4 2.3 2.3 6.3-6.3 1.4 1.4z'/%3E%3C/svg%3E") center/13px no-repeat; }

/* Partner */
.partner-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.partner-quote { margin: 24px 0 0; padding: 16px 20px; border-left: 4px solid var(--blue); background: var(--blue-soft); border-radius: 0 12px 12px 0; font-weight: 600; color: var(--navy); }
.partner-points { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.partner-points div { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; box-shadow: var(--shadow); }
.partner-points h3 { margin: 0 0 6px; font-size: 16px; color: var(--navy); }
.partner-points p { margin: 0; font-size: 14px; color: var(--muted); }

/* Baseline */
.baseline-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.baseline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.baseline li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 14px 14px 46px; font-size: 14px; }
.baseline li::before { content: ""; position: absolute; left: 14px; top: 14px; width: 20px; height: 20px; border-radius: 6px; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231f6fd1' d='M12 2 4 5v6c0 5 3.4 9.3 8 11 4.6-1.7 8-6 8-11V5l-8-3Z'/%3E%3C/svg%3E") center/14px no-repeat; }

/* Steps */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 38px; right: -20px; width: 20px; height: 2px; background: var(--blue); }
.step-n { display: inline-block; font-size: 13px; font-weight: 800; color: var(--blue-dark); background: var(--blue-soft); padding: 4px 10px; border-radius: 999px; }
.steps h3 { margin: 14px 0 6px; font-size: 18px; color: var(--navy); }
.steps p { margin: 0; color: var(--muted); font-size: 14px; }

/* Industries */
.ind-chips { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.ind-chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-weight: 600; color: var(--navy); box-shadow: 0 4px 12px rgba(10,35,66,0.05); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 0 18px; }
.faq details[open] { border-color: #bcd8fb; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; font-weight: 600; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 22px; color: var(--blue-dark); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--muted); font-size: 15px; }

/* Contact */
.section-cta { color: #fff; background: radial-gradient(800px 380px at 85% 0%, rgba(57,146,246,0.4), transparent 60%), linear-gradient(160deg, var(--navy), var(--navy-2)); }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 820px; gap: 18px; margin-top: 36px; }
.contact-card { border-radius: var(--radius); padding: 22px; background: #fff; color: var(--ink); }
.contact-card h3 { margin: 0 0 8px; font-size: 16px; color: var(--navy); }
.contact-card p { margin: 4px 0; }
.contact-card a { font-weight: 700; text-decoration: none; font-size: 17px; }
.contact-card .hours { color: var(--muted); font-size: 13px; }
.contact-urgent { background: #fff7ed; }
.contact-urgent a { color: var(--urgent); }

.footer { background: #071a33; color: #94a6bd; font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; padding-bottom: 24px; flex-wrap: wrap; }
.footer img { height: 40px; width: auto; }
.footer p { margin: 0; }
.footer-login { color: #94a6bd; font-size: 12px; text-decoration: none; }
.footer-login:hover { color: #fff; }

/* Greeter */
.greeter-launch {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border: 0; border-radius: 999px; background: var(--blue); color: #fff;
  font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; box-shadow: 0 10px 28px rgba(11, 31, 58, 0.28);
}
.greeter-launch:hover { background: var(--blue-dark); }
.greeter-launch svg { width: 20px; height: 20px; fill: currentColor; }
.greeter-launch[aria-expanded="true"] { display: none; }

.greeter {
  position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 370px; max-width: calc(100vw - 32px);
  height: 540px; max-height: calc(100vh - 40px); display: flex; flex-direction: column;
  background: #fff; border-radius: 18px; box-shadow: 0 24px 60px rgba(11, 31, 58, 0.3); overflow: hidden;
}
.greeter[hidden] { display: none; }
.greeter-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: var(--navy); color: #fff; }
.greeter-head strong { display: block; font-size: 15px; }
.greeter-head span { font-size: 12px; color: #9fb0c4; }
.greeter-close { background: none; border: 0; color: #cfd9e6; font-size: 26px; line-height: 1; cursor: pointer; padding: 4px 8px; }
.greeter-close:hover { color: #fff; }
.greeter-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-alt); }
.msg { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: 14px; white-space: pre-wrap; word-wrap: break-word; }
.msg-bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg-user { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.msg-error { align-self: flex-start; background: #fff7ed; border: 1px solid #fed7aa; color: #7c2d12; }
.msg-typing { color: var(--muted); font-style: italic; }
.greeter-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: #fff; }
.greeter-form textarea {
  flex: 1; resize: none; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
  font: inherit; font-size: 16px; max-height: 120px; color: var(--ink);
}
.greeter-form textarea:focus { outline: 2px solid var(--blue); outline-offset: -1px; border-color: transparent; }
.greeter-send { flex: none; width: 44px; border: 0; border-radius: 10px; background: var(--blue); cursor: pointer; display: grid; place-items: center; }
.greeter-send:disabled { opacity: 0.5; cursor: default; }
.greeter-send svg { width: 20px; height: 20px; fill: #fff; }
.greeter-note { margin: 0; padding: 0 12px 10px; font-size: 11px; color: var(--muted); background: #fff; }


/* Windows 10 banner */
.eol-banner { background: linear-gradient(90deg, #7c2d12, #c2410c); color: #fff; font-size: 14px; }
.eol-banner[hidden] { display: none; }
.eol-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 42px; }
.eol-inner p { margin: 0; padding: 8px 0; }
.eol-inner a { color: #fff; font-weight: 700; white-space: nowrap; }
.eol-close { background: none; border: 0; color: #ffd8c2; font-size: 22px; line-height: 1; cursor: pointer; padding: 4px 6px; }
.eol-close:hover { color: #fff; }

/* Hero network canvas */
.hero-net { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero::before { opacity: 0.5; }
.hero .wrap { z-index: 1; }

/* Health check */
.section-hc { background: linear-gradient(180deg, var(--blue-soft), #fff); }
.hc-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.hc-points { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hc-points li { background: #fff; border: 1px solid #cfe2fb; color: var(--navy); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; }
.hc-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 24px 60px rgba(10,35,66,0.12); padding: 34px 32px 30px; min-height: 360px; overflow: hidden; }
.hc-progress { position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--blue-soft); }
.hc-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), #6db0fa); transition: width .3s ease; }
.hc-step { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--blue-dark); text-transform: uppercase; letter-spacing: 0.06em; }
.hc-q { margin: 0; font-size: 22px; line-height: 1.3; color: var(--navy); outline: none; }
.hc-sub { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.hc-start { margin-top: 26px; }
.hc-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.hc-opt { font: inherit; font-weight: 700; font-size: 16px; padding: 16px 10px; border-radius: 12px; border: 2px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.hc-opt:hover, .hc-opt:focus-visible { border-color: var(--blue); background: var(--blue-soft); transform: translateY(-1px); outline: none; }
.hc-back { margin-top: 18px; background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--muted); cursor: pointer; text-decoration: underline; }
.hc-result-head { display: flex; gap: 20px; align-items: center; }
.hc-score { --p: 0; --c: var(--blue); flex: none; position: relative; width: 112px; height: 112px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: conic-gradient(var(--c) calc(var(--p) * 1%), #e6ecf3 0); }
.hc-score::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #fff; }
.hc-score > * { position: relative; }
.hc-score strong { font-size: 32px; line-height: 1; }
.hc-score span { font-size: 12px; color: var(--muted); }
.hc-good { --c: #16a34a; color: #15803d; }
.hc-ok { --c: var(--blue); color: var(--blue-dark); }
.hc-warn { --c: #f59e0b; color: #b45309; }
.hc-bad { --c: #dc2626; color: #b91c1c; }
.hc-gaps-title { margin: 24px 0 10px; font-weight: 800; color: var(--navy); }
.hc-gaps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hc-gaps li { border: 1px solid var(--line); border-left: 4px solid #f59e0b; border-radius: 10px; padding: 12px 14px; display: grid; gap: 3px; font-size: 14px; }
.hc-gaps strong { color: var(--navy); }
.hc-gaps span { color: var(--ink); }
.hc-gaps em { font-style: normal; color: var(--blue-dark); font-size: 13px; font-weight: 600; }
.hc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--blue); }

/* Compliance picker */
.picker { margin-top: 30px; }
.picker-label { margin: 0 0 10px; font-weight: 700; color: #fff; }
.picker-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.picker-chips button { font: inherit; font-size: 14px; font-weight: 600; color: #dce6f2; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.2); border-radius: 999px; padding: 8px 14px; cursor: pointer; transition: background .15s, border-color .15s; }
.picker-chips button:hover { border-color: #6db0fa; }
.picker-chips button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.picker-note { margin: 14px 0 0; min-height: 44px; color: #c8d6e8; font-size: 15px; max-width: 820px; }
.fw { transition: opacity .2s, border-color .2s, background .2s, transform .2s; }
.fw.is-on { border-color: #6db0fa; background: rgba(57,146,246,0.18); transform: translateY(-2px); }
.fw.is-off { opacity: 0.35; }

@media (max-width: 860px) {
  .hc-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .hc-card { padding: 30px 20px 24px; }
  .hc-opts { grid-template-columns: 1fr; }
  .hc-result-head { flex-direction: column; align-items: flex-start; }
  .eol-inner { font-size: 13px; }
  .eol-inner a { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .hc-progress span, .hc-opt, .fw { transition: none; }
}

@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .deliver-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
  .nav a[href="#compliance"], .nav a[href="#partner"], .nav a[href="#plans"] { display: none; }
}
@media (max-width: 860px) {
  .hero-grid, .partner-grid, .baseline-grid, .faq-wrap { grid-template-columns: 1fr; gap: 32px; }
  .plan-cards, .fw-grid, .contact-grid { grid-template-columns: 1fr; }
  .fw-grid { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .pillars li + li { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,0.14); }
  .pillars li { padding: 18px 0; }
  .provide ul { grid-template-columns: 1fr; }
  .nav a:not(.staff-login):not(.nav-cta) { display: none; }
}
@media (max-width: 560px) {
  .svc-grid, .deliver-grid, .steps, .partner-points, .baseline, .fw-grid { grid-template-columns: 1fr; }
  .topbar-inner { height: 62px; }
  .brand img { height: 36px; }
  .nav { gap: 12px; }
  .nav .nav-cta { padding: 8px 12px; font-size: 13px; }
  .hero { padding-top: 56px; }
  .section { padding: 64px 0; }
  .greeter { right: 0; bottom: 0; width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .greeter-launch span { display: none; }
  .greeter-launch { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .svc { transition: none; }
}

/* ===== Motion ===== */
.scroll-progress { position: fixed; left: 0; top: 0; z-index: 60; height: 3px; width: 100%; background: linear-gradient(90deg, var(--blue), #6db0fa); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
.topbar { transition: box-shadow .2s, background .2s; }
.topbar-inner { transition: height .2s; }
.brand img { transition: height .2s; }
.topbar.is-scrolled { box-shadow: 0 6px 24px rgba(10,35,66,0.10); }
.topbar.is-scrolled .topbar-inner { height: 60px; }
.topbar.is-scrolled .brand img { height: 38px; }
.nav a:not(.nav-cta):not(.staff-login) { position: relative; }
.nav a:not(.nav-cta):not(.staff-login)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: 0 50%; transition: transform .2s; }
.nav a:not(.nav-cta):not(.staff-login):hover::after { transform: scaleX(1); }

/* Hero entrance */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.2); } 100% { transform: scale(1); } }
.hero .eyebrow { animation: rise .6s ease both; }
.hero h1 { animation: rise .7s .08s ease both; }
.hero h1 span { animation: rise .7s .22s ease both; }
.hero .lede { animation: rise .7s .32s ease both; }
.hero-actions { animation: rise .7s .42s ease both; }
.hero-panel { animation: rise .8s .3s ease both; }
.check-list li { animation: rise .45s ease both; }
.check-list li::before { animation: pop .4s ease both; }
.check-list li:nth-child(1), .check-list li:nth-child(1)::before { animation-delay: .55s; }
.check-list li:nth-child(2), .check-list li:nth-child(2)::before { animation-delay: .65s; }
.check-list li:nth-child(3), .check-list li:nth-child(3)::before { animation-delay: .75s; }
.check-list li:nth-child(4), .check-list li:nth-child(4)::before { animation-delay: .85s; }
.check-list li:nth-child(5), .check-list li:nth-child(5)::before { animation-delay: .95s; }
.check-list li:nth-child(6), .check-list li:nth-child(6)::before { animation-delay: 1.05s; }
.check-list li:nth-child(7), .check-list li:nth-child(7)::before { animation-delay: 1.15s; }
.check-list li:nth-child(8), .check-list li:nth-child(8)::before { animation-delay: 1.25s; }
.pillars li { animation: rise .7s ease both; }
.pillars li:nth-child(1) { animation-delay: .6s; } .pillars li:nth-child(2) { animation-delay: .72s; } .pillars li:nth-child(3) { animation-delay: .84s; }

/* Scroll reveal (only when JS has opted an element in) */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* Deliver icons */
.d-icon { transition: transform .25s ease, box-shadow .25s ease; }
.deliver-item:hover .d-icon { transform: translateY(-4px) rotate(-4deg); box-shadow: 0 16px 28px rgba(57,146,246,0.38); }

/* Service cards: top bar sweeps on hover */
.svc { position: relative; border-top-color: #cfe2fb; }
.svc::before { content: ""; position: absolute; left: 0; top: -3px; height: 3px; width: 100%; background: linear-gradient(90deg, var(--blue), #6db0fa); transform: scaleX(.25); transform-origin: 0 50%; transition: transform .35s ease; }
.svc:hover::before { transform: scaleX(1); }
.svc li { transition: transform .2s ease; }
.svc:hover li { transform: translateX(3px); }
.plan { transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.plan:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10,35,66,0.12); border-color: #bcd8fb; }

/* Onboarding: connector lines draw across in sequence */
.steps li:not(:last-child)::after { transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s ease; }
.steps.play li:nth-child(1)::after { transform: scaleX(1); transition-delay: .35s; }
.steps.play li:nth-child(2)::after { transform: scaleX(1); transition-delay: .75s; }
.steps.play li:nth-child(3)::after { transform: scaleX(1); transition-delay: 1.15s; }
.step-n { transition: background .3s, color .3s; }
.steps.play li:nth-child(1) .step-n { background: var(--blue); color: #fff; transition-delay: .2s; }
.steps.play li:nth-child(2) .step-n { background: var(--blue); color: #fff; transition-delay: .6s; }
.steps.play li:nth-child(3) .step-n { background: var(--blue); color: #fff; transition-delay: 1s; }
.steps.play li:nth-child(4) .step-n { background: var(--blue); color: #fff; transition-delay: 1.4s; }

/* Security baseline: a scan pass, then each shield turns on */
.baseline { position: relative; }
.baseline::after { content: ""; position: absolute; left: -8px; right: -8px; top: 0; height: 60px; background: linear-gradient(180deg, transparent, rgba(57,146,246,0.18), transparent); border-bottom: 2px solid rgba(57,146,246,0.55); opacity: 0; pointer-events: none; }
@keyframes scan { 0% { opacity: 0; transform: translateY(-40px); } 10% { opacity: 1; } 90% { opacity: 1; } 100% { opacity: 0; transform: translateY(var(--scan-h, 320px)); } }
.baseline.play::after { animation: scan 1.6s ease-in-out .2s both; }
.baseline li::before { transition: background-color .3s, transform .3s; }
.baseline.play li::before { background-color: #cfe2fb; transform: scale(1.12); }
.baseline.play li:nth-child(1)::before { transition-delay: .35s; } .baseline.play li:nth-child(2)::before { transition-delay: .45s; }
.baseline.play li:nth-child(3)::before { transition-delay: .6s; }  .baseline.play li:nth-child(4)::before { transition-delay: .7s; }
.baseline.play li:nth-child(5)::before { transition-delay: .85s; } .baseline.play li:nth-child(6)::before { transition-delay: .95s; }
.baseline.play li:nth-child(7)::before { transition-delay: 1.1s; } .baseline.play li:nth-child(8)::before { transition-delay: 1.2s; }

/* Industries chips */

.ind-chips li:hover { border-color: var(--blue); color: var(--blue-dark); }

/* Health check transitions */
@keyframes swapIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.hc-swap { animation: swapIn .3s ease; }
.hc-gaps li { animation: rise .45s ease both; animation-delay: var(--d, 0ms); }

/* Emergency line: live indicator */
.contact-urgent h3::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--urgent); vertical-align: middle; animation: live 2s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(194,65,12,0.5); } 70% { box-shadow: 0 0 0 8px rgba(194,65,12,0); } 100% { box-shadow: 0 0 0 0 rgba(194,65,12,0); } }

/* Contact section glow drifts slowly */
.section-cta { background-size: 140% 140%, 100% 100%; animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { from { background-position: 0% 0%, 0 0; } to { background-position: 100% 30%, 0 0; } }

/* Greeter nudge (3 pings, then stops) */
@keyframes ping { 0% { box-shadow: 0 10px 28px rgba(10,35,66,0.28), 0 0 0 0 rgba(57,146,246,0.6); } 100% { box-shadow: 0 10px 28px rgba(10,35,66,0.28), 0 0 0 16px rgba(57,146,246,0); } }
.greeter-launch.nudge { animation: ping 1.4s ease-out 3; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .steps li::after { transform: none !important; }
  .scroll-progress { display: none; }
}

/* ===== Motion, part 2 ===== */

/* Compliance cards: expandable How we help */
.fw { display: flex; flex-direction: column; }
.fw-toggle { align-self: flex-start; margin-top: 12px; background: none; border: 0; padding: 0; font: inherit; font-size: 13px; font-weight: 700; color: #9cc8fb; cursor: pointer; }
.fw-toggle:hover { color: #fff; }
.fw-toggle span { display: inline-block; width: 1em; text-align: center; }
.fw-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.fw-more > div { overflow: hidden; }
.fw.open .fw-more { grid-template-rows: 1fr; }
.fw-more ul { margin: 10px 0 0; padding: 0 0 0 18px; color: #dce6f2; font-size: 13px; display: grid; gap: 4px; }
.fw.open { border-color: rgba(109,176,250,0.6); }

/* Logo assembly */
.brand { position: relative; }
.brand.assemble img { animation: logoIn .5s .75s ease both; }
@keyframes logoIn { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
.assemble-dot { position: absolute; width: var(--s); height: var(--s); border-radius: 50%; background: var(--blue); pointer-events: none; animation: converge .8s cubic-bezier(.2,.8,.2,1) both; }
@keyframes converge {
  0% { opacity: 0; transform: translate(var(--sx), var(--sy)) scale(.6); }
  25% { opacity: 1; }
  80% { opacity: 1; transform: translate(0, 0) scale(1); }
  100% { opacity: 0; transform: translate(0, 0) scale(1.6); }
}

/* Unified comms demo: call → video → chat, 9s loop */
.uc-demo { position: relative; height: 74px; margin-top: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-alt); overflow: hidden; }
.uc-pane { position: absolute; inset: 0; display: flex; align-items: center; gap: 10px; padding: 0 14px; opacity: 0; animation: ucCycle 9s infinite; }
.uc-call { opacity: 1; animation-delay: 0s; }
.uc-video { animation-delay: 3s; }
.uc-chat { animation-delay: 6s; }
@keyframes ucCycle { 0% { opacity: 0; transform: translateY(10px); } 4% { opacity: 1; transform: none; } 30% { opacity: 1; transform: none; } 34% { opacity: 0; transform: translateY(-10px); } 100% { opacity: 0; } }
.uc-ring { flex: none; width: 36px; height: 36px; border-radius: 50%; background: #16a34a; display: grid; place-items: center; animation: ringShake 1s ease-in-out infinite; }
.uc-ring svg { width: 18px; height: 18px; fill: #fff; }
@keyframes ringShake { 0%, 50%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(-14deg); } 20%, 40% { transform: rotate(14deg); } }
.uc-txt { display: grid; font-size: 13px; line-height: 1.3; }
.uc-txt b { color: var(--navy); }
.uc-txt i { font-style: normal; color: var(--muted); }
.uc-video { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 10px; }
.uc-video span { border-radius: 8px; background: linear-gradient(135deg, var(--navy-2), var(--blue)); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.uc-video span:last-child { background: linear-gradient(135deg, #64748b, #94a3b8); }
.uc-chat { flex-direction: column; align-items: stretch; justify-content: center; gap: 6px; font-size: 12px; }
.uc-chat .b1 { align-self: flex-start; background: #fff; border: 1px solid var(--line); padding: 4px 10px; border-radius: 10px 10px 10px 3px; }
.uc-chat .b2 { align-self: flex-end; background: var(--blue); color: #fff; padding: 4px 10px; border-radius: 10px 10px 3px 10px; }

/* Backup restore demo: runs once when the card comes into view */
.restore-demo { margin-top: 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-alt); font-size: 12px; }
.rd-head { display: flex; justify-content: space-between; color: var(--muted); }
.rd-ok { color: #15803d; font-weight: 700; opacity: 1; }
.rd-bar { margin-top: 8px; height: 6px; border-radius: 99px; background: #e2e8f0; overflow: hidden; }
.rd-bar span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--blue), #16a34a); transform-origin: 0 50%; }
.svc.reveal .rd-bar span { transform: scaleX(0); }
.svc.reveal .rd-ok { opacity: 0; }
.svc.reveal.in .rd-bar span { animation: fill 1.8s .5s ease-in-out forwards; }
.svc.reveal.in .rd-ok { animation: okIn .4s 2.3s ease forwards; }
@keyframes fill { to { transform: scaleX(1); } }
@keyframes okIn { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }

/* Stats strip */
.stats { list-style: none; margin: 48px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stats strong { display: block; font-size: 44px; line-height: 1; font-weight: 800; color: var(--blue-dark); font-variant-numeric: tabular-nums; }
.stats span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); max-width: 200px; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  .uc-pane { opacity: 0 !important; }
  .uc-call { opacity: 1 !important; }
  .svc.reveal .rd-bar span, .rd-bar span { transform: none !important; }
  .rd-ok { opacity: 1 !important; }
  .fw-more { transition: none; }
}

.fw-grid { align-items: start; }

/* ===== Assessment request form ===== */
.contact-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 22px; margin-top: 36px; align-items: start; }
.contact-side { display: grid; gap: 18px; }
.lead-form { background: #fff; color: var(--ink); border-radius: 18px; padding: 28px; box-shadow: 0 24px 60px rgba(0,0,0,0.25); }
.lead-form h3 { margin: 0; font-size: 22px; color: var(--navy); }
.lead-sub { margin: 6px 0 18px; color: var(--muted); font-size: 15px; }
.lf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lf { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.lf-grid .lf { margin-bottom: 0; }
.lf span { font-size: 13px; font-weight: 700; color: var(--navy); }
.lf small { font-size: 12px; color: var(--muted); }
.lf input, .lf select, .lf textarea { font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; width: 100%; }
.lf textarea { resize: vertical; min-height: 96px; }
.lf input:focus, .lf select:focus, .lf textarea:focus { outline: 2px solid var(--blue); outline-offset: -1px; border-color: transparent; }
.lf.invalid input { border-color: #dc2626; background: #fef2f2; }
.lf .err { color: #b91c1c; font-size: 12px; font-weight: 600; }
.lf-counts { border: 1px solid var(--line); border-radius: 14px; padding: 14px 14px 0; margin: 18px 0 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; background: var(--bg-alt); }
.lf-counts legend { padding: 0 6px; font-size: 13px; font-weight: 800; color: var(--blue-dark); text-transform: uppercase; letter-spacing: .06em; }
.lf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lf-status { margin: 4px 0 12px; font-size: 14px; font-weight: 600; min-height: 0; }
.lf-status.err { color: #b91c1c; }
.lf-submit { width: 100%; }
.lf-submit.is-busy { opacity: .75; cursor: progress; }
.lf-note { margin: 10px 0 0; text-align: center; font-size: 12px; color: var(--muted); }
.lead-done { text-align: center; padding: 26px 8px; }
.lead-done .tick { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; background: #dcfce7; color: #15803d; font-size: 34px; animation: pop .45s ease both; }
.lead-done h3 { margin: 0 0 6px; }
.lead-done p { margin: 0; color: var(--muted); }
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .lf-grid, .lf-counts { grid-template-columns: 1fr; } .lead-form { padding: 22px 16px; } }
