/* Lexyva AIx — company website (v2)
   Inspired by the interaction patterns of leading privacy platforms (live
   product cards, system diagrams, bento grids, resource desks), in Lexyva's own
   identity: the logo's blue and orange, Inter Tight display type, IBM Plex for
   text and the product's blue law tags / orange stage tags. Self-hosted fonts. */

@font-face { font-family: "Inter Tight"; src: url("../fonts/inter-tight-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #F6F8FB; --paper: #FFFFFF; --ink: #0B1220; --ink-2: #334155; --muted: #5B6676; --line: #E2E8F0; --line-2: #CBD5E1;
  --brand: #0D6FD6; --brand-2: #3B93E8; --brand-dark: #0A4A94; --brand-soft: #E7F0FC;
  --orange: #F58B11; --orange-deep: #C2530A; --orange-soft: #FDECD6;
  --teal: #0C7A6B; --purple: #6A4FD6;
  --dark: #0B1220; --dark-2: #111A2C; --dark-3: #18233A; --dark-line: rgba(255,255,255,.09);
  --on-dark: #E6ECF5; --on-dark-2: #A8B5C8; --accent: #FFA43A;
  --r-low: #2E9E5B; --r-med: #E2900C; --r-high: #D6473C;
  --display: "Inter Tight", "IBM Plex Sans", system-ui, sans-serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16.5px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(13, 111, 214, .18); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 16px; }
.mono { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #34C27A; flex: none; box-shadow: 0 0 0 0 rgba(52,194,122,.5); animation: pulse 2.2s infinite; }

/* type */
.display { font-family: var(--display); font-weight: 700; font-size: clamp(42px, 6.2vw, 90px); line-height: 1; letter-spacing: -.038em; margin-top: 22px; }
.h2 { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -.035em; margin-top: 14px; text-wrap: balance; }
.grad { background: linear-gradient(92deg, var(--brand) 0%, #6A4FD6 55%, #D9650A 100%); background: linear-gradient(in oklch 92deg, var(--brand) 0%, var(--brand-2) 35%, #D9650A 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.accent { color: var(--accent); }
.eyebrow { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); }
.eyebrow--accent { color: var(--accent); }
.kicker { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,.7); backdrop-filter: blur(6px); }
.kicker i { font-style: normal; color: var(--orange-deep); }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 640px; margin: 22px auto 0; }
.lead--light { color: var(--on-dark-2); margin-left: 0; }

/* buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .25s var(--ease), background-color .2s, box-shadow .25s, border-color .2s, color .2s; overflow: hidden; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); pointer-events: none; }
.btn:hover::after { transform: translateX(120%); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14.5px; }
.btn--lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--ink); color: #fff; box-shadow: 0 12px 26px -14px rgba(11,18,32,.7); }
.btn--primary:hover { background: var(--brand); box-shadow: 0 16px 32px -14px rgba(13,111,214,.8); }
.btn--ghost { border-color: var(--line-2); background: rgba(255,255,255,.8); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: #fff; }
.btn--accent { background: var(--accent); color: #1A1206; box-shadow: 0 12px 26px -14px rgba(255,164,58,.8); }
.btn--accent:hover { background: #FFB861; }
.dark .btn--primary { background: #fff; color: var(--ink); }
.dark .btn--primary:hover { background: var(--accent); color: #1A1206; }
.dark .form-card .btn--primary { background: var(--ink); color: #fff; } /* the form card is white inside a dark section */
.dark .form-card .btn--primary:hover { background: var(--brand); color: #fff; }
.dark .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }

/* tags (the product's own device: blue law tag, orange stage tag) */
.tag { display: inline-flex; align-items: center; font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .03em; padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.tag--law { background: var(--brand-soft); color: var(--brand-dark); }
.tag--stage { background: var(--orange-soft); color: #8A4307; }
.tag--dark { background: rgba(59,147,232,.16); color: #9CC8FF; }
.tier { font-family: var(--mono); font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 5px; background: var(--bg); color: var(--ink-2); }
.tier--hot { background: #FBE3DF; color: #8F2219; }
.band { display: inline-block; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; }
.band--med { background: #FBEDD4; color: #8A5300; }

/* ── top bar & navigation ───────────────────────────────────── */
.topbar { background: var(--dark); color: var(--on-dark); font-size: 13.5px; }
.topbar__inner { display: flex; justify-content: center; align-items: center; gap: 22px; min-height: 40px; flex-wrap: wrap; }
.topbar__live { display: inline-flex; align-items: center; gap: 8px; }
.topbar b { color: var(--accent); font-variant-numeric: tabular-nums; }
.topbar a { color: #fff; font-weight: 600; text-underline-offset: 4px; }
.nav { position: sticky; top: 0; z-index: 50; transition: background-color .3s, border-color .3s; border-bottom: 1px solid transparent; background: rgba(246,248,251,.0); }
.nav.is-scrolled { background: rgba(246,248,251,.85); backdrop-filter: saturate(1.4) blur(14px); border-bottom-color: var(--line); }
.nav__inner { height: 70px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__name { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: .02em; }
.brand__name em { font-style: normal; color: var(--brand); }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__links > a, .nav__btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 0; background: transparent; cursor: pointer; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background-color .2s, color .2s; }
.nav__links > a:hover, .nav__btn:hover, .nav__btn[aria-expanded="true"], .nav__links > a.is-active { background: rgba(11,18,32,.06); color: var(--ink); }
.nav__btn i { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .25s var(--ease); }
.nav__btn[aria-expanded="true"] i { transform: rotate(-135deg) translateY(-1px); }
.nav__item { position: relative; }
.mega { position: absolute; top: calc(100% + 12px); left: -20px; width: 760px; display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 6px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 60px -24px rgba(11,18,32,.35); animation: drop .25s var(--ease); }
.mega__col { display: grid; gap: 2px; align-content: start; }
.mega__col .mono { color: var(--muted); font-size: 10.5px; padding: 6px 12px; }
.mega__col a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; text-decoration: none; transition: background-color .2s; }
.mega__col a:hover { background: var(--bg); }
.mega__col b { font-size: 14.5px; font-weight: 600; }
.mega__col a span { font-size: 13px; color: var(--muted); }
.mega__feature { display: grid; align-content: end; gap: 8px; padding: 18px; border-radius: 14px; text-decoration: none; color: #fff; background: radial-gradient(240px 180px at 100% 0%, rgba(245,139,17,.45), transparent 70%), linear-gradient(135deg, var(--dark), #10305E); min-height: 190px; }
.mega__feature .mono { color: var(--accent); font-size: 10.5px; }
.mega__feature b { font-family: var(--display); font-size: 19px; line-height: 1.15; letter-spacing: -.01em; }
.mega__feature span:last-child { font-size: 13px; color: var(--on-dark-2); }
.nav__progress { height: 2px; }
.nav__progress span { display: block; height: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--brand), var(--orange)); }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__toggle span:first-child { top: 17px; } .nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu { display: grid; gap: 4px; padding: 12px 24px 20px; background: rgba(246,248,251,.98); border-bottom: 1px solid var(--line); }
.mobile-menu a:not(.btn) { padding: 12px 4px; text-decoration: none; font-size: 18px; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 12px; height: 50px; }

/* ── hero ───────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding-top: 44px; }
.hero__grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%); pointer-events: none; }
.hero__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(520px 340px at 85% 8%, rgba(245,139,17,.20), transparent 70%), radial-gradient(620px 420px at 12% 20%, rgba(13,111,214,.16), transparent 70%); animation: drift 18s ease-in-out infinite alternate; }
.hero__inner { position: relative; text-align: center; padding-bottom: 64px; }
.hero__ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.live { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 64px; text-align: left; }
.live__card { position: relative; display: flex; flex-direction: column; background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: 0 24px 50px -32px rgba(11,18,32,.4); backdrop-filter: blur(8px); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.live__card::before { content: ""; position: absolute; left: 20px; right: 20px; top: -1px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--brand), var(--orange)); opacity: .9; }
.live__card:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -30px rgba(11,18,32,.45); }
.live__card header { display: flex; align-items: center; gap: 10px; }
.live__card header b { font-size: 15px; font-weight: 600; }
.ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 14px; font-weight: 700; color: #fff; }
.ico--blue { background: var(--brand); } .ico--orange { background: var(--orange-deep); } .ico--purple { background: var(--purple); }
.livepill { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #1D7A48; }
.livepill--sample { color: var(--muted); padding: 2px 8px; border: 1px dashed var(--line-2); border-radius: 999px; }
.live__label { margin-top: 16px; font-size: 12.5px; color: var(--muted); }
.live__num { font-family: var(--display); font-weight: 700; font-size: 52px; line-height: 1; letter-spacing: -.04em; margin: 6px 0 10px; font-variant-numeric: tabular-nums; }
.live__num small { font-family: var(--mono); font-weight: 500; font-size: 14px; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.mini-bars { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.mini-bars li { display: grid; grid-template-columns: 1fr 90px; gap: 12px; align-items: center; font-size: 13px; color: var(--ink-2); }
.mini-bars i, .bars i { position: relative; height: 6px; border-radius: 6px; background: var(--bg); overflow: hidden; }
.mini-bars i::after, .bars i::after { content: ""; position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); border-radius: inherit; transition: transform 1.4s var(--ease); }
.is-in .mini-bars i::after, .is-in .bars i::after, .otabs__ui .bars i::after { transform: scaleX(var(--v)); }
i.r-low::after { background: linear-gradient(90deg, var(--r-low), #5FCF8E); }
i.r-med::after { background: linear-gradient(90deg, var(--r-med), #F5A623); }
i.r-high::after { background: linear-gradient(90deg, var(--r-high), var(--orange)); }
.tiers { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.tiers li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; font-size: 13.5px; padding: 8px 10px; border-radius: 10px; background: var(--bg); }
.gates { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.gates li { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; padding: 8px 10px; border-radius: 10px; background: var(--bg); }
.g { font-family: var(--mono); font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 6px; text-transform: uppercase; letter-spacing: .06em; }
.g--pass { background: #E1F3E7; color: #1D6B3E; } .g--cond { background: #FBEDD4; color: #8A5300; } .g--block { background: #FBE3DF; color: #8F2219; } .g--wait { background: #EEF2F7; color: var(--muted); }
.live__card footer { margin-top: auto; padding-top: 16px; font-size: 13px; color: var(--muted); }
.wires { display: block; width: 100%; height: 80px; margin-top: -2px; }
.wires path { fill: none; stroke: var(--line-2); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.wires path { stroke-dasharray: 4 6; animation: dash 1.6s linear infinite; }
.hub { margin: 0 auto; max-width: 980px; display: grid; gap: 18px; padding: 22px 26px; border-radius: 22px; background: var(--paper); border: 1.5px solid transparent; background-image: linear-gradient(var(--paper), var(--paper)), linear-gradient(90deg, var(--brand), var(--orange)); background-origin: border-box; background-clip: padding-box, border-box; box-shadow: 0 30px 60px -36px rgba(11,18,32,.45); }
.hub__brand { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.hub__brand b { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: .02em; }
.hub__brand b em { font-style: normal; color: var(--brand); }
.hub__brand span { font-size: 13.5px; color: var(--muted); }
.hub__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.hub__steps li { position: relative; display: grid; gap: 2px; padding: 12px; border-radius: 12px; background: var(--bg); font-weight: 600; font-size: 14.5px; text-align: left; transition: background-color .3s, color .3s; }
.hub__steps li .mono { font-size: 10px; color: var(--brand); }
.hub__steps li.is-on { background: var(--ink); color: #fff; }
.hub__steps li.is-on .mono { color: var(--accent); }
.hub__note { font-size: 12px; color: var(--muted); }
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.6); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker span { padding: 18px 26px; font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; display: inline-flex; align-items: center; gap: 26px; }
.ticker span::after { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--orange); opacity: .7; transform: rotate(45deg); }

/* ── sections ───────────────────────────────────────────────── */
section { position: relative; }
.ask, .outcomes, .sectors, .services, .how, .research, .access, .enquire, .faq { padding: clamp(56px, 6.5vw, 92px) 0; }
.research { border-top: 1px solid var(--line); } /* same background as How it works: a hairline separates them */
.dark { background: var(--dark); color: var(--on-dark); }
.dark .h2 { color: #fff; }
.section-head { max-width: 780px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.section-head__aside { max-width: 340px; color: var(--muted); font-size: 15.5px; }
.dark .section-head__aside { color: var(--on-dark-2); }

/* ask */
.ask { overflow: hidden; }
.ask::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--dark-line) 1px, transparent 1px), linear-gradient(90deg, var(--dark-line) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(ellipse at 20% 0%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 20% 0%, #000, transparent 70%); pointer-events: none; }
.ask__grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.ask__grid .btn { margin-top: 28px; }
.asklist { list-style: none; margin: 0; padding: 26px; display: grid; gap: 6px; background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 22px; }
.asklist li { display: grid; grid-template-columns: 112px 1fr auto; gap: 14px; align-items: baseline; padding: 14px 12px; border-radius: 12px; color: var(--on-dark); font-size: 15.5px; transition: background-color .25s; }
.asklist li:hover { background: var(--dark-3); }
.verb { font-family: var(--mono); font-weight: 600; letter-spacing: .12em; font-size: 13px; color: #FF8A7A; display: inline-flex; align-items: center; gap: 8px; }
.verb::before { content: "!"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid currentColor; font-size: 11px; }
.stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.stat { padding: 28px 24px; border-radius: 18px; background: var(--dark-2); border: 1px solid var(--dark-line); transition: border-color .3s, transform .4s var(--ease); }
.stat:hover { border-color: rgba(255,164,58,.45); transform: translateY(-4px); }
.stat b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(44px, 5vw, 68px); line-height: 1; letter-spacing: -.04em; color: var(--accent); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 12px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2); }

/* outcomes */
.otabs { display: grid; grid-template-columns: 330px 1fr; gap: 24px; align-items: stretch; }
.otabs > *, .flow > *, .ask__grid > *, .enquire__grid > *, .faq__grid > *, .radar > * { min-width: 0; } /* let grid items shrink; scrollers stay inside */
.otabs__list { display: grid; gap: 8px; align-content: start; }
.otabs__list button { position: relative; overflow: hidden; display: grid; gap: 4px; text-align: left; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -.015em; color: var(--muted); transition: color .25s, border-color .25s, box-shadow .3s var(--ease); }
.otabs__list button .mono { font-size: 10.5px; color: var(--brand); font-family: var(--mono); letter-spacing: .12em; }
.otabs__list button::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--brand), var(--orange)); }
.otabs__list button[aria-selected="true"] { color: var(--ink); border-color: var(--line-2); box-shadow: 0 18px 36px -26px rgba(11,18,32,.5); }
.otabs.is-playing .otabs__list button[aria-selected="true"]::after { animation: fill var(--dur, 5.5s) linear forwards; }
.otabs__list button:hover { color: var(--ink); }
.otabs__panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center; padding: clamp(24px, 3.4vw, 44px); border-radius: 24px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 30px 60px -44px rgba(11,18,32,.35); min-height: 440px; }
.otabs__copy h3 { font-family: var(--display); font-size: clamp(28px, 3vw, 40px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.otabs__copy p { margin-top: 14px; color: var(--ink-2); font-size: 16.5px; }
.otabs__copy ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.otabs__copy li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.otabs__copy li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230D6FD6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.otabs__copy.swap, .otabs__ui.swap > * { animation: swap-in .5s var(--ease) both; }
.otabs__ui { position: relative; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); padding: 22px; min-height: 320px; overflow: hidden; }
.ui-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.ui-card + .ui-card { margin-top: 10px; }
.ui-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 14px; animation: swap-in .45s var(--ease) both; }
.ui-row + .ui-row { margin-top: 8px; }
.ui-row small { display: block; font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.ui-big { font-family: var(--display); font-weight: 700; font-size: 56px; letter-spacing: -.04em; line-height: 1; }
.ui-big small { font-family: var(--mono); font-weight: 500; font-size: 14px; color: var(--muted); letter-spacing: 0; }
.bars { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.bars li { display: grid; grid-template-columns: 1.3fr 1fr 34px; gap: 12px; align-items: center; font-size: 13.5px; color: var(--ink-2); }
.bars b { font-family: var(--mono); font-size: 12px; font-weight: 600; text-align: right; }
.stack { display: grid; gap: 8px; margin-top: 12px; }
.stack div { display: grid; grid-template-columns: 74px 1fr 52px; gap: 10px; align-items: center; font-size: 13px; }
.stack i { height: 22px; border-radius: 6px; background: linear-gradient(90deg, var(--orange), var(--r-high)); transform-origin: left; animation: grow 1s var(--ease) both; }
.stack div:nth-child(2) i { background: linear-gradient(90deg, #F5A623, var(--orange)); }
.stack div:nth-child(3) i { background: linear-gradient(90deg, var(--purple), #9B87F0); }
.stack div:nth-child(4) i { background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.ev { font-family: var(--mono); font-size: 10.5px; font-weight: 600; color: #0A6B5E; background: #DDF2EE; padding: 2px 7px; border-radius: 5px; }
.ui-gates { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 12px; }
.ui-gates div { display: grid; gap: 6px; padding: 12px 8px; border-radius: 12px; background: #fff; border: 1px solid var(--line); text-align: center; font-size: 12px; animation: swap-in .45s var(--ease) both; }
.ui-gates div b { font-family: var(--display); font-size: 20px; }

/* sectors bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: 24px; min-height: 300px; border-radius: 22px; background: var(--dark-2); border: 1px solid var(--dark-line); color: var(--on-dark); text-decoration: none; isolation: isolate; transition: border-color .3s, transform .45s var(--ease); }
.tile--wide { grid-column: span 2; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(340px circle at var(--mx, 80%) var(--my, 0%), var(--glow, rgba(59,147,232,.22)), transparent 60%); opacity: .7; transition: opacity .3s; }
.tile:hover { border-color: rgba(255,255,255,.2); transform: translateY(-4px); }
.tile:hover::before { opacity: 1; }
.tile--blue { --glow: rgba(59,147,232,.28); --tc: #7DB8FF; } .tile--teal { --glow: rgba(20,184,166,.24); --tc: #5EE0CB; }
.tile--orange { --glow: rgba(245,139,17,.26); --tc: var(--accent); } .tile--purple { --glow: rgba(124,98,232,.3); --tc: #B6A6FF; }
.tile--cta { --glow: rgba(255,164,58,.32); --tc: var(--accent); justify-content: flex-end; background: radial-gradient(260px 220px at 100% 0%, rgba(245,139,17,.30), transparent 70%), radial-gradient(260px 220px at 0% 100%, rgba(13,111,214,.35), transparent 70%), var(--dark-3); }
.tile--cta .tile__go { margin-top: 6px; color: var(--accent); }
.tile__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.tile .mono { color: var(--tc); font-size: 10.5px; }
.tile h3 { font-family: var(--display); font-size: clamp(24px, 2.2vw, 30px); font-weight: 700; letter-spacing: -.025em; line-height: 1.08; color: #fff; margin-top: 6px; }
.tile__sub { font-size: 14px; color: var(--on-dark-2); max-width: 420px; }
.tile__count { text-align: right; flex: none; }
.tile__count b { display: block; font-family: var(--display); font-size: 40px; font-weight: 700; letter-spacing: -.04em; line-height: 1; color: #fff; }
.tile__count span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-2); }
.frag { display: flex; flex-wrap: wrap; gap: 8px; }
.frag .chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--dark-line); font-size: 13px; }
.frag .chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--tc); }
.frag--line { flex-wrap: nowrap; align-items: center; gap: 0; }
.frag--line span { flex: 1; display: grid; place-items: center; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid var(--dark-line); font-family: var(--mono); font-weight: 600; font-size: 13px; position: relative; }
.frag--line span + span { margin-left: 18px; }
.frag--line span + span::before { content: ""; position: absolute; left: -18px; width: 18px; top: 50%; height: 1.5px; background: var(--tc); opacity: .6; }
.frag--line span.on { background: var(--tc); color: var(--dark); border-color: transparent; }
.artefact { display: grid; gap: 6px; padding: 12px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--dark-line); font-family: var(--mono); font-size: 11.5px; color: var(--on-dark-2); }
.artefact span { display: flex; justify-content: space-between; } .artefact b { color: #fff; font-weight: 500; }
.sample { margin-top: auto; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px dashed rgba(255,255,255,.14); }
.sample .mono { color: var(--on-dark-2); font-size: 10px; }
.sample p { margin-top: 6px; font-size: 14.5px; color: var(--on-dark); }
.sample .tag { margin-top: 10px; }
.tile__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.tile__go { font-size: 14px; font-weight: 600; color: #fff; transition: transform .3s var(--ease); }
.tile:hover .tile__go { transform: translateX(6px); }

/* how it works flow */
.flow { display: grid; grid-template-columns: 1fr 120px 1.1fr 120px 1fr; align-items: center; }
.flow__col { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; height: 400px; grid-template-rows: repeat(4, 1fr); }
.flow__col li { align-self: center; display: grid; gap: 2px; padding: 14px 18px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; font-size: 15px; box-shadow: 0 10px 22px -18px rgba(11,18,32,.4); transition: transform .3s var(--ease), border-color .3s; }
.flow__col li:hover { transform: translateX(4px); border-color: var(--brand); }
.flow__col .mono { color: var(--muted); font-size: 10px; }
.flow__col--out li { border-left: 3px solid var(--orange); }
.flow__col--out .mono { color: var(--orange-deep); }
.flow__wires { width: 100%; height: 400px; }
.flow__wires path { fill: none; stroke: var(--line-2); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.flow__wires path:nth-child(odd) { stroke: url(#none); }
.flow.is-in .flow__wires path { stroke-dasharray: 6 8; animation: dash 1.2s linear infinite; stroke: var(--brand-2); }
.flow.is-in .flow__wires--out path { stroke: var(--orange); }
.flow__core { position: relative; display: grid; justify-items: center; gap: 8px; text-align: center; padding: 30px 24px; border-radius: 24px; color: #fff; background: radial-gradient(260px 200px at 100% 0%, rgba(245,139,17,.35), transparent 70%), radial-gradient(260px 200px at 0% 100%, rgba(13,111,214,.45), transparent 70%), var(--dark); box-shadow: 0 40px 80px -40px rgba(11,18,32,.8); }
.how { overflow: hidden; }
.flow__core::after { content: ""; position: absolute; inset: -8px; border-radius: 30px; border: 1px dashed var(--line-2); pointer-events: none; }
.flow__core b { font-family: var(--display); font-size: 26px; letter-spacing: -.02em; }
.flow__core .mono { color: var(--accent); font-size: 10.5px; }
.flow__core ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; width: 100%; }
.flow__core li { padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.07); border: 1px solid var(--dark-line); font-size: 13.5px; }

/* research desk */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filters button { border: 1px solid var(--line-2); background: var(--paper); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 500; cursor: pointer; color: var(--ink-2); transition: all .2s var(--ease); }
.filters button:hover { border-color: var(--ink); color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.papers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.paper { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease); animation: swap-in .45s var(--ease) both; }
.paper:hover { transform: translateY(-6px); box-shadow: 0 30px 56px -34px rgba(11,18,32,.5); }
.cover { position: relative; height: 196px; overflow: hidden; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; isolation: isolate; }
.cover::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 24px 24px; }
.cover::after { content: ""; position: absolute; z-index: -1; width: 240px; height: 240px; right: -70px; bottom: -110px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); box-shadow: 0 0 0 26px rgba(255,255,255,.06), 0 0 0 54px rgba(255,255,255,.04); transition: transform .8s var(--ease); }
.paper:hover .cover::after { transform: scale(1.15) rotate(18deg); }
.cover--blue { background: linear-gradient(135deg, #0A4A94, #0D6FD6 60%, #3B93E8); }
.cover--purple { background: linear-gradient(135deg, #3B2A8C, #6A4FD6); }
.cover--teal { background: linear-gradient(135deg, #064E45, #0C7A6B 60%, #14A08C); }
.cover--navy { background: linear-gradient(135deg, #0B1220, #1B2D52); }
.cover--orange { background: linear-gradient(135deg, #8A3A05, #C2530A 55%, #F58B11); }
.cover--ink { background: linear-gradient(135deg, #111827, #374151); }
.cover__top { display: flex; justify-content: space-between; align-items: center; }
.cover__top .mono { font-size: 10px; color: rgba(255,255,255,.85); }
.cover__brand { display: flex; align-items: center; gap: 6px; font-family: var(--display); font-weight: 800; font-size: 12px; letter-spacing: .04em; }
.cover h4 { font-family: var(--display); font-size: 21px; line-height: 1.12; letter-spacing: -.02em; font-weight: 700; max-width: 92%; }
.paper__body { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px 20px; flex: 1; }
.paper__body p { font-size: 14.5px; color: var(--ink-2); }
.paper__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.paper__foot .mono { font-size: 10.5px; color: var(--muted); }
.paper__btn { border: 0; background: transparent; padding: 0; cursor: pointer; font-weight: 600; font-size: 14.5px; color: var(--brand); display: inline-flex; gap: 6px; align-items: center; }
.paper__btn span { transition: transform .3s var(--ease); }
.paper:hover .paper__btn span { transform: translateX(4px); }
.radar { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; margin-top: clamp(40px, 5vw, 64px); padding: clamp(24px, 3.4vw, 44px); border-radius: 24px; background: var(--paper); border: 1px solid var(--line); }
.radar__head h3 { font-family: var(--display); font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.03em; margin-top: 12px; line-height: 1.08; }
.radar__head p:last-child { margin-top: 12px; color: var(--muted); font-size: 15px; }
.radar__list { list-style: none; margin: 0; padding: 0 0 0 22px; position: relative; display: grid; gap: 18px; border-left: 2px solid var(--line); }
.radar__list li { position: relative; display: grid; gap: 2px; }
.radar__list li::before { content: ""; position: absolute; left: -29px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line-2); }
.radar__list li.radar__next::before { background: var(--orange); border-color: var(--orange); box-shadow: 0 0 0 5px var(--orange-soft); }
.radar__list time { font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.radar__list li.radar__next time { color: var(--orange-deep); }
.radar__list b { font-size: 16px; }
.radar__list span { font-size: 14px; color: var(--muted); }
.radar__list em { font-style: normal; font-weight: 600; color: var(--orange-deep); }
.radar__note { grid-column: 1 / -1; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }

/* access steps */
/* services: three ways we support you */
.services { background: var(--paper); border-bottom: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc > * { min-width: 0; }
.svc__card { position: relative; display: flex; flex-direction: column; padding: 32px 30px 30px; border-radius: 22px; background: var(--bg); border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; }
.svc__card:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: 0 28px 50px -30px rgba(11,18,32,.35); }
.svc__card::before { content: ""; position: absolute; left: 30px; right: 30px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg in oklch, var(--brand), var(--purple)); transform: scaleX(.25); transform-origin: left; transition: transform .6s var(--ease); }
.svc__card:hover::before { transform: scaleX(1); }
.svc__n { font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--brand); }
.svc__card h3 { font-family: var(--display); font-size: 30px; letter-spacing: -.025em; line-height: 1.1; margin-top: 14px; }
.svc__lede { margin-top: 8px; color: var(--ink-2); }
.svc__card ul { list-style: none; margin: 22px 0 28px; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; flex: 1; align-content: start; }
.svc__card li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: 15.5px; }
.svc__card li::before { content: ""; position: absolute; left: 0; top: .32em; width: 16px; height: 16px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%230A4A94' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.svc__card .btn { align-self: flex-start; }
.svc__card--feature { background: var(--dark); border-color: var(--dark); color: var(--on-dark); }
.svc__card--feature::before { background: linear-gradient(90deg in oklch, var(--accent), var(--orange-deep)); }
.svc__card--feature h3 { color: #fff; }
.svc__card--feature .svc__n { color: var(--accent); }
.svc__card--feature .svc__lede, .svc__card--feature li { color: var(--on-dark-2); }
.svc__card--feature ul { border-top-color: var(--dark-line); }
.svc__card--feature li::before { background-color: rgba(255,164,58,.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23FFA43A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.svc__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.svc__meta > div { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 18px 22px; border: 1px dashed var(--line-2); border-radius: 16px; min-width: 0; }
.svc__meta .mono { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.svc__meta ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.svc__meta li { padding: 6px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); font-size: 14px; font-weight: 500; }

.access { background: var(--paper); border-top: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.steps::before { content: ""; position: absolute; left: 8%; right: 8%; top: 36px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: center; padding: 0 12px; }
.step__n { position: relative; display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto; border-radius: 22px; background: var(--paper); border: 2px solid var(--ink); font-family: var(--display); font-size: 30px; font-weight: 700; transition: background-color .3s, color .3s, transform .4s var(--ease), border-radius .4s var(--ease); }
.step:hover .step__n { background: var(--ink); color: #fff; transform: rotate(-6deg) scale(1.06); border-radius: 50%; }
.step h3 { font-family: var(--display); font-size: 28px; letter-spacing: -.02em; margin-top: 22px; }
.step p { margin-top: 8px; color: var(--muted); }

/* enquiry */
.enquire { overflow: hidden; }
.enquire__glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px 420px at 8% 20%, rgba(13,111,214,.32), transparent 70%), radial-gradient(500px 380px at 95% 90%, rgba(245,139,17,.22), transparent 70%); animation: drift 20s ease-in-out infinite alternate; }
.enquire__grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.enquire__copy { position: sticky; top: 120px; }
.enquire__trust { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.enquire__trust li { display: flex; gap: 10px; align-items: center; color: var(--on-dark); font-size: 15px; }
.enquire__trust li::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,164,58,.16); color: var(--accent); font-size: 12px; font-weight: 700; }
.enquire__alt { margin-top: 28px; color: var(--on-dark-2); font-size: 15px; }
.enquire__alt a { color: #fff; text-underline-offset: 4px; }
.form-card { background: var(--paper); color: var(--ink); border-radius: 24px; padding: clamp(24px, 3.2vw, 40px); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.form { display: grid; gap: 18px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-size: 13.5px; font-weight: 600; color: var(--ink-2); padding: 0; }
.field legend { margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; height: 48px; border-radius: 12px; border: 1px solid var(--line-2); background: #FAFCFE; padding: 0 14px; font-size: 15.5px; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 92px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(13,111,214,.14); }
.field.is-invalid input, .field.is-invalid select { border-color: #C0392B; box-shadow: 0 0 0 4px rgba(192,57,43,.12); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 500; transition: all .2s var(--ease); }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips input:checked + span::before { content: "✓"; font-size: 12px; color: var(--accent); }
.chips input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--muted); background: var(--bg); border-radius: 12px; padding: 14px; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--brand); flex: none; }
.consent.is-invalid { box-shadow: 0 0 0 2px #C0392B inset; }
.form__error { color: #A3271B; font-size: 14px; font-weight: 500; }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; }
.is-busy .spinner { display: inline-block; }
.form-done { text-align: center; padding: 28px 8px; outline: none; }
.form-done h3 { font-family: var(--display); font-size: 36px; letter-spacing: -.03em; margin-top: 18px; }
.form-done p { margin-top: 12px; color: var(--ink-2); }
.form-done .btn { margin-top: 26px; }
.form-done__note { font-size: 13px; color: #8A5300 !important; background: #FBEDD4; border-radius: 10px; padding: 10px 12px; }
.form-done code { font-family: var(--mono); font-size: 12px; }
.check { width: 84px; height: 84px; margin: 0 auto; }
.check svg { width: 100%; height: 100%; fill: none; stroke: #2E9E5B; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.check circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .7s var(--ease) forwards; }
.check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .45s .55s var(--ease) forwards; }

/* faq */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq__list { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--paper); padding: 0 22px; transition: border-color .25s, box-shadow .3s; }
.faq details[open] { border-color: var(--line-2); box-shadow: 0 18px 36px -28px rgba(11,18,32,.45); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-family: var(--display); font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bg); font-family: var(--sans); font-size: 18px; transition: transform .3s var(--ease), background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--ink); color: #fff; }
.faq details p { padding: 0 0 20px; color: var(--ink-2); }

/* footer */
.footer { background: var(--dark); color: var(--on-dark-2); padding: 72px 0 28px; }
.footer .footer__cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 56px; border-bottom: 1px solid var(--dark-line); }
.footer__cta h2 { font-family: var(--display); font-size: clamp(30px, 4vw, 52px); letter-spacing: -.035em; line-height: 1.04; color: #fff; max-width: 760px; }
.footer .footer__grid { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding-block: 48px; border-bottom: 1px solid var(--dark-line); }
.footer .brand__name { color: #fff; }
.footer .brand__name em { color: #7DB8FF; }
.footer__tag { margin-top: 14px; font-size: 14px; line-height: 1.7; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer__cols div { display: grid; gap: 10px; align-content: start; }
.footer__cols .mono { color: #fff; font-size: 10.5px; }
.footer__cols a { text-decoration: none; font-size: 14.5px; color: var(--on-dark-2); }
.footer__cols a:hover { color: #fff; }
.footer .footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 22px; font-size: 13px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal[data-delay="1"] { transition-delay: .1s; } .reveal[data-delay="2"] { transition-delay: .2s; } .reveal[data-delay="3"] { transition-delay: .3s; }
.reveal.is-in { opacity: 1; transform: none; }

/* motion layer: gradient headlines, services, steps, radar, FAQ */
.grad { background-image: linear-gradient(92deg, var(--brand) 0%, #6A4FD6 25%, #D9650A 50%, #6A4FD6 75%, var(--brand) 100%); background-image: linear-gradient(in oklch 92deg, var(--brand) 0%, var(--brand-2) 18%, #D9650A 50%, var(--brand-2) 82%, var(--brand) 100%); background-size: 200% 100%; animation: grad-flow 14s linear infinite; }
.svc__card { overflow: hidden; }
.svc__card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(59,147,232,.14), transparent 65%); opacity: 0; transition: opacity .35s; }
.svc__card--feature::after { background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(255,164,58,.16), transparent 65%); }
.svc__card:hover::after { opacity: 1; }
.svc__card > * { position: relative; z-index: 1; }
.svc__card--feature { border: 1px solid transparent; background: linear-gradient(var(--dark), var(--dark)) padding-box, linear-gradient(120deg, var(--accent), var(--brand-2), var(--purple), var(--accent)) border-box; background-size: 100% 100%, 300% 100%; animation: border-flow 7s linear infinite; }
.svc__card li { opacity: 0; transform: translateX(-10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.svc__card li::before { transform: scale(0); transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.svc__card.is-in li, .svc__card.is-in li::before { opacity: 1; transform: none; }
.svc__card li:nth-child(1), .svc__card li:nth-child(1)::before { transition-delay: .45s; }
.svc__card li:nth-child(2), .svc__card li:nth-child(2)::before { transition-delay: .6s; }
.svc__card li:nth-child(3), .svc__card li:nth-child(3)::before { transition-delay: .75s; }
.svc__card .btn span { display: inline-block; transition: transform .3s var(--ease); }
.svc__card .btn:hover span { transform: translateX(4px); }
.svc__meta li { opacity: 0; transform: translateY(8px) scale(.9); transition: opacity .5s var(--ease), transform .5s cubic-bezier(.34, 1.56, .64, 1), background-color .2s, color .2s; }
.svc__meta.is-in li { opacity: 1; transform: none; }
.svc__meta li:nth-child(2) { transition-delay: .08s, .08s, 0s, 0s; } .svc__meta li:nth-child(3) { transition-delay: .16s, .16s, 0s, 0s; } .svc__meta li:nth-child(4) { transition-delay: .24s, .24s, 0s, 0s; }
.svc__meta li:hover { background: var(--brand); color: #fff; }
.steps::after { content: ""; position: absolute; left: 8%; right: 8%; top: 36px; height: 2px; background: linear-gradient(90deg in oklch, var(--brand), var(--purple), var(--orange)); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease) .2s; }
.steps.is-in::after { transform: scaleX(1); }
.steps::before, .steps::after { z-index: 0; }
.step { z-index: 1; } /* numbers sit above the drawn line */
.steps.is-in .step__n { animation: step-ping .9s var(--ease) backwards; } /* backwards: don't hold the end colours, or hover loses its white number */
.steps.is-in .step:nth-child(2) .step__n { animation-delay: .7s; }
.steps.is-in .step:nth-child(3) .step__n { animation-delay: 1.4s; }
.radar__list::before { content: ""; position: absolute; left: -2px; top: 0; width: 2px; height: 100%; background: linear-gradient(var(--orange), var(--brand)); transform: scaleY(0); transform-origin: top; transition: transform 1.6s var(--ease) .3s; }
.radar.is-in .radar__list::before { transform: scaleY(1); }
.radar__list li.radar__next::before { animation: ping-orange 2.4s ease-out infinite; }
.faq details[open] p { animation: swap-in .45s var(--ease) both; }

@keyframes grad-flow { to { background-position: 200% 0; } }
@keyframes border-flow { to { background-position: 0 0, 300% 0; } }
@keyframes step-ping { 0% { box-shadow: 0 0 0 0 rgba(13,111,214,.45); border-color: var(--ink); } 40% { border-color: var(--brand); color: var(--brand); } 100% { box-shadow: 0 0 0 16px rgba(13,111,214,0); border-color: var(--ink); color: var(--ink); } }
@keyframes ping-orange { 0% { box-shadow: 0 0 0 0 rgba(245,139,17,.45); } 70% { box-shadow: 0 0 0 10px rgba(245,139,17,0); } 100% { box-shadow: 0 0 0 5px var(--orange-soft); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes drift { from { transform: translate3d(0,0,0); } to { transform: translate3d(36px, 26px, 0); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52,194,122,.5); } 70% { box-shadow: 0 0 0 9px rgba(52,194,122,0); } 100% { box-shadow: 0 0 0 0 rgba(52,194,122,0); } }
@keyframes dash { to { stroke-dashoffset: -20; } }
@keyframes fill { to { transform: scaleX(1); } }
@keyframes swap-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* responsive */
@media (max-width: 1100px) {
  .live { grid-template-columns: 1fr 1fr; }
  .live__card:last-child { grid-column: span 2; }
  .wires { display: none; }
  .hub { margin-top: 20px; }
  .hub__steps { grid-template-columns: repeat(3, 1fr); }
  .otabs { grid-template-columns: 1fr; }
  .otabs__list { grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); overflow-x: auto; padding-bottom: 6px; }
  .otabs__panel { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; gap: 16px; }
  .flow__col { height: auto; grid-template-rows: none; grid-template-columns: 1fr 1fr; gap: 10px; }
  .flow__wires { display: none; }
  .mega { width: 640px; }
  .enquire__grid, .ask__grid, .faq__grid, .radar { grid-template-columns: 1fr; gap: 36px; }
  .enquire__copy { position: static; }
  .papers { grid-template-columns: 1fr 1fr; }
  .svc { grid-template-columns: 1fr; }
  .svc__meta { grid-template-columns: 1fr; }
}
@media (max-width: 960px) { /* collapse the menu before the longer "Book a consultation" button crowds it */
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
}
@media (max-width: 860px) {
  .bento { grid-template-columns: 1fr; }
  .tile--wide { grid-column: auto; }
  .stats { grid-template-columns: 1fr 1fr; }
  .section-head--split { flex-direction: column; align-items: flex-start; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before { display: none; }
  .footer .footer__grid { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .asklist li { grid-template-columns: 1fr auto; }
  .asklist .verb { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .live { grid-template-columns: 1fr; }
  .live__card:last-child { grid-column: auto; }
  .hub__steps { grid-template-columns: 1fr 1fr; }
  .papers, .row { grid-template-columns: 1fr; }
  .flow__col { grid-template-columns: 1fr; }
  .btn--lg { width: 100%; }
  .topbar a { display: none; }
  .kicker { gap: 6px; font-size: 10px; letter-spacing: .08em; padding: 6px 12px; }
  .kicker span { white-space: nowrap; }
  .ui-gates { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .mini-bars i::after, .bars i::after { transform: scaleX(var(--v)); }
  .check circle, .check path { stroke-dashoffset: 0; }
  .svc__card li, .svc__card li::before, .svc__meta li { opacity: 1; transform: none; }
  .steps::after, .radar__list::before { transform: none; }
}
