/* SocioTech — bright CRED-inspired layout, premium marketing */
:root {
  --bg: #f4faf8;
  --bg-2: #e8f4f1;
  --surface: #ffffff;
  --surface-warm: #f0fdf6;
  --border: rgba(15, 23, 42, 0.08);
  --text: #0f172a;
  --text-muted: #64748b;
  --accent: #0d9488;
  --accent-2: #059669;
  --accent-3: #0ea5e9;
  --accent-soft: rgba(13, 148, 136, 0.14);
  --accent-glow: rgba(14, 165, 233, 0.22);
  --gradient-hero: linear-gradient(135deg, #059669 0%, #0d9488 42%, #0284c7 100%);
  --gradient-mesh: radial-gradient(ellipse 100% 80% at 12% -20%, rgba(5, 150, 105, 0.14), transparent 52%),
    radial-gradient(ellipse 85% 55% at 92% 8%, rgba(14, 165, 233, 0.15), transparent 48%),
    radial-gradient(ellipse 55% 42% at 48% 98%, rgba(13, 148, 136, 0.11), transparent 52%);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --font: "SF Pro Text", "SF Pro Display", "Segoe UI", "Helvetica Neue", "Arial", sans-serif;
  --font-display: var(--font);
  --max: 1180px;
  --header-h: 64px;
  --header-glass: rgba(255, 255, 255, 0.14);
  --header-glass-scrolled: rgba(255, 255, 255, 0.34);
  --header-blur: 34px;
  --glass-surface: rgba(255, 255, 255, 0.34);
  --glass-surface-strong: rgba(255, 255, 255, 0.46);
  --glass-surface-dark: rgba(8, 23, 35, 0.44);
  --glass-border: rgba(255, 255, 255, 0.42);
  --glass-shadow: 0 18px 44px -18px rgba(15, 23, 42, 0.22);
  --glass-blur: 28px;
  --shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.12);
  --shadow-sm: 0 8px 24px -6px rgba(15, 23, 42, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image: var(--gradient-mesh);
  background-attachment: fixed;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.container-wide {
  width: min(100% - 2rem, 1320px);
  margin-inline: auto;
}

/* —— Header (Apple-style frosted glass) —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  isolation: isolate;
  background: var(--header-glass);
  -webkit-backdrop-filter: saturate(210%) blur(var(--header-blur));
  backdrop-filter: saturate(210%) blur(var(--header-blur));
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition:
    background 0.35s cubic-bezier(0.25, 0.1, 0.25, 1),
    box-shadow 0.35s cubic-bezier(0.25, 0.1, 0.25, 1),
    border-color 0.35s ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(140% 80% at 50% -45%, rgba(255, 255, 255, 0.58), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06));
  opacity: 0.85;
  pointer-events: none;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(13, 148, 136, 0.12) 25%,
    rgba(14, 165, 233, 0.15) 50%,
    rgba(13, 148, 136, 0.12) 75%,
    transparent 100%
  );
  pointer-events: none;
  opacity: 0.85;
}

.site-header--scrolled {
  background: var(--header-glass-scrolled);
  border-bottom-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.78) inset, 0 10px 36px -14px rgba(15, 23, 42, 0.2);
}

.site-header--scrolled::after {
  opacity: 1;
}

.page-home .site-header:not(.site-header--scrolled) {
  background: rgba(255, 255, 255, 0.09);
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.page-home .site-header:not(.site-header--scrolled)::after {
  opacity: 0.5;
}

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

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header {
    background: rgba(255, 255, 255, 0.94);
  }

  .site-header::before {
    display: none;
  }

  .site-header--scrolled {
    background: rgba(255, 255, 255, 0.98);
  }

  .page-home .site-header:not(.site-header--scrolled) {
    background: rgba(255, 255, 255, 0.92);
  }

  .nav-main {
    background: rgba(255, 255, 255, 0.98);
  }
}

.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.04em;
  transition: color 0.2s ease, transform 0.2s ease;
}

.logo-link:hover {
  text-decoration: none;
  color: var(--accent);
  transform: translateY(-0.5px);
}

.logo-link img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.nav-toggle {
  display: none;
  width: 2.65rem;
  height: 2.65rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--text);
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(13, 148, 136, 0.25);
}

.nav-toggle:active {
  transform: scale(0.96);
}

.nav-main ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-main a {
  display: block;
  padding: 0.42rem 0.95rem;
  color: rgba(15, 23, 42, 0.72);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: -0.015em;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-main a:hover {
  color: var(--text);
  background: rgba(13, 148, 136, 0.1);
  text-decoration: none;
}

.nav-main a.active {
  color: var(--accent);
  background: rgba(13, 148, 136, 0.14);
  font-weight: 700;
}

.nav-cta .btn-primary {
  padding: 0.48rem 1.15rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 16px -2px var(--accent-glow);
}

.nav-cta .btn-primary:hover {
  transform: translateY(-1px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.35rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: var(--gradient-hero);
  color: #fff;
  box-shadow: 0 12px 32px var(--accent-glow);
}

.btn-primary:hover {
  color: #fff;
  box-shadow: 0 16px 40px var(--accent-glow);
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-sm);
}

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

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

.btn-dark:hover {
  color: #fff;
  opacity: 0.92;
}

.nav-cta {
  margin-left: 0.35rem;
}

/* —— Footer —— */
.site-footer {
  margin-top: 4rem;
  padding: 3.25rem 0 0;
  background: linear-gradient(180deg, #0c4a6e 0%, #064e3b 52%, #022c22 100%);
  color: #e2e8f0;
}

.site-footer a {
  color: #7dd3fc;
}

.site-footer a:hover {
  color: #a7f3d0;
}

.footer-main {
  display: grid;
  gap: 2.75rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 900px) {
  .footer-main {
    grid-template-columns: minmax(200px, 280px) 1fr;
    gap: 3.5rem;
    align-items: start;
  }
}

.footer-brand-block {
  max-width: 320px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
}

.footer-logo:hover {
  text-decoration: none;
  color: #a7f3d0;
}

.footer-logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.footer-tagline {
  margin: 1rem 0 1.25rem;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.65;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  color: #a7f3d0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.footer-social-link:hover {
  color: #fff;
  background: rgba(125, 211, 252, 0.15);
  border-color: rgba(125, 211, 252, 0.35);
  transform: translateY(-2px);
  text-decoration: none;
}

.footer-social-link:focus-visible {
  outline: 2px solid #7dd3fc;
  outline-offset: 2px;
}

.footer-social-icon {
  width: 1.2rem;
  height: 1.2rem;
  flex-shrink: 0;
}

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

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

.footer-heading {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #5eead4;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li {
  margin-bottom: 0.55rem;
}

.footer-list a {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e2e8f0;
}

.footer-list a:hover {
  color: #7dd3fc;
}

.footer-col--contact .footer-contact-text {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.55;
}

.footer-email {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.footer-email a {
  color: #fff;
  word-break: break-all;
}

.footer-email a:hover {
  color: #7dd3fc;
}

.footer-cta-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: #a7f3d0;
}

.footer-cta-link:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1.35rem 0 1.75rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.8rem;
  color: #64748b;
}

.footer-bottom-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.25rem;
}

.footer-bottom-nav a {
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
}

.footer-bottom-nav a:hover {
  color: #7dd3fc;
}

.footer-bottom-sep {
  color: #475569;
  font-size: 0.75rem;
  user-select: none;
}

/* Legal pages */
.legal-page {
  padding-bottom: 2rem;
}

.legal-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: -0.25rem;
}

.legal-prose ul {
  color: var(--text-muted);
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal-prose li {
  margin-bottom: 0.4rem;
}

/* Cookie consent bar */
.cookie-consent {
  position: fixed;
  z-index: 200;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.25rem 1.15rem;
  background: rgba(15, 23, 42, 0.97);
  border-top: 1px solid rgba(94, 234, 212, 0.2);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.2);
  display: none;
}

.cookie-consent.is-visible {
  display: block;
}

.cookie-consent__inner {
  width: min(100% - 0rem, var(--max));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.cookie-consent p {
  margin: 0;
  flex: 1;
  min-width: min(100%, 240px);
  max-width: 52ch;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #cbd5e1;
}

.cookie-consent a {
  color: #7dd3fc;
  font-weight: 600;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-end;
}

.cookie-consent .btn-cookie {
  padding: 0.55rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}

.btn-cookie--accept {
  background: linear-gradient(135deg, #059669, #0284c7);
  color: #fff;
}

.btn-cookie--accept:hover {
  opacity: 0.92;
}

.btn-cookie--outline {
  background: transparent;
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-cookie--outline:hover {
  border-color: #7dd3fc;
  color: #7dd3fc;
}

.btn-cookie--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-cookie--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(125, 211, 252, 0.4);
}

/* Cookie preferences modal */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 240;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  display: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.cookie-modal-backdrop.is-open {
  display: block;
  opacity: 1;
}

.cookie-modal {
  position: fixed;
  z-index: 250;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.97);
  width: min(calc(100% - 2rem), 480px);
  max-height: min(88vh, 640px);
  overflow: hidden;
  display: none;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cookie-modal.is-open {
  display: flex;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.cookie-modal__head {
  padding: 1.25rem 1.35rem;
  border-bottom: 1px solid var(--border);
}

.cookie-modal__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.cookie-modal__head p {
  margin: 0.4rem 0 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.cookie-modal__body {
  padding: 1rem 1.35rem 1.25rem;
  overflow-y: auto;
  flex: 1;
}

.cookie-modal__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.cookie-modal__row:last-of-type {
  border-bottom: none;
}

.cookie-modal__row-text strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.cookie-modal__row-text span {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.cookie-modal__foot {
  padding: 1rem 1.35rem 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.cookie-switch {
  position: relative;
  width: 44px;
  height: 26px;
  flex-shrink: 0;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.cookie-switch__ui {
  position: absolute;
  inset: 0;
  background: #cbd5e1;
  border-radius: 999px;
  transition: background 0.2s ease;
  cursor: pointer;
}

.cookie-switch__ui::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}

.cookie-switch input:checked + .cookie-switch__ui {
  background: linear-gradient(135deg, #059669, #0d9488);
}

.cookie-switch input:checked + .cookie-switch__ui::after {
  transform: translateX(18px);
}

.cookie-switch input:disabled + .cookie-switch__ui {
  background: rgba(5, 150, 105, 0.35);
  cursor: not-allowed;
  opacity: 0.85;
}

.cookie-switch input:focus-visible + .cookie-switch__ui {
  outline: 2px solid var(--accent-3);
  outline-offset: 2px;
}

.btn-cookie-modal {
  padding: 0.6rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-cookie-modal--primary {
  background: var(--gradient-hero);
  color: #fff;
}

.btn-cookie-modal--primary:hover {
  opacity: 0.94;
}

.btn-cookie-modal--secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-cookie-modal--secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.footer-cookie-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-cookie-link:hover {
  color: #7dd3fc;
}

body.cookie-consent-visible {
  padding-bottom: 6.5rem;
}

@media (min-width: 720px) {
  body.cookie-consent-visible {
    padding-bottom: 5.25rem;
  }
}

body.cookie-modal-open {
  overflow: hidden;
}

/* —— CRED-style hero —— */
.top-tag {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.top-tag__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.top-tag .container {
  width: calc(100% - 1rem);
  max-width: none;
  margin-inline: 0;
  padding-left: 1rem;
}

.top-tag__text {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-muted);
}

.top-tag__social {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.top-tag__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.95rem;
  height: 1.95rem;
  border-radius: 999px;
  color: rgba(15, 23, 42, 0.7);
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.top-tag__social-link:hover {
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(14, 165, 233, 0.38);
  transform: translateY(-1px);
}

.top-tag__social-link:focus-visible {
  outline: 2px solid rgba(14, 165, 233, 0.65);
  outline-offset: 2px;
}

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

@media (max-width: 640px) {
  .top-tag {
    padding: 0.55rem 0;
  }

  .top-tag__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

.hero-cred {
  padding: 2.5rem 0 3.5rem;
  overflow: hidden;
}

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

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

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-2);
  margin-bottom: 1rem;
}

.display-xl {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6.5vw, 4.25rem);
  line-height:0.98;
  letter-spacing: -0.045em;
  margin: 0 0 1.25rem;
  color: var(--text);
}

.display-xl .line-accent {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 38ch;
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-visual {
  position: relative;
}

.hero-visual-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.hero-visual-main img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.hero-float-card {
  position: absolute;
  bottom: -1rem;
  left: -0.5rem;
  right: auto;
  max-width: 220px;
  padding: 1rem 1.15rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
}

@media (max-width: 959px) {
  .hero-float-card {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: -2rem;
    margin-left: 1rem;
    max-width: none;
  }
}

.hero-float-card span {
  display: block;
  font-weight: 600;
  color: var(--accent-3);
  font-size: 0.75rem;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* —— Statement band (CRED full-bleed copy) —— */
.statement-band {
  padding: clamp(3rem, 8vw, 5rem) 0;
  text-align: center;
  background: linear-gradient(180deg, var(--surface-warm) 0%, #fff 100%);
  border-block: 1px solid var(--border);
}

.statement-band h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 auto 1rem;
  max-width: 14ch;
  color: var(--text);
}

.statement-band p {
  margin: 0 auto;
  max-width: 42ch;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* —— Split media —— */
.split-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

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

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

  .split-row.reverse .split-visual {
    order: 2;
  }

  .split-row.reverse .split-copy {
    order: 1;
  }
}

.split-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.split-visual img {
  width: 100%;
  aspect-ratio: 16/11;
  object-fit: cover;
}

.split-copy h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  line-height: 1.15;
}

.split-copy p {
  color: var(--text-muted);
  margin: 0 0 1rem;
  font-size: 1.02rem;
}

.link-arrow {
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.link-arrow:hover {
  text-decoration: none;
  gap: 0.55rem;
}

/* —— Bento grid —— */
.section {
  padding: clamp(3rem, 5vw, 4.5rem) 0;
}

.section-head {
  margin-bottom: 2.25rem;
  text-align: center;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin: 0 0 0.6rem;
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0 auto;
  color: var(--text-muted);
  max-width: 48ch;
  font-size: 1.05rem;
}

.section-head--wide p {
  max-width: 62ch;
}

.section-head .section-lead-secondary {
  margin-top: 0.85rem;
  max-width: 58ch;
}

.stack-pills-wrap {
  margin: 1.75rem auto 0;
  max-width: 720px;
  text-align: center;
}

.stack-pills-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-2);
  margin-bottom: 0.75rem;
}

.stack-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}

.stack-pill {
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(13, 148, 136, 0.2);
  border-radius: 999px;
}

.stack-highlights {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 2.5rem;
  grid-template-columns: 1fr;
}

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

.stack-highlight {
  padding: 1.25rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 4px solid var(--accent-3);
  box-shadow: var(--shadow-sm);
}

.stack-highlight h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text);
}

.stack-highlight p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.bento-section-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin: 0 0 1rem;
  text-align: center;
}

.bento-section-label--spaced {
  margin-top: 2.25rem;
}

.bento + .bento {
  margin-top: 1.5rem;
}

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

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

  .bento .bento-card.span-2 {
    grid-column: span 2;
  }

  .bento .bento-card.tall {
    grid-row: span 2;
  }
}

.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

.bento-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin: -0.25rem -0.25rem 1rem -0.25rem;
  width: calc(100% + 0.5rem);
}

.bento-card.tall img {
  height: 220px;
}

.bento-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  font-family: var(--font-display);
}

.bento-card p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  flex: 1;
}

.know-more {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--accent);
}

.know-more:hover {
  text-decoration: none;
}

/* —— Cards grid (legacy + snapshots) —— */
.cards-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.card:hover {
  border-color: rgba(13, 148, 136, 0.28);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  font-family: var(--font-display);
}

.card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.card-thumb {
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.cards-grid--snapshots {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.card--cta-more {
  display: flex;
  align-items: stretch;
  min-height: 100%;
  background: linear-gradient(145deg, rgba(240, 253, 250, 0.9), rgba(224, 242, 254, 0.5));
  border-color: rgba(13, 148, 136, 0.2);
}

.card--cta-more:hover {
  border-color: rgba(13, 148, 136, 0.35);
}

.card-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.25rem 0;
  width: 100%;
}

.card--cta-more h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
}

.card--cta-more p {
  margin: 0;
  flex: 1;
}

.card--cta-more .btn {
  margin-top: 0.25rem;
}

/* —— Video (chromeless autoplay — no controls / no iframe chrome) —— */
.video-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.video-shell {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #0f172a;
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: min(70vh, 560px);
  margin-inline: auto;
}

.video-shell video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: 0;
  outline: none;
  pointer-events: none;
}

.video-shell:focus {
  outline: none;
}

.video-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .video-grid.two {
    grid-template-columns: 1fr 1fr;
  }

  .video-grid.two .video-shell {
    max-height: min(55vh, 420px);
  }
}

.video-caption {
  margin-top: 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Legacy embed box — use for 16:9 native video same as .video-shell */
.video-embed-native {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: min(70vh, 560px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: #000;
  margin-inline: auto;
}

.video-embed-native video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  outline: none;
  pointer-events: none;
}

/* —— Proof / stats —— */
.proof-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  padding: 2rem 0;
}

.proof-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.proof-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.proof-item span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.rating-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.25rem;
  background: var(--surface);
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
}

.rating-pill small {
  display: block;
  font-weight: 600;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* —— Marquee —— */
.marquee-wrap {
  overflow: hidden;
  padding: 1rem 0;
  border-block: 1px solid var(--border);
  background: var(--surface);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 28s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
  }
}

.marquee-track span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-muted);
  white-space: nowrap;
}

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

/* —— FAQ —— */
.faq-section {
  padding: clamp(3rem, 5vw, 4rem) 0;
}

.faq-section h2 {
  font-family: var(--font-display);
  font-weight: 800;
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 2rem;
  letter-spacing: -0.03em;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.65rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-list summary {
  padding: 1.1rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

.faq-list summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--accent);
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list .faq-body {
  padding: 0 1.25rem 1.15rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* —— CTA strip —— */
.cta-strip {
  margin: 3rem 0;
  padding: clamp(2.5rem, 5vw, 3.5rem);
  background: var(--gradient-hero);
  border-radius: var(--radius-lg);
  text-align: center;
  color: #fff;
  box-shadow: 0 24px 48px var(--accent-glow);
}

.cta-strip h2 {
  font-family: var(--font-display);
  font-weight: 800;
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}

.cta-strip p {
  margin: 0 0 1.35rem;
  opacity: 0.95;
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-strip .btn-primary {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cta-strip .btn-primary:hover {
  color: #0369a1;
}

/* —— Case study / automation —— */
.case-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.case-item {
  display: grid;
  gap: 1.25rem;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .case-item {
    grid-template-columns: minmax(220px, 320px) 1fr;
    align-items: stretch;
  }
}

.case-visual-wrap {
  position: relative;
  min-height: 200px;
}

.case-visual-wrap img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
}

.case-body {
  padding: 1.5rem 1.75rem 1.75rem;
}

.case-meta {
  font-size: 0.75rem;
  color: var(--accent-2);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.case-item h3 {
  margin: 0.4rem 0 0.75rem;
  font-size: 1.2rem;
  font-family: var(--font-display);
  font-weight: 800;
}

.case-item p {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.case-item ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.case-placeholder {
  min-height: 200px;
  background: linear-gradient(135deg, var(--bg-2), var(--surface-warm));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
}

/* —— About prose —— */
.prose {
  max-width: 65ch;
}

.prose h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
  font-family: var(--font-display);
  font-weight: 800;
}

.prose p {
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.stat {
  padding: 1.35rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat strong {
  display: block;
  font-size: 1.85rem;
  font-family: var(--font-display);
  font-weight: 800;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* —— Forms —— */
.form-card {
  max-width: 560px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.25rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.95rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

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

.form-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.form-status {
  margin: 0 0 0.75rem;
  min-height: 1.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
}

.form-status--success {
  color: var(--accent-2);
}

.form-status--error {
  color: #b91c1c;
}

.contact-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    gap: 2.5rem;
  }

  .contact-layout .form-card {
    max-width: none;
    margin: 0;
  }
}

.contact-aside {
  padding: 1.75rem 1.5rem;
  background: var(--surface-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.contact-aside__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.contact-aside__lead {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-aside__block {
  margin-bottom: 1.5rem;
}

.contact-aside__block:last-child {
  margin-bottom: 0;
}

.contact-aside__block--book {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  margin-bottom: 0;
}

.contact-aside__label {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-2);
}

.contact-aside__value {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

.contact-aside__value a {
  font-weight: 700;
  word-break: break-word;
}

.contact-aside__hint {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-aside__book {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}

/* —— Login —— */
.login-layout {
  min-height: calc(100vh - var(--header-h) - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
}

.login-card {
  width: 100%;
  max-width: 420px;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.login-card h1 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-family: var(--font-display);
  font-weight: 800;
}

.login-card > p {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* —— Page title —— */
.page-title {
  padding: 2.5rem 0 1rem;
}

.page-title h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.page-title p {
  margin: 0;
  color: var(--text-muted);
  max-width: 52ch;
  font-size: 1.05rem;
}

.final-cta {
  padding: 4rem 0;
  text-align: center;
}

.final-cta h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
}

.final-cta p {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

/* —— Mobile nav —— */
@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .nav-main {
    position: absolute;
    top: var(--header-h);
    left: 0.65rem;
    right: 0.65rem;
    background: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: saturate(210%) blur(32px);
    backdrop-filter: saturate(210%) blur(32px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 0 0 18px 18px;
    padding: 0.85rem 1rem 1.1rem;
    display: none;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75) inset, 0 16px 40px -16px rgba(15, 23, 42, 0.22);
  }

  .nav-main.is-open {
    display: block;
  }

  .nav-main ul {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .nav-cta .btn {
    width: 100%;
    justify-content: center;
  }

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

  .landing-pill-list {
    justify-content: flex-start;
  }
}

/* —— Unique landing (home only) —— */
.page-home .landing-hero {
  position: relative;
  padding: 2rem 0 3.5rem;
  overflow: hidden;
}

.landing-hero__veil {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 85%;
  background:
    radial-gradient(ellipse 70% 60% at 20% 40%, rgba(5, 150, 105, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 50% at 85% 25%, rgba(14, 165, 233, 0.12), transparent 50%),
    linear-gradient(165deg, rgba(240, 253, 250, 0.95) 0%, rgba(255, 255, 255, 0.4) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.landing-hero__inner {
  position: relative;
  z-index: 1;
}

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

@media (min-width: 960px) {
  .landing-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr);
    gap: 2.25rem 3.25rem;
    align-items: end;
  }
}

.landing-eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-2);
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  border-left: 3px solid var(--accent-3);
}

.landing-display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.35rem, 5.8vw, 3.85rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin: 0 0 1.2rem;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 0.08em;
}

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

.landing-display__line {
  color: var(--text);
}

.landing-lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 38ch;
  margin: 0 0 1.5rem;
  line-height: 1.7;
}

.landing-lead--stack {
  max-width: 42ch;
}

.landing-lead__block {
  display: block;
}

.landing-lead__block + .landing-lead__block {
  margin-top: 0.65rem;
}

/* —— Home: hero headline / CTA carousel —— */
.landing-hero-messages {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.landing-hero-messages__viewport {
  overflow: hidden;
  outline: none;
  min-height: clamp(17.5rem, 48vh, 26rem);
}

.landing-hero-messages__viewport:focus-visible {
  border-radius: var(--radius-sm);
  box-shadow: 0 0 0 3px var(--accent-soft), 0 0 0 5px rgba(13, 148, 136, 0.28);
}

.landing-hero-messages__track {
  display: flex;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.landing-hero-messages--reduce-motion .landing-hero-messages__track,
.landing-hero-messages--reduce-motion .landing-hero-visual__track {
  transition: none;
}

.landing-hero-message {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  padding-right: 0.25rem;
}

.landing-hero-messages__toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-top: 0.35rem;
}

.landing-hero-messages__arrow {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--accent);
  font-size: 1.35rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.landing-hero-messages__arrow:hover {
  background: var(--surface-warm);
  border-color: rgba(13, 148, 136, 0.35);
  transform: scale(1.05);
}

.landing-hero-messages__dots {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  align-items: center;
}

.landing-hero-messages__dot {
  appearance: none;
  margin: 0;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.38rem 0.85rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--text-muted);
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.landing-hero-messages__dot:hover {
  border-color: rgba(13, 148, 136, 0.35);
  color: var(--text);
}

.landing-hero-messages__dot.is-active {
  background: var(--accent-soft);
  border-color: rgba(13, 148, 136, 0.45);
  color: var(--accent);
}

.landing-hero-messages__dot-label {
  pointer-events: none;
}

.landing-hero-messages__live {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.landing-trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
}

.landing-trust li {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.landing-trust strong {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.landing-hero__visual {
  position: relative;
}

.landing-hero__glyph {
  position: absolute;
  z-index: 0;
  right: -2%;
  top: -8%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(6.5rem, 16vw, 11rem);
  line-height: 0.85;
  color: rgba(13, 148, 136, 0.11);
  letter-spacing: -0.06em;
  pointer-events: none;
  user-select: none;
}

.landing-hero-visual {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
}

@media (min-width: 960px) {
  .landing-hero-visual {
    margin-right: clamp(-0.5rem, -1.5vw, 0rem);
  }
}

.landing-hero-visual__viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow:
    0 36px 72px -22px rgba(15, 23, 42, 0.24),
    0 0 0 1px rgba(13, 148, 136, 0.14);
  clip-path: polygon(0 0, 100% 2%, 100% 100%, 0 98%);
  touch-action: pan-y;
  min-height: clamp(17.5rem, 58vmin, 36rem);
}

.landing-hero-visual__track {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: inherit;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.landing-hero-visual__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  margin: 0;
  min-height: inherit;
}

.landing-hero-visual__slide img {
  width: 100%;
  height: 100%;
  min-height: clamp(17.5rem, 58vmin, 36rem);
  object-fit: cover;
  display: block;
}

@media (max-width: 959px) {
  .landing-hero__grid {
    grid-template-columns: 1fr;
  }

  .landing-hero-visual__viewport {
    min-height: clamp(15.5rem, 78vw, 26rem);
  }

  .landing-hero-visual__slide img {
    min-height: clamp(15.5rem, 78vw, 26rem);
  }

  .landing-hero__glyph {
    font-size: clamp(5rem, 28vw, 10rem);
    right: 0;
    top: -1rem;
  }
}

.landing-pills {
  padding: 1.35rem 0;
  border-block: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(240, 253, 250, 0.5), rgba(255, 255, 255, 0.9));
}

.landing-pill-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.landing-pill-list li {
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--surface);
  border: 1px solid rgba(13, 148, 136, 0.22);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.landing-statement h2 {
  text-transform: none;
}

.landing-split-visual {
  box-shadow: 0 24px 48px -16px rgba(14, 165, 233, 0.15);
}

/* —— Home: pain-point carousel —— */
.pain-slider {
  position: relative;
  max-width: 1000px;
  margin-inline: auto;
}

.pain-slider__viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--surface);
  outline: none;
}

.pain-slider__viewport:focus-visible {
  box-shadow:
    var(--shadow),
    0 0 0 3px var(--accent-soft),
    0 0 0 5px rgba(13, 148, 136, 0.32);
}

.pain-slider__track {
  display: flex;
  width: 100%;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.pain-slider--reduce-motion .pain-slider__track {
  transition: none;
}

.pain-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  display: grid;
  gap: 1.75rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  align-items: center;
}

@media (min-width: 800px) {
  .pain-slide {
    grid-template-columns: 1fr 1.05fr;
    gap: 2rem;
    padding: 2rem 2.25rem;
  }
}

.pain-slide__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px -20px rgba(14, 165, 233, 0.2);
}

.pain-slide__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.pain-slide__eyebrow {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-2);
  margin: 0 0 0.65rem;
  padding-left: 0.85rem;
  border-left: 3px solid var(--accent-3);
}

.pain-slide__body h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: -0.03em;
  line-height: 1.18;
  margin: 0 0 1rem;
  color: var(--text);
}

.pain-slide__body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.pain-slider__toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.pain-slider__arrow {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--accent);
  font-size: 1.45rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}

.pain-slider__arrow:hover {
  background: var(--surface-warm);
  border-color: rgba(13, 148, 136, 0.35);
  transform: scale(1.05);
}

.pain-slider__dots {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.pain-slider__dot {
  appearance: none;
  margin: 0;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-muted);
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.pain-slider__dot:hover {
  border-color: rgba(13, 148, 136, 0.35);
  color: var(--text);
}

.pain-slider__dot.is-active {
  background: var(--accent-soft);
  border-color: rgba(13, 148, 136, 0.45);
  color: var(--accent);
}

.pain-slider__dot-label {
  pointer-events: none;
}

.pain-slider__live {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pain-slider__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 520px) {
  .pain-slider__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .pain-slider__cta .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .page-home .landing-hero__text > .landing-eyebrow,
  .page-home .landing-hero__text > .landing-hero-messages,
  .page-home .landing-hero__text > .landing-trust {
    opacity: 0;
    animation: landingRise 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  .page-home .landing-hero__text > .landing-eyebrow {
    animation-delay: 0.04s;
  }

  .page-home .landing-hero__text > .landing-hero-messages {
    animation-delay: 0.12s;
  }

  .page-home .landing-hero__text > .landing-trust {
    animation-delay: 0.22s;
  }

  .page-home .landing-hero__visual {
    opacity: 0;
    animation: landingRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.18s forwards;
  }
}

@keyframes landingRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* —— Global liquid-glass treatment —— */
.top-tag,
.statement-band,
.hero-float-card,
.stack-highlight,
.bento-card,
.card,
.proof-item,
.rating-pill,
.marquee-wrap,
.faq-list details,
.case-item,
.stat,
.form-card,
.login-card,
.video-shell,
.video-embed-native,
.cookie-modal {
  background: var(--glass-surface);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: saturate(180%) blur(var(--glass-blur));
  backdrop-filter: saturate(180%) blur(var(--glass-blur));
  box-shadow: var(--glass-shadow);
}

.landing-pill-list li {
  background: var(--glass-surface-strong);
  border-color: var(--glass-border);
  -webkit-backdrop-filter: saturate(175%) blur(16px);
  backdrop-filter: saturate(175%) blur(16px);
}

.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 8% -10%, rgba(14, 165, 233, 0.2), transparent 48%),
    radial-gradient(100% 120% at 92% 5%, rgba(16, 185, 129, 0.16), transparent 52%),
    linear-gradient(180deg, rgba(6, 44, 66, 0.82) 0%, rgba(5, 38, 52, 0.88) 55%, rgba(3, 26, 38, 0.92) 100%);
  -webkit-backdrop-filter: saturate(180%) blur(30px);
  backdrop-filter: saturate(180%) blur(30px);
  border-top: 1px solid rgba(186, 230, 253, 0.26);
  color: #eaf2ff;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.015) 45%, transparent 75%);
  pointer-events: none;
}

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

.site-footer .footer-main {
  border-bottom-color: rgba(186, 230, 253, 0.2);
}

.site-footer .footer-brand-block {
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  backdrop-filter: saturate(150%) blur(10px);
}

.site-footer .footer-logo {
  color: #ffffff;
}

.site-footer .footer-tagline,
.site-footer .footer-col--contact .footer-contact-text,
.site-footer .footer-copy,
.site-footer .footer-bottom-nav a,
.site-footer .footer-bottom-sep {
  color: rgba(231, 243, 255, 0.92);
}

.site-footer .footer-heading {
  color: #99f6e4;
}

.site-footer .footer-list a,
.site-footer .footer-email a,
.site-footer .footer-cta-link {
  color: #ffffff;
}

.site-footer .footer-list a:hover,
.site-footer .footer-email a:hover,
.site-footer .footer-cta-link:hover,
.site-footer .footer-bottom-nav a:hover {
  color: #67e8f9;
}

.footer-social-link {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(186, 230, 253, 0.38);
  -webkit-backdrop-filter: saturate(170%) blur(12px);
  backdrop-filter: saturate(170%) blur(12px);
}

.site-footer .footer-cookie-link {
  color: rgba(231, 243, 255, 0.92);
}

.site-footer .footer-cookie-link:hover {
  color: #67e8f9;
}

.cookie-consent {
  background: rgba(15, 23, 42, 0.48);
  -webkit-backdrop-filter: saturate(175%) blur(26px);
  backdrop-filter: saturate(175%) blur(26px);
}

.btn-cookie-modal--secondary {
  background: rgba(255, 255, 255, 0.48);
  border-color: rgba(255, 255, 255, 0.5);
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .top-tag,
  .statement-band,
  .hero-float-card,
  .stack-highlight,
  .bento-card,
  .card,
  .proof-item,
  .rating-pill,
  .marquee-wrap,
  .faq-list details,
  .case-item,
  .stat,
  .form-card,
  .login-card,
  .video-shell,
  .video-embed-native,
  .cookie-modal {
    background: rgba(255, 255, 255, 0.94);
  }

  .site-footer {
    background: rgba(7, 24, 36, 0.92);
  }
}
