/* ============================================================
   Instant Pay: premium trust / business-card landing page
   Palette: deep navy, bright blue, light blues, off-white
   Type: Hanken Grotesk (display) + Inter (body)
   ============================================================ */

:root {
  --navy-900: #0a1f44;
  --navy-800: #0a2540;
  --navy-700: #12305c;
  --blue-600: #1e6fff;
  --blue-500: #2d7dff;
  --blue-400: #4f93ff;
  --blue-200: #b9d4ff;
  --blue-100: #e6f0ff;
  --ink: #0c1b33;
  --slate: #5b6b85;
  --slate-light: #8392a8;
  --white: #ffffff;
  --off-white: #f6f9ff;
  --line: rgba(10, 31, 68, 0.08);
  --line-strong: rgba(10, 31, 68, 0.12);
  --hairline: rgba(10, 31, 68, 0.06);

  --grad-brand: linear-gradient(120deg, var(--navy-900) 0%, var(--blue-600) 100%);
  --grad-text: linear-gradient(120deg, var(--blue-600), var(--blue-400));

  --shadow-xs: 0 1px 2px rgba(10, 31, 68, 0.05);
  --shadow-sm: 0 2px 8px rgba(10, 31, 68, 0.06);
  --shadow-md: 0 12px 36px rgba(10, 31, 68, 0.1);
  --shadow-lg: 0 28px 70px rgba(10, 31, 68, 0.14);
  --shadow-card: 0 30px 60px -20px rgba(8, 22, 48, 0.55);

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --max: 1140px;

  --font-display: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Tabular, lining figures everywhere for a precise, institutional feel */
  --num: "tnum" 1, "lnum" 1;

  /* ----------------------------------------------------------------
     HERO BACKGROUND IMAGE: single point of control.
     To use a final image, set --hero-bg to a real file, e.g.:
       --hero-bg: url("assets/bg-options/bg-02-abstract-shield.jpg");
     Leave as `none` to use the premium navy gradient default below.
     Candidates live in assets/bg-options/ (do not delete).
     ---------------------------------------------------------------- */
  --hero-bg: url("assets/hero-bg.jpg");
  --hero-bg-gradient: radial-gradient(1100px 620px at 78% -8%, #163b78 0%, transparent 60%),
                      radial-gradient(900px 560px at 6% 8%, #0e2a55 0%, transparent 58%),
                      linear-gradient(160deg, #0a1f44 0%, #081730 55%, #050f22 100%);
  --hero-scrim: linear-gradient(180deg, rgba(5, 14, 32, 0.58) 0%, rgba(6, 17, 38, 0.72) 58%, rgba(8, 23, 48, 0.9) 100%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-feature-settings: var(--num);
  color: var(--ink);
  background: var(--off-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ---------- Decorative background ---------- */
.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(45, 125, 255, 0.1), transparent 60%),
    radial-gradient(900px 600px at 0% 10%, rgba(185, 212, 255, 0.28), transparent 55%),
    var(--off-white);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  --py: 0px;
  animation: float 18s ease-in-out infinite;
  will-change: transform;
}
.orb--1 { width: 520px; height: 520px; top: -160px; right: -120px;
  background: radial-gradient(circle at 30% 30%, var(--blue-400), transparent 70%); }
.orb--2 { width: 460px; height: 460px; top: 36%; left: -180px;
  background: radial-gradient(circle at 50% 50%, var(--blue-200), transparent 70%);
  animation-delay: -6s; }
.orb--3 { width: 380px; height: 380px; bottom: -140px; right: 12%;
  background: radial-gradient(circle at 50% 50%, rgba(30, 111, 255, 0.35), transparent 70%);
  animation-delay: -11s; }

@keyframes float {
  0%, 100% { transform: translate3d(0, var(--py, 0px), 0) scale(1); }
  50% { transform: translate3d(20px, calc(var(--py, 0px) - 28px), 0) scale(1.06); }
}

.grid-overlay {
  position: absolute;
  inset: -10% 0;
  --py: 0px;
  transform: translate3d(0, var(--py, 0px), 0);
  will-change: transform;
  background-image:
    linear-gradient(rgba(10, 31, 68, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 31, 68, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}

/* Subtle grain overlay for depth (kept ultra-light for performance) */
.bg-aurora::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* ---------- Layout helpers ---------- */
section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin: 0 0 16px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue-400), transparent);
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::before {
  background: linear-gradient(90deg, transparent, var(--blue-400), transparent);
  width: 34px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 3.6vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--navy-900);
  margin: 0 0 14px;
}
.section-lead {
  font-size: 1.06rem;
  color: var(--slate);
  margin: 0;
  line-height: 1.65;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 249, 255, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--hairline);
  background: rgba(246, 249, 255, 0.86);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.brand-mark { display: inline-flex; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.26rem;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}
.brand-name--accent { color: var(--blue-600); }

/* Quiet, non-functional secondary nav (anchor links only, no buttons/CTAs) */
.header-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.header-nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  color: var(--slate);
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
}
.header-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 1px;
  background: var(--blue-500);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.header-nav a:hover { color: var(--navy-900); }
.header-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 96px 28px 120px;
  overflow: hidden;
  isolation: isolate;
}

/* Full-bleed background layer.
   The gradient lives on .hero-bg (always visible, never moves) and the
   photographic ribbon image lives on .hero-bg-img, which is parallaxed
   independently via the --py custom property set by script.js. */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--hero-bg-gradient);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Image layer is slightly oversized so the parallax translate never
   reveals an edge; transform-only motion keeps it on the GPU at 60fps. */
.hero-bg-img {
  position: absolute;
  inset: -12% 0 -6%;
  --py: 0px;
  background-image: var(--hero-bg, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: translate3d(0, var(--py, 0px), 0);
  will-change: transform;
}
.hero-bg-scrim {
  position: absolute;
  inset: 0;
  background: var(--hero-scrim);
}
/* Fine top hairline + soft bottom fade into the light page */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(246, 249, 255, 0.06) 100%);
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

.hero-copy { position: relative; max-width: 680px; }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 28px;
}
.hero-kicker .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue-400);
  box-shadow: 0 0 0 0 rgba(79, 147, 255, 0.7);
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(79, 147, 255, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(79, 147, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 147, 255, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--white);
  margin: 0 0 22px;
}
.grad-text {
  background: linear-gradient(120deg, var(--blue-400), var(--blue-200));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 480px;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 30px;
  line-height: 1.62;
}

/* Refined tagline as discrete pills */
.tagline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tagline li {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}
.tagline li.is-accent {
  color: var(--navy-900);
  background: var(--blue-200);
  border-color: transparent;
}

/* ---------- Hero card visual (CSS-drawn payment card) ---------- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 320px;
}

.pay-card {
  position: relative;
  width: clamp(290px, 32vw, 400px);
  aspect-ratio: 1.586 / 1;       /* ISO/IEC 7810 ID-1 ratio */
  border-radius: 22px;
  padding: 26px;
  color: #fff;
  background:
    radial-gradient(140% 120% at 85% 10%, rgba(79, 147, 255, 0.55) 0%, transparent 55%),
    linear-gradient(135deg, #163a78 0%, #0a2147 48%, #071630 100%);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
  transform: rotate(-6deg);
  animation: cardFloat 8s ease-in-out infinite;
  will-change: transform;
}
/* Moving sheen */
.pay-card::before {
  content: "";
  position: absolute;
  inset: -40% -10%;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.16) 50%, transparent 62%);
  transform: translateX(-30%);
  animation: sheen 7s ease-in-out infinite;
}
/* Soft engraved guilloché-style arcs */
.pay-card::after {
  content: "";
  position: absolute;
  right: -30%;
  bottom: -55%;
  width: 90%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 13px);
  opacity: 0.6;
}
@keyframes cardFloat {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50% { transform: rotate(-6deg) translateY(-14px); }
}
@keyframes sheen {
  0%, 100% { transform: translateX(-35%); }
  50% { transform: translateX(35%); }
}

.pay-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}
.pay-card-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
}
.pay-card-brand b { font-weight: 700; }
.pay-card-brand .accent { color: var(--blue-200); }

/* Contactless symbol (inline, drawn) */
.contactless { display: inline-flex; opacity: 0.92; }

.pay-card-mid {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  position: relative;
  z-index: 1;
}
/* EMV chip */
.chip {
  width: 46px;
  height: 35px;
  border-radius: 7px;
  background: linear-gradient(150deg, #f4d58b 0%, #d9ad55 45%, #f2cf83 100%);
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.chip::before,
.chip::after {
  content: "";
  position: absolute;
  background: rgba(120, 86, 18, 0.55);
}
.chip::before { left: 0; right: 0; top: 50%; height: 1px; transform: translateY(-0.5px); }
.chip::after { top: 0; bottom: 0; left: 33%; width: 1px; box-shadow: 14px 0 0 rgba(120, 86, 18, 0.55); }

.pay-card-number {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.82);
  font-feature-settings: var(--num);
}

.pay-card-foot {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  z-index: 1;
}
.pay-card-foot .label {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 3px;
}
.pay-card-foot .value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
}
.pay-card-foot .secure {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.72);
}

/* Floating secure chip badge behind/under the card */
.pay-glow {
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 125, 255, 0.45), transparent 65%);
  filter: blur(20px);
  z-index: -1;
  --py: 0px;
  transform: translate3d(0, var(--py, 0px), 0);
  will-change: transform;
}

/* ---------- Trust marquee strip ---------- */
.trust-strip {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.5);
}
.trust-strip-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 26px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--navy-800);
}
.trust-item svg { color: var(--blue-600); flex: none; }
.trust-item span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
}
.trust-item small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--slate-light);
  letter-spacing: 0;
}

/* ---------- Capabilities ---------- */
.capabilities {
  max-width: var(--max);
  margin: 0 auto;
  padding: 96px 28px;
}
.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.cap-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow-xs);
  backdrop-filter: blur(10px);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}
.cap-card::after {
  content: "";
  position: absolute;
  inset: auto -40% -60% auto;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 125, 255, 0.07), transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.cap-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(45, 125, 255, 0.26);
}
.cap-card:hover::after { opacity: 1; }

.cap-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
  background: var(--blue-100);
  border: 1px solid rgba(45, 125, 255, 0.16);
  margin-bottom: 22px;
}
.cap-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin: 0 0 9px;
}
.cap-text {
  font-size: 0.99rem;
  color: var(--slate);
  margin: 0;
  line-height: 1.62;
}

/* ---------- Principles ---------- */
.principles {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px 96px;
}
.principles-inner {
  background: var(--grad-brand);
  border-radius: var(--radius-lg);
  padding: 70px 56px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.principles-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 320px at 12% 0%, rgba(255, 255, 255, 0.14), transparent 60%),
    radial-gradient(560px 300px at 92% 110%, rgba(79, 147, 255, 0.42), transparent 60%);
  pointer-events: none;
}
.principles .eyebrow { color: var(--blue-200); }
.principles .eyebrow::before { background: linear-gradient(90deg, var(--blue-200), transparent); }
.principles-title {
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  max-width: 660px;
}
.principles-lead {
  position: relative;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  margin: 0 0 44px;
  line-height: 1.62;
}
.principles-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.principle {
  padding: 30px 28px 4px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}
.principle:last-child { border-right: none; }
.principle .num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--blue-200);
  margin: 0 0 12px;
  font-feature-settings: var(--num);
}
.principle h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.principle p {
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  line-height: 1.58;
}

/* ---------- Closing statement ---------- */
.statement {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px 110px;
  text-align: center;
}
.statement-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--navy-900);
  margin: 0 auto 16px;
  max-width: 760px;
}
.statement-sub {
  max-width: 520px;
  margin: 0 auto;
  color: var(--slate);
  font-size: 1.06rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 147, 255, 0.5), transparent);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 28px 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer-brand-name { color: var(--white); font-size: 1.4rem; display: inline-block; }
.footer-brand-name .brand-name--accent { color: var(--blue-400); }
.footer-tag {
  margin: 14px 0 6px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.76rem;
  color: var(--blue-200);
}
.footer-blurb {
  margin: 8px 0 0;
  max-width: 320px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.footer-col-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-links a,
.footer-meta p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}
.footer-links a {
  text-decoration: none;
  transition: color 0.2s ease;
  width: max-content;
}
.footer-links a:hover { color: var(--blue-400); }

.footer-meta p { margin: 0 0 6px; line-height: 1.6; }
.footer-meta .domain { color: var(--white); font-weight: 500; }

.footer-base {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-base-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer-base-inner p { margin: 0; }
.footer-operated { color: rgba(255, 255, 255, 0.45); }

/* ---------- Scroll reveal ----------
   Elements start translated + faded, then settle when .is-visible is added
   by the IntersectionObserver. A JS safety timer (see script.js) and the
   reduced-motion + no-JS fallbacks below guarantee content is NEVER left
   permanently invisible. */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Grouped stagger: children of a grid reveal in sequence for a calm,
   deliberate cascade rather than all at once. */
.cap-grid .cap-card:nth-child(1) { transition-delay: 0.04s; }
.cap-grid .cap-card:nth-child(2) { transition-delay: 0.12s; }
.cap-grid .cap-card:nth-child(3) { transition-delay: 0.20s; }
.cap-grid .cap-card:nth-child(4) { transition-delay: 0.28s; }
.principles-list .principle:nth-child(1) { transition-delay: 0.06s; }
.principles-list .principle:nth-child(2) { transition-delay: 0.16s; }
.principles-list .principle:nth-child(3) { transition-delay: 0.26s; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; min-height: 0; }
  .hero { padding: 70px 28px 92px; }
  .principles-list { grid-template-columns: 1fr; border-top: none; }
  .principle {
    border-right: none;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding: 26px 0 4px;
  }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .cap-grid { grid-template-columns: 1fr; }
  .header-nav { display: none; }
}

@media (max-width: 540px) {
  .header-inner { padding: 16px 20px; }
  .hero { padding: 52px 20px 76px; }
  .capabilities { padding: 68px 20px; }
  .principles { padding: 0 20px 68px; }
  .principles-inner { padding: 48px 26px; }
  .statement { padding: 0 20px 80px; }
  .trust-strip-inner { padding: 22px 20px; gap: 18px; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-base-inner { padding: 20px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .pay-card { transform: rotate(-6deg); }
}
