/* ==========================================================
   NK Fintech Advisory — "Midnight Violet"
   ========================================================== */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #0B1030;
  --ink-2: #141A45;
  --accent: #6B4EFF;
  --accent-strong: #5B3FF0;
  --accent-soft: #AE9EFF;
  --tint: #EDEAFF;
  --soft: #F8F7FF;
  --line: #E4DFFF;
  --field: #D5D7E8;
  --text: #0B1030;
  --muted: #5B6079;
  --on-dark: #FFFFFF;
  --on-dark-muted: #C9CCE6;
  --white: #FFFFFF;
  --error: #B42318;
  --success: #067647;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --r-lg: 24px;
  --r-md: 20px;
  --r-sm: 14px;
  --shadow: 0 14px 30px -20px rgba(11, 16, 48, .45);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.015em; }
p, ul, ol, figure { margin: 0; }
a { color: var(--accent-strong); text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 200;
  padding: 12px 18px; border-radius: 10px; background: var(--white); color: var(--ink); font-weight: 700;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.section-dark :focus-visible, .hero :focus-visible, .site-header :focus-visible, .site-footer :focus-visible,
.flip-dark .flip-front :focus-visible, .flip-back :focus-visible { outline-color: var(--accent-soft); }

/* ---------- Icons ---------- */
.i { width: 24px; height: 24px; flex: none; }
.i-sm { width: 18px; height: 18px; }
.i-lg { width: 28px; height: 28px; }
.tile {
  width: 52px; height: 52px; flex: none; border-radius: var(--r-sm);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--tint); color: var(--accent);
}
.tile-solid { background: var(--accent); color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: .9375rem; }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-strong); }
.btn-outline-light { border-color: rgba(255, 255, 255, .45); color: var(--white); }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); }
.btn-outline-accent { border-color: var(--accent); color: var(--accent-strong); }
.btn-outline-accent:hover { background: var(--tint); }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); background: var(--white); }
.btn-outline-dark:hover { background: var(--soft); }
/* Consent choices: Reject All and Accept All share one style so neither is favoured. */
.btn-choice { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-choice:hover { background: var(--ink-2); }
.btn-link { background: none; border-color: transparent; color: var(--accent-strong); text-decoration: underline; text-underline-offset: 3px; }
.btn[disabled] { opacity: .65; cursor: progress; }
.link-button {
  padding: 0; border: 0; background: none; color: inherit; font-weight: inherit;
  text-decoration: underline; text-underline-offset: 3px;
}
.icon-button {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 12px; background: transparent; color: inherit;
}
.icon-button:hover { background: var(--soft); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); color: var(--on-dark); }
.header-inner { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: block; }
.brand img { height: 30px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 4px 28px; font-weight: 600; font-size: .9375rem; }
.site-nav a:not(.btn) { color: var(--on-dark-muted); text-decoration: none; padding: 12px 0; }
.site-nav a:not(.btn):hover { color: var(--white); }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .08); color: var(--white); align-items: center; justify-content: center; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px; background: var(--ink);
    border-top: 1px solid rgba(255, 255, 255, .1);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .site-nav .btn { margin-top: 16px; }
  .no-js .site-nav { display: flex; position: static; }
}

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: var(--on-dark); }
.hero-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-block: clamp(40px, 6vw, 88px) clamp(64px, 8vw, 112px); }
.hero-copy { flex: 1.1 1 460px; min-width: 0; }
.hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.5rem); line-height: 1.1; font-weight: 800; letter-spacing: -.025em; max-width: 21ch; }
.hero-lede { margin-top: 24px; max-width: 36rem; font-size: 1.15rem; color: var(--on-dark-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-figure { flex: 1 1 400px; min-width: 0; }
.hero-figure svg { width: 100%; height: auto; }
@media (prefers-reduced-motion: no-preference) {
  .hero-lines { animation: dash 14s linear infinite; }
  @keyframes dash { to { stroke-dashoffset: -240; } }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section-soft { background: var(--soft); }
.section-dark { background: var(--ink); color: var(--on-dark); }
.section-head { margin-bottom: 40px; }
.section-head h2 { font-size: clamp(2rem, 3.4vw, 2.75rem); font-weight: 800; line-height: 1.15; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.0625rem; max-width: 42rem; }
.section-head.center { text-align: center; }
.section-head.center p { margin-inline: auto; }
.section-head.split { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 20px 56px; }
.section-head.split h2 { flex: 1.2 1 460px; min-width: 0; }
.section-head.split p { flex: 1 1 340px; min-width: 0; margin-top: 0; font-size: 1.1rem; }

/* ---------- Product tabs ---------- */
.tablist { display: none; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-bottom: 40px; }
.js .tablist { display: grid; }
.tab {
  display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 16px;
  border-radius: 18px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink);
  font-weight: 700; font-size: .9375rem; text-align: left;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.tab:hover { border-color: var(--accent-soft); }
.tab-icon { width: 40px; height: 40px; flex: none; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--tint); color: var(--accent); }
.tab[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--white); }
.tab[aria-selected="true"] .tab-icon { background: rgba(255, 255, 255, .18); color: var(--white); }

.panel + .panel { margin-top: 64px; }
.js .panel + .panel { margin-top: 0; }
.panel:focus-visible { outline-offset: 8px; border-radius: 8px; }
.panel h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; margin-bottom: 16px; }
.panel-split { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: flex-start; }
.panel-split.center-y { align-items: center; }
.panel-copy { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.panel-copy h3 { margin-bottom: -4px; }
.panel-top { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px 56px; margin-bottom: 32px; }
.panel-top > div { flex: 1 1 520px; min-width: 0; }

.note { display: flex; gap: 14px; padding: 20px; border-radius: 16px; background: var(--soft); font-size: .98rem; }
.note .i { color: var(--accent); margin-top: 2px; }
.note-white { background: var(--white); border: 1px solid var(--line); }

/* ---------- Grids ---------- */
.card-grid { display: grid; gap: 20px; }
.panel-split > .card-grid { flex: 1.2 1 440px; min-width: 0; }
.panel-split > .card-grid.wide { flex: 1.5 1 520px; }
.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card-grid.lists { margin-top: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* ---------- Flip cards ----------
   Faces share one grid cell, so the card is as tall as its longest face:
   nothing clips when text is enlarged or spaced out. */
.flip { perspective: 1200px; }
.flip-inner { display: grid; height: 100%; }
.flip-face {
  grid-area: 1 / 1;
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  min-height: 250px; padding: 28px; border-radius: var(--r-md);
}
.flip-front { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.flip-front h3, .flip-front h4 { font-size: 1.2rem; font-weight: 700; line-height: 1.3; }
.flip-back { background: var(--accent); color: var(--white); }
.flip-back p { font-size: 1rem; line-height: 1.6; }
.flip-back-title { font-weight: 800; font-size: 1.05rem; line-height: 1.3; }
.flip-dark .flip-back-title { font-size: 1.25rem; }
.flip-btn {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 0; border: 0; background: none;
  font-weight: 700; font-size: .9rem; color: var(--accent-strong);
}
.flip-back .flip-btn { color: var(--white); }
.flip-btn:hover { text-decoration: underline; text-underline-offset: 3px; }

/* No JavaScript: show both faces, stacked. */
.no-js .flip-face { grid-area: auto; min-height: 0; }
.no-js .flip-inner { gap: 12px; }
.no-js .flip-btn { display: none; }

/* JavaScript: real flip. */
.js .flip { cursor: pointer; }
.js .flip-inner { transform-style: preserve-3d; transition: transform .6s var(--ease); }
.js .flip-face { -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.js .flip-back { transform: rotateY(180deg); }
.js .flip.is-flipped .flip-inner { transform: rotateY(180deg); }

.flip-dark .flip-front { background: var(--ink); color: var(--white); border-color: var(--ink); }
.flip-dark .flip-front .flip-btn { color: var(--accent-soft); }
.flip-dark .flip-face { min-height: 340px; padding: 32px; }
.flip-kicker { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; color: var(--on-dark-muted); }
.flip-big { font-size: 2.2rem !important; font-weight: 800 !important; line-height: 1.1 !important; margin-top: -8px; }
.flip-dark .flip-back p { font-size: .96rem; }

/* ---------- Lists ---------- */
.list-card { border-radius: var(--r-md); background: var(--soft); padding: 28px; }
.list-card h4 { font-size: 1.1rem; font-weight: 800; margin-bottom: 16px; }
.checks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em; 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='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.step-stack {
  flex: 1 1 400px; min-width: 0; list-style: none; padding: 32px; border-radius: var(--r-lg);
  background: var(--ink); color: var(--white); display: flex; flex-direction: column; gap: 14px;
}
.step-stack li { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .06); font-weight: 600; }
.step-stack .tile { width: 48px; height: 48px; }

.industries { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.industries li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); font-weight: 600; line-height: 1.35; }
.industries .tile { width: 44px; height: 44px; border-radius: 12px; }

.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.steps li { padding: 28px; border-radius: var(--r-md); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); display: grid; grid-template-columns: 1fr auto; row-gap: 24px; align-items: center; align-content: start; }
.step-num { width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--accent); font-weight: 800; font-size: 1.125rem; }
.step-icon { color: var(--accent-soft); justify-self: end; }
.steps p { grid-column: 1 / -1; font-size: 1.08rem; font-weight: 600; }
.section-dark .section-head p { color: var(--on-dark-muted); }

/* ---------- About ---------- */
.about { display: flex; flex-wrap: wrap; gap: 40px 56px; }
.about-copy { flex: 1.2 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.about-copy h2 { font-size: clamp(2rem, 3.4vw, 2.75rem); font-weight: 800; line-height: 1.15; margin-bottom: 6px; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.chips li { padding: 10px 16px; border-radius: 999px; background: var(--tint); font-weight: 600; font-size: .9375rem; }
.partner-box { flex: 1 1 360px; min-width: 0; border-radius: var(--r-lg); background: var(--soft); padding: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.partner-box h3 { font-size: 1.3rem; font-weight: 800; }
.partner-item { display: flex; gap: 16px; }
.partner-item .tile { width: 48px; height: 48px; }
.partner-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.partner-item p { font-size: .98rem; }

/* ---------- Contact ---------- */
.contact { display: flex; flex-wrap: wrap; gap: 40px 56px; }
.contact-copy { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-copy h2 { font-size: clamp(2rem, 3.4vw, 2.75rem); font-weight: 800; line-height: 1.15; }
.contact-copy .note a { font-weight: 700; word-break: break-word; }
.form-card { flex: 1.5 1 520px; min-width: 0; background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 40px); box-shadow: 0 24px 50px -30px rgba(11, 16, 48, .4); }
.segmented { display: none; gap: 4px; padding: 4px; border-radius: 999px; background: var(--soft); margin-bottom: 16px; width: max-content; max-width: 100%; }
.js .segmented { display: inline-flex; }
.seg { min-height: 44px; padding: 10px 22px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font-weight: 700; font-size: .9375rem; }
.seg[aria-selected="true"] { background: var(--accent); color: var(--white); }
.no-js [role="tabpanel"] + [role="tabpanel"] { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.form-hint { font-size: .875rem; color: var(--muted); margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .875rem; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid var(--field); border-radius: 12px;
  background: var(--white); font-size: 1rem; font-weight: 400;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field-error { color: var(--error); font-size: .875rem; font-weight: 600; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.captcha-slot:empty { display: none; }
.form-privacy { font-size: .875rem; color: var(--muted); }
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { font-size: .9375rem; font-weight: 600; }
.form-status.is-error { color: var(--error); }
.form-status.is-success { color: var(--success); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding-block: 56px 40px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: .9375rem; font-weight: 600; }
.footer-nav a, .footer-nav .link-button { color: var(--on-dark-muted); text-decoration: none; padding: 12px 0; }
.footer-nav a:hover, .footer-nav .link-button:hover { color: var(--white); text-decoration: underline; }
.footer-services { margin-top: 24px; color: var(--white); font-weight: 600; font-size: .9375rem; }
.footer-disclaimer { margin-top: 12px; max-width: 62rem; font-size: .875rem; line-height: 1.6; }
.footer-legal { margin-top: 16px; font-size: .8125rem; }

/* ---------- Legal pages ---------- */
.page-hero { background: var(--ink); color: var(--white); padding-block: clamp(40px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(2.1rem, 4vw, 3rem); font-weight: 800; }
.page-hero p { margin-top: 12px; color: var(--on-dark-muted); }
.breadcrumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: .875rem; margin-bottom: 18px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--on-dark-muted); }
.breadcrumbs a { color: var(--accent-soft); }
.breadcrumbs [aria-current] { color: var(--on-dark-muted); }
.legal { padding-block: clamp(48px, 6vw, 80px); }
.legal-body { max-width: 50rem; }
.legal-body h2 { font-size: 1.5rem; font-weight: 800; margin: 48px 0 14px; scroll-margin-top: calc(var(--header-h) + 16px); }
.legal-body h3 { font-size: 1.125rem; font-weight: 700; margin: 28px 0 10px; }
.legal-body p, .legal-body li { color: #2E3352; }
.legal-body p + p { margin-top: 14px; }
.legal-body ul, .legal-body ol { padding-left: 1.4em; margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.legal-body .lead { font-size: 1.125rem; color: var(--muted); }
.toc { padding: 24px 28px; border-radius: var(--r-md); background: var(--soft); margin-top: 32px; }
.toc h2 { font-size: 1rem; margin: 0 0 10px; }
.toc ol { margin-top: 0; columns: 2 16rem; display: block; }
.toc li { margin-bottom: 6px; break-inside: avoid; }
.table-wrap { overflow-x: auto; margin-top: 16px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.legal-body table { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 36rem; }
.legal-body th, .legal-body td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.legal-body th { background: var(--soft); font-weight: 700; }
.legal-body tr:last-child td { border-bottom: 0; }

/* ---------- 404 ---------- */
.not-found { padding-block: clamp(80px, 12vw, 160px); text-align: center; }
.not-found h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; }
.not-found p { margin: 16px auto 32px; max-width: 32rem; color: var(--muted); }

/* ---------- Accessibility tools ---------- */
.a11y { position: fixed; left: 16px; bottom: 16px; z-index: 90; }
.a11y-toggle {
  width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--white);
  background: var(--accent); color: var(--white); display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px -10px rgba(11, 16, 48, .6);
}
.a11y-toggle .i { width: 28px; height: 28px; }
.a11y-panel {
  position: absolute; left: 0; bottom: 64px; width: min(320px, calc(100vw - 32px));
  max-height: calc(100vh - 120px); overflow-y: auto;
  padding: 20px; border-radius: var(--r-md); background: var(--white); color: var(--ink);
  border: 1px solid var(--line); box-shadow: 0 24px 50px -20px rgba(11, 16, 48, .5);
  display: flex; flex-direction: column; gap: 10px;
}
.a11y-head { display: flex; align-items: center; justify-content: space-between; }
.a11y-head h2 { font-size: 1.125rem; font-weight: 800; }
.a11y-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; font-weight: 600; }
.a11y-stepper { display: inline-flex; align-items: center; gap: 6px; }
.a11y-stepper button { min-width: 44px; min-height: 44px; border: 1px solid var(--field); border-radius: 10px; background: var(--white); font-weight: 800; }
.a11y-stepper output { min-width: 3.5em; text-align: center; font-variant-numeric: tabular-nums; }
.a11y-option {
  display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 10px 14px;
  border: 1px solid var(--field); border-radius: 12px; background: var(--white); font-weight: 600; text-align: left;
}
.a11y-option::after { content: "Off"; font-size: .8125rem; color: var(--muted); }
.a11y-option[aria-pressed="true"] { border-color: var(--accent); background: var(--tint); }
.a11y-option[aria-pressed="true"]::after { content: "On"; color: var(--accent-strong); font-weight: 800; }
.a11y-foot { display: flex; justify-content: space-between; gap: 12px; padding-top: 8px; font-size: .9375rem; }

/* Accessibility modes (classes set on <html> by boot.js / a11y.js) */
html.a11y-contrast {
  --ink: #000000; --ink-2: #000000; --accent: #3311CC; --accent-strong: #2A0EAA; --accent-soft: #FFFFFF;
  --tint: #FFFFFF; --soft: #FFFFFF; --line: #000000; --field: #000000; --muted: #1A1A1A; --on-dark-muted: #FFFFFF;
}
html.a11y-contrast .flip-front, html.a11y-contrast .industries li, html.a11y-contrast .list-card,
html.a11y-contrast .note, html.a11y-contrast .partner-box, html.a11y-contrast .tab { border: 2px solid #000; box-shadow: none; }
html.a11y-contrast .legal-body p, html.a11y-contrast .legal-body li { color: #000; }
html.a11y-links a { text-decoration: underline !important; text-decoration-thickness: 2px !important; }
html.a11y-links a:not(.btn) { background: #FFF6B0; color: #000 !important; }
html.a11y-spacing body, html.a11y-spacing body * { line-height: 1.6 !important; letter-spacing: .12em !important; word-spacing: .16em !important; }
html.a11y-spacing p { margin-bottom: 1em; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after {
  animation: none !important; transition: none !important; scroll-behavior: auto !important;
}

/* Flip without rotation when motion is reduced (system setting or toolbar). */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .flip-inner { transition: none; transform: none !important; }
  .js .flip-face { -webkit-backface-visibility: visible; backface-visibility: visible; }
  .js .flip-back { transform: none; visibility: hidden; }
  .js .flip.is-flipped .flip-back { visibility: visible; }
  .js .flip.is-flipped .flip-front { visibility: hidden; }
}
html.a11y-motion.js .flip-inner { transform: none !important; }
html.a11y-motion.js .flip-face { -webkit-backface-visibility: visible; backface-visibility: visible; }
html.a11y-motion.js .flip-back { transform: none; visibility: hidden; }
html.a11y-motion.js .flip.is-flipped .flip-back { visibility: visible; }
html.a11y-motion.js .flip.is-flipped .flip-front { visibility: hidden; }

/* ---------- Cookie consent ---------- */
.cookie-banner {
  position: fixed; z-index: 95; right: 16px; bottom: 16px; left: 84px; max-width: 640px; margin-left: auto;
  padding: 20px 22px; border-radius: var(--r-md); background: var(--white); color: var(--ink);
  border: 1px solid var(--line); box-shadow: 0 24px 50px -20px rgba(11, 16, 48, .5);
  font-size: .9375rem;
}
.cookie-banner p a { font-weight: 700; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cookie-actions .btn-choice { flex: 1 1 0; }
@media (max-width: 560px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 76px; padding: 16px; font-size: .875rem; }
  .cookie-actions { margin-top: 10px; }
  .cookie-actions .btn { min-height: 44px; padding: 8px 14px; font-size: .875rem; }
}
.cookie-dialog {
  width: min(560px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: var(--r-lg);
  box-shadow: 0 30px 80px -20px rgba(11, 16, 48, .6); color: var(--ink);
}
.cookie-dialog::backdrop { background: rgba(11, 16, 48, .55); }
.cookie-form { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.cookie-form h2 { font-size: 1.4rem; font-weight: 800; }
.cookie-form > p { color: var(--muted); font-size: .9375rem; }
.cookie-cat { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px; border-radius: var(--r-sm); background: var(--soft); }
.cookie-cat h3 { font-size: 1rem; font-weight: 700; }
.cookie-cat p { font-size: .875rem; color: var(--muted); margin-top: 2px; }
.cookie-always { font-size: .8125rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.cookie-gpc { font-size: .875rem; color: var(--muted); }
.switch { position: relative; display: inline-flex; flex: none; }
.switch input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.switch span { width: 52px; height: 30px; border-radius: 999px; background: #A3A7BF; position: relative; transition: background-color .2s ease; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--white); transition: transform .2s ease; }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::after { transform: translateX(22px); }
.switch input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.switch input:disabled { cursor: not-allowed; }
.switch input:disabled + span { opacity: .45; }

/* ---------- Print ---------- */
@media print {
  .site-header, .a11y, .cookie-banner, .cookie-dialog, .hero-figure, .tablist, .segmented, .flip-btn { display: none !important; }
  .flip-face { grid-area: auto !important; transform: none !important; backface-visibility: visible !important; box-shadow: none !important; }
  .panel[hidden] { display: block !important; }
  body { color: #000; }
}

/* ==========================================================
   v3.2 — landing pages, licence comparison, FAQ
   ========================================================== */
.page-lede { margin-top: 16px; max-width: 46rem; font-size: 1.125rem; color: var(--on-dark-muted); }
.page-hero .hero-actions { margin-top: 28px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: var(--accent-strong); text-decoration: underline; text-underline-offset: 3px; }
.text-link::after { content: "→"; text-decoration: none; }
.panel-more { margin-top: 24px; }

/* Licence comparison table */
.compare { margin-top: 8px; background: var(--white); }
.compare table { width: 100%; min-width: 40rem; border-collapse: collapse; font-size: .9375rem; }
.compare caption { caption-side: top; text-align: left; padding: 14px 18px; font-weight: 800; font-size: 1rem; border-bottom: 1px solid var(--line); }
.compare th, .compare td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--ink); color: var(--white); font-size: 1rem; }
.compare thead td { background: var(--ink); }
.compare tbody th { width: 22%; background: var(--soft); font-weight: 700; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.table-note { margin-top: 12px; font-size: .875rem; color: var(--muted); max-width: 60rem; }

/* Licence cards */
.licence-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.licence-card { display: flex; flex-direction: column; gap: 14px; padding: 30px; border-radius: var(--r-md); background: var(--ink); color: var(--on-dark-muted); }
.licence-card h3 { color: var(--white); font-size: 1.5rem; font-weight: 800; }
.licence-tagline { color: var(--accent-soft); font-weight: 700; }
.facts { list-style: none; padding: 14px 0 0; margin: 0; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .96rem; }
.facts strong { color: var(--white); }
.best { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .96rem; }
.best strong { color: var(--white); }

/* Feature cards */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.feature { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.feature h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.3; }
.feature p { color: var(--muted); }

/* Two-column sections */
.split-2 { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: center; }
.split-2 > * { flex: 1 1 380px; min-width: 0; }
.split-2 h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.split-2 .muted + .muted { margin-top: 14px; }
.split-2 .text-link, .split-2 .note { margin-top: 18px; }
.list-card-white { background: var(--white); border: 1px solid var(--line); }
.list-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 16px; }

/* Steps on a light background */
.steps-light li { background: var(--white); border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow); }
.steps-light .step-num { color: var(--white); }
.steps-light .step-icon { color: var(--accent); }
.steps-light p { font-weight: 500; }
.steps-light p strong { font-weight: 800; }

/* FAQ */
.faq-wrap { max-width: 860px; }
.faq-wrap h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 24px; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { border-radius: var(--r-sm); background: var(--white); border: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 16px 20px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--tint); color: var(--accent-strong); font-size: 1.25rem; font-weight: 800; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 18px; color: var(--muted); }

/* CTA band */
.cta-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta-inner h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; }
.cta-inner p { color: var(--on-dark-muted); max-width: 38rem; }

html.a11y-contrast .licence-card, html.a11y-contrast .feature, html.a11y-contrast .faq details { border: 2px solid #000; box-shadow: none; }
@media print { .faq details { border: 0; } .faq details p { display: block; } }
.panel-top .muted + .muted { margin-top: 12px; }

/* ==========================================================
   v3.5 — legal contact cards, document meta, direct email
   ========================================================== */
.doc-meta { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.doc-meta li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: var(--white); font-size: .875rem; font-weight: 600; }
.doc-meta span { color: var(--on-dark-muted); font-weight: 500; }

.legal-body .contact-card { margin-top: 18px; }
.contact-card {
  max-width: 34rem; padding: 28px; border-radius: var(--r-md); background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
}
.contact-card-head { display: flex; align-items: center; gap: 16px; }
.contact-card-head .tile { width: 52px; height: 52px; }
.legal-body .contact-card-name, .contact-card-name { margin: 0; font-size: 1.15rem; font-weight: 800; color: var(--ink); }
.legal-body .contact-card-role, .contact-card-role { margin: 2px 0 0; font-size: .9rem; color: var(--muted); }
.contact-list { margin: 0; width: 100%; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.contact-list > div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font-size: .875rem; font-weight: 700; color: var(--muted); }
.contact-list dd { margin: 0; font-weight: 600; word-break: break-word; }
.contact-list a { color: var(--accent-strong); }
@media (max-width: 420px) { .contact-list > div { grid-template-columns: 1fr; gap: 2px; } }

.direct-contact { display: flex; align-items: flex-start; gap: 16px; padding: 22px 24px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.direct-contact .tile { width: 48px; height: 48px; }
.direct-contact-title { font-weight: 800; }
.direct-contact-link { display: inline-block; margin-top: 4px; font-size: 1.1rem; font-weight: 800; color: var(--accent-strong); word-break: break-word; }
.direct-contact-note { margin-top: 6px; font-size: .9rem; color: var(--muted); }
html.a11y-contrast .contact-card, html.a11y-contrast .direct-contact { border: 2px solid #000; box-shadow: none; }
