/* ==========================================================================
   NuPay — design system
   Deep navy + electric blue. Premium fintech, education-first.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #050b1f;
  --ink-2: #0a1435;
  --navy: #0b1b3f;
  --navy-soft: #12224d;

  --blue: #1d5bff;
  --blue-600: #1749d6;
  --blue-300: #6f9bff;
  --blue-100: #dbe6ff;
  --cyan: #2ad4ee;
  --mint: #34e0a1;

  --paper: #ffffff;
  --mist: #f4f6fb;
  --mist-2: #eaeff9;

  --text: #0a1435;
  --muted: #5b678a;
  --muted-2: #8791ab;

  --line: rgba(10, 20, 53, 0.09);
  --line-strong: rgba(10, 20, 53, 0.16);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-2xl: 44px;

  --shadow-sm: 0 1px 2px rgba(10, 20, 53, 0.05), 0 8px 24px rgba(10, 20, 53, 0.06);
  --shadow-md: 0 2px 6px rgba(10, 20, 53, 0.06), 0 24px 60px rgba(10, 20, 53, 0.1);
  --shadow-lg: 0 40px 120px rgba(6, 16, 48, 0.28);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1200px;
  --nav-h: 74px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "cv02", "cv03", "cv04", "ss01";
}

h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }

::selection { background: var(--blue); color: #fff; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--wide { max-width: 1340px; }
.container--narrow { max-width: 900px; }

.section {
  position: relative;
  padding: clamp(84px, 9.5vw, 156px) 0;
}
.section--tight { padding: clamp(64px, 7vw, 108px) 0; }
.section--light { background: var(--paper); }
.section--mist { background: var(--mist); }
.section--dark {
  background: var(--ink);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.section--dark .lede,
.section--dark .muted { color: rgba(255, 255, 255, 0.62); }

/* rounded page-edge treatment between light and dark blocks */
.section--curve-top {
  border-radius: var(--r-2xl) var(--r-2xl) 0 0;
  margin-top: calc(var(--r-2xl) * -1);
  z-index: 1;
}
.section--curve-bottom { border-radius: 0 0 var(--r-2xl) var(--r-2xl); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}
.section--dark .eyebrow { color: var(--blue-300); }
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.display {
  font-size: clamp(42px, 7.4vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.038em;
  font-weight: 700;
}
.h1 {
  font-size: clamp(36px, 5.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.034em;
  font-weight: 700;
}
.h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.028em;
  font-weight: 700;
}
.h3 {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 650;
}
.h4 {
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.012em;
  font-weight: 650;
}

.lede {
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 56ch;
}
.muted { color: var(--muted); }
.small { font-size: 14.5px; line-height: 1.5; }
.tiny { font-size: 12.5px; line-height: 1.45; }

.grad-text {
  background: linear-gradient(96deg, #ffffff 12%, var(--blue-300) 58%, var(--cyan) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-text--light {
  background: linear-gradient(96deg, var(--ink-2) 10%, var(--blue) 62%, #37b6e6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

.section-head { max-width: 780px; margin-bottom: clamp(40px, 4.5vw, 68px); }
.section-head .lede { margin-top: 22px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 30px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.3s ease, box-shadow 0.35s var(--ease),
    color 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 30px rgba(29, 91, 255, 0.32);
}
.btn--primary:hover { background: var(--blue-600); box-shadow: 0 16px 40px rgba(29, 91, 255, 0.42); }

.btn--light { background: #fff; color: var(--ink-2); box-shadow: 0 10px 30px rgba(4, 12, 36, 0.22); }
.btn--light:hover { background: #f2f5ff; }

.btn--ghost {
  background: rgba(10, 20, 53, 0.04);
  color: var(--ink-2);
  border: 1px solid var(--line-strong);
}
.btn--ghost:hover { background: rgba(10, 20, 53, 0.07); }

.section--dark .btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}
.section--dark .btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }

.btn--sm { height: 44px; padding: 0 22px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--blue);
  transition: gap 0.3s var(--ease);
}
.link-arrow:hover { gap: 13px; }
.section--dark .link-arrow { color: var(--blue-300); }

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: opacity 0.9s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal="scale"] { transform: translate3d(0, 44px, 0) scale(0.965); }
[data-reveal="left"] { transform: translate3d(-34px, 0, 0); }
[data-reveal="right"] { transform: translate3d(34px, 0, 0); }
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee__track { animation: none !important; }
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 30px;
  width: 100%;
}
.nav.is-stuck {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 var(--line);
}
.nav.is-stuck .nav__link { color: var(--muted); }
.nav.is-stuck .nav__link:hover { color: var(--text); }
.nav.is-stuck .brand { color: var(--ink-2); }
.nav.is-stuck .btn--light { background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(29, 91, 255, 0.3); }
.nav.is-stuck .nav__ghost { color: var(--text); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  transition: color 0.4s ease;
}
.brand__mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(140deg, var(--blue) 8%, #43a8ff 55%, var(--cyan) 100%);
  box-shadow: 0 6px 18px rgba(29, 91, 255, 0.45);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.04em;
  flex: none;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 10px;
}
.nav__link {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.25s ease;
}
.nav__link:hover { color: #fff; }
.nav__spacer { flex: 1; }
.nav__ghost {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  transition: color 0.4s ease;
}
.nav__cta { display: flex; align-items: center; gap: 18px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: calc(var(--nav-h) + clamp(56px, 7vw, 96px)) 0 clamp(0px, 6vw, 40px);
  border-radius: 0 0 var(--r-2xl) var(--r-2xl);
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 120%;
  pointer-events: none;
  background:
    radial-gradient(52% 46% at 22% 22%, rgba(29, 91, 255, 0.5) 0%, transparent 62%),
    radial-gradient(46% 42% at 82% 8%, rgba(42, 212, 238, 0.24) 0%, transparent 60%),
    radial-gradient(60% 50% at 60% 78%, rgba(23, 73, 214, 0.35) 0%, transparent 66%);
  filter: blur(6px);
}
.hero__grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 78%);
}
.hero__inner { position: relative; z-index: 2; }
.hero__copy { max-width: 860px; }
.hero .display { margin-bottom: 26px; }
.hero__lede { color: rgba(255, 255, 255, 0.7); font-size: clamp(17px, 1.4vw, 21px); max-width: 58ch; }
.hero .btn-row { margin-top: 38px; }
.hero__note {
  margin-top: 26px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hero__note-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--mint); flex: none; }

.hero__stage {
  position: relative;
  margin-top: clamp(48px, 6vw, 86px);
  perspective: 1800px;
}
.hero__stage-inner { position: relative; }
.hero__floor {
  position: absolute;
  left: 50%;
  bottom: -60px;
  transform: translateX(-50%);
  width: 78%;
  height: 220px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(29, 91, 255, 0.5), transparent 70%);
  filter: blur(48px);
  pointer-events: none;
}

/* ---------- Generic surfaces ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
}
.card--pad { padding: clamp(24px, 2.6vw, 38px); }

.glass {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-xl);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  background: rgba(10, 20, 53, 0.05);
  color: var(--muted);
}
.pill--ok { background: rgba(52, 224, 161, 0.14); color: #0f8f61; }
.pill--warn { background: rgba(255, 176, 32, 0.16); color: #a4661a; }
.pill--blue { background: rgba(29, 91, 255, 0.1); color: var(--blue); }
.pill--dark { background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.8); }
.pill__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }

.icon-tile {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(29, 91, 255, 0.1);
  color: var(--blue);
  flex: none;
}
.section--dark .icon-tile { background: rgba(255, 255, 255, 0.08); color: var(--blue-300); }

/* ---------- Feature cards (section 2) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-xl);
  padding: 34px 32px 0;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 470px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature__title { margin: 18px 0 12px; }
.feature__body { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.feature__visual { margin-top: auto; padding-top: 30px; }
.feature--blue { background: linear-gradient(170deg, #0b1b3f 0%, #061029 100%); color: #fff; border-color: transparent; }
.feature--blue .feature__body { color: rgba(255, 255, 255, 0.62); }
.feature--mist { background: var(--mist); }

/* ---------- Split layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 84px);
  align-items: center;
}
.split--wide-right { grid-template-columns: 0.85fr 1.15fr; }
.split--wide-left { grid-template-columns: 1.15fr 0.85fr; }

.checklist { display: grid; gap: 16px; margin-top: 32px; }
.checklist li { display: flex; gap: 13px; align-items: flex-start; font-size: 16px; }
.check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(29, 91, 255, 0.12);
  color: var(--blue);
  display: grid;
  place-items: center;
  flex: none;
  margin-top: 2px;
}
.section--dark .check { background: rgba(52, 224, 161, 0.16); color: var(--mint); }

/* ---------- Quote / statement band ---------- */
.statement {
  position: relative;
  border-radius: var(--r-2xl);
  padding: clamp(44px, 5.5vw, 82px);
  background: linear-gradient(126deg, #0b1b3f 0%, #0f2a6b 46%, #1749d6 100%);
  color: #fff;
  overflow: hidden;
}
.statement::after {
  content: "";
  position: absolute;
  inset: auto -10% -70% 40%;
  height: 120%;
  background: radial-gradient(40% 50% at 50% 50%, rgba(42, 212, 238, 0.35), transparent 70%);
  pointer-events: none;
}
.statement__text {
  position: relative;
  font-size: clamp(26px, 3.6vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
  max-width: 20ch;
}
.statement__sub { position: relative; margin-top: 22px; color: rgba(255, 255, 255, 0.7); max-width: 46ch; }

/* ==========================================================================
   Product mockups
   ========================================================================== */

/* --- Window chrome shared by app mockups --- */
.mock {
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid rgba(10, 20, 53, 0.08);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  color: var(--text);
}
.mock__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #fbfcfe;
  border-bottom: 1px solid var(--line);
}
.mock__dot { width: 10px; height: 10px; border-radius: 50%; background: #e2e6f0; flex: none; }
.mock__url {
  margin-left: 10px;
  height: 24px;
  flex: 1;
  border-radius: 7px;
  background: #eef1f7;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 11.5px;
  color: var(--muted-2);
  letter-spacing: -0.01em;
  max-width: 320px;
}

/* --- App shell (dashboard) --- */
.app {
  display: grid;
  grid-template-columns: 208px 1fr;
  min-height: 520px;
  background: #fff;
}
.app__side {
  background: #fbfcfe;
  border-right: 1px solid var(--line);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.app__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px 10px 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 15.5px;
}
.app__brand .brand__mark { width: 24px; height: 24px; border-radius: 7px; font-size: 12px; }
.app__navitem {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 10px;
  border-radius: 9px;
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 500;
}
.app__navitem.is-active { background: rgba(29, 91, 255, 0.09); color: var(--blue); font-weight: 600; }
.app__navicon { width: 15px; height: 15px; flex: none; opacity: 0.85; }
.app__navlabel-group {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  padding: 18px 10px 8px;
  font-weight: 600;
}
.app__main { padding: 22px 24px 26px; min-width: 0; }
.app__topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.app__title { font-size: 18px; font-weight: 680; letter-spacing: -0.02em; }
.app__term { margin-left: auto; }
.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--blue), #43a8ff);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  flex: none;
}

/* KPI tiles */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 15px 15px;
  background: #fff;
}
.kpi--accent { background: linear-gradient(160deg, #0b1b3f, #123071); border-color: transparent; color: #fff; }
.kpi__label { font-size: 11.5px; color: var(--muted-2); font-weight: 550; letter-spacing: -0.005em; }
.kpi--accent .kpi__label { color: rgba(255, 255, 255, 0.6); }
.kpi__value { font-size: 22px; font-weight: 700; letter-spacing: -0.035em; margin-top: 7px; line-height: 1; }
.kpi__meta { font-size: 11.5px; margin-top: 8px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.kpi--accent .kpi__meta { color: rgba(255, 255, 255, 0.62); }
.trend-up { color: #0f8f61; font-weight: 650; }

/* Bar chart */
.chart {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px 14px;
}
.chart__head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.chart__title { font-size: 13.5px; font-weight: 650; letter-spacing: -0.015em; }
.chart__legend { margin-left: auto; display: flex; gap: 12px; font-size: 11px; color: var(--muted); }
.chart__legend span { display: inline-flex; align-items: center; gap: 5px; }
.swatch { width: 8px; height: 8px; border-radius: 3px; flex: none; }
.swatch--blue { background: var(--blue); }
.swatch--ghost { background: #dfe5f2; }

.bars { display: flex; align-items: flex-end; gap: 10px; height: 116px; }
.bars__col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; height: 100%; }
.bars__stack { position: relative; height: 100%; display: flex; align-items: flex-end; }
.bars__ghost {
  position: absolute;
  inset: auto 0 0 0;
  height: var(--t, 60%);
  background: #e7ecf7;
  border-radius: 6px;
}
.bars__fill {
  position: relative;
  width: 100%;
  height: var(--h, 40%);
  border-radius: 6px;
  background: linear-gradient(180deg, #4a80ff, var(--blue));
}
.bars__label { font-size: 10.5px; color: var(--muted-2); text-align: center; }

/* Donut */
.donut-wrap { display: flex; align-items: center; gap: 16px; }
.donut {
  --donut-bg: #fff;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  flex: none;
  background: conic-gradient(var(--blue) 0 var(--p, 72%), #e9edf7 var(--p, 72%) 100%);
  display: grid;
  place-items: center;
  position: relative;
}
.donut::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: var(--donut-bg);
}
.donut__value {
  position: relative;
  z-index: 1;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

/* Lists / tables */
.rows { display: grid; }
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.row:last-child { border-bottom: 0; }
.row__name { font-weight: 600; letter-spacing: -0.012em; }
.row__sub { font-size: 11.5px; color: var(--muted-2); margin-top: 1px; }
.row__amt { margin-left: auto; font-weight: 650; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.row__grow { min-width: 0; }
.mono { font-family: var(--mono); font-size: 11.5px; letter-spacing: -0.01em; }

.panel {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 15px 17px;
}
.panel__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.panel__title { font-size: 13.5px; font-weight: 650; letter-spacing: -0.015em; }
.panel__link { margin-left: auto; font-size: 11.5px; color: var(--blue); font-weight: 600; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stack-12 { display: grid; gap: 12px; }
.stack-16 { display: grid; gap: 16px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }

/* --- Invoice mockup --- */
.invoice {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(10, 20, 53, 0.07);
  overflow: hidden;
  max-width: 470px;
}
.invoice__head {
  padding: 22px 26px 20px;
  background: linear-gradient(150deg, #0b1b3f, #12224d);
  color: #fff;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.invoice__school { font-weight: 680; letter-spacing: -0.02em; font-size: 15.5px; }
.invoice__meta { font-size: 12px; color: rgba(255, 255, 255, 0.6); margin-top: 3px; }
.invoice__crest {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  flex: none;
}
.invoice__body { padding: 20px 26px 24px; }
.invoice__student {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}
.invoice__lines { margin-bottom: 4px; }
.invoice__total {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 16px 0 18px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}
.invoice__total-label { font-size: 13px; color: var(--muted); font-weight: 550; }
.invoice__total-amt { margin-left: auto; font-size: 26px; font-weight: 700; letter-spacing: -0.035em; }
.invoice__pay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  height: 52px;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  font-weight: 650;
  font-size: 15.5px;
  letter-spacing: -0.015em;
  box-shadow: 0 12px 28px rgba(29, 91, 255, 0.34);
  position: relative;
  overflow: hidden;
}
.invoice__pay::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  animation: sheen 3.6s ease-in-out infinite;
}
@keyframes sheen {
  0%, 62% { left: -60%; }
  92%, 100% { left: 130%; }
}
.invoice__methods {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--muted-2);
  flex-wrap: wrap;
}
.method-chip {
  height: 24px;
  padding: 0 9px;
  border-radius: 7px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

/* --- Phone --- */
.phone {
  width: 268px;
  border-radius: 40px;
  background: #050b1f;
  padding: 9px;
  box-shadow: 0 40px 90px rgba(4, 12, 40, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  flex: none;
}
.phone__screen {
  border-radius: 32px;
  background: #fff;
  overflow: hidden;
  position: relative;
}
.phone__notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 82px;
  height: 20px;
  border-radius: 999px;
  background: #050b1f;
  z-index: 3;
}
.phone__pad { padding: 38px 18px 20px; }
.pay-success {
  text-align: center;
  padding: 26px 18px 30px;
}
.pay-check {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: rgba(52, 224, 161, 0.14);
  color: #0f8f61;
  display: grid;
  place-items: center;
}
.pay-amount { font-size: 30px; font-weight: 700; letter-spacing: -0.04em; }
.pay-label { font-size: 13px; color: var(--muted); margin-top: 6px; }
.pay-receipt {
  margin-top: 20px;
  border-radius: 14px;
  background: var(--mist);
  padding: 12px 14px;
  text-align: left;
}

/* --- Floating annotation chips --- */
.chip-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px 11px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 44px rgba(6, 16, 48, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.7);
  font-size: 13px;
  z-index: 4;
  animation: bob 6s ease-in-out infinite;
}
.chip-float__title { font-weight: 650; letter-spacing: -0.015em; line-height: 1.2; }
.chip-float__sub { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.chip-float__icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: none;
}
.chip-float__icon--green { background: rgba(52, 224, 161, 0.16); color: #0f8f61; }
.chip-float__icon--blue { background: rgba(29, 91, 255, 0.12); color: var(--blue); }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* --- Reconciliation / bank feed --- */
.recon {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
}
.recon__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.recon__tag { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-2); font-weight: 650; }
.recon__link {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 26px rgba(29, 91, 255, 0.4);
  flex: none;
  position: relative;
}
.recon__link::before,
.recon__link::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(29, 91, 255, 0.35);
  animation: ripple 2.8s ease-out infinite;
}
.recon__link::after { animation-delay: 1.4s; }
@keyframes ripple {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.55); opacity: 0; }
}
.feed-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13px;
}
.feed-line:last-child { border-bottom: 0; }

/* --- Diaspora / routes --- */
.routes { display: grid; gap: 18px; }
.route {
  border-radius: var(--r-lg);
  padding: 24px 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}
.route--bad { opacity: 0.72; }
.route--good {
  border-color: rgba(52, 224, 161, 0.35);
  background: linear-gradient(120deg, rgba(29, 91, 255, 0.16), rgba(52, 224, 161, 0.08));
}
.route__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.route__steps { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.route__step {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 13px;
  font-weight: 550;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.route--good .route__step { background: rgba(255, 255, 255, 0.12); }
.route__arrow { color: rgba(255, 255, 255, 0.32); flex: none; }
.route__foot { margin-top: 16px; font-size: 13px; color: rgba(255, 255, 255, 0.55); }
.route--good .route__foot { color: rgba(255, 255, 255, 0.78); }

.globe-wrap { position: relative; display: grid; place-items: center; }
.globe {
  width: min(400px, 80%);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(60% 60% at 32% 28%, rgba(29, 91, 255, 0.55), transparent 60%),
    radial-gradient(70% 70% at 70% 76%, rgba(42, 212, 238, 0.28), transparent 62%),
    #071233;
  box-shadow: inset 0 0 60px rgba(29, 91, 255, 0.35), 0 40px 100px rgba(29, 91, 255, 0.25);
  position: relative;
  overflow: hidden;
}
.globe::before,
.globe::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-image:
    repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.09) 0 1px, transparent 1px 30px);
}
.globe::after {
  background-image: repeating-linear-gradient(to right, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 30px);
  mask-image: radial-gradient(circle, #000 62%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle, #000 62%, transparent 72%);
}
.globe__ring {
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  animation: spin 44s linear infinite;
}
.globe__ring--2 { inset: -18%; border-style: solid; border-color: rgba(42, 212, 238, 0.14); animation-duration: 70s; }
@keyframes spin { to { transform: rotate(360deg); } }
.globe__pin {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(42, 212, 238, 0.22), 0 0 18px rgba(42, 212, 238, 0.8);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(42, 212, 238, 0.2), 0 0 14px rgba(42, 212, 238, 0.7); }
  50% { box-shadow: 0 0 0 9px rgba(42, 212, 238, 0.06), 0 0 22px rgba(42, 212, 238, 0.9); }
}

/* ---------- Accounting module grid ---------- */
.modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.module {
  border-radius: 22px;
  padding: 24px 22px 26px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  transition: transform 0.5s var(--ease), background 0.4s ease, border-color 0.4s ease;
}
.module:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(111, 155, 255, 0.4);
}
.module__title { font-size: 16px; font-weight: 650; letter-spacing: -0.02em; margin: 16px 0 8px; }
.module__body { font-size: 14px; color: rgba(255, 255, 255, 0.56); line-height: 1.5; }

/* ---------- Report previews ---------- */
.reports { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.report {
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 20px 22px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  display: flex;
  flex-direction: column;
}
.report:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.report__head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.report__title { font-size: 15px; font-weight: 650; letter-spacing: -0.02em; }
.report__sub { font-size: 12.5px; color: var(--muted-2); margin-bottom: 16px; }
.report__body { margin-top: auto; }
.rline { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 12.5px; border-bottom: 1px solid var(--line); }
.rline:last-child { border-bottom: 0; }
.rline__v { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 620; letter-spacing: -0.02em; }
.rline--total { border-top: 1.5px solid var(--line-strong); border-bottom: 0; margin-top: 4px; padding-top: 10px; font-weight: 680; }
.rbar { height: 7px; border-radius: 4px; background: #eef1f8; overflow: hidden; }
.rbar__fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, #4a80ff, var(--blue)); width: var(--w, 50%); }
.spark { display: flex; align-items: flex-end; gap: 5px; height: 62px; }
.spark__bar { flex: 1; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, #6f9bff, var(--blue)); height: var(--h, 40%); }
.spark__bar--ghost { background: #e8edf8; }

/* ---------- Security ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sec-card {
  border-radius: 22px;
  padding: 26px 24px 28px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.sec-card__title { font-size: 16.5px; font-weight: 650; letter-spacing: -0.02em; margin: 16px 0 9px; }
.sec-card__body { font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, 0.55); }
.device-list { display: grid; gap: 10px; margin-top: 18px; }
.device {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 13px;
}
.device__meta { font-size: 11.5px; color: rgba(255, 255, 255, 0.42); margin-top: 2px; }

.audit { font-family: var(--mono); font-size: 12px; }
.audit__row {
  display: flex;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.62);
}
.audit__row:last-child { border-bottom: 0; }
.audit__time { color: rgba(255, 255, 255, 0.35); flex: none; }

/* ---------- Logo marquee ---------- */
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 34s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 620;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.42);
  white-space: nowrap;
}
.marquee__badge {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  flex: none;
}

/* ---------- Final CTA ---------- */
.cta {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  padding: clamp(56px, 7vw, 110px) clamp(28px, 5vw, 80px);
  background: linear-gradient(128deg, #071233 0%, #0f2a6b 44%, #1d5bff 100%);
  color: #fff;
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 140%;
  background: radial-gradient(38% 42% at 22% 20%, rgba(42, 212, 238, 0.3), transparent 62%);
  pointer-events: none;
}
.cta__inner { position: relative; z-index: 1; }
.cta .h1 { max-width: 16ch; margin: 0 auto; }
.cta .lede { color: rgba(255, 255, 255, 0.72); margin: 24px auto 0; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #fff; padding: 78px 0 44px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__blurb { color: rgba(255, 255, 255, 0.5); font-size: 14.5px; margin-top: 18px; max-width: 34ch; line-height: 1.6; }
.footer__title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 650;
  margin-bottom: 16px;
}
.footer__links { display: grid; gap: 11px; }
.footer__links a { font-size: 14.5px; color: rgba(255, 255, 255, 0.7); transition: color 0.25s ease; }
.footer__links a:hover { color: #fff; }
.footer__bottom {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 28px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.38);
}
.footer__bottom-links { margin-left: auto; display: flex; gap: 22px; flex-wrap: wrap; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature:first-child { grid-column: span 2; min-height: 400px; }
  .modules { grid-template-columns: repeat(2, 1fr); }
  .reports { grid-template-columns: repeat(2, 1fr); }
  .sec-grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .split,
  .split--wide-right,
  .split--wide-left { grid-template-columns: 1fr; }
  .app { grid-template-columns: 1fr; }
  .app__side { display: none; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .recon { grid-template-columns: 1fr; justify-items: stretch; }
  .recon__link { margin: 0 auto; transform: rotate(90deg); }
  .globe { width: min(320px, 70%); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature:first-child { grid-column: auto; }
  .feature { min-height: 0; padding: 28px 24px 0; }
  .reports,
  .sec-grid,
  .grid-2,
  .grid-3 { grid-template-columns: 1fr; }
  .modules { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .nav__ghost { display: none; }
  .statement__text { max-width: none; }
  .invoice { max-width: none; }
  .phone { width: 232px; }
  .chip-float { display: none; }
  .route__steps { flex-direction: column; align-items: stretch; }
  .route__arrow { transform: rotate(90deg); margin: 0 auto; }
  .route__step { justify-content: center; }
  .footer__bottom-links { margin-left: 0; }
}

@media (max-width: 560px) {
  .kpis { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
}

/* ==========================================================================
   Section-specific layout added by the page composition
   ========================================================================== */

/* --- Hero stage --- */
.hero { padding-bottom: clamp(92px, 10vw, 150px); }
.hero__mock {
  transform: perspective(2200px) rotateX(4deg);
  transform-origin: top center;
  max-width: 1060px;
}
.hero__phone {
  position: absolute;
  right: 0;
  bottom: -58px;
  z-index: 5;
}
.hero__chip { z-index: 6; }
.hero__chip--1 { top: 16%; left: -18px; animation-delay: -1.6s; }
.hero__chip--2 { bottom: 6%; left: 8%; animation-delay: -3.4s; }

@media (max-width: 1180px) {
  .hero__mock { max-width: none; }
  .hero__phone { right: -10px; bottom: -50px; transform: scale(0.86); transform-origin: bottom right; }
}
@media (max-width: 900px) {
  .hero__phone { position: relative; right: auto; bottom: auto; transform: none; margin: -30px auto 0; display: flex; justify-content: center; }
  .hero__mock { transform: none; }
  .hero__stage { perspective: none; }
}

/* --- Payments --- */
.pay-visual { position: relative; display: flex; justify-content: center; }
.pay-chip { bottom: -22px; left: -14px; animation-delay: -2.2s; }
.statement--spaced { margin-top: clamp(52px, 6vw, 92px); }
@media (max-width: 900px) {
  .pay-visual { margin-top: 40px; }
}

/* --- Diaspora --- */
.diaspora { overflow: hidden; }
.diaspora__glow {
  position: absolute;
  inset: -20% -20% auto 30%;
  height: 130%;
  pointer-events: none;
  background: radial-gradient(42% 40% at 60% 40%, rgba(29, 91, 255, 0.34), transparent 64%),
    radial-gradient(38% 36% at 78% 72%, rgba(42, 212, 238, 0.18), transparent 62%);
}
.diaspora__inner { position: relative; z-index: 1; }
.diaspora__split { align-items: center; margin-top: 8px; }
.globe-chip--1 { top: 6%; right: -6px; animation-delay: -1.2s; }
.globe-chip--2 { bottom: 4%; left: -14px; animation-delay: -3.8s; }
@media (max-width: 900px) {
  .globe-wrap { order: -1; margin-bottom: 34px; }
}

/* --- Dashboard --- */
.dash-stage { position: relative; }
.dash-glow {
  position: absolute;
  inset: 12% 6% -8% 6%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(29, 91, 255, 0.3), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.dash-mock { position: relative; }
.dash-body { padding: 24px 26px 28px; }
.dash-cols { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 12px; }
@media (max-width: 1080px) { .dash-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .dash-cols { grid-template-columns: 1fr; } }

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: clamp(44px, 5vw, 72px);
  padding-top: clamp(36px, 4vw, 54px);
  border-top: 1px solid var(--line);
}
.stat__value { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 8px; }
.stat__label { font-size: 15px; color: var(--muted); line-height: 1.55; max-width: 34ch; }
@media (max-width: 780px) { .stat-strip { grid-template-columns: 1fr; gap: 22px; } }

/* --- Reconciliation --- */
.recon-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: clamp(40px, 4.5vw, 64px);
}
.recon-note { display: flex; gap: 14px; align-items: flex-start; }
.recon-note .h4 { margin-bottom: 5px; }
@media (max-width: 780px) { .recon-notes { grid-template-columns: 1fr; gap: 18px; } }

/* --- Accounting --- */
.acct-glow {
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 90%;
  pointer-events: none;
  background: radial-gradient(40% 44% at 18% 24%, rgba(29, 91, 255, 0.32), transparent 62%),
    radial-gradient(36% 40% at 88% 12%, rgba(42, 212, 238, 0.16), transparent 60%);
}
.module--cta {
  background: linear-gradient(150deg, rgba(29, 91, 255, 0.28), rgba(42, 212, 238, 0.1));
  border-color: rgba(111, 155, 255, 0.36);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- Reports --- */
.report--cta {
  background: linear-gradient(160deg, var(--mist), #e6ecfb);
  border-color: rgba(29, 91, 255, 0.14);
  justify-content: center;
}

/* --- Security --- */
.sec-glow {
  position: absolute;
  inset: auto -15% -20% 20%;
  height: 90%;
  pointer-events: none;
  background: radial-gradient(40% 44% at 70% 60%, rgba(29, 91, 255, 0.28), transparent 64%);
}
.sec-grid--stacked { grid-template-columns: 1fr; }
@media (max-width: 900px) {
  .sec-grid--stacked { grid-template-columns: 1fr; }
}

/* --- Light marquee --- */
.marquee--light { margin-top: clamp(48px, 6vw, 84px); }
.marquee--light .marquee__item { color: var(--muted-2); }
.marquee--light .marquee__badge { background: var(--mist-2); color: var(--muted); }

/* ==========================================================================
   Corrections & refinements
   ========================================================================== */

/* Stacked label/description pairs must break onto their own lines even when
   they are spans nested inside an inline wrapper. */
.row__name,
.row__sub,
.invoice__school,
.invoice__meta,
.chip-float__title,
.chip-float__sub,
.device__meta,
.rbar__fill {
  display: block;
}

/* The phone screen is a light surface inside a dark section. */
.phone__screen,
.invoice,
.card,
.report,
.recon__card { color: var(--text); }

/* Ghost buttons sitting on dark or gradient surfaces. */
.hero .btn--ghost,
.cta .btn--ghost,
.statement .btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}
.hero .btn--ghost:hover,
.cta .btn--ghost:hover,
.statement .btn--ghost:hover { background: rgba(255, 255, 255, 0.16); }

/* Dark surfaces that host a donut. */
.feature--blue .donut { --donut-bg: #0a1735; }

/* Hero floating chips ride the edges of the product shot rather than
   covering its content. */
.hero__chip--1 { top: -20px; left: 44px; bottom: auto; }
.hero__chip--2 { bottom: -18px; left: 9%; top: auto; }

@media (max-width: 1180px) {
  .hero__chip--1 { left: 24px; }
}

/* Report sparkline rhythm */
.spark { gap: 7px; }
.spark__bar { border-radius: 5px 5px 3px 3px; }

/* Feature cards keep a little more of their visual on screen */
.feature { min-height: 500px; }
@media (max-width: 720px) { .feature { min-height: 0; } }

/* Floating chips are light surfaces — they must not inherit dark-section text. */
.chip-float { color: var(--text); }
.chip-float__sub { color: var(--muted); }

/* Give the phone a little more clearance from the dashboard panel. */
@media (min-width: 901px) {
  .hero__phone { right: -24px; }
  .hero__chip--1 { top: -26px; left: 28px; }
}

/* Small-screen wrapping for dense header rows. */
.pill { white-space: nowrap; }
.route__head { flex-wrap: wrap; }
.route__head .pill { flex: none; }
.app__topbar { flex-wrap: wrap; }
.app__term { margin-left: auto; }
@media (max-width: 720px) {
  .app__topbar { row-gap: 8px; }
  .app__term { margin-left: 0; }
}

/* ==========================================================================
   HERO — full-bleed photographic. Type sits on the image, product hint floats
   over it in a thin phone-frame outline.
   ========================================================================== */

/* Percentage gutter, so the type stays deep inside the frame on wide screens. */
.rh-container {
  width: 100%;
  padding-inline: clamp(20px, 16.4%, 340px);
}

.rh {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  isolation: isolate;
  background: #6ea6e0;
}

/* --- Background: CSS sky, replaced by public/hero.jpg when present --- */
.rh__sky {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(130% 100% at 16% 6%, #4f8cd2 0%, #6aa2dd 34%, #86b8e8 66%, #a5cbef 100%);
}
.rh__sky::before {
  content: "";
  position: absolute;
  inset: auto -14% -14% -22%;
  height: 62%;
  background:
    radial-gradient(46% 52% at 38% 62%, rgba(255, 255, 255, 0.5), transparent 72%),
    radial-gradient(34% 40% at 68% 44%, rgba(255, 255, 255, 0.34), transparent 72%),
    radial-gradient(30% 36% at 14% 40%, rgba(255, 255, 255, 0.28), transparent 74%);
  filter: blur(28px);
}
.rh__sky::after {
  content: "";
  position: absolute;
  inset: -10% -10% auto auto;
  width: 58%;
  height: 46%;
  background: radial-gradient(50% 50% at 70% 30%, rgba(255, 255, 255, 0.22), transparent 70%);
  filter: blur(34px);
}

/* Drop a photograph in as hero.jpg next to the page (or /hero.jpg in Next.js,
   from public/). Painted as a background layer, so if the file isn't there the
   CSS sky simply shows through with no broken-image placeholder.
   Adjust the crop with --hero-focus. */
.rh__photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: var(--hero-src, none); /* was url("hero.jpg"): file never added, and Next fails to build on a missing CSS url */
  background-size: cover;
  background-position: var(--hero-focus, 50% 22%);
  background-repeat: no-repeat;
}

/* Keeps white type legible whatever photograph goes in. */
.rh__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 24, 48, 0.2) 0%, rgba(8, 24, 48, 0.05) 22%, transparent 46%),
    linear-gradient(90deg, rgba(8, 24, 48, 0.15) 0%, rgba(8, 24, 48, 0.03) 38%, transparent 60%);
}

/* --- Copy --- */
.rh__inner {
  position: relative;
  z-index: 4;
  height: 100%;
  display: flex;
  align-items: flex-start;
  padding-top: clamp(120px, 19vh, 190px);
}
.rh__copy { max-width: 640px; }

.rh__title {
  font-size: clamp(46px, 6.5vw, 132px);
  line-height: 0.98;
  letter-spacing: -0.028em;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.rh__lede {
  margin-top: clamp(22px, 3vh, 34px);
  max-width: 27em;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: #fff;
}

.rh__actions {
  margin-top: clamp(28px, 4.6vh, 48px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.rh__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 34px;
  border-radius: 999px;
  background: #14181d;
  color: #fff;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background 0.3s ease, transform 0.35s var(--ease);
}
.rh__cta:hover { background: #000; transform: translateY(-2px); }

.rh__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 550;
  letter-spacing: -0.005em;
  opacity: 0.9;
  transition: gap 0.3s var(--ease), opacity 0.3s ease;
}
.rh__link:hover { gap: 13px; opacity: 1; }

/* --- Floating phone-frame outline --- */
.rh__frame {
  position: absolute;
  z-index: 3;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 336px;
  height: 82vh;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 36px;
  pointer-events: none;
}

.rh__panel {
  position: absolute;
  top: 33%;
  left: 0;
  right: 0;
  text-align: center;
  pointer-events: auto;
}
.rh__panel-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: rgba(255, 255, 255, 0.88);
}
.rh__panel-amount {
  display: block;
  margin-top: 6px;
  font-size: 43px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
}
.rh__panel-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  height: 38px;
  padding: 0 24px;
  border-radius: 999px;
  background: #fff;
  color: #14181d;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.35s var(--ease), background 0.3s ease;
}
.rh__panel-pill:hover { transform: translateY(-2px); background: #f1f5ff; }

/* --- Trust card at the foot of the frame --- */
.rh__badges {
  position: absolute;
  left: 13px;
  right: 13px;
  top: 71%;
  display: flex;
  align-items: stretch;
  padding: 12px 8px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(8, 24, 48, 0.16);
  pointer-events: auto;
}
.rh__badge {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0 8px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #14181d;
  color: #fff;
}
.rh__badge-rule { width: 1px; background: rgba(10, 20, 53, 0.13); flex: none; }
.rh__badge-crest,
.rh__badge-lock {
  display: grid;
  place-items: center;
  flex: none;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.rh__badge-crest {
  width: 19px;
  height: 19px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.16);
}
.rh__badge-text {
  font-size: 9.5px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

/* --- Navigation over the photograph --- */
.nav { height: 78px; }
.nav__inner { gap: 30px; }
.brand {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #fff;
}
.nav__links { gap: 32px; margin-left: 20px; }
.nav__link { font-size: 15.5px; font-weight: 500; color: rgba(255, 255, 255, 0.92); }
.nav__cta { gap: 24px; }
.nav__ghost { font-size: 15.5px; font-weight: 500; color: #fff; }
.nav__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 24px;
  border-radius: 999px;
  background: #fff;
  color: #14181d;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.3s ease;
}
.nav__pill:hover { transform: translateY(-2px); background: #eef3ff; }

.nav.is-stuck {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 rgba(10, 20, 53, 0.08);
}
.nav.is-stuck .brand,
.nav.is-stuck .nav__ghost { color: var(--ink); }
.nav.is-stuck .nav__link { color: var(--muted); }
.nav.is-stuck .nav__link:hover { color: var(--ink); }
.nav.is-stuck .nav__pill { background: #14181d; color: #fff; }

/* --- Top menu (version C): solid white bar, blue underline on the open item,
       and a full-width panel with an intro on the left --- */
.nav, .nav.is-stuck { background: #fff; box-shadow: 0 1px 0 #e6e9f0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav .brand, .nav .nav__ghost, .nav.is-stuck .brand, .nav.is-stuck .nav__ghost { color: var(--ink); }
.nav .nav__link, .nav.is-stuck .nav__link { color: #3a4358; }
.nav .nav__pill, .nav.is-stuck .nav__pill { background: #14181d; color: #fff; }
.nav__inner { height: 100%; }
.nav__links { align-self: stretch; gap: 0; }
.nav__item, .nav__plain { display: flex; align-items: center; padding: 0 16px; }
.nav__plain:hover { color: var(--blue); }
.nav__trigger { position: relative; display: inline-flex; align-items: center; gap: 5px; height: 100%; padding: 0; border: 0; background: none; font-family: inherit; cursor: pointer; }
.nav__trigger::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--blue); transform: scaleX(0); transition: transform 0.2s var(--ease); }
.nav .nav__item:hover .nav__trigger, .nav .nav__item:focus-within .nav__trigger { color: var(--blue); }
.nav__item:hover .nav__trigger::after, .nav__item:focus-within .nav__trigger::after { transform: scaleX(1); }
.nav__chev { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.nav__item:hover .nav__chev, .nav__item:focus-within .nav__chev { transform: rotate(180deg); }
.nav__menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  overflow: hidden;
  background: #fff;
  border-top: 1px solid #e6e9f0;
  border-bottom: 1px solid #e6e9f0;
  box-shadow: 0 30px 50px -24px rgba(10, 20, 53, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.2s;
}
.nav__item:hover .nav__menu, .nav__item:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav__panel { display: grid; grid-template-columns: 280px 1fr; }
.nav__intro { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 34px 32px 36px 0; background: #f4f7fd; }
.nav__intro::before { content: ""; position: absolute; top: 0; bottom: 0; right: 100%; width: 100vw; background: #f4f7fd; }
.nav__intro b { color: var(--ink); font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.nav__intro p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.nav__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--blue); font-size: 15px; font-weight: 700; }
.nav__more svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.nav__more:hover svg { transform: translateX(3px); }
.nav__cols { display: flex; gap: 64px; padding: 34px 0 36px 44px; background: #fff; }
.nav__col { display: flex; flex-direction: column; min-width: 210px; }
.nav__colh { margin-bottom: 8px; padding-bottom: 10px; border-bottom: 1px solid #e6e9f0; color: #7a8399; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.nav__sub { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; }
.nav__sub b { color: var(--ink); font-size: 16px; font-weight: 600; transition: color 0.15s ease; }
.nav__sub small { color: var(--muted); font-size: 13.5px; }
.nav__sub:hover b, .nav__sub:focus-visible b { color: var(--blue); }
.nav__sub:focus-visible, .nav__more:focus-visible, .nav__trigger:focus-visible, .nav__plain:focus-visible { outline: 2px solid #9ec0ff; outline-offset: 3px; border-radius: 4px; }

/* --- Responsive --- */
@media (max-width: 1180px) {
  .rh__copy { max-width: 54%; }
  .rh__frame { width: 300px; }
}

@media (max-width: 900px) {
  .rh {
    height: auto;
    max-height: none;
    padding-bottom: 64px;
  }
  .rh__inner {
    padding-top: 132px;
    display: block;
  }
  .rh__copy { max-width: none; }
  .rh__lede { max-width: 34em; }

  .rh__frame {
    position: static;
    transform: none;
    width: 100%;
    max-width: 340px;
    height: auto;
    margin: 44px auto 0;
    padding: 34px 15px 15px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    pointer-events: auto;
  }
  .rh__panel,
  .rh__badges {
    position: static;
    left: auto;
    right: auto;
    top: auto;
  }
  .rh__badges { margin-top: 30px; }
  .rh__scrim {
    background: linear-gradient(180deg, rgba(8, 24, 48, 0.32) 0%, rgba(8, 24, 48, 0.1) 30%, transparent 60%);
  }
}

@media (max-width: 560px) {
  .rh__actions { gap: 18px; align-items: stretch; }
  .rh__cta { width: 100%; }
  .rh__link { justify-content: center; }
  .nav__cta .nav__ghost { display: none; }
  .nav__pill { height: 42px; padding: 0 20px; font-size: 15px; }
}

/* ==========================================================================
   BUILT FOR SCHOOLS — centred type stack over three photographic cards.
   Middle card is elevated and carries the trust marks.
   ========================================================================== */

.pc {
  position: relative;
  background: #fff;
  padding: clamp(78px, 9vw, 148px) 0 clamp(80px, 9vw, 150px);
  overflow: hidden;
}

.pc__head { text-align: center; }

.pc__title {
  max-width: 17ch;
  margin: 0 auto;
  font-size: clamp(32px, 4.3vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #14181d;
}

.pc__lede {
  max-width: 40em;
  margin: clamp(18px, 2vw, 26px) auto 0;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: #14181d;
}

.pc__actions {
  margin-top: clamp(28px, 3.4vw, 46px);
  display: flex;
  justify-content: center;
}
.pc .rh__cta { height: 52px; padding: 0 30px; font-size: 16px; }

/* --- Card row --- */
.pc__row {
  margin-top: clamp(22px, 2.4vw, 36px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(26px, 2.3vw, 36px);
}

.pc__card {
  position: relative;
  flex: none;
  width: clamp(166px, 15vw, 244px);
  aspect-ratio: 0.715;
  border-radius: 16px;
  overflow: hidden;
  background: #dfe5ef;
  /* glossy stroke: see-through frame + crisp outer edge, like the NuPay card */
  box-shadow:
    0 0 0 8px rgba(206, 216, 255, 0.4),
    0 0 0 9px rgba(128, 152, 228, 0.42),
    0 16px 40px rgba(8, 24, 48, 0.14);
  isolation: isolate;
}
/* inner gloss: a soft highlight along the top edge of the card itself */
.pc__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

/* The elevated middle card */
.pc__card--lead {
  width: clamp(184px, 16.6vw, 270px);
  aspect-ratio: 0.7;
  border-radius: 18px;
  box-shadow:
    0 0 0 9px rgba(206, 216, 255, 0.46),
    0 0 0 10px rgba(128, 152, 228, 0.48),
    0 26px 60px rgba(8, 24, 48, 0.2);
}

/* Drop a photograph in per card:
     .pc__card--school { --card-src: url("school.jpg"); }
   Until then each card falls back to its own gradient, which keeps the
   three-colour rhythm of the row. */
.pc__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--card-src, none);
  background-size: cover;
  background-position: var(--card-focus, 50% 35%);
  background-repeat: no-repeat;
}
.pc__card--school .pc__photo {
  background-color: #6b5847;
  background-image: var(--card-src, radial-gradient(120% 90% at 24% 18%, #8d7458 0%, #6d5741 46%, #453728 100%));
}
.pc__card--parent .pc__photo {
  background-color: #5f9ede;
  background-image: var(--card-src, radial-gradient(120% 90% at 26% 12%, #64a2e2 0%, #4f8cd2 44%, #7fb3e8 100%));
}
.pc__card--abroad .pc__photo {
  background-color: #24402f;
  background-image: var(--card-src, radial-gradient(120% 90% at 30% 20%, #37624a 0%, #24402f 48%, #14261c 100%));
}

/* Keeps the overlay figures readable on any photograph. */
.pc__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 20, 40, 0.1) 0%, rgba(8, 20, 40, 0.3) 46%, rgba(8, 20, 40, 0.14) 72%, transparent 100%);
}

/* --- Balance overlay --- */
.pc__overlay {
  position: absolute;
  z-index: 2;
  top: 36%;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
}
.pc__label {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: rgba(255, 255, 255, 0.9);
}
.pc__amount {
  display: block;
  margin-top: 3px;
  font-size: clamp(22px, 2.1vw, 32px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.pc__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 11px;
  height: 29px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  color: #14181d;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* --- White card at the foot --- */
.pc__foot {
  position: absolute;
  z-index: 2;
  left: 7px;
  right: 7px;
  bottom: 7px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 9px;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(8, 24, 48, 0.14);
}
.pc__foot-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  flex: none;
}
.pc__foot-text { min-width: 0; flex: 1; }
.pc__foot-title {
  display: block;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: #14181d;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pc__foot-sub {
  display: block;
  margin-top: 1px;
  font-size: 9px;
  color: var(--muted-2);
  white-space: nowrap;
}
.pc__foot-amt {
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: #14181d;
  flex: none;
}
.pc__foot-amt--in { color: #0f8f61; }

/* Middle card carries the trust marks instead of a transaction */
.pc__foot--badges { gap: 0; padding: 8px 5px; }
.pc__foot--badges .rh__badge { margin: 0 5px; padding: 5px 7px; gap: 5px; border-radius: 7px; }
.pc__foot--badges .rh__badge-crest { width: 17px; height: 17px; border-radius: 4px; font-size: 9px; }
.pc__foot--badges .rh__badge-text { font-size: 8px; letter-spacing: 0.03em; }

/* --- Responsive --- */
@media (max-width: 860px) {
  .pc__row {
    flex-wrap: wrap;
    gap: 34px;
  }
  .pc__card,
  .pc__card--lead {
    width: min(280px, 78vw);
    aspect-ratio: 0.72;
  }
  .pc__card--lead { order: -1; width: min(300px, 84vw); }
  .pc__foot-title { font-size: 12px; }
  .pc__foot-sub { font-size: 10.5px; }
  .pc__foot-amt { font-size: 12px; }
  .pc__label { font-size: 13px; }
  .pc__amount { font-size: 31px; }
  .pc__pill { height: 33px; font-size: 13.5px; }
  .pc__foot { left: 9px; right: 9px; bottom: 9px; padding: 10px 11px; gap: 9px; }
  .pc__foot-icon { width: 26px; height: 26px; }
}

/* ==========================================================================
   Connections hub ("Everything flows through NuPay")
   Diagram coordinates are authored on a 1000 x 682 canvas: each node sets
   --x / --y in those units, and the SVG lines use the same viewBox.
   Sizes use cqw so the whole diagram scales as one piece.
   ========================================================================== */
.hubsec .section-head { margin-bottom: clamp(28px, 3vw, 44px); }
.hubsec .section-head { max-width: 860px; }
.hub-hook {
  margin: 24px auto 0;
  max-width: 34ch;
  color: #fff;
  font-size: clamp(19px, 1.7vw, 25px);
  font-weight: 550;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.hubsec .section-head .hub-body {
  margin: 18px auto 0;
  max-width: 60ch;
  font-size: clamp(16px, 1.15vw, 18px);
}

.hub {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  aspect-ratio: 1000 / 682;
  container-type: inline-size;
}

.hub__dots {
  position: absolute;
  inset: -4% -6%;
  background-image: radial-gradient(rgba(111, 155, 255, 0.16) 1px, transparent 1.2px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 52%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 52%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hub__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

.hub-line {
  stroke: rgba(111, 155, 255, 0.26);
  stroke-width: 1.4;
  stroke-dasharray: 2 5;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  transition: stroke 0.6s var(--ease), opacity 0.6s var(--ease);
}
.hub-line.is-live { stroke: rgba(111, 155, 255, 0.42); }
/* moving "ants" only while a newly revealed card is being linked to NuPay */
.hub-line.is-flow {
  stroke: rgba(160, 190, 255, 0.95);
  stroke-dasharray: 6 7;
  animation: hub-flow 0.7s linear infinite;
}
.hub-line.is-off { opacity: 0; }

@keyframes hub-flow { to { stroke-dashoffset: -13; } }

/* positioner: only places the centre of a node on the canvas */
.hub-n {
  position: absolute;
  left: calc(var(--x) * 0.1%);
  top: calc(var(--y) / 6.82 * 1%);
  transform: translate(-50%, -50%);
  z-index: 1;
}

/* shared swap animation (applied to the inner visual, never the positioner) */
.hub-slot,
.hub-tile,
.hub-out,
.hub-cap,
.hub-acct {
  transition: opacity 0.32s var(--ease), transform 0.42s var(--ease), filter 0.32s var(--ease),
    background-color 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.is-out { opacity: 0 !important; transform: scale(0.9); filter: blur(3px); }

/* ---- top row of school systems ---- */
.hub-row {
  width: 62cqw;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.8cqw;
  padding: 0.6cqw;
  border-radius: 1.1cqw;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.hub-slot {
  height: 3.8cqw;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.45em;
  border-radius: 0.7cqw;
  background: var(--navy-soft);
  border: 1px solid rgba(111, 155, 255, 0.18);
  color: #fff;
  font-size: clamp(9px, 1.2cqw, 14px);
  font-weight: 550;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hub-slot.is-empty {
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.13);
  color: transparent;
}

/* ---- blue labels on the connectors ---- */
.hub-pill {
  display: inline-block;
  padding: 0.62em 1.1em;
  border-radius: 0.6em;
  background: var(--blue);
  color: #fff;
  font-size: clamp(11px, 1.42cqw, 15px);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 10px 28px rgba(29, 91, 255, 0.35);
}

/* NuPay Intelligence: the matching engine gets its own violet card */
.hub-pill--ai {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  padding: 0.7em 1.15em 0.7em 0.95em;
  border-radius: 0.75em;
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 55%, #5b21b6 100%);
  box-shadow: 0 0 0 1px rgba(221, 206, 255, 0.35) inset, 0 12px 34px rgba(124, 58, 237, 0.5);
  text-align: left;
}
.hub-pill__icon { width: 1.35em; height: 1.35em; flex: none; color: #f3e8ff; }
.hub-pill__stack { display: grid; gap: 0.15em; }
.hub-pill__title { font-weight: 700; }
.hub-pill__sub { font-size: 0.8em; font-weight: 500; color: rgba(243, 232, 255, 0.82); }

/* ---- payment tiles: real gateway logos on white cards ---- */
.hub-tiles {
  display: grid;
  grid-template-columns: repeat(2, 7cqw);
  grid-auto-rows: 4.5cqw;
  gap: 0.8cqw;
}
.hub-tile {
  display: grid;
  place-items: center;
  border-radius: 0.9cqw;
  background: #fff;
  color: var(--blue);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.hub-tile img { max-width: 78%; max-height: 66%; width: auto; height: auto; }
.hub-tile.is-empty {
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.13);
  box-shadow: none;
}
/* generic methods (card, bank transfer) shown as icon + word */
.hub-tile__gen {
  display: flex;
  align-items: center;
  gap: 0.4em;
  font-size: clamp(9.5px, 1.1cqw, 12.5px);
  font-weight: 650;
  color: var(--ink);
  white-space: nowrap;
}
.hub-tile__gen svg { width: 1.5em; height: 1.5em; color: var(--blue); }

.hub-cap {
  display: inline-block;
  color: rgba(255, 255, 255, 0.6);
  font-size: clamp(10.5px, 1.2cqw, 13px);
  font-weight: 500;
  white-space: nowrap;
}

/* ---- NuPay core ----
   Dark blue card, a thick translucent frame around it, and a soft glow behind. */
.hub-core {
  --frame: 0.9cqw;
  position: relative;
  width: 12cqw;
  height: 11cqw;
  display: grid;
  place-items: center;
  border-radius: 1.6cqw;
  background: linear-gradient(165deg, #173276 0%, #0e2257 48%, #091740 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 0 0 1px rgba(150, 180, 255, 0.18);
}
/* the frame: a lighter, see-through stroke with a crisp outer edge */
.hub-core::before {
  content: "";
  position: absolute;
  inset: calc(var(--frame) * -1);
  border-radius: calc(1.6cqw + var(--frame));
  background: linear-gradient(180deg, rgba(186, 205, 255, 0.34), rgba(140, 165, 255, 0.2));
  border: 1px solid rgba(205, 220, 255, 0.55);
  z-index: -1;
  pointer-events: none;
}
/* the glow behind, brightest along the top edge */
.hub-core::after {
  content: "";
  position: absolute;
  inset: -70% -75% -60%;
  background:
    radial-gradient(ellipse 42% 38% at 50% 40%, rgba(150, 140, 255, 0.95), rgba(120, 110, 255, 0.55) 45%, transparent 75%),
    radial-gradient(ellipse 70% 62% at 50% 48%, rgba(95, 110, 255, 0.5), transparent 70%);
  filter: blur(2.2cqw);
  z-index: -2;
  pointer-events: none;
}
.hub-core__mark {
  color: #fff;
  font-size: clamp(16px, 2.3cqw, 25px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* ---- accounting output ---- */
.hub-out {
  width: 6.4cqw;
  height: 6.4cqw;
  display: grid;
  place-items: center;
  border-radius: 1.2cqw;
  background: #fff;
  color: var(--blue);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
}
.hub-out svg { width: 50%; height: 50%; }
.hub-out img { max-width: 80%; max-height: 70%; }
.hub-out__text { color: var(--ink); font-size: clamp(10px, 1.25cqw, 13.5px); font-weight: 800; letter-spacing: -0.01em; }

/* ---- bank accounts ---- */
.hub-acct {
  display: grid;
  place-items: center;
  min-width: 8.6cqw;
  height: 3.6cqw;
  min-height: 30px;
  padding: 0 0.9em;
  border-radius: 0.7cqw;
  background: var(--navy-soft);
  border: 1px solid rgba(111, 155, 255, 0.22);
  color: #fff;
  font-size: clamp(10.5px, 1.25cqw, 13.5px);
  font-weight: 550;
  white-space: nowrap;
}
.hub-acct.is-off { opacity: 0; transform: translateY(-8px) scale(0.9); }

/* ---- supporting notes ---- */
.hub-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 44px);
  max-width: 1000px;
  margin: clamp(40px, 5vw, 72px) auto 0;
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hub-note__title { font-size: 17px; font-weight: 650; letter-spacing: -0.01em; color: #fff; }
.hub-note__text { margin-top: 8px; font-size: 15.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.6); }

/* ---- small screens: same nodes, stacked into a grid ---- */
@media (max-width: 760px) {
  .hub {
    aspect-ratio: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "row  row"
      "ptl  ptl"
      "core core"
      "pl   pr"
      "tiles out"
      "cap  outl"
      "pb   pb"
      "a0   a1"
      "a2   a2";
    align-items: center;
    justify-items: center;
    gap: 16px 12px;
    padding: 8px 0;
  }
  .hub__lines { display: none; }
  .hub__dots { inset: 0 -16px; }
  .hub-n { position: static; transform: none; }
  .hub-a-row { grid-area: row; width: 100%; }
  .hub-a-ptl { grid-area: ptl; }
  .hub-a-core { grid-area: core; margin: 10px 0; }
  .hub-a-pl { grid-area: pl; }
  .hub-a-pr { grid-area: pr; }
  .hub-a-tiles { grid-area: tiles; }
  .hub-a-cap { grid-area: cap; margin-top: -6px; }
  .hub-a-out { grid-area: out; }
  .hub-a-outl { grid-area: outl; margin-top: -6px; }
  .hub-a-pb { grid-area: pb; margin-top: 16px; }
  .hub-a-a0 { grid-area: a0; }
  .hub-a-a1 { grid-area: a1; }
  .hub-a-a2 { grid-area: a2; }

  .hub-row { width: 100%; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px; border-radius: 12px; }
  .hub-slot { height: 34px; border-radius: 8px; font-size: 11.5px; }
  .hub-pill { font-size: 12.5px; }
  .hub-tiles { grid-template-columns: repeat(2, 68px); grid-auto-rows: 44px; gap: 7px; }
  .hub-tile { border-radius: 10px; }
  .hub-out { width: 60px; height: 60px; border-radius: 14px; }
  .hub-core { --frame: 8px; width: 116px; height: 96px; border-radius: 18px; }
  .hub-core::before { border-radius: 26px; }
  .hub-core::after { filter: blur(14px); }
  .hub-core__mark { font-size: 22px; }
  .hub-acct { min-width: 110px; height: 34px; border-radius: 8px; font-size: 12.5px; }
  .hub-cap { font-size: 12px; }

  .hub-notes { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hub-line.is-flow { animation: none; }
}

/* ==========================================================================
   Showcase: product screenshot in a glowing frame
   ========================================================================== */
.showcase { padding-top: clamp(72px, 8vw, 120px); padding-bottom: 0; }
.showcase__head { max-width: 820px; }
.showcase__mark {
  display: grid;
  place-items: center;
  width: 88px;
  height: 80px;
  margin: 0 auto 30px;
  border-radius: 20px;
  background: linear-gradient(165deg, #173276 0%, #0e2257 48%, #091740 100%);
  box-shadow:
    0 0 0 7px rgba(170, 190, 255, 0.22),
    0 0 0 8px rgba(205, 220, 255, 0.45),
    0 18px 60px rgba(110, 100, 255, 0.55);
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.showcase__title { font-size: clamp(34px, 4.6vw, 60px); }
.showcase__lede { margin-left: auto; margin-right: auto; }

.showcase__panel {
  position: relative;
  margin: clamp(8px, 2vw, 24px) auto 0;
  max-width: 1240px;
  --pad-top: clamp(64px, 8vw, 110px);
  padding: var(--pad-top) clamp(16px, 6vw, 88px) 0;
  border-radius: 34px 34px 0 0;
  background: linear-gradient(180deg, #0c1330 0%, #0b1638 55%, #13306f 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 0;
  overflow: hidden;
  isolation: isolate;
}
/* violet-blue light rising from behind the top edge of the screen */
.showcase__glow {
  position: absolute;
  left: 4%;
  right: 4%;
  top: 0;
  height: calc(var(--pad-top) + 24px);
  background:
    radial-gradient(ellipse 38% 55% at 50% 100%, rgba(235, 220, 255, 0.95), rgba(190, 150, 255, 0.8) 35%, transparent 80%),
    radial-gradient(ellipse 55% 95% at 50% 100%, rgba(150, 105, 255, 0.85), rgba(110, 80, 255, 0.4) 50%, transparent 85%),
    radial-gradient(ellipse 80% 120% at 50% 100%, rgba(70, 100, 255, 0.45), transparent 85%);
  filter: blur(16px);
  z-index: -1;
  pointer-events: none;
}
.showcase__stars {
  position: absolute;
  inset: 0 10% auto;
  height: clamp(110px, 13vw, 170px);
  background-image:
    radial-gradient(1.4px 1.4px at 12% 40%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 24% 70%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1.6px 1.6px at 38% 30%, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(1px 1px at 47% 82%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1.4px 1.4px at 58% 55%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 66% 25%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1.5px 1.5px at 77% 72%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 88% 45%, rgba(255, 255, 255, 0.6), transparent);
  z-index: -1;
  pointer-events: none;
}
/* the device bezel around the screenshot */
.showcase__frame {
  position: relative;
  padding: clamp(6px, 0.9vw, 12px) clamp(6px, 0.9vw, 12px) 0;
  border-radius: clamp(14px, 2vw, 26px) clamp(14px, 2vw, 26px) 0 0;
  background: linear-gradient(180deg, #3a3f55, #262a3c 40%, #1d2130);
  box-shadow: 0 -1px 0 rgba(220, 210, 255, 0.55), 0 30px 80px rgba(0, 0, 0, 0.45);
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
}
.showcase__frame::before {
  /* thin bright highlight along the top edge, where the glow hits */
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(230, 220, 255, 0.95), transparent);
  border-radius: 2px;
}
.showcase__shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: clamp(8px, 1.3vw, 16px) clamp(8px, 1.3vw, 16px) 0 0;
}

/* screenshot carousel */
.showcase__carousel { position: relative; }
.showcase__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: clamp(8px, 1.3vw, 16px) clamp(8px, 1.3vw, 16px) 0 0;
}
.showcase__track::-webkit-scrollbar { display: none; }
.showcase__track:focus-visible { outline: 2px solid #9ec0ff; outline-offset: 3px; }
.showcase__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; overflow: hidden; }
.showcase__arrow {
  position: absolute;
  top: 44%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(205, 220, 255, 0.55);
  background: rgba(12, 22, 56, 0.72);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 10px 26px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  transform: translateY(-50%);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.showcase__arrow svg { width: 20px; height: 20px; }
.showcase__arrow:hover { background: #1d5bff; transform: translateY(-50%) scale(1.06); }
.showcase__arrow:focus-visible { outline: 2px solid #9ec0ff; outline-offset: 3px; }
.showcase__arrow--prev { left: -23px; }
.showcase__arrow--next { right: -23px; }
.showcase__dots { display: flex; justify-content: center; gap: 10px; padding: 18px 0 22px; }
.showcase__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 9999px;
  background: rgba(205, 220, 255, 0.35);
  transition: width 0.25s var(--ease), background 0.25s var(--ease);
}
.showcase__dot:hover { background: rgba(205, 220, 255, 0.7); }
.showcase__dot.is-active { width: 28px; background: #fff; }
.showcase__dot:focus-visible { outline: 2px solid #9ec0ff; outline-offset: 3px; }

@media (max-width: 760px) {
  .showcase__panel { border-radius: 24px 24px 0 0; margin-left: -4px; margin-right: -4px; }
  .showcase__mark { width: 72px; height: 66px; font-size: 16px; border-radius: 16px; }
  .showcase__title { font-size: 31px; }
  /* zoom into the left of the screen (menu, dates, invoice names) so it stays readable */
  .showcase__shot { width: 205%; max-width: none; }
  .showcase__arrow { width: 38px; height: 38px; }
  .showcase__arrow--prev { left: -10px; }
  .showcase__arrow--next { right: -10px; }
}

/* ==========================================================================
   Direct payments (section 1): from Figma "Phoenix v1.18.0 - EXAMS" 6546:5256
   ========================================================================== */
.dp {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  /* sky placeholder until the design's background image is exported */
  background: linear-gradient(180deg, #0f6fd6 0%, #1f86e8 38%, #4ea5ee 68%, #9dcdf3 90%, #cfe6f7 100%);
}
.dp__inner {
  padding: calc(var(--nav-h) + 72px) clamp(20px, 11.2%, 240px) 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
}
.dp__hero {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.dp__copy {
  width: 466px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 29px;
}
.dp__eyebrow {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.dp__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.015em;
}
.dp__line { font-size: clamp(40px, 4.2vw, 64px); line-height: 1.1; color: #fcfdff; white-space: nowrap; }
.dp__mark {
  padding: 0 10px;
  border-radius: 9px;
  background: #3ee184;
  color: #141b2b;
  font-size: clamp(31px, 3.2vw, 48px);
  line-height: 1.17;
  white-space: nowrap;
}
.dp__sub {
  width: 100%;
  margin: 0;
  padding: 0 6px;
  background: #fff;
  color: #141b2b;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}
.dp__cta-wrap { padding-top: 12px; }
.dp__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border: 3px solid #fff;
  border-radius: 2px;
  background: #25b003;
  color: #f7f7ff;
  font-size: 20px;
  font-weight: 900;
  line-height: 20px;
  letter-spacing: 0.01em;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05));
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.dp__cta:hover { background: #1f9a02; transform: translateY(-1px); }
.dp__cta:focus-visible { outline: 3px solid #141b2b; outline-offset: 3px; }

.dp__media {
  flex: none;
  width: 438px;
  max-width: 100%;
  margin: 0;
  border-radius: 16px;
  box-shadow: 0 24px 60px -20px rgba(5, 11, 31, 0.45);
  overflow: hidden;
  background: #fff;
}
.dp__media img { display: block; width: 100%; height: auto; }

.dp__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.dp__logo {
  display: grid;
  place-items: center;
  width: 83px;
  height: 50px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid rgba(154, 180, 216, 0.6);
}
.dp__logo img { max-width: 78%; max-height: 64%; }
.dp__logo--bare { width: auto; height: 64px; background: transparent; border: 0; }
.dp__logo--bare img { height: 100%; width: auto; max-width: none; max-height: none; }

@media (max-width: 960px) {
  .dp__inner { align-items: stretch; padding-top: calc(var(--nav-h) + 48px); padding-bottom: 64px; }
  .dp__hero { flex-direction: column; align-items: stretch; }
  .dp__copy { width: 100%; }
  .dp__media { width: 100%; max-width: 480px; }
  .dp__logos { justify-content: flex-start; }
}
@media (max-width: 420px) {
  .dp__line { white-space: normal; }
  .dp__logo { width: 72px; height: 44px; }
}

/* ==========================================================================
   Invoice flow (section 2): from Figma "Phoenix v1.18.0 - EXAMS" 6798:976
   ========================================================================== */
.iflow { background: #fff; border-top: 1px solid #02baf4; }
.iflow__inner {
  padding: 80px clamp(20px, 11.2%, 240px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 29px;
  text-align: center;
}
.iflow__title {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 18px;
  margin: 0;
  font-size: clamp(38px, 4.2vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: #070707;
}
.iflow__accent { color: #25b003; }
.iflow__sub { margin: 0; max-width: 820px; color: #141b2b; font-size: 16px; font-weight: 600; line-height: 24px; }

.iflow__steps {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.iflow__step { width: 256px; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.iflow__text {
  margin: 0;
  padding: 0 8px;
  background: #d3efff;
  color: #3d3d3d;
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
}

/* illustration: 256 x 166 (aspect 128/83) */
.iflow__art { position: relative; width: 256px; aspect-ratio: 128 / 83; }
.iflow__halo {
  position: absolute;
  left: 50%;
  top: 2px;
  width: 152px;
  height: 152px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #eceef0 0%, #f2f4f5 55%, rgba(242, 244, 245, 0) 100%);
}
.iflow__card {
  position: absolute;
  left: 42px;
  right: 42px;
  top: 22px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 11px 12px 12px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(20, 27, 43, 0.06), 0 8px 22px rgba(20, 27, 43, 0.08);
}
.iflow__card-title { margin-bottom: 4px; color: #1b2440; font-size: 11px; font-weight: 700; line-height: 1.2; }
.iflow__card-title--ai { color: #7c3aed; }
.iflow__bar { height: 5px; border-radius: 3px; background: #e7e9ed; }
.iflow__bar--short { width: 72%; }
.iflow__btn {
  margin-top: 8px;
  padding: 6px 0;
  border-radius: 3px;
  background: #3ab54a;
  box-shadow: 0 2px 0 #1f6e2b;
  color: #fff;
  font-size: 7.5px;
  font-weight: 700;
  text-align: center;
}
.iflow__ok { display: flex; align-items: center; gap: 7px; margin-top: 8px; color: #1b2440; font-size: 8px; font-weight: 700; }
.iflow__tick { display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #2a9d4b; color: #fff; }
.iflow__tick svg { width: 11px; height: 11px; }
.iflow__plane { position: absolute; right: 36px; top: -6px; width: 30px; height: 30px; color: #22a93b; transform: rotate(4deg); }
.iflow__badge {
  position: absolute;
  right: 30px;
  top: -8px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eef0f2;
}
.iflow__badge svg { width: 18px; height: 18px; }
.iflow__num {
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #eceef0;
  color: #2a9d4b;
  font-size: 11px;
  font-weight: 700;
}

@media (max-width: 860px) {
  .iflow__steps { flex-direction: column; align-items: center; gap: 28px; }
  .iflow__inner { padding-top: 64px; padding-bottom: 64px; }
}

/* ==========================================================================
   Everything in One Place (section 6): Figma 6964:2773
   ========================================================================== */
.eop { background: #fff; padding: 100px 20px 50px; }
.eop__inner { display: flex; flex-direction: column; align-items: center; gap: 34px; text-align: center; }
.eop__title {
  margin: 0;
  color: #222834;
  font-size: clamp(44px, 6.3vw, 96px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.016em;
}
.eop__sub { margin: 0; color: #525b75; font-size: 20px; font-weight: 300; line-height: 1.5; }
@media (max-width: 600px) { .eop { padding-top: 72px; } .eop__inner { gap: 20px; } .eop__sub { font-size: 17px; } }

/* ==========================================================================
   Feature tabs (section 7): Figma 6878:1198 "InteractiveFeatureSection"
   ========================================================================== */
.ifs { background: #fff; padding: 20px 0 100px; }
.ifs__inner {
  display: flex;
  align-items: flex-start;
  gap: 34px;
  padding: 0 clamp(20px, 11.2%, 240px);
}
.ifs__nav { flex: none; width: 351px; padding: 10px; isolation: isolate; }
/* white panel with the glossy stroke; the tiles inside stay dark navy */
.ifs__tabs {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: inset 0 1px 0 #fff, 0 24px 60px -24px rgba(5, 11, 31, 0.28);
}
.ifs__tabs::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(186, 205, 255, 0.55) 0%, rgba(140, 165, 255, 0.28) 45%, rgba(2, 98, 165, 0.16) 100%);
  border: 1px solid rgba(120, 150, 230, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  z-index: -1;
  pointer-events: none;
}
/* each feature is a clearly clickable glassy tile */
.ifs-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 13px 12px 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: linear-gradient(180deg, #33363d 0%, #24272d 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 2px 8px rgba(0, 0, 0, 0.2);
  color: #e6ecff;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease), color 0.2s var(--ease);
}
.ifs-tab:hover {
  border-color: rgba(111, 155, 255, 0.6);
  background: linear-gradient(180deg, #41454e 0%, #2e3138 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 6px 18px rgba(29, 91, 255, 0.25);
  transform: translateY(-1px);
}
.ifs-tab:active { transform: translateY(0); }
.ifs-tab:focus-visible { outline: 2px solid #9ec0ff; outline-offset: 2px; }
.ifs-tab__label { display: flex; align-items: center; gap: 12px; }
.ifs-tab__bar { display: none; width: 6px; height: 20px; border-radius: 9999px; background: #fff; box-shadow: 0 0 10px rgba(255, 255, 255, 0.6); }
.ifs-tab__end { display: flex; align-items: center; gap: 6px; }
.ifs-tab__chev { flex: none; width: 16px; height: 16px; color: rgba(200, 212, 240, 0.5); transition: transform 0.2s var(--ease), color 0.2s var(--ease); }
.ifs-tab:hover .ifs-tab__chev { color: #9ec0ff; transform: translateX(2px); }
.ifs-tab__meta { color: rgba(200, 212, 240, 0.68); font-size: 12px; font-weight: 500; line-height: 16px; white-space: nowrap; }
.ifs-tab__pill {
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(52, 224, 161, 0.16);
  border: 1px solid rgba(52, 224, 161, 0.35);
  color: #6ee7b7;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  white-space: nowrap;
}
.ifs-tab.is-active {
  border-color: rgba(205, 220, 255, 0.55);
  background: linear-gradient(165deg, #3a74ff 0%, #1d5bff 45%, #1238b8 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 28px rgba(29, 91, 255, 0.45);
  color: #fff;
  font-weight: 600;
  transform: none;
}
.ifs-tab.is-active .ifs-tab__bar { display: block; }
.ifs-tab.is-active .ifs-tab__chev { color: #fff; }
.ifs-tab.is-active .ifs-tab__meta {
  color: rgba(255, 255, 255, 0.88);
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 600;
}
.ifs-tab:not(.is-active) .ifs-tab__label { padding-left: 18px; }

.ifs__panels { flex: 1; min-width: 0; max-width: 813px; padding: 10px; isolation: isolate; }
.ifs-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 44px;
  padding: 49px 29px;
  border: 1px solid #e2dfd7;
  border-radius: 24px;
  background: #f0f4f6;
  box-shadow: 0 24px 48px -12px rgba(15, 30, 46, 0.07), 0 2px 6px rgba(15, 30, 46, 0.03), 0 0 0 1px rgba(226, 223, 215, 0.7);
}
.ifs-card[hidden] { display: none; }
/* glossy stroke: a see-through frame with a crisp outer edge, like the NuPay card */
.ifs-card::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(186, 205, 255, 0.55) 0%, rgba(140, 165, 255, 0.28) 45%, rgba(2, 98, 165, 0.16) 100%);
  border: 1px solid rgba(120, 150, 230, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 18px 50px -18px rgba(2, 98, 165, 0.35);
  z-index: -1;
  pointer-events: none;
}
.ifs-card__head { display: flex; flex-direction: column; gap: 10px; }
.ifs-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ifs-dot { width: 8px; height: 8px; border-radius: 50%; background: #065f46; }
.ifs-eyebrow--brand { color: #0262a5; }
.ifs-title { margin: 0; color: #0f1e2e; font-size: clamp(28px, 2.4vw, 36px); font-weight: 600; line-height: 1.12; letter-spacing: -0.025em; }
.ifs-list { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 18px 0 0; list-style: none; }
.ifs-list li { display: flex; align-items: flex-start; gap: 12px; color: #334155; font-size: 14px; font-weight: 500; line-height: 24px; }
.ifs-check {
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 5px;
  background: #0262a5;
  color: #fff;
}
.ifs-check svg { width: 14px; height: 14px; }

/* product mockup: the Payments screen, rebuilt in HTML */
.ifs-mock {
  height: 388px;
  overflow: hidden;
  border: 1px solid #e2dfd7;
  border-radius: 16px;
  background: #fff;
  color: #1f2937;
  font-size: 10px;
  -webkit-mask-image: linear-gradient(180deg, #000 85%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 85%, transparent 100%);
}
.ifs-mock svg { width: 12px; height: 12px; flex: none; }
/* ==========================================================================
   Pricing page (/pricing): three plan cards with collapsible feature groups.
   The cards share one row grid (subgrid), so each group lines up across plans.
   ========================================================================== */
.pp { background: #fff; color: #0f1e2e; }
.pp__inner { max-width: 1240px; margin: 0 auto; padding: 150px 28px 110px; }
.pp__hero { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.pp__eyebrow { color: #0262a5; font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.pp__title { margin: 14px 0 0; color: #111827; font-size: clamp(34px, 3.6vw, 54px); font-weight: 400; line-height: 1.12; letter-spacing: -0.025em; }
.pp__lede { margin: 18px 0 0; color: #334155; font-size: 18px; line-height: 1.55; }
.pp__note { margin: 14px 0 0; color: #64748b; font-size: 14px; }

.pp__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(8, auto); column-gap: 28px; align-items: stretch; }
.pp-card { display: grid; grid-template-rows: subgrid; grid-row: span 8; min-width: 0; }
.pp-card > * { border-left: 1px solid #c9ced6; border-right: 1px solid #c9ced6; background: #fff; }
.pp-card > :last-child { border-bottom: 1px solid #c9ced6; border-radius: 0 0 20px 20px; }
.pp-card--popular > * { border-left: 2px solid #0b0f17; border-right: 2px solid #0b0f17; }
.pp-card--popular > :last-child { border-bottom: 2px solid #0b0f17; }

.pp-badge { padding: 11px 12px; border-radius: 20px 20px 0 0; background: #0b0f17; color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-align: center; text-transform: uppercase; }
.pp-card > .pp-badge { border: 0; }
.pp-card > .pp-badge--none { background: transparent; }
.pp-head { display: flex; flex-direction: column; padding: 34px 30px 28px; border-top: 1px solid #c9ced6; border-radius: 20px 20px 0 0; }
.pp-card--popular .pp-head { border-top: 0; border-radius: 0; }
.pp-name { margin: 0; font-size: 31px; font-weight: 400; letter-spacing: -0.02em; line-height: 1.15; }
.pp-tag { margin: 14px 0 0; min-height: 3em; color: #334155; font-size: 15.5px; line-height: 1.5; }
.pp-price { display: flex; align-items: baseline; gap: 2px; margin: 22px 0 0; }
.pp-price__cur { align-self: flex-start; margin-top: 8px; font-size: 24px; font-weight: 700; }
.pp-price__amt { font-size: 60px; font-weight: 700; letter-spacing: -0.035em; line-height: 1; }
.pp-price__per { margin-left: 6px; color: #334155; font-size: 16px; }
.pp-cta { display: block; margin-top: 26px; padding: 17px 20px; border-radius: 9999px; background: var(--blue); color: #fff; font-size: 17px; font-weight: 700; text-align: center; text-decoration: none; transition: background-color 0.2s var(--ease), transform 0.2s var(--ease); }
.pp-cta:hover { background: #1447d6; transform: translateY(-1px); }
.pp-cta:focus-visible { outline: 3px solid #9ec0ff; outline-offset: 3px; }
.pp-users { display: flex; flex-direction: column; gap: 3px; margin: 28px 0 0; font-size: 15.5px; }
.pp-users b { font-weight: 700; }
.pp-users span { color: #334155; }

/* NuPay Intelligence: tinted block under a blue-to-cyan rule */
.pp-ai { position: relative; padding: 26px 30px 24px; }
.pp-card > .pp-ai { background: #eff3f6; }
.pp-ai::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #1d5bff 0%, #46d3f0 55%, #6f9bff 100%); }
.pp-ai__title { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 16.5px; font-weight: 650; }
.pp-ai__mark { width: 20px; height: 20px; color: var(--blue); }

.pp-group { padding: 0 30px; border-top: 1px solid #dfe3e8; }
.pp-group summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 0; font-size: 16.5px; font-weight: 650; cursor: pointer; list-style: none; }
.pp-group summary::-webkit-details-marker { display: none; }
.pp-group summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 4px; }
.pp-chev { flex: none; width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.pp-group:not([open]) .pp-chev { transform: rotate(180deg); }
.pp-group[open] { padding-bottom: 24px; }
.pp-lead { margin: -4px 0 12px; color: #475569; font-size: 14.5px; font-weight: 600; }
.pp-list { display: flex; flex-direction: column; gap: 13px; margin: 0; padding: 0; list-style: none; }
.pp-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; line-height: 1.4; }
.pp-list li.is-off { color: #94a3b8; }
.pp-i { flex: none; width: 19px; height: 19px; margin-top: 1px; }
.pp-i--yes { color: #2fb457; }
.pp-i--no { color: #cbd5e1; }
.pp-i--ai { color: var(--blue); }
.pp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 980px) {
  .pp__inner { padding: 120px 20px 72px; }
  .pp__grid { display: flex; flex-direction: column; gap: 30px; max-width: 520px; margin: 0 auto; }
  .pp-card { display: block; }
  .pp-card > .pp-badge--none { display: none; }
  .pp-tag { min-height: 0; }
  .pp-head, .pp-ai { padding-left: 22px; padding-right: 22px; }
  .pp-group { padding-left: 22px; padding-right: 22px; }
}

/* ==========================================================================
   Online Payments page (/online-payments)
   ========================================================================== */
.op__inner { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.op-eyebrow { color: #0262a5; font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.op-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.op-title { margin: 14px 0 0; color: #111827; font-size: clamp(30px, 3.2vw, 46px); font-weight: 400; line-height: 1.12; letter-spacing: -0.025em; }
.op-lede { margin: 16px 0 0; color: #475569; font-size: 17.5px; line-height: 1.6; }
.op-btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 30px; border-radius: 9999px; background: var(--blue); color: #fff; font-size: 16.5px; font-weight: 700; transition: background-color 0.2s var(--ease), transform 0.2s var(--ease); }
.op-btn:hover { background: #1447d6; transform: translateY(-1px); }
.op-btn svg { flex: none; width: 16px; height: 16px; margin-left: 6px; }
.op-btn--light { background: #fff; color: #14181d; }
.op-btn--light:hover { background: #eef3ff; }
.op-link { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-size: 16px; font-weight: 700; }
.op-link svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.op-link:hover svg { transform: translateX(3px); }
.op-link--light { color: #fff; }
.op-btn:focus-visible, .op-link:focus-visible { outline: 3px solid #9ec0ff; outline-offset: 3px; border-radius: 9999px; }

.op-hero { background: linear-gradient(180deg, #f4f7fd 0%, #fff 100%); }
.op-hero__inner { display: flex; align-items: center; gap: 56px; padding-top: 150px; padding-bottom: 90px; }
.op-hero__copy { flex: 1 1 0; min-width: 0; }
.op-hero__title { margin: 16px 0 0; color: #0f1e2e; font-size: clamp(38px, 4.4vw, 62px); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; }
.op-hero__lede { margin: 22px 0 0; max-width: 56ch; color: #334155; font-size: 18.5px; line-height: 1.6; }
.op-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 32px; }
.op-hero__points { display: flex; flex-direction: column; gap: 12px; margin: 36px 0 0; padding: 0; list-style: none; }
.op-hero__points li { display: flex; align-items: center; gap: 12px; color: #334155; font-size: 15.5px; font-weight: 500; }
.op-hero__media { flex: none; width: min(438px, 38%); margin: 0; }
.op-hero__media img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 30px 60px -24px rgba(10, 20, 53, 0.3); }

.op-methods { padding: 96px 0; background: #fff; }
.op-methods__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.op-method { display: flex; flex-direction: column; align-items: flex-start; padding: 22px; border: 1px solid #e6e9f0; border-radius: 16px; background: #fff; transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--ease); }
.op-method:hover { border-color: #c9d6f5; box-shadow: 0 18px 36px -20px rgba(10, 20, 53, 0.25); transform: translateY(-2px); }
.op-method__logo { display: flex; align-items: center; height: 44px; margin-bottom: 18px; }
.op-method__logo img { height: 36px; width: auto; max-width: 140px; object-fit: contain; object-position: left center; }
.op-method__gen { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #e8efff; color: var(--blue); }
.op-method__gen svg { width: 22px; height: 22px; }
.op-method__name { color: #0f1e2e; font-size: 17px; font-weight: 700; }
.op-method__kind { margin-top: 3px; color: #64748b; font-size: 14.5px; }

.op-match { padding: 96px 0; background: #f0f4f6; }
.op-match__body { display: flex; align-items: center; gap: 56px; }
.op-match__list { flex: 1 1 0; min-width: 0; padding: 0; gap: 18px; }
.op-match__list li { font-size: 16px; line-height: 1.55; }
.op-match__mock { flex: none; max-width: 100%; }

.op-steps { padding: 96px 0; background: #fff; }
.op-steps__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.op-step { padding: 26px 22px; border-radius: 16px; background: #f4f7fd; }
.op-step__n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 15px; font-weight: 800; }
.op-step h3 { margin: 18px 0 0; color: #0f1e2e; font-size: 18.5px; font-weight: 700; letter-spacing: -0.01em; }
.op-step p { margin: 8px 0 0; color: #475569; font-size: 15px; line-height: 1.55; }

.op-cta { background: linear-gradient(165deg, #3a74ff 0%, #1d5bff 45%, #1238b8 100%); color: #fff; }
.op-cta__inner { display: flex; flex-direction: column; align-items: center; padding-top: 84px; padding-bottom: 88px; text-align: center; }
.op-cta__title { margin: 0; font-size: clamp(30px, 3.2vw, 46px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.op-cta__lede { margin: 16px 0 0; max-width: 52ch; color: rgba(255, 255, 255, 0.86); font-size: 17.5px; line-height: 1.6; }
.op-cta .op-hero__actions { justify-content: center; }

/* shared by the inner product pages */
.op-steps--tint { background: #f0f4f6; }
.op-steps--tint .op-step { background: #fff; }
.op-match--white { background: #fff; }
.op-match__body--flip { flex-direction: row-reverse; }
.op-match__mock--wide { width: 620px; }
.op-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 44px 0 0; padding: 0; list-style: none; }
.op-card { padding: 26px 24px; border: 1px solid #e6e9f0; border-radius: 16px; background: #fff; }
.op-card__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #e8efff; color: var(--blue); }
.op-card__ico svg { width: 22px; height: 22px; }
.op-card h3 { margin: 18px 0 0; color: #0f1e2e; font-size: 18.5px; font-weight: 700; letter-spacing: -0.01em; }
.op-card p { margin: 8px 0 0; color: #475569; font-size: 15px; line-height: 1.55; }

/* Bank Feeds page (/bank-feeds) */
.bf-hero__media { width: min(500px, 44%); }
.bf-feed { overflow: hidden; border: 1px solid #e2e6ee; border-radius: 16px; background: #fff; box-shadow: 0 30px 60px -24px rgba(10, 20, 53, 0.3); color: #0f1e2e; }
.bf-feed__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid #eef0f3; }
.bf-feed__logo, .bf-bank__logo { flex: none; display: grid; place-items: center; border: 1px solid #e6e9f0; border-radius: 10px; background: #fff; }
.bf-feed__logo { width: 40px; height: 40px; }
.bf-feed__logo img { max-width: 70%; max-height: 70%; }
.bf-feed__name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bf-feed__name b { font-size: 14.5px; font-weight: 700; }
.bf-feed__name small { color: #64748b; font-size: 12px; }
.bf-live { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 9999px; background: #dcfce7; color: #15803d; font-size: 11.5px; font-weight: 700; }
.bf-live i { width: 6px; height: 6px; border-radius: 50%; background: #16a34a; }
.bf-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 104px; align-items: center; gap: 12px; padding: 13px 18px; border-bottom: 1px solid #f1f3f6; }
.bf-row__main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bf-row__main b { overflow: hidden; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; text-overflow: ellipsis; }
.bf-row__main small { overflow: hidden; color: #64748b; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.bf-amt { font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.bf-amt--in { color: #15803d; }
.bf-tag { justify-self: end; padding: 4px 10px; border-radius: 9999px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.bf-tag--ok { background: #dcfce7; color: #15803d; }
.bf-tag--cat { background: #e3effa; color: #0262a5; }
.bf-tag--rev { background: #ffedd5; color: #c2410c; }
.bf-feed__foot { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; background: #f8fafc; color: #475569; font-size: 12px; font-weight: 600; }
.bf-bank { display: flex; align-items: center; gap: 16px; max-width: 620px; margin: 0 auto; padding: 18px 22px; border: 1px solid #e6e9f0; border-radius: 16px; background: #fff; box-shadow: 0 18px 36px -24px rgba(10, 20, 53, 0.25); }
.bf-bank__logo { width: 56px; height: 56px; border-radius: 14px; }
.bf-bank__logo img { max-width: 72%; max-height: 72%; }
.bf-bank__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bf-bank__body b { color: #0f1e2e; font-size: 18px; font-weight: 700; }
.bf-bank__body small { color: #64748b; font-size: 14px; }
.bf-bank__note { margin: 18px 0 0; color: #64748b; font-size: 14.5px; text-align: center; }
.bf-bank__note a { color: var(--blue); font-weight: 600; }

/* Fee Allocation page (/fee-allocation) */
.op-cards--six { margin-top: 0; }
.fa-alloc__pay { display: flex; flex-direction: column; align-items: flex-start; padding: 20px 20px 18px; border-bottom: 1px solid #eef0f3; }
.fa-alloc__pay .pm-k { font-size: 10.5px; }
.fa-alloc__amt { margin-top: 4px; color: #15803d; font-size: 36px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.fa-alloc__from { margin-top: 4px; color: #475569; font-size: 13.5px; }
.fa-alloc__label { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; background: #f8fafc; border-bottom: 1px solid #eef0f3; color: #475569; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.fa-alloc__label .bf-live { letter-spacing: 0; text-transform: none; }
.fa-line { display: grid; grid-template-columns: minmax(0, 1fr) auto 108px; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid #f1f3f6; }
.fa-line__main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fa-line__main b { font-size: 14.5px; font-weight: 700; }
.fa-line__main small { color: #64748b; font-size: 12px; }
.fa-line__amt { font-size: 14.5px; font-weight: 800; white-space: nowrap; }
.fa-alloc .bf-feed__foot { padding: 13px 20px; }
.fa-fee .fee { padding-left: 0; }

/* AutoReconcile page (/autoreconcile) */
.op-methods--tint { background: #f0f4f6; }
.ar-rec__bal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid #eef0f3; }
.ar-rec__bal > div { padding: 18px 18px 16px; }
.ar-rec__bal > div + div { border-left: 1px solid #eef0f3; }
.ar-rec__bal .pm-k { font-size: 10px; }
.ar-rec__bal b { display: block; margin-top: 5px; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.ar-rec__diff { background: #f0fdf4; }
.ar-rec__diff b { color: #15803d; }
.ar-rec__prog { padding: 18px 18px 16px; border-bottom: 1px solid #eef0f3; }
.ar-rec__progtop { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 9px; color: #334155; font-size: 13px; font-weight: 600; }
.ar-rec__progtop b { color: #15803d; }
.ar-rec__rows { padding: 8px 18px 12px; }
.ar-rec__row { display: flex; align-items: center; gap: 10px; padding: 9px 0; color: #334155; font-size: 13.5px; }
.ar-rec__row b { margin-left: auto; color: #0f1e2e; font-weight: 800; }
.ar-rec__dot { width: 8px; height: 8px; border-radius: 50%; }
.ar-rec__dot--ok { background: #16a34a; }
.ar-rec__dot--blue { background: #0262a5; }
.ar-rec__dot--rev { background: #ea580c; }
.ar-cmp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 940px; margin: 0 auto; }
.ar-cmp__col { padding: 30px 28px; border: 1px solid #e2e6ee; border-radius: 16px; background: #fff; }
.ar-cmp__col h3 { margin: 0 0 16px; color: #64748b; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.ar-cmp__col ul { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.ar-cmp__col li { position: relative; display: flex; align-items: flex-start; gap: 12px; color: #64748b; font-size: 16px; line-height: 1.45; }
.ar-cmp__col:not(.ar-cmp__col--new) li { padding-left: 30px; text-decoration: line-through; text-decoration-color: #cbd5e1; }
.ar-cmp__col:not(.ar-cmp__col--new) li::before { content: ""; position: absolute; left: 4px; top: 0.7em; width: 12px; height: 2px; border-radius: 2px; background: #cbd5e1; }
.ar-cmp__col--new { border-color: var(--blue); box-shadow: 0 24px 48px -24px rgba(29, 91, 255, 0.4); }
.ar-cmp__col--new h3 { color: var(--blue); }
.ar-cmp__col--new li { color: #0f1e2e; font-weight: 500; }
.ar-cmp__col--new svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: #16a34a; }
.ar-feedwrap { width: 500px; }

/* Accounting page (/accounting) */
.op-cards--four { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 0; }
.ac-tag { display: inline-block; margin-left: 8px; padding: 3px 8px; border-radius: 9999px; background: #e8efff; color: var(--blue); font-size: 10.5px; font-weight: 700; letter-spacing: 0; vertical-align: 2px; white-space: nowrap; }
.ac-entry { padding: 14px 18px 4px; border-bottom: 1px solid #eef0f3; }
.ac-entry:last-child { border-bottom: 0; padding-bottom: 8px; }
.ac-entry__src { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.ac-entry__src b { display: block; font-size: 14px; font-weight: 700; }
.ac-entry__src small { color: #64748b; font-size: 12px; }
.ac-jl { display: grid; grid-template-columns: minmax(0, 1fr) 84px 84px; gap: 8px; padding: 9px 0; border-top: 1px solid #f1f3f6; font-size: 13px; }
.ac-jl span:not(:first-child) { font-weight: 700; text-align: right; }
.ac-jl--head { border-top: 0; padding: 0 0 6px; color: #64748b; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.ac-jl--head span:not(:first-child) { font-weight: 700; }
.ac-jl--total { color: #15803d; font-weight: 700; }
.ac-jl--total span:first-child { display: flex; align-items: center; gap: 6px; }
.ac-jl--total svg { width: 14px; height: 14px; }
.ac-reports { max-width: 800px; margin: 0 auto; }

.ac-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ac-two__col { padding: 32px 30px; border: 1px solid #e2e6ee; border-radius: 18px; background: #fff; }
.ac-two__col--alt { border-color: var(--blue); box-shadow: 0 24px 48px -24px rgba(29, 91, 255, 0.4); }
.ac-two__col h3 { margin: 10px 0 18px; color: #0f1e2e; font-size: 23px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.ac-two__col ul { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ac-two__col li { display: flex; align-items: flex-start; gap: 10px; color: #334155; font-size: 15.5px; line-height: 1.5; }
.ac-two__col li svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: #16a34a; }
.ac-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ac-group { padding: 26px 26px 22px; border: 1px solid #e6e9f0; border-radius: 16px; background: #fff; }
.ac-group h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; color: #0f1e2e; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.ac-group h3 .op-card__ico { width: 38px; height: 38px; border-radius: 10px; }
.ac-group h3 .op-card__ico svg { width: 19px; height: 19px; }
.ac-group ul { display: flex; flex-direction: column; gap: 9px; margin: 0; padding: 0; list-style: none; }
.ac-group li { display: flex; align-items: flex-start; gap: 9px; color: #334155; font-size: 14.5px; line-height: 1.5; }
.ac-group li svg { flex: none; width: 15px; height: 15px; margin-top: 4px; color: #16a34a; }
.ac-group__plan { margin-top: 4px; }
.ac-group li .ac-tag { margin-left: 0; }
.ac-coa { width: 460px; max-width: 100%; }
.ac-coa__rows { padding: 6px 0 8px; }
.ac-coa__row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; padding: 7px 18px; font-size: 13px; color: #334155; }
.ac-coa__row--d0 { margin-top: 8px; padding-top: 10px; border-top: 1px solid #eef0f3; color: #0f1e2e; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; font-size: 11.5px; }
.ac-coa__row--d1 { padding-left: 30px; }
.ac-coa__code { font-family: var(--mono); font-size: 11.5px; color: #64748b; }
.ac-coa__row--d0 .ac-coa__code { color: #0f1e2e; }
.ac-coa__bal { font-weight: 700; color: #0f1e2e; white-space: nowrap; }
.ac-auto { max-width: 960px; margin: 0 auto; overflow: hidden; border: 1px solid #e2e6ee; border-radius: 16px; background: #fff; }
.ac-auto__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); border-top: 1px solid #eef0f3; }
.ac-auto__row > span { padding: 16px 22px; font-size: 15.5px; line-height: 1.5; color: #334155; }
.ac-auto__row > span:first-child { border-right: 1px solid #eef0f3; }
.ac-auto__row > span:last-child { display: flex; align-items: flex-start; gap: 10px; background: #f4f7fd; color: #0f1e2e; font-weight: 500; }
.ac-auto__row > span:last-child svg { flex: none; width: 17px; height: 17px; margin-top: 3px; color: #16a34a; }
.ac-auto__row--head { border-top: 0; }
.ac-auto__row--head > span { padding: 12px 22px; color: #64748b; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.ac-auto__row--head > span:last-child { color: var(--blue); }
.ac-rep { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 8px; }
.ac-rep__col { padding: 22px 22px 18px; border: 1px solid #e6e9f0; border-radius: 16px; background: #fff; }
.ac-rep__col h3 { margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid #e6e9f0; color: #7a8399; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.ac-rep__col ul { margin: 0; padding: 0; list-style: none; }
.ac-rep__col li { padding: 6px 0; color: #0f1e2e; font-size: 15px; font-weight: 600; }
.ac-reports { margin-top: 36px; }

/* Budgeting page (/budgeting) */
.op-eyebrow .ac-tag { margin-left: 10px; vertical-align: 1px; }
.bu-hero__media .bud { width: 100%; box-shadow: 0 30px 60px -24px rgba(10, 20, 53, 0.3); }
.bu-depts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; width: 600px; }
.bu-dept { padding: 16px 18px 18px; border: 1px solid #e2e6ee; border-radius: 14px; background: #fff; color: #0f1e2e; }
.bu-dept__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.bu-dept__head b { display: block; font-size: 15px; font-weight: 700; }
.bu-dept__head small { color: #64748b; font-size: 12px; }
.bu-dept__nums { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; margin: 14px 0 10px; }
.bu-dept__nums small { display: block; color: #64748b; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.bu-dept__nums b { display: block; margin-top: 2px; font-size: 14.5px; font-weight: 800; }
.bu-dept__bar { height: 7px; }
.bu-dept__bar i { background: #0262a5; }
.bu-dept--over .bu-dept__bar i, .bu-dept--over .bu-dept__pct { color: #dc2626; background: #dc2626; }
.bu-dept--over .bu-dept__pct { background: none; }
.bu-bva { max-width: 980px; margin: 0 auto; overflow: hidden; border: 1px solid #e2e6ee; border-radius: 16px; background: #fff; color: #0f1e2e; box-shadow: 0 24px 48px -28px rgba(10, 20, 53, 0.25); }
.bu-bva__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 18px 22px; border-bottom: 1px solid #eef0f3; }
.bu-bva__head b { display: block; font-size: 16px; font-weight: 700; }
.bu-bva__head small { color: #64748b; font-size: 12.5px; }
.bu-bva__filters { display: flex; gap: 6px; }
.bu-bva__filters span { padding: 5px 10px; border: 1px solid #e2e6ee; border-radius: 6px; background: #f8fafc; font-size: 12px; font-weight: 600; color: #334155; }
.bu-bva__table { overflow-x: auto; }
.bu-bva__row { display: grid; grid-template-columns: minmax(180px, 1.8fr) repeat(4, minmax(84px, 1fr)); gap: 10px; padding: 11px 22px; border-top: 1px solid #f1f3f6; font-size: 13.5px; }
.bu-bva__row span:not(:first-child) { text-align: right; font-weight: 600; white-space: nowrap; }
.bu-bva__row--th { border-top: 0; padding: 10px 22px; background: #f8fafc; color: #64748b; font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.bu-bva__row--th span:not(:first-child) { font-weight: 700; }
.bu-bva__sec { padding: 12px 22px 4px; color: #0262a5; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.bu-bva__row--over span:nth-child(4), .bu-bva__row--over span:nth-child(5) { color: #dc2626; }
.bu-bva__row--good span:nth-child(4), .bu-bva__row--good span:nth-child(5) { color: #15803d; }
.bu-bva__row--under span:nth-child(4), .bu-bva__row--under span:nth-child(5) { color: #c2410c; }
.bu-bva__row--total { margin-top: 6px; border-top: 2px solid #e2e6ee; background: #f8fafc; font-weight: 800; }
.bu-bva__row--total span { font-weight: 800 !important; }
.bu-bva__foot { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 14px 22px; border-top: 1px solid #eef0f3; background: #f4f7fd; color: #334155; font-size: 12.5px; font-weight: 600; }
.bu-bva__foot span { display: inline-flex; align-items: center; gap: 6px; }
.bu-bva__foot svg { width: 13px; height: 13px; color: #16a34a; }
.bu-bva__points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; max-width: 980px; margin: 36px auto 0; padding: 0; }
.bu-bva__points li { font-size: 15.5px; line-height: 1.5; }

/* Invoicing page (/invoicing) */
.in-hero__media { width: min(540px, 46%); }
.in-dash__cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid #eef0f3; }
.in-dash__cards > div { padding: 14px 14px 12px; }
.in-dash__cards > div + div { border-left: 1px solid #eef0f3; }
.in-dash__cards small, .in-ar__totals small, .in-pick__sum small { display: block; color: #64748b; font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.in-dash__cards b, .in-ar__totals b { display: block; margin-top: 4px; font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.in-dash__ok { color: #15803d; }
.in-dash__due { color: #c2410c; }
.in-dash__prog { padding: 14px 18px; border-bottom: 1px solid #eef0f3; }
.in-dash__prog .ar-rec__progtop { font-size: 12px; }
.in-dash__row { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 0.8fr)) 70px; align-items: center; gap: 8px; padding: 10px 18px; border-top: 1px solid #f1f3f6; font-size: 12.5px; color: #0f1e2e; }
.in-dash__row > span:not(:first-child):not(.bf-tag) { text-align: right; font-weight: 600; }
.in-dash__row .bf-tag { justify-self: end; }
.in-dash__row--th { border-top: 0; padding: 9px 18px; background: #f8fafc; color: #64748b; font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.in-dash__stu b { display: block; font-weight: 700; }
.in-dash__stu small { color: #64748b; font-size: 11px; }
.in-dash__paid { color: #15803d; }
.in-kind__p { margin: 0 0 16px; color: #475569; font-size: 15.5px; line-height: 1.5; }
.op-steps__grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.in-master__body, .in-paid__body { margin-top: 44px; }
.in-pick { width: 600px; }
.in-pick__filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 18px; border-bottom: 1px solid #eef0f3; }
.in-pick__chip { padding: 5px 11px; border: 1px solid #e2e6ee; border-radius: 9999px; background: #fff; color: #334155; font-size: 11.5px; font-weight: 600; }
.in-pick__chip--on { border-color: #0262a5; background: #e3effa; color: #0262a5; }
.in-pick__sum { display: flex; gap: 28px; padding: 12px 18px; background: #f4f7fd; border-bottom: 1px solid #eef0f3; }
.in-pick__sum b { display: block; margin-top: 2px; font-size: 14px; font-weight: 800; color: #0f1e2e; }
.in-pick__row { display: grid; grid-template-columns: 16px minmax(0, 1.6fr) repeat(3, minmax(0, 0.8fr)); align-items: center; gap: 12px; padding: 10px 18px; border-top: 1px solid #f1f3f6; font-size: 12.5px; color: #334155; }
.in-pick__row b { display: block; color: #0f1e2e; font-weight: 700; }
.in-pick__row small { color: #64748b; font-size: 11px; }
.in-pick__row--th { border-top: 0; background: #f8fafc; color: #64748b; font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.in-pick .pm-box { width: 14px; height: 14px; }
.in-pick .pm-box svg { width: 10px; height: 10px; }
.in-pick__btn { padding: 6px 12px; border-radius: 6px; background: #0262a5; color: #fff; font-weight: 700; }
.in-doc { width: 470px; max-width: 100%; color: #0f1e2e; }
.in-doc__top { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid #eef0f3; }
.in-doc__top small, .in-doc__meta small { display: block; color: #64748b; font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.in-doc__top b { font-family: var(--mono); font-size: 14px; font-weight: 700; }
.in-doc__meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 14px 20px; border-bottom: 1px solid #eef0f3; }
.in-doc__meta b { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 700; }
.in-doc__meta em { display: block; color: #64748b; font-size: 11px; font-style: normal; }
.in-doc__lines { padding: 4px 0; }
.in-doc__line { display: grid; grid-template-columns: minmax(0, 1.8fr) 36px 70px 76px; align-items: center; gap: 8px; padding: 9px 20px; border-top: 1px solid #f1f3f6; font-size: 12.5px; }
.in-doc__line > span:not(:first-child) { text-align: right; font-weight: 600; }
.in-doc__line b { display: block; font-weight: 700; }
.in-doc__line small { color: #64748b; font-family: var(--mono); font-size: 10.5px; }
.in-doc__line--th { border-top: 0; color: #64748b; font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.in-doc__line--th > span:not(:first-child) { font-weight: 700; }
.in-doc__total { display: flex; justify-content: space-between; padding: 12px 20px; border-top: 2px solid #e2e6ee; font-size: 14px; font-weight: 800; }
.in-doc__paid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; padding: 11px 20px; background: #f0fdf4; color: #15803d; font-size: 12px; font-weight: 700; }
.in-doc__paid span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.in-doc__paid svg { width: 13px; height: 13px; }
.in-rules { max-width: 900px; margin: 36px auto 0; overflow: hidden; border: 1px solid #e2e6ee; border-radius: 16px; background: #fff; }
.in-rules__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); border-top: 1px solid #eef0f3; }
.in-rules__row > span { padding: 16px 22px; font-size: 15.5px; line-height: 1.5; color: #334155; }
.in-rules__row > span:first-child { position: relative; padding-left: 38px; font-weight: 700; color: #0f1e2e; border-right: 1px solid #eef0f3; }
.in-rules__row > span:first-child::before { content: ""; position: absolute; left: 20px; top: 24px; width: 8px; height: 8px; border-radius: 50%; }
.in-rules__row--ok > span:first-child::before { background: #16a34a; }
.in-rules__row--cat > span:first-child::before { background: #0262a5; }
.in-rules__row--rev > span:first-child::before { background: #ea580c; }
.in-rules__row--th { border-top: 0; background: #f8fafc; }
.in-rules__row--th > span { padding: 11px 22px; color: #64748b; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.in-rules__row--th > span:first-child { padding-left: 22px; }
.in-rules__row--th > span:first-child::before { display: none; }
.in-defer { gap: 48px; }
.in-defer__copy { flex: 1 1 0; min-width: 0; }
.in-defer__copy .op-title { margin-top: 14px; }
.in-defer__card { flex: none; width: 420px; max-width: 100%; }
.in-ar__totals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid #eef0f3; }
.in-ar__totals > div { padding: 14px 22px; }
.in-ar__totals > div + div { border-left: 1px solid #eef0f3; }
.in-ar__row { display: grid; grid-template-columns: minmax(160px, 1.8fr) repeat(6, minmax(64px, 0.8fr)); gap: 8px; padding: 11px 22px; border-top: 1px solid #f1f3f6; font-size: 13px; color: #334155; }
.in-ar__row > span:not(:first-child) { text-align: right; font-weight: 600; white-space: nowrap; }
.in-ar__row b { color: #0f1e2e; font-weight: 700; }
.in-ar__row small { display: block; color: #64748b; font-size: 11px; }
.in-ar__row--th { border-top: 0; padding: 10px 22px; background: #f8fafc; color: #64748b; font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.in-ar__late { color: #c2410c; }
.in-reports__cards { margin-top: 36px; }

.in-look { align-items: center; gap: 56px; }
.in-look__copy { flex: 1 1 0; min-width: 0; }
.in-look__copy .op-title { margin-top: 14px; }
.in-look__copy .op-match__list { margin-top: 28px; }
.in-look--status .in-look__copy .op-lede { margin-top: 12px; }
.in-status__h3 { margin: 0; color: #0f1e2e; font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.in-look__media { flex: none; width: 460px; max-width: 100%; }
.in-disc { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #eaf1ff 0%, #c9dbff 55%, #a9c4ff 100%); }
.in-disc--dark { background: radial-gradient(circle at 30% 25%, #173276 0%, #0e2257 55%, #091740 100%); }
.in-look__card, .in-status__card { width: 72%; padding: 20px; border-radius: 16px; background: #fff; box-shadow: 0 30px 60px -24px rgba(10, 20, 53, 0.45), 0 2px 8px rgba(10, 20, 53, 0.08); color: #0f1e2e; }
.in-look__card { display: flex; flex-direction: column; gap: 12px; }
.in-look__school { display: flex; align-items: center; gap: 10px; }
.in-look__mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: #0262a5; color: #fff; font-size: 13px; font-weight: 800; }
.in-look__school b { display: block; font-size: 14px; font-weight: 700; }
.in-look__school small { color: #64748b; font-size: 11.5px; }
.in-look__title { padding-top: 12px; border-top: 1px solid #eef0f3; }
.in-look__title small, .in-look__amt small { display: block; color: #64748b; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.in-look__title b { display: block; margin-top: 3px; font-size: 16px; font-weight: 700; }
.in-look__title em, .in-look__amt em { display: block; color: #64748b; font-size: 12px; font-style: normal; }
.in-look__amt b { display: block; margin-top: 2px; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.in-look__bank { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 8px; background: #f4f7fd; color: #334155; font-size: 12px; }
.in-look__bank svg { flex: none; width: 16px; height: 16px; color: #0262a5; }
.in-look__btn { margin-top: 2px; font-size: 13px; }
.in-status__card { display: flex; flex-direction: column; gap: 8px; }
.in-status__k { display: flex; align-items: center; gap: 6px; color: #64748b; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.in-status__k svg { width: 14px; height: 14px; }
.in-status__title { font-size: 14px; font-weight: 700; }
.in-status__amt { color: #15803d; font-size: 28px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.in-status__line { display: flex; align-items: center; gap: 8px; color: #334155; font-size: 12.5px; }
.in-status__line .pm-box { width: 14px; height: 14px; }
.in-status__line .pm-box svg { width: 10px; height: 10px; }
.in-status__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; padding-top: 12px; border-top: 1px solid #eef0f3; }
.in-status__due { color: #c2410c; font-size: 13px; font-weight: 700; }
.in-shot { margin: 44px 0 0; }
/* the same device bezel as the home page showcase */
.in-shot__frame { position: relative; display: block; padding: clamp(3px, 0.45vw, 6px); border-radius: clamp(11px, 1.6vw, 20px); background: linear-gradient(180deg, #3a3f55, #262a3c 40%, #1d2130); box-shadow: 0 -1px 0 rgba(220, 210, 255, 0.55), 0 30px 60px -28px rgba(10, 20, 53, 0.55); }
.in-shot__frame::before { content: ""; position: absolute; left: 12%; right: 12%; top: -1px; height: 2px; background: linear-gradient(90deg, transparent, rgba(230, 220, 255, 0.95), transparent); border-radius: 2px; }
.in-shot img { display: block; width: 100%; height: auto; border-radius: clamp(8px, 1.3vw, 16px); }
.in-shot figcaption { margin-top: 12px; color: #64748b; font-size: 14px; text-align: center; }

/* Reports page (/reports) */
.rp-pl { color: #0f1e2e; }
.rp-pl__filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 18px; border-bottom: 1px solid #eef0f3; }
.rp-pl__rows { padding: 4px 0 6px; }
.rp-pl__sec { padding: 10px 18px 4px; color: #0262a5; font-size: 10.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.rp-pl__row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 18px 8px 30px; border-top: 1px solid #f1f3f6; font-size: 13px; color: #334155; }
.rp-pl__row span:last-child { font-weight: 600; color: #0f1e2e; white-space: nowrap; }
.rp-pl__row--sub { padding-left: 18px; font-weight: 700; color: #0f1e2e; background: #f8fafc; }
.rp-pl__row--net { margin-top: 6px; padding: 11px 18px; border-top: 2px solid #e2e6ee; background: #f0fdf4; font-size: 14px; font-weight: 800; color: #15803d; }
.rp-pl__row--net span:last-child { color: #15803d; font-weight: 800; }
.rp-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.rp-group { padding: 26px 26px 20px; border: 1px solid #e6e9f0; border-radius: 16px; background: #fff; }
.rp-group h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; color: #0f1e2e; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.rp-group h3 .op-card__ico { width: 38px; height: 38px; border-radius: 10px; }
.rp-group h3 .op-card__ico svg { width: 19px; height: 19px; }
.rp-group ul { margin: 0; padding: 0; list-style: none; }
.rp-group li { display: flex; flex-direction: column; gap: 2px; padding: 11px 0; border-top: 1px solid #f1f3f6; }
.rp-group li b { color: #0f1e2e; font-size: 15px; font-weight: 700; }
.rp-group li span { color: #475569; font-size: 14px; line-height: 1.5; }
.bf-bank__note a svg { display: inline-block; width: 13px; height: 13px; vertical-align: -2px; }
.rp-trust__body { justify-content: center; }
.rp-trust__list { flex: 0 1 820px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; }

/* Finance Teams page (/finance-teams) */
.ft-dash { color: #0f1e2e; }
.ft-dash__kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-bottom: 1px solid #eef0f3; }
.ft-dash__kpi { padding: 13px 16px 11px; border-bottom: 1px solid #eef0f3; }
.ft-dash__kpi:nth-child(odd) { border-right: 1px solid #eef0f3; }
.ft-dash__kpi:nth-last-child(-n+2) { border-bottom: 0; }
.ft-dash__kpi small { display: block; color: #64748b; font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.ft-dash__kpi b { display: block; margin-top: 3px; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.ft-dash__kpi span { display: block; color: #64748b; font-size: 11.5px; }
.ft-dash__label { padding: 10px 16px 4px; color: #64748b; font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.ft-dash__task { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-top: 1px solid #f1f3f6; }
.ft-dash__task:nth-of-type(1) { border-top: 0; }
.ft-dash__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; }
.ft-dash__dot--ok { background: #16a34a; }
.ft-dash__dot--cat { background: #0262a5; }
.ft-dash__dot--rev { background: #ea580c; }
.ft-dash__t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ft-dash__t b { overflow: hidden; font-size: 12.5px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.ft-dash__t small { color: #64748b; font-size: 11px; }
.ft-role__who { margin: -6px 0 14px; color: #475569; font-size: 14.5px; line-height: 1.5; }
.ft-week { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ft-day__d { display: inline-block; padding: 5px 10px; border-radius: 6px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.ft-prods { margin-top: 0; }
.ft-prods > li { display: flex; }
.ft-prod { display: block; width: 100%; transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--ease); }
.ft-prod:hover { border-color: #c9d6f5; box-shadow: 0 18px 36px -20px rgba(10, 20, 53, 0.25); transform: translateY(-2px); }
.ft-prod h3 { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 0; }
.ft-prod h3 svg { flex: none; width: 16px; height: 16px; color: var(--blue); transition: transform 0.2s var(--ease); }
.ft-prod:hover h3 svg { transform: translateX(3px); }

/* Accountants page (/accountants) */
.at-tb { color: #0f1e2e; }
.at-tb__rows { padding: 0 0 6px; }
.at-tb__row { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding: 7px 18px; border-top: 1px solid #f1f3f6; font-size: 12.5px; color: #334155; }
.at-tb__row span:not(:first-child) { text-align: right; font-weight: 600; color: #0f1e2e; font-variant-numeric: tabular-nums; }
.at-tb__row em { display: inline-block; width: 36px; margin-right: 6px; color: #64748b; font-family: var(--mono); font-size: 11px; font-style: normal; }
.at-tb__row--th { border-top: 0; padding: 9px 18px; background: #f8fafc; color: #64748b; font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.at-tb__row--th span:not(:first-child) { font-weight: 700; color: #64748b; }
.at-tb__row--total { margin-top: 4px; border-top: 2px solid #e2e6ee; background: #f0fdf4; font-weight: 800; color: #15803d; }
.at-tb__row--total span { color: #15803d !important; font-weight: 800 !important; }
.at-tb .bf-feed__foot span { display: inline-flex; align-items: center; gap: 6px; }
.at-tb .bf-feed__foot svg { width: 13px; height: 13px; color: #16a34a; }
.at-expect { max-width: 1040px; }
.at-expect .in-rules__row { grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); }
.at-entries li { font-size: 15px; line-height: 1.55; }

/* Bursars page (/bursars) */
.bu-st { color: #0f1e2e; }
.bu-st__rows { padding: 0 0 4px; }
.bu-st__row { display: grid; grid-template-columns: 52px minmax(0, 1fr) 84px 84px; gap: 8px; padding: 9px 18px; border-top: 1px solid #f1f3f6; font-size: 12.5px; color: #334155; }
.bu-st__row span:nth-child(n+3) { text-align: right; font-weight: 600; color: #0f1e2e; white-space: nowrap; }
.bu-st__row--th { border-top: 0; padding: 9px 18px; background: #f8fafc; color: #64748b; font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.bu-st__row--th span { color: #64748b !important; font-weight: 700 !important; }
.bu-st__row--pay span:nth-child(3) { color: #15803d; }
.bu-st .bf-feed__foot { align-items: center; }

/* Parents page (/parents) */
.pa-hero__media { width: min(380px, 34%); }
.pa-hero__media img { border-radius: 20px; }
.pa-abroad__media { width: 400px; margin: 0; }
.pa-abroad__media img { display: block; width: 100%; height: auto; border-radius: 20px; box-shadow: 0 30px 60px -24px rgba(10, 20, 53, 0.35); }
.pa-cta__eyebrow { color: rgba(255, 255, 255, 0.8); margin-bottom: 14px; }

/* How NuPay Works page (/how-nupay-works) */
.hw-tl { color: #0f1e2e; }
.hw-tl__list { position: relative; margin: 0; padding: 14px 18px 16px; list-style: none; }
.hw-tl__list::before { content: ""; position: absolute; left: 87px; top: 26px; bottom: 30px; width: 2px; background: #e2e6ee; }
.hw-tl__item { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 28px; padding: 9px 0; }
.hw-tl__item::before { content: ""; position: absolute; left: 64px; top: 13px; width: 12px; height: 12px; border: 2px solid #fff; border-radius: 50%; background: #0262a5; box-shadow: 0 0 0 2px #cfe0f3; }
.hw-tl__item--blue::before { background: var(--blue); }
.hw-tl__item--done::before { background: #16a34a; box-shadow: 0 0 0 2px #bbf7d0; }
.hw-tl__t { padding-top: 2px; color: #64748b; font-family: var(--mono); font-size: 11.5px; text-align: right; white-space: nowrap; }
.hw-tl__body b { display: block; font-size: 14px; font-weight: 700; }
.hw-tl__body small { display: block; margin-top: 1px; color: #64748b; font-size: 12px; line-height: 1.4; }
.hw-step .op-head { margin-bottom: 40px; }
.hw-step__n { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 16px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 18px; font-weight: 800; }
.hw-step__n--dark { background: #fff; color: var(--blue); }
.hw-step__more { margin-top: 6px; }

/* Registration & Clearance page (/registration-clearance) */
.rc-card { color: #0f1e2e; }
.rc-rows { padding: 2px 0; }
.rc-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 64px; align-items: center; gap: 12px; padding: 9px 18px; border-top: 1px solid #f1f3f6; font-size: 13px; color: #334155; }
.rc-row:first-child { border-top: 0; }
.rc-row span:nth-child(2) { font-weight: 700; color: #0f1e2e; }
.rc-row .bf-tag { justify-self: end; }
.rc-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rc-rule { padding: 14px 18px; border-top: 1px solid #eef0f3; }
.rc-rule small { display: block; margin-top: 8px; color: #64748b; font-size: 11.5px; }
.rc-bar { position: relative; height: 8px; overflow: visible; }
.rc-bar i { border-radius: 9999px; }
.rc-bar--low i { background: #ea580c; }
.rc-bar em { position: absolute; top: -4px; bottom: -4px; width: 2px; background: #0f1e2e; }
.rc-status { display: flex; align-items: center; gap: 10px; margin: 0 18px 14px; padding: 11px 13px; border-radius: 10px; }
.rc-status svg { flex: none; width: 20px; height: 20px; }
.rc-status b { display: block; font-size: 14px; font-weight: 700; }
.rc-status small { display: block; font-size: 11.5px; }
.rc-status--ok { background: #f0fdf4; color: #15803d; }
.rc-status--no { background: #fff7ed; color: #c2410c; }
.rc-card .bf-feed__foot { align-items: center; }
.rc-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 1040px; margin: 0 auto; }
.rc-two__col > p { margin: 16px 2px 0; color: #475569; font-size: 15px; line-height: 1.55; }
.rc-two__label { display: inline-block; margin-bottom: 12px; padding: 5px 12px; border-radius: 9999px; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.rc-two__label--ok { background: #dcfce7; color: #15803d; }
.rc-two__label--no { background: #ffedd5; color: #c2410c; }
.rc-rulecards { max-width: 1040px; margin: 40px auto 0; }
.rc-audit { max-width: 980px; margin: 0 auto; overflow: hidden; border: 1px solid #e2e6ee; border-radius: 16px; background: #fff; color: #0f1e2e; }
.rc-audit__row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) 70px minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 12px; padding: 13px 22px; border-top: 1px solid #f1f3f6; font-size: 14px; }
.rc-audit__row b { display: block; font-weight: 700; }
.rc-audit__row small { display: block; color: #64748b; font-size: 12px; }
.rc-audit__row i { font-style: normal; }
.rc-audit__row--th { border-top: 0; padding: 11px 22px; background: #f8fafc; color: #64748b; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.rc-auditpoints, .rc-archpoints { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 28px; max-width: 1040px; margin: 32px auto 0; padding: 0; }
.rc-archpoints { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rc-auditpoints li, .rc-archpoints li { font-size: 15px; line-height: 1.5; }
.rc-users { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rc-dashes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 8px; }
.rc-arch { display: flex; align-items: stretch; justify-content: center; gap: 6px; }
.rc-arch__node { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 18px 14px; border: 1px solid #d9e2f3; border-radius: 14px; background: #fff; text-align: center; }
.rc-arch__node b { color: #0f1e2e; font-size: 15.5px; font-weight: 700; }
.rc-arch__node small { color: #64748b; font-size: 12.5px; }
.rc-arch__node--blue { border-color: transparent; background: linear-gradient(165deg, #3a74ff 0%, #1d5bff 45%, #1238b8 100%); box-shadow: 0 16px 32px -16px rgba(29, 91, 255, 0.6); }
.rc-arch__node--blue b { color: #fff; }
.rc-arch__node--blue small { color: rgba(255, 255, 255, 0.82); }
.rc-arch__link { flex: none; display: grid; place-items: center; width: 30px; color: #6f9bff; }
.rc-arch__link svg { width: 22px; height: 22px; }
.hw-eco { display: flex; align-items: center; justify-content: space-between; gap: 32px; max-width: 1040px; margin: 40px auto 0; padding: 26px 28px; border: 1px solid #e2e6ee; border-radius: 16px; background: #fff; }
.hw-eco .ifs-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; padding: 0; }
.hw-eco .ifs-list li { font-size: 14.5px; line-height: 1.5; }
.hw-eco .op-btn { flex: none; }

/* Bank Connections page (/bank-connections) */
.bc-panel { width: 100%; max-width: 500px; margin-left: auto; border: 1px solid #e6e9f0; border-radius: 20px; background: #fff; box-shadow: 0 30px 60px -34px rgba(10, 20, 53, 0.35); overflow: hidden; }
.bc-panel__head { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px; border-bottom: 1px solid #eef1f6; }
.bc-panel__head b { color: #0f1e2e; font-size: 15px; font-weight: 700; }
.bc-panel__head small { color: #64748b; font-size: 12.5px; }
.bc-bank, .bc-slot { display: flex; align-items: center; gap: 14px; padding: 16px 20px; }
.bc-bank__logo, .bc-slot__plus { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #e6e9f0; border-radius: 12px; background: #fff; }
.bc-bank__logo img { max-width: 72%; max-height: 72%; }
.bc-bank__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bc-bank__body b { color: #0f1e2e; font-size: 15.5px; font-weight: 700; }
.bc-bank__body small { color: #64748b; font-size: 13px; }
.bc-accts { margin: 0 20px 16px; border: 1px solid #eef1f6; border-radius: 12px; background: #f8fafc; }
.bc-acct { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; }
.bc-acct + .bc-acct { border-top: 1px solid #eef1f6; }
.bc-acct span { display: flex; align-items: baseline; gap: 8px; }
.bc-acct b { color: #0f1e2e; font-size: 13.5px; font-weight: 600; }
.bc-acct small { color: #64748b; font-family: var(--mono); font-size: 11px; }
.bc-acct em { color: #15803d; font-size: 12px; font-style: normal; font-weight: 600; }
.bc-slot { margin: 0 20px 18px; padding: 14px; border: 1.5px dashed #b9c6ea; border-radius: 14px; background: #f5f8ff; text-decoration: none; transition: border-color 0.2s var(--ease), background 0.2s var(--ease); }
.bc-slot:hover { border-color: var(--blue); background: #eef3ff; }
.bc-slot__plus { border-color: #c9d6fb; color: var(--blue); }
.bc-slot__plus svg { width: 20px; height: 20px; }
.bc-slot .bc-bank__body b { color: var(--blue); }
.bc-panel__foot { display: flex; justify-content: space-between; gap: 12px; padding: 13px 20px; border-top: 1px solid #eef1f6; background: #f8fafc; color: #64748b; font-size: 12.5px; }
.op-steps .rc-arch { margin-bottom: 36px; }
.bc-flowcard { width: 100%; border: 1px solid #e6e9f0; border-radius: 18px; background: #fff; box-shadow: 0 24px 50px -32px rgba(10, 20, 53, 0.3); overflow: hidden; }
.bc-flowrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 20px; }
.bc-flowrow + .bc-flowrow { border-top: 1px solid #eef1f6; }
.bc-flowrow > span:first-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bc-flowrow b { color: #0f1e2e; font-size: 14.5px; font-weight: 700; }
.bc-flowrow small { color: #64748b; font-size: 12.5px; }
.bc-flowrow em { color: #0f1e2e; font-size: 15px; font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; }
.bc-flowrow em.bc-in { color: #15803d; }
.bc-flowrow--zero { background: #f5f8ff; }
.bc-flowrow--zero em { color: var(--blue); }
.bc-banks { padding: 104px 0; background: linear-gradient(180deg, #f5f8ff 0%, #fff 100%); border-top: 1px solid #e8edf8; }
.bc-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.bc-box { padding: 30px; border: 1px solid #e6e9f0; border-radius: 20px; background: #fff; }
.bc-box h3 { margin: 0 0 8px; color: #0f1e2e; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.bc-box > p { margin: 0 0 18px; color: #475569; font-size: 15px; line-height: 1.55; }
.bc-spec { margin: 0; }
.bc-spec > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 13px 0; border-top: 1px solid #eef1f6; }
.bc-spec dt { color: #64748b; font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding-top: 2px; }
.bc-spec dd { margin: 0; color: #0f1e2e; font-size: 14.5px; line-height: 1.5; }
.bc-path { margin: 14px 0 0; padding: 0; list-style: none; counter-reset: bcp; }
.bc-path li { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 0 0 18px 42px; counter-increment: bcp; }
.bc-path li::before { content: counter(bcp); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 9999px; background: var(--blue); color: #fff; font-size: 12.5px; font-weight: 700; }
.bc-path li::after { content: ""; position: absolute; left: 12.5px; top: 30px; bottom: 4px; width: 1px; background: #d5def5; }
.bc-path li:last-child { padding-bottom: 0; }
.bc-path li:last-child::after { display: none; }
.bc-path b { color: #0f1e2e; font-size: 15px; font-weight: 700; }
.bc-path span { color: #475569; font-size: 14.5px; line-height: 1.5; }
.bc-invite { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; padding: 26px 30px; border-radius: 20px; background: var(--ink); }
.bc-invite > div { display: flex; flex-direction: column; gap: 4px; }
.bc-invite b { color: #fff; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.bc-invite span { color: #b6c0d8; font-size: 15px; }
.bc-invite .op-btn { flex: none; }
@media (max-width: 980px) {
  .bc-panel { margin: 0 auto; }
  .bc-banks { padding: 72px 0; }
  .bc-two { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .bc-box { padding: 22px; }
  .bc-spec > div { grid-template-columns: 1fr; gap: 4px; }
  .bc-invite { flex-direction: column; align-items: flex-start; padding: 24px; }
  .bc-acct em { display: none; }
}

/* Payment Gateways page (/payment-gateways) */
.pg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 20px 14px; }
.pg-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px 6px 7px; border: 1px solid #e6e9f0; border-radius: 9999px; background: #fff; color: #0f1e2e; font-size: 12.5px; font-weight: 600; }
.pg-chip img { width: 20px; height: 20px; object-fit: contain; }
.pg-methods { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 900px; margin: 0 auto; }
.faq__a a { color: var(--blue); font-weight: 600; }
@media (max-width: 980px) { .pg-methods { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* About NuPay page (/about-nupay) */
.ab-berg { width: 100%; max-width: 460px; margin-left: auto; border-radius: 22px; overflow: hidden; border: 1px solid #dfe6f5; box-shadow: 0 30px 60px -34px rgba(10, 20, 53, 0.4); }
.ab-berg small { display: block; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.ab-berg__top { padding: 26px 26px 24px; background: #fff; }
.ab-berg__top small { color: #64748b; }
.ab-berg__top b { display: block; margin-top: 8px; color: #0f1e2e; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.ab-berg__line { position: relative; height: 0; border-top: 2px dashed #9db4f5; }
.ab-berg__line span { position: absolute; right: 18px; top: -11px; padding: 2px 10px; border-radius: 9999px; background: #e8efff; color: var(--blue); font-size: 11px; font-weight: 700; }
.ab-berg__under { padding: 26px; background: linear-gradient(180deg, #123a9e 0%, var(--ink) 100%); }
.ab-berg__under small { margin-bottom: 14px; color: #a9bdf5; }
.ab-berg__row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); color: #fff; font-size: 15px; font-weight: 600; }
.ab-berg__tick { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: rgba(255, 255, 255, 0.14); color: #fff; }
.ab-berg__tick svg { width: 12px; height: 12px; }
.ab-story { padding: 104px 0; background: #fff; }
.ab-story__inner { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.ab-story__head .op-title { margin-top: 14px; text-align: left; }
.ab-story__body p { margin: 0 0 20px; color: #334155; font-size: 18px; line-height: 1.7; }
.ab-story__body p:last-child { margin-bottom: 0; color: #0f1e2e; }
.ab-pay { width: 100%; padding: 28px; border: 1px solid #e6e9f0; border-radius: 20px; background: #f8fafc; }
.ab-pay__h { display: block; margin-bottom: 16px; color: #64748b; font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.ab-pay__logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ab-pay__logos span { display: grid; place-items: center; height: 68px; padding: 12px; border: 1px solid #e6e9f0; border-radius: 12px; background: #fff; }
.ab-pay__logos img { max-width: 100%; max-height: 34px; object-fit: contain; }
.ab-pay__links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 20px; }
.ab-fam { display: flex; align-items: stretch; justify-content: center; gap: 10px; max-width: 860px; margin: 0 auto; }
.ab-fam__card { flex: 1; padding: 28px; border: 1px solid #e6e9f0; border-radius: 20px; background: #fff; }
.ab-fam__card--blue { border-color: transparent; background: linear-gradient(160deg, #2f6bff 0%, #1338b8 100%); box-shadow: 0 24px 44px -24px rgba(29, 91, 255, 0.6); }
.ab-fam__tag { color: #64748b; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.ab-fam__card h3 { margin: 10px 0 8px; color: #0f1e2e; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.ab-fam__card p { margin: 0; color: #475569; font-size: 15px; line-height: 1.55; }
.ab-fam__card--blue .ab-fam__tag { color: #c9d8ff; }
.ab-fam__card--blue h3 { color: #fff; }
.ab-fam__card--blue p { color: #dbe5ff; }
.ab-fam .rc-arch__link { align-self: center; }
@media (max-width: 980px) {
  .ab-berg { margin: 0 auto; }
  .ab-story { padding: 72px 0; }
  .ab-story__inner { grid-template-columns: 1fr; gap: 28px; }
  .ab-fam { flex-direction: column; }
  .ab-fam .rc-arch__link { transform: rotate(90deg); }
}
@media (max-width: 640px) {
  .ab-story__body p { font-size: 16.5px; }
}

/* About NuClass page (/about-nuclass) */
.nc-profile { width: 100%; max-width: 460px; margin-left: auto; border: 1px solid #e6e9f0; border-radius: 20px; background: #fff; box-shadow: 0 30px 60px -34px rgba(10, 20, 53, 0.35); overflow: hidden; }
.nc-profile__head { display: flex; align-items: center; gap: 14px; padding: 20px; border-bottom: 1px solid #eef1f6; }
.nc-profile__av { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 9999px; background: #e8efff; color: var(--blue); font-size: 15px; font-weight: 700; }
.nc-profile__id { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.nc-profile__id b { color: #0f1e2e; font-size: 16px; font-weight: 700; }
.nc-profile small { color: #64748b; font-size: 12.5px; }
.nc-profile__grid { display: grid; grid-template-columns: 1fr 1fr; }
.nc-profile__grid > div { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; }
.nc-profile__grid > div + div { border-left: 1px solid #eef1f6; }
.nc-profile__grid b { color: #0f1e2e; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.nc-profile__grid em { color: #94a3b8; font-size: 12px; font-style: normal; }
.nc-profile__fees { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 20px 18px; padding: 14px 16px; border-radius: 14px; background: #f5f8ff; border: 1px solid #dbe5ff; }
.nc-profile__fees > span:first-child { display: flex; flex-direction: column; gap: 2px; }
.nc-profile__fees b { color: #0f1e2e; font-size: 20px; font-weight: 700; }
.nc-profile__src { padding: 4px 10px; border-radius: 9999px; background: var(--blue); color: #fff; font-size: 11.5px; font-weight: 700; }
.nc-profile__foot { display: flex; justify-content: space-between; gap: 8px; padding: 13px 20px; border-top: 1px solid #eef1f6; background: #f8fafc; color: #64748b; font-size: 12px; font-weight: 600; }
.nc-mods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.nc-mod { padding: 26px; border: 1px solid #e6e9f0; border-radius: 18px; background: #fff; scroll-margin-top: 110px; }
.nc-mod h3 { margin: 18px 0 6px; color: #0f1e2e; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.nc-mod > p { margin: 0 0 16px; color: #475569; font-size: 15px; line-height: 1.55; }
.nc-mod .ifs-list { gap: 10px; font-size: 14px; }
@media (max-width: 1100px) { .nc-mods { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 980px) { .nc-profile { margin: 0 auto; } }
@media (max-width: 640px) { .nc-mods { grid-template-columns: 1fr; } .nc-mod { padding: 22px; } }

/* Partners page (/partners) */
.pt-row { padding-top: 4px; }
.pt-slot { margin-bottom: 10px; }
.pt-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pt-card { display: flex; flex-direction: column; padding: 32px; border: 1px solid #e6e9f0; border-radius: 22px; background: #fff; box-shadow: 0 24px 50px -36px rgba(10, 20, 53, 0.3); }
.pt-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pt-card__head .bf-bank__logo { width: 60px; height: 60px; border-radius: 14px; }
.pt-card__head .bf-bank__logo img { max-width: 72%; max-height: 72%; }
.pt-card__tag { display: inline-block; padding: 5px 12px; border-radius: 9999px; background: #e8efff; color: var(--blue); font-size: 12px; font-weight: 700; }
.pt-card h3 { margin: 22px 0 10px; color: #0f1e2e; font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.pt-card > p { margin: 0 0 20px; color: #475569; font-size: 16px; line-height: 1.6; }
.pt-card .ifs-list { margin-bottom: 24px; }
.pt-card .op-link { margin-top: auto; }
.pt-methods { margin-top: 24px; padding: 26px 32px; border: 1px solid #e6e9f0; border-radius: 22px; background: #f8fafc; }
.pt-methods__logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.pt-methods__logos span { display: grid; place-items: center; height: 68px; padding: 12px; border: 1px solid #e6e9f0; border-radius: 12px; background: #fff; }
.pt-methods__logos img { max-width: 100%; max-height: 34px; object-fit: contain; }
.pt-who { display: flex; flex-direction: column; align-items: flex-start; }
.pt-who h3 { margin-top: 16px; }
.pt-who .op-link { margin-top: auto; }
@media (max-width: 980px) {
  .pt-cards { grid-template-columns: 1fr; }
  .pt-methods__logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pt-card { padding: 24px; }
  .pt-methods { padding: 20px; }
}

/* Legal pages (/privacy, /terms) */
.lg { padding: 150px 0 110px; background: #fff; }
.lg-head { max-width: 760px; padding-bottom: 40px; border-bottom: 1px solid #e6e9f0; }
.lg-title { margin: 14px 0 12px; color: var(--ink); font-size: clamp(38px, 5vw, 58px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.lg-meta { margin: 0 0 18px; color: #64748b; font-family: var(--mono); font-size: 13px; }
.lg-intro { margin: 0; color: #334155; font-size: 19px; line-height: 1.6; }
.lg-body { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 72px; padding-top: 48px; align-items: start; }
.lg-toc { position: sticky; top: 110px; font-size: 14px; }
.lg-toc b { display: block; margin-bottom: 12px; color: #64748b; font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.lg-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: lgt; }
.lg-toc li { counter-increment: lgt; }
.lg-toc a { display: block; padding: 6px 0; color: #475569; text-decoration: none; line-height: 1.4; }
.lg-toc a::before { content: counter(lgt) ". "; color: #94a3b8; }
.lg-toc a:hover { color: var(--blue); }
.lg-prose { max-width: 720px; }
.lg-sec { scroll-margin-top: 110px; }
.lg-sec + .lg-sec { margin-top: 44px; }
.lg-sec h2 { margin: 0 0 14px; color: var(--ink); font-size: 24px; font-weight: 700; letter-spacing: -0.015em; }
.lg-sec p, .lg-sec li { color: #334155; font-size: 16.5px; line-height: 1.7; }
.lg-sec p { margin: 0 0 14px; }
.lg-sec ul { margin: 0 0 14px; padding-left: 22px; list-style: disc; }
.lg-sec li::marker { color: #94a3b8; }
.lg-sec li { margin-bottom: 8px; }
.lg-sec b { color: #0f1e2e; }
.lg-sec a { color: var(--blue); font-weight: 600; }
.lg-fill { padding: 1px 5px; border-radius: 5px; background: #fff3c4; color: #7a5600; font-weight: 600; }
@media (max-width: 980px) {
  .lg { padding: 120px 0 80px; }
  .lg-body { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; }
  .lg-toc { position: static; padding: 20px; border: 1px solid #e6e9f0; border-radius: 16px; background: #f8fafc; }
}

/* Security page (/security) */
.sc-held__head { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px; border-bottom: 1px solid #eef1f6; }
.sc-held__head b { color: #0f1e2e; font-size: 15px; font-weight: 700; }
.sc-held__head small { color: #64748b; font-size: 12.5px; }
.sc-held { max-width: 460px; margin-left: auto; }
.sc-none { padding: 4px 11px; border-radius: 9999px; background: #eef1f6; color: #475569; font-size: 12px; font-weight: 700; }
.sc-flow { width: 100%; border-radius: 18px; background: var(--ink); color: #fff; overflow: hidden; box-shadow: 0 30px 60px -34px rgba(10, 20, 53, 0.6); }
.sc-flow__head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; padding: 18px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.sc-flow__head b { font-size: 15px; font-weight: 700; }
.sc-flow__head small { margin-left: auto; color: #94a3b8; font-size: 12.5px; }
.sc-flow__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); font-size: 13.5px; color: #cbd5e1; }
.sc-flow__row code { color: #9db8ff; font-family: var(--mono); font-size: 12.5px; }
.sc-flow__row s { color: #64748b; }
.sc-flow__row b { color: #86efac; }
.sc-flow__foot { display: flex; justify-content: space-between; padding: 13px 20px; color: #94a3b8; font-size: 12.5px; }
.op-card p a { color: var(--blue); font-weight: 600; }
.sc-specs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0 0 24px; border: 1px solid #e6e9f0; border-radius: 18px; background: #f8fafc; overflow: hidden; }
.sc-specs > div { padding: 20px 22px; }
.sc-specs > div + div { border-left: 1px solid #e6e9f0; }
.sc-specs dt { color: #64748b; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.sc-specs dd { margin: 8px 0 0; color: #0f1e2e; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
@media (max-width: 980px) {
  .sc-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sc-specs > div + div { border-left: 0; }
  .sc-specs > div { border-top: 1px solid #e6e9f0; }
  .sc-specs > div:nth-child(-n+2) { border-top: 0; }
  .sc-specs > div:nth-child(even) { border-left: 1px solid #e6e9f0; }
}
.bc-box .ifs-list { margin-top: 4px; }
@media (max-width: 980px) { .sc-held { margin: 0 auto; } }

@media (max-width: 980px) {
  .op-hero__inner { flex-direction: column; align-items: stretch; gap: 40px; padding-top: 120px; padding-bottom: 64px; }
  .op-hero__media { width: 100%; max-width: 438px; margin: 0 auto; }
  .pa-hero__media { max-width: 340px; }
  .pa-abroad__media { width: 100%; max-width: 360px; margin: 0 auto; }
  .op-methods, .op-match, .op-steps { padding: 68px 0; }
  .op-methods__grid, .op-steps__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .op-match__body { flex-direction: column; align-items: stretch; gap: 36px; }
  .op-match__body--flip { flex-direction: column; }
  .op-match__mock--wide { width: auto; }
  .in-hero__media, .in-pick, .in-doc, .in-defer__card { width: 100%; max-width: 560px; }
  .op-steps__grid--three { grid-template-columns: 1fr; }
  .in-defer { flex-direction: column; align-items: stretch; }
  .rc-two, .rc-dashes, .rc-auditpoints, .rc-archpoints { grid-template-columns: 1fr; }
  .rc-users { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rc-arch { flex-direction: column; }
  .rc-arch__link { width: auto; height: 26px; transform: rotate(90deg); }
  .hw-eco { flex-direction: column; align-items: stretch; }
  .hw-eco .ifs-list { grid-template-columns: 1fr; }
  .ft-week { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rp-groups { grid-template-columns: 1fr; }
  .rp-trust__list { grid-template-columns: 1fr; }
  .in-look { flex-direction: column; align-items: stretch; gap: 36px; }
  .in-look__media { width: 100%; max-width: 420px; margin: 0 auto; }
  .in-ar__totals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bu-depts { width: auto; }
  .bu-bva__points { grid-template-columns: 1fr; }
  .op-cards--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ac-two, .ac-groups { grid-template-columns: 1fr; }
  .ac-rep { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ac-coa { width: auto; }
  .ar-feedwrap { width: auto; }
  .ar-cmp { grid-template-columns: 1fr; }
  .op-cards { grid-template-columns: 1fr; }
  .bf-hero__media { width: 100%; max-width: 520px; }
}
@media (max-width: 640px) {
  .op__inner { padding-left: 20px; padding-right: 20px; }
  .op-steps__grid { grid-template-columns: 1fr; }
  .op-methods__grid { gap: 12px; }
  .op-method { padding: 16px; }
  .op-method__logo img { max-width: 100%; }
  .bf-row { grid-template-columns: minmax(0, 1fr) auto; }
  .op-cards--four { grid-template-columns: 1fr; }
  .ac-jl { grid-template-columns: minmax(0, 1fr) 64px 64px; }
  .bu-depts { grid-template-columns: 1fr; }
  .in-dash__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .in-dash__cards > div:nth-child(3) { border-left: 0; }
  .in-dash__row { grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.9fr) 64px; }
  .in-dash__row > span:nth-child(2), .in-dash__row > span:nth-child(3) { display: none; }
  .in-pick__row { grid-template-columns: 16px minmax(0, 1.6fr) minmax(0, 0.8fr); }
  .in-pick__row > span:nth-child(4), .in-pick__row > span:nth-child(5) { display: none; }
  .in-pick__sum { gap: 16px; flex-wrap: wrap; }
  .in-doc__meta { grid-template-columns: 1fr; gap: 10px; }
  .in-doc__line { grid-template-columns: minmax(0, 1.8fr) 70px; }
  .in-doc__line > span:nth-child(2), .in-doc__line > span:nth-child(3) { display: none; }
  .in-rules__row { grid-template-columns: 1fr; }
  .rc-users { grid-template-columns: 1fr; }
  .rc-audit__row { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); padding-left: 14px; padding-right: 14px; font-size: 13px; }
  .rc-audit__row > span:nth-child(3), .rc-audit__row > span:nth-child(4) { display: none; }
  .bu-st__row { grid-template-columns: 44px minmax(0, 1fr) 70px; }
  .bu-st__row span:nth-child(4) { display: none; }
  .at-expect .in-rules__row { grid-template-columns: 1fr; }
  .ft-week { grid-template-columns: 1fr; }
  .in-look__card, .in-status__card { width: 80%; padding: 16px; }
  .in-shot { overflow-x: auto; }
  .in-shot img { width: 900px; max-width: none; }
  .in-shot__frame { display: inline-block; vertical-align: top; padding: 4px; border-radius: 13px; }
  .in-shot img { border-radius: 9px; }
  .in-rules__row > span:first-child { border-right: 0; padding-bottom: 4px; }
  .in-rules__row--th > span:last-child { display: none; }
  .in-ar__totals > div:nth-child(3) { border-left: 0; }
  .in-ar__row { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.75fr)); gap: 6px; padding-left: 14px; padding-right: 14px; font-size: 12px; }
  .in-ar__row > span:nth-child(n+3):not(:nth-child(6)):not(:nth-child(7)) { display: none; }
  .bu-bva__row { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 8px; padding-left: 14px; padding-right: 14px; font-size: 12.5px; }
  .bu-bva__row span:nth-child(4) { display: none; }
  .bu-bva__head, .bu-bva__foot, .bu-bva__sec { padding-left: 14px; padding-right: 14px; }
  .ac-rep { grid-template-columns: 1fr; }
  .ac-auto__row { grid-template-columns: 1fr; }
  .ac-auto__row > span:first-child { border-right: 0; padding-bottom: 6px; }
  .ac-auto__row--head > span:last-child { display: none; }
  .ac-two__col { padding: 24px 20px; }
  .fa-line { grid-template-columns: minmax(0, 1fr) auto; }
  .bf-tag { grid-column: 1 / -1; justify-self: start; }
  .bf-bank { flex-wrap: wrap; }
}

/* Data Aggregation hub: the Figma diagram rebuilt in HTML; connections-hub layout on a light card */
.dah {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  container-type: inline-size;
  padding: 20px 18px 18px;
  border: 1px solid #e2dfd7;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
}
.dah__dots {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(29, 91, 255, 0.2) 1px, transparent 1.2px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}
.dah__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }

/* connectors: dotted hub lines with slow "ants", and a blue label where they meet */
.dah__link { position: relative; height: 46px; }
.dah__link svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dah__link .dah__narrow { display: none; }
.dah-line { stroke: rgba(29, 91, 255, 0.5); stroke-width: 1.4; stroke-dasharray: 2 5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; animation: dah-flow 1.1s linear infinite; }
@keyframes dah-flow { to { stroke-dashoffset: -7; } }
.dah__link .hub-pill { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 0.5em 0.95em; font-size: 11px; }

/* the hub itself: same dark card, see-through frame and glow as the NuPay core */
.dah-core { position: relative; display: grid; place-items: center; width: 116px; height: 116px; margin: 8px auto; border-radius: 18px; background: linear-gradient(165deg, #173276 0%, #0e2257 48%, #091740 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 0 1px rgba(150, 180, 255, 0.18); color: #fff; }
.dah-core::before { content: ""; position: absolute; inset: -8px; z-index: -1; border-radius: 26px; background: linear-gradient(180deg, rgba(120, 150, 255, 0.3), rgba(90, 120, 255, 0.18)); border: 1px solid rgba(90, 125, 240, 0.55); pointer-events: none; }
.dah-core::after { content: ""; position: absolute; inset: -70% -75% -60%; z-index: -2; background: radial-gradient(ellipse 42% 38% at 50% 45%, rgba(110, 120, 255, 0.55), rgba(90, 130, 255, 0.3) 45%, transparent 75%), radial-gradient(ellipse 70% 62% at 50% 48%, rgba(95, 140, 255, 0.28), transparent 70%); filter: blur(22px); pointer-events: none; }
.dah-core__mark { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }

.dah-out { display: flex; align-items: center; justify-content: center; gap: 7px; min-width: 0; height: 36px; padding: 0 8px; border-radius: 9px; background: #f6f8fd; border: 1px solid #d9e2f3; color: var(--ink); font-size: 12px; font-weight: 600; white-space: nowrap; }
.dah-out svg { flex: none; width: 14px; height: 14px; color: var(--blue); }
.dah__note { margin: 14px 0 0; text-align: center; color: #64748b; font-size: 10.5px; line-height: 1.5; }

/* Expenses tab: expenses table with two floating notices (from Figma) */
.exp { display: flex; align-items: center; gap: 18px; container-type: inline-size; }
.exp-table { flex: 1 1 0; min-width: 0; overflow: hidden; border: 1px solid #e8ebef; border-radius: 16px 16px 0 0; border-bottom: 0; background: #fff; color: #0f1e2e; -webkit-mask-image: linear-gradient(180deg, #000 88%, transparent 100%); mask-image: linear-gradient(180deg, #000 88%, transparent 100%); }
.exp-table__title { padding: 15px 16px 13px; font-size: 13.5px; font-weight: 700; }
.exp-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) minmax(0, 0.95fr) minmax(0, 0.95fr); align-items: center; gap: 6px; padding: 9px 16px; border-top: 1px solid #eef0f3; font-size: 10.5px; }
.exp-row--head { padding: 8px 16px; background: #f8fafc; color: #475569; font-size: 8px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.exp-vendor { display: flex; align-items: center; gap: 9px; min-width: 0; }
.exp-vendor b { overflow: hidden; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.exp-ico { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: #eef2f7; color: #0262a5; }
.exp-ico svg { width: 13px; height: 13px; }
.exp-cat { overflow: hidden; color: #64748b; white-space: nowrap; text-overflow: ellipsis; }
.exp-amt { font-size: 11px; font-weight: 700; }
.exp-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 4px; border-radius: 9999px; background: #dcfce7; color: #15803d; font-size: 7.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.exp-badge i { display: grid; place-items: center; width: 12px; height: 12px; border-radius: 50%; background: #16a34a; color: #fff; }
.exp-badge svg { width: 8px; height: 8px; }
.exp-badge--due { background: #ffedd5; color: #c2410c; }
.exp-badge--due i { background: #ea580c; }
.exp-side { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.exp-note { display: flex; align-items: flex-start; gap: 11px; padding: 11px 18px 11px 13px; border: 1px solid #e8ebef; border-radius: 10px; background: #fff; box-shadow: 0 2px 8px rgba(15, 30, 46, 0.05); color: #0f1e2e; }
.exp-note--ai { padding: 13px 14px; border: 2px solid #16a34a; box-shadow: 0 14px 30px -10px rgba(22, 163, 74, 0.35); }
.exp-note__ico { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; }
.exp-note__ico svg { width: 15px; height: 15px; }
.exp-note__ico--amber { background: #ffedd5; color: #ea580c; }
.exp-note__ico--green { background: #dcfce7; color: #16a34a; }
.exp-note__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.exp-note__k { color: #475569; font-size: 7.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.exp-note--ai .exp-note__k { color: #16a34a; }
.exp-note b { font-size: 11.5px; font-weight: 700; }
.exp-note__sub { color: #64748b; font-size: 8.5px; }
.exp-note__ok { display: flex; align-items: center; gap: 5px; color: #15803d; font-size: 8px; font-weight: 700; }
.exp-note__ok i { display: grid; place-items: center; width: 11px; height: 11px; border-radius: 50%; background: #16a34a; color: #fff; }
.exp-note__ok svg { width: 7px; height: 7px; }
@container (max-width: 560px) {
  .exp-row { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 0.95fr); padding-left: 12px; padding-right: 12px; }
  .exp-cat { display: none; }
  .exp-table__title { padding-left: 12px; }
}

/* Fees tab: the parent's pay card beside the invoice it settles (from Figma) */
.fee { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 0 0 12%; }
.fee-pay { flex: none; display: flex; flex-direction: column; width: 186px; padding: 14px; border: 1px solid #0262a5; border-radius: 10px; background: #fff; color: #0f1e2e; }
.fee-pay__k { color: #0262a5; font-size: 8px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.fee-pay__label { margin-top: 12px; color: #475569; font-size: 8.5px; }
.fee-pay__amt { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.fee-pay__via { margin-top: 8px; color: #64748b; font-size: 8px; }
.fee-pay__btn { margin-top: 10px; padding: 9px; border-radius: 5px; background: #0262a5; color: #fff; font-size: 10px; font-weight: 700; text-align: center; }
.fee-inv { flex: 0 1 376px; min-width: 0; border: 1px solid #e8ebef; border-radius: 12px; background: #fff; box-shadow: 0 2px 8px rgba(15, 30, 46, 0.04); color: #0f1e2e; }
.fee-inv__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 16px; border-bottom: 1px solid #eef0f3; }
.fee-inv__head b { display: block; font-size: 11.5px; font-weight: 700; }
.fee-inv__head small { display: block; margin-top: 3px; color: #64748b; font-size: 8.5px; }
.fee-inv__body { display: flex; flex-direction: column; gap: 11px; padding: 15px 16px 14px; }
.fee-line { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; color: #475569; font-size: 10px; }
.fee-line b { color: #0f1e2e; font-weight: 800; }
.fee-line .fee-line__paid { color: #16a34a; }
.fee-line--due span { color: #0f1e2e; font-weight: 700; }
.fee-line--due b { color: #c2410c; font-size: 14px; }
.fee-bar { height: 6px; overflow: hidden; border-radius: 9999px; background: #e5e9ee; }
.fee-bar i { display: block; height: 100%; border-radius: inherit; background: #16a34a; }
.fee-inv__foot { color: #475569; font-size: 8px; font-weight: 600; }

/* Budgeting tab: annual budget card with a utilisation donut and budget-vs-actual bars (from Figma) */
.bud { width: 340px; max-width: 100%; border: 1px solid #e8ebef; border-radius: 12px; background: #fff; color: #0f1e2e; }
.bud__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; padding: 12px 14px; border-bottom: 1px solid #eef0f3; }
.bud__head b { font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.bud__live { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 9999px; background: #e3effa; color: #0262a5; font-size: 7.5px; font-weight: 700; white-space: nowrap; }
.bud__live svg { width: 10px; height: 10px; }
.bud__body { padding: 16px 14px 14px; }
.bud__summary { display: flex; align-items: center; gap: 16px; }
.bud-donut { flex: none; display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: conic-gradient(from 0deg, #0262a5 0 65%, #e5e9ee 65% 100%); }
.bud-donut span { display: grid; place-content: center; width: 60px; height: 60px; border-radius: 50%; background: #fff; text-align: center; }
.bud-donut b { color: #0262a5; font-size: 17px; font-weight: 800; line-height: 1.1; }
.bud-donut small { color: #64748b; font-size: 6px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.bud-figs { display: flex; flex-direction: column; gap: 6px; }
.bud-figs small { display: block; color: #64748b; font-size: 6.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.bud-figs b { display: block; font-size: 15px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.bud-figs .bud-figs__actual { color: #0262a5; }
.bud-figs .bud-figs__left { color: #16a34a; }
.bud__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 16px; color: #64748b; font-size: 6.5px; font-weight: 700; }
.bud__legend span:first-child { letter-spacing: 0.1em; text-transform: uppercase; }
.bud__legend span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.bud-key { width: 6px; height: 6px; border-radius: 2px; background: #cbd5e1; }
.bud-key--a { background: #0262a5; }
.bud__depts { display: flex; flex-direction: column; gap: 9px; margin-top: 10px; }
.bud-dept { display: grid; grid-template-columns: 72px minmax(0, 1fr) 30px; align-items: center; gap: 6px; font-size: 7.5px; font-weight: 700; }
.bud-dept b { color: #334155; text-align: right; }
.bud-track { position: relative; height: 10px; border-radius: 3px; background: #eef2f6; }
.bud-track i { position: absolute; left: 0; border-radius: 3px; }
.bud-track__b { top: 0; bottom: 0; background: #cbd5e1; }
.bud-track__a { top: 2px; bottom: 2px; background: #0262a5; }
.bud-dept--over .bud-track__a { background: #dc2626; }
.bud-dept--over b { color: #dc2626; }

/* Payment Matching tab: a bank-feed transaction, the NuPay Intelligence match and the invoice allocation (from Figma) */
.pm { display: flex; align-items: center; gap: 20px; color: #0f1e2e; line-height: 1.35; }
.pm-k { display: block; color: #475569; font-size: 7.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.pm-tx { flex: none; width: 291px; max-width: 100%; border-radius: 12px; background: #fff; box-shadow: 0 4px 10px rgba(15, 30, 46, 0.16); }
.pm-tx__top { display: flex; flex-direction: column; align-items: flex-start; padding: 14px 16px 12px; border-bottom: 1px solid #e8ebef; }
.pm-chip { margin-bottom: 9px; padding: 4px 9px; border-radius: 9999px; background: #e3effa; color: #0262a5; font-size: 7.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.pm-tx__amt { color: #15803d; font-size: 27px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.pm-tx__amt small { color: #475569; font-size: 11px; font-weight: 600; letter-spacing: 0; }
.pm-tx__conv { margin-top: 6px; color: #0262a5; font-size: 9px; }
.pm-tx__acct { margin-top: 11px; color: #475569; font-size: 9px; font-style: italic; }
.pm-tx__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 12px; padding: 13px 16px; border-bottom: 1px solid #e8ebef; }
.pm-tx__grid b { display: flex; align-items: center; gap: 5px; margin-top: 3px; font-size: 10.5px; font-weight: 700; }
.pm-dot { width: 6px; height: 6px; border-radius: 50%; background: #f59e0b; }
.pm-tx__ref { padding: 11px 16px 16px; }
.pm-tx__ref b, .pm-tx__ref code { font-family: var(--mono); }
.pm-tx__ref b { display: block; font-size: 10.5px; font-weight: 700; }
.pm-tx__ref code { display: block; margin-top: 7px; padding: 9px 10px; border-radius: 6px; background: #eef2f6; color: #334155; font-size: 8.5px; line-height: 1.55; word-break: break-word; }
.pm-side { flex: none; display: flex; flex-direction: column; gap: 20px; width: 194px; max-width: 100%; }
.pm-match, .pm-inv { border-radius: 8px; background: #fff; box-shadow: 0 4px 10px rgba(15, 30, 46, 0.16); }
.pm-match { border: 1.5px solid #7c3aed; }
.pm-match__head { display: flex; align-items: center; gap: 5px; padding: 10px 11px; border-bottom: 1px solid #eef0f3; color: #6d28d9; font-size: 6.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.pm-match__head svg { width: 10px; height: 10px; }
.pm-match__body { padding: 10px 11px 12px; }
.pm-match__hit { display: flex; flex-direction: column; gap: 3px; margin-bottom: 9px; padding: 8px 9px; border: 1px solid #ddd6fe; border-radius: 6px; background: #f3efff; color: #6d28d9; font-size: 6.5px; }
.pm-match__hit b { color: #0f1e2e; font-size: 8px; font-weight: 800; }
.pm-match__hit b span { margin-left: 3px; color: #6d28d9; }
.pm-match .pm-k { font-size: 5.5px; }
.pm-select { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; padding: 7px 8px; border: 1px solid #e8ebef; border-radius: 5px; background: #f8fafc; font-size: 7.5px; }
.pm-select svg { width: 9px; height: 9px; color: #64748b; }
.pm-inv__head { padding: 10px 11px 8px; font-size: 5.5px; }
.pm-inv__row { display: flex; align-items: center; gap: 7px; padding: 8px 11px; border-top: 1px solid #eef0f3; }
.pm-inv__row > span:nth-child(2) { flex: 1; min-width: 0; }
.pm-inv__row b { display: block; font-size: 7.5px; font-weight: 800; }
.pm-inv__row small { display: block; color: #64748b; font-size: 6px; }
.pm-box { flex: none; display: grid; place-items: center; width: 11px; height: 11px; border: 1px solid #94a3b8; border-radius: 2px; color: #fff; }
.pm-box--on { border-color: #0262a5; background: #0262a5; }
.pm-box svg { width: 8px; height: 8px; }
.pm-amt { flex: none; padding: 5px 8px; border: 1px solid #e8ebef; border-radius: 5px; background: #f8fafc; font-size: 7.5px; font-weight: 800; }
.pm-amt small { display: inline; margin-right: 5px; font-size: 7px; font-weight: 600; }
.pm-inv__foot { display: flex; gap: 5px; padding: 9px 11px 11px; border-top: 1px solid #eef0f3; }
.pm-btn { padding: 5px 11px; border: 1px solid #cbd5e1; border-radius: 4px; background: #fff; font-size: 7px; font-weight: 800; white-space: nowrap; }
.pm-btn--blue { border-color: #0262a5; background: #0262a5; color: #fff; }
.pm-btn--dark { border-color: #0f1e2e; background: #0f1e2e; color: #fff; }

/* Reports tab: a cloud of report names floating on a ruled white panel (from Figma) */
.rpc { position: relative; overflow: hidden; container-type: inline-size; border: 1px solid #e2dfd7; border-radius: 16px; background: #fff; }
.rpc::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(90deg, transparent 0 23px, #eef1f5 23px 24px); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%, #000 100%); pointer-events: none; }
.rpc::after { content: ""; position: absolute; left: -22%; top: 14%; width: 92%; aspect-ratio: 1; border: 1.5px dashed #e6eaf0; border-radius: 50%; pointer-events: none; }
.rpc__cloud { position: relative; z-index: 1; aspect-ratio: 754 / 350; margin: 0; padding: 0; list-style: none; }
.rpc-pill { position: absolute; left: var(--x); top: var(--y); display: flex; align-items: center; gap: 0.7em; padding: 0.53em 1.25em 0.53em 1.05em; border: 1px solid #eef0f4; border-radius: 9999px; background: #fff; box-shadow: 0 2px 8px rgba(15, 30, 46, 0.07); color: #334155; font-size: clamp(7.5px, 1.26cqw, 9.5px); font-weight: 600; line-height: 1.26; white-space: nowrap; }
.rpc-pill::before { content: ""; flex: none; width: 4px; height: 4px; border-radius: 50%; background: #cbd5e1; }
.rpc-pill--soft { background: #eef2f6; border-color: #e6ebf1; box-shadow: none; }
.rpc-pill--green, .rpc-pill--amber, .rpc-pill--sky { border-color: transparent; color: #0f1e2e; font-weight: 700; }
.rpc-pill--green { background: #10b981; box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35); }
.rpc-pill--amber { background: #eab308; box-shadow: 0 6px 16px rgba(234, 179, 8, 0.35); }
.rpc-pill--sky { background: #38bdf8; box-shadow: 0 6px 16px rgba(56, 189, 248, 0.35); }
.rpc-pill--green::before, .rpc-pill--amber::before, .rpc-pill--sky::before { background: rgba(15, 30, 46, 0.45); }
.rpc-pill--more { left: auto; right: 1.2%; gap: 0.8em; padding: 1.1em 2.6em 1.1em 1.6em; border-color: transparent; background: #4f46e5; box-shadow: 0 10px 26px rgba(79, 70, 229, 0.45); color: #fff; font-size: clamp(8.5px, 1.46cqw, 11px); font-weight: 700; }
.rpc-pill--more::before { width: 5px; height: 5px; background: rgba(255, 255, 255, 0.6); }
/* narrow cards: the pills flow as a wrapped list, not a scatter */
@container (max-width: 560px) {
  .rpc__cloud { aspect-ratio: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 7px 6px; padding: 14px 10px; }
  .rpc-pill { position: static; font-size: 9.5px; }
  .rpc-pill--more { padding: 0.75em 1.6em 0.75em 1.3em; font-size: 10.5px; }
  .rpc::after { display: none; }
}

@container (max-width: 560px) {
  .dah__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dah__link .dah__wide { display: none; }
  .dah__link .dah__narrow { display: block; }
  .dah-out { gap: 5px; padding: 0 6px; font-size: 11px; }
}
@container (max-width: 340px) {
  .dah__grid { gap: 7px; }
  .dah-out { gap: 4px; padding: 0 4px; font-size: 10px; }
  .dah-out svg { width: 12px; height: 12px; }
}
@media (prefers-reduced-motion: reduce) { .dah-line { animation: none; } }
.ifs-mock__title { padding: 14px 13px 12px; color: #111827; font-size: 17px; font-weight: 700; }
.ifs-mock__tabs { display: flex; gap: 2px; padding: 0 2px; border-top: 1px solid #eef0f3; border-bottom: 1px solid #e5e7eb; }
.ifs-mock__tabs span { display: flex; align-items: center; gap: 6px; padding: 12px 11px; color: #374151; font-size: 10.5px; white-space: nowrap; }
.ifs-mock__tabs .is-on { background: #eef6fd; border-bottom: 2px solid #0262a5; color: #0262a5; font-weight: 700; }
.ifs-mock__filters { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-bottom: 1px solid #e5e7eb; }
.ifs-sel { display: flex; align-items: center; gap: 20px; font-size: 10.5px; font-weight: 600; color: #111827; white-space: nowrap; }
.ifs-sel:first-child { padding-right: 16px; border-right: 1px solid #e5e7eb; }
.ifs-search { display: flex; align-items: center; gap: 6px; width: 172px; padding: 6px 8px; border: 1px solid #d1d5db; border-radius: 4px; color: #9ca3af; font-size: 9.5px; white-space: nowrap; }
.ifs-date { display: flex; align-items: center; gap: 4px; padding: 6px 9px; border-radius: 4px; background: #dcebf8; color: #111827; font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.ifs-date b { color: #0262a5; }
.ifs-table { width: 100%; border-collapse: collapse; }
.ifs-table th {
  padding: 7px 6px;
  background: #eef0f3;
  border-bottom: 1px solid #d9dde3;
  color: #6b7280;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
}
.ifs-table td { padding: 6.5px 6px; border-bottom: 1px solid #eceef1; color: #374151; font-size: 9.5px; white-space: nowrap; }
.ifs-table th:first-child, .ifs-table td:first-child { padding-left: 13px; }
.ifs-ref { color: #0262a5 !important; font-weight: 700; }
.ifs-amt { color: #111827 !important; font-weight: 700; }
.ifs-paid { display: inline-grid; place-items: center; width: 12px; height: 12px; margin-right: 5px; border-radius: 50%; background: #22a04b; color: #fff; vertical-align: -2px; }
.ifs-paid svg { width: 8px !important; height: 8px !important; }

@media (max-width: 1100px) {
  .ifs__inner { flex-direction: column; align-items: stretch; }
  .ifs__nav { width: 100%; max-width: 520px; }
  .ifs__panels { max-width: none; }
}
@media (max-width: 640px) {
  .ifs-card { padding: 32px 18px; gap: 28px; }
  .dah { padding: 16px 10px 14px; }
  .pm { flex-direction: column; align-items: stretch; gap: 16px; }
  .pm-tx, .pm-side { width: auto; }
  .pm-side { gap: 16px; }
  .fee { flex-direction: column; align-items: stretch; gap: 16px; padding: 0; }
  .fee-pay { width: auto; }
  .fee-inv { flex: none; }
  .exp { flex-direction: column; align-items: stretch; }
  .exp-table { flex: none; border-radius: 16px; border-bottom: 1px solid #e8ebef; -webkit-mask-image: none; mask-image: none; }
  .exp-side { flex: none; }
  .ifs-mock { overflow-x: auto; }
  .ifs-mock__tabs span:nth-child(n+3), .ifs-search, .ifs-sel:last-child { display: none; }
}

/* ==========================================================================
   Safest place (section 8): Figma 6930:1835
   ========================================================================== */
.safe { background: radial-gradient(closest-side ellipse at 50% 50%, #f9f9f9 45.7%, #e5e6f3 100%); background-color: #e5e6f3; }
.safe__inner {
  display: flex;
  align-items: flex-start;
  gap: 29px;
  padding: 80px clamp(20px, 11.2%, 240px);
}
.safe__copy { flex: none; width: 601px; max-width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 29px; }
.safe__title {
  margin: 0;
  color: #070707;
  font-size: clamp(40px, 4.2vw, 64px);
  font-weight: 700;
  line-height: 1.09;
  letter-spacing: -0.015em;
}
.safe__title strong { font-weight: 900; }
.safe__text { margin: 0; max-width: 545px; color: #141b2b; font-size: 16px; font-weight: 600; line-height: 28px; }
.safe__cta-wrap { padding-top: 12px; }
.safe__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 6px 20px;
  border: 3px solid #fff;
  border-radius: 26px;
  background: #222834;
  color: #f7f7ff;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.01em;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05));
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.safe__cta:hover { background: #111620; transform: translateY(-1px); }
.safe__cta:focus-visible { outline: 3px solid #0262a5; outline-offset: 3px; }
.safe__art { flex: 1; display: flex; align-items: center; justify-content: center; align-self: center; min-width: 0; }
.safe__art img { display: block; width: 256px; height: auto; }

@media (max-width: 900px) {
  .safe__inner { flex-direction: column; align-items: stretch; gap: 40px; padding-top: 64px; padding-bottom: 64px; }
  .safe__copy { width: 100%; }
  .safe__art img { width: 200px; }
}

/* ==========================================================================
   Pricing (section 9): Figma 6937:1870
   ========================================================================== */
.pricing { background: #fff; border-top: 1px solid #02baf4; }
.pricing__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 50px 32px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}
.pricing__title {
  margin: 0;
  max-width: 896px;
  color: #111827;
  font-size: clamp(34px, 3.6vw, 54px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-align: center;
}
.pricing__grid { width: 100%; display: flex; align-items: flex-start; justify-content: center; gap: 36px; padding: 10px; }
.plan {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(120, 150, 230, 0.45);
  border-radius: 16px;
  background: #fff;
  color: #111827;
  overflow: hidden;
  /* glossy stroke: see-through lavender frame + crisp outer edge, like the NuPay card */
  box-shadow:
    0 0 0 8px rgba(206, 216, 255, 0.4),
    0 0 0 9px rgba(128, 152, 228, 0.42),
    0 18px 44px -14px rgba(8, 24, 48, 0.18);
}
.plan--popular {
  position: relative;
  z-index: 1;
  border-color: rgba(205, 220, 255, 0.4);
  background: linear-gradient(165deg, #173276 0%, #0e2257 48%, #091740 100%);
  color: #fff;
  transform: scale(1.05);
  /* same lavender glossy frame as the other plans, plus a blue-violet glow like the NuPay card */
  box-shadow:
    0 0 0 9px rgba(206, 216, 255, 0.5),
    0 0 0 10px rgba(128, 152, 228, 0.5),
    0 0 50px 10px rgba(110, 100, 255, 0.35),
    0 0 110px 30px rgba(29, 91, 255, 0.18),
    0 30px 70px -16px rgba(8, 24, 48, 0.4);
}
/* NuPay Complete: a lighter premium treatment, a step below NuPay Pro */
.plan--premium {
  background: linear-gradient(180deg, #eef3ff 0%, #ffffff 46%);
  box-shadow:
    0 0 0 8px rgba(206, 216, 255, 0.48),
    0 0 0 9px rgba(128, 152, 228, 0.5),
    0 0 36px 4px rgba(29, 91, 255, 0.14),
    0 20px 48px -14px rgba(8, 24, 48, 0.2);
}
.plan--premium::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, #1d5bff, #7c5cff);
}
.plan--premium .plan__tag {
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 9999px;
  background: rgba(29, 91, 255, 0.1);
  border: 1px solid rgba(29, 91, 255, 0.22);
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.plan--premium .plan__amount { color: #1d4ed8; }
.plan--premium .plan__users { color: #1d4ed8; }

.plan--popular .plan__badge {
  background: linear-gradient(90deg, #25b003, #3ee184);
  color: #04210f;
  letter-spacing: 0.12em;
}
.plan--popular .plan__who,
.plan--popular .plan__incl p:not(.plan__users),
.plan--popular .plan__terms { color: rgba(226, 234, 255, 0.78); }
.plan--popular .plan__was { color: rgba(226, 234, 255, 0.55); }
.plan--popular .plan__price { color: #fff; }
.plan--popular .plan__amount { font-size: 38px; line-height: 42px; }
.plan--popular .plan__users { color: #6ee7b7; }
.plan__badge {
  padding: 8px 0;
  background: #25b003;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 16.5px;
  letter-spacing: 0.09em;
  text-align: center;
  text-transform: uppercase;
}
.plan__body { display: flex; flex-direction: column; justify-content: space-between; padding: 28px; }
.plan--popular .plan__body { padding-top: 28px; padding-bottom: 28px; }
.plan__top { display: flex; flex-direction: column; gap: 4px; }
.plan p { margin: 0; }
.plan__name { margin: 0; font-size: 24px; font-weight: 600; line-height: 32px; }
.plan__who { padding-top: 8px; color: #1f2937; font-size: 14px; line-height: 20px; }
.plan__was { padding-top: 36px; font-size: 12px; line-height: 16px; letter-spacing: 0.025em; }
.plan__price { display: flex; align-items: flex-end; gap: 10px; color: #030712; }
.plan__amount { font-size: 30px; font-weight: 700; line-height: 36px; }
.plan__per { font-size: 14px; line-height: 20px; padding-bottom: 2px; }
.plan__terms { padding-top: 4px; font-size: 12px; line-height: 19.5px; }
.plan__incl { display: flex; flex-direction: column; gap: 4px; padding-top: 48px; font-size: 12px; line-height: 16px; }
.plan__users { font-weight: 600; }
.pricing__cta-wrap { padding-top: 12px; }
.pricing__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 6px 20px;
  border: 3px solid #fff;
  border-radius: 26px;
  background: #0356b0;
  color: #f7f7ff;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0.01em;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05));
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.pricing__cta:hover { background: #024a97; transform: translateY(-1px); }
.pricing__cta:focus-visible { outline: 3px solid #0356b0; outline-offset: 3px; }

@media (max-width: 900px) {
  .pricing__grid { flex-direction: column; align-items: stretch; max-width: 460px; gap: 34px; }
  .plan { flex: none; width: 100%; }
  .plan--popular { transform: none; }
  .pricing__inner { padding: 56px 20px 64px; gap: 40px; }
}

/* ==========================================================================
   FAQs (section 10): Figma 6951:2080
   ========================================================================== */
.faq { background: #fff; }
.faq__inner { display: flex; align-items: flex-start; max-width: 1280px; margin: 0 auto; padding: 80px 20px; }
.faq__head { flex: 1 1 0; min-width: 0; padding-top: 8px; position: sticky; top: calc(var(--nav-h) + 24px); }
.faq__title { margin: 0; color: #000; font-size: clamp(48px, 4.5vw, 68px); font-weight: 400; line-height: 1; letter-spacing: -0.025em; }
.faq__list { flex: 1 1 0; min-width: 0; border-top: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb; }
.faq__item + .faq__item { border-top: 1px solid #e5e7eb; }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 8px 0;
  color: #0d0d0d;
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: -0.025em;
  list-style: none;
  cursor: pointer;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover span { color: #0356b0; }
.faq__q:focus-visible { outline: 2px solid #0356b0; outline-offset: 2px; }
.faq__chev { flex: none; width: 20px; height: 20px; transition: transform 0.25s var(--ease); }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__a { margin: 0; padding: 0 36px 18px 0; color: #4b5563; font-size: 16px; line-height: 1.65; }

@media (max-width: 860px) {
  .faq__inner { flex-direction: column; gap: 28px; padding: 64px 20px; }
  .faq__head { position: static; }
  .faq__list { width: 100%; }
  .faq__q { font-size: 16px; line-height: 24px; padding: 12px 0; }
  .faq__a { padding-right: 0; }
}

/* ==========================================================================
   Site footer (section 11): Figma 6953:2630
   ========================================================================== */
.sfoot { background: #121316; padding: 48px 20px; font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.sfoot__card {
  max-width: 1152px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 64px;
  border: 1px solid #343842;
  border-radius: 16px;
  background: #25272c;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.sfoot__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px; }
.sfoot__col { display: flex; flex-direction: column; gap: 48px; }
.sfoot__group { display: flex; flex-direction: column; gap: 16px; }
.sfoot__h { margin: 0; color: #fff; font-size: 16px; font-weight: 500; line-height: 24px; letter-spacing: 0.025em; }
.sfoot__mission { max-width: 240px; margin: -4px 0 0; color: #9ca3af; font-size: 14px; line-height: 22.75px; }
.sfoot__brand { gap: 19px; }
.sfoot__links { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sfoot__links a { color: #9ca3af; font-size: 14px; line-height: 22.75px; transition: color 0.15s ease; }
.sfoot__links a:hover { color: #fff; }
.sfoot__row { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.sfoot__row:first-of-type { padding-top: 48px; }
.sfoot__row a { color: #fff; font-size: 14px; line-height: 22.75px; }
.sfoot__row a:hover { color: #9ca3af; }
.sfoot a:focus-visible { outline: 2px solid #6f9bff; outline-offset: 3px; border-radius: 2px; }
.sfoot__copy { margin: 0; padding-top: 32px; color: #fff; font-size: 14px; line-height: 22.75px; }

@media (max-width: 900px) {
  .sfoot__card { padding: 40px 28px; }
  .sfoot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
}
@media (max-width: 480px) {
  .sfoot { padding: 24px 12px; }
  .sfoot__grid { grid-template-columns: 1fr; }
  .sfoot__row:first-of-type { padding-top: 16px; }
}

/* Pay from Home card: a light tint behind the label, keeping the photo's colours vivid */
.pc__card--parent .pc__veil {
  background: linear-gradient(180deg, rgba(8, 20, 40, 0.1) 0%, rgba(8, 20, 40, 0.32) 40%, rgba(8, 20, 40, 0.08) 62%, transparent 100%);
}
.pc__card--parent .pc__label,
.pc__card--parent .pc__amount { text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45); }
.pc__cur { margin-left: 0.25em; font-size: 0.42em; font-weight: 700; letter-spacing: 0.04em; vertical-align: 0.9em; opacity: 0.9; }

/* ==========================================================================
   Security section options (A / B / C) — preview only until one is chosen
   ========================================================================== */
/* ---- A: money flow (dark) ---- */
.seca { background: var(--ink); color: #fff; overflow: hidden; position: relative; isolation: isolate; }
.seca::before { content: ""; position: absolute; left: 50%; top: 52%; width: 900px; height: 520px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(110, 100, 255, 0.28), transparent); z-index: -1; }
.seca__inner { max-width: 1160px; margin: 0 auto; padding: 110px 24px; display: flex; flex-direction: column; align-items: center; gap: 56px; text-align: center; }
.seca__eyebrow, .secb__eyebrow, .secc__eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-300); }
.seca__title { margin: 14px 0 0; font-size: clamp(36px, 4.6vw, 62px); font-weight: 800; line-height: 1.04; letter-spacing: -0.03em; }
.seca__lede { margin: 20px auto 0; max-width: 58ch; color: rgba(255, 255, 255, 0.66); font-size: 18px; line-height: 1.6; }
.seca__flow { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; justify-content: center; gap: 18px; width: 100%; }
.seca__step { position: relative; flex: 1; max-width: 300px; padding: 28px 24px; border-radius: 20px; text-align: left;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)); border: 1px solid rgba(160,185,255,0.2);
  box-shadow: 0 0 0 8px rgba(160,185,255,0.08), inset 0 1px 0 rgba(255,255,255,0.12); }
.seca__step--bank { background: linear-gradient(165deg, #3a74ff 0%, #1d5bff 45%, #1238b8 100%); border-color: rgba(205,220,255,0.55);
  box-shadow: 0 0 0 9px rgba(186,205,255,0.28), 0 0 0 10px rgba(205,220,255,0.5), 0 0 60px 8px rgba(110,100,255,0.45); transform: translateY(-8px); }
.seca__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,0.1); color: #cfe0ff; }
.seca__step--bank .seca__icon { background: rgba(255,255,255,0.2); color: #fff; }
.seca__icon svg { width: 22px; height: 22px; }
.seca__k { display: block; margin-top: 18px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(200,212,240,0.6); }
.seca__step--bank .seca__k { color: rgba(255,255,255,0.8); }
.seca__step h3 { margin: 6px 0 0; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.seca__step p { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: rgba(226,234,255,0.72); }
.seca__step--bank p { color: rgba(255,255,255,0.88); }
.seca__arrow { display: grid; place-items: center; color: rgba(160,185,255,0.6); }
.seca__arrow svg { width: 26px; height: 26px; }
.seca__points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; font-size: 15px; color: rgba(226,234,255,0.82); }
.seca__points li { display: flex; align-items: center; gap: 9px; }
.seca__points svg { width: 18px; height: 18px; color: var(--mint); }
/* Step 1: payment-method tiles, same white logo cards as the connections hub */
.seca__tiles { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 44px; gap: 8px; }
.seca__tile { display: grid; place-items: center; border-radius: 10px; background: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); overflow: hidden; }
.seca__tile img { max-width: 78%; max-height: 28px; width: auto; height: auto; object-fit: contain; }
.seca__gen { display: flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 650; color: var(--ink); }
.seca__gen svg { width: 17px; height: 17px; color: var(--blue); }
/* keep the Step 2 / Step 3 headings level with Step 1 (tiles are 96px tall, icons 44px; 70px because it collapses with the label's 18px top margin) */
.seca__step .seca__icon { margin-bottom: 70px; }

/* ---- B: feature grid (light) ---- */
.secb { background: linear-gradient(180deg, #f4f6fb 0%, #ffffff 70%); }
.secb__inner { max-width: 1160px; margin: 0 auto; padding: 110px 24px; }
.secb__head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.secb__eyebrow { color: var(--blue); }
.secb__title { margin: 14px 0 0; font-size: clamp(36px, 4.6vw, 62px); font-weight: 800; line-height: 1.04; letter-spacing: -0.03em; color: var(--ink); }
.secb__lede { margin: 20px auto 0; max-width: 56ch; color: var(--muted); font-size: 18px; line-height: 1.6; }
.secb__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; padding: 10px; }
.secb__tile { padding: 30px 28px; border-radius: 18px; background: #fff; border: 1px solid rgba(120,150,230,0.4);
  box-shadow: 0 0 0 8px rgba(206,216,255,0.36), 0 0 0 9px rgba(128,152,228,0.36), 0 18px 44px -18px rgba(8,24,48,0.2);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.secb__tile:hover { transform: translateY(-3px); box-shadow: 0 0 0 8px rgba(206,216,255,0.5), 0 0 0 9px rgba(128,152,228,0.5), 0 0 40px 4px rgba(29,91,255,0.14), 0 22px 50px -18px rgba(8,24,48,0.24); }
.secb__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; color: #fff;
  background: linear-gradient(165deg, #3a74ff 0%, #1d5bff 45%, #1238b8 100%); box-shadow: 0 8px 20px rgba(29,91,255,0.3); }
.secb__icon svg { width: 22px; height: 22px; }
.secb__tile h3 { margin: 20px 0 0; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.secb__tile p { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: var(--muted); }

/* ---- C: split with security centre (mist) ---- */
.secc { background: radial-gradient(ellipse at 75% 50%, #eef1ff 0%, #f4f6fb 55%, #eceffa 100%); }
.secc__inner { max-width: 1200px; margin: 0 auto; padding: 110px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.secc__eyebrow { color: var(--blue); }
.secc__title { margin: 14px 0 0; font-size: clamp(34px, 4vw, 56px); font-weight: 800; line-height: 1.06; letter-spacing: -0.03em; color: var(--ink); }
.secc__lede { margin: 20px 0 0; max-width: 50ch; color: var(--muted); font-size: 17.5px; line-height: 1.6; }
.secc__list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.secc__list li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 500; color: var(--text); }
.secc__tick { width: 22px; height: 22px; padding: 4px; border-radius: 6px; background: #0262a5; color: #fff; flex: none; }
.secc__cta { display: inline-flex; margin-top: 32px; height: 44px; align-items: center; padding: 0 22px; border-radius: 26px; background: #222834; color: #fff; font-size: 14.5px; font-weight: 600; border: 3px solid #fff; }
.secc__visual { padding: 12px; min-width: 0; }
.secc__card { position: relative; padding: 22px; border-radius: 22px; color: #fff; background: linear-gradient(165deg, #12245a 0%, #0a1638 50%, #050b1f 100%);
  border: 1px solid rgba(160,185,255,0.22);
  box-shadow: 0 0 0 10px rgba(186,205,255,0.4), 0 0 0 11px rgba(120,150,230,0.5), 0 0 70px 10px rgba(110,100,255,0.22), 0 30px 70px -20px rgba(5,11,31,0.5); }
.secc__card-head { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.secc__shield { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(165deg, #3a74ff, #1238b8); }
.secc__shield svg { width: 18px; height: 18px; }
.secc__live { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #6ee7b7; }
.secc__live i { width: 7px; height: 7px; border-radius: 50%; background: #34e0a1; box-shadow: 0 0 0 4px rgba(52,224,161,0.2); }
.secc__panel { padding: 14px; border-radius: 14px; background: rgba(255,255,255,0.05); border: 1px solid rgba(160,185,255,0.14); }
.secc__panel + .secc__panel { margin-top: 12px; }
.secc__panel-title { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(200,212,240,0.7); }
.secc__panel-title span { letter-spacing: 0; text-transform: none; font-weight: 600; color: #9ec0ff; }
.secc__row { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid rgba(160,185,255,0.1); }
.secc__panel-title + .secc__row { border-top: 0; }
.secc__dev { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: rgba(255,255,255,0.08); color: #cfe0ff; flex: none; }
.secc__dev svg { width: 17px; height: 17px; }
.secc__grow { flex: 1; min-width: 0; display: grid; }
.secc__grow b { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.secc__grow small { font-size: 12px; color: rgba(200,212,240,0.6); }
.secc__pill { padding: 3px 9px; border-radius: 9999px; font-size: 11.5px; font-weight: 700; }
.secc__pill--ok { background: rgba(52,224,161,0.14); color: #6ee7b7; border: 1px solid rgba(52,224,161,0.3); }
.secc__pill--bad { background: rgba(255,90,122,0.14); color: #ff9fb2; border: 1px solid rgba(255,90,122,0.32); }
.secc__log { display: flex; gap: 12px; padding: 6px 0; font-family: var(--mono); font-size: 12px; color: rgba(226,234,255,0.82); }
.secc__log time { color: #9ec0ff; }

@media (max-width: 900px) {
  .seca__flow { flex-direction: column; align-items: center; }
  .seca__step { width: 100%; max-width: 420px; }
  .seca__step .seca__icon { margin-bottom: 0; }
  .seca__step--bank { transform: none; }
  .seca__arrow { transform: rotate(90deg); }
  .secb__grid { grid-template-columns: 1fr 1fr; }
  .secc__inner { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 600px) {
  .seca__inner, .secb__inner, .secc__inner { padding: 72px 20px; }
  .secb__grid { grid-template-columns: 1fr; }
  .secc__log { font-size: 11px; }
}
/* payment logos now sit under the CTA, filling the left column beside the tall photo */
.dp__copy { width: 540px; }
.dp__pay { display: flex; flex-direction: column; gap: 12px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.28); width: 100%; }
.dp__pay-label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); }
.dp__pay .dp__logos { justify-content: flex-start; }
@media (min-width: 961px) { .dp__media { width: 460px; } }
.dp__pay .dp__logos { gap: 8px; flex-wrap: nowrap; }
.dp__pay .dp__logo { width: 76px; height: 46px; flex: none; }
.dp__pay .dp__logo--bare { width: auto; height: 56px; }
@media (max-width: 600px) { .dp__pay .dp__logos { flex-wrap: wrap; } }

/* ==========================================================================
   Trusted by schools: NuClass schools scrolling left to right
   ========================================================================== */
.trust { background: #fff; padding: 8px 0 clamp(64px, 7vw, 96px); overflow: hidden; }
.trust__inner { max-width: 820px; margin: 0 auto; padding: 0 24px; text-align: center; }
.trust__text { margin: 0; color: var(--muted); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; }
.trust__text strong { color: var(--ink); font-weight: 650; }
.trust__marquee {
  margin-top: 34px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.trust__track {
  display: flex;
  gap: 14px;
  width: max-content;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  animation: trust-scroll 48s linear infinite;
}
.trust__marquee:hover .trust__track { animation-play-state: paused; }
/* right to left: slide one full copy to the left, then loop */
@keyframes trust-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.trust__school {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 10px;
  border-radius: 9999px;
  color: #6b7280;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}
.trust__crest {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(165deg, #173276 0%, #0e2257 48%, #091740 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.trust__school--more { padding: 10px 18px; }
@media (prefers-reduced-motion: reduce) {
  .trust__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; padding: 10px 24px; }
  .trust__school[aria-hidden="true"] { display: none; }
}
/* Hub v2: every dotted line flows all the time; payment tiles flip */
.hub-line,
.hub-line.is-live,
.hub-line.is-flow {
  stroke: rgba(130, 165, 255, 0.6);
  stroke-dasharray: 6 7;
  animation: hub-flow 1.3s linear infinite;
}
.hub-line.is-off { opacity: 1; }
.hub-tiles { perspective: 600px; }
.hub-tile { transition: transform 0.26s ease-in, background-color 0.2s; transform-style: preserve-3d; }
.hub-tile.is-flip { transform: rotateY(90deg); }
@media (prefers-reduced-motion: reduce) {
  .hub-line, .hub-line.is-live, .hub-line.is-flow { animation: none; }
}

/* ==========================================================================
   Mobile polish (homepage) — tablet and phone fine-tuning
   ========================================================================== */
.nav__ghost { white-space: nowrap; }
.nav__burger { display: none; }

@media (max-width: 900px) {
  /* --- nav: burger + full-height menu panel --- */
  .nav__burger {
    display: grid;
    align-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-left: 4px;
    padding: 0 11px;
    border-radius: 12px;
    background: #f1f3f8;
    cursor: pointer;
  }
  .nav__burger span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.25s var(--ease), opacity 0.2s; }
  .nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav__burger:focus-visible { outline: 2px solid #9ec0ff; outline-offset: 2px; }
  .nav__cta { gap: 10px; }
  html.nav-locked, html.nav-locked body { overflow: hidden; }
  .nav.is-open .nav__links {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    padding: 8px 20px 40px;
    background: #fff;
    border-top: 1px solid #e6e9f0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav.is-open .nav__item,
  .nav.is-open .nav__plain { display: block; padding: 0; border-bottom: 1px solid #eef0f5; }
  .nav.is-open .nav__trigger,
  .nav.is-open .nav__plain { display: flex; align-items: center; justify-content: space-between; width: 100%; height: 58px; color: var(--ink); font-size: 17px; font-weight: 600; }
  .nav.is-open .nav__trigger::after { display: none; }
  .nav.is-open .nav__menu { display: none; position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; transition: none; }
  .nav.is-open .nav__item.is-expanded .nav__menu { display: block; }
  .nav.is-open .nav__item .nav__chev { transform: none; }
  .nav.is-open .nav__item.is-expanded .nav__chev { transform: rotate(180deg); }
  .nav.is-open .nav__item.is-expanded .nav__trigger { color: var(--blue); }
  .nav.is-open .nav__panel { display: block; padding: 0 0 14px; }
  .nav.is-open .nav__intro { display: none; }
  .nav.is-open .nav__cols { flex-direction: column; gap: 14px; padding: 0; }
  .nav.is-open .nav__col { min-width: 0; }
  .nav.is-open .nav__colh { margin-bottom: 2px; padding-bottom: 6px; }
  .nav.is-open .nav__sub { padding: 9px 0; }
  .nav.is-open .nav__sub b { font-size: 15.5px; }
  .nav.is-open .nav__sub small { font-size: 13px; }

  /* --- section: payment cards scroll sideways instead of stacking --- */
  .pc__row {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 26px;
    margin: 18px -20px 0;
    padding: 14px 30px 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 30px;
    scrollbar-width: none;
  }
  .pc__row::-webkit-scrollbar { display: none; }
  .pc__card, .pc__card--lead { flex: none; width: min(270px, 74vw); aspect-ratio: 0.72; scroll-snap-align: center; }
  .pc__card--lead { order: 0; }

  /* --- feature tabs become a swipeable row of chips --- */
  .ifs { padding-bottom: 72px; }
  .ifs__inner { gap: 22px; }
  .ifs__nav { width: 100%; max-width: none; padding: 0; }
  .ifs__tabs {
    flex-direction: row;
    gap: 8px;
    padding: 8px;
    border-radius: 14px;
    overflow-x: auto;
    scrollbar-width: none;
    box-shadow: 0 0 0 6px rgba(206, 216, 255, 0.4), 0 0 0 7px rgba(128, 152, 228, 0.4);
    margin: 8px 7px 0;
  }
  .ifs__tabs::-webkit-scrollbar { display: none; }
  .ifs__tabs::before { display: none; }
  .ifs-tab { flex: none; width: auto; padding: 10px 14px; white-space: nowrap; }
  .ifs-tab:hover { transform: none; }
  .ifs-tab:not(.is-active) .ifs-tab__label { padding-left: 0; }
  .ifs-tab__label { gap: 8px; }
  .ifs-tab__bar { height: 14px; width: 4px; }
  .ifs-tab__end { display: none; }
  .ifs-tab.is-active { box-shadow: 0 6px 16px rgba(29, 91, 255, 0.35); }

  /* --- safest place --- */
  .safe__inner { padding: 64px 20px; gap: 32px; }
  .safe__art img { width: 150px; }
}

@media (max-width: 760px) {
  /* screenshot carousel: arrows sit beside the dots, off the screenshot */
  .showcase__arrow { top: auto; bottom: 10px; transform: none; width: 38px; height: 38px; }
  .showcase__arrow:hover { transform: none; }
  .showcase__arrow--prev { left: 6px; }
  .showcase__arrow--next { right: 6px; }
  .showcase__dots { padding: 22px 0 24px; }
  .showcase { padding-top: 64px; }
  .showcase__title { font-size: 30px; }
  .showcase__lede { font-size: 16px; }
}

@media (max-width: 600px) {
  .rh-container { padding-inline: 20px; }
  .nav .nav__pill { height: 40px; padding: 0 16px; font-size: 14px; }

  /* hero */
  .dp__inner { padding: calc(var(--nav-h) + 30px) 20px 56px; gap: 0; }
  .dp__hero { gap: 34px; }
  .dp__copy { gap: 22px; }
  .dp__eyebrow { font-size: 12px; letter-spacing: 0.08em; }
  .dp__line { font-size: clamp(32px, 10.2vw, 42px); }
  .dp__mark { font-size: clamp(26px, 8.2vw, 34px); }
  .dp__sub { font-size: 15px; line-height: 23px; padding: 4px 8px; }
  .dp__cta-wrap { width: 100%; padding-top: 4px; }
  .dp__cta { width: 100%; padding: 15px 20px; font-size: 18px; }
  .dp__pay { padding-top: 16px; }
  .dp__pay .dp__logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .dp__pay .dp__logo, .dp__pay .dp__logo--bare { width: auto; height: 48px; background: #fff; border: 1px solid rgba(154, 180, 216, 0.6); border-radius: 8px; }
  .dp__pay .dp__logo--bare img { height: auto; max-height: 80%; max-width: 70%; }
  .dp__media { width: 100%; max-width: none; border-radius: 18px; }

  /* invoice flow */
  .iflow__inner { padding: 56px 20px; gap: 20px; }
  .iflow__title { font-size: 34px; gap: 0 10px; }
  .iflow__sub { font-size: 15.5px; font-weight: 500; line-height: 24px; }
  .iflow__steps { gap: 26px; margin-top: 8px; }
  .iflow__step { width: 100%; max-width: 320px; }
  .iflow__art { margin: 0 auto; }
  .iflow__text { padding: 6px 10px; border-radius: 6px; }

  /* payment cards heading */
  .pc { padding: 56px 0 48px; }
  .pc__title { font-size: 32px; }
  .pc__lede { font-size: 16px; }
  .pc__actions .rh__cta { width: 100%; justify-content: center; }

  /* schools strip */
  .trust { padding-bottom: 56px; }
  .trust__text { font-size: 16px; }
  .trust__marquee { margin-top: 22px; }
  .trust__school { font-size: 14px; }

  /* connections */
  .hubsec .h1 { font-size: 34px; }
  .hub-hook { font-size: 18px; margin-top: 16px; }
  .hubsec .section-head .hub-body { font-size: 15.5px; }

  /* everything in one place */
  .eop { padding: 64px 20px 28px; }
  .eop__title { font-size: 40px; }

  /* feature card */
  .ifs-card { padding: 26px 16px; gap: 24px; }
  .ifs-title { font-size: 26px; }
  .ifs-list li { font-size: 14.5px; }

  /* safest place */
  .safe__title { font-size: 34px; }
  .safe__text { font-size: 16px; line-height: 26px; font-weight: 500; }

  /* pricing */
  .pricing__inner { padding: 56px 20px 64px; gap: 34px; }
  .pricing__title { font-size: 30px; }
  .plan__incl { padding-top: 28px; }
  .plan__was { padding-top: 22px; }

  /* faqs */
  .faq__inner { padding: 56px 20px; gap: 18px; }
  .faq__title { font-size: 44px; }
  .faq__q { min-height: 56px; }

  /* footer: two columns of link groups, bigger tap targets */
  .sfoot { padding: 16px 10px; }
  .sfoot__card { padding: 30px 20px; gap: 18px; }
  .sfoot__grid { grid-template-columns: 1fr 1fr; gap: 30px 18px; }
  .sfoot__col { display: contents; }
  .sfoot__brand { grid-column: 1 / -1; display: flex; }
  .sfoot__group { gap: 6px; }
  .sfoot__links { gap: 0; }
  .sfoot__links a { display: block; padding: 7px 0; font-size: 13px; }
  .sfoot__row { gap: 4px 22px; }
  .sfoot__row:first-of-type { padding-top: 12px; }
  .sfoot__row a { padding: 8px 0; }
  .sfoot__copy { padding-top: 8px; font-size: 13px; }
}
@media (max-width: 600px) {
  .dp__pay .dp__logo img { max-height: 28px; max-width: 76%; width: auto; height: auto; }
  .dp__pay .dp__logo--bare img { max-height: 34px; }
  .pc__title { max-width: none; }
  /* top row of the diagram: 3 + 2, centred, instead of leaving a gap */
  .hub-row { display: flex; flex-wrap: wrap; justify-content: center; }
  .hub-row .hub-slot { flex: 0 0 calc((100% - 12px) / 3); }
}

@media (max-width: 900px) { .pc__title { max-width: none; } }

/* ==========================================================================
   Connections diagram — dedicated phone layout (desktop untouched)
   Canvas 350 x 740; --u is one canvas unit, so everything scales together.
   ========================================================================== */
.hub-m, .hub__lines--m { display: none; }
@media (max-width: 760px) {
  .hub-d { display: none; }
  .hub-m { display: inline; }
  .hub {
    --u: calc(100cqw / 350);
    display: block;
    aspect-ratio: 350 / 740;
    padding: 0;
    max-width: 430px;
  }
  .hub__lines { display: none; }
  .hub__lines--m { display: block; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  .hub-n { position: absolute; transform: translate(-50%, -50%); margin: 0 !important; left: calc(var(--mx) / 3.5 * 1%); top: calc(var(--my) / 7.4 * 1%); }
  /* absolutely placed at 50%: without this the box may only use the space to the right of its centre, so long labels spill out */
  .hub-n { width: max-content; }
  .hub-pill--ai { white-space: nowrap; }
  .hub-pill--ai .hub-pill__stack { min-width: 0; }
  .hub-a-row  { --mx: 175; --my: 32; width: auto; }
  .hub-a-ptl  { --mx: 175; --my: 115; }
  .hub-a-core { --mx: 175; --my: 235; }
  .hub-a-tiles { --mx: 95; --my: 380; }
  .hub-a-cap  { --mx: 95; --my: 472; }
  .hub-a-out  { --mx: 280; --my: 380; }
  .hub-a-outl { --mx: 280; --my: 428; }
  .hub-a-pb   { --mx: 175; --my: 560; }
  .hub-a-a0   { --mx: 90; --my: 640; }
  .hub-a-a1   { --mx: 262; --my: 640; }
  .hub-a-a2   { --mx: 175; --my: 705; }
  .hub-a-pl, .hub-a-pr { display: none; }

  .hub-row { display: block; width: auto; padding: calc(5 * var(--u)); border-radius: calc(12 * var(--u)); }
  .hub-row .hub-slot { display: none; }
  .hub-row .hub-slot[data-hub-slot="0"] { display: flex; width: calc(150 * var(--u)); height: calc(36 * var(--u)); border-radius: calc(9 * var(--u)); font-size: calc(13 * var(--u)); }
  .hub-pill { font-size: calc(14 * var(--u)); padding: calc(8 * var(--u)) calc(18 * var(--u)); }
  .hub-core { --frame: calc(8 * var(--u)); width: calc(116 * var(--u)); height: calc(96 * var(--u)); border-radius: calc(18 * var(--u)); }
  .hub-core::before { border-radius: calc(26 * var(--u)); }
  .hub-core__mark { font-size: calc(22 * var(--u)); }
  .hub-tiles { grid-template-columns: repeat(2, calc(68 * var(--u))); grid-auto-rows: calc(44 * var(--u)); gap: calc(7 * var(--u)); }
  .hub-tile { border-radius: calc(10 * var(--u)); }
  .hub-tile__gen { font-size: calc(12 * var(--u)); }
  .hub-out { width: calc(60 * var(--u)); height: calc(60 * var(--u)); border-radius: calc(14 * var(--u)); }
  .hub-cap { font-size: calc(12 * var(--u)); }
  .hub-pill--ai { padding: calc(9 * var(--u)) calc(14 * var(--u)); }
  .hub-pill--ai .hub-pill__title { font-size: calc(14 * var(--u)); }
  .hub-pill--ai .hub-pill__sub { font-size: calc(11 * var(--u)); }
  .hub-acct { min-width: 0; height: calc(34 * var(--u)); padding: 0 calc(13 * var(--u)); border-radius: calc(8 * var(--u)); font-size: calc(13 * var(--u)); }
}

/* ==========================================================================
   Feature tabs on phones: accordion (Intuit-style). Tabs and cards are
   interleaved with display:contents + order, so each card opens under its row.
   ========================================================================== */
.ifs-tab__acc { display: none; }
@media (max-width: 900px) {
  .ifs__inner { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .ifs__nav, .ifs__tabs, .ifs__panels { display: contents; }
  .ifs-tab {
    order: var(--o);
    width: 100%;
    margin: 0;
    padding: 20px 2px;
    border: 0;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: var(--ink);
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.01em;
    white-space: normal;
  }
  .ifs-tab:hover, .ifs-tab.is-active { background: none; box-shadow: none; color: var(--ink); border-color: #e5e7eb; transform: none; }
  .ifs-tab:first-child { border-top: 0; }
  .ifs-tab:not(.is-active) .ifs-tab__label, .ifs-tab__label { padding-left: 0; }
  .ifs-tab__bar, .ifs-tab__end { display: none !important; }
  .ifs-tab__acc { display: block; flex: none; width: 22px; height: 22px; color: var(--ink); transition: transform 0.25s var(--ease); }
  .ifs-tab.is-active .ifs-tab__acc { transform: rotate(180deg); }
  .ifs-tab.is-active { border-bottom-color: transparent; }
  .ifs-card { order: var(--o); margin: 4px 10px 30px; }
  .ifs-card:not([hidden]) + .ifs-card { margin-top: 0; }
  .ifs-tab:nth-child(1) { --o: 1; }
  .ifs-card:nth-child(1) { --o: 2; }
  .ifs-tab:nth-child(2) { --o: 3; }
  .ifs-card:nth-child(2) { --o: 4; }
  .ifs-tab:nth-child(3) { --o: 5; }
  .ifs-card:nth-child(3) { --o: 6; }
  .ifs-tab:nth-child(4) { --o: 7; }
  .ifs-card:nth-child(4) { --o: 8; }
  .ifs-tab:nth-child(5) { --o: 9; }
  .ifs-card:nth-child(5) { --o: 10; }
  .ifs-tab:nth-child(6) { --o: 11; }
  .ifs-card:nth-child(6) { --o: 12; }
  .ifs-tab:nth-child(7) { --o: 13; }
  .ifs-card:nth-child(7) { --o: 14; }
  .ifs-tab:nth-child(8) { --o: 15; }
  .ifs-card:nth-child(8) { --o: 16; }
}
@media (max-width: 900px) {
  /* feature accordion: use the full phone width */
  .ifs__inner { padding-left: 16px; padding-right: 16px; }
  .ifs-card { margin: 6px 6px 28px; }
  .ifs-card::before { inset: -6px; border-radius: 30px; }
}
@media (max-width: 600px) {
  .ifs-card { padding: 24px 16px; }
}

/* ==========================================================================
   Inner pages: phone polish (desktop untouched)
   ========================================================================== */
@media (max-width: 640px) {
  .ar-rec__bal > div { padding: 14px 10px 12px; min-width: 0; }
  .ar-rec__bal b { font-size: 15px; letter-spacing: -0.03em; white-space: nowrap; }
  .ar-rec__bal .pm-k { font-size: 9px; letter-spacing: 0.04em; }
  .ar-rec__prog, .ar-rec__rows { padding-left: 14px; padding-right: 14px; }

  /* connected-bank strip: logo + text, status chip tucked underneath */
  .bf-bank { display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; row-gap: 8px; padding: 16px; }
  .bf-bank__logo { width: 52px; height: 52px; grid-row: span 2; align-self: start; }
  .bf-bank > .bf-live { grid-column: 2; justify-self: start; }
  .bf-bank__body small { font-size: 13.5px; }
  .pt-card { padding: 24px 20px; border-radius: 18px; }
  .pt-card h3 { font-size: 24px; }
}

/* ==========================================================================
   Blog (/blog and /blog/[slug])
   ========================================================================== */
.blog-hero { background: linear-gradient(180deg, #f4f7fd 0%, #fff 100%); }
.blog-hero__inner { padding-top: 150px; padding-bottom: 48px; text-align: center; }
.blog-hero__title { margin: 14px 0 0; color: #0f1e2e; font-size: clamp(38px, 4.6vw, 64px); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; }
.blog-hero__lede { max-width: 58ch; margin: 20px auto 0; color: #334155; font-size: 18.5px; line-height: 1.6; }

.blog-list { padding: 16px 0 110px; background: #fff; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 28px; }

.blog-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e6e9f0; border-radius: 20px; background: #fff; color: inherit; text-decoration: none; box-shadow: 0 24px 48px -36px rgba(10, 20, 53, 0.35); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease); }
.blog-card:hover { transform: translateY(-3px); border-color: #c9d6f5; box-shadow: 0 30px 60px -34px rgba(29, 91, 255, 0.35); }
.blog-card:focus-visible { outline: 3px solid #9ec0ff; outline-offset: 3px; }
.blog-cover { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #0b1533; }
.blog-cover__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.blog-card:hover .blog-cover__img { transform: scale(1.03); }
.blog-cover__blank { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 22px 24px; background: radial-gradient(120% 90% at 85% 0%, rgba(124, 92, 255, 0.45) 0%, transparent 55%), linear-gradient(140deg, #050b1f 0%, #123a9e 100%); color: #fff; }
.blog-cover__mark { font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.blog-cover__cat { align-self: flex-start; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 9999px; background: rgba(255, 255, 255, 0.08); font-size: 12.5px; font-weight: 600; }
.blog-card__body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 24px 26px 26px; }
.blog-card__cat { color: #0262a5; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.blog-card__title { color: #0f1e2e; font-size: 21px; font-weight: 750; line-height: 1.25; letter-spacing: -0.02em; }
.blog-card__desc { color: #475569; font-size: 15.5px; line-height: 1.55; }
.blog-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: auto; padding-top: 6px; color: #64748b; font-size: 13.5px; }
.blog-card__more { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-size: 15px; font-weight: 700; }
.blog-card__more svg { width: 15px; height: 15px; transition: transform 0.2s var(--ease); }
.blog-card:hover .blog-card__more svg { transform: translateX(3px); }
.blog-draft { display: inline-block; padding: 3px 10px; border-radius: 9999px; background: #fff4e5; color: #b45309; font-size: 12px; font-weight: 700; }

.blog-card--featured { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.blog-card--featured .blog-cover { aspect-ratio: auto; min-height: 340px; }
.blog-card--featured .blog-card__body { justify-content: center; padding: 40px 44px; }
.blog-card--featured .blog-card__title { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; }
.blog-card--featured .blog-card__desc { font-size: 17px; }
.blog-card--featured .blog-meta { margin-top: 6px; }
.blog-card--featured .blog-cover__mark { font-size: 26px; }

.blog-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 560px; margin: 0 auto; padding: 56px 28px; border: 1px dashed #cfd8ea; border-radius: 20px; text-align: center; }
.blog-empty b { color: #0f1e2e; font-size: 21px; }
.blog-empty span { color: #475569; font-size: 16px; line-height: 1.55; }
.blog-empty .op-link { margin-top: 6px; }

/* single post */
.blog-narrow { max-width: 736px; margin: 0 auto; padding: 0 28px; }
.blog-post { background: #fff; }
.blog-post__head { padding: 140px 0 40px; background: linear-gradient(180deg, #f4f7fd 0%, #fff 100%); }
.blog-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 28px; color: #475569; font-size: 15px; font-weight: 600; }
.blog-back svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.blog-back:hover { color: var(--blue); }
.blog-back:hover svg { transform: translateX(-3px); }
.blog-post__cat { display: block; }
.blog-post__title { margin: 14px 0 0; color: #0f1e2e; font-size: clamp(34px, 4vw, 52px); font-weight: 800; line-height: 1.08; letter-spacing: -0.035em; }
.blog-post__lede { margin: 20px 0 0; color: #334155; font-size: 20px; line-height: 1.55; }
.blog-post__byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 26px; padding-top: 20px; border-top: 1px solid #e6e9f0; color: #64748b; font-size: 15px; }
.blog-post__author { color: #0f1e2e; font-weight: 650; }
.blog-post__cover { max-width: 1040px; margin: 8px auto 0; padding: 0 28px; }
.blog-post__cover .blog-cover__img { border-radius: 20px; aspect-ratio: 16 / 9; box-shadow: 0 30px 60px -30px rgba(10, 20, 53, 0.35); }

.blog-prose { padding: 40px 0 10px; color: #1e293b; font-size: 18.5px; line-height: 1.75; }
.blog-prose > :first-child { margin-top: 0; }
.blog-prose p { margin: 0 0 1.25em; }
.blog-prose h2 { margin: 2em 0 0.6em; color: #0f1e2e; font-size: 30px; font-weight: 750; line-height: 1.2; letter-spacing: -0.025em; scroll-margin-top: 100px; }
.blog-prose h3 { margin: 1.7em 0 0.5em; color: #0f1e2e; font-size: 22px; font-weight: 700; line-height: 1.3; letter-spacing: -0.015em; scroll-margin-top: 100px; }
.blog-prose h4 { margin: 1.5em 0 0.4em; color: #0f1e2e; font-size: 18.5px; font-weight: 700; }
.blog-prose a { color: var(--blue); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: rgba(29, 91, 255, 0.35); }
.blog-prose a:hover { text-decoration-color: currentColor; }
.blog-prose strong { color: #0f1e2e; font-weight: 700; }
.blog-prose ul, .blog-prose ol { margin: 0 0 1.4em; padding-left: 1.4em; }
.blog-prose li { margin: 0.4em 0; padding-left: 0.2em; }
.blog-prose ul { list-style: disc; }
.blog-prose ol { list-style: decimal; }
.blog-prose li::marker { color: var(--blue); font-weight: 700; }
.blog-prose blockquote { margin: 1.8em 0; padding: 22px 26px; border-left: 4px solid var(--blue); border-radius: 0 14px 14px 0; background: #f4f7fd; color: #0f1e2e; font-size: 20px; font-weight: 550; line-height: 1.55; }
.blog-prose blockquote p:last-child { margin-bottom: 0; }
.blog-prose figure { margin: 2em 0; }
.blog-prose img { display: block; max-width: 100%; height: auto; border-radius: 14px; }
.blog-prose figcaption { margin-top: 10px; color: #64748b; font-size: 14.5px; line-height: 1.5; text-align: center; }
.blog-prose hr { margin: 2.4em 0; border: 0; border-top: 1px solid #e6e9f0; }
.blog-prose code { padding: 2px 6px; border-radius: 6px; background: #f1f5f9; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 0.85em; }
.blog-prose pre { margin: 0 0 1.4em; padding: 18px 20px; overflow-x: auto; border-radius: 12px; background: #0b1533; color: #e2e8f0; font-size: 14.5px; line-height: 1.6; }
.blog-prose pre code { padding: 0; background: none; color: inherit; font-size: inherit; }
.blog-video { position: relative; margin: 2em 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 14px; background: #0b1533; }
.blog-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.blog-updated { margin: 0 0 8px; color: #64748b; font-size: 14.5px; }

.blog-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 28px 0 90px; padding-top: 24px; border-top: 1px solid #e6e9f0; }
.blog-share span { margin-right: 6px; color: #0f1e2e; font-size: 15px; font-weight: 650; }
.blog-share a { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border: 1px solid #dbe3f2; border-radius: 9999px; color: #1e293b; font-size: 14px; font-weight: 600; transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background-color 0.2s var(--ease); }
.blog-share a:hover { border-color: var(--blue); background: #f4f7ff; color: var(--blue); }

.blog-more { padding: 80px 0 100px; background: #f4f7fd; }
.blog-more__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.blog-more__head h2 { margin: 0; color: #0f1e2e; font-size: clamp(26px, 2.6vw, 36px); font-weight: 750; letter-spacing: -0.025em; }

@media (max-width: 960px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .blog-card--featured { grid-template-columns: 1fr; }
  .blog-card--featured .blog-cover { aspect-ratio: 16 / 9; min-height: 0; }
  .blog-card--featured .blog-card__body { padding: 28px 28px 30px; }
}
@media (max-width: 640px) {
  .blog-hero__inner { padding-top: 112px; padding-bottom: 32px; padding-left: 20px; padding-right: 20px; }
  .blog-hero__lede { font-size: 17px; }
  .blog-list { padding-bottom: 72px; }
  .blog-list .op__inner, .blog-more .op__inner { padding-left: 16px; padding-right: 16px; }
  .blog-grid { grid-template-columns: 1fr; gap: 18px; margin-top: 18px; }
  .blog-card { border-radius: 18px; }
  .blog-card__body, .blog-card--featured .blog-card__body { padding: 20px 20px 22px; }
  .blog-card__title { font-size: 20px; }
  .blog-card--featured .blog-card__title { font-size: 24px; }
  .blog-card--featured .blog-card__desc { font-size: 15.5px; }
  .blog-narrow { padding: 0 20px; }
  .blog-post__head { padding: 104px 0 28px; }
  .blog-back { margin-bottom: 20px; }
  .blog-post__lede { font-size: 18px; }
  .blog-post__byline { font-size: 14px; }
  .blog-post__cover { padding: 0 16px; }
  .blog-post__cover .blog-cover__img { border-radius: 14px; }
  .blog-prose { padding-top: 28px; font-size: 17.5px; line-height: 1.7; }
  .blog-prose h2 { font-size: 25px; }
  .blog-prose h3 { font-size: 20px; }
  .blog-prose blockquote { padding: 18px 20px; font-size: 18px; }
  .blog-share { margin-bottom: 64px; }
  .blog-more { padding: 56px 0 72px; }
  .blog-more__head { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Book a Demo form (opened by every "Book a Demo" button)
   ========================================================================== */
html.demo-locked { overflow: hidden; }
.demo[hidden] { display: none; }
.demo { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; }
.demo__backdrop { position: absolute; inset: 0; background: rgba(5, 11, 31, 0.5); -webkit-backdrop-filter: blur(8px) saturate(120%); backdrop-filter: blur(8px) saturate(120%); opacity: 0; transition: opacity 0.25s var(--ease); }
.demo__card {
  position: relative; width: min(520px, 100%); max-height: calc(100dvh - 40px); overflow-y: auto; scrollbar-width: none;
  padding: 26px 26px 22px; border-radius: 20px; background: #fff;
  box-shadow: 0 0 0 1px rgba(15, 30, 46, 0.06), 0 30px 70px -20px rgba(5, 11, 31, 0.45);
  opacity: 0; transform: translateY(12px) scale(0.985); transition: opacity 0.22s var(--ease), transform 0.28s var(--ease);
}
.demo__card::-webkit-scrollbar { display: none; }
.demo__card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; border-radius: 20px 20px 0 0; background: linear-gradient(90deg, #1d5bff, #7c5cff 60%, #22c1ee); }
.demo.is-open .demo__backdrop { opacity: 1; }
.demo.is-open .demo__card { opacity: 1; transform: none; }
.demo__x { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: #64748b; cursor: pointer; transition: background-color 0.2s var(--ease), color 0.2s var(--ease); }
.demo__x:hover { background: #f1f4f9; color: #0f1e2e; }
.demo__x svg { width: 14px; height: 14px; }
.demo__eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 9999px; background: #eef3ff; color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.demo__title { margin: 12px 0 0; padding-right: 28px; color: #0f1e2e; font-size: 20px; font-weight: 750; line-height: 1.25; letter-spacing: -0.02em; }
.demo__lede { margin: 6px 0 0; color: #64748b; font-size: 14px; line-height: 1.5; }
.demo__form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 12px; margin-top: 20px; }
.demo__field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.demo__field > span { color: #334155; font-size: 12.5px; font-weight: 600; }
.demo__field input {
  width: 100%; height: 40px; padding: 0 12px; border: 1px solid #e3e8f0; border-radius: 10px; background: #f8fafc;
  color: #0f1e2e; font: inherit; font-size: 14px; transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease), background-color 0.15s var(--ease);
}
.demo__field input::placeholder { color: #a0aec0; }
.demo__field input:hover { border-color: #cfd8e6; }
.demo__field input:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29, 91, 255, 0.14); }
.demo__err { display: none; color: #dc2626; font-size: 11.5px; font-style: normal; line-height: 1.3; }
.demo__field.is-bad input { border-color: #f19a9a; background: #fffafa; }
.demo__field.is-bad input:focus { box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12); }
.demo__field.is-bad .demo__err { display: block; }
.demo__hp { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.demo__fail, .demo__submit, .demo__note, .demo__or, .demo__wa { grid-column: 1 / -1; }
.demo__or { display: flex; align-items: center; gap: 12px; margin: 0; color: #94a3b8; font-size: 12px; }
.demo__or::before, .demo__or::after { content: ""; flex: 1; height: 1px; background: #e8edf4; }
.demo__wa { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%; height: 42px; border: 1px solid #e3e8f0; border-radius: 10px; background: #fff; color: #334155; font-size: 14px; font-weight: 500; transition: border-color 0.15s var(--ease), background-color 0.15s var(--ease); }
.demo__wa b { color: #0f1e2e; font-weight: 650; }
.demo__wa svg { flex: none; width: 20px; height: 20px; }
.demo__wa:hover { border-color: #25d366; background: #f3fdf6; }
.demo__wa:focus-visible { outline: 3px solid #9ec0ff; outline-offset: 2px; }
.demo__fail { margin: 0; padding: 9px 12px; border-radius: 10px; background: #fef2f2; color: #b91c1c; font-size: 13px; line-height: 1.45; }
.demo__submit {
  display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 44px; margin-top: 4px; border: 0; border-radius: 10px;
  background: linear-gradient(180deg, #2e68ff 0%, #1d5bff 100%); color: #fff; font: inherit; font-size: 14.5px; font-weight: 650;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 8px 20px -8px rgba(29, 91, 255, 0.6); cursor: pointer; transition: filter 0.15s var(--ease), transform 0.15s var(--ease);
}
.demo__submit:hover { filter: brightness(1.06); }
.demo__submit:active { transform: translateY(1px); }
.demo__submit:focus-visible { outline: 3px solid #9ec0ff; outline-offset: 2px; }
.demo__submit.is-busy { opacity: 0.75; cursor: progress; }
.demo__submit--ghost { margin-top: 18px; background: #f1f4f9; color: #0f1e2e; box-shadow: none; }
.demo__note { margin: 0; color: #94a3b8; font-size: 12px; line-height: 1.5; text-align: center; }
.demo__note a { color: #475569; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: #cbd5e1; }
.demo__done { padding: 10px 0 2px; text-align: center; outline: none; }
.demo__done .demo__title { padding-right: 0; }
.demo__tick { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #dcfce7; color: #15803d; }
.demo__tick svg { width: 22px; height: 22px; }

@media (max-width: 560px) {
  .demo { place-items: end stretch; padding: 0; }
  .demo__card { width: 100%; max-height: 92dvh; padding: 22px 18px calc(18px + env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0; transform: translateY(30px); }
  .demo__card::before { border-radius: 18px 18px 0 0; }
  .demo__form { grid-template-columns: 1fr; gap: 10px; margin-top: 16px; }
  .demo__field input { height: 44px; font-size: 16px; } /* 16px stops iPhone zooming in */
  .demo__submit { height: 48px; font-size: 15.5px; }
  .demo__wa { height: 46px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .demo__backdrop, .demo__card { transition: none; }
}

/* ==========================================================================
   Contact page (/contact)
   ========================================================================== */
.ct { background: linear-gradient(180deg, #f4f7fd 0%, #fff 520px); }
.ct__inner { padding-top: 150px; padding-bottom: 110px; }
.ct__head { max-width: 680px; margin: 0 auto; text-align: center; }
.ct__title { margin: 14px 0 0; color: #0f1e2e; font-size: clamp(38px, 4.6vw, 62px); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; }
.ct__lede { margin: 18px auto 0; max-width: 56ch; color: #334155; font-size: 18px; line-height: 1.6; }

.ct-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 52px; }
.ct-card { position: relative; display: flex; flex-direction: column; padding: 28px 26px 26px; border: 1px solid #e6e9f0; border-radius: 20px; background: #fff; color: inherit; box-shadow: 0 24px 48px -36px rgba(10, 20, 53, 0.35); transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.ct-card:hover { transform: translateY(-3px); border-color: #c9d6f5; box-shadow: 0 30px 60px -34px rgba(29, 91, 255, 0.35); }
.ct-card:focus-visible { outline: 3px solid #9ec0ff; outline-offset: 3px; }
.ct-card--wa { border-color: #bfeccf; background: linear-gradient(180deg, #f3fdf6 0%, #fff 70%); }
.ct-card--wa:hover { border-color: #25d366; box-shadow: 0 30px 60px -34px rgba(37, 211, 102, 0.45); }
.ct-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #eef3ff; color: var(--blue); }
.ct-card__icon svg { width: 24px; height: 24px; }
.ct-card__icon--wa { background: #fff; box-shadow: 0 0 0 1px #d7f3e1; }
.ct-card__icon--wa svg { width: 30px; height: 30px; }
.ct-card__label { margin-top: 22px; color: #64748b; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.ct-card__value { margin-top: 6px; color: #0f1e2e; font-size: 21px; font-weight: 750; letter-spacing: -0.015em; overflow-wrap: anywhere; }
.ct-card__text { margin-top: 8px; color: #475569; font-size: 15px; line-height: 1.55; }
.ct-card__go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 20px; color: var(--blue); font-size: 15px; font-weight: 700; }
.ct-card--wa .ct-card__go { color: #128c4b; }
.ct-card__go svg { width: 15px; height: 15px; transition: transform 0.2s var(--ease); }
.ct-card:hover .ct-card__go svg { transform: translateX(3px); }

.ct-demo { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 28px; padding: 34px 38px; border-radius: 22px; background: radial-gradient(120% 140% at 100% 0%, rgba(124, 92, 255, 0.35) 0%, transparent 55%), linear-gradient(135deg, #050b1f 0%, #123a9e 100%); color: #fff; }
.ct-demo__title { margin: 0; font-size: clamp(22px, 2.2vw, 28px); font-weight: 750; letter-spacing: -0.02em; }
.ct-demo__text { margin: 8px 0 0; max-width: 58ch; color: rgba(255, 255, 255, 0.78); font-size: 16px; line-height: 1.55; }
.ct-demo .op-btn { flex: none; }

.ct-more { margin-top: 72px; }
.ct-more__title { margin: 0; color: #0f1e2e; font-size: 24px; font-weight: 750; letter-spacing: -0.02em; text-align: center; }
.ct-more__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.ct-more__item { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 20px 48px 20px 22px; border: 1px solid #e6e9f0; border-radius: 16px; background: #fff; color: inherit; transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease); }
.ct-more__item:hover { border-color: #c9d6f5; background: #f8faff; }
.ct-more__item b { color: #0f1e2e; font-size: 16px; font-weight: 700; }
.ct-more__item span { color: #64748b; font-size: 14px; line-height: 1.5; }
.ct-more__item svg { position: absolute; top: 50%; right: 18px; width: 18px; height: 18px; color: var(--blue); transform: translateY(-50%); transition: transform 0.2s var(--ease); }
.ct-more__item:hover svg { transform: translate(3px, -50%); }

.sfoot__contact { display: flex; flex-direction: column; gap: 8px; margin: 18px 0 0; }
.sfoot__contact a { color: #9ca3af; font-size: 14px; line-height: 22px; transition: color 0.15s ease; }
.sfoot__contact a:hover { color: #fff; }

@media (max-width: 900px) {
  .ct-cards { grid-template-columns: 1fr; gap: 14px; margin-top: 36px; }
  .ct-more__grid { grid-template-columns: 1fr; gap: 12px; }
  .ct-demo { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .ct__inner { padding-top: 112px; padding-bottom: 72px; padding-left: 16px; padding-right: 16px; }
  .ct__head { padding: 0 4px; }
  .ct__lede { font-size: 16.5px; }
  .ct-card { padding: 22px 20px 20px; border-radius: 18px; }
  .ct-card__label { margin-top: 16px; }
  .ct-card__value { font-size: 20px; }
  .ct-demo { padding: 26px 22px; border-radius: 18px; }
  .ct-more { margin-top: 52px; }
  .ct-more__title { font-size: 21px; }
}

/* ==========================================================================
   Pricing page plans: compact, modern refresh
   ========================================================================== */
.pp__grid { column-gap: 20px; max-width: 1080px; margin: 0 auto; }
.pp-card { border-radius: 18px; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.pp-card > * { border-left-color: #e3e8f0; border-right-color: #e3e8f0; }
.pp-card > :last-child { border-bottom-color: #e3e8f0; border-radius: 0 0 18px 18px; }
.pp-card:not(.pp-card--popular) { box-shadow: 0 18px 40px -32px rgba(10, 20, 53, 0.35); }
.pp-card--popular { box-shadow: 0 0 0 4px rgba(29, 91, 255, 0.08), 0 30px 60px -30px rgba(29, 91, 255, 0.45); }
.pp-card--popular > * { border-left: 1.5px solid var(--blue); border-right: 1.5px solid var(--blue); }
.pp-card--popular > :last-child { border-bottom: 1.5px solid var(--blue); }

.pp-badge { padding: 7px 12px; border-radius: 18px 18px 0 0; background: linear-gradient(90deg, #1d5bff 0%, #4f7dff 50%, #7c5cff 100%); font-size: 11px; letter-spacing: 0.12em; }
.pp-head { padding: 24px 24px 22px; border-top-color: #e3e8f0; border-radius: 18px 18px 0 0; }
.pp-name { font-size: 21px; font-weight: 650; letter-spacing: -0.015em; }
.pp-tag { margin-top: 6px; min-height: 2.9em; color: #64748b; font-size: 14px; line-height: 1.45; }
.pp-price { margin-top: 14px; gap: 1px; }
.pp-price__cur { margin-top: 5px; font-size: 17px; font-weight: 650; }
.pp-price__amt { font-size: 40px; font-weight: 750; letter-spacing: -0.03em; }
.pp-price__per { margin-left: 4px; color: #64748b; font-size: 14px; }
.pp-cta { margin-top: 18px; padding: 11px 16px; border: 1px solid #d5dce8; border-radius: 10px; background: #fff; color: #0f1e2e; font-size: 14.5px; font-weight: 650; box-shadow: 0 1px 2px rgba(15, 30, 46, 0.06); }
.pp-cta:hover { background: #f6f8fc; border-color: #c3cddd; transform: none; }
.pp-card--popular .pp-cta { border-color: transparent; background: linear-gradient(180deg, #2e68ff 0%, #1d5bff 100%); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 8px 20px -8px rgba(29, 91, 255, 0.6); }
.pp-card--popular .pp-cta:hover { background: linear-gradient(180deg, #2e68ff 0%, #1d5bff 100%); filter: brightness(1.06); }
.pp-users { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: 18px; font-size: 13.5px; }
.pp-users b { color: #0f1e2e; font-weight: 650; }
.pp-users span { color: #64748b; }
.pp-users span::before { content: "\00b7"; margin-right: 8px; color: #cbd5e1; }

.pp-ai { padding: 16px 24px 16px; }
.pp-card > .pp-ai { background: #f6f8fc; }
.pp-ai::before { height: 2px; }
.pp-ai__title { gap: 8px; margin-bottom: 10px; font-size: 14px; }
.pp-ai__mark { width: 16px; height: 16px; }
.pp-group { padding: 0 24px; border-top-color: #edf0f5; }
.pp-group summary { padding: 15px 0; font-size: 14px; }
.pp-group[open] { padding-bottom: 18px; }
.pp-chev { width: 15px; height: 15px; color: #94a3b8; }
.pp-lead { margin: -2px 0 10px; font-size: 13px; }
.pp-list { gap: 9px; }
.pp-list li { gap: 10px; font-size: 14px; line-height: 1.4; color: #334155; }
.pp-i { width: 16px; height: 16px; margin-top: 1px; }

@media (max-width: 900px) {
  .pp__grid { gap: 20px; max-width: 440px; }
  .pp-head, .pp-ai, .pp-group { padding-left: 20px; padding-right: 20px; }
}

/* Pricing plans on the homepage (same cards as /pricing) */
.pp--home .pp__inner { padding: 100px 28px 100px; }
.pp--home .pp__hero { margin-bottom: 40px; }
.pp__more { margin: 32px 0 0; text-align: center; }
@media (max-width: 900px) {
  .pp--home .pp__inner { padding: 72px 20px 72px; }
}
.pp--home .pp__grid { grid-template-rows: repeat(2, auto); }
.pp--home .pp-card { grid-row: span 2; }
.pp--home .pp-head { border-radius: 18px; }
.pp--home .pp-card--popular .pp-head { border-radius: 0 0 18px 18px; }
@media (max-width: 900px) { .pp-tag { min-height: 0; } }

/* NuPay Complete: description shown as a premium badge */
.pp-tag--badge {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; min-height: 0;
  margin: 10px 0 8px; padding: 5px 11px 5px 9px; border: 1px solid rgba(29, 91, 255, 0.25); border-radius: 9999px;
  background: #eef3ff; color: #1d4ed8; font-size: 12.5px; font-weight: 650; line-height: 1.3;
}
.pp-tag--badge svg { flex: none; width: 13px; height: 13px; color: var(--blue); }
@media (max-width: 900px) { .pp-tag--badge { margin-bottom: 0; } }

/* NuPay logo mark */
.brand__logo { flex: none; width: 28px; height: 28px; margin-right: -2px; }
.sfoot__logo { display: inline-flex; align-items: center; gap: 10px; }
.sfoot__logo .brand__logo { width: 24px; height: 24px; }
@media (max-width: 640px) { .brand__logo { width: 26px; height: 26px; } }
