/* =========================================================
   Circular Compliance - shared styles for every page
   ========================================================= */

:root {
  --bg: #0b0e14;
  --bg-2: #0f131b;
  --surface: #141a24;
  --surface-2: #1a2130;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --ink: #eef2f7;
  --muted: #9aa4b2;
  --faint: #6b7685;
  --accent: #2563eb;
  --accent-hover: #1d4fd8;
  --accent-text: #8db4ff;
  --accent-soft: rgba(77, 128, 255, 0.12);
  --amber: #f5c26b;
  --radius: 14px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
a { color: var(--accent-text); text-decoration: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* Shared inline-icon styling */
.btn svg, .more svg, .icon svg, .checks svg, .float-card svg, .contact-card svg {
  fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Header & menu ---------- */
/* Top banner: logo and name */
.site-header { position: relative; z-index: 2; background: var(--bg); }
.brand-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 88px; }
.site-header .brand-mark { width: 46px; height: 46px; border-radius: 12px; }
.site-header .brand-mark svg { width: 24px; height: 24px; }
.site-header .brand-text { font-size: 1.3rem; }
.site-header .brand-text small { font-size: 0.72rem; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand-mark {
  width: 38px; height: 38px; flex: none; border-radius: 10px;
  background: linear-gradient(135deg, #3b82f6, #1e40af);
  display: grid; place-items: center;
  box-shadow: 0 6px 18px -6px rgba(37, 99, 235, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.brand-mark svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.brand-text small { font-size: 0.68rem; font-weight: 600; color: var(--faint); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 3px; }

/* Horizontal menu bar under the banner (stays at the top when scrolling) */
.menu-bar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 19, 27, 0.88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.nav-menu {
  display: flex; list-style: none; gap: 4px;
  overflow-x: auto; scrollbar-width: none;
}
.nav-menu::-webkit-scrollbar { display: none; }
.nav-link {
  position: relative; display: block; white-space: nowrap;
  padding: 17px 18px; color: var(--muted); font-weight: 600; font-size: 0.96rem;
  transition: color .15s;
}
.nav-link:hover { color: var(--ink); }
.nav-link::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 2px;
  border-radius: 2px; background: var(--accent-text); transform: scaleX(0); transition: transform .2s;
}
.nav-link:hover::after { transform: scaleX(0.5); }
.nav-link[aria-current="page"] { color: var(--ink); }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-menu li:first-child .nav-link { padding-left: 0; }
.nav-menu li:first-child .nav-link::after { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.97rem; white-space: nowrap; cursor: pointer;
  transition: background .18s, border-color .18s, transform .18s;
}
.btn svg { width: 16px; height: 16px; stroke-width: 2; transition: transform .18s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 10px 28px -12px rgba(37, 99, 235, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { color: var(--ink); border-color: var(--line-strong); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.26); }
.btn-sm { padding: 9px 16px; font-size: 0.92rem; }

/* ---------- Hero (home) and page hero (inner pages) ---------- */
.hero, .page-hero { position: relative; overflow: hidden; }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 0%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 0%, #000 25%, transparent 75%);
}
.hero::after, .page-hero::after {
  content: ""; position: absolute; pointer-events: none;
  width: 1000px; height: 640px; top: -340px; left: 50%; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(59, 130, 246, 0.24), transparent);
}
.hero .wrap, .page-hero .wrap { position: relative; z-index: 1; }

.hero { padding: 96px 0 140px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 10px; margin-bottom: 26px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(255, 255, 255, 0.03); color: var(--muted); font-size: 0.85rem; font-weight: 500;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-text); box-shadow: 0 0 0 4px rgba(141, 180, 255, 0.15); }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: -0.035em; margin-bottom: 22px; }
.grad {
  background: linear-gradient(90deg, #a9c8ff, #5b8def);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 1.16rem; color: var(--muted); max-width: 560px; margin-bottom: 34px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.checks { display: flex; gap: 10px 24px; flex-wrap: wrap; margin-top: 36px; list-style: none; color: var(--muted); font-size: 0.92rem; }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks svg { width: 16px; height: 16px; stroke: var(--accent-text); stroke-width: 2.4; }

/* Illustrative compliance panel in the hero */
.hero-visual { position: relative; }
.panel {
  position: relative; padding: 26px; border-radius: 18px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8), 0 0 0 6px rgba(255, 255, 255, 0.015);
}
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.panel-title { font-weight: 600; }
.panel-sub { font-size: 0.8rem; color: var(--faint); }
.panel-dots { display: flex; gap: 6px; }
.panel-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.score { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.score strong { font-size: 2.3rem; letter-spacing: -0.03em; line-height: 1; }
.score span { font-size: 0.85rem; color: var(--muted); }
.bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); overflow: hidden; margin-bottom: 22px; }
.bar span { display: block; height: 100%; width: 92%; border-radius: inherit; background: linear-gradient(90deg, #2563eb, #8db4ff); }
.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border-radius: 10px; font-size: 0.92rem;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02);
}
.status { font-size: 0.74rem; font-weight: 600; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.status.ok { background: rgba(96, 140, 255, 0.14); color: var(--accent-text); }
.status.due { background: rgba(245, 181, 68, 0.14); color: var(--amber); }
.float-card {
  position: absolute; left: -34px; bottom: -64px;
  display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 14px;
  box-shadow: var(--shadow);
}
.float-card .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; }
.float-card svg { width: 20px; height: 20px; stroke-width: 2; }
.float-card strong { display: block; font-size: 0.92rem; }
.float-card span { font-size: 0.8rem; color: var(--muted); }

/* Inner page hero */
.page-hero { padding: 84px 0 72px; border-bottom: 1px solid var(--line); }
.crumbs { font-size: 0.86rem; color: var(--faint); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); letter-spacing: -0.03em; max-width: 800px; margin-bottom: 18px; }
.page-hero .lead { margin-bottom: 0; max-width: 640px; }

/* ---------- Sectors strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); padding: 26px 0; }
.strip .wrap { display: flex; align-items: center; justify-content: center; gap: 14px 36px; flex-wrap: wrap; }
.strip-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.strip ul { display: flex; flex-wrap: wrap; gap: 10px 30px; list-style: none; color: var(--muted); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section.tint { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { display: inline-block; margin-bottom: 14px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); }
.head { max-width: 680px; margin-bottom: 56px; }
.head.center { text-align: center; margin-left: auto; margin-right: auto; }
.head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 16px; }
.head p { color: var(--muted); font-size: 1.08rem; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 56px; }
.head-row .head { margin-bottom: 0; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative; display: flex; flex-direction: column; padding: 30px; color: inherit;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface), rgba(20, 26, 36, 0.55));
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
a.card:hover { transform: translateY(-4px); border-color: rgba(141, 180, 255, 0.35); box-shadow: 0 24px 50px -24px rgba(37, 99, 235, 0.5); }
.icon {
  width: 48px; height: 48px; flex: none; border-radius: 12px; margin-bottom: 22px;
  display: grid; place-items: center; color: var(--accent-text);
  background: var(--accent-soft); border: 1px solid rgba(141, 180, 255, 0.18);
}
.icon svg { width: 22px; height: 22px; stroke-width: 1.8; }
.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.97rem; flex: 1; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-weight: 600; font-size: 0.92rem; color: var(--accent-text); }
.more svg { width: 15px; height: 15px; stroke-width: 2; transition: transform .18s; }
a.card:hover .more svg { transform: translateX(3px); }

/* Split layout + feature tiles */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split .head { margin-bottom: 28px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feature { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.feature .icon { margin-bottom: 16px; width: 42px; height: 42px; }
.feature .icon svg { width: 20px; height: 20px; }
.feature h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 0.94rem; }
.prose p { color: var(--muted); font-size: 1.05rem; margin-bottom: 16px; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; list-style: none; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 1px;
  background: linear-gradient(90deg, rgba(141, 180, 255, 0.6), rgba(141, 180, 255, 0.08));
}
.steps li { position: relative; counter-increment: step; }
.steps li::before {
  content: "0" counter(step); position: relative;
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 22px;
  border-radius: 12px; background: var(--surface); border: 1px solid rgba(141, 180, 255, 0.35);
  color: var(--accent-text); font-weight: 700; font-size: 0.9rem;
}
.steps h3 { font-size: 1.08rem; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 0.95rem; }
.steps.vertical { grid-template-columns: 1fr; gap: 0; }
.steps.vertical::before { top: 22px; bottom: 22px; left: 22px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, rgba(141, 180, 255, 0.6), rgba(141, 180, 255, 0.08)); }
.steps.vertical li { padding-left: 68px; padding-bottom: 30px; }
.steps.vertical li:last-child { padding-bottom: 0; }
.steps.vertical li::before { position: absolute; left: 0; top: 0; margin: 0; }

/* Call to action band */
.cta {
  position: relative; overflow: hidden; padding: 64px; border-radius: 22px;
  display: flex; justify-content: space-between; align-items: center; gap: 32px 48px; flex-wrap: wrap;
  background:
    radial-gradient(ellipse at top right, rgba(59, 130, 246, 0.35), transparent 60%),
    linear-gradient(135deg, #142046, #0f1626);
  border: 1px solid rgba(141, 180, 255, 0.22);
}
.cta h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 10px; }
.cta p { color: #b3bfd2; max-width: 560px; font-size: 1.05rem; }

/* ---------- Services page ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.chips a {
  padding: 8px 16px; border-radius: 999px; font-size: 0.9rem; font-weight: 500; color: var(--muted);
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.02); transition: all .15s;
}
.chips a:hover { color: var(--ink); border-color: rgba(141, 180, 255, 0.4); }
.svc {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; padding: 48px;
  border-radius: 18px; border: 1px solid var(--line); background: var(--surface);
  scroll-margin-top: 100px;
}
.svc + .svc { margin-top: 20px; }
.svc .icon { margin-bottom: 20px; }
.svc h2 { font-size: 1.65rem; margin-bottom: 14px; }
.svc p { color: var(--muted); margin-bottom: 12px; }
.list-title { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
.ticks { list-style: none; display: grid; gap: 14px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; }
.ticks li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 6px;
  border: 1px solid rgba(141, 180, 255, 0.25);
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238db4ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.svc-side { padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.02); border: 1px solid var(--line); align-self: start; }

/* ---------- About page ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { padding: 24px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.tile h3 { font-size: 1.05rem; margin-bottom: 6px; }
.tile p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card { padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.contact-card .icon { margin-bottom: 18px; }
.contact-card .label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.contact-card .value { display: block; font-size: 1.15rem; font-weight: 600; color: var(--ink); word-break: break-word; }
a.contact-card:hover { border-color: rgba(141, 180, 255, 0.35); }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--accent-text); font-size: 1.5rem; font-weight: 400; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: 12px; max-width: 760px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; gap: 40px; margin-bottom: 56px; }
.footer-grid h4 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
.footer-grid ul { list-style: none; display: grid; gap: 10px; color: var(--muted); font-size: 0.95rem; }
.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: var(--ink); }
.footer-blurb { color: var(--muted); font-size: 0.95rem; margin-top: 18px; max-width: 320px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--faint); font-size: 0.88rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid, .split, .svc { grid-template-columns: 1fr; }
  .hero-grid { gap: 64px; }
  .hero-visual { max-width: 540px; }
  .float-card { left: 16px; }
  .cards, .tiles { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps:not(.vertical)::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { gap: 48px; }
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .brand-row { height: 76px; }
  .brand-row .btn { display: none; }
  .site-header .brand-mark { width: 40px; height: 40px; }
  .site-header .brand-text { font-size: 1.15rem; }
  .nav-menu { gap: 0; justify-content: space-between; }
  .nav-link { padding: 15px 10px; font-size: 0.93rem; }
  .nav-link::after { left: 10px; right: 10px; }
  .nav-menu li:last-child .nav-link { padding-right: 0; }
  .nav-menu li:last-child .nav-link::after { right: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .section { padding: 80px 0; }
  .hero { padding: 64px 0 100px; }
  .cards, .tiles, .features, .steps, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .cta, .svc { padding: 30px; }
}
