/* ==========================================================================
   Paymitraa — inner page components
   Extends the Home Page design system (css/style.css). Every value here is
   built from the existing --rt-* tokens, the 1364px container, the 8px /
   16px / 20px radii, the 54px button and the 140px section rhythm already
   used on the Home Page. No new colours or fonts are introduced.
   ========================================================================== */

/* gutter parity with the Home Page columns */
.page-hero-inner, .panel-grid, .svc-grid, .role-flow, .net-grid,
.region-grid, .contact-grid, .list-grid, .cta-band-inner,
.trust-grid, .faq-wrap {
  padding-left: var(--rt-col-gutter);
  padding-right: var(--rt-col-gutter);
}

/* a card grid directly under a centred section head needs breathing room */
.section-head + .svc-grid, .section-head + .list-grid,
.section-head + .trust-grid, .section-head + .region-grid { margin-top: 40px; }

/* ==========================================================================
   BRAND LOCKUP  (Paymitraa mark + name, in the Home Page header rhythm)
   ========================================================================== */
.brand { display: flex; align-items: center; gap: 12px; }
.brand img {
  width: auto;
  height: 54px;
  object-fit: contain;
}
/* the wordmark is dark by default — the header sits on a light surface, so
   the black logo lockup reads as intentional rather than inverted */
.brand-text {
  display: block;
  font-family: var(--rt-heading-font);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: var(--pm-dark);
}
.brand-text small {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  /* --pm-muted is only 2.6:1 on white; the lockup now sits on a light header */
  color: var(--pm-body);
}
/* .brand-light flips the lockup for dark surfaces (auth brand panel) */
.brand-light .brand-text { color: #fff; }
.brand-light .brand-text small { color: var(--pm-on-dark-body); }

/* ==========================================================================
   PAGE HERO  (Home hero treatment, sized for a content page)
   ========================================================================== */
.page-hero {
  position: relative;
  background-color: var(--pm-dark);
  background-image: url('../assets/images/section-noise.webp');
  background-repeat: repeat;
  padding: calc(var(--pm-header-total) + 70px) 0 92px;
  overflow: hidden;
}
/* the same blue light source as the home hero, so the pages read as one set */
.page-hero::after {
  content: "";
  position: absolute;
  top: -300px; right: -220px;
  width: 860px; height: 860px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 126, 234, .28), transparent 68%);
  pointer-events: none;
  z-index: 1;
}
.page-hero .hero-circle {
  position: absolute;
  top: -160px;
  left: calc(50% - 114px);
  width: 911px;
  height: 911px;
  opacity: .4;
  pointer-events: none;
  animation: pm-spin 96s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .page-hero .hero-circle { animation: none; }
}
.page-hero-inner { position: relative; z-index: 2; max-width: 860px; }
.page-hero .sub-title { color: var(--pm-secondary); }
.page-title {
  margin-top: 16px;
  letter-spacing: -.6px;
  font-size: 60px;
  line-height: 72px;
  font-weight: 700;
  color: #fff;
}
.page-hero .page-lead {
  margin-top: 24px;
  max-width: 720px;
  font-size: 16px;
  line-height: 28px;
  font-weight: 500;
  color: var(--pm-on-dark-body);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }

.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  color: var(--pm-muted);
  font-size: 14px;
  font-weight: 600;
}
.crumbs a { transition: color var(--pm-base) var(--pm-ease); }
.crumbs a:hover { color: var(--pm-on-dark); }
.crumbs span { color: var(--pm-on-dark); }

/* ==========================================================================
   SERVICE CARDS  (Home .feature-card treatment)
   ========================================================================== */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 23px; }
.svc-card {
  display: flex;
  flex-direction: column;
  padding: 40px 34px;
  border-radius: var(--pm-radius-lg);
  background: var(--rt-gray20);
  transition: transform var(--pm-base) var(--pm-ease), background var(--pm-base) var(--pm-ease);
}
.svc-card:hover { transform: translateY(-6px); }
.svc-card .info-icon i { font-size: 40px; color: var(--rt-primary-color); }
.svc-card .info-title { margin-top: 20px; font-size: 22px; line-height: 26.4px; font-weight: 700; }
.svc-card > p { margin-top: 14px; font-size: 16px; line-height: 28px; font-weight: 500; color: var(--rt-body-color); }
.svc-points { margin-top: 18px; display: grid; gap: 10px; }
.svc-points li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  line-height: 24px;
  font-weight: 500;
  color: var(--rt-body-color);
}
.svc-points i { flex: 0 0 auto; margin-top: 5px; font-size: 12px; color: var(--pm-primary-text); }
.svc-more {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  color: var(--pm-primary-text);
  font-size: 15px;
  font-weight: 700;
}
.svc-more i { transition: transform var(--pm-base) var(--pm-ease); }
.svc-card:hover .svc-more i { transform: translateX(5px); }

/* ==========================================================================
   PANELS / LISTS  (Company page)
   ========================================================================== */
.panel-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: start; }
.panel {
  padding: 50px;
  border-radius: var(--pm-radius-lg);
  background: var(--rt-gray20);
}
.panel .section-title { margin-top: 10px; font-size: var(--pm-h2-sm); line-height: var(--pm-h2-sm-lh); }
.panel .section-title + .section-text { margin-top: 18px; }
.panel p + p { margin-top: 18px; }

.role-cards { display: grid; gap: 20px; }
.role-item {
  padding: 34px 36px;
  border-radius: var(--pm-radius-lg);
  background: #fff;
  box-shadow: 10px 10px 0 0 rgba(21, 32, 42, .10);
  border: 1px solid var(--rt-border-color);
}
.role-item .info-icon-holder { align-items: center; }
.role-item .info-title { font-size: 22px; }
.role-item p { margin-top: 16px; }

.list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 23px; }
.list-card {
  padding: 40px 36px;
  border-radius: var(--pm-radius-lg);
  background: #fff;
  border: 1px solid var(--rt-border-color);
  transition: transform var(--pm-base) var(--pm-ease), box-shadow var(--pm-base) var(--pm-ease);
}
.list-card:hover { transform: translateY(-6px); box-shadow: var(--pm-shadow); }
.list-card .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--pm-secondary);
  color: var(--pm-dark);
  font-size: 18px;
  font-weight: 700;
}
.list-card h3 { margin-top: 22px; font-size: 22px; line-height: 26.4px; font-weight: 700; }
.list-card .check-list { margin-top: 18px; gap: 10px; }
.list-card .check-list li { font-size: 16px; font-weight: 500; color: var(--rt-body-color); }

/* trust strip on the tinted band */
.trust-band { background: var(--rt-gray20); }
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.trust-card {
  padding: 30px 26px;
  border-radius: var(--pm-radius-lg);
  background: #fff;
  text-align: center;
}
.trust-card .icon-circle { margin: 0 auto 16px; }
.trust-card strong { display: block; font-size: 18px; line-height: 26px; font-weight: 700; color: var(--rt-title-color); }
.trust-card span { display: block; margin-top: 8px; font-size: 15px; line-height: 24px; color: var(--rt-body-color); }

/* ==========================================================================
   PARTNER FLOW  (role selector)
   ========================================================================== */
.role-tabs {
  margin-top: 40px;
  display: inline-flex;
  gap: 8px;
  padding: 8px;
  border-radius: var(--pm-radius);
  background: var(--rt-gray20);
}
.role-tab {
  position: relative;
  padding: 15px 34px;
  border-radius: var(--pm-radius-sm);
  font-size: 16px;
  font-weight: 700;
  color: var(--rt-title-color);
  background: transparent;
  transition: color var(--pm-base) var(--pm-ease), background var(--pm-base) var(--pm-ease);
}
.role-tab:hover { color: var(--rt-primary-color); }
.role-tab.is-active { color: #fff; background: var(--pm-primary-hover); }

.role-flow { margin-top: 44px; }
.role-panel { display: none; }
.role-panel.is-active { display: grid; grid-template-columns: .82fr 1.18fr; gap: 24px; animation: rolefade .4s var(--pm-ease); }
@keyframes rolefade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.role-summary {
  padding: 44px 40px;
  border-radius: var(--pm-radius-lg);
  background: var(--pm-dark);
  background-image: url('../assets/images/section-noise.webp');
  color: #fff;
}
.role-summary .sub-title { color: var(--pm-on-dark); }
.role-summary h3 { margin-top: 12px; font-size: var(--pm-h2-sm); line-height: var(--pm-h2-sm-lh); font-weight: 700; color: #fff; }
.role-summary p { margin-top: 18px; font-size: 16px; line-height: 28px; font-weight: 500; color: var(--pm-on-dark-body); }

.role-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 23px; }
.role-box {
  padding: 38px 34px;
  border-radius: var(--pm-radius-lg);
  background: var(--rt-gray20);
}
.role-box h4 { font-size: 22px; line-height: 26.4px; font-weight: 700; color: var(--rt-title-color); }
.role-box ul { margin-top: 20px; display: grid; gap: 14px; }
.role-box li {
  display: flex;
  gap: 12px;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  color: var(--rt-body-color);
}
.role-box li i { flex: 0 0 auto; margin-top: 4px; font-size: 12px; color: var(--pm-primary-text); }

/* ==========================================================================
   NETWORK
   ========================================================================== */
.net-stats { background-color: var(--pm-dark); background-image: url('../assets/images/dot-pattern.webp'); background-repeat: no-repeat; background-position: center; }
.net-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 23px; }
.net-stat {
  padding: 44px 40px;
  border-radius: var(--pm-radius-lg);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
}
.net-stat .counter-number { font-size: 64px; line-height: 76px; font-weight: 500; color: #fff; }
.net-stat .counter-label { margin-top: 10px; font-size: 20px; line-height: 26px; font-weight: 600; color: var(--pm-on-dark); }
.net-stat small { display: block; margin-top: 14px; font-size: 14px; line-height: 22px; font-weight: 500; color: var(--pm-muted); }

.net-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 24px; align-items: stretch; }
/* ==========================================================================
   NETWORK MAP
   Real geography: India (official boundary, incl. the Jammu & Kashmir and
   Ladakh extent) and Sri Lanka, both projected through ONE Web-Mercator
   transform from public-domain GeoJSON, so relative size, distance and
   orientation are correct by construction rather than drawn by hand.
   ========================================================================== */
.map-card { padding: 34px; border-radius: var(--pm-radius-lg); background: var(--rt-gray20); }
.map-wrap {
  position: relative;
  padding: 16px;
  border-radius: var(--pm-radius);
  background: #fff;
}
.india-network-map { width: 100%; height: auto; display: block; overflow: visible; }

.map-land .land-in {
  fill: url(#landFill);
  stroke: rgba(31, 126, 234, .5);
  stroke-width: 1.2;
  stroke-linejoin: round;
}
/* neighbouring landmass: present and correctly placed, visually recessive */
.map-land .land-lk {
  fill: var(--pm-surface-mute);
  stroke: rgba(21, 32, 42, .22);
  stroke-width: 1.2;
  stroke-linejoin: round;
}

/* ---------- connection lines: static rail + travelling light ---------- */
.net-link {
  fill: none;
  stroke: rgba(31, 126, 234, .4);
  stroke-width: 2.6;
  stroke-linecap: round;
}
.net-run {
  fill: none;
  stroke: var(--pm-primary);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 30 1400;
  animation: pm-net-flow 4.2s linear infinite;
  animation-delay: var(--d, 0s);
}
@keyframes pm-net-flow {
  from { stroke-dashoffset: 1426; opacity: 0; }
  8%   { opacity: 1; }
  85%  { opacity: 1; }
  to   { stroke-dashoffset: 0; opacity: 0; }
}

/* ---------- location nodes: core + two expanding signal waves ---------- */
.node-core {
  fill: var(--pm-primary);
  stroke: #fff;
  stroke-width: 3.2;
  transform-box: fill-box;
  transform-origin: center;
  animation: pm-node-core 2.8s var(--pm-ease) infinite;
  animation-delay: var(--d, 0s);
}
.node-wave {
  fill: var(--pm-primary);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: pm-node-wave 2.8s cubic-bezier(.2, .6, .3, 1) infinite;
  animation-delay: var(--d, 0s);
}
.node-wave--2 { animation-delay: calc(var(--d, 0s) + 1.4s); }

@keyframes pm-node-core {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.12); }
}
@keyframes pm-node-wave {
  0%   { transform: scale(.5); opacity: .45; }
  70%  { opacity: 0; }
  100% { transform: scale(2.8); opacity: 0; }
}

/* the accent is reserved for the national hub and the deepest-coverage state */
.net-node.is-hub .node-core,
.net-node.is-key .node-core { fill: var(--pm-secondary); }
.net-node.is-hub .node-wave,
.net-node.is-key .node-wave { fill: var(--pm-secondary); }
.net-node.is-hub .node-core { r: 10.5; }

.node-label {
  font-family: var(--pm-font);
  font-size: 27px;
  font-weight: 700;
  fill: var(--pm-dark);
  paint-order: stroke;
  stroke: rgba(255, 255, 255, .94);
  stroke-width: 7;
  stroke-linejoin: round;
}

.map-legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

@media (prefers-reduced-motion: reduce) {
  .net-run { display: none; }
  .node-core { animation: none; }
  .node-wave { animation: none; opacity: .16; transform: scale(1.5); }
}

.map-legend span {
  padding: 9px 16px;
  border-radius: var(--pm-radius-pill);
  background: #fff;
  color: var(--pm-dark);
  font-size: 14px;
  font-weight: 600;
}

.net-detail { padding: 44px 40px; border-radius: var(--pm-radius-lg); background: #fff; border: 1px solid var(--rt-border-color); }
.net-detail .section-title { margin-top: 10px; font-size: var(--pm-h2-sm); line-height: var(--pm-h2-sm-lh); }
.net-detail .section-title + .section-text { margin-top: 18px; }
.flow-chain { margin-top: 28px; display: grid; gap: 16px; }
.flow-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 24px;
  border-radius: var(--pm-radius);
  background: var(--rt-gray20);
}
.flow-step b {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--pm-primary-hover);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}
.flow-step strong { display: block; font-size: 18px; line-height: 26px; color: var(--rt-title-color); }
.flow-step span { display: block; margin-top: 6px; font-size: 15px; line-height: 24px; color: var(--rt-body-color); }

/* coverage figures under the network detail */
.coverage { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.coverage div {
  padding: 22px 24px;
  border-radius: var(--pm-radius);
  background: var(--rt-gray20);
}
.coverage b {
  display: block;
  font-size: var(--pm-h2-sm);
  line-height: 40px;
  font-weight: 700;
  color: var(--pm-primary-text);
}
.coverage small {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  line-height: 23px;
  font-weight: 500;
  color: var(--rt-body-color);
}

.region-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 23px; }
.region-card {
  padding: 40px 36px;
  border-radius: var(--pm-radius-lg);
  background: var(--rt-gray20);
  transition: transform var(--pm-base) var(--pm-ease);
}
.region-card:hover { transform: translateY(-6px); }
.region-card h3 { font-size: 22px; line-height: 26.4px; font-weight: 700; }
.region-card p { margin-top: 14px; font-size: 16px; line-height: 28px; font-weight: 500; color: var(--rt-body-color); }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip {
  padding: 8px 16px;
  border-radius: var(--pm-radius-pill);
  background: #fff;
  color: var(--pm-dark);
  font-size: 14px;
  font-weight: 600;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 24px; align-items: start; }
.contact-info { padding: 46px 40px; border-radius: var(--pm-radius-lg); background: var(--pm-dark); background-image: url('../assets/images/section-noise.webp'); }
.contact-info .sub-title { color: var(--pm-on-dark); }
.contact-info h2 { margin-top: 12px; font-size: var(--pm-h2-sm); line-height: var(--pm-h2-sm-lh); font-weight: 700; color: #fff; }
.contact-line { display: flex; gap: 18px; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.contact-line:first-of-type { margin-top: 28px; }
.contact-line .icon-circle { border-color: rgba(255, 255, 255, .3); color: var(--pm-on-dark); }
.contact-line span { display: block; font-size: 14px; font-weight: 700; letter-spacing: .96px; text-transform: uppercase; color: var(--pm-muted); }
.contact-line strong { display: block; margin-top: 6px; font-size: 18px; line-height: 28px; font-weight: 700; color: #fff; }
.contact-line a:hover { color: var(--pm-on-dark); }

.contact-note a { color: var(--pm-on-dark); font-weight: 700; }
.contact-note a:hover { color: #fff; }
.contact-note + .contact-note { margin-top: 14px; }
.contact-note {
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: var(--pm-radius);
  background: rgba(255, 255, 255, .08);
  border-left: 4px solid var(--pm-primary);
  font-size: 15px;
  line-height: 25px;
  font-weight: 500;
  color: var(--pm-on-dark-body);
}

.form-card { padding: 46px 44px; border-radius: var(--pm-radius-lg); background: var(--rt-gray20); }
.form-card h2 { font-size: var(--pm-h2-sm); line-height: var(--pm-h2-sm-lh); font-weight: 700; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 15px; font-weight: 700; color: var(--rt-title-color); }
.field input, .field select, .field textarea {
  width: 100%;
  height: 54px;
  padding: 0 18px;
  border: 1px solid var(--rt-border-color);
  border-radius: var(--pm-radius-sm);
  background: #fff;
  font-family: var(--rt-body-font);
  font-size: 16px;
  font-weight: 500;
  color: var(--rt-title-color);
  transition: border-color var(--pm-base) var(--pm-ease), box-shadow var(--pm-base) var(--pm-ease);
}
.field textarea { height: auto; min-height: 140px; padding: 16px 18px; line-height: 26px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--rt-primary-color);
  box-shadow: 0 0 0 4px rgba(31, 126, 234, .1);
}
.field input:disabled, .field select:disabled { background: var(--pm-disabled-bg); color: var(--pm-disabled-text); cursor: not-allowed; }
.field .help { font-size: 14px; line-height: 22px; font-weight: 500; color: var(--rt-body-color); }

.chosen-box {
  min-height: 74px;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--rt-border-color);
  border-radius: var(--pm-radius-sm);
  background: #fff;
}
.chosen-box .muted { font-size: 15px; font-weight: 500; color: var(--rt-body-color); }
.svc-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: var(--pm-radius-pill);
  background: var(--rt-gray20);
  font-size: 14px;
  font-weight: 600;
  color: var(--pm-dark);
}
.svc-chip button {
  width: 20px; height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(31, 126, 234, .12);
  color: var(--rt-primary-color);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}
.form-note {
  grid-column: 1 / -1;
  padding: 18px 20px;
  border-radius: var(--pm-radius-sm);
  background: #fff;
  border-left: 4px solid var(--pm-primary);
  font-size: 15px;
  line-height: 24px;
  font-weight: 500;
  color: var(--rt-body-color);
}
.form-actions { grid-column: 1 / -1; margin-top: 6px; }
.is-hidden { display: none !important; }

/* ==========================================================================
   AUTH  (login / register)
   ========================================================================== */
/* ==========================================================================
   AUTHENTICATION  —  standalone, full-viewport pages.
   No site header, no footer, no main navigation: nothing but the brand
   panel and the form, using the whole screen.
   ========================================================================== */
body.auth-page { min-height: 100vh; background: var(--pm-surface); }

.auth-shell {
  display: grid;
  grid-template-columns: 44% 56%;
  min-height: 100vh;
  min-height: 100dvh;
}

/* ---------- brand panel (sticky, so long forms scroll against it) ---------- */
.auth-brand {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: 46px 54px;
  background-color: var(--pm-dark);
  background-image: url('../assets/images/section-noise.webp');
  background-repeat: repeat;
  overflow: hidden;
}
.auth-brand::before {
  content: "";
  position: absolute;
  top: -220px; right: -220px;
  width: 660px; height: 660px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 126, 234, .34), transparent 68%);
  pointer-events: none;
}
.auth-brand > * { position: relative; z-index: 2; }
.auth-ring {
  position: absolute;
  bottom: -230px; left: -190px;
  width: 640px;
  aspect-ratio: 1 / 1;
  line-height: 0;
  opacity: .55;
  pointer-events: none;
  z-index: 1;
}
.auth-ring img { width: 100%; height: 100%; animation: pm-spin 80s linear infinite; }

.auth-brand-body { max-width: 470px; }
.auth-brand .sub-title { color: var(--pm-secondary); }
.auth-brand-body h2 {
  margin-top: 12px;
  font-size: 36px;
  line-height: 44px;
  font-weight: 700;
  letter-spacing: -.4px;
  color: #fff;
}
.auth-brand-body > p {
  margin-top: 16px;
  font-size: 16px;
  line-height: 28px;
  font-weight: 500;
  color: var(--pm-on-dark-body);
}
.auth-points { margin-top: 32px; display: grid; gap: 18px; }
.auth-point { display: flex; gap: 16px; align-items: flex-start; }
.auth-brand .auth-point .icon-circle {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .09);
  color: var(--pm-secondary);
  font-size: 19px;
}
.auth-point strong { display: block; font-size: 17px; line-height: 24px; font-weight: 700; color: #fff; }
.auth-point span { display: block; margin-top: 4px; font-size: 15px; line-height: 23px; font-weight: 500; color: var(--pm-on-dark-body); }

.auth-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 700;
  color: var(--pm-on-dark-body);
  transition: color var(--pm-base) var(--pm-ease);
}
.auth-back:hover { color: #fff; }

/* ---------- form side ---------- */
.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 40px;
}
.auth-form-wrap { width: 100%; max-width: 540px; }
.auth-mobile-brand { display: none; margin-bottom: 28px; }
.auth-form-wrap h1 {
  font-size: 38px;
  line-height: 46px;
  font-weight: 700;
  letter-spacing: -.4px;
  color: var(--pm-dark);
}
.auth-lead { margin-top: 12px; font-size: 16px; line-height: 28px; font-weight: 500; color: var(--pm-body); }

.auth-form { margin-top: 30px; display: grid; gap: 20px; }
.auth-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.auth-form .btn { width: 100%; justify-content: center; }
.auth-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.auth-link { color: var(--pm-primary-text); font-size: 15px; font-weight: 700; }
.auth-link:hover { color: var(--pm-primary-hover); }
.auth-alt {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--pm-border);
  font-size: 15px;
  line-height: 24px;
  font-weight: 500;
  color: var(--pm-body);
}
.auth-alt a { color: var(--pm-primary-text); font-weight: 700; }
.auth-alt a:hover { color: var(--pm-primary-hover); }
.auth-legal {
  margin-top: 14px;
  font-size: 14px;
  line-height: 22px;
  font-weight: 600;
  /* --pm-muted is only 2.6:1 on white; the separators must clear AA too */
  color: var(--pm-body);
}
.auth-legal a { color: var(--pm-body); transition: color var(--pm-base) var(--pm-ease); }
.auth-legal a:hover { color: var(--pm-primary-text); }

.check-line { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 24px; font-weight: 500; color: var(--pm-body); }
.check-line input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--pm-primary); }
.check-line a { color: var(--pm-primary-text); font-weight: 700; }

.role-pick { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
/* visually hidden radio: kept in the layout box so it cannot widen the page */
.role-pick input {
  position: absolute;
  width: 1px; height: 1px;
  margin: 0; padding: 0; border: 0;
  opacity: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  pointer-events: none;
}
.role-pick label {
  display: block;
  padding: 15px 12px;
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-radius-sm);
  background: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--pm-dark);
  cursor: pointer;
  transition: background var(--pm-base) var(--pm-ease),
              color var(--pm-base) var(--pm-ease),
              border-color var(--pm-base) var(--pm-ease);
}
.role-pick label:hover { border-color: var(--pm-primary); }
.role-pick input:checked + label { background: var(--pm-primary-hover); border-color: var(--pm-primary-hover); color: #fff; }
.role-pick input:focus-visible + label { outline: 2px solid var(--pm-primary); outline-offset: 3px; }

/* ---------- auth responsive ---------- */
@media (max-width: 1024px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
  .auth-main { align-items: flex-start; padding: 44px 26px; }
  .auth-form-wrap { max-width: 560px; margin: 0 auto; }
  .auth-mobile-brand { display: flex; }
}
@media (max-width: 576px) {
  .auth-main { padding: 32px 18px 48px; }
  .auth-form-wrap h1 { font-size: 30px; line-height: 38px; }
  .auth-form .field-row { grid-template-columns: 1fr; }
  .auth-meta { justify-content: flex-start; }
}
@media (max-width: 420px) {
  .role-pick { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-ring img { animation: none; }
}

/* ==========================================================================
   CLOSING CTA BAND  (Home CTA treatment)
   ========================================================================== */
.cta-band {
  background-color: var(--pm-primary-active);
  background-image: url('../assets/images/section-noise.webp');
  background-repeat: repeat;
}
.cta-band-inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding-top: 90px; padding-bottom: 90px; }
.cta-band .sub-title { color: rgba(255, 255, 255, .86); }
.cta-band h2 { margin-top: 12px; font-size: 36px; line-height: 43.2px; font-weight: 700; color: #fff; }
.cta-band p { margin-top: 16px; max-width: 640px; font-size: 16px; line-height: 28px; font-weight: 500; color: var(--pm-on-brand-body); }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 16px; }


/* ==========================================================================
   FAQ  —  categorised accordions
   ========================================================================== */
.faq-jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 34px auto 0;
  max-width: 900px;
}
.faq-jump a {
  padding: 10px 18px;
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-radius-pill);
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  color: var(--pm-dark);
  transition: color var(--pm-base) var(--pm-ease),
              border-color var(--pm-base) var(--pm-ease),
              background var(--pm-base) var(--pm-ease);
}
.faq-jump a:hover {
  color: var(--pm-primary-text);
  border-color: var(--pm-primary);
  background: var(--pm-primary-faint);
}

.faq-wrap { max-width: 900px; margin: 54px auto 0; }

.faq-group + .faq-group { margin-top: 54px; }
.faq-group { scroll-margin-top: calc(var(--pm-header-h) + 28px); }
.faq-group-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  font-size: var(--pm-h2-sm);
  line-height: var(--pm-h2-sm-lh);
  font-weight: 700;
  color: var(--pm-dark);
}
/* the accent appears once per group, on the number only */
.faq-group-num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--pm-secondary);
  color: var(--pm-dark);
  font-size: 17px;
  font-weight: 700;
}

.faq-item {
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-radius);
  background: #fff;
  transition: border-color var(--pm-base) var(--pm-ease),
              box-shadow var(--pm-base) var(--pm-ease);
}
.faq-item + .faq-item { margin-top: 12px; }
.faq-item:hover { border-color: var(--pm-primary); }
.faq-item.is-open {
  border-color: var(--pm-primary);
  box-shadow: var(--pm-shadow-sm);
}
.faq-item h3 { margin: 0; }

.faq-btn {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--pm-font);
  font-size: 18px;
  line-height: 27px;
  font-weight: 700;
  color: var(--pm-dark);
  transition: color var(--pm-base) var(--pm-ease);
}
.faq-btn:hover { color: var(--pm-primary-text); }
.faq-item.is-open .faq-btn { color: var(--pm-primary-text); }

/* plus that turns into a minus */
.faq-ico {
  position: relative;
  flex: 0 0 auto;
  width: 30px; height: 30px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--pm-primary-soft);
  transition: background var(--pm-base) var(--pm-ease),
              transform var(--pm-base) var(--pm-ease);
}
.faq-ico::before, .faq-ico::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 2px;
  border-radius: 2px;
  background: var(--pm-primary-text);
  transform: translate(-50%, -50%);
  transition: transform var(--pm-base) var(--pm-ease),
              opacity var(--pm-fast) var(--pm-ease),
              background var(--pm-base) var(--pm-ease);
}
.faq-ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .faq-ico { background: var(--pm-primary); transform: rotate(180deg); }
.faq-item.is-open .faq-ico::before,
.faq-item.is-open .faq-ico::after { background: #fff; }
.faq-item.is-open .faq-ico::after { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }

.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .38s var(--pm-ease);
}
.faq-a-in {
  padding: 0 26px 24px;
  font-size: 16px;
  line-height: 28px;
  font-weight: 500;
  color: var(--pm-body);
}
.faq-a-in p + p { margin-top: 14px; }
.faq-a-in a { color: var(--pm-primary-text); font-weight: 700; }
.faq-a-in a:hover { color: var(--pm-primary-hover); text-decoration: underline; }
.faq-list { margin: 14px 0 0; padding-left: 20px; list-style: disc; }
.faq-list li + li { margin-top: 8px; }
.faq-list strong { color: var(--pm-dark); }
.faq-note {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 3px solid var(--pm-secondary);
  border-radius: 0 var(--pm-radius-sm) var(--pm-radius-sm) 0;
  background: var(--pm-secondary-soft);
  font-size: 15px;
  line-height: 24px;
}
.faq-note strong { color: var(--pm-secondary-ink); }

/* ==========================================================================
   LEGAL DOCUMENTS  —  Terms & Conditions, Privacy Policy
   ========================================================================== */
.page-hero--doc { padding-bottom: 74px; }
.doc-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 26px;
  font-size: 15px;
  line-height: 24px;
  font-weight: 500;
  color: var(--pm-on-dark-body);
}
.doc-dates strong { color: #fff; font-weight: 700; }

.legal { padding: var(--pm-section) 0; }
.legal-grid {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  padding-left: var(--pm-gutter);
  padding-right: var(--pm-gutter);
}

/* ---------- table of contents ---------- */
.legal-toc {
  position: sticky;
  top: calc(var(--pm-header-h) + 24px);
  padding: 26px 24px;
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-radius);
  background: var(--pm-primary-faint);
}
/* on desktop the panel is always open (see initLegalToc), so the summary
   is not needed; below 1024px the summary returns and it collapses */
.legal-toc > summary { display: none; }

.toc-nav ol {
  counter-reset: toc;
  list-style: none;   /* numbering comes from the counter below, not the marker */
  padding-left: 0;
  max-height: min(62vh, 620px);
  overflow-y: auto;
  padding-right: 4px;
}
.toc-nav li { counter-increment: toc; }
.toc-nav a {
  display: flex;
  gap: 10px;
  padding: 7px 0;
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  color: var(--pm-body);
  min-width: 0;
  overflow-wrap: anywhere;
  transition: color var(--pm-base) var(--pm-ease);
}
.toc-nav a::before {
  content: counter(toc) ".";
  flex: 0 0 26px;          /* wide enough for two digits plus the period */
  white-space: nowrap;
  color: var(--pm-muted);
  font-variant-numeric: tabular-nums;
}
.toc-nav a:hover { color: var(--pm-primary-text); }
.toc-nav a:hover::before { color: var(--pm-primary); }

/* ---------- document body ---------- */
.legal-doc { max-width: 74ch; }
.legal-doc section { scroll-margin-top: calc(var(--pm-header-h) + 28px); }
.legal-doc section + section { margin-top: 46px; }
.legal-doc h2 {
  margin-bottom: 16px;
  font-size: var(--pm-h2-sm);
  line-height: var(--pm-h2-sm-lh);
  font-weight: 700;
  color: var(--pm-dark);
}
.legal-doc h3 {
  margin: 26px 0 12px;
  font-size: 19px;
  line-height: 28px;
  font-weight: 700;
  color: var(--pm-dark);
}
.legal-doc p, .legal-doc li {
  font-size: 17px;
  line-height: 31px;
  font-weight: 500;
  color: var(--pm-body);
}
.legal-doc p + p { margin-top: 16px; }
.legal-doc ul {
  margin: 16px 0 0;
  padding-left: 22px;
  list-style: disc;
}
.legal-doc ul li + li { margin-top: 10px; }
.legal-doc a { color: var(--pm-primary-text); font-weight: 700; }
.legal-doc a:hover { color: var(--pm-primary-hover); text-decoration: underline; }
.legal-doc strong { color: var(--pm-dark); font-weight: 700; }

/* placeholders must read as obviously unset, never as real values */
.legal-doc code, .doc-dates code, .faq-note code {
  padding: 2px 8px;
  border: 1px dashed var(--pm-secondary-line);
  border-radius: var(--pm-radius-sm);
  background: var(--pm-secondary-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .88em;
  font-weight: 600;
  color: var(--pm-secondary-ink);
  /* some placeholders are long sentences; they must be able to break rather
     than widen the column (`anywhere` is the only value that also lowers
     min-content width, which is what a grid track measures against) */
  overflow-wrap: anywhere;
}
.doc-dates code {
  border-color: rgba(250, 179, 46, .5);
  background: rgba(250, 179, 46, .14);
  color: var(--pm-secondary);
}

.legal-note {
  margin-bottom: 44px;
  padding: 22px 24px;
  border-left: 4px solid var(--pm-secondary);
  border-radius: 0 var(--pm-radius) var(--pm-radius) 0;
  background: var(--pm-secondary-soft);
  font-size: 16px;
  line-height: 27px;
  font-weight: 500;
  color: var(--pm-body);
}
.legal-note strong { color: var(--pm-secondary-ink); }

.legal-dl { margin-top: 16px; }
.legal-dl dt {
  margin-top: 16px;
  font-size: 17px;
  font-weight: 700;
  color: var(--pm-dark);
}
.legal-dl dt:first-child { margin-top: 0; }
.legal-dl dd {
  margin: 4px 0 0;
  padding-left: 16px;
  border-left: 2px solid var(--pm-border);
  font-size: 17px;
  line-height: 30px;
  font-weight: 500;
  color: var(--pm-body);
}

.legal-contact {
  margin-top: 18px;
  padding: 0;
  list-style: none;
  border: 1px solid var(--pm-border);
  border-radius: var(--pm-radius);
  overflow: hidden;
}
.legal-contact li {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 20px;
  margin: 0;
  font-size: 16px;
  line-height: 26px;
}
.legal-contact li + li { border-top: 1px solid var(--pm-border); }
.legal-contact li:nth-child(odd) { background: var(--pm-primary-faint); }
.legal-contact strong { color: var(--pm-dark); }

.legal-xref {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--pm-border);
  font-size: 16px;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .faq-a { transition: none; }
  .faq-ico, .faq-ico::before, .faq-ico::after { transition: none; }
}


/* ==========================================================================
   FOOTER  —  one global component, used by every standard page.
   Structure follows the reference footer (rounded inset panel, four columns,
   brand + contact grouped left, a day/time list right, centred copyright bar);
   every colour, route, word and asset is Paymitraa's own.
   ========================================================================== */
.site-footer {
  background: var(--pm-dark-deep);
  padding: 90px 0 0;
}
.site-footer .container {
  padding-left: var(--pm-gutter);
  padding-right: var(--pm-gutter);
}

/* the raised panel that lifts the columns off the band */
.footer-panel {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1.1fr 1fr;
  gap: 40px;
  padding: 62px 60px 58px;
  border-radius: var(--pm-radius-lg);
  background: var(--pm-dark);
}
.footer-panel > * { min-width: 0; }

/* ---------- brand column ---------- */
.foot-brand .brand { margin-bottom: 24px; }
.foot-brand p {
  max-width: 360px;
  font-size: 16px;
  line-height: 28px;
  font-weight: 500;
  color: var(--pm-on-dark-body);
}

.socials { display: flex; gap: 12px; margin-top: 26px; }
.socials a {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 16px;
  transition: background var(--pm-base) var(--pm-ease),
              color var(--pm-base) var(--pm-ease),
              transform var(--pm-base) var(--pm-ease);
}
.socials a:hover {
  background: var(--pm-primary);
  color: #fff;
  transform: translateY(-3px);
}

/* ---------- headings + link lists ---------- */
.foot-head {
  margin-bottom: 22px;
  font-size: 20px;
  line-height: 26px;
  font-weight: 600;
  color: #fff;
}
.foot-links li + li { margin-top: 2px; }
.foot-links a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: var(--pm-on-dark-body);
  transition: color var(--pm-base) var(--pm-ease),
              transform var(--pm-base) var(--pm-ease);
}
/* a short accent rule grows in on hover — the one place yellow appears here */
.foot-links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--pm-secondary);
  opacity: 0;
  transform: translate(-14px, -50%) scaleX(0);
  transform-origin: left;
  transition: opacity var(--pm-base) var(--pm-ease),
              transform var(--pm-base) var(--pm-ease);
}
.foot-links a:hover { color: #fff; transform: translateX(18px); }
.foot-links a:hover::before { opacity: 1; transform: translate(-16px, -50%) scaleX(1); }

/* ---------- contact column ---------- */
.foot-address, .foot-mail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  color: var(--pm-on-dark-body);
}
.foot-address i, .foot-mail i {
  flex: 0 0 auto;
  margin-top: 4px;
  font-size: 16px;
  color: var(--pm-secondary);
}
.foot-mail { margin-top: 16px; transition: color var(--pm-base) var(--pm-ease); }
.foot-mail:hover { color: #fff; }

.foot-phone {
  display: inline-block;
  margin-top: 18px;
  font-size: 22px;
  line-height: 28px;
  font-weight: 700;
  letter-spacing: -.2px;
  color: #fff;
  transition: color var(--pm-base) var(--pm-ease);
}
.foot-phone:hover { color: var(--pm-on-dark); }

.foot-hours { margin-top: 28px; }
.foot-hours > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.foot-hours > div:first-child { border-top: 1px solid rgba(255, 255, 255, .12); }
.foot-hours dt {
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
  color: var(--pm-on-dark-body);
}
.foot-hours dd {
  margin: 0;
  font-size: 15px;
  line-height: 22px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
.foot-hours dd.is-off { color: var(--pm-secondary); }

/* ---------- copyright bar ---------- */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 34px;
  flex-wrap: wrap;
  padding: 34px 4px;
}
.footer-bottom p {
  font-size: 15px;
  line-height: 24px;
  font-weight: 500;
  color: var(--pm-on-dark-body);
}
.foot-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; }
.foot-legal li { position: relative; }
.foot-legal li + li::before {
  content: "";
  position: absolute;
  left: -13px; top: 50%;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .28);
  transform: translateY(-50%);
}
.foot-legal a {
  font-size: 15px;
  line-height: 24px;
  font-weight: 600;
  color: var(--pm-on-dark-body);
  transition: color var(--pm-base) var(--pm-ease);
}
.foot-legal a:hover { color: var(--pm-on-dark); }

@media (prefers-reduced-motion: reduce) {
  .foot-links a:hover { transform: none; }
  .socials a:hover { transform: none; }
}

/* ==========================================================================
   RESPONSIVE — the Home Page breakpoints (1200 / 1024 / 992 / 767 / 576)
   ========================================================================== */
@media (max-width: 1200px) {
  .page-title { font-size: 48px; line-height: 60px; }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .panel { padding: 40px; }
  .role-summary, .contact-info, .form-card { padding: 38px 34px; }
}

@media (max-width: 1024px) {
  .page-hero { padding: calc(var(--pm-header-total) + 52px) 0 80px; }

  .site-footer { padding-top: 70px; }
  .footer-panel { grid-template-columns: 1fr 1fr; gap: 44px 36px; padding: 48px 40px 44px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-brand p { max-width: none; }
  /* the contact column would otherwise sit alone on the last row */
  .foot-contact {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 36px;
  }
  .foot-contact .foot-head { grid-column: 1 / -1; }
  .foot-reach { grid-column: 1; grid-row: 2; }
  .foot-hours { grid-column: 2; grid-row: 2; margin-top: 0; }

  /* the contents panel folds into a collapsible above the document */
  /* this element is also the .container, so it must carry both gutters itself */
  .legal-grid { grid-template-columns: 1fr; gap: 30px; padding-left: calc(var(--pm-gutter) * 2); padding-right: calc(var(--pm-gutter) * 2); }
  .legal-toc { position: static; padding: 0; }
  .legal-toc > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    cursor: pointer;
    list-style: none;
    font-size: 17px;
    font-weight: 700;
    color: var(--pm-dark);
  }
  .legal-toc > summary::-webkit-details-marker { display: none; }
  .legal-toc .toc-ico {
    position: relative;
    flex: 0 0 auto;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--pm-primary-soft);
    transition: transform var(--pm-base) var(--pm-ease);
  }
  .legal-toc .toc-ico::before {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 8px; height: 8px;
    border-right: 2px solid var(--pm-primary-text);
    border-bottom: 2px solid var(--pm-primary-text);
    transform: translate(-50%, -70%) rotate(45deg);
  }
  .legal-toc[open] .toc-ico { transform: rotate(180deg); }
  .legal-toc:not([open]) > .toc-nav { display: none; }
  .legal-toc[open] > .toc-nav { padding: 0 22px 20px; }
  .toc-nav ol { max-height: none; overflow: visible; }
  .legal-doc { max-width: none; }
  .page-hero .hero-circle { display: none; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .panel-grid, .net-grid, .contact-grid { grid-template-columns: 1fr; }
  .role-panel.is-active { grid-template-columns: 1fr; }
  .list-grid, .region-grid, .net-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band-inner { grid-template-columns: 1fr; }
}

@media (max-width: 992px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .page-hero { padding: calc(var(--pm-header-total) + 36px) 0 70px; }

  .site-footer { padding-top: 56px; }
  .footer-panel { padding: 40px 26px 36px; gap: 38px 24px; }
  .foot-head { margin-bottom: 16px; font-size: 19px; }
  .footer-bottom { justify-content: center; text-align: center; padding: 28px 4px; }
  .foot-legal { justify-content: center; }

  .legal { padding: 80px 0; }
  .legal-doc h2 { font-size: 26px; line-height: 34px; }
  .legal-doc p, .legal-doc li { font-size: 16px; line-height: 29px; }
  .legal-contact li { grid-template-columns: 1fr; gap: 2px; }
  .faq-btn { padding: 18px 20px; font-size: 17px; line-height: 26px; }
  .faq-a-in { padding: 0 20px 20px; }
  .faq-group-title { font-size: 26px; line-height: 34px; }
  .faq-group-num { width: 38px; height: 38px; font-size: 15px; }
  .faq-wrap { margin-top: 40px; }
  .page-title { font-size: 36px; line-height: 43.2px; }
  .panel .section-title, .net-detail .section-title,
  .contact-info h2, .form-card h2, .cta-band h2, .role-summary h3 {
    font-size: 30px;
    line-height: 38px;
  }
  .svc-grid, .list-grid, .region-grid, .net-stat-grid, .coverage,
  .role-detail, .form-grid, .role-pick, .auth-form .field-row { grid-template-columns: 1fr; }
  .role-tabs { display: grid; grid-template-columns: 1fr; width: 100%; }
  .role-tab { padding: 14px 20px; text-align: center; }
  .panel, .svc-card, .list-card, .region-card, .role-box,
  .role-summary, .contact-info, .form-card, .net-detail, .map-card {
    padding: 30px 26px;
  }
  .net-stat { padding: 30px 26px; }
  /* the offset shadow would otherwise run into the screen edge */
  .role-item { box-shadow: 6px 6px 0 0 rgba(21, 32, 42, .10); }
  .net-stat .counter-number { font-size: 48px; line-height: 58px; }
  /* the map keeps its geographic proportions; only the labels rescale */
  .node-label { font-size: 34px; }
  .cta-band-inner { padding-top: 70px; padding-bottom: 70px; }
  .hero-actions .btn, .cta-band-actions .btn { flex: 1 1 auto; justify-content: center; }
}

@media (max-width: 576px) {
  .footer-panel { grid-template-columns: 1fr; gap: 34px; padding: 34px 22px 32px; }
  .foot-contact { grid-template-columns: 1fr; }
  .foot-reach, .foot-hours { grid-column: 1; grid-row: auto; }
  .foot-hours { margin-top: 26px; }
  .foot-phone { font-size: 20px; }

  /* labels would collide at this width — the legend below carries the names.
     The geometry is untouched; only the markers scale up to stay tappable. */
  .node-label { display: none; }
  .node-core { r: 14; stroke-width: 4.5; }
  .net-node.is-hub .node-core { r: 17; }
  .node-wave { r: 19; }
  .net-link { stroke-width: 3.4; }
  .net-run { stroke-width: 5; }
  .map-wrap { padding: 10px; }

  .trust-grid { grid-template-columns: 1fr; }
  .page-title { font-size: var(--pm-h2-sm); line-height: var(--pm-h2-sm-lh); }
}


/* ==========================================================================
   SEO CONTENT ADDITIONS  —  key-facts table, in-text links, service anchors
   ========================================================================== */
.narrow-wrap {
  max-width: 900px;
  margin: 40px auto 0;
  padding-left: var(--rt-col-gutter);
  padding-right: var(--rt-col-gutter);
}
.info-title a, .trust-card span a { color: inherit; }
.info-title a:hover { color: var(--pm-primary-text); }
.trust-card span a { text-decoration: underline; text-underline-offset: 3px; }
.legal-contact a { color: var(--pm-primary-text); font-weight: 600; }
.legal-contact a:hover { text-decoration: underline; }

/* ---------- document spacing ----------
   Inside .legal-doc every <ul> is styled as a bulleted list. That also caught
   the contact table (indent + row gaps), and a paragraph following a list was
   left with no gap above it, unlike a paragraph following a paragraph. */
.legal-doc ul + p, .legal-doc ol + p, .legal-doc dl + p { margin-top: 16px; }
.faq-a-in ul + p, .faq-a-in ol + p { margin-top: 14px; }
.legal-doc ul.legal-contact { padding-left: 0; }
.legal-doc ul.legal-contact li + li { margin-top: 0; }
/* company link inside the footer brand text */
.foot-brand p a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.foot-brand p a:hover { color: var(--pm-on-dark); }
/* footer links land on a service card; keep it clear of the fixed header */
.svc-card[id] { scroll-margin-top: calc(var(--pm-header-h) + 24px); }

/* ---------- review fixes: fieldset/legend + label-like span + error note ---------- */
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field > legend, .field .label { display: block; padding: 0; margin-bottom: 8px; font-size: 15px; font-weight: 700; color: var(--rt-title-color); }
.form-note.is-error { border-color: #c0392b; color: #c0392b; }

/* ---------- Google Play badge ---------- */
.gplay-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 14px; background: #000; color: #fff; border: 1px solid #a6a6a6; border-radius: 10px; text-decoration: none; line-height: 1.1; min-height: 48px; transition: transform .2s ease, box-shadow .2s ease; }
.gplay-badge:hover, .gplay-badge:focus-visible { color: #fff; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.gplay-badge:focus-visible { outline: 3px solid #ffce00; outline-offset: 2px; }
.gplay-badge span { display: flex; flex-direction: column; font-size: 18px; font-weight: 600; letter-spacing: .2px; }
.gplay-badge small { font-size: 10px; font-weight: 500; letter-spacing: .6px; }
.gp-icon { flex: 0 0 auto; }
.hero-app { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 24px; }
.hero-app-note { font-size: 14px; font-weight: 600; color: #d6dee8; }
.gplay-badge--footer { margin-top: 20px; }
@media (max-width: 575px) { .hero-app { justify-content: center; } }
