/* =========================================================
   PAYINDIAA — "TRICOLOUR LEDGER" LANDING THEME
   Ink navy · saffron · India green · warm paper
   A deliberately editorial, rule-based layout (not a gradient clone).
   ========================================================= */

:root {
  --ink: #0B3F91;
  --ink-2: #0A357A;
  --ink-3: #082A5F;
  --saffron: #FF7A00;
  --saffron-soft: #FF9A3D;
  --green: #13B83A;
  --green-soft: #2BD457;
  --cyan: #08BDF2;
  --paper: #F6F9FF;
  --paper-2: #EDF3FC;
  --white: #ffffff;
  --line: #DCE7F7;
  --line-dark: rgba(255, 255, 255, 0.14);
  --muted: #52617A;
  --muted-2: #7C8BA3;
  --shadow: 0 18px 46px rgba(11, 63, 145, 0.12);
  --shadow-sm: 0 6px 18px rgba(11, 63, 145, 0.08);
  --container: 1180px;
  --font-head: "Sora", "Plus Jakarta Sans", sans-serif;
  --font-body: "Plus Jakarta Sans", "Inter", sans-serif;
  --r: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--muted);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  font-family: var(--font-head);
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

p {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* ── Recurring tricolour rule ─────────────────────────────── */
.tri-rule {
  display: inline-flex;
  width: 56px;
  height: 4px;
  overflow: hidden;
  border-radius: 2px;
}

.tri-rule span {
  flex: 1;
}

.tri-rule span:nth-child(1) {
  background: var(--saffron);
}

.tri-rule span:nth-child(2) {
  background: #f4f1ec;
}

.tri-rule span:nth-child(3) {
  background: var(--green);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--saffron);
}

.section-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--cyan);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--saffron);
}

.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
}

.section-title em {
  font-style: normal;
  color: var(--green);
}

.section-text {
  max-width: 620px;
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 54px;
}

.section-head .section-text {
  margin-top: 0;
  max-width: 380px;
  text-align: right;
}

/* ── Header ───────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(251, 247, 241, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(11, 63, 145, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand img {
  height: 46px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.main-nav a {
  position: relative;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a:hover {
  color: var(--saffron);
  background: rgba(255, 122, 0, 0.07);
}

.main-nav a.active {
  color: var(--saffron);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--saffron);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s ease, color 0.2s ease;
}

.btn-solid {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 24px rgba(11, 63, 145, 0.24);
}

.btn-solid:hover {
  background: #1450B0;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(11, 63, 145, 0.3);
}

/* On the dark hero the primary action flips to paper for contrast. */
.hero-actions .btn-solid {
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.hero-actions .btn-solid:hover {
  background: #EDF3FC;
  color: var(--ink);
}

.btn-ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: var(--ink-3);
  transform: translateY(-2px);
}

.btn-paper {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn-paper:hover {
  border-color: var(--saffron);
  color: var(--saffron);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 14px 0 22px;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a {
  display: flex;
  justify-content: space-between;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.mobile-nav-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 88% -10%, rgba(255, 122, 0, 0.16), transparent 62%),
    radial-gradient(700px 480px at 0% 110%, rgba(19, 184, 58, 0.18), transparent 60%),
    radial-gradient(620px 400px at 62% 118%, rgba(8, 189, 242, 0.16), transparent 62%),
    linear-gradient(160deg, #072A63 0%, #0B3F91 55%, #072A63 100%);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}

.hero-tricolour {
  display: flex;
  height: 5px;
}

.hero-tricolour span {
  flex: 1;
}

.hero-tricolour span:nth-child(1) {
  background: var(--saffron);
}

.hero-tricolour span:nth-child(2) {
  background: #FFFFFF;
}

.hero-tricolour span:nth-child(3) {
  background: var(--green);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 104px);
}

.hero-rail {
  position: absolute;
  left: -46px;
  top: 96px;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: rotate(-90deg);
  transform-origin: left top;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.34);
}

.hero-rail::after {
  content: "";
  width: 54px;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  padding: 7px 12px 7px 8px;
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.hero-badge .tri-rule {
  width: 30px;
  height: 3px;
}

.hero h1 {
  max-width: 620px;
  color: #fff;
  font-size: clamp(44px, 6vw, 82px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero h1 .accent {
  color: var(--saffron);
}

.hero h1 .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.72);
}

.hero-copy {
  max-width: 500px;
  margin-top: 26px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-actions .btn-ghost {
  border-color: rgba(255, 255, 255, 0.26);
  color: #fff;
}

.hero-actions .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 52px;
  border-top: 1px solid var(--line-dark);
}

.hero-meta-item {
  flex: 1;
  min-width: 120px;
  padding: 20px 20px 0 0;
}

.hero-meta-item + .hero-meta-item {
  padding-left: 20px;
  border-left: 1px solid var(--line-dark);
}

.hero-meta-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.hero-meta-item span {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* Receipt visual */
.hero-visual {
  position: relative;
  justify-self: end;
  width: min(460px, 100%);
  padding: 26px 26px 26px 0;
}

.receipt {
  position: relative;
  z-index: 2;
  padding: 34px 32px 30px;
  color: var(--ink);
  background: var(--paper);
  border-radius: 6px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.36);
}

.receipt::before,
.receipt::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 10px;
  background-image: radial-gradient(circle at 6px 0, transparent 5px, var(--paper) 5.5px);
  background-size: 12px 10px;
  background-repeat: repeat-x;
}

.receipt::before {
  top: -9px;
}

.receipt::after {
  bottom: -9px;
  transform: rotate(180deg);
}

.receipt-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px dashed #C9D8EE;
}

.receipt-brand {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.receipt-chip {
  padding: 4px 8px;
  border: 1px solid var(--green);
  border-radius: 3px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}

.receipt-amount {
  padding: 22px 0 6px;
  font-family: var(--font-head);
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.receipt-sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.receipt-rows {
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.receipt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.receipt-row span:first-child {
  color: var(--muted);
}

.receipt-row span:last-child {
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.receipt-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
}

.receipt-qr {
  display: grid;
  grid-template-columns: repeat(5, 6px);
  grid-auto-rows: 6px;
  gap: 2px;
}

.receipt-qr i {
  background: var(--ink);
  border-radius: 1px;
}

.receipt-qr i:nth-child(3n) {
  background: var(--saffron);
}

.receipt-qr i:nth-child(4n) {
  background: transparent;
}

.receipt-stamp {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  text-align: right;
}

.hero-float {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
  color: var(--ink);
}

.hero-float-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 4px;
  background: rgba(19, 184, 58, 0.1);
  color: var(--green);
  font-weight: 800;
}

.hero-float strong {
  display: block;
  font-size: 12px;
}

.hero-float small {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  color: var(--muted-2);
}

.hero-float.one {
  top: -12px;
  left: -30px;
}

.hero-float.two {
  right: -8px;
  bottom: -4px;
}

/* ── Ticker ───────────────────────────────────────────────── */
.ticker {
  overflow: hidden;
  border-block: 1px solid rgba(11, 63, 145, 0.12);
  background: var(--saffron);
  color: #fff;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 34s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 15px 26px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-item::after {
  content: "✦";
  color: #bdf0ff;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ── Sections ─────────────────────────────────────────────── */
.section {
  padding: clamp(70px, 8vw, 112px) 0;
}

.section-paper {
  background: var(--paper);
}

.section-white {
  background: var(--white);
}

.section-ink {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}

.section-ink h2,
.section-ink h3,
.section-ink h4 {
  color: #fff;
}

.section-ink .section-text {
  color: rgba(255, 255, 255, 0.66);
}

section[id] {
  scroll-margin-top: 92px;
}

/* Bento capabilities */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.bento-card {
  position: relative;
  padding: 34px 28px 38px;
  background: var(--white);
  transition: background 0.25s ease;
}

.bento-card:hover {
  background: var(--paper);
}

.bento-index {
  display: block;
  margin-bottom: 42px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--saffron);
}

.bento-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--green);
  font-size: 19px;
}

.bento-card h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.bento-card p {
  font-size: 13px;
  line-height: 1.7;
}

.bento-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 3px;
  background: var(--saffron);
  transition: width 0.3s var(--ease);
}

.bento-card:hover::after {
  width: 100%;
}

/* Split / ledger table */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 0;
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.feature-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.feature-item-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(19, 184, 58, 0.1);
  color: var(--green);
  font-size: 14px;
}

.feature-item h4 {
  margin-bottom: 5px;
  font-size: 15px;
}

.feature-item p {
  font-size: 12.5px;
  line-height: 1.6;
}

.ledger {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.ledger-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.ledger-head strong {
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--ink);
}

.ledger-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
}

.ledger-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.ledger-value {
  padding: 26px 22px 8px;
  font-family: var(--font-head);
  font-size: 40px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.04em;
}

.ledger-caption {
  padding: 0 22px 22px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.ledger-chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 150px;
  padding: 0 22px 22px;
}

.ledger-bar {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, var(--saffron), rgba(255, 122, 0, 0.35));
}

.ledger-bar:nth-child(even) {
  background: linear-gradient(180deg, var(--green), rgba(19, 184, 58, 0.35));
}

.ledger-rows {
  border-top: 1px solid var(--line);
}

.ledger-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 22px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.ledger-row:last-child {
  border-bottom: 0;
}

.ledger-row span:last-child {
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* Journey */
.journey {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 10px;
  border-top: 2px solid var(--ink);
}

.journey-step {
  position: relative;
  padding: 30px 26px 10px 0;
}

.journey-step + .journey-step {
  padding-left: 26px;
  border-left: 1px solid var(--line);
}

.journey-step::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--saffron);
}

.journey-step + .journey-step::before {
  left: 26px;
}

.journey-year {
  display: block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--saffron);
}

.journey-step h3 {
  margin: 10px 0 8px;
  font-size: 17px;
}

.journey-step p {
  font-size: 12.5px;
  line-height: 1.65;
}

/* Purpose */
.purpose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.purpose-card {
  position: relative;
  padding: 40px 36px;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}

.purpose-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--saffron);
}

.purpose-card.mission::before {
  background: var(--green);
}

.purpose-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--saffron);
  font-size: 19px;
}

.purpose-card.mission .purpose-icon {
  color: var(--green);
}

.purpose-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.purpose-card p {
  font-size: 13.5px;
  line-height: 1.75;
}

/* Partners */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  background: var(--line);
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 138px;
  padding: 22px 16px;
  background: #fff;
  transition: background 0.2s ease;
}

.partner-card:hover {
  background: var(--paper);
}

.partner-card img {
  max-width: 96px;
  max-height: 46px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.partner-card:hover img {
  filter: grayscale(0);
  opacity: 1;
}

.partner-card span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted-2);
}

.partners-note {
  max-width: 760px;
  margin-top: 26px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted-2);
}

/* Services list */
.service-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  transition: padding-left 0.25s var(--ease);
}

.service-row:hover {
  padding-left: 12px;
}

.service-row:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.service-row .num {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--saffron);
}

.service-row h3 {
  margin-bottom: 6px;
  font-size: clamp(22px, 2.6vw, 32px);
}

.service-row p {
  max-width: 640px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.service-row .arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.service-row:hover .arrow {
  background: var(--saffron);
  border-color: var(--saffron);
  transform: rotate(-45deg);
}

/* CTA */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--saffron);
  color: #fff;
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border: 40px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(48px, 6vw, 74px) 0;
}

.cta-inner h2 {
  max-width: 640px;
  color: #fff;
  font-size: clamp(28px, 3.6vw, 44px);
}

.cta-inner p {
  max-width: 520px;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-band .btn-dark {
  background: var(--ink);
}

.cta-band .btn-ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.cta-band .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.62);
}

.footer-tricolour {
  display: flex;
  height: 4px;
}

.footer-tricolour span {
  flex: 1;
}

.footer-tricolour span:nth-child(1) {
  background: var(--saffron);
}

.footer-tricolour span:nth-child(2) {
  background: #FFFFFF;
}

.footer-tricolour span:nth-child(3) {
  background: var(--green);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 66px 0 50px;
}

.footer-brand img {
  height: 40px;
  width: auto;
  margin-bottom: 20px;
  padding: 8px 12px;
  background: #fff;
  border-radius: 4px;
}

.footer-brand p {
  max-width: 330px;
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
}

.footer-col h4 {
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
}

.footer-col ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col a {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--saffron);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.42);
}

.footer-bottom .legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

/* ── Join modal ───────────────────────────────────────────── */
.join-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.join-modal.active {
  opacity: 1;
  visibility: visible;
}

.join-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 63, 145, 0.68);
  backdrop-filter: blur(6px);
}

.join-box {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 36px;
  background: var(--paper);
  border-top: 4px solid var(--saffron);
  border-radius: 6px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.35);
}

.join-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.join-box h2 {
  margin-bottom: 8px;
  font-size: 28px;
}

.join-box > p {
  margin-bottom: 24px;
  font-size: 13px;
  line-height: 1.7;
}

.join-form {
  display: grid;
  gap: 16px;
}

.join-field label {
  display: block;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.join-field input,
.join-field textarea,
.join-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.join-field input:focus,
.join-field textarea:focus,
.join-field select:focus {
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.12);
}

.join-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.join-submit {
  margin-top: 6px;
  min-height: 48px;
  border: 0;
  border-radius: 5px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.join-submit:hover {
  background: var(--saffron);
}

body.modal-open {
  overflow: hidden;
}

/* ── Reveal ───────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    justify-self: start;
    margin-top: 20px;
  }

  .hero-rail {
    display: none;
  }

  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .partners-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .main-nav,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .journey {
    grid-template-columns: 1fr 1fr;
  }

  .journey-step:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .journey-step:nth-child(3)::before {
    left: 0;
  }

  .purpose-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .section-head .section-text {
    margin-top: 20px;
    text-align: left;
  }

  .cta-inner {
    display: block;
  }

  .cta-actions {
    margin-top: 26px;
  }
}

@media (max-width: 620px) {
  .container {
    width: calc(100% - 32px);
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .hero-float.one {
    left: -8px;
  }

  .hero-float.two {
    right: -6px;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-row {
    grid-template-columns: 40px 1fr;
    gap: 14px;
  }

  .service-row .arrow {
    display: none;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom .legal-links {
    margin-top: 12px;
  }

  .join-row {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   INNER PAGES — About / Services / Contact
   ========================================================= */

/* Inner hero */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(760px 420px at 88% -12%, rgba(255, 122, 0, 0.18), transparent 62%),
    radial-gradient(620px 380px at 0% 118%, rgba(19, 184, 58, 0.2), transparent 60%),
    radial-gradient(520px 320px at 65% 120%, rgba(8, 189, 242, 0.16), transparent 62%),
    linear-gradient(160deg, #072A63 0%, #0B3F91 58%, #072A63 100%);
  color: #fff;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
  padding: clamp(54px, 7vw, 90px) 0 clamp(58px, 7vw, 96px);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb i {
  font-size: 9px;
  opacity: 0.6;
}

.page-hero h1 {
  max-width: 860px;
  color: #fff;
  font-size: clamp(38px, 5.4vw, 68px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
}

.page-hero h1 em {
  font-style: normal;
  color: var(--saffron);
}

.page-hero h1 .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.7);
}

.page-hero-lead {
  max-width: 620px;
  margin-top: 22px;
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.7);
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.page-hero-actions .btn-ghost {
  border-color: rgba(255, 255, 255, 0.26);
  color: #fff;
}

.page-hero-actions .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.page-hero-meta span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.page-hero-meta strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-head);
  font-size: 22px;
  letter-spacing: -0.02em;
  color: #fff;
}

/* Generic grids */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: var(--line);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--line);
}

.info-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px 34px;
  background: #fff;
}

.info-card .num {
  margin-bottom: 30px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--saffron);
}

.info-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--green);
  font-size: 19px;
}

.info-card h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.info-card p {
  font-size: 13px;
  line-height: 1.7;
}

/* Story / split text */
.story-copy p + p {
  margin-top: 14px;
}

.story-copy p {
  font-size: 14px;
  line-height: 1.8;
}

.text-panel {
  position: relative;
  border: 1px solid var(--line);
  background: #fff;
  padding: 36px 34px;
  box-shadow: var(--shadow-sm);
}

.text-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--saffron);
}

.text-panel.mission::before {
  background: var(--green);
}

.text-panel h3 {
  margin-bottom: 12px;
  font-size: 21px;
}

.text-panel p {
  font-size: 13.5px;
  line-height: 1.75;
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.check-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.check-list i {
  color: var(--green);
  font-size: 15px;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 10px;
  border-top: 2px solid var(--ink);
}

.step-item {
  position: relative;
  padding: 30px 28px 8px 0;
}

.step-item + .step-item {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.step-item::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--saffron);
}

.step-item + .step-item::before {
  left: 28px;
}

.step-item .num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--saffron);
}

.step-item h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.step-item p {
  font-size: 12.5px;
  line-height: 1.65;
}

/* Services page */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.feature-card {
  position: relative;
  padding: 38px 34px;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--saffron);
}

.feature-card.alt::before {
  background: var(--green);
}

.feature-card h3 {
  margin: 18px 0 12px;
  font-size: 24px;
}

.feature-card p {
  font-size: 13.5px;
  line-height: 1.75;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.chip {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--paper);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: var(--line);
}

.service-tile {
  position: relative;
  padding: 30px 26px 32px;
  background: #fff;
  transition: background 0.2s ease;
}

.service-tile:hover {
  background: var(--paper);
}

.service-tile::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 3px;
  background: var(--saffron);
  transition: width 0.3s var(--ease);
}

.service-tile:hover::after {
  width: 100%;
}

.service-tile .info-icon {
  margin-bottom: 16px;
}

.service-tile h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

.service-tile p {
  font-size: 12.5px;
  line-height: 1.65;
}

/* Ecosystem band */
.ecosystem-band {
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ecosystem-band strong {
  font-family: var(--font-head);
  font-size: 22px;
  color: #fff;
}

.ecosystem-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ecosystem-chips span {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  align-items: start;
}

.contact-panel {
  border: 1px solid var(--line);
  background: #fff;
  padding: 30px;
}

.contact-panel h3 {
  margin-bottom: 18px;
  font-size: 20px;
}

.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-line:last-child {
  border-bottom: 0;
}

.contact-line .info-icon {
  width: 38px;
  height: 38px;
  margin: 0;
  flex-shrink: 0;
  font-size: 16px;
}

.contact-line span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.contact-line strong {
  display: block;
  margin-top: 3px;
  font-size: 13.5px;
  color: var(--ink);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--saffron);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.13);
}

.contact-form textarea {
  min-height: 110px;
  resize: vertical;
}

.map-frame {
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

@media (max-width: 980px) {
  .grid-3,
  .grid-4,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    border-top: 2px solid var(--ink);
  }

  .step-item {
    padding: 24px 0 20px;
    border-left: 0 !important;
    border-bottom: 1px solid var(--line);
  }

  .step-item::before {
    left: 0;
    top: 8px;
  }

  .step-item + .step-item::before {
    left: 0;
  }

  .step-item h3 {
    padding-left: 22px;
  }

  .step-item p {
    padding-left: 22px;
  }
}

@media (max-width: 640px) {
  .grid-3,
  .grid-4,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-form .row {
    grid-template-columns: 1fr;
  }

  .page-hero h1 {
    font-size: clamp(34px, 11vw, 48px);
  }
}

/* Grid fix: separated bordered cards (no coloured empty cells on odd rows). */
.grid-3,
.grid-4,
.services-grid {
  gap: 20px;
  border: 0;
  background: transparent;
}

.grid-3 > .info-card,
.grid-4 > .info-card,
.services-grid > .service-tile {
  border: 1px solid var(--line);
}

/* Panels keep dark headings even inside .section-ink. */
.section-ink .text-panel h3 {
  color: var(--ink);
}

.section-ink .text-panel p {
  color: var(--muted);
}

/* Keep all three tricolour segments visible against a light section above. */
.footer-tricolour {
  border-top: 6px solid var(--ink);
}
