/* Marketing homepage — light UI, distinct from POS (style.css) */

:root {
  --home-bg: #ffffff;
  --home-bg-soft: #f1f5f9;
  --home-bg-mesh: #f8fafc;
  --home-surface: #ffffff;
  --home-border: rgba(15, 23, 42, 0.08);
  --home-border-strong: rgba(15, 23, 42, 0.12);
  --home-text: #0f172a;
  --home-muted: #64748b;
  --home-accent: #0e7490;
  --home-accent-bright: #06b6d4;
  --home-accent-dim: rgba(14, 116, 144, 0.1);
  --home-accent-ring: rgba(6, 182, 212, 0.35);
  --home-warm: #ea580c;
  --home-warm-dim: rgba(234, 88, 12, 0.12);
  --home-radius: 18px;
  --home-radius-sm: 12px;
  --home-max: 1180px;
  --home-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  --home-shadow-md: 0 12px 32px rgba(15, 23, 42, 0.07);
  --home-shadow-lg: 0 24px 56px rgba(15, 23, 42, 0.09);
  --home-shadow-header: 0 1px 0 rgba(15, 23, 42, 0.06), 0 14px 42px -18px rgba(15, 23, 42, 0.12);
  --home-font: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --home-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --home-ease-spring: cubic-bezier(0.34, 1.15, 0.64, 1);
}

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

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body.home-page {
  margin: 0;
  min-height: 100vh;
  font-family: var(--home-font);
  background: var(--home-bg);
  color: var(--home-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.home-page ::selection {
  background: rgba(6, 182, 212, 0.22);
  color: var(--home-text);
}

body.home-page main > section[id] {
  scroll-margin-top: 5.25rem;
}

body.home-page a {
  color: inherit;
  text-decoration: none;
}

body.home-page a:hover:not(.home-btn) {
  color: var(--home-accent-bright);
}

.home-wrap {
  width: min(100% - 2.5rem, var(--home-max));
  margin-inline: auto;
}

/* ——— Header ——— */
.home-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(1.35);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
  border-bottom: 1px solid var(--home-border);
  box-shadow: var(--home-shadow-header);
  transition: background 0.25s var(--home-ease-out), box-shadow 0.25s var(--home-ease-out);
}

.home-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.home-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -0.025em;
  color: var(--home-text);
  transition: opacity 0.15s;
}

.home-brand:hover {
  opacity: 0.85;
  color: var(--home-text);
}

.home-brand img {
  display: block;
  height: auto;
}

.home-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--home-border-strong);
  border-radius: var(--home-radius-sm);
  background: var(--home-surface);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.home-nav-toggle:hover {
  border-color: var(--home-accent-ring);
  box-shadow: var(--home-shadow);
}

.home-nav-toggle:focus-visible {
  outline: 2px solid var(--home-accent-bright);
  outline-offset: 2px;
}

.home-nav-toggle__bar {
  display: block;
  width: 1.125rem;
  height: 2px;
  margin: 0 auto;
  background: var(--home-text);
  border-radius: 1px;
}

.home-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.15rem;
}

.home-nav__link,
.home-nav a:not(.home-btn) {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--home-muted);
  transition: color 0.22s var(--home-ease-out), background 0.22s var(--home-ease-out), transform 0.22s var(--home-ease-out);
}

.home-nav__link:hover,
.home-nav a:not(.home-btn):hover {
  color: var(--home-text);
  background: var(--home-bg-soft);
  transform: translateY(-1px);
}

.home-nav .home-btn {
  margin-left: 0.5rem;
}

.home-nav__link--current {
  color: var(--home-text) !important;
  background: var(--home-bg-soft) !important;
}

@media (max-width: 768px) {
  .home-nav-toggle {
    display: inline-flex;
  }

  .home-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.5rem);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    margin: 0;
    background: var(--home-surface);
    border: 1px solid var(--home-border-strong);
    border-radius: var(--home-radius);
    box-shadow: var(--home-shadow-lg);
  }

  .home-nav.is-open {
    display: flex;
  }

  .home-nav__link,
  .home-nav a:not(.home-btn) {
    padding: 0.65rem 1rem;
    border-radius: var(--home-radius-sm);
  }

  .home-nav .home-btn {
    margin-left: 0;
    margin-top: 0.35rem;
    text-align: center;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-nav__link:hover,
  .home-nav a:not(.home-btn):hover {
    transform: none;
  }
}

/* ——— Buttons ——— */
.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  font-family: var(--home-font);
  font-weight: 700;
  font-size: 0.875rem;
  border: 1px solid transparent;
  transition: transform 0.22s var(--home-ease-out), box-shadow 0.22s var(--home-ease-out), filter 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.home-btn:focus-visible {
  outline: 2px solid var(--home-accent-bright);
  outline-offset: 2px;
}

.home-btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
}

.home-btn--lg {
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
}

.home-btn--primary {
  background: linear-gradient(135deg, var(--home-accent-bright) 0%, var(--home-accent) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(14, 116, 144, 0.35);
}

.home-btn--primary:hover {
  color: #ffffff;
  filter: brightness(1.05);
  box-shadow: 0 6px 20px rgba(14, 116, 144, 0.4);
  transform: translateY(-1px);
}

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

.home-btn--ghost {
  background: var(--home-surface);
  border-color: var(--home-border-strong);
  color: var(--home-text);
  box-shadow: var(--home-shadow);
}

.home-btn--ghost:hover {
  border-color: var(--home-accent-bright);
  color: var(--home-accent);
  background: var(--home-bg-mesh);
}

.home-btn--muted {
  background: #e2e8f0;
  border-color: #cbd5e1;
  color: var(--home-text);
  box-shadow: var(--home-shadow);
}

.home-btn--muted:hover {
  background: #cbd5e1;
  border-color: #94a3b8;
  color: var(--home-text);
  transform: translateY(-1px);
}

.home-btn--coral {
  background: linear-gradient(135deg, #fb7185 0%, #e11d48 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(225, 29, 72, 0.35);
}

.home-btn--coral:hover {
  color: #ffffff;
  filter: brightness(1.05);
  box-shadow: 0 6px 22px rgba(225, 29, 72, 0.42);
  transform: translateY(-1px);
}

/* ——— Hero ——— */
@media (prefers-reduced-motion: no-preference) {
  .home-hero__copy > *:nth-child(n + 2) {
    animation: homeReveal 0.7s var(--home-ease-out) both;
  }

  .home-hero__copy > *:nth-child(2) {
    animation-delay: 0.03s;
  }

  .home-hero__copy > *:nth-child(3) {
    animation-delay: 0.09s;
  }

  .home-hero__copy > *:nth-child(4) {
    animation-delay: 0.15s;
  }

  .home-hero__copy > *:nth-child(5) {
    animation-delay: 0.2s;
  }

  .home-hero__copy > *:nth-child(6) {
    animation-delay: 0.26s;
  }

  .home-hero__showcase {
    animation: homeReveal 0.85s var(--home-ease-out) 0.18s both;
  }
}

.home-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(3rem, 9vw, 5.5rem) 0 clamp(3.5rem, 10vw, 6rem);
  overflow: hidden;
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 55% at 18% 20%, rgba(6, 182, 212, 0.14), transparent 50%),
    radial-gradient(ellipse 90% 60% at 78% -12%, rgba(6, 182, 212, 0.2), transparent 52%),
    radial-gradient(ellipse 70% 50% at 5% 45%, rgba(14, 116, 144, 0.11), transparent 48%),
    linear-gradient(180deg, #ecfeff 0%, #f0fdfa 28%, var(--home-bg-mesh) 52%, var(--home-bg) 100%);
  pointer-events: none;
}

/* Glass card behind hero copy (CodePen-inspired; see home-hero-glass.js) */
.home-hero__copy > .home-hero__glass {
  position: absolute;
  z-index: 0;
  inset: -4% -8% -6% -28%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  pointer-events: none;
  overflow: visible;
}

.home-hero__copy > .home-hero__glass .home-hero__glass-svg {
  width: min(480px, 118%);
  height: auto;
  max-height: none;
  min-height: min(420px, 85vh);
  opacity: 0.3;
  flex-shrink: 0;
  transform: translate3d(-6%, 2%, 0);
}

@media (min-width: 900px) {
  .home-hero__copy > .home-hero__glass {
    inset: -6% -4% -8% -22%;
  }

  .home-hero__copy > .home-hero__glass .home-hero__glass-svg {
    width: min(520px, 125%);
    min-height: 440px;
    opacity: 0.32;
    transform: translate3d(-10%, 0, 0);
  }
}

@media (max-width: 899px) {
  .home-hero__copy > .home-hero__glass {
    justify-content: center;
    inset: -2% -6% -4% -6%;
  }

  .home-hero__copy > .home-hero__glass .home-hero__glass-svg {
    width: min(400px, 96vw);
    min-height: 280px;
    opacity: 0.22;
    transform: translate3d(0, 6%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__copy > .home-hero__glass .home-hero__glass-svg {
    opacity: 0.18;
  }
}

.home-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
}

.home-hero__orb--a {
  width: min(420px, 90vw);
  height: min(420px, 90vw);
  top: -12%;
  right: -8%;
  background: rgba(6, 182, 212, 0.35);
}

.home-hero__orb--b {
  width: min(280px, 60vw);
  height: min(280px, 60vw);
  bottom: 5%;
  left: -10%;
  background: rgba(14, 116, 144, 0.2);
}

.home-hero__orb--c {
  width: min(200px, 45vw);
  height: min(200px, 45vw);
  top: 40%;
  right: 35%;
  background: rgba(125, 211, 252, 0.25);
  opacity: 0.4;
}

.home-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, black 25%, transparent 92%);
  -webkit-mask-image: linear-gradient(180deg, black 25%, transparent 92%);
  pointer-events: none;
}

.home-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

@media (min-width: 900px) {
  .home-hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 2.5rem 3rem;
    align-items: center;
  }
}

.home-hero__copy {
  position: relative;
  z-index: 0;
  padding-top: 0.25rem;
  max-width: 38rem;
}

.home-hero__copy > *:nth-child(n + 2) {
  position: relative;
  z-index: 1;
}

@media (min-width: 900px) {
  .home-hero__copy {
    max-width: none;
    padding-right: 0.5rem;
  }
}

.home-eyebrow {
  display: inline-block;
  margin: 0 0 1.125rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--home-accent);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(236, 254, 255, 0.9));
  border: 1px solid rgba(6, 182, 212, 0.28);
  box-shadow: 0 2px 12px rgba(6, 182, 212, 0.08);
}

.home-hero .home-eyebrow {
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 14px rgba(6, 182, 212, 0.1), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.home-hero h1 {
  margin: 0 0 1.35rem;
  font-size: clamp(2.35rem, 5.5vw, 3.65rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--home-text);
  text-wrap: balance;
}

.home-hero__gradient {
  background: linear-gradient(120deg, var(--home-accent-bright) 0%, var(--home-accent) 45%, #0c4a6e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@supports not (background-clip: text) {
  .home-hero__gradient {
    color: var(--home-accent);
    background: none;
  }
}

.home-hero .home-lead {
  margin: 0 0 2rem;
  font-size: clamp(1.0625rem, 2.1vw, 1.2rem);
  line-height: 1.72;
  color: var(--home-muted);
  max-width: 36rem;
}

.home-hero__cta-block {
  margin-bottom: 2.25rem;
}

.home-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 1.35rem;
}

.home-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--home-muted);
}

.home-hero__trust--pills {
  gap: 0.5rem 0.6rem;
}

.home-hero__trust--pills li {
  gap: 0.4rem;
  padding: 0.5rem 0.9rem 0.5rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--home-text);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 10px 28px -12px rgba(14, 116, 144, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.22s var(--home-ease-out), box-shadow 0.22s var(--home-ease-out);
}

.home-hero__trust--pills li:hover {
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 14px 36px -14px rgba(14, 116, 144, 0.32);
}

.home-hero__trust-icon {
  display: flex;
  color: var(--home-accent);
  opacity: 0.95;
  flex-shrink: 0;
}

/* Stats */
.home-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 599px) {
  .home-stats {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

.home-hero .home-stats {
  position: relative;
  padding: 0.65rem;
  margin-top: 0.15rem;
  border-radius: calc(var(--home-radius-sm) + 6px);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.12), rgba(14, 116, 144, 0.06));
  gap: 0.55rem;
}

.home-hero .home-stats::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(6, 182, 212, 0.35), rgba(14, 116, 144, 0.12), transparent 65%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.home-stats__item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1rem 1.1rem;
  border-radius: var(--home-radius-sm);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: border-color 0.25s var(--home-ease-out), box-shadow 0.25s var(--home-ease-out), transform 0.25s var(--home-ease-out);
}

.home-stats__item:hover {
  border-color: rgba(6, 182, 212, 0.28);
  box-shadow: 0 8px 28px -10px rgba(14, 116, 144, 0.35);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .home-stats__item:hover {
    transform: none;
  }
}

.home-stats__icon {
  display: flex;
  color: var(--home-accent);
  margin-bottom: 0.15rem;
}

.home-stats__value {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--home-text);
  line-height: 1.2;
}

.home-stats__label {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--home-muted);
}

/* Hero showcase (illustration + panel) */
.home-hero__showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

@media (min-width: 900px) {
  .home-hero__showcase {
    padding-top: 0.35rem;
  }
}

.home-hero__art {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 0.75rem 0 0.65rem;
}

.home-hero__art-ring {
  position: absolute;
  width: min(118%, 380px);
  aspect-ratio: 1;
  max-width: 380px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -54%);
  border-radius: 50%;
  background: conic-gradient(
    from 200deg,
    rgba(6, 182, 212, 0.5),
    rgba(14, 116, 144, 0.12),
    rgba(125, 211, 252, 0.4),
    rgba(6, 182, 212, 0.35),
    rgba(6, 182, 212, 0.5)
  );
  opacity: 0.32;
  z-index: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .home-hero__art-ring {
    animation: homeHeroRing 18s linear infinite;
  }
}

@keyframes homeHeroRing {
  from {
    transform: translate(-50%, -54%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -54%) rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__art-ring {
    animation: none;
  }
}

.home-hero__art-glow {
  position: absolute;
  width: min(100%, 340px);
  height: 200px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -54%);
  background: radial-gradient(ellipse at center, rgba(6, 182, 212, 0.28), transparent 68%);
  pointer-events: none;
  z-index: 1;
}

.home-hero__illu {
  position: relative;
  width: 100%;
  max-width: 308px;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 12px 28px rgba(15, 23, 42, 0.08)) drop-shadow(0 28px 48px rgba(14, 116, 144, 0.12));
  transition: transform 0.45s var(--home-ease-out);
}

@media (min-width: 900px) {
  .home-hero__illu {
    max-width: 352px;
  }

  .home-hero__art:hover .home-hero__illu {
    transform: translateY(-4px) scale(1.01);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__illu {
    transition: none;
  }

  .home-hero__art:hover .home-hero__illu {
    transform: none;
  }
}

/* Hero panel */
.home-hero__panel {
  position: relative;
  margin-top: -2.15rem;
  z-index: 3;
  border-radius: calc(var(--home-radius) + 8px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 250, 252, 0.98) 100%);
  padding: 1.65rem 1.55rem 1.75rem;
  box-shadow:
    0 2px 4px rgba(15, 23, 42, 0.03),
    0 20px 50px -20px rgba(15, 23, 42, 0.14),
    0 40px 80px -40px rgba(14, 116, 144, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
}

@media (max-width: 899px) {
  .home-hero__panel {
    margin-top: -1.35rem;
  }
}

.home-hero__panel-accent {
  position: absolute;
  top: 0;
  left: 1.15rem;
  right: 1.15rem;
  height: 4px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(90deg, var(--home-accent-bright), var(--home-accent) 45%, #0369a1 85%, #7dd3fc);
  box-shadow: 0 2px 12px rgba(6, 182, 212, 0.35);
}

.home-hero__panel-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0.4rem 0 1.1rem;
}

.home-hero__panel-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, var(--home-accent-bright), var(--home-accent));
  box-shadow: 0 4px 12px rgba(14, 116, 144, 0.35);
  flex-shrink: 0;
}

.home-hero__panel-title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-transform: none;
  color: var(--home-text);
  line-height: 1.28;
}

.home-check {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.home-check li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--home-text);
}

.home-check li::before {
  content: "";
  flex-shrink: 0;
  width: 1.375rem;
  height: 1.375rem;
  margin-top: 0.1rem;
  border-radius: 8px;
  background: var(--home-accent-dim)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230e7490' stroke-width='2.25'%3E%3Cpath d='M3 8l3 3 7-7'/%3E%3C/svg%3E")
    center / 11px no-repeat;
}

/* ——— Logo / chips strip ——— */
.home-logos {
  padding: 2.25rem 0;
  background: var(--home-bg);
  border-top: 1px solid var(--home-border);
  border-bottom: 1px solid var(--home-border);
}

.home-logos__inner {
  text-align: center;
}

.home-logos__label {
  margin: 0 0 1.125rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--home-muted);
}

.home-logos__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.home-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--home-text);
  background: var(--home-bg-soft);
  border: 1px solid var(--home-border);
  transition: border-color 0.22s var(--home-ease-out), box-shadow 0.22s var(--home-ease-out), transform 0.22s var(--home-ease-out);
}

.home-chip:hover {
  border-color: var(--home-accent-ring);
  box-shadow: var(--home-shadow-md);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .home-chip:hover {
    transform: none;
  }
}

/* ——— Explore banner (gradient) ——— */
.home-explore-banner {
  padding: 0 0 clamp(1.75rem, 4vw, 2.5rem);
  margin-top: -0.25rem;
}

.home-explore-banner__inner {
  position: relative;
  overflow: hidden;
  border-radius: clamp(20px, 3vw, 28px);
  padding: clamp(1.75rem, 4vw, 2.85rem) clamp(1.5rem, 4vw, 3rem);
  background: linear-gradient(125deg, #2563eb 0%, #4338ca 38%, #6d28d9 72%, #7c3aed 100%);
  box-shadow: 0 24px 56px -28px rgba(67, 56, 202, 0.55);
}

.home-explore-banner__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}

.home-explore-banner__circle {
  position: absolute;
  width: min(340px, 78vw);
  height: min(340px, 78vw);
  border-radius: 50%;
  right: -10%;
  top: -42%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.home-explore-banner__stripe {
  position: absolute;
  width: 130%;
  height: 55%;
  right: -25%;
  bottom: -28%;
  background: linear-gradient(108deg, transparent 35%, rgba(255, 255, 255, 0.07) 48%, transparent 62%);
  transform: rotate(-14deg);
}

.home-explore-banner__badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, monospace;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(15, 23, 42, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.home-explore-banner__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.35);
}

.home-explore-banner__title {
  position: relative;
  z-index: 1;
  margin: 0 0 1.25rem;
  max-width: 22em;
  font-size: clamp(1.35rem, 3.6vw, 2.05rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-wrap: balance;
}

body.home-page .home-explore-banner__link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  border-bottom: 2px solid rgba(255, 255, 255, 0.38);
  padding-bottom: 2px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

body.home-page .home-explore-banner__link:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

/* ——— About Colletra (dark panel + floating cards) ——— */
.home-about-block {
  padding: clamp(1.75rem, 4vw, 2.75rem) 0 0.5rem;
}

.home-about-block__panel {
  position: relative;
  overflow: hidden;
  border-radius: clamp(20px, 3vw, 28px);
  background: linear-gradient(150deg, #070f1c 0%, #0f1b32 42%, #0a1222 100%);
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 28px 64px -28px rgba(2, 6, 23, 0.65);
}

.home-about-block__glow {
  position: absolute;
  width: min(440px, 95vw);
  height: min(440px, 95vw);
  top: -45%;
  right: -18%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 68%);
  pointer-events: none;
}

.home-about-block__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: center;
  padding: clamp(1.75rem, 4vw, 3rem) clamp(1.5rem, 3.5vw, 2.75rem);
}

@media (min-width: 900px) {
  .home-about-block__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem 1.5rem;
  }
}

.home-about-block__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, monospace;
  letter-spacing: 0.03em;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.home-about-block__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--home-accent-bright);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.28);
}

.home-about-block__title {
  margin: 0 0 1rem;
  font-size: clamp(1.3rem, 2.75vw, 1.8rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.03em;
  color: #f8fafc;
}

.home-about-block__lead {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
  color: #94a3b8;
  max-width: 36rem;
}

.home-btn--about-light {
  background: #ffffff;
  color: var(--home-accent);
  border-radius: 12px;
  border-color: transparent;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
}

.home-btn--about-light:hover {
  color: var(--home-accent-bright);
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.32);
}

.home-about-block__visual {
  position: relative;
  min-height: 260px;
}

@media (min-width: 900px) {
  .home-about-block__visual {
    min-height: 300px;
  }
}

.home-about-float {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.8rem 1.05rem;
  min-width: 7.25rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.3);
}

.home-about-float__tag {
  font-size: 0.8125rem;
  font-weight: 800;
  font-family: ui-monospace, Menlo, monospace;
  letter-spacing: 0.08em;
  color: #e2e8f0;
}

.home-about-float__hint {
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.98);
}

.home-about-float--1 {
  top: 2%;
  right: 4%;
  transform: rotate(-7deg);
}

.home-about-float--2 {
  top: 40%;
  right: 2%;
  transform: rotate(5deg);
}

.home-about-float--3 {
  top: 10%;
  right: 36%;
  transform: rotate(-2deg);
}

.home-about-float--4 {
  bottom: 4%;
  right: 14%;
  opacity: 0.52;
  transform: rotate(3deg) scale(0.94);
}

@media (prefers-reduced-motion: no-preference) {
  .home-about-float--1 {
    animation: homeAboutDrift1 7s ease-in-out infinite;
  }

  .home-about-float--2 {
    animation: homeAboutDrift2 8s ease-in-out 0.4s infinite;
  }

  .home-about-float--3 {
    animation: homeAboutDrift3 7.5s ease-in-out 0.15s infinite;
  }

  .home-about-float--4 {
    animation: homeAboutDrift4 9s ease-in-out 0.7s infinite;
  }
}

@keyframes homeAboutDrift1 {
  0%,
  100% {
    transform: translateY(0) rotate(-7deg);
  }

  50% {
    transform: translateY(-10px) rotate(-7deg);
  }
}

@keyframes homeAboutDrift2 {
  0%,
  100% {
    transform: translateY(0) rotate(5deg);
  }

  50% {
    transform: translateY(-12px) rotate(5deg);
  }
}

@keyframes homeAboutDrift3 {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(-8px) rotate(-2deg);
  }
}

@keyframes homeAboutDrift4 {
  0%,
  100% {
    transform: translateY(0) rotate(3deg) scale(0.94);
  }

  50% {
    transform: translateY(-9px) rotate(3deg) scale(0.94);
  }
}

@media (max-width: 899px) {
  .home-about-block__visual {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    gap: 0.65rem;
    min-height: 0;
    padding: 0.25rem 0 0.5rem;
  }

  .home-about-float {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    transform: none;
    opacity: 1;
    animation: none;
  }

  .home-about-float--4 {
    opacity: 0.75;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-about-float--1,
  .home-about-float--2,
  .home-about-float--3,
  .home-about-float--4 {
    animation: none;
  }
}

/* ——— Services split (2×2 cards + CTA) ——— */
.home-services-split {
  background: var(--home-bg-soft);
  border-top: 1px solid var(--home-border);
  border-bottom: 1px solid var(--home-border);
}

.home-services-split__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: center;
}

@media (min-width: 992px) {
  .home-services-split__grid {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 3rem 3.5rem;
  }
}

.home-services-split__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 520px) {
  .home-services-split__cards {
    grid-template-columns: 1fr;
  }
}

.home-svc-card {
  border-radius: 20px;
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--home-border-strong);
  background: var(--home-surface);
  box-shadow: var(--home-shadow);
  transition: transform 0.28s var(--home-ease-out), box-shadow 0.28s var(--home-ease-out), border-color 0.25s ease;
}

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

.home-svc-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--home-text);
}

.home-svc-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--home-muted);
}

.home-svc-card--dark {
  background: linear-gradient(155deg, #1e293b 0%, #0f172a 55%, #020617 100%);
  border-color: rgba(255, 255, 255, 0.08);
  color: #f1f5f9;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.2);
}

.home-svc-card--dark:hover {
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.28);
}

.home-svc-card--dark h3 {
  color: #ffffff;
}

.home-svc-card--dark p {
  color: rgba(241, 245, 249, 0.82);
}

.home-svc-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  background: var(--home-bg-soft);
  color: var(--home-text);
  border: 1px solid var(--home-border);
}

.home-svc-card--dark .home-svc-card__icon {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.home-svc-card__icon--glow {
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.22);
  border-color: rgba(6, 182, 212, 0.2);
}

.home-services-split__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 28rem;
}

@media (min-width: 992px) {
  .home-services-split__cta {
    max-width: none;
  }
}

.home-services-split__visual {
  width: 100%;
  margin-bottom: 1.5rem;
  perspective: 900px;
}

.home-services-split__card-3d {
  max-width: 340px;
  margin: 0 auto;
  transform: rotateY(-12deg) rotateX(6deg);
  transform-style: preserve-3d;
  transition: transform 0.35s ease;
  filter: drop-shadow(0 28px 48px rgba(15, 23, 42, 0.18));
}

.home-services-split__visual:hover .home-services-split__card-3d {
  transform: rotateY(-8deg) rotateX(4deg) translateY(-4px);
}

.home-services-split__card-svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.home-services-split__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--home-muted);
}

.home-services-split__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--home-muted);
  opacity: 0.7;
}

.home-services-split .home-services-split__cta h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--home-text);
}

.home-services-split__lead {
  margin: 0 0 1.75rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--home-muted);
}

.home-services-split__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 280px;
}

@media (min-width: 480px) {
  .home-services-split__actions {
    flex-direction: row;
    flex-wrap: wrap;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-svc-card:hover {
    transform: none;
  }

  .home-feat-card:hover {
    transform: none;
  }

  .home-services-split__card-3d {
    transform: none;
  }

  .home-services-split__visual:hover .home-services-split__card-3d {
    transform: none;
  }
}

/* ——— Feature rows (black icons + purple glow, reference layout) ——— */
.home-lead-section,
.home-pay-row {
  background: #eceff3;
  border-top: 1px solid var(--home-border);
  border-bottom: 1px solid var(--home-border);
}

.home-lead-section__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2.5rem;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.home-lead-section .home-lead-section__title {
  margin: 0;
  font-size: clamp(1.85rem, 3.8vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--home-text);
  max-width: 18ch;
}

.home-lead-section__tagline {
  margin: 0;
  font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--home-muted);
  max-width: 32rem;
  text-align: right;
}

@media (max-width: 768px) {
  .home-lead-section__tagline {
    text-align: left;
  }
}

.home-lead-section__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

@media (max-width: 1100px) {
  .home-lead-section__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .home-lead-section__cards {
    grid-template-columns: 1fr;
  }
}

.home-feat-card {
  text-align: left;
  background: #ffffff;
  border-radius: 20px;
  padding: 1.6rem 1.4rem 1.75rem;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.38s var(--home-ease-spring), box-shadow 0.35s var(--home-ease-out);
}

.home-feat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
}

.home-feat-card--tall {
  display: flex;
  flex-direction: column;
}

.home-feat-card__icon-wrap {
  position: relative;
  width: 3.35rem;
  height: 3.35rem;
  margin-bottom: 1.2rem;
}

.home-feat-card__icon-glow {
  position: absolute;
  inset: -10px;
  border-radius: 18px;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(168, 85, 247, 0.5) 0%,
    rgba(236, 72, 153, 0.28) 42%,
    transparent 72%
  );
  filter: blur(10px);
  opacity: 0.85;
  z-index: 0;
}

.home-feat-card__icon-box {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
}

.home-feat-card__title {
  margin: 0 0 0.65rem;
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--home-text);
}

.home-feat-card__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.58;
  color: var(--home-muted);
}

.home-feat-card__bullets {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.home-feat-card__bullets li {
  position: relative;
  margin: 0 0 0.5rem;
  padding-left: 1.2rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  font-weight: 600;
  color: var(--home-muted);
}

.home-feat-card__bullets li:last-child {
  margin-bottom: 0;
}

.home-feat-card__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a855f7, #ec4899);
}

.home-pay-row .home-pay-row__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--home-text);
}

.home-pay-row__intro {
  margin: 0 0 2rem;
  max-width: 42rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--home-muted);
}

/* ——— Payment row: Swiper card slider ——— */
.home-pay-slider__shell {
  margin-top: 0.5rem;
  padding-inline: 0;
}

.home-pay-slider__frame {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(0.5rem, 2.2vw, 1.15rem);
  max-width: 960px;
  margin: 0 auto;
}

.home-pay-slider__arrow {
  flex-shrink: 0;
  align-self: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  color: var(--home-accent);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.07);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--home-ease-out);
}

.home-pay-slider__arrow:hover {
  color: var(--home-accent-bright);
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: 0 8px 28px rgba(14, 116, 144, 0.15);
  transform: translateY(-1px);
}

.home-pay-slider__arrow:focus-visible {
  outline: 2px solid var(--home-accent-bright);
  outline-offset: 3px;
}

.home-pay-slider__arrow:active {
  transform: translateY(0);
}

@media (max-width: 720px) {
  .home-pay-slider__arrow {
    display: none;
  }

  .home-pay-slider__frame {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-pay-slider__arrow:hover {
    transform: none;
  }
}

.home-pay-swiper.swiper {
  position: relative;
  flex: 1;
  min-width: 0;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  min-height: 0;
  padding: clamp(1.5rem, 3.5vw, 2.1rem) clamp(1.35rem, 3.5vw, 2rem);
  padding-bottom: clamp(3.1rem, 6vw, 3.5rem);
  background: linear-gradient(165deg, #ffffff 0%, #fafbfc 55%, #f8fafc 100%);
  border-radius: 22px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 18px 48px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.home-pay-swiper:not(.swiper-initialized) .swiper-slide:not(:first-child) {
  display: none;
}

.home-pay-swiper:not(.swiper-initialized) .swiper-slide:first-child .home-pay-slider__content > * {
  opacity: 1;
  transform: none;
}

.home-pay-swiper .swiper-wrapper {
  align-items: stretch;
}

.home-pay-swiper .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

.home-pay-slider__item {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
  gap: clamp(1.35rem, 4vw, 2.75rem);
  align-items: center;
  min-height: clamp(240px, 42vw, 320px);
}

@media (max-width: 768px) {
  .home-pay-slider__item {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 1.35rem;
    text-align: center;
  }
}

.home-pay-slider__visual {
  position: relative;
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 12px 40px rgba(14, 116, 144, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

@media (min-width: 769px) {
  .home-pay-slider__visual {
    max-width: none;
    margin: 0;
  }
}

.home-pay-slider__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 80% 55% at 20% 15%, rgba(255, 255, 255, 0.35), transparent 52%),
    radial-gradient(ellipse 60% 45% at 88% 88%, rgba(125, 211, 252, 0.2), transparent 50%);
  pointer-events: none;
}

.home-pay-slider__visual-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(148deg, #22d3ee 0%, var(--home-accent) 38%, #0c4a6e 92%);
  border-radius: inherit;
}

.home-pay-slider__visual-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, transparent 42%);
  pointer-events: none;
}

.home-pay-slider__visual-icon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 1.25rem;
  color: rgba(255, 255, 255, 0.98);
  filter: drop-shadow(0 2px 8px rgba(15, 23, 42, 0.25));
}

.home-pay-slider__visual-icon svg {
  width: min(4.5rem, 22vw);
  height: min(4.5rem, 22vw);
}

.home-pay-slider__content {
  min-width: 0;
  padding: 0.15rem 0 0;
}

@media (max-width: 768px) {
  .home-pay-slider__content {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.home-pay-swiper .home-pay-slider__content > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.48s var(--home-ease-out), transform 0.48s var(--home-ease-out);
}

.home-pay-swiper .swiper-slide-active .home-pay-slider__content > * {
  opacity: 1;
  transform: none;
}

.home-pay-swiper .swiper-slide-active .home-pay-slider__content > *:nth-child(1) {
  transition-delay: 0.06s;
}

.home-pay-swiper .swiper-slide-active .home-pay-slider__content > *:nth-child(2) {
  transition-delay: 0.12s;
}

.home-pay-swiper .swiper-slide-active .home-pay-slider__content > *:nth-child(3) {
  transition-delay: 0.18s;
}

.home-pay-swiper .swiper-slide-active .home-pay-slider__content > *:nth-child(4) {
  transition-delay: 0.24s;
}

.home-pay-swiper .swiper-slide-active .home-pay-slider__content > *:nth-child(5) {
  transition-delay: 0.3s;
}

.home-pay-swiper .swiper-slide-active .home-pay-slider__content > *:nth-child(6) {
  transition-delay: 0.36s;
}

@media (prefers-reduced-motion: reduce) {
  .home-pay-swiper .home-pay-slider__content > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

.home-pay-slider__tag {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--home-accent);
  background: rgba(14, 116, 144, 0.09);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

@media (max-width: 768px) {
  .home-pay-slider__tag {
    align-self: center;
  }
}

.home-pay-slider__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.3rem, 2.6vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.22;
  color: var(--home-text);
}

.home-pay-slider__text {
  margin: 0 0 1.1rem;
  font-size: 0.9375rem;
  line-height: 1.62;
  color: var(--home-muted);
  max-width: 28rem;
}

.home-pay-slider__bullets {
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
  text-align: left;
  width: 100%;
  max-width: 28rem;
}

@media (max-width: 768px) {
  .home-pay-slider__bullets {
    text-align: left;
    max-width: 22rem;
  }
}

.home-pay-slider__bullets li {
  position: relative;
  margin: 0 0 0.45rem;
  padding-left: 1.15rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  font-weight: 600;
  color: var(--home-muted);
}

.home-pay-slider__bullets li:last-child {
  margin-bottom: 0;
}

.home-pay-slider__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--home-accent-bright), var(--home-accent));
}

.home-pay-slider__cta {
  margin-top: 0.35rem;
}

.home-pay-slider__arrow.swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.home-pay-slider__pagination.swiper-pagination {
  position: absolute;
  z-index: 6;
  left: 50% !important;
  right: auto !important;
  bottom: 1.1rem !important;
  top: auto !important;
  width: auto !important;
  transform: translateX(-50%);
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 0.35rem 0.75rem;
  margin: 0 !important;
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 999px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
}

.home-pay-slider__pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 5px !important;
  display: block;
  border-radius: 999px;
  background: #0f172a;
  opacity: 0.16;
  transition: opacity 0.3s ease, width 0.3s var(--home-ease-out), background 0.3s ease, box-shadow 0.3s ease;
}

.home-pay-slider__pagination .swiper-pagination-bullet-active {
  opacity: 1;
  width: 26px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--home-accent-bright), var(--home-accent));
  box-shadow: 0 2px 12px rgba(6, 182, 212, 0.35);
}

/* ——— Sections ——— */
.home-section {
  padding: clamp(3.5rem, 8vw, 5.75rem) 0;
}

body.home-page .home-section--alt {
  background: linear-gradient(180deg, var(--home-bg-soft) 0%, var(--home-bg-mesh) 100%);
  border-top: 1px solid var(--home-border);
  border-bottom: 1px solid var(--home-border);
}

.home-section__head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.home-section__label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--home-accent);
}

.home-section__label::before {
  content: "";
  width: 3px;
  height: 0.95rem;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--home-accent-bright), var(--home-accent));
  flex-shrink: 0;
}

.home-section__head--center .home-section__label {
  justify-content: center;
}

.home-section h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.home-section .home-sub {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--home-muted);
}

.home-section__head--center {
  text-align: center;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
}

.home-section__head--center .home-sub {
  max-width: none;
}

/* ——— Flip cards (“built to meet your needs”) ——— */
.home-flip-section {
  background: linear-gradient(180deg, var(--home-bg) 0%, var(--home-bg-mesh) 45%, var(--home-bg) 100%);
  border-top: 1px solid var(--home-border);
  border-bottom: 1px solid var(--home-border);
}

.home-flip-section .home-flip__title {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--home-text);
}

.home-flip__title-line {
  display: inline-block;
}

.home-flip__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .home-flip__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.125rem;
  }
}

@media (min-width: 1024px) {
  .home-flip__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.home-flip__slot {
  perspective: 1100px;
  min-height: 10.5rem;
  outline: none;
  border-radius: var(--home-radius);
}

.home-flip__slot:focus-visible {
  box-shadow: 0 0 0 3px var(--home-accent-ring);
}

.home-flip__slot:hover {
  filter: drop-shadow(0 12px 28px rgba(14, 116, 144, 0.12));
}

.home-flip__card {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 10.5rem;
  transform-style: preserve-3d;
  transition: transform 0.7s var(--home-ease-out);
  border-radius: var(--home-radius);
}

.home-flip__slot:hover .home-flip__card,
.home-flip__slot:focus-within .home-flip__card {
  transform: rotateY(180deg);
}

.home-flip__face {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.1rem;
  border-radius: var(--home-radius);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  text-align: center;
  border: 1px solid var(--home-border-strong);
  box-shadow: var(--home-shadow);
}

.home-flip__face--front {
  background: linear-gradient(165deg, #ffffff 0%, var(--home-bg-soft) 100%);
  font-weight: 800;
  font-size: 0.9375rem;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--home-text);
}

.home-flip__face--back {
  background: linear-gradient(145deg, var(--home-accent-bright) 0%, var(--home-accent) 55%, #0c4a6e 100%);
  color: #ffffff;
  transform: rotateY(180deg);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.5;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 28px rgba(14, 116, 144, 0.35);
}

.home-flip__hint {
  margin: 1.75rem 0 0;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--home-muted);
}

@media (prefers-reduced-motion: reduce) {
  .home-flip__slot:hover {
    filter: none;
  }

  .home-flip__slot {
    perspective: none;
  }

  .home-flip__card {
    transition: none;
    transform: none !important;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .home-flip__slot:hover .home-flip__card,
  .home-flip__slot:focus-within .home-flip__card {
    transform: none !important;
  }

  .home-flip__face {
    position: relative;
    inset: auto;
    transform: none !important;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
    min-height: 0;
  }

  .home-flip__face--front {
    border-radius: var(--home-radius) var(--home-radius) 0 0;
    padding-bottom: 0.85rem;
  }

  .home-flip__face--back {
    border-radius: 0 0 var(--home-radius) var(--home-radius);
    padding-top: 0.85rem;
    margin-top: -1px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .home-flip__hint {
    display: none;
  }
}

.home-cards {
  display: grid;
  gap: 1.25rem;
}

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

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

.home-card {
  position: relative;
  border-radius: var(--home-radius);
  border: 1px solid var(--home-border-strong);
  background: var(--home-surface);
  padding: 1.65rem 1.5rem;
  box-shadow: var(--home-shadow);
  transition: border-color 0.28s var(--home-ease-out), box-shadow 0.28s var(--home-ease-out), transform 0.28s var(--home-ease-out);
}

.home-card--soft {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
}

.home-card:hover {
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: var(--home-shadow-md), 0 0 0 1px rgba(6, 182, 212, 0.08);
  transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
  .home-card:hover {
    transform: none;
  }
}

.home-card__icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.125rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--home-accent);
  background: linear-gradient(145deg, var(--home-accent-dim), rgba(6, 182, 212, 0.08));
  border: 1px solid rgba(6, 182, 212, 0.15);
}

.home-card__icon--warm {
  color: var(--home-warm);
  background: linear-gradient(145deg, var(--home-warm-dim), rgba(251, 146, 60, 0.08));
  border-color: rgba(234, 88, 12, 0.2);
}

.home-card__icon svg {
  flex-shrink: 0;
}

.home-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.home-card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.58;
  color: var(--home-muted);
}

/* ——— IBAN accounts soon ——— */
.home-iban-soon {
  padding-top: clamp(2.25rem, 5vw, 3.25rem);
  padding-bottom: clamp(2.25rem, 5vw, 3.25rem);
}

.home-iban-soon__panel {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 960px;
  margin: 0 auto;
  border-radius: calc(var(--home-radius) + 10px);
  overflow: hidden;
  border: 1px solid var(--home-border-strong);
  box-shadow: var(--home-shadow-lg), 0 28px 64px -32px rgba(14, 116, 144, 0.35);
  background: var(--home-surface);
}

@media (min-width: 860px) {
  .home-iban-soon__panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    align-items: stretch;
  }
}

.home-iban-soon__visual {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2rem) clamp(1.35rem, 3.5vw, 1.85rem);
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 48%, #0c4a6e 100%);
  color: #e2e8f0;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

@media (min-width: 860px) {
  .home-iban-soon__visual {
    min-height: 100%;
    padding: 2rem 1.75rem;
  }
}

.home-iban-soon__visual-mesh {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image: linear-gradient(rgba(148, 163, 184, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.07) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: linear-gradient(180deg, black 0%, transparent 88%);
  -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 88%);
  pointer-events: none;
}

.home-iban-soon__visual::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--home-accent-bright), #38bdf8, #a5f3fc);
  opacity: 0.95;
}

.home-iban-soon__visual-chrome {
  position: relative;
  display: flex;
  gap: 6px;
  z-index: 1;
}

.home-iban-soon__visual-chrome span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.home-iban-soon__visual-chrome span:nth-child(1) {
  background: rgba(248, 113, 113, 0.55);
  border-color: rgba(248, 113, 113, 0.35);
}

.home-iban-soon__visual-chrome span:nth-child(2) {
  background: rgba(250, 204, 21, 0.5);
  border-color: rgba(250, 204, 21, 0.35);
}

.home-iban-soon__visual-chrome span:nth-child(3) {
  background: rgba(52, 211, 153, 0.5);
  border-color: rgba(52, 211, 153, 0.35);
}

.home-iban-soon__visual-kicker {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.95);
}

.home-iban-soon__visual-stack {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.home-iban-soon__visual-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.home-iban-soon__visual-row--dim {
  opacity: 0.72;
}

.home-iban-soon__visual-iban {
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, monospace;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #cbd5e1;
}

@media (min-width: 400px) {
  .home-iban-soon__visual-iban {
    font-size: 0.75rem;
  }
}

.home-iban-soon__visual-pill {
  flex-shrink: 0;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #ecfeff;
  background: rgba(6, 182, 212, 0.22);
  border: 1px solid rgba(6, 182, 212, 0.35);
}

.home-iban-soon__visual-cap {
  position: relative;
  z-index: 1;
  margin: 0.25rem 0 0;
  font-size: 0.8125rem;
  color: rgba(148, 163, 184, 0.92);
}

.home-iban-soon__visual-cap strong {
  color: #f1f5f9;
  font-weight: 700;
}

.home-iban-soon__content {
  position: relative;
  padding: clamp(1.65rem, 4vw, 2.35rem) clamp(1.35rem, 4vw, 2.25rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.home-iban-soon__eyebrow {
  margin: 0 0 0.65rem;
  display: inline-flex;
  align-self: flex-start;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #c2410c;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border: 1px solid rgba(234, 88, 12, 0.25);
}

.home-iban-soon__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.65rem, 3.6vw, 2.125rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--home-text);
}

.home-iban-soon__title-accent {
  background: linear-gradient(115deg, var(--home-accent-bright) 0%, var(--home-accent) 42%, #0e7490 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@supports not (background-clip: text) {
  .home-iban-soon__title-accent {
    color: var(--home-accent);
    background: none;
  }
}

.home-iban-soon__body {
  margin: 0 0 1.25rem;
  font-size: 1.02rem;
  line-height: 1.68;
  color: var(--home-muted);
  max-width: 34rem;
}

.home-iban-soon__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-iban-soon__tags li {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--home-accent);
  background: rgba(14, 116, 144, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.22);
}

/* ——— CTA band ——— */
.home-band {
  position: relative;
  margin: 2.75rem 0 0;
  padding: clamp(2.75rem, 6vw, 3.75rem) 1.5rem;
  border-radius: calc(var(--home-radius) + 8px);
  text-align: center;
  background: linear-gradient(145deg, #ecfeff 0%, #e0f2fe 38%, #f0f9ff 72%, #f8fafc 100%);
  border: 1px solid rgba(6, 182, 212, 0.2);
  box-shadow: var(--home-shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  overflow: hidden;
}

.home-band::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -15%;
  width: 45%;
  height: 120%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12), transparent 65%);
  pointer-events: none;
}

.home-band__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1rem;
  border-radius: 14px;
  color: var(--home-accent);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(6, 182, 212, 0.2);
  box-shadow: var(--home-shadow);
}

.home-band h2 {
  position: relative;
  margin: 0 0 0.6rem;
  font-size: clamp(1.45rem, 2.8vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--home-text);
}

.home-band p {
  position: relative;
  margin: 0 0 1.5rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--home-muted);
  max-width: 28rem;
  margin-inline: auto;
}

.home-band .home-btn {
  position: relative;
}

/* ——— Footer ——— */
.home-footer {
  padding: 3.25rem 0 2.5rem;
  border-top: 1px solid var(--home-border-strong);
  font-size: 0.875rem;
  color: var(--home-muted);
  background: linear-gradient(180deg, var(--home-bg-mesh) 0%, var(--home-bg) 42%);
}

.home-footer__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  justify-content: space-between;
  align-items: flex-start;
}

.home-footer__name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--home-text);
  letter-spacing: -0.02em;
}

.home-footer__tagline {
  margin: 0.4rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--home-muted);
  max-width: 16rem;
}

.home-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  align-items: center;
}

.home-footer__links a {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--home-text);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}

.home-footer__links a:hover {
  color: var(--home-accent);
  border-bottom-color: rgba(6, 182, 212, 0.45);
}

.home-footer__note {
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--home-border);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--home-muted);
}

.home-footer__note a {
  color: var(--home-accent);
  font-weight: 600;
}

.home-footer__note a:hover {
  color: var(--home-accent-bright);
}

/* ——— Scroll to top (home + contact) ——— */
body.home-page .scroll-top,
body.contact-page .scroll-top {
  position: fixed;
  z-index: 50;
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  right: max(1.25rem, env(safe-area-inset-right, 0px));
  width: 3rem;
  height: 3rem;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--home-border-strong);
  background: var(--home-surface);
  box-shadow: var(--home-shadow-md);
  color: var(--home-accent);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.75rem);
  transition: opacity 0.28s var(--home-ease-out), visibility 0.28s ease, transform 0.28s var(--home-ease-out),
    background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

body.home-page .scroll-top.scroll-top--visible,
body.contact-page .scroll-top.scroll-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

body.home-page .scroll-top:hover,
body.contact-page .scroll-top:hover {
  background: linear-gradient(135deg, var(--home-accent-bright), var(--home-accent));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(14, 116, 144, 0.35);
}

body.home-page .scroll-top:focus-visible,
body.contact-page .scroll-top:focus-visible {
  outline: 2px solid var(--home-accent-bright);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  body.home-page .scroll-top,
  body.contact-page .scroll-top {
    transition: none;
  }
}

/* ——— Contact page ——— */
.contact-page {
  margin: 0;
  min-height: 100vh;
  font-family: var(--home-font);
  background: var(--home-bg);
  color: var(--home-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.contact-page a {
  color: inherit;
  text-decoration: none;
}

.contact-page a:hover:not(.home-btn) {
  color: var(--home-accent-bright);
}

.contact-page ::selection {
  background: rgba(6, 182, 212, 0.22);
  color: var(--home-text);
}

.contact-main {
  padding: 0;
}

.contact-page .contact-hero.home-hero {
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.contact-hero__wrap {
  position: relative;
}

.contact-back {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--home-accent);
}

.contact-back:hover {
  color: var(--home-accent-bright);
}

.contact-hero__grid {
  align-items: start;
}

@media (min-width: 900px) {
  .contact-hero__grid {
    gap: 2.5rem 3rem;
  }
}

.contact-hero__copy .home-lead {
  max-width: 36rem;
}

.contact-points {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-points li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--home-muted);
}

.contact-points li strong {
  color: var(--home-text);
  font-weight: 600;
}

.contact-points__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--home-radius-sm);
  background: linear-gradient(145deg, rgba(6, 182, 212, 0.12), rgba(14, 116, 144, 0.08));
  border: 1px solid rgba(6, 182, 212, 0.22);
  color: var(--home-accent);
}

.contact-hero__hint {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--home-muted);
}

.contact-hero__hint a {
  font-weight: 600;
  color: var(--home-accent);
}

.contact-hero__hint a:hover {
  color: var(--home-accent-bright);
}

.contact-aside {
  position: relative;
}

@media (min-width: 900px) {
  .contact-aside {
    padding-top: 0.25rem;
  }
}

.contact-panel {
  border-radius: var(--home-radius);
  padding: 1.85rem 1.9rem 2rem;
  background: linear-gradient(165deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 56px rgba(10, 20, 38, 0.32);
  position: relative;
  overflow: hidden;
}

.contact-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--home-accent-bright), var(--home-accent), #7dd3fc);
  opacity: 0.95;
}

.contact-panel__title,
.contact-panel__lead,
.contact-panel__email-block,
.contact-panel__cta,
.contact-panel__footnote {
  position: relative;
  z-index: 1;
}

.contact-panel__title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f1f5f9;
}

.contact-panel__lead {
  margin: 0 0 1.35rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(148, 163, 184, 0.95);
}

.contact-panel__email-block {
  margin-bottom: 1.35rem;
  padding: 1rem 1.1rem;
  border-radius: var(--home-radius-sm);
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-panel__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(148, 163, 184, 0.9);
}

/* Must beat `.contact-page a { color: inherit }` (0,1,1 vs 0,1,0) */
.contact-page .contact-panel .contact-panel__email {
  font-size: 1.0625rem;
  font-weight: 600;
  word-break: break-word;
  color: #f8fafc;
  text-decoration: underline;
  text-decoration-color: rgba(56, 189, 248, 0.55);
  text-underline-offset: 0.2em;
}

.contact-page .contact-panel .contact-panel__email:hover {
  color: #a5f3fc;
}

.contact-panel__cta {
  width: 100%;
  text-align: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.contact-panel__cta:hover {
  color: #ffffff;
}

.contact-panel__footnote {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.55;
  color: rgba(148, 163, 184, 0.75);
}

.contact-tips {
  padding: clamp(2.75rem, 6vw, 4.25rem) 0 clamp(3.25rem, 7vw, 5rem);
  background: linear-gradient(180deg, var(--home-bg-soft) 0%, var(--home-bg-mesh) 100%);
  border-top: 1px solid var(--home-border);
}

.contact-tips__heading {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--home-text);
}

.contact-tips__intro {
  margin: 0 0 1.35rem;
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--home-muted);
}

.contact-tips__list {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 40rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-tips__list li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--home-muted);
}

.contact-tips__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--home-accent-bright), var(--home-accent));
}

.contact-tips__list li strong {
  color: var(--home-text);
  font-weight: 600;
}

@media (prefers-reduced-motion: no-preference) {
  .contact-hero__copy > * {
    animation: homeReveal 0.65s var(--home-ease-out) both;
  }

  .contact-hero__copy > *:nth-child(1) {
    animation-delay: 0.03s;
  }

  .contact-hero__copy > *:nth-child(2) {
    animation-delay: 0.08s;
  }

  .contact-hero__copy > *:nth-child(3) {
    animation-delay: 0.13s;
  }

  .contact-hero__copy > *:nth-child(4) {
    animation-delay: 0.18s;
  }

  .contact-hero__copy > *:nth-child(5) {
    animation-delay: 0.23s;
  }

  .contact-aside {
    animation: homeReveal 0.75s var(--home-ease-out) 0.12s both;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-hero__copy > *,
  .contact-aside {
    animation: none;
  }
}

/* ——— Legal / terms page ——— */
.legal-page {
  margin: 0;
  min-height: 100vh;
  font-family: var(--home-font);
  background: var(--home-bg);
  color: var(--home-text);
  line-height: 1.6;
}

.legal-page a:hover:not(.home-btn) {
  color: var(--home-accent-bright);
}

.legal-main {
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 8vw, 5rem);
}

.legal-prose {
  max-width: 42rem;
  margin: 0 auto;
  padding-bottom: 2rem;
}

.legal-prose h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.legal-prose .legal-meta {
  margin: -0.25rem 0 1.5rem;
  font-size: 0.875rem;
  color: var(--home-muted);
}

.legal-prose h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--home-text);
}

.legal-prose h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.legal-prose p {
  margin: 0 0 1rem;
  color: var(--home-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.legal-prose ul,
.legal-prose ol.legal-ol {
  margin: 0 0 1.25rem;
  padding-left: 1.35rem;
  color: var(--home-muted);
}

.legal-prose ol.legal-ol li {
  margin-bottom: 0.5rem;
  line-height: 1.65;
  padding-left: 0.25rem;
}

.legal-prose ol.legal-ol li:last-child {
  margin-bottom: 0;
}

.legal-prose li {
  margin-bottom: 0.5rem;
  line-height: 1.65;
}

.legal-prose li:last-child {
  margin-bottom: 0;
}

.legal-address {
  margin: 0 0 1rem;
  font-style: normal;
  color: var(--home-muted);
  line-height: 1.65;
}

.legal-prose a {
  color: var(--home-accent);
  font-weight: 600;
}

.legal-prose a:hover {
  color: var(--home-accent-bright);
}
