/* ==========================================================================
   CR Processing - Shared Stylesheet
   Modern fintech theme · vanilla CSS · no build step
   Palette inspired by "Tech Innovation" (electric blue + cyan) over deep navy
   ========================================================================== */

/* ---- Design tokens ---- */
:root {
  /* Brand */
  --navy-900: #081427;
  --navy-800: #0b1f3a;
  --navy-700: #102a4c;
  --blue-700: #1450c4;
  --blue-600: #1f5fd6;
  --blue-500: #2e74ee;
  --blue-300: #7aa9f7;
  --cyan-400: #19c6dd;
  --cyan-300: #5bdcef;

  /* Neutrals */
  --ink: #16202e;
  --slate-700: #3a4658;
  --slate-500: #5b6b80;
  --slate-400: #8493a6;
  --line: #e4eaf2;
  --line-soft: #eef2f8;
  --bg: #ffffff;
  --bg-soft: #f5f8fd;
  --bg-tint: #eef4fe;
  --white: #ffffff;

  /* Effects */
  --grad-brand: linear-gradient(120deg, var(--blue-600) 0%, var(--cyan-400) 100%);
  --grad-deep: linear-gradient(155deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--blue-700) 120%);
  --grad-soft: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);

  --maxw: 1160px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(8, 20, 39, 0.06);
  --shadow-sm: 0 4px 14px rgba(8, 20, 39, 0.07);
  --shadow-md: 0 14px 34px rgba(8, 20, 39, 0.12);
  --shadow-lg: 0 30px 60px rgba(8, 20, 39, 0.22);
  --ring: 0 0 0 4px rgba(31, 95, 214, 0.18);

  --font-head: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--navy-800);
  line-height: 1.12;
  margin: 0 0 0.5em;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.6rem);
}

h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--blue-600);
  text-decoration: none;
  transition: color 0.15s var(--ease);
}

a:hover {
  color: var(--blue-700);
}

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

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--radius-sm);
}

/* ---- Layout helpers ---- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5.5rem 0;
}

.section--tight {
  padding: 3.75rem 0;
}

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

.section--tint {
  background:
    radial-gradient(1100px 420px at 12% -10%, var(--bg-tint), transparent 60%),
    var(--bg);
}

.section__head {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section__head p {
  color: var(--slate-500);
  font-size: 1.1rem;
  margin: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--blue-600);
  margin-bottom: 0.9rem;
  font-family: var(--font-head);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
}

.section__head .eyebrow {
  justify-content: center;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.12s var(--ease), box-shadow 0.2s var(--ease),
    background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn--primary {
  background: var(--grad-brand);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(31, 95, 214, 0.32);
}

.btn--primary:hover {
  color: var(--white);
  box-shadow: 0 16px 32px rgba(31, 95, 214, 0.42);
}

.btn--light {
  background: var(--white);
  color: var(--navy-800);
  box-shadow: var(--shadow-sm);
}

.btn--light:hover {
  color: var(--blue-700);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--blue-700);
  border-color: rgba(31, 95, 214, 0.35);
}

.btn--outline:hover {
  background: var(--bg-tint);
  border-color: var(--blue-600);
}

/* ---- Header / nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background 0.2s var(--ease);
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
  background: rgba(255, 255, 255, 0.92);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--navy-800);
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--navy-800);
}

.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--grad-brand);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(31, 95, 214, 0.35);
}

.brand__logo {
  display: block;
  height: 36px;
  width: auto;
}

.brand__logo--footer {
  height: 30px;
}

/* shown only if the footer logo image is missing (graceful fallback) */
.brand__fallback {
  display: none;
  align-items: center;
  gap: 0.65rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  display: inline-block;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-pill);
  color: var(--slate-700);
  font-weight: 600;
  font-size: 0.96rem;
}

.nav__links a:hover {
  background: var(--bg-tint);
  color: var(--blue-700);
}

.nav__links a.is-active {
  color: var(--blue-700);
  background: var(--bg-tint);
}

.nav__cta {
  margin-left: 0.5rem;
}

/* Mobile nav toggle (CSS-only, JS-enhanced) */
.nav__toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.6rem;
  border-radius: 10px;
}

.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-800);
  position: relative;
  border-radius: 2px;
  transition: 0.2s var(--ease);
}

.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav__toggle span::before {
  top: -7px;
}

.nav__toggle span::after {
  top: 7px;
}

#nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

#nav-toggle:checked + .nav__toggle span {
  background: transparent;
}

#nav-toggle:checked + .nav__toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

#nav-toggle:checked + .nav__toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--grad-deep);
  color: var(--white);
  padding: 6rem 0 6.5rem;
}

.hero::before {
  /* dotted grid */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 10%, #000 35%, transparent 75%);
  mask-image: radial-gradient(120% 90% at 70% 10%, #000 35%, transparent 75%);
  opacity: 0.8;
}

.hero::after {
  /* glow */
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -160px;
  top: -220px;
  background: radial-gradient(circle, rgba(25, 198, 221, 0.35), transparent 62%);
  filter: blur(8px);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.9rem 0.45rem 0.55rem;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.6rem;
  backdrop-filter: blur(6px);
}

.hero__badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-300);
  box-shadow: 0 0 0 4px rgba(91, 220, 239, 0.25);
}

.hero h1 {
  color: var(--white);
  max-width: 15ch;
  margin-bottom: 1.1rem;
}

.hero h1 .grad {
  background: linear-gradient(100deg, var(--cyan-300), var(--blue-300));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__tagline {
  font-size: 1.18rem;
  color: rgba(233, 240, 252, 0.82);
  max-width: 52ch;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.2rem;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: rgba(233, 240, 252, 0.7);
  font-size: 0.9rem;
}

.hero__trust .tick {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero__trust svg {
  width: 18px;
  height: 18px;
  color: var(--cyan-300);
}

/* Hero visual: floating payment card stack */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 360px;
}

.pay-card {
  position: relative;
  width: 360px;
  max-width: 100%;
  aspect-ratio: 1.586 / 1;
  border-radius: 22px;
  padding: 1.5rem;
  color: var(--white);
  background: linear-gradient(135deg, #1a3a82 0%, #1f5fd6 45%, #19c6dd 130%);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  animation: floaty 6s ease-in-out infinite;
}

.pay-card::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -80px;
  bottom: -120px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 65%);
}

.pay-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pay-card__chip {
  width: 44px;
  height: 32px;
  border-radius: 7px;
  background: linear-gradient(135deg, #ffe08a, #f4c14b);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.pay-card__brand {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.pay-card__number {
  font-family: var(--font-head);
  font-size: 1.28rem;
  letter-spacing: 0.14em;
  font-weight: 600;
}

.pay-card__row {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
}

.pay-card__row strong {
  display: block;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.pay-pill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy-800);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  font-size: 0.86rem;
  font-weight: 600;
  font-family: var(--font-head);
}

.pay-pill svg {
  width: 20px;
  height: 20px;
  color: var(--blue-600);
}

.pay-pill--a {
  top: 6%;
  left: -4%;
  animation: floaty 5s ease-in-out infinite;
}

.pay-pill--b {
  bottom: 8%;
  right: -6%;
  animation: floaty 6.5s ease-in-out infinite reverse;
}

.pay-pill .ok {
  color: #16a34a;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---- Industries strip ---- */
.strip {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--white);
}

.strip__label {
  text-align: center;
  color: var(--slate-400);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

.strip__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem 0.9rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--bg-soft);
  color: var(--slate-700);
  font-weight: 600;
  font-size: 0.9rem;
}

.chip svg {
  width: 18px;
  height: 18px;
  color: var(--blue-600);
}

/* ---- Feature grid ---- */
.grid {
  display: grid;
  gap: 1.5rem;
}

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

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.9rem;
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    border-color 0.2s var(--ease);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 100%;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.card:hover::before {
  transform: scaleX(1);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: var(--bg-tint);
  color: var(--blue-600);
  margin-bottom: 1.2rem;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.card:hover .card__icon {
  background: var(--grad-brand);
  color: var(--white);
}

.card__icon svg {
  width: 26px;
  height: 26px;
}

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

.card p {
  color: var(--slate-500);
  margin: 0;
  font-size: 0.98rem;
}

/* ---- How it works ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-xs);
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad-deep);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 1.1rem;
}

.step h3 {
  margin-bottom: 0.4rem;
}

.step p {
  color: var(--slate-500);
  margin: 0;
  font-size: 0.97rem;
}

/* ---- Stats band ---- */
.stats-band {
  position: relative;
  overflow: hidden;
  background: var(--grad-deep);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  color: var(--white);
}

.stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1.4px);
  background-size: 24px 24px;
  opacity: 0.6;
}

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

.stat__num {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  background: linear-gradient(100deg, var(--cyan-300), var(--blue-300));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat__label {
  font-size: 0.92rem;
  color: rgba(233, 240, 252, 0.78);
}

/* ---- Split / feature row ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.panel {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--grad-deep);
  color: var(--white);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.panel::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -120px;
  top: -120px;
  background: radial-gradient(circle, rgba(25, 198, 221, 0.3), transparent 65%);
}

.panel__list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.panel__list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.panel__list .ico {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: var(--cyan-300);
}

.panel__list .ico svg { width: 18px; height: 18px; }

.panel__list strong {
  font-family: var(--font-head);
  display: block;
  color: var(--white);
}

.panel__list span {
  color: rgba(233, 240, 252, 0.75);
  font-size: 0.92rem;
}

/* ---- Checklist ---- */
.checklist {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.checklist li {
  position: relative;
  padding-left: 2.1rem;
  color: var(--slate-700);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231f5fd6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ---- Prose ---- */
.prose { max-width: 720px; }
.prose p { color: var(--slate-700); font-size: 1.08rem; }
.lead { font-size: 1.25rem; color: var(--slate-500); }

/* ---- Values (about) ---- */
.value {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.value:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.value__icon {
  width: 50px; height: 50px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--grad-brand); color: var(--white); margin-bottom: 1.1rem;
}
.value__icon svg { width: 24px; height: 24px; }

/* ---- CTA band ---- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--grad-brand);
  color: var(--white);
  text-align: center;
  border-radius: var(--radius-lg);
  padding: 3.4rem 1.5rem;
  box-shadow: var(--shadow-md);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1.4px);
  background-size: 22px 22px;
  opacity: 0.5;
}

.cta-band > * { position: relative; }

.cta-band h2 { color: var(--white); }

.cta-band p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 52ch;
  margin: 0 auto 1.8rem;
  font-size: 1.08rem;
}

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

.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.form__note {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  background: var(--bg-tint);
  border: 1px solid rgba(31, 95, 214, 0.16);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  color: var(--slate-700);
  margin-bottom: 1.6rem;
}

.form__note svg { width: 20px; height: 20px; color: var(--blue-600); flex: 0 0 auto; }

.field { margin-bottom: 1.15rem; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
  color: var(--navy-800);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg-soft);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease),
    background 0.15s var(--ease);
}

.field input::placeholder,
.field textarea::placeholder { color: var(--slate-400); }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  background: var(--white);
  box-shadow: var(--ring);
}

.field textarea { min-height: 150px; resize: vertical; }

.form__success {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  background: #ecfdf3;
  border: 1px solid #abefc6;
  color: #067647;
  font-size: 0.92rem;
  font-weight: 600;
}

.form__success.show { display: block; }

.form__error {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  background: #fef3f2;
  border: 1px solid #fecdca;
  color: #b42318;
  font-size: 0.92rem;
  font-weight: 600;
}

.form__error.show { display: block; }

/* hCaptcha widget spacing */
.h-captcha {
  margin: 0 0 1.25rem;
}

/* Honeypot: removed from view and from the tab order, still in the DOM for bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Disabled submit state while sending */
.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.6;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.contact-cards { display: grid; gap: 1rem; }

.contact-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.contact-card__icon {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border-radius: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-tint); color: var(--blue-600);
}
.contact-card__icon svg { width: 22px; height: 22px; }

.contact-card__label {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy-800);
  font-size: 0.92rem;
  margin-bottom: 0.15rem;
}

.contact-card__value { color: var(--slate-500); font-size: 0.96rem; }
.contact-card__value a { color: var(--slate-500); }
.contact-card__value a:hover { color: var(--blue-700); }

/* ---- FAQ ---- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 0.9rem; }

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 1.4rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy-800);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--blue-600);
  line-height: 1;
  transition: transform 0.2s var(--ease);
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq details > p {
  margin: 0;
  padding: 0 1.4rem 1.25rem;
  color: var(--slate-500);
  font-size: 0.98rem;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--navy-900);
  color: rgba(233, 240, 252, 0.72);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .brand { color: var(--white); margin-bottom: 1rem; }

.footer-about { color: rgba(233, 240, 252, 0.62); font-size: 0.95rem; max-width: 32ch; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer-col a { color: rgba(233, 240, 252, 0.7); font-size: 0.95rem; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  font-size: 0.88rem;
  color: rgba(233, 240, 252, 0.55);
}

.footer-bottom .legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-bottom .legal a { color: rgba(233, 240, 252, 0.55); }
.footer-bottom .legal a:hover { color: var(--white); }

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}

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

/* stagger helpers */
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__visual { min-height: 320px; order: -1; }
  .pay-card { width: 320px; }
  .split { grid-template-columns: 1fr; gap: 2.25rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; max-width: none; }
}

@media (max-width: 860px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }

  .nav__toggle { display: block; }

  .nav__links {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 1rem 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s var(--ease), padding 0.28s var(--ease);
  }

  #nav-toggle:checked ~ .nav__links { max-height: 420px; }

  .nav__links a { padding: 0.85rem 0.6rem; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav__links li:last-child a { border-bottom: 0; }
  .nav__cta { margin: 0.6rem 0 0; }
  .nav__cta a { display: block; text-align: center; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 3.75rem 0; }
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 4.5rem 0 5rem; }
  .brand__logo { height: 30px; }
  .pay-pill--a { left: 0; }
  .pay-pill--b { right: 0; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .pay-card, .pay-pill { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn:hover, .card:hover, .value:hover, .contact-card:hover { transform: none; }
}

/* ---- Cross-document page transitions (progressive enhancement) ---- */
/* Opts same-origin navigations into a smooth transition. Browsers without
   support just navigate normally. Note: this runs when the site is served
   over http(s); opening the files straight from disk skips the effect. */
@view-transition {
  navigation: auto;
}

/* Hold the header steady so only the page content animates between pages */
.site-header {
  view-transition-name: site-header;
}

/* Soft cross-fade with a slight upward rise for the page content */
::view-transition-old(root) {
  animation: vt-fade-out 200ms var(--ease) both;
}

::view-transition-new(root) {
  animation: vt-rise-in 340ms var(--ease) both;
}

@keyframes vt-fade-out {
  to { opacity: 0; }
}

@keyframes vt-rise-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Cut the transition entirely for reduced-motion users */
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}
