/* ThiDiff — site styles. No framework; one file. */

:root {
  --ink: #0f1052;   /* deep brand shade */
  --ink-2: #181a6c;
  --ink-3: #25278a;
  --paper: #f5f5fd;
  --paper-2: #e7e8f8;
  --white: #ffffff;
  --text: #15162e;
  --muted: #565973;
  --muted-dark: #b3b5dc;
  --line: rgba(44, 46, 178, 0.14);
  --line-dark: rgba(255, 255, 255, 0.1);
  --accent: #2c2eb2;        /* brand blue: fills, with white text */
  --accent-hover: #3a3dd2;
  --accent-bright: #2c2eb2; /* brand blue (#2C2EB2) also on navy */
  --accent-soft: rgba(44, 46, 178, 0.1);
  --accent-ink: #2c2eb2;
  --hl: #2c2eb2;            /* highlight text; lighter tint on dark surfaces */

  --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: var(--font-body); /* corporate: no monospace in UI */

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 10px;
  --radius-sm: 6px;
  --section: clamp(64px, 8vw, 104px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--hl); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--white); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: var(--white); padding: 8px 14px; border-radius: 6px; font-weight: 600; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
h1 { font-size: clamp(36px, 4.6vw, 58px); letter-spacing: -0.025em; line-height: 1.1; }
h2 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -0.02em; }
h3 { font-size: 19px; letter-spacing: -0.01em; line-height: 1.3; font-weight: 700; }
p { margin: 0; }
.lede { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--muted); max-width: 60ch; }
.dark .lede { color: var(--muted-dark); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--hl); margin-bottom: 14px;
}
.dark, .site-header, .site-footer, .panel, .model.featured { --hl: #a9acff; }

.accent { color: var(--hl); }
.mono { font-family: var(--font-mono); }
.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; }

/* Logo-inspired "sliced" headline: a hairline cut through the type */
.slice { position: relative; display: inline-block; }
.slice::after {
  content: ""; position: absolute; left: -0.02em; right: -0.02em; top: 52%;
  height: 0.06em; background: var(--slice-bg, var(--ink));
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: var(--radius-sm); border: 1.5px solid transparent;
  font-weight: 600; font-size: 16px; line-height: 1; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { box-shadow: 0 1px 2px rgba(15,16,82,.12); }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); }
.dark .btn-primary, .site-header .btn-primary, .site-footer .btn-primary { background: var(--accent); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.dark .btn-primary:hover, .site-header .btn-primary:hover, .site-footer .btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.dark .btn-ghost { border-color: var(--line-dark); color: var(--white); }
.dark .btn-ghost:hover { border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
/* Slim info strip above the main bar (scrolls away) */
.utility-bar { background: var(--ink); color: rgba(255,255,255,.72); font-size: 13px; }
.utility-bar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; height: 38px; }
.utility-bar span { display: inline-flex; align-items: center; gap: 8px; }
.utility-bar svg { width: 14px; height: 14px; }
.utility-links { gap: 22px !important; }
.utility-links a:hover { color: var(--white); }

/* Full-width brand bar, sticky, shadow once scrolled */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--accent); color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.12);
  transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 10px 30px -12px rgba(15,16,82,.45); }
.nav {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: 76px;
}
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 28px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links > li > a:not(.btn), .mega-toggle {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 6px; border: 0; background: none; cursor: pointer;
  font-family: var(--font-body); font-size: 15px; font-weight: 500; line-height: 1; color: rgba(255,255,255,.82);
  transition: color .15s, background-color .15s;
}
.nav-links > li > a:not(.btn):hover, .mega-toggle:hover, .has-mega.open .mega-toggle { color: var(--white); background: rgba(255,255,255,.12); }
.nav-links > li > a:not(.btn)[aria-current="page"], .mega-toggle.is-current { color: var(--white); }
.nav-links > li > a:not(.btn)[aria-current="page"]::after, .mega-toggle.is-current::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: -17px; height: 3px; border-radius: 3px 3px 0 0; background: var(--white);
}
.chev { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.has-mega.open .chev { transform: rotate(180deg); }

.nav-cta { display: flex; align-items: center; gap: 8px; flex: none; }
.nav .btn { padding: 12px 18px; font-size: 15px; }
.site-header .btn-primary { background: var(--white); color: var(--accent); box-shadow: none; }
.site-header .btn-primary:hover { background: #e6e7ff; }
.nav-mobile-cta { display: none; }

/* Services mega menu (desktop) */
.has-mega { position: static; }
.mega {
  position: absolute; top: calc(100% + 1px); left: 50%; width: min(880px, calc(100vw - var(--gutter) * 2));
  display: grid; grid-template-columns: 1fr 250px; gap: 8px; padding: 8px;
  background: var(--white); color: var(--text); border-radius: 0 0 12px 12px;
  box-shadow: 0 30px 70px -20px rgba(15,16,82,.45), 0 0 0 1px rgba(44,46,178,.08);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; } /* hover bridge */
.has-mega.open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 1025px) {
  .has-mega:hover .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .has-mega:hover .chev { transform: rotate(180deg); }
}
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 6px; }
.mega-item { display: flex; align-items: flex-start; gap: 14px; padding: 12px; border-radius: 8px; transition: background-color .15s; }
.mega-item:hover, .mega-item[aria-current="page"] { background: var(--paper); }
.mi-icon { flex: none; width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); transition: background-color .15s, color .15s; }
.mi-icon svg { width: 20px; height: 20px; }
.mega-item:hover .mi-icon { background: var(--accent); color: var(--white); }
.mega-item strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; margin-top: 1px; }
.mega-item small { display: block; font-size: 13.5px; line-height: 1.4; color: var(--muted); margin-top: 3px; }
.mega-side {
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  padding: 24px; border-radius: 8px; background: var(--accent); color: var(--white); --hl: #cdd0ff;
}
.mega-side .eyebrow { margin-bottom: 12px; font-size: 12px; }
.mega-side p { font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.82); }
.mega-side-links { display: grid; gap: 10px; }
.mobile-only { display: none !important; }

.menu-toggle { display: none; background: rgba(255,255,255,.1); border: 0; border-radius: 8px; width: 46px; height: 46px; align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 1.5px; background: var(--white); position: relative; transition: transform .25s var(--ease), background .2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; } .menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile / tablet: full-screen menu */
@media (max-width: 1024px) {
  .menu-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .nav { height: 68px; }
  .utility-bar { display: none; }
  .menu-open { overflow: hidden; }
  .menu-open .site-header { background: var(--accent); }
  .nav-links {
    position: fixed; inset: 0; z-index: -1; height: 100dvh; overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 100px var(--gutter) 40px; background: var(--accent);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .menu-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links > li > a:not(.btn), .mega-toggle {
    width: 100%; justify-content: space-between; padding: 20px 2px; border-radius: 0;
    font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; color: var(--white);
    border-bottom: 1px solid rgba(255,255,255,.16); background: none !important;
  }
  .nav-links > li > a:not(.btn)[aria-current="page"]::after, .mega-toggle.is-current::after { display: none; }
  .nav-links > li > a:not(.btn)[aria-current="page"], .mega-toggle.is-current { color: #cdd0ff; }
  .chev { width: 22px; height: 22px; }
  .mega {
    position: static; width: auto; transform: none !important; opacity: 1; visibility: visible;
    display: none; padding: 8px 0 12px; background: none; box-shadow: none; border-radius: 0; color: var(--white);
  }
  .has-mega.open .mega { display: block; }
  .mega::before, .mega-side { display: none; }
  .mega-grid { grid-template-columns: 1fr; padding: 0; }
  .mobile-only { display: flex !important; }
  .mega-item { padding: 12px 4px; }
  .mega-item:hover, .mega-item[aria-current="page"] { background: rgba(255,255,255,.08); }
  .mega .mi-icon, .mega .mega-item:hover .mi-icon { background: rgba(255,255,255,.12); color: var(--white); }
  .mega-item small { color: rgba(255,255,255,.7); }
  .nav-mobile-cta { display: block; margin-top: 32px; }
  .nav-mobile-cta .btn { width: 100%; justify-content: center; padding: 18px; font-size: 17px; }
}

/* ---------- Sections ---------- */
section { padding: var(--section) 0; }
.dark { background: var(--ink); color: var(--white); --slice-bg: var(--ink); }
.dark-2 { background: var(--ink-2); --slice-bg: var(--ink-2); }
.tint { background: var(--paper-2); }
.section-head { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: clamp(40px, 6vw, 64px); max-width: 780px; }
.section-head.split { max-width: none; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 40px; }
@media (max-width: 860px) { .section-head.split { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(64px, 9vw, 120px) 0 clamp(72px, 9vw, 120px); overflow: hidden; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: 24px; font-size: clamp(36px, 4.4vw, 56px); }
.hero .lede { margin-bottom: 36px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.hero-meta div { font-size: 14px; color: var(--muted-dark); }
.hero-meta strong { display: block; font-family: var(--font-display); font-size: 26px; color: var(--white); letter-spacing: -0.02em; line-height: 1.1; }
.page-hero { padding: clamp(64px, 8vw, 112px) 0 clamp(56px, 7vw, 96px); }
.page-hero .hero-grid { grid-template-columns: 1.3fr 1fr; align-items: end; }
.page-hero h1 { font-size: clamp(32px, 4vw, 50px); margin-bottom: 0; }
.page-hero .lede { margin-bottom: 28px; }
@media (max-width: 960px) { .hero-grid, .page-hero .hero-grid { grid-template-columns: 1fr; } }

/* Heroes sit on the brand colour, continuous with the header */
.hero.dark { background: linear-gradient(115deg, #24269c 0%, var(--accent) 45%, #3436c2 100%); --hl: #cdd0ff; --slice-bg: var(--accent); }
.hero.dark .lede, .hero.dark .hero-meta div, .hero.dark .breadcrumb { color: rgba(255,255,255,.8); }
.hero.dark .hero-meta { border-top-color: rgba(255,255,255,.2); }
.hero.dark .btn-primary { background: var(--white); color: var(--accent); box-shadow: none; }
.hero.dark .btn-primary:hover { background: #e6e7ff; }
.hero.dark .btn-ghost { border-color: rgba(255,255,255,.4); }
.hero.dark .btn-ghost:hover { border-color: var(--white); }
.hero.dark .chip { border-color: rgba(255,255,255,.3); color: var(--white); }
.hero.dark .panel { background: var(--ink); border-color: rgba(255,255,255,.14); box-shadow: 0 40px 80px -30px rgba(10,11,60,.7); }
.notfound.dark { background: var(--accent); }

/* Hero engagement card */
.hero-card { background: var(--white); color: var(--text); border-radius: 12px; padding: 8px; box-shadow: 0 30px 60px -24px rgba(10,11,60,.55); }
.hero-card-head { padding: 22px 22px 14px; }
.hero-card-head .eyebrow { color: var(--accent); margin-bottom: 6px; }
.hero-card-head p { color: var(--muted); font-size: 15px; }
.hc-row { display: flex; align-items: center; gap: 16px; padding: 16px 22px; border-top: 1px solid var(--line); transition: background-color .15s; }
.hc-row:hover { background: var(--paper); }
.hc-row > span:nth-child(2) { flex: 1; }
.hc-row strong { display: block; font-size: 16px; font-weight: 600; }
.hc-row small { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.hc-row > svg { width: 18px; height: 18px; color: var(--accent); flex: none; transition: transform .2s var(--ease); }
.hc-row:hover > svg { transform: translateX(3px); }
.hero-card-foot { margin: 4px; padding: 14px 18px; border-radius: 8px; background: var(--paper); font-size: 14px; color: var(--muted); }
.hero-card-foot strong { color: var(--accent); font-family: var(--font-display); font-size: 16px; }

/* ---------- Client logos ---------- */
.clients-strip { padding: 48px 0; background: var(--white); border-bottom: 1px solid var(--line); }
.clients-strip p { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.logo-row { display: grid; grid-template-columns: repeat(8, 1fr); gap: 28px 32px; align-items: center; }
.logo-row div { display: grid; place-items: center; height: 48px; }
.logo-row img { max-height: 40px; max-width: 120px; object-fit: contain; filter: grayscale(1); opacity: .6; mix-blend-mode: multiply; transition: filter .2s, opacity .2s; }
.logo-row img:hover { filter: none; opacity: 1; }
@media (max-width: 900px) { .logo-row { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 520px) { .logo-row { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(15,16,82,.04);
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
a.card:hover { transform: translateY(-4px); border-color: var(--text); box-shadow: 0 24px 40px -28px rgba(44,46,178,.3); }
.card p { color: var(--muted); font-size: 16px; }
.card .link-arrow { margin-top: auto; padding-top: 10px; }
.card .num { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.dark .card { background: var(--ink-2); border-color: var(--line-dark); }
.dark .card p { color: var(--muted-dark); }
.dark a.card:hover { border-color: rgba(255,255,255,.4); box-shadow: none; }
.icon { width: 46px; height: 46px; border-radius: 8px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.icon svg { width: 24px; height: 24px; }
.dark .icon { background: var(--ink-3); color: var(--hl); }

/* Partner models: big numbered tiles */
.model { padding: 40px 36px; min-height: 340px; }
.model h3 { font-size: 22px; }
.model .tag { align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: .02em; padding: 4px 10px; border-radius: 4px; border: 1px solid var(--line); color: var(--muted); }
.model.featured { background: var(--ink); color: var(--white); border-color: var(--ink); }
.model.featured p { color: var(--muted-dark); }
.model.featured .tag { border-color: var(--hl); color: var(--hl); }
.model.featured .icon { background: var(--accent-bright); color: var(--white); }
.model.featured:hover { border-color: var(--accent-bright) !important; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.stats > div { padding: 36px 28px 8px 0; }
.stats > div + div { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.stats strong { display: block; font-family: var(--font-display); font-size: clamp(34px, 3.6vw, 48px); line-height: 1; letter-spacing: -0.03em; margin-bottom: 12px; }
.stats span { color: var(--muted-dark); font-size: 15px; }
.light-stats { border-top-color: var(--line); }
.light-stats > div + div { border-left-color: var(--line); }
.light-stats span { color: var(--muted); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } .stats > div:nth-child(3) { padding-left: 0; border-left: 0; } }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { position: relative; padding: 32px 28px 8px 0; border-top: 2px solid var(--line); }
.dark .step { border-top-color: var(--line-dark); }
.step::before { content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 2px; background: var(--hl); }
.step .num { display: block; font-family: var(--font-mono); font-size: 13px; color: var(--hl); margin-bottom: 18px; }

.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; }
.dark .step p { color: var(--muted-dark); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 16px 24px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.split.top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; margin-top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.checks strong { display: block; font-weight: 600; }
.checks span { color: var(--muted); font-size: 16px; }
.dark .checks span { color: var(--muted-dark); }
.dark .checks li::before, .panel .checks li::before, .model.featured .checks li::before { background-color: var(--accent-bright); }

/* Panel (used for team visual / callouts) */
.panel { background: var(--ink-2); color: var(--white); border-radius: var(--radius); padding: 36px; border: 1px solid var(--line-dark); }
.team-viz { display: grid; gap: 14px; font-family: var(--font-mono); font-size: 13px; }
.team-row { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: center; color: var(--muted-dark); }
.dots { display: flex; flex-wrap: wrap; gap: 6px; }
.dots i { width: 22px; height: 22px; border-radius: 6px; background: var(--ink-3); border: 1px solid var(--line-dark); }
.dots i.you { background: #3d4096; }
.dots i.td { background: var(--accent-bright); border-color: var(--accent-bright); }
.legend { display: flex; gap: 20px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-dark); font-family: var(--font-mono); font-size: 12px; color: var(--muted-dark); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; }

/* Tags / chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13.5px; font-weight: 500; padding: 7px 12px; border-radius: 6px; border: 1px solid var(--line); background: var(--white); }
.dark .chip { background: transparent; border-color: var(--line-dark); color: rgba(255,255,255,.82); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1b1f' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .25s var(--ease), background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--accent); border-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E"); }
.faq details p { padding: 0 48px 24px 0; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; }
.cta-box { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.cta h2 { font-size: clamp(28px, 3.4vw, 44px); }
.cta.dark { background: var(--accent); --hl: #c9cbff; --slice-bg: var(--accent); }
.cta .lede { color: rgba(255,255,255,.78) !important; }
.cta .btn-primary { background: var(--white); color: var(--accent); }
.cta .btn-primary:hover { background: #e6e7ff; }
.cta .btn-ghost { border-color: rgba(255,255,255,.35); }
.cta .panel { background: rgba(10,11,36,.28); border-color: rgba(255,255,255,.16); --hl: #c9cbff; }
.cta .panel .checks span { color: rgba(255,255,255,.72); }
.cta .panel .checks li::before { background-color: var(--white); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c2eb2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.cta .wrap { position: relative; z-index: 1; }
@media (max-width: 900px) { .cta-box { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-dark); padding: 80px 0 36px; font-size: 15px; border-top: 1px solid var(--line-dark); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.footer-brand img { height: 34px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 32ch; }
.site-footer .footer-h { font-family: var(--font-body); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--white); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 28px; font-size: 14px; }
@media (max-width: 960px) { .footer-top { grid-template-columns: repeat(2, 1fr); } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 16px; color: var(--text);
  padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--white);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(44,46,178,.18); border-color: var(--accent); }
.field .err { display: none; font-size: 13px; color: #c62828; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #c62828; }
.field.invalid .err { display: block; }
.choice-group { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-group input { position: absolute; opacity: 0; pointer-events: none; }
.choice-group label { font-weight: 500; font-size: 14.5px; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 6px; cursor: pointer; background: var(--white); transition: all .15s; }
.choice-group input:checked + label { background: var(--accent); color: var(--white); border-color: var(--accent); }
.choice-group input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-note { font-size: 13.5px; color: var(--muted); }
.form-status { display: none; padding: 16px 18px; border-radius: var(--radius-sm); font-size: 15px; }
.form-status.ok { display: block; background: #e7f7ee; color: #14532d; }
.form-status.bad { display: block; background: #fdecec; color: #7f1d1d; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); }

/* ---------- Misc ---------- */
.logo-wall { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logo-wall div { display: grid; place-items: center; aspect-ratio: 16 / 9; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); padding: 28px; }
.logo-wall img { max-height: 64px; max-width: 70%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.logo-wall div:hover img { filter: none; opacity: 1; }
@media (max-width: 860px) { .logo-wall { grid-template-columns: repeat(2, 1fr); } }

.breadcrumb { font-family: var(--font-mono); font-size: 13px; color: var(--muted-dark); margin-bottom: 28px; display: flex; gap: 10px; }
.breadcrumb a:hover { color: var(--white); }

.role { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); transition: padding .2s var(--ease); }
.role:first-child { border-top: 1px solid var(--line); }
.role:hover { padding-left: 12px; }
.role h3 { margin-bottom: 6px; }
.role p { color: var(--muted); font-size: 15px; }
.role .arrow { flex: none; width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--line); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.role:hover .arrow { background: var(--accent); border-color: var(--accent); color: var(--white); }
.role .arrow svg { width: 18px; height: 18px; }

.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound h1 { font-size: clamp(96px, 20vw, 240px); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
.no-js .reveal { opacity: 1; transform: none; }

.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }
.center { text-align: center; }
