@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ink: #111329;
  --violet: #6842d9;
  --lavender: #c7b6ff;
  --paper: #f8f7fc;
  --muted: #625f74;
  --on-dark: #d2cee3;
  --line: #e6e3ee;
  --line-dark: #605780;
  --workflow: #ede7fc;
  --max: 1200px;
  --gutter: clamp(24px, 4vw, 64px);
  --hero-size: clamp(42px, 4.65vw, 64px);
  --section-size: clamp(34px, 4.4vw, 58px);
  --radius: 9px;
  --header-h: 88px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  font-size: 1.0625rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--lavender); outline-offset: 3px; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: #fff; color: var(--ink); padding: 12px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 16px; }
.container { width: min(var(--max), calc(100% - var(--gutter) * 2)); margin-inline: auto; }

/* icons (masked so they can take any colour) */
.icon { display: inline-block; flex: none; width: 1.5em; height: 1.5em; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.icon-officer { --i: url(assets/icons/officer.svg); }
.icon-users { --i: url(assets/icons/users.svg); }
.icon-settings { --i: url(assets/icons/settings.svg); }
.icon-camera { --i: url(assets/icons/camera.svg); }
.icon-checklist { --i: url(assets/icons/checklist.svg); }
.icon-report { --i: url(assets/icons/report.svg); }
.icon-arrow-right { --i: url(assets/icons/arrow-right.svg); width: 1.15em; height: 1.15em; }
.icon-search { --i: url(assets/icons/search.svg); }
.icon-bell { --i: url(assets/icons/bell.svg); }
.icon-pin { --i: url(assets/icons/pin.svg); }
.icon-shield { --i: url(assets/icons/shield.svg); }
.icon-clock { --i: url(assets/icons/clock.svg); }
.icon-layers { --i: url(assets/icons/layers.svg); }
.icon-printer { --i: url(assets/icons/printer.svg); }
.icon-devices { --i: url(assets/icons/devices.svg); }
.icon-lock { --i: url(assets/icons/lock.svg); }
.icon-history { --i: url(assets/icons/history.svg); }
.icon-plus { --i: url(assets/icons/plus.svg); }
.icon-assign { --i: url(assets/icons/assign.svg); }
.icon-check-circle { --i: url(assets/icons/check-circle.svg); }
.icon-menu { --i: url(assets/icons/menu.svg); }

/* buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius);
  font-size: 1rem; font-weight: 600; border: 1.5px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}
.button-lavender { background: var(--lavender); color: var(--ink); }
.button-lavender:hover { background: #d8cbff; }
.button-outline { border-color: rgba(199, 182, 255, .7); color: #fff; }
.button-outline:hover { background: rgba(199, 182, 255, .14); }
.button-dark { background: var(--ink); color: #fff; min-height: 56px; padding: 0 32px; font-size: 1.125rem; }
.button-dark:hover { background: #1f2247; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--violet); border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.text-link:hover { color: #5531be; }

.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--lavender); }
.display { font-size: var(--section-size); line-height: 1.05; font-weight: 800; letter-spacing: -.035em; }
.lead { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.5; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: #fff; }
.header-inner { max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding: 0 var(--gutter); height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.75rem; letter-spacing: -.03em; }
.brand img { width: 48px; height: 48px; }
.site-nav { display: flex; gap: 24px; font-size: .95rem; font-weight: 500; margin-inline: auto; }
.site-nav a { color: var(--on-dark); padding: 12px 0; }
.site-nav a:hover { color: #fff; }
.nav-login-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.login { font-size: .95rem; font-weight: 500; color: var(--on-dark); padding: 12px 0; }
.login:hover { color: #fff; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; color: #fff; align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle .icon { width: 28px; height: 28px; }

/* hero */
.hero {
  color: #fff;
  background: radial-gradient(ellipse at 72% 42%, rgba(118, 82, 231, .42), transparent 65%), var(--ink);
}
.hero-inner { max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 24px; }
.hero-copy { padding: 64px 0; }
.hero h1 { font-size: var(--hero-size); line-height: 1.02; font-weight: 800; letter-spacing: -.04em; margin: 22px 0 28px; }
.hero h1 span { color: var(--lavender); }
.hero .lead { color: #fff; max-width: 26em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.hero-art { position: relative; justify-self: end; width: 100%; max-width: 640px; align-self: center; padding: 28px 0; }
.hero-art img { width: 100%; }
.hero-art figcaption { text-align: right; padding: 8px 24px 0; font-size: .75rem; color: var(--on-dark); }

/* audience */
.audience { background: var(--ink); color: #fff; border-top: 1px solid var(--line-dark); padding: 40px 0 48px; }
.audience .eyebrow { margin-bottom: 28px; }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.audience-grid li { display: flex; gap: 20px; align-items: flex-start; padding: 0 32px; border-left: 1px solid var(--line-dark); }
.audience-grid li:first-child { padding-left: 0; border-left: 0; }
.audience-grid .icon { width: 56px; height: 56px; color: var(--lavender); }
.audience-grid h2 { font-size: 1.125rem; font-weight: 700; margin-bottom: 6px; }
.audience-grid p { color: var(--on-dark); font-size: .95rem; line-height: 1.5; }

/* platform */
.platform { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); }
.platform .display { color: var(--ink); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(36px, 5vw, 56px); }
.steps li { position: relative; padding: 0 32px 0 72px; border-left: 1px solid var(--line); }
.steps li:first-child { padding-left: 72px; border-left: 0; }
.step-num { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--workflow); color: var(--violet); font-weight: 600; font-size: .9rem; display: grid; place-items: center; }
.steps li:not(:first-child) .step-num { left: 32px; }
.steps li:not(:first-child) { padding-left: 104px; }
.steps .icon { display: block; width: 44px; height: 44px; color: var(--violet); margin-bottom: 12px; }
.steps h3 { font-size: 1.375rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 1rem; }

/* workflow */
.workflow { position: relative; padding: clamp(56px, 7vw, 88px) 0; overflow: hidden; }
.workflow::after { content: ""; position: absolute; right: -40px; top: 0; width: min(600px, 60%); aspect-ratio: 6 / 5; background: url(assets/img/watermark.svg) center / contain no-repeat; opacity: .55; pointer-events: none; }
.workflow-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.workflow-art img { width: 100%; max-width: 560px; border-radius: 20px; }
.workflow-copy .lead { color: var(--muted); margin: 24px 0 28px; max-width: 24em; }

/* cta */
.cta { background: linear-gradient(110deg, #e8dfff, #d0bffa); padding: clamp(40px, 5vw, 56px) 0; }
.cta .eyebrow { margin-bottom: 16px; }
.cta .lead { margin-top: 20px; max-width: 30em; }
.cta-inner > .button { flex-shrink: 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }

/* footer */
.site-footer { background: var(--ink); color: #fff; }
.footer-inner { max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding: 28px var(--gutter); display: flex; align-items: center; gap: 28px; }
.footer-inner .brand { font-size: 1.75rem; }
.footer-inner .brand img { width: 52px; height: 52px; }
.footer-inner p { color: var(--on-dark); font-size: .95rem; }
.footer-inner nav { margin-left: auto; display: flex; font-size: .95rem; }
.footer-inner nav a { color: var(--on-dark); padding: 12px 24px; }
.footer-inner nav a:first-child { border-right: 1px solid var(--line-dark); }
.footer-inner nav a:last-child { padding-right: 0; }
.footer-inner nav a:hover { color: #fff; }

/* section scaffolding */
.eyebrow-violet { color: var(--violet); }
.section-head { max-width: 40em; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head .lead { color: var(--muted); margin-top: 18px; max-width: 34em; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: .9rem; color: var(--on-dark); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lavender); }

/* features */
.features { background: var(--paper); padding: clamp(56px, 8vw, 104px) 0; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.feature-grid li { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.feature-grid .icon { width: 36px; height: 36px; color: var(--violet); margin-bottom: 16px; }
.feature-grid h3 { font-size: 1.1875rem; font-weight: 700; letter-spacing: -.015em; margin-bottom: 8px; }
.feature-grid p { color: var(--muted); font-size: .975rem; }

.check-list { margin: 0 0 28px; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; font-weight: 500; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .15em; width: 20px; height: 20px; background: var(--violet); -webkit-mask: url(assets/icons/check-circle.svg) center / contain no-repeat; mask: url(assets/icons/check-circle.svg) center / contain no-repeat; }
.workflow-copy .lead { margin-bottom: 20px; }

/* roles */
.roles { padding: clamp(48px, 6vw, 88px) 0 clamp(56px, 7vw, 96px); }
.role-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.role-grid li { padding: 24px 24px 0 0; }
.role-grid li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.role-grid h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.role-grid p { color: var(--muted); font-size: .975rem; }

/* trust */
.trust { background: var(--ink); color: #fff; padding: clamp(56px, 8vw, 96px) 0; background-image: radial-gradient(ellipse at 85% 20%, rgba(118, 82, 231, .3), transparent 60%); }
.trust-inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); }
.trust .eyebrow { margin-bottom: 14px; }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 36px; }
.trust-grid li { display: flex; gap: 16px; align-items: flex-start; }
.trust-grid .icon { width: 32px; height: 32px; color: var(--lavender); margin-top: 2px; }
.trust-grid h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 6px; }
.trust-grid p { color: var(--on-dark); font-size: .95rem; }

/* onboarding */
.onboarding { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 72px); }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: p; }
.process li { position: relative; padding-top: 68px; }
.process .step-num { top: 0; font-size: 1rem; background: var(--violet); color: #fff; }
.process li:not(:last-child)::after { content: ""; position: absolute; top: 22px; left: 60px; right: 8px; border-top: 2px dashed #d9d0f5; }
.process h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 6px; }
.process p { color: var(--muted); font-size: .975rem; }

/* faq */
.faq { padding: clamp(32px, 4vw, 48px) 0 clamp(56px, 8vw, 104px); }
.faq-inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; min-height: 56px; font-weight: 600; font-size: 1.0625rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 22px; height: 22px; background: var(--violet); -webkit-mask: url(assets/icons/plus.svg) center / contain no-repeat; mask: url(assets/icons/plus.svg) center / contain no-repeat; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); padding: 0 40px 22px 0; }
.faq-list a { color: var(--violet); font-weight: 600; text-decoration: underline; }

/* demo dialog */
.button-violet { background: var(--violet); color: #fff; width: 100%; }
.button-violet:hover { background: #5531be; }
.demo-dialog { border: 0; padding: 0; border-radius: 20px; width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 32px); color: var(--ink); background: #fff; box-shadow: 0 30px 80px rgba(17, 19, 41, .45); }
.demo-dialog::backdrop { background: rgba(17, 19, 41, .7); backdrop-filter: blur(3px); }
.demo-form { position: relative; padding: 36px 36px 28px; display: grid; gap: 18px; }
.demo-form h2 { font-size: 1.875rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.dialog-intro { color: var(--muted); margin-top: -8px; }
.dialog-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; border-radius: 50%; }
.dialog-close:hover { background: var(--paper); color: var(--ink); }
.dialog-close .icon { transform: rotate(45deg); width: 26px; height: 26px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label, .field legend { font-size: .9rem; font-weight: 600; padding: 0; }
.field input[type=text], .field input:not([type]), .field input[type=tel], .field input[type=email] { font: inherit; min-height: 48px; padding: 0 14px; border: 1.5px solid #cfcadf; border-radius: var(--radius); background: #fff; color: var(--ink); width: 100%; }
.field input:focus-visible { outline: 3px solid var(--lavender); outline-offset: 0; border-color: var(--violet); }
.field input[aria-invalid=true] { border-color: #c0392b; }
.choice { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.choice legend { width: 100%; margin-bottom: 6px; }
.choice label { font-weight: 500; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; }
.choice input { width: 20px; height: 20px; accent-color: var(--violet); }
.form-error { color: #b3261e; font-size: .9rem; font-weight: 500; min-height: 0; margin: 0; }
.form-error:empty { display: none; }
.form-note { font-size: .8rem; color: var(--muted); text-align: center; }
.form-note a { text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.demo-success { position: relative; padding: 48px 36px 36px; display: grid; gap: 14px; justify-items: center; text-align: center; }
.demo-success[hidden] { display: none; }
.demo-success > .icon { width: 56px; height: 56px; color: var(--violet); }
.demo-success h2 { font-size: 1.875rem; font-weight: 800; letter-spacing: -.03em; }
.demo-success p { color: var(--muted); }
.demo-success .button { margin-top: 10px; }
.form-error a { color: inherit; text-decoration: underline; }
body:has(dialog[open]) { overflow: hidden; }

/* responsive */
@media (max-width: 1100px) {
  :root { --header-h: 76px; }
  .header-inner { gap: 16px; justify-content: space-between; }
  .brand { font-size: 1.5rem; }
  .brand img { width: 42px; height: 42px; }
  .site-nav { display: none; }
  .header-actions .login { display: none; }
  .menu-toggle { display: inline-flex; }
  .menu-open .site-nav { display: flex; flex-direction: column; gap: 0; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--ink); padding: 8px var(--gutter) 20px; border-top: 1px solid var(--line-dark); }
  .menu-open .site-nav a { padding: 14px 0; font-size: 1.05rem; }
  .nav-login-mobile { display: block; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding: 48px 0 40px; }
  .hero-art { justify-self: center; }
  .hero-art { width: 100%; max-width: 640px; padding: 0 0 28px; }
  .workflow-inner, .trust-inner, .faq-inner { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .role-grid { grid-template-columns: repeat(2, 1fr); }
  .role-grid li:nth-child(3) { padding-left: 0; border-left: 0; }
  .role-grid li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 24px; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process li::after { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .header-actions .button { display: none; }
  .hero h1 { font-size: clamp(40px, 12vw, 48px); line-height: 1.06; }
  .audience { padding: 36px 0; }
  .audience-grid, .steps, .feature-grid, .role-grid, .trust-grid, .process { grid-template-columns: 1fr; }
  .role-grid li, .role-grid li + li, .role-grid li:nth-child(3) { padding: 20px 0; border-left: 0; margin-top: 0; border-top: 0; }
  .role-grid li + li { border-top: 1px solid var(--line); }
  .feature-grid li { padding: 22px; }
  .faq-list details p { padding-right: 0; }
  .audience-grid li, .audience-grid li:first-child { padding: 24px 0; border-left: 0; border-top: 1px solid var(--line-dark); }
  .audience-grid li:first-child { padding-top: 0; border-top: 0; }
  .steps li, .steps li:first-child, .steps li:not(:first-child) { padding: 28px 0 28px 64px; border-left: 0; border-top: 1px solid var(--line); }
  .steps li:first-child { border-top: 0; padding-top: 0; }
  .steps li .step-num, .steps li:not(:first-child) .step-num { left: 0; top: 28px; }
  .steps li:first-child .step-num { top: 0; }
  .display { line-height: 1.1; }
  .field-row { grid-template-columns: 1fr; }
  .demo-form { padding: 28px 22px 22px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-inner .button { width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-inner nav { margin-left: 0; }
  .footer-inner nav a:first-child { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
