/* ComplySet marketing site. Brand tokens from the ComplySet design system (same as the app). */
@font-face { font-family: "Archivo"; font-weight: 700; font-display: swap; src: url(/fonts/archivo-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 800; font-display: swap; src: url(/fonts/archivo-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-display: swap; src: url(/fonts/atkinson-hyperlegible-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 700; font-display: swap; src: url(/fonts/atkinson-hyperlegible-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2"); }

:root {
  color-scheme: light dark;
  --surface: #F2F4F5; --raised: #FFFFFF; --line: #DADFE2; --line-strong: #7B858C;
  --ink: #121417; --text: #121417; --muted: #59636A;
  --signal: #F2520F; --on-signal: #121417; --signal-text: #C2410C;
  --blueprint: #1849C6; --blueprint-soft: #E3EAFC; --deep: #0B2545; --grid: #1E4270;
  --ok: #0F7B4B; --ok-soft: #DFF3E8; --due: #8A5300; --due-soft: #FBF0D5; --over: #C0261A; --over-soft: #FCE7E4;
  --btn-ink: #121417; --on-btn-ink: #FFFFFF;
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --r-sm: 4px; --r-md: 8px; --r-lg: 16px;
  --wrap: 1180px;
  --pad: clamp(16px, 4vw, 32px);
  --focus: 0 0 0 2px var(--surface), 0 0 0 4px var(--blueprint);
  --shadow: 0 1px 2px rgba(18,20,23,.06), 0 8px 24px rgba(18,20,23,.06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --surface: #0E1114; --raised: #171B20; --line: #2B323A; --line-strong: #6E7880;
    --text: #EEF1F3; --muted: #A9B2B9;
    --signal-text: #FF8E5E; --blueprint: #94B2FF; --blueprint-soft: #1A2440;
    --ok: #5FD39A; --ok-soft: #12291F; --due: #F2C063; --due-soft: #2B2210; --over: #FF8A80; --over-soft: #2E1513;
    --btn-ink: #EEF1F3; --on-btn-ink: #121417;
    --shadow: none;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--surface); color: var(--text); font: 17px/1.6 var(--body); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--blueprint); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blueprint); outline-offset: 2px; }
.dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: #FFFFFF; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 760px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--signal); color: var(--on-signal); padding: 10px 16px; border-radius: var(--r-md); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.noscript { background: var(--due-soft); color: var(--due); padding: 8px var(--pad); margin: 0; text-align: center; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.6rem); letter-spacing: -.02em; }
h2 { font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-weight: 700; font-size: 1.25rem; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.eyebrow { font: 700 .78rem/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--signal-text); margin: 0 0 .75em; display: block; }
.mono { font-family: var(--mono); font-weight: 500; letter-spacing: .02em; }
.muted { color: var(--muted); }
em.accent { font-style: italic; color: var(--signal-text); }

/* ---------- buttons ---------- */
.btn { font: 700 1rem/1.2 var(--body); min-height: 48px; padding: 12px 22px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: var(--r-md); border: 2px solid var(--line-strong); background: var(--raised); color: var(--text); text-decoration: none; cursor: pointer; text-align: center; }
.btn:hover { border-color: var(--text); }
.btn-signal { background: var(--signal); border-color: var(--signal); color: var(--on-signal); }
.btn-signal:hover { background: #D9460B; border-color: #D9460B; }
.btn-ink { background: var(--btn-ink); border-color: var(--btn-ink); color: var(--on-btn-ink); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { border-color: #fff; }
.btn .i { width: 20px; height: 20px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; }
.arrow-link { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.arrow-link::after { content: "→"; transition: transform .15s; }
.arrow-link:hover::after { transform: translateX(3px); }
.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: #fff; border-bottom: 1px solid #23282E; }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; padding: 6px 0; margin-right: auto; }
.brand img { height: 34px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.nav a { color: #fff; text-decoration: none; font-weight: 700; padding: 10px 12px; border-radius: var(--r-md); display: block; min-height: 44px; }
.nav a:hover { background: rgba(255,255,255,.08); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--signal); border-radius: 0; }
.nav .sub { font-weight: 400; padding-left: 28px; }
.has-sub { position: relative; }
.has-sub > ul { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { background: transparent; border: 0; color: #fff; width: 48px; height: 48px; border-radius: var(--r-md); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.icon-btn:hover { background: rgba(255,255,255,.08); }
.header-cta { min-height: 44px; padding: 10px 16px; }
.signin { color: #fff; font-weight: 700; text-decoration: none; padding: 10px 8px; }
.menu-btn { display: none; }
@media (min-width: 1081px) {
  .has-sub:hover > ul, .has-sub:focus-within > ul { display: block; position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--ink); border: 1px solid #2C3238; border-radius: var(--r-md); padding: 8px; box-shadow: 0 12px 32px rgba(0,0,0,.35); }
  .has-sub > ul a { padding-left: 12px; }
  .nav .sub { padding-left: 12px; }
}
@media (max-width: 1080px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); border-top: 1px solid #2C3238; padding: 8px var(--pad) 20px; max-height: calc(100vh - 72px); overflow: auto; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; }
  .has-sub > ul { display: block; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--signal); }
  .signin-wide { display: none; }
}
@media (max-width: 560px) { .header-cta { display: none; } .brand img { height: 32px; } }
.nav .nav-extra { display: none; }
@media (max-width: 1080px) { .nav .nav-extra { display: block; border-top: 1px solid #2C3238; margin-top: 8px; padding-top: 8px; } }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-alt { background: var(--raised); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lede { margin-inline: auto; }
.dark { background: var(--deep); color: #fff; }
.dark .lede, .dark .muted { color: #C9D4E3; }
.dark .eyebrow { color: #FF9A6B; }
.dark a:not(.btn) { color: #fff; }
.blueprint-bg { background-color: var(--deep);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px; background-position: -1px -1px; }

/* hero */
.hero { position: relative; overflow: hidden; color: #fff; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 112px); }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 40%, rgba(11,37,69,.92) 0%, rgba(11,37,69,.72) 55%, rgba(11,37,69,.35) 100%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero .tagline { font: 800 clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem)/1.2 var(--display); margin: 0 0 18px; }
.hero .tagline em { color: #FF9A6B; }
.hero p { color: #DCE4EE; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--signal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121417' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; }
.section .ticks li::before, .card .ticks li::before { background-color: var(--ok); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.trust { margin-top: 18px; font-size: .95rem; color: #C9D4E3; }
.tagline-code { margin-top: 22px; font: 500 .82rem/1.4 var(--mono); color: #8FA8C8; letter-spacing: .06em; }
.hero-visual { position: relative; justify-self: center; }
.hero-tag { position: absolute; left: -56px; bottom: 56px; background: #fff; color: var(--ink); border-radius: 14px; padding: 12px 14px; display: flex; gap: 12px; align-items: center; box-shadow: 0 16px 40px rgba(0,0,0,.35); max-width: 280px; white-space: nowrap; }
.hero-tag img { width: 46px; height: 46px; }
.hero-tag b { display: block; font: 700 .95rem/1.2 var(--display); }
.hero-tag span { font: 500 .78rem/1.3 var(--mono); color: #59636A; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { max-width: 340px; }
  .hero-tag { left: -12px; bottom: 24px; }
}
.page-hero { padding: clamp(44px, 6vw, 80px) 0; color: #fff; position: relative; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,37,69,.95), rgba(11,37,69,.7)); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero p { color: #DCE4EE; }
.crumbs { font-size: .9rem; margin-bottom: 14px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #8FA8C8; }
.crumbs a { color: #fff; }

/* phone frame */
.phone { width: min(320px, 78vw); border-radius: 36px; padding: 12px; background: #1B1F24; box-shadow: 0 30px 80px rgba(0,0,0,.45), inset 0 0 0 2px #2E343B; }
.phone img { display: block; width: 100%; border-radius: 26px; aspect-ratio: 9 / 18; object-fit: cover; object-position: top; background: #F2F4F5; }
.phone.small { width: min(260px, 70vw); }

/* grids and cards */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--raised); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 2.5vw, 28px); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.section-alt .card { background: var(--surface); box-shadow: none; }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card .push { margin-top: auto; padding-top: 12px; }
.card-icon { width: 48px; height: 48px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--blueprint-soft); color: var(--blueprint); margin-bottom: 16px; }
.card-icon .i { width: 26px; height: 26px; }
.promo { position: relative; overflow: hidden; }
.promo::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--signal); }
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.feature-split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .feature-split { grid-template-columns: 1fr; } .feature-split.reverse > :first-child { order: 0; } .feature-split .phone { margin: 0 auto; } }

/* plans */
.plan { border-top: 6px solid var(--line-strong); }
.plan.featured { border-top-color: var(--signal); }
.plan .price { font: 800 1.35rem/1.2 var(--display); margin: 4px 0 12px; }
.plan .badge { align-self: flex-start; font: 700 .72rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; background: var(--signal); color: var(--on-signal); padding: 6px 8px; border-radius: var(--r-sm); margin-bottom: 10px; }

/* steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; background: var(--raised); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; position: relative; }
.steps li::before { content: counter(step, decimal-leading-zero); font: 500 .9rem/1 var(--mono); color: var(--signal-text); display: block; margin-bottom: 12px; letter-spacing: .1em; }
.dark .steps li { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); }
.dark .steps li::before { color: #FF9A6B; }

/* regulation columns */
.reg-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.reg-list li { display: flex; gap: 8px; }
.reg-list .mono { color: var(--signal-text); min-width: 4.5em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chip { display: inline-block; font: 500 .85rem/1 var(--mono); padding: 8px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--raised); }
.dark .chip { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); color: #fff; }

/* stats strip */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat b { display: block; font: 800 clamp(1.8rem, 1.3rem + 2vw, 2.6rem)/1 var(--display); color: #fff; }
.stat span { color: #C9D4E3; }

/* compare table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--raised); }
table { border-collapse: collapse; width: 100%; min-width: 560px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font: 700 .8rem/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
td .yes { color: var(--ok); font-weight: 700; }

/* faq */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--raised); border: 1px solid var(--line); border-radius: var(--r-md); }
.faq summary { cursor: pointer; padding: 18px 52px 18px 20px; font: 700 1.05rem/1.4 var(--display); list-style: none; position: relative; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font: 700 1.5rem/1 var(--body); color: var(--signal-text); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 20px 18px; }

/* cta band */
.cta-band { border-radius: 24px; padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; color: #fff; overflow: hidden; position: relative; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,37,69,.96), rgba(11,37,69,.75)); }
.cta-band p { color: #DCE4EE; }
.cta-band .btns { justify-content: flex-end; margin: 0; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btns { justify-content: flex-start; } }

/* prose (legal pages, blog) */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose table { min-width: 0; }
.placeholder { border: 2px dashed var(--line-strong); border-radius: var(--r-lg); padding: 24px; color: var(--muted); background: var(--raised); }
.empty-state { text-align: center; padding: 48px 24px; }
.empty-state .i { width: 48px; height: 48px; color: var(--signal-text); }

/* ---------- search ---------- */
.search-dialog { width: min(720px, calc(100vw - 24px)); max-height: min(80vh, 760px); padding: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--raised); color: var(--text); margin: 10vh auto auto; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.search-dialog::backdrop { background: rgba(11,20,30,.6); }
.search-top { display: flex; gap: 8px; align-items: center; padding: 12px; border-bottom: 1px solid var(--line); }
.search-top label { flex: 1; display: flex; align-items: center; gap: 8px; }
.search-top input, .search-page input { flex: 1; font: 1.1rem/1.4 var(--body); min-height: 48px; padding: 10px 12px; border: 2px solid var(--line-strong); border-radius: var(--r-md); background: var(--surface); color: var(--text); width: 100%; }
.search-close { color: var(--text); }
.search-body { padding: 12px 16px 20px; overflow: auto; max-height: calc(min(80vh, 760px) - 80px); }
.search-hint { color: var(--muted); font-size: .95rem; }
.search-hint button { font: inherit; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; margin: 4px 4px 0 0; cursor: pointer; min-height: 36px; }
.search-results { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.search-results a { display: block; padding: 12px; border-radius: var(--r-md); text-decoration: none; color: var(--text); }
.search-results a:hover, .search-results a:focus-visible { background: var(--blueprint-soft); }
.search-results b { display: block; color: var(--blueprint); font: 700 1.05rem/1.3 var(--display); }
.search-results small { color: var(--muted); display: block; }
.search-results mark { background: var(--due-soft); color: inherit; padding: 0 1px; }
kbd { font: 500 .78rem/1 var(--mono); border: 1px solid var(--line-strong); border-radius: 4px; padding: 2px 5px; }

/* ---------- forms (contact) ---------- */
.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 6px; }
.field > label, .field > legend, fieldset > legend { font-weight: 700; }
.field .hint { color: var(--muted); font-size: .93rem; }
.req { color: var(--muted); font-weight: 400; font-size: .9rem; }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea {
  font: 1rem/1.4 var(--body); width: 100%; min-height: 48px; padding: 10px 12px; border: 2px solid var(--line-strong); border-radius: var(--r-md); background: var(--raised); color: var(--text); }
textarea { min-height: 150px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--blueprint); outline-offset: 1px; }
[aria-invalid="true"] { border-color: var(--over) !important; }
.field-error { color: var(--over); font-weight: 700; font-size: .95rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .two { grid-template-columns: 1fr; } }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.topics label { position: relative; }
.topics input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.topics span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 2px solid var(--line-strong); border-radius: 999px; cursor: pointer; font-weight: 700; background: var(--raised); }
.topics input:checked + span { background: var(--btn-ink); color: var(--on-btn-ink); border-color: var(--btn-ink); }
.topics input:checked + span::before { content: "✓ "; white-space: pre; }
.topics input:focus-visible + span { outline: 3px solid var(--blueprint); outline-offset: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: var(--r-md); padding: 16px 18px; }
.notice-ok { background: var(--ok-soft); color: var(--text); border-left: 6px solid var(--ok); }
.notice-err { background: var(--over-soft); color: var(--text); border-left: 6px solid var(--over); }
.contact-aside .card + .card { margin-top: 20px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #D5DADF; padding: 56px 0 28px; margin-top: 0; }
.site-footer a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h2 { font: 700 .8rem/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; color: #A9B2B9; margin: 0 0 12px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot-grid ul a { display: inline-block; padding: 6px 0; text-decoration: none; }
.foot-grid ul a:hover { text-decoration: underline; }
.foot-tag { font: 800 1.1rem/1.3 var(--display); color: #fff; margin: 14px 0 6px; }
.foot-base { border-top: 1px solid #2C3238; margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .92rem; }
.foot-base ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }

/* ---------- utilities ---------- */
.center { text-align: center; }
.mt0 { margin-top: 0; } .mb0 { margin-bottom: 0; } .mt2 { margin-top: 32px; } .mt3 { margin-top: 48px; }
.anchor-nav { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 24px 0 0; }
.anchor-nav a { display: inline-flex; min-height: 44px; align-items: center; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.4); color: #fff; text-decoration: none; font-weight: 700; }
.anchor-nav a:hover { background: rgba(255,255,255,.1); }
.offer { scroll-margin-top: 90px; }
.offer + .offer { border-top: 1px solid var(--line); }
.who { font-weight: 700; color: var(--muted); }

@media (forced-colors: active) {
  .btn, .chip, .card, .topics span { border: 2px solid ButtonText; }
  .ticks li::before { forced-color-adjust: none; }
}
@media print {
  .site-header, .site-footer, .cta-band, .search-dialog { display: none !important; }
  body { background: #fff; color: #000; }
}
.empty-state .lede { margin-inline: auto; }
.empty-state .btns { justify-content: center; }
.h3-size { font-size: 1.25rem; font-weight: 700; }
.h3-size a { text-decoration: none; color: var(--text); }
.h3-size a:hover { text-decoration: underline; }
[hidden] { display: none !important; }
.page-hero em.accent, .dark em.accent, .hero em.accent { color: #FF9A6B; }
/* About: founder story */
.feature-split.align-start { align-items: start; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
@media (max-width: 900px) { .feature-split.align-start { grid-template-columns: 1fr; } }
/* 1.5: the At a glance card scrolls with the founder story rather than staying fixed. */
.about-aside { position: static; }
.pull { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 6px solid var(--signal); }
.pull blockquote { margin: 0; }
.pull p { font: 800 clamp(1.3rem, 1.1rem + .9vw, 1.7rem)/1.25 var(--display); margin: 0; }
.signoff { font-weight: 700; margin-top: 24px; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 14px 0; width: 100%; }
.about-aside .push { margin-top: 0; padding-top: 0; }

/* Sign in (0.13 site): at the far right, as prominent as Book a demo but white so the two don't compete. */
.signin-menu { position: relative; }
.btn-signin { background: #fff; color: var(--ink); border-color: #fff; min-height: 44px; padding: 10px 16px; }
.btn-signin:hover { background: #E9EDF1; border-color: #E9EDF1; }
.btn-signin .i { width: 18px; height: 18px; }
.signin-list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; list-style: none; margin: 0; padding: 8px; min-width: 260px; background: var(--raised); color: var(--text); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 16px 40px rgba(0,0,0,.3); }
.signin-list a { display: grid; gap: 2px; padding: 10px 12px; border-radius: var(--r-sm); text-decoration: none; color: var(--text); min-height: 44px; }
.signin-list a:hover, .signin-list a:focus-visible { background: var(--blueprint-soft); }
.signin-list small { color: var(--muted); }
@media (max-width: 560px) {
  .btn-signin { padding: 10px 12px; }
  .btn-signin .signin-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* See it working: the app on a computer, a tablet and a phone */
.devices { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, .62fr); gap: 24px; align-items: end; }
@media (max-width: 900px) { .devices { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } .devices .dev-desktop { grid-column: 1 / -1; } }
@media (max-width: 560px) { .devices { grid-template-columns: 1fr; } .devices .dev-tablet, .devices .dev-phone { max-width: 300px; margin-inline: auto; } }
.devices figure { margin: 0; text-align: center; }
.devices figcaption { margin-top: 14px; }
.screen { background: #1B1F24; box-shadow: 0 24px 60px rgba(0,0,0,.28), inset 0 0 0 2px #2E343B; }
.screen img { display: block; width: 100%; height: auto; background: #F2F4F5; }
.dev-desktop .screen { border-radius: 12px 12px 0 0; padding: 10px 10px 0; }
.dev-desktop .screen img { border-radius: 4px 4px 0 0; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.dev-desktop .base { height: 16px; background: #C9CED4; border-radius: 0 0 14px 14px; margin: 0 -4%; }
.dev-tablet .screen { border-radius: 26px; padding: 14px; }
.dev-tablet .screen img { border-radius: 12px; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.dev-phone .screen { border-radius: 30px; padding: 9px; }
.dev-phone .screen img { border-radius: 22px; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; }

/* 1.3: the highlighted-card hover from the ComplySet app's welcome screen, used on every card for consistency:
   a dark edge and a soft lift. Contact form and search cards stay still (they hold fields, not choices). */
.card, .steps li, .faq details { transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.card:hover, .steps li:hover, .faq details:hover { border-color: var(--text); box-shadow: 0 0 0 1px var(--text), 0 10px 24px rgba(18,20,23,.10); }
.card:hover, .steps li:hover { transform: translateY(-2px); }
.card:has(form):hover, .contact-aside .card:hover { transform: none; }
.card:focus-within { border-color: var(--text); }
@media (prefers-reduced-motion: reduce) { .card, .steps li, .faq details { transition: none; } .card:hover, .steps li:hover { transform: none; } }

/* 1.4 alignment: the hero phone and the About page's security card line up with the top of the text beside them;
   the See it working screens line up along the top and their descriptions along the bottom. */
.hero .wrap { align-items: start; }
.hero-visual { align-self: start; }
.feature-split.top { align-items: start; }
/* 1.5: each device figure shares the grid's rows (screen, laptop base, caption), so the screens line up along
   the top and the three descriptions start at the same height whatever the size of the screen above them. */
.devices { align-items: start; row-gap: 0; }
.devices figure { display: grid; grid-row: span 3; grid-template-rows: subgrid; align-items: start; }
.devices figure > .screen { grid-row: 1; }
.devices figure > .base { grid-row: 2; }
.devices figcaption { grid-row: 3; margin-top: 0; padding-top: 14px; }
@media (max-width: 900px) { .devices { row-gap: 24px; } }

/* 1.7: an optional, paid add-on inside an offering */
.addon { margin: 20px 0 4px; padding: 16px 18px; border: 2px solid var(--signal); border-radius: 12px; background: var(--raised); }
.addon h3 { margin: 6px 0 6px; }
.addon p { margin: 0; }
.addon-tag { display: inline-block; font: 700 12px/16px var(--display, inherit); letter-spacing: .06em; text-transform: uppercase; color: var(--signal-text); }

/* 2.0: founder credential (AWS Ambassador badge) on the About page */
.cred { display: flex; align-items: center; gap: 1rem; margin: 1rem 0 0; }
.cred img { width: 96px; height: 96px; flex: none; }
.cred figcaption { display: grid; gap: .2rem; font-size: .95rem; }
.cred figcaption strong { font-size: 1.05rem; }

/* 2.0: footer contact addresses and social icons (YouTube and LinkedIn) */
.site-footer .foot-mail { margin-top: .75rem; }
.site-footer .socials { display: flex; gap: .5rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.site-footer .socials a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 8px; border: 1px solid rgba(255,255,255,.25); color: #fff; }
.site-footer .socials a:hover, .site-footer .socials a:focus-visible { background: #F2520F; border-color: #F2520F; color: #121417; }
