/* Verixmed
 *
 * The Nexsas "financial management platform" template, 1:1 from its CSS and
 * computed styles (.template/SPEC.md), hand-written without Tailwind:
 * Inter Tight at normal tracking, ink #1A1A1C, navy #142E6E to ice #EDF2FF
 * on the inset panels, grey 4px trays (#F0F2F6) around white cards, the
 * floating white header bar, btn-v3 buttons, blur-and-rise reveals.
 *
 * Deviations, all for folder rules: muted text is a solid #5E5E61 rather than
 * ink at 60% (the template's 40% stat labels failed AA, and 60% failed on its
 * own grey trays); the panel gradients reach ice later, so white text on them
 * stays above 4.5:1; the violet that leaked into the template's inner pages
 * is navy here; phone gutters are 16px; one spacing pair (--stack between the
 * items of a text block, --block above a card grid) replaces the template's
 * mixed 12/16/20/32 gaps.
 *
 *  1 tokens and base   2 type   3 layout   4 buttons, badges, ticks
 *  5 header, menus, sidebar   6 home   7 inner pages   8 forms
 *  9 footer   10 motion
 */

/* ============================================================ 1 TOKENS */
:root {
  --ink: #1A1A1C;
  --ink-80: #48484A;          /* ink at 80% on white */
  --muted: #5E5E61;           /* body text: 6.4:1 on white, 5.7:1 on #F0F2F6 */
  --navy: #142E6E;
  --navy-2: #2B4785;
  --ice: #EDF2FF;
  --accent: #FCFCFC;
  --on-panel: rgba(252, 252, 252, .86);
  --tray: #F0F2F6;
  --mist: #F4F5F8;
  --paper: #F9FAFB;
  --snow: #FCFCFD;
  --stroke-1: #DFE4EB;
  --stroke-2: #E3E7ED;
  --stroke-3: #D7DDE5;
  --stroke-4: #ECEFF4;
  --cyan: #CDF5F8;
  --green: #E8FBC6;
  --yellow: #FDF7BC;
  --error: #B42318;
  --grad: linear-gradient(180deg, #142E6E 0%, #22397A 30%, #6F86BD 72%, #EDF2FF 100%);
  --grad-head: linear-gradient(180deg, #142E6E 0%, #1F3776 45%, #3D5899 80%, #6C83BA 100%);
  --ease: cubic-bezier(.4, 0, .2, 1);
  --out: cubic-bezier(.25, .46, .45, .94);
  --stack: 20px;
  --block: 56px;
  --sec: 156px;
  --gut: 20px;
  --font: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
@media (max-width: 1279px) { :root { --sec: 96px; } }
@media (max-width: 1023px) { :root { --sec: 80px; --block: 48px; } }
@media (max-width: 767px)  { :root { --sec: 72px; --block: 40px; --stack: 16px; } }
@media (max-width: 639px)  { :root { --gut: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; line-height: 1.5; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.sb-lock { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; color: var(--muted); }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font); color: var(--ink); font-weight: 400; }
figure { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 6px; }
.panel :focus-visible, .site-footer :focus-visible, .phead :focus-visible { outline-color: #fff; }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 10000;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px;
}
.skip-link:focus { top: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis-smooth { scroll-behavior: auto !important; }
.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis-stopped { overflow: hidden; }

/* ============================================================== 2 TYPE */
.h2 { font-size: 52px; line-height: 1.2; font-weight: 400; }
.h4 { font-size: 32px; line-height: 1.3; font-weight: 400; }
.h5 { font-size: 24px; line-height: 1.4; font-weight: 400; }
.lede { font-size: 18px; line-height: 1.5; }
@media (max-width: 1279px) { .h2 { font-size: 40px; line-height: 1.2; } }
@media (max-width: 767px)  { .h2 { font-size: 32px; line-height: 1.3; } .h4 { font-size: 26px; } }
@media (max-width: 639px)  { .h2 { font-size: 28px; line-height: 1.3; } .h4 { font-size: 24px; line-height: 1.4; } .lede { font-size: 16px; } p { font-size: 15px; } }

/* ============================================================ 3 LAYOUT */
.wrap { width: 100%; max-width: calc(1290px + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.sec { padding-block: var(--sec); }
.sec--80 { padding-block: 80px; }
@media (max-width: 767px) { .sec--80 { padding-block: 72px; } }
.sec--tight { padding-block: 72px; }
.sec--tint { background: var(--mist); }
.sec--paper { background: var(--paper); }
.sec--tint + .sec--tint, .sec--paper + .sec--paper { padding-top: 0; }

/* The inset gradient panel */
.panel {
  margin: 0 20px;
  background: var(--grad);
  border-radius: 56px;
  color: var(--accent);
}
@media (max-width: 1279px) { .panel { border-radius: 32px; } }
@media (max-width: 1023px) { .panel { border-radius: 24px; } }
@media (max-width: 767px)  { .panel { margin: 0 8px; border-radius: 16px; } }
.panel--mission { border-radius: 32px; }
.on-panel { color: var(--accent); }
.on-panel-80 { color: var(--on-panel); }

/* The grey tray around white cards: radius R, 4px padding, inner R-4 */
.tray { background: var(--tray); padding: 4px; border-radius: 32px; }

/* Heading blocks */
.shead { display: flex; flex-direction: column; align-items: flex-start; gap: var(--stack); margin-bottom: var(--block); max-width: 900px; }
.shead--c { align-items: center; text-align: center; margin-inline: auto; max-width: 820px; }
.shead .lede { max-width: 690px; }
.shead--panel .h2 { color: var(--accent); }
.shead--panel .lede { color: var(--on-panel); }
.center-btn { display: flex; justify-content: center; margin-top: var(--block); }
@media (max-width: 1023px) { .shead { align-items: center; text-align: center; margin-inline: auto; } }

/* ==================================================== 4 BUTTONS, BADGES */
.btn {
  --shift: 0px; --back: 0px;
  position: relative;
  display: inline-flex; align-items: center; gap: 16px;
  width: fit-content; height: 52px; padding: 4px;
  border-radius: 16px;
  font-size: 16px; line-height: 24px; font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
}
.b-ic {
  position: relative; z-index: 2;
  display: grid; place-items: center;
  width: 44px; height: 44px; flex: none;
  border-radius: 13px;
  transition: transform .7s var(--ease);
}
.b-ic svg { width: 24px; height: 24px; }
.b-tx { padding-right: 16px; transition: transform .7s var(--ease); }
.b-tx::first-letter { text-transform: uppercase; }
@media (hover: hover) {
  .btn:hover .b-ic { transform: translateX(var(--shift)); }
  .btn:hover .b-tx { transform: translateX(var(--back)); }
}
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark .b-ic { background: #fff; color: var(--ink); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white .b-ic { background: var(--ink); color: #fff; }
.btn--smoke { background: rgba(26, 26, 28, .28); color: #fff; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.btn--smoke .b-ic { background: var(--ink); color: #fff; }
.btn--line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(26, 26, 28, .1); }
.btn--line .b-ic { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-row--c { justify-content: center; align-items: center; }
@media (max-width: 767px) {
  .hero-btns, .phead .btn-row { flex-direction: column; align-items: center; width: 80%; margin-inline: auto; }
  .hero-btns > span, .hero-btns .btn, .phead .btn-row .btn { width: 100%; }
}

.badge {
  display: inline-flex; align-items: center;
  min-height: 30px; padding: 6px 20px;
  border-radius: 999px;
  background: rgba(252, 252, 252, .2);
  -webkit-backdrop-filter: blur(17px); backdrop-filter: blur(17px);
  color: #fff; font-size: 12px; line-height: 18px; text-transform: uppercase;
}
.badge--cyan, .badge--green, .badge--yellow { color: var(--ink); font-size: 14px; line-height: 21px; text-transform: none; min-height: 33px; -webkit-backdrop-filter: none; backdrop-filter: none; }
.badge--cyan { background: var(--cyan); }
.badge--green { background: var(--green); }
.badge--yellow { background: var(--yellow); }

.ticks { display: flex; flex-direction: column; gap: 8px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; color: var(--muted); font-size: 18px; line-height: 27px; }
.tk { flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 3.5px; border-radius: 50%; background: var(--tray); color: var(--ink); }
.tk svg { width: 10px; height: 7px; }
.ticks--no .tk svg { width: 10px; height: 10px; }
.ticks--row { flex-direction: row; flex-wrap: wrap; gap: 8px 24px; }
.ticks--row li { font-size: 14px; line-height: 21px; }
.ticks--row .tk { width: 18px; height: 18px; margin-top: 1.5px; background: var(--ink); color: #fff; }
@media (max-width: 767px) { .ticks li { font-size: 16px; line-height: 24px; } .tk { margin-top: 2px; } }

/* ======================================================== 5 HEADER */
.site-header {
  position: fixed; z-index: 50; top: 20px; left: 0; right: 0;
  margin-inline: auto;
  width: calc(100% - 40px); max-width: 1290px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 6px;
  background: #fff;
  border-radius: 20px;
  transition: top .3s ease-in-out;
}
.site-header.is-scrolled { top: 8px; }
@media (min-width: 1280px) { .site-header { width: 1140px; padding-block: 0; } }
@media (min-width: 1440px) { .site-header { width: 1290px; } }
@media (max-width: 639px)  { .site-header { width: calc(100% - 32px); top: 16px; } }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-disc { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; flex: none; }
.brand-disc .mark { width: 24px; height: 24px; }
.brand-word { font-size: 30px; line-height: 1; font-weight: 400; letter-spacing: -.01em; }
@media (max-width: 1023px) { .brand-word { font-size: 24px; } }
@media (max-width: 374px)  { .brand-word { font-size: 21px; } }
.brand--foot { color: #fff; }
.brand--foot .brand-disc { background: #fff; color: var(--ink); }

.main-nav { display: none; }
@media (min-width: 1280px) { .main-nav { display: block; } }
.nav { display: flex; align-items: center; gap: 24px; }
.nav > li > a {
  display: inline-flex; align-items: center; gap: 4px;
  padding-block: 20px;
  color: var(--muted); font-size: 16px; line-height: 24px;
  transition: color .3s;
}
.nav > li > a svg { width: 16px; height: 16px; transition: transform .3s; }
.nav > li > a:hover, .nav > li > a[aria-current], .nav > li.is-on > a { color: var(--ink); }
.has-drop { position: relative; }
.mega, .dropdown {
  position: absolute; z-index: 60;
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid rgba(223, 228, 235, .5);
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 24px 48px -24px rgba(20, 46, 110, .18);
  opacity: 0; visibility: hidden;
  transform: translateY(10px) scale(.98);
  transition: opacity .3s, transform .3s, visibility .3s;
}
.mega::before, .dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.mega { left: 0; right: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 12px 24px 24px; }
.dropdown { left: -12px; width: 340px; padding: 12px; }
.has-mega:hover > .mega, .has-mega:focus-within > .mega,
.has-drop:hover > .dropdown, .has-drop:focus-within > .dropdown { opacity: 1; visibility: visible; transform: none; }
.has-mega.is-shut > .mega, .has-drop.is-shut > .dropdown { opacity: 0; visibility: hidden; }
.has-mega:hover > a svg, .has-mega:focus-within > a svg, .has-drop:hover > a svg, .has-drop:focus-within > a svg { transform: rotate(180deg); }
.mega-col { display: flex; flex-direction: column; }
.mega-h { padding: 12px; font-size: 14px; line-height: 21px; font-weight: 500; color: var(--muted); }
.mega-col ul { margin-block: 8px; }
.mega-col li a, .dropdown a { display: block; padding: 12px; border-radius: 10px; color: var(--ink); transition: background .4s; }
.mega-col li a:hover, .dropdown a:hover, .mega-col li a[aria-current], .dropdown a[aria-current] { background: var(--mist); }
.mega-card { display: flex; gap: 8px; align-items: flex-start; margin-top: 8px; padding: 12px; border: 1px solid var(--stroke-1); border-radius: 12px; box-shadow: 0 1px 2px rgba(16, 24, 40, .06); transition: border-color .3s; }
.mega-card:hover { border-color: rgba(26, 26, 28, .3); }
.mc-ic, .dd-ic { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--navy); color: #fff; }
.mc-ic svg, .dd-ic svg { width: 16px; height: 16px; }
.mega-card b, .dropdown b { display: block; font-size: 16px; line-height: 24px; font-weight: 400; color: var(--ink); }
.mega-card small, .dropdown small { display: block; font-size: 14px; line-height: 21px; color: var(--muted); }
.dropdown a { display: flex; gap: 12px; align-items: flex-start; }
.dropdown .dd-ic { width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--navy); border: 1px solid var(--stroke-1); }
.dropdown .dd-ic svg { width: 22px; height: 22px; }

.head-right { display: flex; align-items: center; gap: 8px; }
.head-cta { display: none; }
@media (min-width: 640px) { .head-cta { display: inline-flex; } }
.burger { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 48px; height: 48px; border-radius: 50%; background: var(--tray); }
.burger span { display: block; width: 24px; height: 2px; background: #070B10; }
@media (min-width: 1280px) { .burger { display: none; } }

/* Sidebar */
.sidebar {
  position: fixed; z-index: 9999; top: 0; right: 0;
  width: 100%; height: 100vh; height: 100dvh;
  overflow-y: auto;
  padding: 20px;
  background: #fff;
  border-radius: 24px 0 0 24px;
  transform: translateX(100%);
  transition: transform .3s var(--ease);
  box-shadow: -24px 0 60px -30px rgba(20, 46, 110, .35);
}
.sidebar.is-open { transform: none; }
@media (min-width: 640px) { .sidebar { width: 50%; min-width: 380px; padding: 32px; } }
.sb-top { display: flex; align-items: center; justify-content: space-between; }
.sb-close { position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--tray); }
.sb-close span { position: absolute; left: 12px; top: 19px; width: 16px; height: 2px; background: var(--ink); }
.sb-close span:first-child { transform: rotate(45deg); }
.sb-close span:last-child { transform: rotate(-45deg); }
.sb-label { display: flex; align-items: center; gap: 12px; margin: 32px 0 8px; color: var(--ink); }
.sb-label::after { content: ""; flex: 1; height: 1px; background: var(--stroke-4); }
.sb-toggle, .sb-link { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 10px 0; color: var(--muted); font-size: 16px; line-height: 24px; text-align: left; }
.sb-link[aria-current] { color: var(--ink); }
.sb-toggle svg { width: 18px; height: 18px; transition: transform .3s; }
.sb-toggle[aria-expanded="true"] { color: var(--ink); }
.sb-toggle[aria-expanded="true"] svg { transform: rotate(90deg); }
.sb-sub { margin-left: 16px; }
.sb-sub a { display: block; padding: 10px 0; color: var(--ink); }
.sb-contact { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--stroke-4); display: flex; flex-direction: column; gap: 14px; }
.sb-contact li { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 15px; }
.sb-contact svg { width: 20px; height: 20px; color: var(--navy); flex: none; }
.sb-contact a { color: var(--ink); }

/* ============================================================== 6 HOME */
/* Hero */
.hero {
  position: relative;
  margin: 8px 8px 0;
  overflow: hidden;
  background: var(--grad);
  border-radius: 56px;
  text-align: center;
}
@media (max-width: 1279px) { .hero { border-radius: 32px; } }
@media (max-width: 1023px) { .hero { border-radius: 24px; } }
@media (max-width: 767px)  { .hero { border-radius: 16px; } }
.hero-inner { padding-top: 206px; display: flex; flex-direction: column; align-items: center; }
@media (max-width: 1023px) { .hero-inner { padding-top: 160px; } }
@media (max-width: 639px)  { .hero-inner { padding-top: 132px; } }
.hero-text { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.hero-proof { display: flex; align-items: center; gap: 12px; }
.hi-dot {
  display: grid; place-items: center;
  width: 50px; height: 50px; border-radius: 50%;
  box-shadow: 0 0 0 2px #fff;
  color: var(--ink);
}
.hi-dot + .hi-dot { margin-left: -26px; }
.hi-dot svg { width: 24px; height: 24px; }
.hp-txt { max-width: 104px; text-align: left; color: rgba(255, 255, 255, .86); font-size: 14px; line-height: 21px; }
.hero-copy { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero-title { max-width: 820px; color: #fff; font-size: 68px; line-height: 1.1; font-weight: 500; }
.hero-lede { max-width: 682px; color: var(--on-panel); font-size: 18px; line-height: 27px; }
.hero-btns { margin-top: 76px; justify-content: center; }
@media (max-width: 1279px) { .hero-title { font-size: 52px; line-height: 1.2; } .hero-btns { margin-top: 64px; } .hero-lede { max-width: 620px; } }
@media (max-width: 767px)  { .hero-title { font-size: 40px; } .hero-btns { margin-top: 52px; } }
@media (max-width: 639px)  { .hero-title { font-size: 34px; line-height: 1.22; } .hero-lede { font-size: 16px; line-height: 24px; } }

/* The card wheel: twelve glass cards round a circle, cropped by the panel */
.wheel-wrap { --s: 897px; position: relative; width: 100%; height: calc(var(--s) * .45); margin-top: 56px; }
@media (max-width: 1023px) { .wheel-wrap { --s: 700px; } }
@media (max-width: 639px)  { .wheel-wrap { --s: 470px; margin-top: 48px; } }
.wheel { position: absolute; left: 50%; top: 0; width: var(--s); height: var(--s); margin-left: calc(var(--s) / -2); will-change: transform; }
.wcard {
  position: absolute; left: 50%; top: 50%;
  width: calc(var(--s) * .2); height: calc(var(--s) * .29);
  margin-left: calc(var(--s) * -.1); margin-top: calc(var(--s) * -.145);
  transform: rotate(calc(var(--i) * 30deg)) translateY(calc(var(--s) * -.335));
  border-radius: calc(var(--s) * .028);
  background: linear-gradient(160deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, .1) 70%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55);
  color: #fff;
  overflow: hidden;
}
.wc-dots { position: absolute; left: 12%; top: 9%; display: flex; }
.wc-dots i { width: calc(var(--s) * .028); height: calc(var(--s) * .028); border-radius: 50%; background: rgba(255, 255, 255, .55); }
.wc-dots i + i { margin-left: calc(var(--s) * -.012); background: rgba(255, 255, 255, .35); }
.wc-ic { position: absolute; left: 12%; bottom: 10%; width: calc(var(--s) * .04); height: calc(var(--s) * .04); }
.wc-ic svg { width: 100%; height: 100%; }
.wc-name {
  position: absolute; right: 12%; top: 9%;
  writing-mode: vertical-rl;
  font-size: calc(var(--s) * .019); line-height: 1.2; letter-spacing: .08em; text-transform: uppercase;
  max-height: 80%;
}
.wc-group { position: absolute; left: 12%; top: 50%; font-size: calc(var(--s) * .013); opacity: .8; transform-origin: left top; }

/* Trusted By -> research we write about */
.trusted { padding-block: 112px; }
@media (max-width: 1279px) { .trusted { padding-block: 80px; } }
@media (max-width: 1023px) { .trusted { padding-block: 64px; } }
@media (max-width: 639px)  { .trusted { padding-block: 48px; } }
.trusted-h { text-align: center; font-size: 24px; line-height: 1.4; margin-bottom: 40px; }
.marquee {
  display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #fff 20%, #fff 80%, transparent);
  mask-image: linear-gradient(90deg, transparent, #fff 20%, #fff 80%, transparent);
}
.mq-track { display: flex; flex: none; align-items: center; gap: 56px; padding-right: 56px; animation: mq 40s linear infinite; }
@media (max-width: 1023px) { .mq-track { animation-duration: 50s; } }
.mq-track li { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 20px; line-height: 36px; color: var(--ink); }
.mq-track svg { width: 28px; height: 28px; color: var(--navy); }
@keyframes mq { to { transform: translateX(-100%); } }

/* Tabs */
.tabs-sec .wrap { display: flex; flex-direction: column; gap: 32px; }
.tabbar { position: relative; display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--mist); }
.tab {
  position: relative; z-index: 2; flex: 1;
  padding: 14px 24px; border-radius: 80px;
  background: #fff; color: var(--muted);
  font-size: 16px; line-height: 24px; font-weight: 500;
  transition: color .3s;
}
.tab.is-on { background: transparent; color: #fff; }
.tab-ind { position: absolute; z-index: 1; left: 4px; top: 4px; width: 0; height: 0; border-radius: 80px; background: var(--ink); }
.tabbar.is-ready .tab-ind { transition: all .5s ease-out; }
.tabbar:not(.is-ready) .tab.is-on { background: var(--ink); }
@media (max-width: 767px) {
  .tabbar { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0; background: none; border-radius: 0; }
  .tab { background: var(--tray); border-radius: 16px; }
  .tab:last-child { grid-column: 1 / -1; }
  .tab-ind { border-radius: 16px; }
}
.tpanel, .split { display: grid; grid-template-columns: 1fr 1fr; min-height: 624px; }
.tpanel.is-entering { animation: tpIn .4s linear; }
@keyframes tpIn { from { opacity: 0; transform: translateY(50px); } }
.tp-img, .split-img { border-radius: 28px 0 0 28px; overflow: hidden; }
.tp-img img, .split-img img { width: 100%; height: 100%; object-fit: cover; }
.tp-text, .split-text {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 56px;
  padding: 56px 56px 56px 42px;
  background: var(--paper);
  border-radius: 0 28px 28px 0;
}
.tp-copy { display: flex; flex-direction: column; gap: var(--stack); max-width: 547px; }
.tp-copy p { font-size: 16px; line-height: 24px; }
.split { min-height: 520px; }
@media (max-width: 1279px) { .tpanel, .split { min-height: 520px; } .tp-text, .split-text { gap: 40px; } }
@media (max-width: 767px) {
  .tpanel, .split { grid-template-columns: 1fr; min-height: 0; }
  .tp-img, .split-img { border-radius: 28px 28px 0 0; height: 300px; }
  .tp-text, .split-text { border-radius: 0 0 28px 28px; padding: 32px 20px; align-items: center; text-align: center; gap: 32px; }
  .tp-copy { align-items: center; }
  .tp-copy .ticks { text-align: left; }
}

/* Mission panel */
.panel--mission .wrap { display: flex; flex-direction: column; gap: 70px; }
@media (max-width: 767px) { .panel--mission .wrap { gap: 48px; } }
.mission-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.mission-text { display: flex; flex-direction: column; gap: var(--stack); max-width: 905px; }
.mission-text p { font-size: 16px; line-height: 24px; }
@media (max-width: 1023px) { .mission-top { flex-direction: column; align-items: center; text-align: center; } }
.mission-photo { margin-bottom: -66px; border-radius: 32px; box-shadow: 0 0 0 2px #fff; overflow: hidden; height: 612px; }
.mission-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; }
@media (max-width: 1023px) { .mission-photo { height: 440px; } }
@media (max-width: 767px)  { .mission-photo { margin-bottom: -40px; } }
@media (max-width: 639px)  { .mission-photo { height: 300px; } }
.phase-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 8px; background: #fff; border-radius: 32px; }
.ph-cell { display: flex; flex-direction: column; gap: 8px; padding: 16px 32px; border-radius: 16px; transition: background .3s; }
.ph-cell:hover { background: var(--mist); }
.ph-l { font-size: 20px; line-height: 30px; color: var(--muted); }
.ph-v { font-size: 30px; line-height: 1.25; font-weight: 500; color: var(--ink); }
@media (max-width: 1279px) { .ph-v { font-size: 26px; } }
@media (max-width: 1023px) { .phase-bar { grid-template-columns: 1fr 1fr; } .ph-cell { text-align: center; } }
@media (max-width: 639px)  { .phase-bar { grid-template-columns: 1fr; } .ph-v { font-size: 24px; } .ph-l { font-size: 16px; line-height: 24px; } }

/* Bento */
.bento {
  display: grid; gap: 4px; border-radius: 24px;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 202px 202px;
  grid-template-areas: "a b c p" "d w e p";
}
.bento > :nth-child(1) { grid-area: a; }
.bento > :nth-child(2) { grid-area: b; }
.bento > :nth-child(3) { grid-area: c; }
.bento > :nth-child(4) { grid-area: p; }
.bento > :nth-child(5) { grid-area: d; }
.bento > :nth-child(6) { grid-area: w; }
.bento > :nth-child(7) { grid-area: e; }
.btile {
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  padding: 32px; background: #fff; border-radius: 21px;
}
.bt-ic { display: grid; place-items: center; width: 56px; height: 56px; flex: none; border-radius: 12px; background: var(--navy); color: #fff; }
.bt-ic svg { width: 24px; height: 24px; }
.bt-t { font-size: 20px; line-height: 28px; color: var(--muted); transition: color .3s; }
a.btile:hover .bt-t { color: var(--ink); }
.bt-cta { font-size: 20px; line-height: 28px; color: var(--ink); }
.bphoto { border-radius: 21px; overflow: hidden; }
.bphoto img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease-in-out; }
.bphoto:hover img { transform: scale(1.05); }
@media (max-width: 1023px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: minmax(180px, auto); grid-template-areas: "a b" "c d" "p p" "w e"; padding: 12px; gap: 12px; }
  .btile { padding: 24px; gap: 24px; }
  .bento > :nth-child(4) { height: 320px; }
}
@media (max-width: 639px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "a" "b" "c" "d" "p" "w" "e"; grid-auto-rows: auto; }
  .btile { min-height: 160px; }
  .bento > :nth-child(6) { height: 220px; }
}

/* Area cards (the template's Impressive cards) */
.igrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 1023px) { .igrid { grid-template-columns: 1fr; gap: 12px; } }
.icard { display: flex; flex-direction: column; gap: 4px; padding: 4px; background: var(--tray); border-radius: 28px; color: var(--ink); }
.icard-vis { position: relative; display: block; height: 375px; border-radius: 24px; overflow: hidden; }
.icard-vis img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease-in-out; }
.icard:hover .icard-vis img { transform: scale(1.05); }
.icard-tag { position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: #fff; font-size: 14px; line-height: 21px; color: var(--ink); }
.icard-tag svg { width: 20px; height: 20px; color: var(--navy); }
.icard-cap { display: flex; flex-direction: column; gap: 10px; min-height: 120px; padding: 16px; background: #fff; border-radius: 24px; }
.icard-h { font-size: 20px; line-height: 28px; color: var(--ink); }
.icard-p { font-size: 16px; line-height: 24px; color: var(--muted); max-width: 520px; }
@media (max-width: 639px) { .icard-vis { height: 260px; } .icard { border-radius: 24px; } }

/* Rights slider (the testimonial Swiper) */
.slider { --per: 4; overflow: hidden; border-radius: 32px; touch-action: pan-y; }
.sl-track { display: flex; gap: 4px; will-change: transform; }
.rcard {
  flex: 0 0 calc((100% - (var(--per) - 1) * 4px) / var(--per));
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  min-height: 480px; padding: 42px 32px;
  background: #fff; border-radius: 28px;
  transition: opacity .6s ease-out;
}
.rcard.is-off { opacity: .3; }
.rc-top { display: flex; flex-direction: column; gap: var(--stack); }
.rc-pill { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; padding: 6px 12px 6px 8px; border-radius: 30px; background: var(--ice); color: var(--navy); font-size: 14px; line-height: 15px; font-weight: 500; }
.rc-pill svg { width: 16px; height: 16px; }
.rc-t { font-size: 24px; line-height: 1.4; }
.rc-q { font-size: 18px; line-height: 27px; color: var(--ink-80); }
.rc-who { display: flex; align-items: center; gap: 12px; max-width: 254px; padding: 6px 24px 6px 6px; border-radius: 999px; background: var(--ice); }
.rc-ic { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--navy); color: #fff; }
.rc-ic svg { width: 22px; height: 22px; }
.rc-who b { display: block; font-size: 16px; line-height: 24px; font-weight: 600; }
.rc-who small { display: block; font-size: 14px; line-height: 21px; color: var(--muted); }
@media (max-width: 767px) { .slider { border-radius: 24px; } .rcard { border-radius: 20px; min-height: 420px; padding: 32px 24px; } }
.sl-dots { display: flex; width: fit-content; gap: 0; margin: 36px auto 0; padding: 4px; border-radius: 56px; background: var(--ink); }
.sl-dots button { position: relative; width: 16px; height: 16px; }
.sl-dots button::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: rgba(255, 255, 255, .3); transition: background .3s; }
.sl-dots button[aria-current="true"]::before { background: #fff; }

/* Safeguards (the template's G2 badges + big stats) */
.guard-sec .wrap { display: flex; flex-direction: column; align-items: center; gap: 70px; }
@media (max-width: 767px) { .guard-sec .wrap { gap: 40px; } }
.guard-h { max-width: 1100px; text-align: center; }
.gbadges { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.gbadge { position: relative; width: 139px; transform: scale(.9); }
.gbadge--mid { transform: none; }
.gbadge svg { width: 139px; height: 159px; }
.gb-body { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.gb-top { fill: var(--ink); }
.gb-stripe { fill: var(--navy); }
.gbadge:nth-child(2) .gb-stripe, .gbadge:nth-child(4) .gb-stripe { fill: #6F86BD; }
.gb-tag { position: absolute; left: 0; right: 0; top: 13px; text-align: center; color: #fff; font-size: 10px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.gb-name { position: absolute; left: 14px; right: 14px; top: 46px; height: 56px; display: grid; place-items: center; text-align: center; font-size: 18px; line-height: 1.15; font-weight: 600; color: var(--ink); }
@media (max-width: 639px) { .gbadge { width: 104px; } .gbadge svg { width: 104px; height: 119px; } .gb-tag { top: 9px; font-size: 8px; } .gb-name { top: 32px; left: 10px; right: 10px; height: 44px; font-size: 14px; } }
.scards { display: flex; gap: 4px; width: 100%; }
.scard { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 52px; background: #fff; border-radius: 28px; }
.scard-n { font-size: 40px; line-height: 1.2; font-weight: 500; }
@media (max-width: 1023px) { .scards { flex-direction: column; gap: 4px; } .scard { padding: 32px; } .scard-n { font-size: 32px; } }

/* FAQ */
.faq-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.faq-left { display: flex; flex-direction: column; align-items: flex-start; gap: var(--stack); max-width: 420px; }
@media (max-width: 1279px) { .faq-row { flex-direction: column; align-items: center; } .faq-left { align-items: center; text-align: center; max-width: 640px; } }
.acc { display: flex; flex-direction: column; gap: 4px; width: 100%; max-width: 653px; }
.acc-item { background: #fff; border-radius: 28px; padding: 0 32px; }
.acc-h { font-size: inherit; }
.acc-btn { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 32px 0; text-align: left; font-size: 20px; line-height: 28px; color: var(--ink); transition: padding .5s ease-in-out; }
.is-open > .acc-h .acc-btn { padding-bottom: 16px; }
.acc-arrow { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--tray); color: var(--ink); transition: background .3s, color .3s, transform .3s; }
.acc-arrow svg { width: 16px; height: 16px; }
.is-open .acc-arrow { background: var(--navy); color: #fff; transform: rotate(180deg); }
.acc-panel { overflow: hidden; }
.acc-inner { display: flex; flex-direction: column; gap: 24px; padding-bottom: 32px; }
.acc-inner p { font-size: 18px; line-height: 27px; color: var(--ink-80); max-width: 520px; }
@media (max-width: 1023px) { .acc-btn { font-size: 16px; line-height: 24px; } }
@media (max-width: 767px) { .acc { border-radius: 24px; } .acc-item { border-radius: 18px; padding: 0 20px; } .acc-btn { padding: 24px 0; } .acc-inner p { font-size: 15px; line-height: 23px; } .acc-inner { padding-bottom: 24px; } }

/* Articles panel */
.bgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
@media (max-width: 1023px) { .bgrid { grid-template-columns: 1fr; gap: 8px; } }
.bgrid-side { display: flex; flex-direction: column; gap: 4px; }
.bgrid-side--row { flex-direction: row; gap: 8px; }
.bgrid-side--row > * { flex: 1; }
@media (max-width: 1023px) { .bgrid-side--row { flex-direction: column; } }
.bcard { display: flex; flex-direction: column; gap: 4px; padding: 4px; background: #fff; border-radius: 32px; }
.bcard-img { display: block; height: 260px; border-radius: 28px; overflow: hidden; }
.bcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease-in-out; }
.bcard:hover .bcard-img img { transform: scale(1.05); }
.bcard-body { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 32px; flex: 1; }
.bcard--h { flex-direction: row; }
.bcard--h .bcard-img { flex: 0 0 298px; height: 270px; }
.bcard--h .bcard-body { justify-content: center; }
@media (max-width: 1279px) { .bcard--h .bcard-img { flex-basis: 240px; } .bcard--h .bcard-body { padding: 24px; } }
@media (max-width: 639px) { .bcard--h { flex-direction: column; } .bcard--h .bcard-img { flex: none; height: 220px; } .bcard-body { padding: 20px 16px 16px; } }
.bcard-t { font-size: 24px; line-height: 1.4; }
.bcard-t a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.bcard-x { font-size: 20px; line-height: 28px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 767px) { .bcard-t { font-size: 20px; } .bcard-x { font-size: 16px; line-height: 24px; } }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; font-size: 14px; line-height: 21px; font-weight: 500; color: var(--muted); }
.meta > span { display: inline-flex; align-items: center; gap: 8px; }
.meta svg { width: 20px; height: 20px; color: var(--ink); }
.meta i { width: 1px; height: 22px; background: var(--stroke-2); }

/* CTA */
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: var(--block); text-align: center; }
.cta-text { display: flex; flex-direction: column; align-items: center; gap: var(--stack); max-width: 640px; }
.cta-text p { max-width: 420px; }
.cta-inner .btn-row { justify-content: center; }

/* ======================================================= 7 INNER PAGES */
.phead { margin: 8px 8px 0; background: var(--grad-head); border-radius: 56px; overflow: hidden; }
@media (max-width: 1279px) { .phead { border-radius: 32px; } }
@media (max-width: 1023px) { .phead { border-radius: 24px; } }
@media (max-width: 767px)  { .phead { border-radius: 16px; } }
.phead-inner { display: flex; flex-direction: column; align-items: center; gap: var(--stack); padding-top: 180px; padding-bottom: 100px; text-align: center; }
@media (max-width: 1279px) { .phead-inner { padding-top: 160px; padding-bottom: 88px; } }
@media (max-width: 767px)  { .phead-inner { padding-top: 132px; padding-bottom: 60px; } }
.phead-title { max-width: 980px; color: #fff; font-size: 56px; line-height: 1.15; font-weight: 500; }
.phead-lede { max-width: 760px; color: var(--on-panel); font-size: 18px; line-height: 27px; }
.phead .btn-row { justify-content: center; margin-top: 12px; }
@media (max-width: 1279px) { .phead-title { font-size: 46px; } }
@media (max-width: 767px)  { .phead-title { font-size: 36px; line-height: 1.2; } .phead-lede { font-size: 16px; line-height: 24px; } }
@media (max-width: 639px)  { .phead-title { font-size: 32px; } }

.ihead { background: var(--paper); }
.ihead-inner { display: flex; flex-direction: column; align-items: center; gap: var(--stack); padding-top: 180px; padding-bottom: 72px; text-align: center; }
.ihead-title { font-size: 52px; line-height: 1.2; }
.ihead-lede { max-width: 640px; }
@media (max-width: 1279px) { .ihead-inner { padding-top: 160px; } .ihead-title { font-size: 40px; } }
@media (max-width: 767px)  { .ihead-inner { padding-top: 132px; padding-bottom: 56px; } .ihead-title { font-size: 32px; } }

/* Card grids */
.kgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; border-radius: 24px; }
.kgrid--4 { grid-template-columns: repeat(4, 1fr); }
.kgrid--3 { grid-template-columns: repeat(3, 1fr); }
.kgrid.steps { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1279px) { .kgrid--4, .kgrid.steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 1023px) { .kgrid, .kgrid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px)  { .kgrid, .kgrid--3, .kgrid--4, .kgrid.steps { grid-template-columns: 1fr; } }
.kcard, .step { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 32px; background: #fff; border-radius: 21px; }
.kcard .bt-ic { margin-bottom: 8px; }
.kc-t { font-size: 20px; line-height: 28px; color: var(--ink); }
.kc-t a:hover { text-decoration: underline; text-underline-offset: 4px; }
.kcard p, .step p { font-size: 16px; line-height: 24px; }
.step-n { display: inline-grid; place-items: center; min-width: 56px; height: 56px; padding: 0 12px; margin-bottom: 8px; border-radius: 12px; background: var(--navy); color: #fff; font-size: 18px; font-weight: 500; }
@media (max-width: 767px) { .kcard, .step { padding: 24px; } }
.kcol { display: flex; flex-direction: column; gap: 4px; padding: 4px; background: var(--tray); border-radius: 24px; }
.kcard--row { flex-direction: row; gap: 20px; }
.kcard--row .bt-ic { margin: 0; }
.kcard--row div { display: flex; flex-direction: column; gap: 8px; }

.two-trays { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 1023px) { .two-trays { grid-template-columns: 1fr; } }
.ltray { border-radius: 32px; }
.ltray-in { display: flex; flex-direction: column; align-items: flex-start; gap: var(--stack); height: 100%; padding: 40px; background: #fff; border-radius: 28px; }
@media (max-width: 767px) { .ltray-in { padding: 28px 22px; } }

.qgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
@media (max-width: 1279px) { .qgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px)  { .qgrid { grid-template-columns: 1fr; } }
.qcard { display: flex; flex-direction: column; gap: 24px; min-height: 220px; padding: 32px; background: #fff; border-radius: 28px; }
.qc-q { font-size: 20px; line-height: 28px; color: var(--ink); }
@media (max-width: 639px) { .qcard { min-height: 0; padding: 24px; border-radius: 20px; } }
.note { margin-top: 24px; text-align: center; font-size: 14px; line-height: 21px; }
.prose .note { text-align: left; margin-top: 40px; padding: 20px 24px; border-radius: 16px; background: var(--ice); color: var(--ink-80); font-size: 15px; }

.chips-h { margin-bottom: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px 10px 12px; border-radius: 999px; background: var(--tray); color: var(--ink); transition: background .3s; }
.chip svg { width: 20px; height: 20px; color: var(--navy); }
.chip:hover { background: #E4E8EF; }

/* CTA-v1 */
.cta1 { padding-block: 112px; border-top: 1px solid var(--stroke-4); }
.sec--tint + .cta1 { border-top: 0; }
@media (max-width: 1023px) { .cta1 { padding-block: 80px; } }
@media (max-width: 767px)  { .cta1 { padding-block: 56px; } }
.cta1-row { display: flex; justify-content: space-between; align-items: center; gap: 48px; }
.cta1-text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--stack); max-width: 650px; }
.cta1-side { display: flex; flex-direction: column; gap: 20px; }
.h2--step { font-size: 40px; }
@media (max-width: 1279px) { .h2--step { font-size: 32px; } }
@media (max-width: 1023px) { .cta1-row { flex-direction: column; align-items: flex-start; } }
@media (max-width: 639px)  { .h2--step { font-size: 26px; } }

/* Guide and legal */
.doc-grid, .legal-grid { display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: start; }
@media (max-width: 1023px) { .doc-grid, .legal-grid { grid-template-columns: 1fr; gap: 40px; } }
.toc { position: sticky; top: 110px; border-radius: 24px; }
.legal .toc { padding: 24px; background: var(--paper); border-radius: 20px; }
@media (max-width: 1023px) { .toc { position: static; } }
.toc-in { padding: 24px; background: #fff; border-radius: 20px; }
.toc-h { margin-bottom: 12px; font-size: 14px; line-height: 21px; font-weight: 500; color: var(--muted); }
.toc ol { display: flex; flex-direction: column; gap: 2px; counter-reset: toc; }
.toc li a { display: block; padding: 8px 10px; border-radius: 10px; color: var(--ink); font-size: 15px; line-height: 22px; transition: background .3s; }
.toc li a:hover { background: var(--mist); }
.prose { max-width: 800px; }
.prose h2 { font-size: 32px; line-height: 1.3; margin: 56px 0 12px; }
.prose section:first-child h2, .prose > h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; line-height: 28px; font-weight: 500; margin: 28px 0 8px; }
.prose p { margin-bottom: 16px; font-size: 17px; line-height: 28px; }
.prose ul { display: flex; flex-direction: column; gap: 10px; margin: 0 0 20px; }
.prose ul li { position: relative; padding-left: 20px; color: var(--muted); font-size: 16px; line-height: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.prose a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.prose b { color: var(--ink); font-weight: 600; }
.prose section { scroll-margin-top: 110px; }
@media (max-width: 767px) { .prose h2 { font-size: 26px; margin-top: 44px; } .prose p { font-size: 16px; line-height: 26px; } }
.phase-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 8px 0 20px; border-radius: 20px; }
.phase-mini div { display: flex; flex-direction: column; gap: 6px; padding: 18px; background: #fff; border-radius: 16px; }
.phase-mini b { font-weight: 500; }
.phase-mini span { color: var(--muted); font-size: 14px; line-height: 21px; }
@media (max-width: 767px) { .phase-mini { grid-template-columns: 1fr 1fr; } }

/* FAQ page */
.faq-page { max-width: 890px; }
.ftabs { position: relative; display: flex; justify-content: center; margin-bottom: 48px; border-bottom: 1px solid var(--stroke-2); }
.ftab { padding: 12px 32px; color: var(--muted); font-size: 16px; line-height: 24px; font-weight: 500; transition: color .3s; }
.ftab.is-on { color: var(--ink); }
.ftab-ind { position: absolute; bottom: -1px; left: 0; width: 0; height: 2px; background: var(--navy); transition: all .3s ease-in-out; }
.fpanel .acc { max-width: none; }
.fpanel.is-entering { animation: tpIn .4s linear; }
@media (max-width: 767px) {
  .ftabs { flex-wrap: wrap; gap: 8px; border: 0; justify-content: flex-start; }
  .ftab { padding: 8px 14px; border: 1px solid var(--stroke-2); border-radius: 999px; }
  .ftab.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
  .ftab-ind { display: none; }
}
.ask-card { display: flex; flex-direction: column; align-items: center; gap: var(--stack); max-width: 800px; text-align: center; }
.plain-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 16px; }
.plain-link svg { width: 20px; height: 20px; color: var(--navy); }
.plain-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Articles list and detail */
.feat { display: flex; flex-direction: column; border: 1px solid var(--stroke-4); border-radius: 20px; overflow: hidden; }
.feat-img { display: block; height: 520px; overflow: hidden; }
.feat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease-in-out; }
.feat:hover .feat-img img { transform: scale(1.03); }
.feat-body { display: flex; flex-direction: column; align-items: flex-start; gap: var(--stack); padding: 32px; background: var(--snow); }
.feat-t { font-size: 32px; line-height: 1.3; }
@media (max-width: 767px) { .feat-img { height: 260px; } .feat-body { padding: 24px 20px; } .feat-t { font-size: 24px; } }
.lgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 1023px) { .lgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px)  { .lgrid { grid-template-columns: 1fr; } }
.lcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--stroke-4); border-radius: 20px; overflow: hidden; }
.lcard-img { display: block; height: 259px; overflow: hidden; }
.lcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease-in-out; }
.lcard:hover .lcard-img img { transform: scale(1.05); }
.lcard-body { display: flex; flex-direction: column; align-items: flex-start; gap: var(--stack); padding: 24px; flex: 1; }
.lcard-body .btn { margin-top: auto; }
.lcard-t { font-size: 22px; line-height: 1.35; }
.lcard-t a:hover, .feat-t a:hover { text-decoration: underline; text-underline-offset: 4px; }
.dhead-inner { display: flex; flex-direction: column; align-items: flex-start; gap: var(--stack); max-width: calc(950px + 2 * var(--gut)); padding-top: 180px; padding-bottom: 56px; }
@media (max-width: 767px) { .dhead-inner { padding-top: 132px; padding-bottom: 40px; } }
.dhead-title { font-size: 52px; line-height: 1.2; }
.dhead-lede { font-size: 20px; line-height: 30px; }
@media (max-width: 1279px) { .dhead-title { font-size: 40px; } }
@media (max-width: 767px)  { .dhead-title { font-size: 30px; line-height: 1.25; } .dhead-lede { font-size: 17px; line-height: 26px; } }
.byline { display: flex; align-items: center; gap: 12px; }
.by-disc { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; }
.by-disc svg { width: 22px; height: 22px; }
.byline b { display: block; font-weight: 500; }
.byline small { display: block; color: var(--muted); font-size: 14px; }
.dimg { height: 620px; margin-bottom: 70px; border-radius: 32px; overflow: hidden; }
.dimg img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1023px) { .dimg { height: 440px; } }
@media (max-width: 767px)  { .dimg { height: 260px; margin-bottom: 40px; border-radius: 20px; } }
.details { margin-inline: auto; max-width: 950px; padding-bottom: var(--sec); }
.details h2 { position: relative; }

/* Contact and sign-up */
.page-contact main > .sec, .page-research-updates main > .sec { background: var(--mist); }
.contact-row { display: flex; gap: 70px; align-items: flex-start; }
@media (max-width: 1279px) { .contact-row { gap: 32px; } }
@media (max-width: 1023px) { .contact-row { flex-direction: column; align-items: stretch; } }
.icards { display: flex; flex-direction: column; gap: 32px; flex: 0 0 371px; }
@media (max-width: 1023px) { .icards { flex-basis: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (max-width: 767px)  { .icards { grid-template-columns: 1fr; } }
.icard2 { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 44px 32px; text-align: center; background: var(--ink); border-radius: 20px; }
.icard2::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; pointer-events: none; }
.glow-a::before { right: -200px; top: -200px; background: radial-gradient(circle closest-side, rgba(111, 134, 189, .55), transparent); }
.glow-b::before { left: -210px; bottom: -220px; background: radial-gradient(circle closest-side, rgba(205, 245, 248, .35), transparent); }
.glow-c::before { right: -220px; bottom: -200px; background: radial-gradient(circle closest-side, rgba(253, 247, 188, .3), transparent); }
.ic2-ic { position: relative; color: #fff; }
.ic2-ic svg { width: 40px; height: 40px; }
.ic2-t { position: relative; color: var(--accent); font-size: 20px; line-height: 28px; }
.icard2 p { position: relative; color: rgba(252, 252, 252, .72); }
.icard2 a { color: #fff; overflow-wrap: anywhere; }
.icard2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.form-card { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 44px; background: #fff; border-radius: 32px; }
@media (max-width: 1023px) { .form-card { padding: 32px; } }
@media (max-width: 767px)  { .form-card { padding: 24px 18px; border-radius: 24px; } }
.form-sub { margin-bottom: 20px; }
.signup-row { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
@media (max-width: 1023px) { .signup-row { grid-template-columns: 1fr; gap: 40px; } }
.signup-side .shead { margin-bottom: 32px; }
@media (max-width: 1023px) { .signup-side .shead { align-items: flex-start; text-align: left; margin-inline: 0; } }

@media (min-width: 1024px) { .sticky-col { position: sticky; top: 110px; } }

/* ============================================================== 8 FORMS */
.form { display: flex; flex-direction: column; gap: 24px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 639px) { .row2 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; line-height: 21px; font-weight: 500; color: var(--ink); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .select select {
  width: 100%;
  padding: 12px 18px;
  border: 1px solid var(--stroke-3); border-radius: 999px;
  background: var(--snow);
  color: var(--ink);
  font: inherit; font-size: 16px; line-height: 22px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
  transition: border-color .2s, box-shadow .2s;
}
.field input { height: 48px; }
.field textarea { border-radius: 12px; min-height: 150px; resize: vertical; }
.select { position: relative; }
.select select { height: 48px; padding-right: 44px; -webkit-appearance: none; appearance: none; cursor: pointer; }
.select svg { position: absolute; right: 16px; top: 14px; width: 20px; height: 20px; pointer-events: none; color: var(--ink); }
.field input:focus, .field textarea:focus, .select select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20, 46, 110, .15); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: var(--error); }
.consents { display: flex; flex-direction: column; gap: 14px; }
.check { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 12px; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.check-box { display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border: 1px solid var(--stroke-3); border-radius: 6px; background: var(--snow); color: transparent; transition: background .2s, border-color .2s; }
.check-box svg { width: 11px; height: 8px; }
.check input:checked + .check-box { background: var(--ink); border-color: var(--ink); color: #fff; }
.check input:focus-visible + .check-box { outline: 2px solid var(--navy); outline-offset: 2px; }
.check.is-invalid .check-box { border-color: var(--error); }
.check-text { font-size: 13px; line-height: 20px; color: var(--muted); }
.check-text a, .consent-links a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.consent-links { margin-left: 34px; font-size: 13px; line-height: 20px; }
.form-error { display: none; padding: 12px 16px; border-radius: 12px; background: #FEF3F2; color: var(--error); font-size: 14px; }
.form-error.is-shown { display: block; }
.form-done { display: none; flex-direction: column; align-items: flex-start; gap: var(--stack); padding: 8px 0; }
.form-done.is-shown { display: flex; }
.form-done:focus { outline: none; }
.done-ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; }
.done-ic svg { width: 22px; height: 16px; }

/* ============================================================= 9 FOOTER */
.site-footer { background: var(--ink); color: var(--accent); overflow: hidden; }
.f-wrap { padding-inline: calc(var(--gut) + 20px); }
@media (max-width: 639px) { .f-wrap { padding-inline: var(--gut); } }
.f-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 64px 40px; padding-top: 90px; padding-bottom: 48px; }
@media (max-width: 1023px) { .f-grid { grid-template-columns: 1fr; padding-top: 64px; } }
.f-about { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 340px; }
.f-about > p { margin-bottom: 12px; color: rgba(252, 252, 252, .66); }
.f-contact { display: flex; flex-direction: column; gap: 12px; }
.f-contact li, .f-contact a { display: flex; align-items: center; gap: 10px; color: rgba(252, 252, 252, .78); font-size: 15px; }
.f-contact a:hover span { text-decoration: underline; text-underline-offset: 4px; }
.f-contact svg { width: 20px; height: 20px; color: #fff; flex: none; }
.f-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
@media (max-width: 767px) { .f-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479px) { .f-cols { grid-template-columns: 1fr; } }
.f-h { margin-bottom: 28px; color: #F4F2FE; font-size: 20px; line-height: 28px; }
.f-col ul { display: flex; flex-direction: column; gap: 16px; }
.f-link { position: relative; color: #F4F2FE; }
.f-link::before { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: #fff; transform: scaleX(0); transform-origin: right; transition: transform .5s; }
.f-link:hover::before { transform: scaleX(1); transform-origin: left; }
@media (max-width: 639px) { .f-h { font-size: 16px; margin-bottom: 18px; } .f-col ul { gap: 12px; } }
.f-bottom { position: relative; padding: 26px 0 72px; text-align: center; }
.f-bottom p { color: #F4F2FE; font-size: 15px; }
.f-divider { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(252, 252, 252, .1); transform-origin: center; transition: transform 1s var(--out) .7s; }
.motion .f-bottom:not(:has(.is-in)) .f-divider { transform: scaleX(0); }

/* ============================================================= 10 MOTION */
[data-reveal] {
  transition-property: opacity, filter, transform;
  transition-duration: .6s;
  transition-timing-function: var(--out);
}
.motion [data-reveal]:not(.is-in) { opacity: 0; filter: blur(16px); transform: translate(var(--rx, 0), var(--ry, 60px)); }
/* Big surfaces fade without the blur, which is costly on a 1400px panel. */
.motion .hero[data-reveal]:not(.is-in) { filter: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .mq-track { animation: none !important; }
}
