/* ==========================================================================
   Payward @ paywrd.com — OpenPayd-inspired light fintech system
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f5;
  --bg-muted: #eef0f5;
  --bg-tint: #fff4ff;
  --bg-tint-blue: #e6faff;

  --text: #001244;
  --text-secondary: #3d4a66;
  --text-muted: #8e8e8e;
  --text-dim: #b0b6c5;

  --primary: #c125dd;
  --primary-hover: #e348ff;
  --primary-deep: #b514f7;
  --accent: #00ccff;
  --accent-2: #625bfb;
  --navy: #001244;
  --success: #0d9488;

  --gradient-aura: linear-gradient(90deg, #e348ff 0%, #b514f7 30%, #625bfb 70%, #00ccff 100%);
  --gradient-soft: linear-gradient(135deg, #fff4ff 0%, #efefff 45%, #e6faff 100%);
  --gradient-hero: radial-gradient(ellipse 80% 70% at 70% 0%, rgba(227, 72, 255, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 50% at 10% 30%, rgba(0, 204, 255, 0.1), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #faf7ff 50%, #ffffff 100%);

  --border: #e6e7ec;
  --border-strong: #d0d4de;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Inter", system-ui, sans-serif;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(0, 18, 68, 0.04);
  --shadow: 0 8px 30px rgba(0, 18, 68, 0.06);
  --shadow-lg: 0 20px 50px rgba(0, 18, 68, 0.08);

  --nav-h: 76px;
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 200ms;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 2rem;
  }
}

.section {
  padding-block: 5rem;
  position: relative;
}

@media (min-width: 768px) {
  .section {
    padding-block: 6.5rem;
  }
}

.section-sm {
  padding-block: 3.5rem;
}

.section-soft {
  background: var(--bg-soft);
}

.section-tint {
  background: var(--gradient-soft);
}

h1,
h2,
h3,
h4 {
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

h1 {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 800;
}

h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  font-weight: 700;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 40rem;
  font-weight: 400;
}

.text-muted {
  color: var(--text-muted);
}

.text-gradient {
  background: var(--gradient-aura);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-header {
  margin-bottom: 2.75rem;
  max-width: 40rem;
}

.section-header.center {
  margin-inline: auto;
  text-align: center;
}

.section-header.center .lead {
  margin-inline: auto;
}

.section-header h2 {
  margin-bottom: 0.85rem;
}

/* Buttons — OpenPayd style */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.2s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(193, 37, 221, 0.25);
}

.btn-primary:hover {
  background: var(--gradient-aura);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(98, 91, 251, 0.28);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: transparent;
  background: var(--gradient-aura);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: none;
  min-height: 44px;
  padding-inline: 0.75rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  font-size: 0.9rem;
}

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

.btn-sm {
  min-height: 42px;
  padding: 0.55rem 1.25rem;
  font-size: 0.75rem;
}

.btn-lg {
  min-height: 56px;
  padding: 0.95rem 2rem;
  font-size: 0.875rem;
}

.btn-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* Cards */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

.card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.card-interactive {
  cursor: pointer;
}

.card-interactive:hover {
  transform: translateY(-3px);
  border-color: rgba(193, 37, 221, 0.35);
  box-shadow: var(--shadow-lg);
}

.card-soft {
  background: var(--bg-soft);
  border-color: transparent;
}

/* Layout helpers */
.grid-2 {
  display: grid;
  gap: 1.25rem;
}
.grid-3 {
  display: grid;
  gap: 1.25rem;
}
.grid-4 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* ========== NAV ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background var(--duration) var(--ease), box-shadow var(--duration) var(--ease),
    border-color var(--duration) var(--ease);
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(0, 18, 68, 0.04);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 110;
  color: var(--navy);
}

.logo-wordmark {
  height: 18px;
  width: auto;
  display: block;
}

@media (min-width: 640px) {
  .logo-wordmark {
    height: 20px;
  }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

@media (min-width: 960px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--duration), background var(--duration);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
  background: var(--bg-soft);
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 960px) {
  .nav-actions {
    display: flex;
  }
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
  z-index: 110;
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--navy);
  transition: transform var(--duration) var(--ease), top var(--duration) var(--ease);
}

.nav-toggle span::before {
  top: -6px;
}
.nav-toggle span::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: #fff;
  padding: calc(var(--nav-h) + 1.5rem) 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  overflow-y: auto;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav a {
  display: block;
  padding: 1rem 0.25rem;
  font-size: 1.15rem;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.mobile-nav-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92dvh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: 4rem;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0, 18, 68, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 18, 68, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2.5rem;
  align-items: center;
  width: 100%;
}

@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

.hero-content h1 {
  margin-bottom: 1.25rem;
}

.hero-content .lead {
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 480px;
}

@media (min-width: 640px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-value {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 0.15rem;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.3;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  aspect-ratio: 16 / 11;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  box-shadow: var(--shadow);
}

/* ========== PRODUCTS ========== */
.products-bento {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .products-bento {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .products-bento {
    grid-template-columns: repeat(4, 1fr);
  }
  .products-bento .product-card:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }
  .products-bento .product-card:nth-child(2) {
    grid-column: span 2;
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
  padding: 1.5rem;
  background: #fff;
}

.product-logo {
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 1.25rem;
}

.product-card h3 {
  margin-bottom: 0.45rem;
}

.product-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  transition: gap var(--duration);
}

.product-card:hover .product-link {
  gap: 0.55rem;
}

/* Feature image panels */
.feature-panel {
  display: grid;
  gap: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
}

@media (min-width: 900px) {
  .feature-panel {
    grid-template-columns: 1fr 1fr;
  }
  .feature-panel.reverse .feature-panel-media {
    order: 2;
  }
}

.feature-panel-media {
  min-height: 260px;
  background: var(--bg-soft);
}

.feature-panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 260px;
}

.feature-panel-body {
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 900px) {
  .feature-panel-body {
    padding: 3rem;
  }
}

.feature-panel-body h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.feature-panel-body p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.feature-panel-body ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.feature-panel-body li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.feature-panel-body li svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Pillars */
.pillars {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar {
  padding: 2rem 1.5rem;
  height: 100%;
}

.pillar-num {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 1rem;
}

.pillar h3 {
  margin-bottom: 0.65rem;
}

.pillar p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pillar ul {
  margin-top: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.pillar li {
  display: flex;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pillar li svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Stats band */
.stats-band {
  background: var(--navy);
  color: #fff;
}

.stats-band .stat-value {
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  background: var(--gradient-aura);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stats-band .stat-label {
  color: rgba(255, 255, 255, 0.7);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 720px;
  margin-inline: auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 0.25rem;
  bottom: 0.25rem;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), rgba(193, 37, 221, 0.15));
}

@media (min-width: 640px) {
  .timeline::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-item {
  position: relative;
  padding-left: 2.25rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .timeline-item {
    width: 50%;
    padding-left: 0;
    padding-right: 2.5rem;
  }
  .timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-right: 0;
    padding-left: 2.5rem;
  }
}

.timeline-dot {
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 4px rgba(193, 37, 221, 0.12);
}

@media (min-width: 640px) {
  .timeline-item .timeline-dot {
    left: auto;
    right: -0.5rem;
  }
  .timeline-item:nth-child(even) .timeline-dot {
    left: -0.5rem;
    right: auto;
  }
}

.timeline-year {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.3rem;
  letter-spacing: 0.02em;
}

.timeline-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* People */
.people-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.person-card {
  text-align: center;
  padding: 1.25rem 1rem 1.5rem;
}

.person-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--border), var(--shadow-sm);
  background: var(--bg-soft);
}

.person-card h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.person-role {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.person-bio {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* News */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.news-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.15rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color var(--duration), box-shadow var(--duration);
  cursor: pointer;
}

@media (min-width: 640px) {
  .news-item {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }
}

.news-item:hover {
  border-color: rgba(193, 37, 221, 0.35);
  box-shadow: var(--shadow);
}

.news-date {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
  flex-shrink: 0;
  min-width: 7.5rem;
}

.news-title {
  font-weight: 600;
  font-size: 0.975rem;
  flex: 1;
  color: var(--navy);
}

.news-arrow {
  color: var(--text-dim);
  flex-shrink: 0;
  transition: color var(--duration), transform var(--duration);
}

.news-item:hover .news-arrow {
  color: var(--primary);
  transform: translateX(3px);
}

/* Forms */
.form-group {
  margin-bottom: 1.15rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--text);
  transition: border-color var(--duration), box-shadow var(--duration);
}

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

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(193, 37, 221, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-dim);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238e8e8e' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-error {
  font-size: 0.8rem;
  color: #dc2626;
  margin-top: 0.35rem;
  display: none;
}

.form-group.has-error .form-error {
  display: block;
}

.form-group.has-error .form-input,
.form-group.has-error .form-select,
.form-group.has-error .form-textarea {
  border-color: #dc2626;
}

.form-success {
  display: none;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(13, 148, 136, 0.35);
  background: rgba(13, 148, 136, 0.08);
  color: var(--success);
  text-align: center;
}

.form-success.show {
  display: block;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-card h3 {
  margin-bottom: 0.4rem;
}

.contact-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}

.contact-card a {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* Page hero */
.page-hero {
  padding-top: calc(var(--nav-h) + 3.5rem);
  padding-bottom: 3rem;
  background: var(--gradient-hero);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  margin-bottom: 1rem;
  max-width: 16ch;
}

/* CTA band */
.cta-band-inner {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 3rem 1.75rem;
  text-align: center;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}

.cta-band-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(193, 37, 221, 0.35), transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 80%, rgba(0, 204, 255, 0.2), transparent 55%);
  pointer-events: none;
}

.cta-band-inner > * {
  position: relative;
  z-index: 1;
}

.cta-band-inner h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.cta-band-inner .lead {
  color: rgba(255, 255, 255, 0.75);
  margin-inline: auto;
  margin-bottom: 1.75rem;
}

.cta-band-inner .eyebrow {
  color: #f7c4ff;
  justify-content: center;
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.cta-band-inner .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.cta-band-inner .btn-secondary:hover {
  border-color: transparent;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding-top: 4rem;
  padding-bottom: 2rem;
  background: var(--bg-soft);
  margin-top: 0;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
  }
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 28ch;
  line-height: 1.55;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color var(--duration);
}

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

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  background: #fff;
  transition: border-color var(--duration), box-shadow var(--duration);
}

.footer-social a:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.footer-social img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  /* Icons are tall viewBoxes from Payward CMS — crop to mark */
  object-position: center;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: 52rem;
  line-height: 1.5;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}

.footer-legal a {
  color: var(--text-muted);
  font-weight: 600;
}

.footer-legal a:hover {
  color: var(--primary);
}

/* Misc */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(193, 37, 221, 0.08);
  color: var(--primary);
  border: 1px solid rgba(193, 37, 221, 0.18);
}

.values-list {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .values-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.value-item {
  padding: 1.25rem;
}

.value-item h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.value-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.jurisdiction-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .jurisdiction-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .jurisdiction-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.jurisdiction-card h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  margin-bottom: 0.65rem;
}

.jurisdiction-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.flag-img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

.tab-btn {
  padding: 0.55rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: all var(--duration) var(--ease);
}

.tab-btn:hover {
  color: var(--text);
  background: var(--bg-soft);
}

.tab-btn.active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.35s var(--ease);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.career-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.career-card h3 {
  margin-bottom: 0.35rem;
}

.career-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  flex: 1;
}

.how-we-work {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .how-we-work {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .how-we-work {
    grid-template-columns: repeat(3, 1fr);
  }
}

.how-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
}

.how-item svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.how-item span {
  font-size: 0.925rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  z-index: 200;
  max-width: 420px;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  display: none;
}

.cookie-banner.show {
  display: block;
  animation: fadeIn 0.4s var(--ease);
}

.cookie-banner p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.cookie-banner p a {
  color: var(--primary);
  font-weight: 700;
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 999;
  background: var(--primary);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-4 {
  margin-bottom: 2rem;
}

.prose {
  max-width: 42rem;
  color: var(--text-secondary);
}

.prose p + p {
  margin-top: 1rem;
}

.prose ul {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.prose li {
  padding-left: 1.25rem;
  position: relative;
}

.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.two-col-layout {
  display: grid;
  gap: 3rem;
}

@media (min-width: 900px) {
  .two-col-layout {
    grid-template-columns: 1fr 360px;
    align-items: start;
  }
}

.sticky-aside {
  position: sticky;
  top: calc(var(--nav-h) + 1.5rem);
}

.media-kit {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .media-kit {
    grid-template-columns: repeat(3, 1fr);
  }
}

.globe-img {
  width: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.check-list li {
  display: flex;
  gap: 0.55rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.check-list svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2rem;
  justify-content: center;
  opacity: 0.85;
}

.logo-row img {
  height: 28px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}
