:root {
  --bg: #f7f9fc;
  --bg-elevated: #ffffff;
  --text: #0b1220;
  --muted: #5b667a;
  --muted-2: #8a96aa;
  --line: rgba(15, 23, 42, 0.1);
  --line-strong: rgba(15, 23, 42, 0.16);
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-soft: #eff6ff;
  --violet: #7c3aed;
  --teal: #0d9488;
  --success: #16a34a;
  --ink: #0f172a;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-sm: 0 10px 28px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 24px 70px rgba(15, 23, 42, 0.13);
  --shadow-blue: 0 20px 52px rgba(37, 99, 235, 0.18);
  --glass: rgba(255, 255, 255, 0.76);
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-width: 320px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  z-index: 100;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 10%, rgba(37, 99, 235, 0.14), transparent 30%),
    radial-gradient(circle at 88% 6%, rgba(124, 58, 237, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 48%, #eef4ff 100%);
}

.ambient-grid {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 62%);
}

.ambient-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(86px);
  opacity: 0.5;
}

.orb-a {
  width: 430px;
  height: 430px;
  top: -140px;
  right: -80px;
  background: #9fc0ff;
}

.orb-b {
  width: 500px;
  height: 500px;
  bottom: -220px;
  left: -110px;
  background: #c4b5fd;
}

.orb-c {
  width: 320px;
  height: 320px;
  top: 38%;
  right: 8%;
  background: #99f6e4;
  opacity: 0.22;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
}

.header-row {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.logo-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  color: #fff;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.22);
  font-size: 0.9rem;
}

.brand-name {
  display: inline-flex;
  align-items: baseline;
  letter-spacing: -0.035em;
}

.brand-in {
  color: var(--primary);
  margin: 0 1px;
}

.brand-name-inline {
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.nav-links a {
  transition: color 0.18s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  padding: 0;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
}

.menu-bar {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav-inner {
  display: grid;
  gap: 4px;
  padding: 14px 0 18px;
}

.mobile-nav-inner > a {
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 750;
  transition: background 0.18s ease, color 0.18s ease;
}

.mobile-nav-inner > a:hover {
  background: #fff;
  color: var(--primary);
}

.mobile-nav-actions {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.mobile-nav-actions .btn {
  flex: 1;
  width: auto;
  min-height: 40px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 750;
}

.mobile-nav-actions .btn-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}

.mobile-nav-actions .btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: var(--shadow-blue);
}

body.menu-open {
  overflow: hidden;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.32);
  outline-offset: 3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  box-shadow: 0 24px 64px rgba(37, 99, 235, 0.25);
}

.btn-ghost,
.btn-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}

.btn-ghost:hover,
.btn-secondary:hover {
  border-color: rgba(37, 99, 235, 0.22);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-sm {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 0.88rem;
}

.btn-lg {
  min-height: 52px;
  padding: 14px 22px;
  font-size: 0.98rem;
}

.btn-xl {
  min-height: 56px;
  padding: 16px 30px;
  font-size: 1rem;
}

.hero {
  padding: 72px 0 48px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  border: 1px solid rgba(37, 99, 235, 0.17);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  padding: 8px 13px;
  color: #1d4ed8;
  box-shadow: var(--shadow-xs);
  font-size: 0.82rem;
  font-weight: 800;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.12);
}

.hero-text h1,
.section-head h2,
.workflow-copy h2,
.trust-copy h2,
.pricing-card h2,
.cta-inner h2 {
  margin: 0;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  letter-spacing: -0.055em;
  color: var(--text);
}

.hero-text h1 {
  max-width: 12ch;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.02;
}

.lead {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  line-height: 1.62;
}

.lead strong {
  color: var(--primary);
  font-weight: 850;
}

.anti-crm {
  color: #dc2626;
  text-decoration-line: line-through;
  text-decoration-thickness: 0.16em;
  text-decoration-color: #dc2626;
}

.benefit-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.benefit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.1);
}

.benefit-list span {
  display: block;
  color: var(--ink);
  font-weight: 850;
}

.hero-actions {
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.hero-proof li {
  min-height: 92px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  padding: 16px;
  color: var(--muted);
  box-shadow: var(--shadow-xs);
  font-size: 0.82rem;
  font-weight: 650;
}

.hero-proof span {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hero-stage {
  position: relative;
  min-height: 410px;
}

.hero-positioning-card {
  position: absolute;
  top: -132px;
  right: 18px;
  z-index: 3;
  display: grid;
  gap: 6px;
  max-width: 390px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
}

.hero-positioning-card strong,
.hero-positioning-card span {
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.hero-positioning-card strong {
  font-size: 1rem;
}

.hero-positioning-card > span {
  color: var(--primary);
  font-size: clamp(1.25rem, 1.8vw, 1.72rem);
  font-weight: 800;
}

.dash-shell,
.showcase-dash {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-xl);
  background: var(--glass);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(22px);
}

.hero-stage .dash-shell {
  rotate: 2deg -3deg 0deg;
}

.dash-bar,
.showcase-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  padding: 14px 18px;
}

.traffic {
  display: flex;
  gap: 7px;
}

.traffic i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #cbd5e1;
}

.traffic i:first-child { background: #fb7185; }
.traffic i:nth-child(2) { background: #fbbf24; }
.traffic i:nth-child(3) { background: #34d399; }

.dash-label,
.showcase-top span:first-child {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.dash-live,
.pill-live,
.health-pill {
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  padding: 5px 10px;
  font-size: 0.68rem;
  font-weight: 850;
}

.dash-layout {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  min-height: 392px;
}

.dash-nav-mini,
.showcase-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, #f8fbff, #f1f5ff);
  padding: 16px 12px;
}

.dash-nav-mini span,
.showcase-nav span {
  border-radius: 11px;
  padding: 9px 10px;
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 750;
}

.dash-nav-mini span.on,
.showcase-nav span.on {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-xs);
}

.dash-main-mini {
  padding: 18px;
}

.dash-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.dash-title-row small {
  display: block;
  color: var(--muted-2);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dash-title-row strong {
  display: block;
  margin-top: 4px;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.dash-metrics,
.dash-pipeline-mini {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.dash-metrics {
  margin-bottom: 10px;
}

.dash-metrics div,
.pipe-col,
.feed-row,
.panel,
.feature-card,
.journey-step,
.shift-row,
.trust-cards article,
.pricing-card,
.quote-card,
.faq-list details {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
}

.dash-metrics div,
.pipe-col {
  border-radius: 16px;
  padding: 14px;
}

.dash-metrics small,
.pipe-col span {
  display: block;
  color: var(--muted-2);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dash-metrics strong,
.pipe-col strong {
  display: block;
  margin-top: 4px;
  font-size: 1.18rem;
  letter-spacing: -0.04em;
}

.pipe-col-hot {
  border-color: rgba(37, 99, 235, 0.22);
  background: linear-gradient(180deg, #eff6ff, #dbeafe);
}

.dash-feed {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.feed-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  border-radius: 15px;
  padding: 11px 12px;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 650;
}

.feed-row-live {
  border-color: rgba(34, 197, 94, 0.28);
  background: linear-gradient(90deg, #f0fdf4, #fff);
}

.feed-tag {
  flex-shrink: 0;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feed-tag-lead { background: #dbeafe; color: #1d4ed8; }
.feed-tag-inv { background: #ede9fe; color: #6d28d9; }
.feed-tag-deal { background: #dcfce7; color: #166534; }

.dot-live {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  animation: pulse 1.8s ease infinite;
}

.float-chip,
.showcase-float {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  padding: 12px 15px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  color: #334155;
  font-size: 0.8rem;
  font-weight: 800;
  animation: float 4.8s ease-in-out infinite;
}

.chip-a { top: 28px; right: -8px; }
.chip-b { bottom: 30px; left: -18px; animation-delay: 1.2s; }

.logos {
  padding: 28px 0;
}

.answer-check {
  padding: 36px 0 22px;
}

.answer-card {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 34px;
  align-items: center;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 0% 0%, rgba(37, 99, 235, 0.14), transparent 34%),
    rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-md);
  padding: clamp(26px, 4vw, 42px);
  backdrop-filter: blur(20px);
}

.answer-card::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -120px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.13);
  filter: blur(26px);
  pointer-events: none;
}

.answer-copy {
  position: relative;
  z-index: 1;
}

.answer-copy h2 {
  margin: 0;
  color: var(--text);
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.answer-copy p:not(.kicker) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.answer-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.answer-list span {
  min-height: 82px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  padding: 16px;
  color: var(--ink);
  box-shadow: var(--shadow-xs);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.45;
}

.answer-list span:last-child {
  grid-column: span 2;
  min-height: 68px;
  background: linear-gradient(135deg, #eff6ff, #fff);
  color: var(--primary-dark);
}

.lifecycle {
  padding: 18px 0 44px;
}

.lifecycle-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  padding: 14px 18px;
  box-shadow: var(--shadow-xs);
  backdrop-filter: blur(14px);
}

.lifecycle-inner span {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 850;
}

.lifecycle-inner i {
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.18), var(--primary));
}

.logos-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.74);
  padding: 18px 22px;
  box-shadow: var(--shadow-xs);
}

.logos p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(5, auto);
  gap: 12px;
  color: #64748b;
  font-weight: 850;
}

.logo-strip span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 9px 13px;
  box-shadow: var(--shadow-xs);
  font-size: 0.86rem;
}

.platform,
.showcase,
.workflow,
.shift,
.testimonial,
.faq {
  padding: 96px 0;
}

.platform {
  padding-top: 72px;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-head.align-left {
  margin: 0;
  text-align: left;
}

.kicker {
  margin: 0 0 16px;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
}

.kicker.left {
  text-align: left;
}

.section-head h2,
.workflow-copy h2,
.trust-copy h2,
.pricing-card h2 {
  font-size: clamp(2rem, 4.2vw, 3.9rem);
  font-weight: 800;
  line-height: 1.02;
}

.section-head p,
.workflow-copy p,
.trust-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.75;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 284px;
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.24);
  box-shadow: var(--shadow-md);
}

.feature-card-accent {
  background: linear-gradient(160deg, #0f172a, #1e3a8a);
  color: #fff;
}

.feature-card h3 {
  margin: 22px 0 10px;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 1.16rem;
  letter-spacing: -0.03em;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.68;
}

.feature-card-accent p {
  color: #cbd5e1;
}

.feature-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: var(--primary);
}

.feature-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.feature-icon.violet { background: linear-gradient(135deg, #f5f3ff, #ede9fe); color: var(--violet); }
.feature-icon.teal { background: linear-gradient(135deg, #f0fdfa, #ccfbf1); color: var(--teal); }
.feature-icon.dark { background: rgba(255, 255, 255, 0.12); color: #fff; }

.showcase-wrap {
  text-align: center;
}

.showcase-stage {
  position: relative;
  padding: 6px 0 46px;
}

.showcase-dash {
  max-width: 820px;
  margin: 0 auto;
  text-align: left;
}

.showcase-body {
  display: grid;
  grid-template-columns: 154px 1fr;
  min-height: 346px;
}

.showcase-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 18px;
}

.panel {
  border-radius: 18px;
  padding: 18px;
}

.panel h4 {
  margin: 0 0 14px;
  color: var(--muted-2);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pipe-bars {
  display: grid;
  gap: 11px;
}

.pipe-bar {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 10px;
  align-items: center;
  font-size: 0.8rem;
}

.pipe-bar span,
.proj-row span {
  color: #475569;
  font-weight: 750;
}

.pipe-bar i,
.proj-row i {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), #8b5cf6);
}

.pipe-bar b {
  color: #334155;
  font-size: 0.82rem;
}

.activity-line {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 10px;
  color: #475569;
  font-size: 0.86rem;
  font-weight: 650;
}

.activity-line span {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #94a3b8;
}

.activity-line.pulse span {
  background: #22c55e;
  animation: pulse 1.8s ease infinite;
}

.panel-projects {
  grid-column: span 2;
}

.proj-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  font-size: 0.86rem;
}

.proj-row span {
  min-width: 142px;
}

.proj-row i {
  flex: 1;
}

.panel-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.f1 { top: 12%; right: 4%; }
.f2 { bottom: 5%; left: 3%; animation-delay: 1.5s; }

.workflow-grid,
.shift-grid,
.trust-grid,
.testimonial-grid,
.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 54px;
  align-items: center;
}

.journey {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.journey-step {
  display: grid;
  min-width: 168px;
  min-height: 146px;
  place-items: center;
  border-radius: 24px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-xs);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.journey-step:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.24);
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: block;
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1;
}

.journey-step h3 {
  margin: 16px 0 0;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.journey-line {
  width: 48px;
  height: 3px;
  flex: 0 0 48px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.28), var(--primary));
}

.shift {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.52), transparent);
}

.shift-list {
  display: grid;
  gap: 12px;
}

.shift-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.shift-row:hover {
  transform: scale(1.01);
  box-shadow: var(--shadow-sm);
}

.shift-row .old {
  color: #94a3b8;
  text-align: right;
}

.shift-row .arrow {
  color: var(--primary);
  font-weight: 900;
}

.shift-row .new {
  color: var(--ink);
  font-weight: 800;
}

.trust {
  padding: 104px 0;
  background: #0f172a;
  color: #fff;
}

.trust-copy h2 {
  color: #fff;
}

.trust-copy p {
  color: #cbd5e1;
}

.trust .kicker {
  color: #93c5fd;
}

.trust-cards {
  display: grid;
  gap: 14px;
}

.trust-cards article {
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
  padding: 24px;
}

.trust-cards span {
  color: #93c5fd;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.trust-cards h3 {
  margin: 12px 0 8px;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  letter-spacing: -0.025em;
}

.trust-cards p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.94rem;
  line-height: 1.65;
}

.quote-card,
.pricing-card {
  border-radius: var(--radius-xl);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}

.quote-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--primary), #172554);
  color: #fff;
}

.quote-mark {
  color: rgba(255, 255, 255, 0.2);
  font-family: Georgia, serif;
  font-size: 6rem;
  line-height: 0.75;
}

.quote-card p {
  margin: 10px 0 26px;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.quote-card footer {
  color: #bfdbfe;
  font-size: 0.92rem;
  font-weight: 800;
}

.pricing-card ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  line-height: 1.65;
}

.pricing-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(22, 163, 74, 0.1);
}

.faq-grid {
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-xs);
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 850;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--primary);
  font-weight: 900;
}

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

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.68;
}

.cta-final {
  padding: 18px 0 104px;
}

.cta-inner {
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 18% 0%, rgba(96, 165, 250, 0.5), transparent 34%),
    linear-gradient(145deg, #0f172a, #1e3a8a 72%, #2563eb);
  color: #fff;
  padding: 64px 28px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.cta-inner p {
  margin: 0 0 14px;
  color: #bfdbfe;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.cta-inner h2 {
  max-width: 760px;
  margin: 0 auto 30px;
  color: #fff;
  font-size: clamp(2rem, 5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.02;
}

.cta-inner .btn-primary {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.18);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-copy {
  display: grid;
  gap: 8px;
  text-align: right;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.footer-links a {
  transition: color 0.18s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.muted-logo {
  color: var(--muted);
}

.legal-hero {
  padding: 78px 0 34px;
}

.legal-hero-inner {
  max-width: 900px;
}

.legal-hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--text);
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.legal-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.4vw, 1.22rem);
  line-height: 1.72;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.legal-meta span {
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  padding: 9px 13px;
  color: #334155;
  box-shadow: var(--shadow-xs);
  font-size: 0.82rem;
  font-weight: 800;
}

.legal-section {
  padding: 34px 0 104px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  padding: 18px;
  box-shadow: var(--shadow-xs);
  backdrop-filter: blur(18px);
}

.legal-toc span {
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.legal-toc a {
  border-radius: 12px;
  padding: 9px 10px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
  transition: background 0.18s ease, color 0.18s ease;
}

.legal-toc a:hover {
  background: #fff;
  color: var(--primary);
}

.legal-card {
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-md);
  padding: clamp(26px, 4vw, 54px);
  backdrop-filter: blur(22px);
}

.legal-card h2,
.legal-card h3 {
  color: var(--ink);
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  letter-spacing: -0.035em;
}

.legal-card h2 {
  margin: 42px 0 12px;
  padding-top: 8px;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  line-height: 1.16;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card h3 {
  margin: 26px 0 10px;
  font-size: 1.04rem;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.78;
}

.legal-card p {
  margin: 0 0 14px;
}

.legal-card ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 18px;
  padding: 0;
  list-style: none;
}

.legal-card li {
  position: relative;
  padding-left: 26px;
}

.legal-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.1);
}

.legal-card a {
  color: var(--primary);
  font-weight: 800;
}

.legal-note {
  margin-top: 38px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #eff6ff, #ffffff);
  padding: 18px 20px;
  color: #334155;
  font-size: 0.94rem;
  line-height: 1.7;
}

.legal-note strong {
  color: var(--ink);
}

.legal-hero-inner,
.legal-toc,
.legal-card {
  opacity: 1;
  transform: none;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

@keyframes pulse {
  0%,
  100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.86); }
}

@media (max-width: 1060px) {
  .nav-links,
  .header-actions {
    display: none;
  }

  .mobile-nav-actions {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-inner,
  .answer-card,
  .workflow-grid,
  .shift-grid,
  .trust-grid,
  .testimonial-grid,
  .faq-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
  }

  .hero-text h1 {
    max-width: 12ch;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .logos-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .answer-list {
    grid-template-columns: 1fr;
  }

  .answer-list span:last-child {
    grid-column: span 1;
  }

  .lifecycle-inner {
    flex-wrap: wrap;
    border-radius: 24px;
  }

  .logo-strip {
    width: 100%;
    grid-template-columns: repeat(5, 1fr);
  }

  .logo-strip span {
    text-align: center;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(100% - 28px, var(--max));
  }

  .header-row {
    min-height: 66px;
  }

  .hero {
    padding: 48px 0 38px;
  }

  .hero-inner {
    gap: 42px;
  }

  .hero-stage {
    min-height: 0;
  }

  .hero-positioning-card {
    position: relative;
    top: auto;
    right: auto;
    max-width: none;
    margin-bottom: 18px;
  }

  .dash-shell {
    rotate: none;
  }

  .hero-proof,
  .dash-metrics,
  .dash-pipeline-mini,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .hero-actions .btn,
  .btn-xl {
    width: 100%;
  }

  .dash-layout,
  .showcase-body {
    grid-template-columns: 1fr;
  }

  .dash-nav-mini,
  .showcase-nav {
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .dash-nav-mini span,
  .showcase-nav span {
    white-space: nowrap;
  }

  .float-chip,
  .showcase-float {
    position: static;
    display: inline-block;
    margin: 12px 8px 0 0;
    animation: none;
  }

  .logos-inner,
  .quote-card,
  .pricing-card,
  .cta-inner {
    border-radius: 24px;
  }

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

  .platform,
  .showcase,
  .workflow,
  .shift,
  .testimonial,
  .faq,
  .trust {
    padding: 68px 0;
  }

  .answer-check {
    padding: 24px 0 12px;
  }

  .answer-card {
    border-radius: 24px;
  }

  .lifecycle {
    padding: 12px 0 26px;
  }

  .lifecycle-inner {
    justify-content: flex-start;
  }

  .lifecycle-inner i {
    width: 18px;
  }

  .showcase-main {
    grid-template-columns: 1fr;
  }

  .panel-projects {
    grid-column: span 1;
  }

  .journey {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .journey-step {
    min-width: 0;
  }

  .journey-line {
    display: none;
  }

  .shift-row {
    grid-template-columns: 1fr;
    gap: 9px;
    text-align: center;
  }

  .shift-row .old {
    text-align: center;
  }

  .shift-row .arrow {
    transform: rotate(90deg);
  }

  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-copy {
    text-align: left;
  }

  .footer-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .legal-hero {
    padding: 52px 0 24px;
  }

  .legal-section {
    padding: 24px 0 72px;
  }

  .legal-card,
  .legal-toc {
    border-radius: 24px;
  }
}

@media (max-width: 460px) {
  .hero-text h1 {
    font-size: clamp(2.25rem, 14vw, 3.4rem);
  }

  .eyebrow {
    align-items: flex-start;
    border-radius: 18px;
  }

  .dash-main-mini,
  .showcase-main {
    padding: 12px;
  }

  .proj-row,
  .pipe-bar {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .proj-row {
    display: grid;
  }

  .proj-row span {
    min-width: 0;
  }
}

/* ── 404 page ───────────────────────────────────────────────────────────── */

.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.error-page .header-actions {
  display: flex;
}

.error-main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 48px 0 72px;
}

.error-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: 48px;
  align-items: center;
}

.error-copy {
  max-width: 560px;
}

.error-code {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.error-code-mark {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--violet));
  color: #fff;
  box-shadow: var(--shadow-blue);
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  animation: errorLogoPulse 3.2s ease-in-out infinite;
}

.error-code-num {
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1;
  background: linear-gradient(135deg, var(--ink) 0%, var(--primary) 55%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error-copy h1 {
  margin: 0;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.05;
  color: var(--text);
}

.error-copy .lead {
  margin-top: 18px;
}

.error-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.error-proof-chip {
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  padding: 8px 14px;
  color: var(--muted);
  box-shadow: var(--shadow-xs);
  font-size: 0.82rem;
  font-weight: 750;
  animation: errorFadeUp 0.7s ease both;
}

.error-proof-chip:nth-child(2) {
  animation-delay: 0.12s;
}

.error-proof-chip:nth-child(3) {
  animation-delay: 0.24s;
}

.error-proof-chip strong {
  color: var(--primary-dark);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.error-countdown {
  margin-top: 28px;
  max-width: 420px;
}

.error-countdown-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.error-countdown-label span:last-child {
  color: var(--primary-dark);
  font-weight: 850;
}

.error-countdown-track {
  overflow: hidden;
  height: 6px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
}

.error-countdown-bar {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--violet));
  transform-origin: left center;
  animation: errorCountdown 6s linear forwards;
}

.error-visual {
  position: relative;
  animation: errorFadeUp 0.8s ease 0.15s both;
}

.error-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-xl);
  background: var(--glass);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(22px);
  animation: float 5.2s ease-in-out infinite;
}

.error-card-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  padding: 14px 18px;
}

.error-card-bar span:first-child {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.error-card-body {
  padding: 22px 20px 26px;
}

.error-card-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  border: 1px solid rgba(239, 68, 68, 0.22);
  border-radius: 999px;
  background: linear-gradient(90deg, #fef2f2, #fff);
  padding: 8px 14px;
  color: #b91c1c;
  font-size: 0.78rem;
  font-weight: 850;
}

.error-card-status i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ef4444;
  animation: pulse 1.8s ease infinite;
}

.error-card h2 {
  margin: 0;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--ink);
}

.error-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.error-card-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.error-card-metrics div {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  padding: 12px;
  text-align: center;
}

.error-card-metrics small {
  display: block;
  color: var(--muted-2);
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.error-card-metrics strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 1.1rem;
  letter-spacing: -0.03em;
}

.error-float-a,
.error-float-b {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  padding: 11px 14px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  color: #334155;
  font-size: 0.78rem;
  font-weight: 800;
  animation: float 4.6s ease-in-out infinite;
}

.error-float-a {
  top: -14px;
  right: -10px;
  animation-delay: 0.6s;
}

.error-float-b {
  bottom: 18px;
  left: -22px;
  animation-delay: 1.4s;
}

.error-copy > * {
  animation: errorFadeUp 0.7s ease both;
}

.error-copy .eyebrow {
  animation-delay: 0.05s;
}

.error-copy h1 {
  animation-delay: 0.1s;
}

.error-copy .lead {
  animation-delay: 0.18s;
}

.error-copy .error-proof-row {
  animation: errorFadeUp 0.7s ease 0.26s both;
}

.error-copy .error-actions {
  animation: errorFadeUp 0.7s ease 0.34s both;
}

.error-copy .error-countdown {
  animation: errorFadeUp 0.7s ease 0.42s both;
}

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

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

@keyframes errorLogoPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: var(--shadow-blue);
  }

  50% {
    transform: scale(1.04);
    box-shadow: 0 24px 58px rgba(37, 99, 235, 0.28);
  }
}

@keyframes errorCountdown {
  from {
    transform: scaleX(1);
  }

  to {
    transform: scaleX(0);
  }
}

@media (max-width: 900px) {
  .error-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .error-visual {
    order: -1;
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }

  .error-copy {
    max-width: none;
    text-align: center;
  }

  .error-code {
    justify-content: center;
  }

  .error-proof-row,
  .error-actions {
    justify-content: center;
  }

  .error-countdown {
    margin-left: auto;
    margin-right: auto;
  }

  .error-float-a,
  .error-float-b {
    position: static;
    display: inline-block;
    margin: 12px 8px 0 0;
    animation: none;
  }

  .error-visual {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }

  .error-card {
    width: 100%;
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .error-copy > *,
  .error-visual,
  .error-proof-chip {
    opacity: 1;
    transform: none;
  }

  .error-countdown-bar {
    transform: scaleX(0);
  }
}
