/* NXT4AP website styles.
   Brand values come from the design system's colors_and_type.css. */

@font-face { font-family: 'Poppins'; font-weight: 400; font-style: normal; font-display: swap; src: url('assets/fonts/poppins-400.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 500; font-style: normal; font-display: swap; src: url('assets/fonts/poppins-500.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 600; font-style: normal; font-display: swap; src: url('assets/fonts/poppins-600.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 700; font-style: normal; font-display: swap; src: url('assets/fonts/poppins-700.woff2') format('woff2'); }

:root {
  --nxt-midnight: #10164D;
  --nxt-snow: #FFFFFF;
  --nxt-brilliant-blue: #0C056D;
  --nxt-cobalt: #2027E1;
  --nxt-ultramarine: #4A3EF0;
  --nxt-graphite: #424242;
  --nxt-gray: #6B6F8A;
  --nxt-ink-100: #E7E8F2;
  --nxt-ink-50: #F4F5FA;
  --border-subtle: rgba(16, 22, 77, 0.08);
  --border-default: rgba(16, 22, 77, 0.16);
  --nxt-gradient: radial-gradient(120% 90% at 20% 15%, #2027E1 0%, #0C056D 45%, #10164D 100%);
  --nxt-gradient-flat: linear-gradient(135deg, #10164D 0%, #0C056D 50%, #2027E1 100%);
  --shadow-sm: 0 1px 2px rgba(16, 22, 77, 0.06);
  --shadow-md: 0 4px 16px rgba(16, 22, 77, 0.08);
  --shadow-lg: 0 16px 48px rgba(16, 22, 77, 0.12);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --content-max: 1120px;
  --nav-height: 72px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--nxt-graphite);
  background: var(--nxt-snow);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--nxt-cobalt); text-underline-offset: 3px; }
a:hover { color: var(--nxt-brilliant-blue); }
:focus-visible { outline: 2px solid var(--nxt-cobalt); outline-offset: 2px; }
h1, h2, h3 { color: var(--nxt-midnight); margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--nxt-midnight); color: #fff; padding: 8px 16px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; color: #fff; }

/* ---------- Type ---------- */
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--nxt-cobalt); margin: 0 0 12px; }
.eyebrow-inverse { color: rgba(255, 255, 255, 0.78); }
h2 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; }
.h-display { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.2; letter-spacing: -0.025em; }
h3 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; margin-bottom: 16px; }
.lead { font-size: 16px; color: var(--nxt-midnight); margin: 12px 0 0; }
.kicker { font-weight: 600; color: var(--nxt-midnight); margin: 12px 0 24px; }
.kicker-accent { color: var(--nxt-cobalt); font-weight: 500; }
.statement { font-weight: 600; color: var(--nxt-midnight); }
.prose { font-size: 15px; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { margin-bottom: 20px; }
.prose h2:has(+ .kicker) { margin-bottom: 0; }
.prose-wide { max-width: 760px; margin-top: 24px; }
.prose ul { list-style: disc; padding-left: 20px; margin: 0 0 1em; }
.prose li { margin-bottom: 4px; }
.link-strong { font-weight: 600; color: var(--nxt-midnight); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 24px;
  font: inherit; font-size: 14px; font-weight: 500; line-height: 1.3; text-align: center; text-decoration: none;
  border-radius: 24px; border: 1px solid transparent; cursor: pointer;
  transition: background-color 180ms var(--ease-out), border-color 180ms var(--ease-out), transform 150ms var(--ease-out), box-shadow 180ms var(--ease-out);
}
.btn:active { transform: scale(0.98); }
.btn-sm { min-height: 36px; padding: 6px 18px; font-size: 13px; }
.btn-primary { background: var(--nxt-midnight); color: #fff; }
.btn-primary:hover { background: #0A0E3A; color: #fff; }
.btn-secondary { background: #fff; color: var(--nxt-midnight); border-color: var(--border-default); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { background: var(--nxt-ink-50); color: var(--nxt-midnight); border-color: rgba(16, 22, 77, 0.32); }
.btn-inverse { background: #fff; color: var(--nxt-midnight); }
.btn-inverse:hover { background: var(--nxt-ink-100); color: var(--nxt-midnight); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.chips { margin-top: 20px; gap: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms var(--ease-out);
}
.site-header.is-scrolled { border-bottom-color: var(--border-subtle); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: var(--nav-height); gap: 24px; }
.brand img { height: 30px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav > ul { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn), .menu-button {
  font: inherit; font-size: 13.5px; font-weight: 500; color: var(--nxt-midnight);
  text-decoration: none; background: none; border: 0; padding: 8px 0; cursor: pointer;
}
.site-nav a:not(.btn):hover, .menu-button:hover { color: var(--nxt-cobalt); }
.menu-button::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.has-menu { position: relative; }
.menu {
  position: absolute; right: -16px; top: 100%; min-width: 220px; padding: 8px;
  background: #fff; border: 1px solid var(--border-subtle); border-radius: 16px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity 150ms var(--ease-out), transform 150ms var(--ease-out), visibility 150ms;
}
.has-menu:hover .menu, .has-menu:focus-within .menu, .has-menu.is-open .menu { opacity: 1; visibility: visible; transform: none; }
.menu a { display: block; padding: 8px 12px !important; border-radius: 8px; }
.menu a:hover { background: var(--nxt-ink-50); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 0; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 22px; height: 2px; background: var(--nxt-midnight); border-radius: 2px; margin: 0 auto; content: ''; position: relative; }
.nav-toggle-bars::before { position: absolute; top: -7px; }
.nav-toggle-bars::after { position: absolute; top: 7px; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--nxt-gradient); overflow: hidden; isolation: isolate; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 10, 40, 0.72) 0%, rgba(8, 10, 40, 0.42) 100%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; min-height: min(580px, 74vh); padding-top: 96px; padding-bottom: 88px; }
.hero h1 { color: #fff; font-size: clamp(36px, 5vw, 56px); font-weight: 400; line-height: 1.18; letter-spacing: -0.025em; }
.hero-copy { font-size: 15px; line-height: 1.75; color: rgba(255, 255, 255, 0.92); }
.hero-pillars { font-size: 14px; color: rgba(255, 255, 255, 0.78); }
.hero-copy .btn { margin-top: 12px; min-width: 140px; }

/* ---------- News strip ---------- */
.ticker { background: var(--nxt-midnight); color: #fff; font-size: 13px; }
.ticker ul { display: flex; flex-wrap: wrap; gap: 8px 40px; padding-top: 14px; padding-bottom: 14px; }
.ticker li { display: flex; align-items: center; gap: 10px; }
.ticker a { color: #fff; text-decoration: none; }
.ticker a:hover { text-decoration: underline; color: #fff; }
.tag-new { background: #fff; color: var(--nxt-midnight); border-color: #fff; }
.tag { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.4); }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-tight { padding: 64px 0; }
.section-sunken { background: var(--nxt-ink-50); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.split-products { margin-top: 56px; align-items: center; }
.split-media { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
.split-media-left { grid-template-columns: 0.85fr 1.15fr; }
.figure { margin: 56px auto 0; width: 100%; max-width: 980px; }
.media-portrait { width: 100%; max-height: 620px; object-fit: cover; object-position: top; border-radius: 16px; }

/* Product pills */
.product-pills { display: grid; gap: 16px; }
.pill {
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  min-height: 88px; padding: 16px 40px; color: #fff; text-decoration: none;
  border-radius: 44px 16px 44px 16px; background: var(--nxt-gradient-flat); box-shadow: var(--shadow-md);
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}
.pill:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: #fff; }
.pill img { height: 30px; width: auto; align-self: flex-start; }
.pill span { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.78); }
.pill-payments { background: linear-gradient(135deg, #2B3079 0%, #2027E1 60%, #4A3EF0 100%); }
.pill-enet { background: linear-gradient(135deg, #2027E1 0%, #0C056D 55%, #10164D 100%); }

/* Videos */
.video-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.video-pair video { width: 100%; aspect-ratio: 16 / 9; background: var(--nxt-midnight); border-radius: 16px; object-fit: cover; }

/* Tabs */
.tablist { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tablist button {
  font: inherit; font-size: 13px; font-weight: 500; color: var(--nxt-midnight);
  min-height: 40px; padding: 8px 20px; border-radius: 24px; border: 1px solid transparent; background: transparent; cursor: pointer;
  transition: background-color 180ms var(--ease-out), border-color 180ms var(--ease-out);
}
.tablist button:hover { background: var(--nxt-ink-50); }
.tablist button[aria-selected="true"] { background: #fff; border-color: var(--border-default); box-shadow: var(--shadow-sm); }
.panel { background: #fff; border: 1px solid var(--border-subtle); border-radius: 24px; box-shadow: var(--shadow-md); padding: 32px 36px; font-size: 14.5px; }
.panel + .panel { margin-top: 16px; }
.panel ul { list-style: disc; padding-left: 20px; margin: 0 0 1em; }
.panel > :last-child { margin-bottom: 0; }
.js .panel[hidden] { display: none; }
.js .panel + .panel { margin-top: 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 48px; }
.steps li {
  display: flex; align-items: center; justify-content: center; text-align: center;
  aspect-ratio: 5 / 7; padding: 16px; color: #fff; font-size: 15px; font-weight: 500; line-height: 1.5;
  background: linear-gradient(180deg, #2027E1 0%, #0C056D 100%);
}
.steps .steps-photo { padding: 0; background: var(--nxt-ink-50); }
.steps-photo img { width: 100%; height: 100%; object-fit: cover; }

/* CFO Insights */
.insights { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
.insights-badge {
  width: 220px; aspect-ratio: 1; border-radius: 50%; background: var(--nxt-gradient);
  display: flex; align-items: center; justify-content: center; gap: 0.5em;
  color: rgba(255, 255, 255, 0.85); font-size: 15px; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase;
}
.insights-badge span { font-weight: 700; color: #fff; }
.covers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.covers img { width: 100%; border-radius: 16px; box-shadow: var(--shadow-md); }

/* Partner */
.partner {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start;
  padding: 56px; border-radius: 24px; color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(135deg, #4A3EF0 0%, #2B3079 100%);
}
.partner h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); max-width: 8em; }
.partner p { font-size: 15px; line-height: 1.85; margin-bottom: 24px; }

/* Closing band */
.band { background: var(--nxt-midnight); color: rgba(255, 255, 255, 0.85); padding: 72px 0; margin-top: 40px; }
.band h2 { color: #fff; font-size: clamp(26px, 3vw, 34px); font-weight: 500; }
.band p { margin: 8px 0 0; letter-spacing: 0.04em; }
.band .actions { margin-top: 32px; }
.band .btn { min-width: 180px; }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(8px); transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .pill { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 16px;
    background: #fff; border-bottom: 1px solid var(--border-subtle); box-shadow: var(--shadow-lg);
    padding: 16px var(--gutter) 24px; max-height: calc(100vh - var(--nav-height)); overflow-y: auto;
  }
  .site-nav.is-open { display: flex; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a:not(.btn), .menu-button { display: block; width: 100%; text-align: left; padding: 12px 0; font-size: 15px; }
  .menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 0 16px; display: none; }
  .has-menu.is-open .menu { display: block; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; align-items: start; min-height: 0; padding-top: 72px; padding-bottom: 64px; }
  .section { padding: 72px 0; }
  .section-tight { padding: 48px 0; }
  .split, .split-media, .split-media-left, .partner, .insights { grid-template-columns: 1fr; gap: 32px; }
  .split-products { margin-top: 36px; }
  .split-media .media-portrait { max-height: 420px; }
  .video-pair { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li { aspect-ratio: 4 / 3; }
  .insights-badge { width: 160px; font-size: 12px; }
  .covers { grid-template-columns: 1fr; }
  .partner { padding: 36px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .follow-row { flex-direction: column; align-items: stretch; }
  .follow .btn, .band .btn { min-width: 0; width: 100%; }
  .panel { padding: 24px 20px; }
  .pill { padding: 16px 28px; }
}

/* ---------- Wix chrome: header, follow block, footer ----------
   Same on every page. Measured on www.nxt4ap.com (2026-10-19, 1280px):
   header row centred at y=73 with a white band to 311px, nav 13px #121212,
   sign-in pill #0C056D; follow block 298px; footer #0B0D4B, 742px, 12px. */
.site-header { position: relative; background: #fff; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header .header-row { max-width: 980px; padding: 0; min-height: 0; height: 104px; align-items: center; }
.brand img { height: 31px; }
.site-nav { gap: 29px; }
.site-nav > ul { gap: 10px; }
.site-nav a:not(.nav-cta), .menu-button { font-size: 13px; font-weight: 400; color: #121212; padding: 12px 10px; }
.site-nav a:not(.nav-cta):hover, .menu-button:hover { color: #0C056D; }
.site-header .site-nav a.nav-cta {
  display: inline-flex; align-items: center; justify-content: center; width: 97px; height: 40px;
  border-radius: 50px; background: #0C056D; border: 1px solid #0C056D; color: #fff; font-size: 12px; text-decoration: none;
}
.site-header .site-nav a.nav-cta:hover { background: #160a9e; color: #fff; }
.site-header .menu-button::after { display: none; }
/* Room under the menu, as on Wix: the About dropdown opens over empty
   space, never over the hero text. */
.site-header + main { padding-top: 150px; }

.follow-section { padding: 58px 0 60px; }
.follow-inner { max-width: 980px; margin: 0 auto; padding: 0 0 0 23px; }
.follow-lead { font-size: 16px; color: #081B2B; margin: 0 0 58px; }
.follow { max-width: 943px; margin: 0; padding: 16px 0 0 13px; }
.follow label { display: block; font-size: 15px; font-weight: 600; color: #0B0D4B; margin: 0; line-height: 15px; }
.follow-row { display: flex; align-items: center; gap: 16px; }
.follow input {
  width: 656px; flex: none; min-height: 48px; font: inherit; font-size: 15px; color: #0B0D4B;
  border: 0; border-bottom: 1px solid #0B0D4B; border-radius: 0; background: transparent; padding: 8px 0;
}
.follow input:focus-visible { outline: none; border-bottom: 2px solid #0C056D; }
.follow-btn {
  width: 230px; height: 40px; border: 0; border-radius: 50px; cursor: pointer;
  background: #0B0D4B; color: #fff; font: inherit; font-size: 16px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
.follow-btn:hover { background: #151a6b; }
.follow-note { font-size: 13px; color: #555; margin: 10px 0 0; min-height: 1.6em; }

.site-footer { background: #0B0D4B; color: #fff; padding: 0; font-size: 12px; min-height: 742px; }
.footer-inner { max-width: 980px; margin: 0 auto; padding: 136px 0 60px 100px; }
.footer-cols { display: grid; grid-template-columns: 559px 1fr; }
.site-footer h2 { color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0; text-transform: none; margin: 0 0 0; line-height: 17px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-links h2 { font-weight: 600; margin-bottom: 23px; }
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { line-height: 17px; margin-bottom: 17px; }
.footer-links .fl-strong { font-weight: 600; }
.footer-links .fl-strong b { font-weight: 700; }
.footer-links .fl-small { font-size: 11px; }
.footer-contact { padding-top: 17px; }
.footer-contact p { margin: 0 0 16px; line-height: 17px; }
.footer-contact h2 + p { margin-top: 0; }
.footer-contact .fl-write { font-weight: 600; text-decoration: underline; }
.footer-social { display: flex; align-items: center; gap: 12px; }
.footer-social a { display: inline-flex; }
.footer-social img { width: 22px; height: 22px; }
.footer-copy { font-style: italic; }
.footer-legal { margin-top: 42px; padding: 0; border: 0; font-size: 11px; color: #fff; }
.footer-legal p { max-width: 870px; margin: 0 0 16px; line-height: 15.5px; }
.footer-legal .footer-legal-label { font-style: italic; margin-bottom: 17px; }

@media (max-width: 1020px) {
  .site-header .header-row { height: 90px; padding: 0 20px; }
  .site-header + main { padding-top: 24px; }
  .follow-inner, .footer-inner { padding-left: 20px; padding-right: 20px; }
  .follow { padding-left: 0; }
  .follow-row { flex-direction: column; align-items: stretch; }
  .follow input, .follow-btn { width: 100%; }
  .footer-inner { padding-top: 64px; }
  .footer-cols { grid-template-columns: 1fr; row-gap: 32px; }
  .site-footer { min-height: 0; }
}

/* ---------- Calm hero (all product pages) ----------
   Brand and calm: faint tint to white, product lockup, one headline with the
   short cobalt rule, a quiet line under it, two actions on the left; three
   key points as a hairline list on the right. */
.calm-hero { background: linear-gradient(180deg, #F4F5FA 0%, #FFFFFF 100%); color: var(--nxt-graphite); padding: 64px 0 72px; }
.calm-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 48px 88px; align-items: start; }
.calm-hero-lockup { height: 36px; width: auto; margin-bottom: 36px; }
.calm-hero h1 { color: var(--nxt-midnight); font-size: clamp(36px, 4.2vw, 48px); font-weight: 600; line-height: 1.14; letter-spacing: -0.03em; margin: 0 0 18px; }
.calm-hero h1::after { content: ""; display: block; width: 40px; height: 3px; margin-top: 22px; background: var(--nxt-cobalt); border-radius: 2px; }
.calm-hero-sub { font-size: 20px; line-height: 1.4; color: var(--nxt-midnight); margin: 0 0 14px; }
.calm-hero-lead { font-size: 15px; line-height: 1.7; max-width: 460px; margin: 0 0 32px; }
.calm-hero-actions { margin: 0 0 20px; }
.calm-hero-more { margin: -8px 0 28px; font-size: 14px; }
.calm-hero-more a { color: var(--nxt-midnight); text-decoration: none; border-bottom: 1px solid var(--border-default); padding-bottom: 2px; }
.calm-hero-more a:hover { border-bottom-color: var(--nxt-midnight); }
.calm-list { list-style: none; margin: 8px 0 0; padding: 0; }
.calm-list li { padding: 22px 0; border-top: 1px solid var(--border-subtle); }
.calm-list li:first-child { padding-top: 0; border-top: 0; }
.calm-list .eyebrow { margin-bottom: 6px; }
.calm-list h2 { color: var(--nxt-midnight); font-size: 17px; font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; margin: 0 0 8px; }
.calm-list p:last-child { font-size: 14px; line-height: 1.65; margin: 0; }

/* Tile rows (.steps, Payments outcomes): soft light cards instead of
   heavy blue blocks. */
.steps li, .pay-outcome:not(.pay-outcome-photo) {
  background: var(--nxt-ink-50) !important; color: var(--nxt-midnight) !important;
  border: 1px solid var(--border-subtle); border-radius: 16px; box-shadow: none !important;
}
.steps .steps-photo, .pay-outcome-photo { border-radius: 16px; overflow: hidden; border: 0; }
.pay-outcome:not(.pay-outcome-photo) p { color: var(--nxt-graphite) !important; }
.pay-outcome .pay-outcome-title { color: var(--nxt-midnight) !important; }

@media (max-width: 960px) {
  .calm-hero { padding: 40px 0 48px; }
  .calm-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .calm-hero-lead { max-width: none; }
}

/* ---------- Calm treatment for every other page header ----------
   About, News, Support, Security (.page-hero), legal pages (.legal-head),
   Videos (.vid-hero), job ads (.job-hero): same faint tint, dark text,
   cobalt rule and labels as the calm product heroes. Page stylesheets load
   after this file, so these selectors are deliberately specific. */
body .page-hero, body .legal-head, body .vid-hero, body .job-hero {
  background: linear-gradient(180deg, #F4F5FA 0%, #FFFFFF 100%); color: var(--nxt-graphite);
}
body .page-hero h1, body .legal-head h1, body .vid-hero h1, body .job-hero h1 { color: var(--nxt-midnight); }
body .page-hero h1::after, body .legal-head h1::after, body .vid-hero h1::after, body .job-hero h1::after {
  content: ""; display: block; width: 40px; height: 3px; margin-top: 20px; background: var(--nxt-cobalt); border-radius: 2px;
}
body .page-hero .eyebrow-inverse, body .legal-head .eyebrow-inverse, body .vid-hero .eyebrow-inverse, body .job-hero .eyebrow-inverse,
body .job-hero .eyebrow a { color: var(--nxt-cobalt); }
body .page-hero .btn-inverse, body .legal-head .btn-inverse { background: var(--nxt-midnight); color: #fff; }
body .page-hero .btn-inverse:hover, body .legal-head .btn-inverse:hover { background: #0A0E3A; color: #fff; }
body .vid-hero .vid-lead, body .page-hero-copy, body .page-hero-sub { color: var(--nxt-graphite); }
body .legal-head a, body .legal-head strong { color: var(--nxt-midnight); }
body .legal-tagline, body .legal-meta { color: var(--nxt-gray); border-color: var(--border-subtle); }
body .legal-badges li { background: #fff; border-color: var(--border-default); color: var(--nxt-midnight); }
body .job-hero .job-hero-media, body .job-hero .job-hero-shade { display: none; }
body .job-hero { padding: 64px 0 56px; }
body .job-hero .job-meta { color: var(--nxt-graphite); }

/* Calm hero with a photo on the right instead of behind the text
   (Partners, Contact). */
.calm-hero-grid-media { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); align-items: center; }
.calm-hero-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow-md); }
.calm-ticks { list-style: none; margin: 0 0 32px; padding: 0; max-width: 520px; }
.calm-ticks li { position: relative; padding-left: 28px; margin-bottom: 12px; font-size: 15px; line-height: 1.6; }
.calm-ticks li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 12px; height: 7px; border-left: 2px solid var(--nxt-cobalt); border-bottom: 2px solid var(--nxt-cobalt); transform: rotate(-45deg); }
@media (max-width: 960px) { .calm-hero-grid-media { grid-template-columns: 1fr; } }

/* ---------- Page morphs (cross-document View Transitions) ----------
   Supporting browsers fade and lift between pages instead of flashing; the
   header stays put. Others navigate normally. */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: 260ms cubic-bezier(0.4, 0, 1, 1) both px-page-out; }
::view-transition-new(root) { animation: 520ms cubic-bezier(0.22, 1, 0.36, 1) 60ms both px-page-in; }
@keyframes px-page-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes px-page-in { from { opacity: 0; transform: translateY(24px); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ---------- Menu fit ----------
   Nine top-level items: never break a label over two lines; the row gets
   the full page width on desktop, and below 1180px the menu folds into the
   hamburger (same panel as phones). */
.site-nav a:not(.btn), .menu-button { white-space: nowrap; }
@media (min-width: 1181px) {
  .site-header .header-row { max-width: 1200px; padding: 0 var(--gutter); }
  .site-nav { gap: 24px; }
  .site-nav > ul { gap: 4px; }
}
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .site-header .header-row { max-width: none; padding: 0 var(--gutter); }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 100;
    flex-direction: column; align-items: stretch; gap: 16px;
    background: #fff; border-bottom: 1px solid var(--border-subtle); box-shadow: var(--shadow-lg);
    padding: 16px var(--gutter) 24px; max-height: calc(100vh - 104px); overflow-y: auto;
  }
  .site-nav.is-open { display: flex; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a:not(.btn), .menu-button { display: block; width: 100%; text-align: left; padding: 12px 0; font-size: 15px; }
  .menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 0 16px; display: none; }
  .has-menu.is-open .menu { display: block; }
  .site-header .site-nav a.nav-cta { align-self: flex-start; }
}


/* ---------- Phone & tablet (≤1180px menu, ≤720px layout) ----------
   Pooja, 2026-10-21: the phone menu overlapped content and the pages felt
   desktop-sized. */
@media (max-width: 1180px) {
  /* Header stays reachable while scrolling. */
  .site-header { position: sticky !important; top: 0; z-index: 200; background: #fff; box-shadow: 0 1px 0 var(--border-subtle); }
  .site-header .header-row { height: 64px !important; }
  .site-header + main { padding-top: 24px !important; }
  /* Full-screen menu sheet under the header. */
  .site-nav {
    position: fixed !important; inset: 64px 0 0 0 !important; top: 64px !important;
    max-height: none !important; height: calc(100dvh - 64px); overflow-y: auto; overscroll-behavior: contain;
    padding: 8px var(--gutter) 32px !important; background: #fff; box-shadow: none !important; border: 0 !important;
    gap: 0 !important;
  }
  .site-nav > ul > li { border-bottom: 1px solid var(--border-subtle); }
  .site-nav a:not(.btn), .menu-button {
    min-height: 52px; display: flex !important; align-items: center; padding: 14px 0 !important;
    font-size: 17px !important; font-weight: 500; color: var(--nxt-midnight);
  }
  /* About: an accordion with a chevron. */
  .menu-button { justify-content: space-between; background: none; border: 0; cursor: pointer; }
  .menu-button::after {
    display: block !important; content: ''; width: 8px; height: 8px; margin-right: 6px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg); transition: transform 200ms var(--ease-out);
  }
  .has-menu.is-open .menu-button::after { transform: rotate(-135deg); }
  .menu { padding: 0 0 8px 12px !important; }
  .menu a:not(.btn) { min-height: 44px; font-size: 15px !important; font-weight: 400; color: var(--nxt-graphite) !important; padding: 10px 0 !important; }
  .site-header .site-nav a.nav-cta { margin-top: 24px; width: 100%; justify-content: center; min-height: 48px; }
  /* Hamburger turns into a close (X) icon. */
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { transition: transform 200ms var(--ease-out), background-color 200ms; }
  html.nav-open, html.nav-open body { overflow: hidden; }
}
