/* ============================================================
   IO Pipelines — Marketing Site Styles
   Layered on top of tokens.css (load tokens.css first)
   ============================================================ */

/* ── Reset & base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--text-base);
  background: var(--bg-surface);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--text-link);
  text-decoration: none;
  transition: color var(--t-fast);
}
a:hover { color: var(--text-link-hover); }

/* ── Layout helpers ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--sp-7);
}

.section { padding-block: var(--sp-12); }
.section--tight { padding-block: var(--sp-10); }
.section--alt { background: var(--bg-surface-2); }

/* ── Typography ───────────────────────────────────────────── */
.text-gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-accent);
}

.section-title {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--text-strong);
  margin-top: var(--sp-3);
  margin-bottom: var(--sp-5);
}

.section-subtitle {
  font-size: var(--fs-xl);
  color: var(--text-muted);
  max-width: 600px;
  line-height: var(--lh-relaxed);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--r-md);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  cursor: pointer;
  border: none;
  transition: all var(--t-base);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--brand-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--brand-primary-hover);
  color: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-gradient {
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}
.btn-gradient:hover {
  opacity: 0.96;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.32);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--brand-primary);
  border: 1.5px solid var(--brand-primary);
}
.btn-outline:hover {
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.btn-lg {
  padding: var(--sp-4) var(--sp-8);
  font-size: var(--fs-lg);
  border-radius: var(--r-lg);
}

/* ── Navigation ───────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: var(--sp-8);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand-icon { width: 32px; height: 32px; }

.nav-brand-name {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--text-strong);
  letter-spacing: -0.01em;
}

.nav-brand-name span { color: var(--brand-primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  list-style: none;
  flex: 1;
}

.nav-links a {
  display: block;
  padding: var(--sp-2) var(--sp-3);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-base);
  border-radius: var(--r-sm);
  transition: all var(--t-fast);
}
.nav-links a:hover {
  color: var(--brand-primary);
  background: var(--brand-primary-soft);
}

.nav-links .has-dropdown { position: relative; }

.nav-links .has-dropdown > a::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 6px;
  margin-left: 4px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  opacity: 0.5;
  vertical-align: middle;
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: var(--sp-2);
  list-style: none;
  z-index: var(--z-modal);
}

/* Invisible bridge across the gap between trigger and panel, so the menu
   stays open while the cursor travels down into it (classic hover-gap fix) */
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

.has-dropdown:hover .nav-dropdown { display: block; }

.nav-dropdown li a {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  font-weight: var(--fw-medium);
  color: var(--text-base);
}

.nav-dropdown li a .dd-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: var(--brand-primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  font-size: 16px;
  flex-shrink: 0;
}

/* Desktop nav actions: Sign In (outline) + Book a Demo (filled), pinned right */
.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}
.nav-cta { flex-shrink: 0; }

/* Sign In button: secondary/outline so the Book a Demo CTA stays primary */
.nav-signin-btn { padding: var(--sp-2) var(--sp-5); }

/* Mobile-only CTA block (Sign In + Book a Demo) lives inside the links list; hidden on desktop */
.nav-mobile-cta { display: none; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-2);
  color: var(--text-base);
  font-size: 24px;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: var(--bg-surface);
  padding-block: 96px 104px;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% -10%, rgba(37, 99, 235, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 90% 60%,  rgba(13, 148, 136, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--sp-12);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-base);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  box-shadow: var(--shadow-xs);
  margin-bottom: var(--sp-6);
}
.hero-badge i { color: var(--brand-primary); font-size: 1em; }

.hero-title {
  font-size: clamp(2.5rem, 4.6vw, 3.75rem);
  font-weight: var(--fw-bold);
  line-height: 1.07;
  color: var(--text-strong);
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-6);
}

.hero-subtitle {
  font-size: var(--fs-xl);
  color: var(--text-base);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-8);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  filter: drop-shadow(0 20px 40px rgba(37, 99, 235, 0.12));
}

/* ── Problem/Solution ─────────────────────────────────────── */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);
  align-items: start;
}

.problem-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.problem-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-5);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
}

.problem-list .icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--danger-soft);
  color: var(--danger);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.solution-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.solution-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-5);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
}

.solution-list .icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--brand-accent-soft);
  color: var(--brand-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.list-item-title {
  font-weight: var(--fw-semibold);
  color: var(--text-strong);
  margin-bottom: 2px;
}

.list-item-desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

/* ── Featured Product ─────────────────────────────────────── */
.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.product-card-header {
  background: var(--brand-gradient);
  padding: var(--sp-9) var(--sp-10);
  color: #fff;
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.product-card-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--r-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
}

.product-card-title {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
}

.product-card-tagline {
  font-size: var(--fs-lg);
  opacity: 0.85;
  margin-top: var(--sp-1);
}

.product-card-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.product-feature {
  padding: var(--sp-7) var(--sp-7);
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.product-feature:nth-child(3n) { border-right: none; }
.product-feature:nth-last-child(-n+3) { border-bottom: none; }

.product-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: var(--sp-4);
}

.product-feature h4 {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--text-strong);
  margin-bottom: var(--sp-2);
}

.product-feature p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
}

/* ── Capabilities Grid ────────────────────────────────────── */
.caps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.cap-card {
  padding: var(--sp-7);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--t-base);
}

.cap-card:hover {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.cap-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-lg);
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  margin-bottom: var(--sp-5);
}

.cap-card h3 {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--text-strong);
  margin-bottom: var(--sp-3);
}

.cap-card p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
}

/* ── Trust Section ────────────────────────────────────────── */
.trust-section {
  background: var(--bg-inverted);
  color: var(--text-on-inverted);
  padding-block: var(--sp-12);
}

.trust-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: center;
}

.trust-title {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-5);
}

.trust-desc {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.7);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-7);
}

.trust-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

.trust-pillar {
  padding: var(--sp-5);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--r-lg);
}

.trust-pillar-icon {
  font-size: 24px;
  margin-bottom: var(--sp-3);
  color: var(--brand-accent);
}

.trust-pillar h4 {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: #fff;
  margin-bottom: var(--sp-2);
}

.trust-pillar p {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.6);
}

.trust-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
}

.trust-stat {
  text-align: center;
  padding: var(--sp-7);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-xl);
}

.trust-stat-number {
  font-size: var(--fs-5xl);
  font-weight: var(--fw-bold);
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--sp-2);
}

.trust-stat-label {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.6);
}

/* ── CTA Section ──────────────────────────────────────────── */
.cta-section {
  background: var(--brand-gradient);
  padding-block: var(--sp-12);
  text-align: center;
  color: #fff;
}

.cta-section .section-title { color: #fff; }
.cta-section .section-subtitle { color: rgba(255, 255, 255, 0.8); margin-inline: auto; }

.cta-actions {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--sp-8);
}

/* ── PipelineX Product Page ───────────────────────────────── */
.product-hero {
  background: var(--bg-inverted);
  padding-block: 80px 96px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.product-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(37, 99, 235, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 100% 20%, rgba(13, 148, 136, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.product-hero-inner {
  position: relative;
  max-width: 780px;
}

.product-hero-title {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: var(--sp-5);
}

.product-hero-subtitle {
  font-size: var(--fs-xl);
  color: rgba(255, 255, 255, 0.75);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-8);
  max-width: 600px;
}

/* ── Feature Grid ─────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
}

.feature-card {
  padding: var(--sp-8);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--t-base);
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-primary);
  transform: translateY(-2px);
}

.feature-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-lg);
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  margin-bottom: var(--sp-5);
}

.feature-card h3 {
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
  color: var(--text-strong);
  margin-bottom: var(--sp-3);
}

.feature-card p {
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
}

.feature-card ul {
  list-style: none;
  margin-top: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.feature-card ul li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.feature-card ul li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-accent);
  flex-shrink: 0;
}

/* ── Workflow Visualization ───────────────────────────────── */
.workflow-section {
  background: var(--bg-surface-2);
  padding-block: var(--sp-12);
}

.workflow-diagram {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: var(--sp-10);
  overflow-x: auto;
}

.workflow-node {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: var(--sp-6);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
}

.workflow-node-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-lg);
  margin: 0 auto var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
}

.workflow-node-icon.source   { background: var(--accent-blue-soft); color: var(--accent-blue); }
.workflow-node-icon.transform { background: var(--brand-gradient); }
.workflow-node-icon.target   { background: var(--accent-teal-soft); color: var(--accent-teal); }

.workflow-node h4 {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-strong);
  margin-bottom: var(--sp-1);
}

.workflow-node p {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.workflow-arrow {
  flex-shrink: 0;
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  font-size: 22px;
}

/* ── Migration Targets ────────────────────────────────────── */
.migration-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-8);
}

.migration-card {
  padding: var(--sp-6);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  text-align: center;
  box-shadow: var(--shadow-xs);
}

.migration-card-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-2);
}

.migration-card h4 {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--text-strong);
  margin-bottom: var(--sp-2);
}

.migration-card p {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.migration-card .platform-badge {
  display: inline-block;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  margin-top: var(--sp-3);
}

/* ── Audience Cards ───────────────────────────────────────── */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-8);
}

.audience-card {
  padding: var(--sp-7);
  border-radius: var(--r-xl);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.audience-role {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--text-strong);
  margin-bottom: var(--sp-4);
}

.audience-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.audience-card ul li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

/* ── Accessibility: Skip Link ─────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-4);
  z-index: 9999;
  padding: var(--sp-2) var(--sp-4);
  background: var(--brand-primary);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  border-radius: var(--r-base);
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: var(--sp-4);
  outline: 3px solid var(--brand-accent);
  outline-offset: 2px;
}

/* ── Mobile Nav Open State ────────────────────────────────── */
@media (max-width: 768px) {
  nav.nav-open .nav-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: var(--sp-4) var(--sp-6);
    gap: var(--sp-3);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  nav.nav-open .nav-menu .nav-link {
    padding-block: var(--sp-2);
    border-bottom: 1px solid var(--border-subtle);
  }
  nav.nav-open .nav-menu .nav-link:last-child {
    border-bottom: none;
  }
}

.audience-card ul li i { color: var(--brand-accent); margin-top: 2px; flex-shrink: 0; }

/* ── Contact Page ─────────────────────────────────────────── */
.contact-hero {
  background: var(--bg-inverted);
  padding-block: 64px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 100% 50%, rgba(13, 148, 136, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.contact-hero-inner { position: relative; max-width: 640px; }

.contact-hero-title {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: #fff;
  margin-bottom: var(--sp-4);
}

.contact-hero-subtitle {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.7);
  line-height: var(--lh-relaxed);
}

.contact-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--sp-10);
  align-items: start;
}

.contact-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-9);
}

.contact-form-card h2 {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--text-strong);
  margin-bottom: var(--sp-2);
}

.contact-form-card .form-intro {
  color: var(--text-muted);
  margin-bottom: var(--sp-7);
}

.form-group {
  margin-bottom: var(--sp-5);
}

.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-base);
  margin-bottom: var(--sp-2);
}

.form-control {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  border: 1.5px solid var(--border-base);
  border-radius: var(--r-md);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  color: var(--text-strong);
  background: var(--bg-surface);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
}

.form-control::placeholder { color: var(--text-subtle); }

.form-control:focus {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-focus);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}

.contact-sidebar { display: flex; flex-direction: column; gap: var(--sp-6); }

.sidebar-card {
  padding: var(--sp-6);
  border-radius: var(--r-xl);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
}

.sidebar-card h3 {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--text-strong);
  margin-bottom: var(--sp-4);
}

.sidebar-card p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-4);
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: var(--sp-3);
}
.contact-detail i { color: var(--brand-primary); font-size: 16px; width: 16px; }
.contact-detail:last-child { margin-bottom: 0; }

.demo-card {
  background: var(--brand-gradient);
  color: #fff;
  border: none;
}

.demo-card h3 { color: #fff; }
.demo-card p { color: rgba(255, 255, 255, 0.8); }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--slate-900);
  color: rgba(255, 255, 255, 0.65);
  padding-block: var(--sp-12) var(--sp-8);
}

.footer-top {
  display: grid;
  grid-template-columns: 280px repeat(3, 1fr);
  gap: var(--sp-10);
  padding-bottom: var(--sp-10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand { display: flex; flex-direction: column; gap: var(--sp-4); }

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.footer-brand-name {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: #fff;
}

.footer-brand-name span { color: var(--brand-primary); }

.footer-tagline {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.5);
  line-height: var(--lh-relaxed);
}

.footer-col h3 {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--sp-4);
  letter-spacing: 0.03em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-col ul li a {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--t-fast);
}
.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--sp-7);
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.35);
}

.footer-legal {
  display: flex;
  gap: var(--sp-5);
}
.footer-legal a {
  color: rgba(255, 255, 255, 0.35);
  font-size: var(--fs-xs);
}
.footer-legal a:hover { color: rgba(255, 255, 255, 0.7); }

.footer-disclaimer {
  padding-top: var(--sp-7);
  margin-top: var(--sp-7);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-disclaimer p {
  margin: 0;
  max-width: 980px;
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.3);
}

/* ── Skip link (accessibility) ────────────────────────────── */
.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -100%;
  z-index: var(--z-toast);
  background: var(--brand-primary);
  color: #fff;
  padding: var(--sp-2) var(--sp-5);
  border-radius: 0 0 var(--r-md) var(--r-md);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  transition: top var(--t-fast);
}
.skip-link:focus { top: 0; outline: 3px solid #fff; outline-offset: 2px; }

/* ── Focus visible (WCAG AA) ──────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}
.btn:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 3px;
  box-shadow: var(--shadow-focus);
}
.form-control:focus-visible { outline: none; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner,
  .problem-grid,
  .trust-inner { grid-template-columns: 1fr; }

  .hero-visual { display: none; }

  .product-card-features { grid-template-columns: repeat(2, 1fr); }
  .product-feature:nth-child(2n) { border-right: none; }
  .product-feature:nth-child(3n) { border-right: 1px solid var(--border-subtle); }

  .footer-top { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }

  .contact-layout { grid-template-columns: 1fr; }
  .contact-sidebar { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .container { padding-inline: var(--sp-5); }

  .section { padding-block: var(--sp-10); }

  .section-title { font-size: var(--fs-3xl); }

  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: block; }

  .caps-grid,
  .feature-grid,
  .trust-stats,
  .trust-pillars,
  .migration-grid,
  .audience-grid { grid-template-columns: 1fr; }

  .product-card-features { grid-template-columns: 1fr; }
  .product-feature { border-right: none !important; }

  .footer-top { grid-template-columns: 1fr; }

  .footer-bottom { flex-direction: column; gap: var(--sp-4); text-align: center; }

  .form-row { grid-template-columns: 1fr; }

  .contact-sidebar { display: flex; }

  .hero-actions { flex-direction: column; align-items: flex-start; }

  /* Long-labeled buttons wrap instead of forcing horizontal page scroll.
     .btn is nowrap by default; at narrow widths a long label (e.g.
     "Schedule a migration walkthrough") would overflow the viewport. */
  .btn { white-space: normal; }
}

/* ── Mobile nav open state ────────────────────────────────── */
@media (max-width: 768px) {
  .site-nav { position: relative; }

  .site-nav.nav-open .nav-links {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-subtle);
    padding: var(--sp-4) var(--sp-5) var(--sp-6);
    gap: var(--sp-1);
    box-shadow: var(--shadow-lg);
    z-index: var(--z-nav);
  }

  .site-nav.nav-open .nav-links > li > a {
    font-size: var(--fs-base);
    padding: var(--sp-3) var(--sp-3);
  }

  .site-nav.nav-open .has-dropdown > a::after { display: none; }

  .site-nav.nav-open .nav-dropdown {
    display: block;
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: var(--sp-1) 0 0 var(--sp-4);
    min-width: auto;
  }

  .site-nav.nav-open .nav-dropdown li a {
    padding: var(--sp-2) var(--sp-3);
    border-radius: var(--r-md);
  }

  .site-nav.nav-open .nav-mobile-cta {
    display: flex !important;
    flex-direction: column;
    gap: var(--sp-2);
    padding-top: var(--sp-4);
    border-top: 1px solid var(--border-subtle);
    margin-top: var(--sp-3);
  }
  /* Both buttons go full-width; each keeps its own btn-outline / btn-primary style */
  .site-nav.nav-open .nav-mobile-cta a {
    display: flex !important;
    justify-content: center;
    width: 100%;
  }
}

/* ============================================================
   Resources hub — editorial / premium redesign
   ============================================================ */

/* ── Hero (dark, image-backed: blurred data scene + overlay) ─ */
.res-hero {
  position: relative;
  padding-block: 104px 88px;
  background: #060b18;
  overflow: hidden;
  isolation: isolate;
}

/* Layer 1 — blurred abstract "photograph": data-network scene (inline SVG) */
.res-hero-bg {
  position: absolute;
  inset: -8%;                      /* bleed so blur edges never show */
  z-index: -3;
  pointer-events: none;
}
.res-hero-bg svg { width: 100%; height: 100%; }
.res-hero-bg {
  filter: blur(9px) saturate(1.15);
  -webkit-filter: blur(9px) saturate(1.15);
  opacity: 0.92;
}

/* Layer 2 — brand-tinted dark overlay so text stays crisp (~70%) */
.res-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(110deg, rgba(37, 99, 235, 0.28) 0%, rgba(13, 148, 136, 0.10) 45%, transparent 75%),
    linear-gradient(180deg, rgba(6, 11, 24, 0.72) 0%, rgba(6, 11, 24, 0.58) 38%, rgba(6, 11, 24, 0.86) 100%),
    radial-gradient(ellipse 75% 90% at 50% 42%, transparent 0%, rgba(3, 6, 16, 0.55) 100%);
}

/* Layer 3 — fine film grain for premium depth */
.res-hero-grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.res-hero .container { position: relative; max-width: 940px; }
.res-hero .eyebrow { color: #5eead4; }      /* brighter teal for dark bg */
.res-hero-title {
  font-size: clamp(2.5rem, 5.2vw, 3.75rem);
  font-weight: var(--fw-bold);
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: #fff;
  margin: var(--sp-4) 0 var(--sp-5);
  max-width: 17ch;
  text-shadow: 0 1px 30px rgba(0, 0, 0, 0.35);
}
.res-hero-sub {
  font-size: var(--fs-xl);
  color: rgba(255, 255, 255, 0.74);
  line-height: var(--lh-relaxed);
  max-width: 580px;
}
.res-hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-7);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.55);
}
.res-hero-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); }

/* Data-network scene styling (drawn large, then blurred by .res-hero-bg) */
.res-scene-line   { fill: none; stroke: rgba(120, 170, 255, 0.55); stroke-width: 2; }
.res-scene-line-2 { fill: none; stroke: rgba(45, 212, 191, 0.50); stroke-width: 2; }
.res-scene-node   { fill: #93c5fd; }
.res-scene-node-2 { fill: #5eead4; }
.res-scene-glow   { filter: blur(2px); }
.res-scene-dash {
  fill: none;
  stroke: rgba(180, 220, 255, 0.85);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 6 220;
  animation: resSceneFlow 5.5s linear infinite;
}
.res-scene-dash--b { stroke: rgba(94, 234, 212, 0.85); animation-duration: 7s; animation-delay: -2s; }
.res-scene-dash--c { animation-duration: 6.2s; animation-delay: -3.5s; }
@keyframes resSceneFlow { to { stroke-dashoffset: -226; } }

/* ── Featured playbook — dominant, near-full-width panel ──── */
.res-feature {
  position: relative;
  display: block;
  margin-top: var(--sp-7);
  padding: var(--sp-11) var(--sp-11);
  min-height: 440px;
  overflow: hidden;
  border-radius: var(--r-2xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  background:
    radial-gradient(ellipse 55% 75% at 86% 16%,  rgba(13, 148, 136, 0.38), transparent 60%),
    radial-gradient(ellipse 65% 90% at 72% 108%, rgba(37, 99, 235, 0.42), transparent 62%),
    linear-gradient(135deg, #0b1326 0%, #090f1e 52%, #0e1a34 100%);
  box-shadow: 0 34px 80px -34px rgba(8, 15, 35, 0.7);
  transition: transform var(--t-slow), box-shadow var(--t-slow);
}
.res-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 46px 100px -36px rgba(8, 15, 35, 0.8);
}

/* network art as a large background element bleeding off the right */
.res-feature-art {
  position: absolute;
  top: 50%;
  right: -5%;
  width: 58%;
  max-width: 760px;
  transform: translateY(-50%);
  opacity: 0.95;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 36%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 36%);
}
.res-feature-art svg { display: block; width: 100%; height: auto; }

.res-feature-inner { position: relative; max-width: 600px; }
.res-feature-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #5eead4;
}
.res-feature-tag i { font-size: 0.9em; }
.res-feature-title {
  font-size: clamp(2rem, 3.4vw, 2.875rem);
  font-weight: var(--fw-bold);
  color: #fff;
  line-height: 1.06;
  letter-spacing: -0.032em;
  margin: var(--sp-4) 0 var(--sp-4);
}
.res-feature-desc {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.74);
  line-height: var(--lh-relaxed);
  max-width: 520px;
  margin-bottom: var(--sp-8);
}
.res-feature-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-9);
  margin-bottom: var(--sp-9);
}
.res-feature-stat .num {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-bold);
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.res-feature-stat .num b { color: #5eead4; font-weight: inherit; }
.res-feature-stat .lbl {
  display: block;
  margin-top: var(--sp-3);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.55);
}
.res-feature-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-7);
  border-radius: var(--r-lg);
  background: #fff;
  color: #0a1020;
  font-weight: var(--fw-semibold);
  font-size: var(--fs-lg);
  transition: box-shadow var(--t-base);
}
.res-feature:hover .res-feature-cta { box-shadow: 0 12px 34px -10px rgba(94, 234, 212, 0.45); }
.res-feature-cta i { transition: transform var(--t-base); }
.res-feature:hover .res-feature-cta i { transform: translateX(4px); }
.res-cover-flow { stroke: rgba(255, 255, 255, 0.18); stroke-width: 1.25; fill: none; }
.res-cover-flow--accent { stroke: #2dd4bf; stroke-width: 1.5; }
.res-cover-node { fill: var(--slate-900); stroke: rgba(255, 255, 255, 0.45); stroke-width: 1.25; }
.res-cover-node--accent { stroke: #2dd4bf; }
.res-cover-dot { fill: rgba(255, 255, 255, 0.55); }
.res-cover-dot--accent { fill: #2dd4bf; }
.res-cover-spark { fill: rgba(255, 255, 255, 0.10); }
.res-cover-pulse { fill: none; stroke: #2dd4bf; stroke-width: 1.25; opacity: 0; transform-box: fill-box; transform-origin: center; animation: resCoverPulse 3s ease-out infinite; }
@keyframes resCoverPulse {
  0%   { opacity: 0.55; transform: scale(0.5); }
  70%  { opacity: 0;    transform: scale(1.6); }
  100% { opacity: 0;    transform: scale(1.6); }
}

/* ── Library header + quiet filters ──────────────────────── */
.res-lib-intro { max-width: 560px; }
.res-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-8);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--border-subtle);
}
.res-filter {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  cursor: pointer;
  transition: color var(--t-fast), background var(--t-fast), border-color var(--t-fast);
}
.res-filter:hover { color: var(--text-strong); background: var(--bg-surface-3); }
.res-filter.is-active {
  color: var(--text-strong);
  background: var(--bg-surface);
  border-color: var(--border-base);
  box-shadow: var(--shadow-xs);
}
.res-filter .count {
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-xs);
  color: var(--text-subtle);
}
.res-filter.is-active .count { color: var(--brand-primary); }
.res-count {
  margin-left: auto;
  font-size: var(--fs-sm);
  color: var(--text-subtle);
}
.res-count strong { color: var(--text-base); font-weight: var(--fw-semibold); }

/* ── Card grid (hairline, hover-lift, restrained color) ──── */
.res-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-8);
}
.res-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--sp-7) var(--sp-7) var(--sp-6);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  text-decoration: none;
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}
.res-card::before {                  /* category accent line, wipes in on hover */
  content: "";
  position: absolute;
  left: var(--sp-7);
  right: var(--sp-7);
  top: -1px;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: var(--cat-color, var(--brand-primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow);
}
.res-card:hover {
  border-color: var(--border-base);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.res-card:hover::before { transform: scaleX(1); }
.res-card[hidden] { display: none; }
.res-card.reveal { animation: resFade var(--t-slow) both; }
@keyframes resFade {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
.res-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}
.res-card-cat {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
}
.res-card-cat::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cat-color, var(--brand-primary));
}
.res-card-time {
  font-size: var(--fs-xs);
  color: var(--text-subtle);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.res-card-title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
  color: var(--text-strong);
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: var(--sp-3);
  transition: color var(--t-base);
}
.res-card:hover .res-card-title { color: var(--brand-primary); }
.res-card-desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  flex: 1;
  margin-bottom: var(--sp-6);
}
.res-card-more {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-base);
  transition: color var(--t-base);
}
.res-card-more i { transition: transform var(--t-base); }
.res-card:hover .res-card-more { color: var(--brand-primary); }
.res-card:hover .res-card-more i { transform: translateX(4px); }

/* Category accent — restrained: a dot + the hover wipe line only */
.res-card[data-cat="migration"]  { --cat-color: var(--accent-blue); }
.res-card[data-cat="comparison"] { --cat-color: var(--accent-cyan); }
.res-card[data-cat="technical"]  { --cat-color: var(--accent-violet); }

.res-empty {
  display: none;
  text-align: center;
  color: var(--text-muted);
  padding: var(--sp-11) 0;
  font-size: var(--fs-lg);
}

/* ── FAQ (hairline list, no boxes) ───────────────────────── */
.res-faq {
  max-width: 820px;
  margin-top: var(--sp-8);
  border-top: 1px solid var(--border-subtle);
}
.res-faq-item { border-bottom: 1px solid var(--border-subtle); }
.res-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  padding: var(--sp-6) var(--sp-1);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--text-strong);
  transition: color var(--t-fast);
}
.res-faq-item summary::-webkit-details-marker { display: none; }
.res-faq-item summary:hover { color: var(--brand-primary); }
.res-faq-item summary .ic {
  flex-shrink: 0;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1;
  color: var(--text-subtle);
  transition: transform var(--t-base), color var(--t-base);
}
.res-faq-item[open] summary .ic { transform: rotate(45deg); color: var(--brand-primary); }
.res-faq-body {
  padding: 0 var(--sp-1) var(--sp-6);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  font-size: var(--fs-base);
  max-width: 72ch;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .res-feature-art { opacity: 0.5; width: 70%; right: -14%; }
  .res-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .res-grid { grid-template-columns: 1fr; }
  .res-feature { padding: var(--sp-8) var(--sp-7); min-height: 0; }
  .res-feature-art { display: none; }
  .res-feature-stats { gap: var(--sp-7); }
  .res-count { margin-left: 0; width: 100%; }
}

/* ── Product screenshots (app shots) ──────────────────────── */
.app-shot {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 30px 60px -22px rgba(15, 23, 42, 0.40);
  background: #0e1730;
}
.app-shot-bar {
  height: 34px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 15px;
  background: #0e1730;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.app-shot-bar span { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.app-shot img { display: block; width: 100%; height: auto; }
.app-shot--feature { max-width: 1000px; margin-inline: auto; }

.shot-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  max-width: 1000px;
  margin: var(--sp-6) auto 0;
}
.shot-thumbs .app-shot { box-shadow: 0 14px 34px -16px rgba(15, 23, 42, 0.30); }
.shot-thumbs .app-shot-bar { height: 22px; padding: 0 10px; gap: 5px; }
.shot-thumbs .app-shot-bar span { width: 7px; height: 7px; }
.shot-thumbs figcaption {
  padding: var(--sp-3) var(--sp-4);
  background: var(--bg-surface);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-strong);
  text-align: center;
}
@media (max-width: 768px) {
  .shot-thumbs { grid-template-columns: 1fr; }
}
