﻿body {
  line-height: 1.6;
}

/* hero */
.hero {
  padding: 140px 0 80px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero h1 {
  font-family: var(--display); font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -.03em;
  animation: fadeUp .7s ease .1s both;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero h1 .pain {
  font-style: normal;
  background: linear-gradient(135deg, var(--rose), var(--amber));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-sub { font-size: 1.05rem; color: var(--muted); margin-top: 20px; line-height: 1.7; animation: fadeUp .7s ease .2s both; }
.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-stats { display: flex; gap: 24px; margin-top: 32px; animation: fadeUp .7s ease .3s both; }
.hero-stat { display: flex; flex-direction: column; gap: 2px; }
.hero-stat-value {
  font-family: var(--display); font-size: 1.6rem; font-weight: 700;
  background: linear-gradient(135deg, var(--text), var(--muted));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-stat-label { font-size: .78rem; color: var(--muted); }
.stat-div { width: 1px; background: var(--border); align-self: stretch; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; animation: fadeUp .7s ease .4s both; }
.cta-note { margin-top: 12px; font-size: .78rem; color: var(--muted); animation: fadeUp .7s ease .5s both; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* hero right */
.hero-right {
  position: relative; display: flex; align-items: center; justify-content: center;
  animation: fadeUp .7s ease .2s both; padding: 32px 48px 24px;
}
.demo-wrapper { position: relative; width: 100%; max-width: 400px; }

.mini-float {
  position: absolute; border-radius: 12px; padding: 10px 14px; font-size: .78rem;
  backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(135deg, rgba(12,17,32,.97), rgba(17,24,39,.92));
  box-shadow:
    0 10px 28px rgba(0,0,0,.42);
  z-index: 10; display: flex; align-items: center; gap: 8px; white-space: nowrap;
  overflow: hidden; isolation: isolate;
}
.mini-float::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background-size: 220% 100%; background-position: 0% 50%;
  animation: miniFloatBorderGlow 8s ease-in-out infinite alternate;
  pointer-events: none; z-index: 1;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.mini-float::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.035) inset,
    0 0 10px rgba(255,255,255,.03) inset;
  z-index: 1;
}
.mini-float > span { position: relative; z-index: 2; }
.mini-float-a {
  top: -18px; right: -36px; border-color: rgba(34,197,94,.52);
  box-shadow:
    0 10px 28px rgba(0,0,0,.42),
    0 0 18px rgba(34,197,94,.18),
    0 0 34px rgba(6,182,212,.07);
  animation: floatA 4s ease-in-out infinite;
}
.mini-float-a::before {
  background-image: linear-gradient(
    90deg,
    rgba(34,197,94,.18),
    rgba(34,197,94,.82),
    rgba(6,182,212,.48),
    rgba(34,197,94,.18)
  );
  box-shadow:
    0 0 14px rgba(34,197,94,.24),
    0 0 22px rgba(6,182,212,.12);
}
.mini-float-b {
  bottom: 20px; left: -44px; border-color: rgba(139,92,246,.52);
  box-shadow:
    0 10px 28px rgba(0,0,0,.42),
    0 0 18px rgba(139,92,246,.2),
    0 0 34px rgba(99,102,241,.08);
  animation: floatB 4.5s ease-in-out infinite .8s;
}
.mini-float-b::before {
  background-image: linear-gradient(
    90deg,
    rgba(139,92,246,.18),
    rgba(139,92,246,.82),
    rgba(99,102,241,.5),
    rgba(139,92,246,.18)
  );
  box-shadow:
    0 0 14px rgba(139,92,246,.26),
    0 0 22px rgba(99,102,241,.14);
}
@keyframes floatA { 50% { transform: translateY(-8px) rotate(-1deg); } }
@keyframes floatB { 50% { transform: translateY(-10px) rotate(1deg); } }
@keyframes miniFloatBorderGlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* report card */
.report-card {
  background: rgba(12,17,32,.92);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(20px);
  border-radius: 20px; padding: 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.05) inset;
  animation: floatCard 5s ease-in-out infinite;
  position: relative; overflow: hidden;
}
.report-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,.5), rgba(6,182,212,.4), transparent);
}
@keyframes floatCard { 50% { transform: translateY(-12px) rotate(.5deg); } }

.rc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.rc-ava {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, #6366f1, #06b6d4);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0; box-shadow: 0 4px 16px rgba(99,102,241,.35);
}
.rc-name { font-weight: 600; font-size: .95rem; }
.rc-role { font-size: .75rem; color: var(--muted); margin-top: 2px; }
.rc-time {
  margin-left: auto; font-size: .72rem; color: var(--muted);
  background: rgba(255,255,255,.05); padding: 3px 8px; border-radius: 6px;
}

.rc-score-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.rc-score-big {
  font-family: var(--display); font-size: 2.8rem; font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, var(--green), #16a34a);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  filter: drop-shadow(0 0 12px rgba(34,197,94,.4));
}
.rc-score-label { font-size: .72rem; color: var(--muted); }
.rc-status {
  margin-left: auto; padding: 6px 14px; border-radius: 99px;
  font-size: .78rem; font-weight: 600; display: flex; align-items: center; gap: 6px;
}
.rc-status.hire { background: rgba(34,197,94,.15); color: var(--green); border: 1px solid rgba(34,197,94,.3); }
.rc-status.reject { background: rgba(244,63,94,.12); color: var(--rose); border: 1px solid rgba(244,63,94,.3); }

/* metric bars */
.rc-bars { display: flex; flex-direction: column; gap: 9px; margin-bottom: 16px; }
.rc-bar { display: flex; align-items: center; gap: 10px; font-size: .77rem; }
.rc-bar-label { width: 102px; color: var(--muted); flex-shrink: 0; font-size: .75rem; }
.rc-bar-track { flex: 1; height: 5px; border-radius: 3px; background: rgba(255,255,255,.06); overflow: hidden; }
.rc-bar-fill { height: 100%; border-radius: 3px; width: 0; transition: width 1.8s cubic-bezier(.22,1,.36,1); }
.rc-bar-val { width: 32px; text-align: right; font-weight: 600; font-family: var(--mono); font-size: .72rem; }
.weight-tag {
  font-family: var(--mono); font-size: .65rem; color: var(--muted);
  background: rgba(255,255,255,.05); padding: 1px 5px; border-radius: 4px; flex-shrink: 0;
}

.bar-indigo { background: linear-gradient(90deg, #4f46e5, #818cf8); box-shadow: 0 0 8px rgba(99,102,241,.35); }
.bar-amber  { background: linear-gradient(90deg, #d97706, #fbbf24); }
.bar-green  { background: linear-gradient(90deg, #16a34a, #4ade80); box-shadow: 0 0 8px rgba(34,197,94,.3); }
.bar-rose   { background: linear-gradient(90deg, #be123c, #f87171); }

.c-indigo { color: #818cf8; }
.c-amber  { color: #fbbf24; }
.c-green  { color: #4ade80; }
.c-rose   { color: #f87171; }

/* signal chips */
.rc-signals { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.rc-signal {
  font-size: .71rem; padding: 3px 9px; border-radius: 6px;
  background: rgba(255,255,255,.05); border: 1px solid var(--border); color: var(--muted);
}
.rc-signal.good    { background: rgba(34,197,94,.08);  border-color: rgba(34,197,94,.25);  color: #4ade80; }
.rc-signal.bad     { background: rgba(244,63,94,.08);  border-color: rgba(244,63,94,.25);  color: #f87171; }
.rc-signal.neutral { background: rgba(245,158,11,.08); border-color: rgba(245,158,11,.22); color: #fbbf24; }

/* integrity row */
.rc-integrity {
  display: flex; gap: 8px; margin-bottom: 14px;
}
.int-chip {
  flex: 1; text-align: center; border-radius: 8px; padding: 6px 10px;
  font-size: .73rem;
}
.int-chip .ic-val {
  font-family: var(--mono); font-weight: 700; font-size: .9rem; display: block; margin-bottom: 1px;
}
.int-chip.good { background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.2); color: #4ade80; }
.int-chip.warn { background: rgba(245,158,11,.08); border: 1px solid rgba(245,158,11,.2); color: #fbbf24; }
.int-chip .ic-label { color: var(--muted); font-size: .68rem; }

.rc-ai { background: rgba(99,102,241,.07); border: 1px solid rgba(99,102,241,.2); border-radius: 12px; padding: 11px 14px; font-size: .79rem; color: #a5b4fc; line-height: 1.6; }
.rc-ai-label { font-size: .67rem; font-weight: 600; letter-spacing: .06em; color: var(--primary); margin-bottom: 4px; text-transform: uppercase; }

/* trust ticker */
.trust-bar {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 18px 0; overflow: hidden; position: relative; z-index: 1;
  background: rgba(255,255,255,.01);
}
.trust-bar::before, .trust-bar::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.trust-bar::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.trust-bar::after  { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.ticker-track {
  display: flex; gap: 48px; align-items: center;
  width: max-content; animation: ticker 25s linear infinite;
  transform: translateZ(0);
}
@keyframes ticker { to { transform: translateX(-50%); } }
.ticker-item { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .85rem; white-space: nowrap; flex-shrink: 0; }
.ticker-item strong { color: var(--text); }
.ticker-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--border); }

/* steps */
.steps-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative;
}
.steps-grid::before {
  content: ''; position: absolute; top: 32px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), rgba(6,182,212,.5), transparent);
  opacity: .4;
}
.step-item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 12px; }
.step-num {
  width: 64px; height: 64px; border-radius: 18px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  border: 1px solid var(--border); background: var(--card); position: relative; z-index: 1;
  transition: border-color .35s cubic-bezier(.22,1,.36,1), background .35s cubic-bezier(.22,1,.36,1), box-shadow .35s cubic-bezier(.22,1,.36,1), transform .35s cubic-bezier(.22,1,.36,1);
}
.step-item:hover .step-num {
  border-color: rgba(99,102,241,.5);
  box-shadow: 0 0 24px rgba(99,102,241,.25), 0 0 0 4px rgba(99,102,241,.08);
  background: rgba(99,102,241,.08); transform: translateY(-6px) scale(1.05);
}
.step-title { font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.step-desc  { font-size: .8rem; color: var(--muted); line-height: 1.5; }

/* features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 28px;
  transition: border-color .35s cubic-bezier(.22,1,.36,1), background .35s cubic-bezier(.22,1,.36,1), box-shadow .35s cubic-bezier(.22,1,.36,1), transform .35s cubic-bezier(.22,1,.36,1); position: relative; overflow: hidden;
}
.feature-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(99,102,241,.1), transparent 60%);
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,.3), transparent);
  opacity: 0; transition: opacity .3s;
}
.feature-card:hover { transform: translateY(-8px); border-color: rgba(99,102,241,.3); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.feature-card:hover::after, .feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 18px; position: relative; z-index: 1; transition: transform .3s;
}
.feature-card:hover .feature-icon { transform: scale(1.1) rotate(-3deg); }
.fi-purple { background: rgba(99,102,241,.15); }
.fi-blue   { background: rgba(59,130,246,.15); }
.fi-green  { background: rgba(34,197,94,.15);  }
.fi-cyan   { background: rgba(6,182,212,.15);  }
.fi-amber  { background: rgba(245,158,11,.15); }
.fi-rose   { background: rgba(244,63,94,.15);  }
.feature-title { font-family: var(--display); font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; position: relative; z-index: 1; }
.feature-desc  { font-size: .85rem; color: var(--muted); line-height: 1.65; position: relative; z-index: 1; }

/* candidates list */
.report-preview-section { background: rgba(255,255,255,.015); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.report-preview-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.cand-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 13px 15px;
  transition: border-color .25s cubic-bezier(.22,1,.36,1), background .25s cubic-bezier(.22,1,.36,1), transform .25s cubic-bezier(.22,1,.36,1); cursor: default;
}
.cand-card:hover { border-color: rgba(99,102,241,.3); background: rgba(99,102,241,.04); transform: translateX(4px); }
.cand-ava { width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.cand-info { flex: 1; }
.cand-name { font-size: .87rem; font-weight: 600; }
.cand-meta { font-size: .71rem; color: var(--muted); margin-top: 1px; }
.cand-score-block { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.cand-score-val { font-family: var(--display); font-size: 1.1rem; font-weight: 700; }
.score-bar-wrap { display: flex; align-items: center; gap: 6px; }
.score-bar-track { width: 56px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.06); overflow: hidden; }
.score-bar-fill { height: 100%; border-radius: 3px; width: 0; transition: width 1.8s cubic-bezier(.22,1,.36,1); }
.fill-green  { background: linear-gradient(90deg, #16a34a, #4ade80); }
.fill-yellow { background: linear-gradient(90deg, #d97706, #fbbf24); }
.fill-red    { background: linear-gradient(90deg, #be123c, #f87171); }
.v-green  { color: var(--green); }
.v-yellow { color: var(--amber); }
.v-red    { color: var(--rose);  }
.v-muted  { color: var(--muted); font-size: .68rem; }
.rec-badge {
  font-size: .69rem; padding: 2px 9px; border-radius: 6px; font-weight: 600; white-space: nowrap;
}
.rec-invite   { background: rgba(34,197,94,.15);  color: var(--green); }
.rec-consider { background: rgba(245,158,11,.12); color: var(--amber); }
.rec-reject   { background: rgba(244,63,94,.12);  color: var(--rose);  }
.cand-int {
  font-size: .69rem; padding: 2px 7px; border-radius: 5px;
  background: rgba(255,255,255,.05); border: 1px solid var(--border); color: var(--muted);
}
.rp-list { display: flex; flex-direction: column; gap: 9px; }

/* success section */
.success-section { padding: 100px 0; position: relative; z-index: 1; }
.success-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.success-card {
  background: rgba(12,17,32,.85);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px; padding: 32px;
  position: relative; overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.4);
}
.success-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34,197,94,.6), rgba(99,102,241,.4), transparent);
}
.sc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.sc-logo {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, #16a34a, #059669);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
  box-shadow: 0 6px 20px rgba(34,197,94,.3);
}
.sc-co-name { font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
.sc-co-meta { font-size: .78rem; color: var(--muted); margin-top: 3px; }
.sc-quote-mark { font-family: var(--display); font-size: 4rem; line-height: 1; color: rgba(34,197,94,.2); position: absolute; top: 24px; right: 32px; }
.sc-quote { font-size: 1rem; line-height: 1.75; color: var(--text); margin-bottom: 24px; font-style: italic; }
.sc-quote strong { color: var(--green); font-style: normal; }
.sc-author { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--border); }
.sc-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #6366f1, #06b6d4); display: flex; align-items: center; justify-content: center; }
.sc-author-name { font-weight: 600; font-size: .9rem; }
.sc-author-title { font-size: .75rem; color: var(--muted); }
.sc-verified {
  margin-left: auto; display: flex; align-items: center; gap: 5px;
  font-size: .72rem; color: var(--green);
  background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.25);
  padding: 4px 10px; border-radius: 99px;
}
.sc-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.sc-metric {
  background: rgba(255,255,255,.03); border: 1px solid var(--border);
  border-radius: 12px; padding: 14px; text-align: center; transition: border-color .25s, background .25s;
}
.sc-metric:hover { border-color: rgba(34,197,94,.3); background: rgba(34,197,94,.04); }
.sc-metric-val {
  font-family: var(--display); font-size: 1.5rem; font-weight: 800;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.sc-metric-label { font-size: .72rem; color: var(--muted); margin-top: 3px; }
.success-steps { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.success-step { display: flex; gap: 16px; align-items: flex-start; }
.ss-icon { width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; border: 1px solid var(--border); background: var(--card); }
.ss-title { font-weight: 600; font-size: .92rem; margin-bottom: 3px; }
.ss-desc  { font-size: .82rem; color: var(--muted); line-height: 1.55; }
.sc-timeline { display: flex; align-items: center; margin-top: 28px; padding: 20px; background: rgba(255,255,255,.02); border: 1px solid var(--border); border-radius: 16px; }
.sc-tl-step { flex: 1; text-align: center; font-size: .75rem; position: relative; }
.sc-tl-step:not(:last-child)::after {
  content: ''; position: absolute; top: 18px; right: -50%; left: 50%; height: 1px;
  background: linear-gradient(90deg, var(--green), rgba(34,197,94,.2));
}
.sc-tl-dot { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; font-size: .9rem; border: 1px solid rgba(34,197,94,.4); background: rgba(34,197,94,.1); color: var(--green); font-weight: 700; }
.sc-tl-label { color: var(--muted); line-height: 1.4; }
.sc-tl-val   { color: var(--text); font-weight: 600; margin-top: 2px; }

/* cta */
.cta-section { text-align: center; padding: 120px 0; position: relative; z-index: 1; }
.cta-glow { position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(99,102,241,.12), transparent 70%); top: 50%; left: 50%; transform: translate(-50%,-50%); pointer-events: none; }
.cta-cards { display: flex; gap: 20px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.cta-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 28px 32px;
  flex: 1; min-width: 260px; max-width: 320px; text-align: left;
  transition: border-color .35s cubic-bezier(.22,1,.36,1), box-shadow .35s cubic-bezier(.22,1,.36,1), transform .35s cubic-bezier(.22,1,.36,1); position: relative; overflow: hidden;
}
.cta-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,.4), transparent);
  opacity: 0; transition: opacity .3s;
}
.cta-card:hover { border-color: rgba(99,102,241,.3); transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.cta-card:hover::before { opacity: 1; }
.cta-card-icon  { font-size: 1.8rem; margin-bottom: 14px; }
.cta-card-title { font-family: var(--display); font-weight: 700; font-size: 1rem; margin-bottom: 8px; }
.cta-card-desc  { font-size: .82rem; color: var(--muted); line-height: 1.6; margin-bottom: 20px; }
.cta-card-time  { font-size: .75rem; color: var(--primary); font-weight: 600; }

/* footer */
.footer { border-top: 1px solid var(--border); padding: 32px 0; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px 24px; text-align: center; position: relative; z-index: 1; }
.footer-logo  { font-family: var(--display); font-weight: 700; font-size: .95rem; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 24px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: .85rem; transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: var(--muted); font-size: .82rem; }

/* reveal */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.reveal-stagger.visible > *:nth-child(1) { opacity:1;transform:none;transition-delay:0s }
.reveal-stagger.visible > *:nth-child(2) { opacity:1;transform:none;transition-delay:.08s }
.reveal-stagger.visible > *:nth-child(3) { opacity:1;transform:none;transition-delay:.16s }
.reveal-stagger.visible > *:nth-child(4) { opacity:1;transform:none;transition-delay:.24s }
.reveal-stagger.visible > *:nth-child(5) { opacity:1;transform:none;transition-delay:.32s }
.reveal-stagger.visible > *:nth-child(6) { opacity:1;transform:none;transition-delay:.40s }

/* responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 120px 0 60px; }
  .hero-right { max-width: 480px; margin: 0 auto; padding: 28px 48px 20px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .steps-grid::before { display: none; }
  .report-preview-inner { grid-template-columns: 1fr; gap: 40px; }
  .success-inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .cta-cards { flex-direction: column; align-items: center; }
  .steps-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 16px; }
  .hero-right { padding: 0; }
}

/* =========================================================
   Brondem index refresh: content alignment + mobile stability
   ========================================================= */

.hero { column-gap: clamp(32px, 5vw, 72px); align-items: start; }
.hero-left { min-width: 0; }
.hero h1 { max-width: 760px; text-wrap: balance; margin-top: 0; }
@media (min-width: 901px) {
  html[lang="en"] .hero { grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); }
  html[lang="en"] .hero-question { white-space: nowrap; }
}
.hero-sub { max-width: 660px; }
.hero-proof-grid { align-items: stretch; }
.hero-proof-grid .hero-stat { max-width: 190px; }
.hero-proof-grid .hero-stat-value {
  font-size: clamp(1.08rem, 1.8vw, 1.38rem);
  line-height: 1.12;
  -webkit-text-fill-color: initial;
  background: none;
  color: var(--text);
}
.hero-proof-grid .hero-stat-label { line-height: 1.35; }

.rc-head > div:nth-child(2) { min-width: 0; }
.rc-name,
.rc-role { overflow-wrap: anywhere; }
.rc-status { white-space: nowrap; }
.result-note {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 26px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.45;
}
.cand-decision {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
  flex-shrink: 0;
}
.cand-int.danger { color: var(--rose); }
.rp-list-note {
  text-align: center;
  padding: 12px 10px 4px;
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.45;
}
.scenario-card .sc-quote { font-style: normal; }
.scenario-note {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(245,158,11,.22);
  background: rgba(245,158,11,.07);
  color: #fbbf24;
  font-size: .82rem;
  line-height: 1.55;
}
.cta-section .section-title { max-width: 820px; margin-left: auto; margin-right: auto; }

@media (min-width: 901px) and (max-width: 1180px) {
  .hero.container { width: calc(100% - 20px); }
}

@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); gap: 34px; }
  .hero-right { padding-left: 24px; padding-right: 24px; }
  .mini-float-a { right: -16px; }
  .mini-float-b { left: -18px; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-left: 24px; padding-right: 24px; text-align: center; }
  .hero-left { width: 100%; max-width: 760px; margin-left: auto; margin-right: auto; }
  .hero h1, .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-proof-grid { max-width: 100%; justify-content: center; }
  .hero-ctas { justify-content: center; }
  .hero-right { width: min(100%, 520px); }
  .success-section { padding: 76px 0; }
  .cta-section { padding: 88px 0; }
  .cta-glow { width: min(600px, 100vw); max-width: 100vw; }
  .mini-float { position: static; width: 100%; max-width: 100%; white-space: normal; }
  .mini-float-a, .mini-float-b { left: auto; right: auto; }
}

@media (max-width: 680px) {
  .hero { padding: 118px 18px 52px; gap: 34px; }
  .hero-left { padding-left: clamp(4px, 2vw, 12px); padding-right: clamp(4px, 2vw, 12px); }
  .hero h1 { font-size: clamp(2rem, 10vw, 2.75rem); line-height: 1.08; }
  .hero-sub { font-size: 1rem; line-height: 1.65; }
  .hero-proof-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 26px;
  }
  .hero-proof-grid .stat-div { display: none; }
  .hero-proof-grid .hero-stat {
    max-width: none;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255,255,255,.03);
  }
  .hero-ctas { width: 100%; max-width: 420px; margin-left: auto; margin-right: auto; flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
.cta-note { line-height: 1.5; }
  .hero-right { padding: 0; max-width: 100%; }
  .demo-wrapper { max-width: 100%; }
  .mini-float { position: static; width: 100%; justify-content: center; margin-bottom: 10px; white-space: normal; text-align: center; }
  .report-card { padding: 18px; border-radius: 18px; }
  .rc-head { align-items: flex-start; }
  .rc-time { display: none; }
  .rc-score-row { align-items: flex-start; }
  .rc-bars { gap: 12px; }
  .rc-bar {
    display: grid;
    grid-template-columns: 88px 1fr 30px;
    gap: 8px;
  }
  .rc-bar-label { width: auto; }
  .weight-tag { display: none; }
  .rc-integrity { flex-direction: column; }
  .cand-card {
    display: grid;
    grid-template-columns: 38px minmax(0,1fr) auto;
    gap: 10px;
    align-items: center;
  }
  .cand-score-block {
    grid-column: 2 / 4;
    align-items: stretch;
    flex-direction: row;
    justify-content: space-between;
    padding-left: 0;
  }
  .cand-decision { grid-column: 3; grid-row: 1; align-items: flex-end; }
  .cand-meta { line-height: 1.35; }
  .score-bar-track { width: min(160px, 34vw); }
  .sc-metrics { grid-template-columns: 1fr; }
  .sc-timeline { flex-direction: column; align-items: stretch; gap: 12px; }
  .sc-tl-step { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 10px; text-align: left; }
  .sc-tl-step:not(:last-child)::after { display: none; }
  .sc-tl-dot { margin: 0; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card, .cta-card, .success-card { padding: 22px; }
  .footer { flex-direction: column; align-items: center; }
  .footer-links { flex-wrap: wrap; gap: 12px 18px; }
}


@media (max-width: 520px) {
  .hero { padding-top: 96px; }
  .report-card { box-shadow: 0 18px 50px rgba(0,0,0,.42), 0 0 0 1px rgba(255,255,255,.05) inset; }
  .rc-signals { align-items: stretch; }
  .rc-signal { flex: 1 1 100%; text-align: center; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 1.86rem; }
  .btn-lg { padding: 13px 18px; }
  .cand-card { grid-template-columns: 34px minmax(0,1fr); }
  .cand-decision { grid-column: 1 / 3; grid-row: auto; align-items: stretch; flex-direction: row; justify-content: space-between; }
  .cand-score-block { grid-column: 1 / 3; }
  .score-bar-track { width: 110px; }
}

/* Mobile hero alignment fix */
@media (max-width: 900px) {
  .hero.container {
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
    grid-template-columns: minmax(0, 1fr);
    margin-left: 0;
    margin-right: 0;
  }

  .hero.container > * {
    min-width: 0;
  }

  .hero-left {
    width: 100%;
    max-width: min(760px, 100%);
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    text-align: center;
    align-items: center;
  }

  .hero-left > * {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-left h1,
  .hero-left .hero-sub,
  .hero-left p {
    max-width: 100%;
    text-align: center;
  }

  .hero-proof-grid {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    gap: 18px;
  }

  .hero-proof-grid .hero-stat {
    align-items: center;
    text-align: center;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-right,
  .demo-wrapper,
  .report-card {
    max-width: 100%;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 680px) {
  .hero-left {
    max-width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-proof-grid {
    width: 100%;
    gap: 12px;
  }

  .hero-proof-grid .hero-stat {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-ctas {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hero-ctas .btn,
  .hero-ctas a {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 430px) {
  .hero-left {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-left h1 {
    font-size: clamp(1.62rem, 7.2vw, 2.05rem);
    text-align: center;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-wrap: balance;
  }
}

@media (max-width: 380px) {
  .hero-left h1 {
    font-size: clamp(1.56rem, 7vw, 1.68rem);
    line-height: 1.12;
  }
}

/* SEO content sections */
#seo-clusters {
  position: relative;
  padding-top: 84px;
  padding-bottom: 72px;
}

#seo-clusters .features-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

#seo-clusters .feature-card {
  min-height: 100%;
}

#seo-clusters .feature-desc a,
#forms-alternative .cta-card-desc a {
  color: var(--cyan);
  font-weight: 700;
  text-decoration: none;
}

#seo-clusters .feature-desc a:hover,
#forms-alternative .cta-card-desc a:hover {
  color: var(--text);
}

#forms-alternative {
  padding-top: 78px;
  padding-bottom: 78px;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: linear-gradient(180deg, rgba(99,102,241,.045), rgba(6,182,212,.025));
}

#forms-alternative .cta-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 920px;
  margin: 34px auto 0;
}

#forms-alternative .cta-card {
  min-height: 100%;
}

@media (max-width: 1180px) {
  #seo-clusters .features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  #seo-clusters,
  #forms-alternative {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  #seo-clusters .features-grid,
  #forms-alternative .cta-cards {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   Routine comparison scroll section
   ========================================================= */

#forms-alternative.routine-comparison-section {
  --routine-progress: 0;
  --routine-manual-deck: 0;
  --routine-form-review: 0;
  --routine-review-deck: 0;
  --routine-brand-progress: 0;

  position: relative;
  overflow: hidden;
  padding-top: 92px;
  padding-bottom: 112px;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  background:
    radial-gradient(circle at 18% 24%, rgba(139,92,246,.13), transparent 34%),
    radial-gradient(circle at 82% 30%, rgba(6,182,212,.11), transparent 34%),
    linear-gradient(180deg, rgba(99,102,241,.045), rgba(6,182,212,.025));
}

#forms-alternative.routine-comparison-section::before {
  content: none;
}

.routine-comparison__shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.routine-scroll {
  --routine-progress: 0;
  --routine-manual-deck: 0;
  --routine-form-review: 0;
  --routine-review-deck: 0;
  --routine-brand-progress: 0;
  --routine-caption-manual-top: -2px;
  --routine-caption-forms-top: -16px;
  --routine-manual-card-offset-y: 54px;
  --routine-form-card-offset-y: 54px;
  --routine-caption-card-gap: 6px;
  --routine-manual-card-top: 78px;
  --routine-form-card-top: 92px;

  position: relative;
  min-height: 790px;
  margin-top: 48px;
  padding: 34px 32px 310px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(9,14,28,.88), rgba(9,16,32,.72));
  box-shadow: 0 14px 30px rgba(0,0,0,.24);
  contain: layout paint style;
  content-visibility: auto;
  contain-intrinsic-size: 790px;
}

.routine-scroll__stage {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
}

.routine-flow {
  position: relative;
  min-width: 0;
  padding-top: var(--routine-manual-card-top);
  transition: none;
}

.routine-flow--manual {
  padding-top: var(--routine-manual-card-top);
  transform:
    translate(
      calc(var(--routine-manual-deck) * 18px),
      calc(var(--routine-manual-deck) * -14px)
    );
}

.routine-flow--forms {
  padding-top: var(--routine-form-card-top);
  transform:
    translate(
      calc(var(--routine-review-deck) * -8px),
      calc(var(--routine-review-deck) * -6px)
    );
}

.routine-flow__caption {
  position: absolute;
  top: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: min(280px, calc(78% - 24px));
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  text-align: left;
  background: rgba(10,16,30,.78);
  box-shadow: 0 8px 18px rgba(0,0,0,.16);
}

.routine-flow__caption--manual {
  top: var(--routine-caption-manual-top);
  left: min(170px, 50%);
  transform: translateX(-50%);
}

.routine-flow__caption--forms {
  top: var(--routine-caption-forms-top);
  right: 10px;
  left: auto;
  transform: none;
}

.routine-flow__eyebrow {
  color: var(--primary);
  font-family: var(--mono);
  font-size: clamp(.8rem, .9vw, .88rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.routine-flow__caption--forms .routine-flow__eyebrow {
  color: var(--cyan);
}

.routine-flow__caption strong {
  color: var(--text);
  font-family: var(--display);
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  font-weight: 800;
  line-height: 1.25;
}

.routine-work-card,
.routine-form-card,
.routine-stack-card {
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px;
  background: rgba(12,17,32,.94);
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
}

.routine-work-card,
.routine-form-card {
  position: relative;
  z-index: 3;
  overflow: hidden;
}

.routine-work-card::before,
.routine-form-card::before {
  content: none;
}

.routine-work-card {
  max-width: 340px;
  min-height: 286px;
  padding: 20px;
}

.routine-work-card__head,
.routine-form-card__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.routine-work-card__label,
.routine-form-card__head > span {
  display: block;
  color: var(--text);
  font-family: var(--display);
  font-size: .86rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.01em;
}

.routine-work-card h3 {
  margin: 3px 0 0;
  font-size: 1rem;
  line-height: 1.2;
}

.routine-task-list,
.routine-review-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.routine-task-list li,
.routine-review-list li {
  display: grid;
  grid-template-columns: 15px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 20px;
  color: var(--text);
  font-size: .8rem;
  opacity: .16;
  transform: translateY(8px);
  transition:
    opacity .22s ease,
    transform .22s ease;
}

.routine-task-list li.is-visible,
.routine-review-list li.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.routine-task-list li span,
.routine-review-list li span {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid rgba(139,92,246,.55);
  background: rgba(139,92,246,.08);
}

.routine-review-list li span {
  border-color: rgba(6,182,212,.58);
  background: rgba(6,182,212,.08);
}

.routine-task-list li.is-visible span,
.routine-review-list li.is-visible span {
  background: currentColor;
}

.routine-card-stack {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.routine-card-stack--manual {
  left: 0;
  top: var(--routine-manual-card-top);
  width: 560px;
  height: 390px;
}

.routine-card-stack--forms {
  left: 8px;
  top: 292px;
  width: 300px;
  height: 230px;
}

.routine-stack-card {
  position: absolute;
  width: 318px;
  height: 268px;
  opacity: calc(var(--routine-manual-deck) * .76);
  transform-origin: 50% 80%;
  background: rgba(18,24,44,.88);
  border-color: rgba(139,92,246,.34);
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
}

.routine-card-stack--manual .routine-stack-card {
  left: 0;
  width: min(100%, 340px);
  height: 286px;
  opacity: calc(var(--routine-manual-deck) * .58);
  transform-origin: 18% 18%;
  border-color: rgba(139,92,246,.30);
  background: rgba(18,24,44,.84);
  box-shadow: 0 9px 18px rgba(0,0,0,.20);
}

.routine-card-stack--manual .routine-stack-card--one {
  transform: translate3d(calc(var(--routine-manual-deck) * 46px), calc(var(--routine-manual-deck) * -12px), 0) rotate(calc(var(--routine-manual-deck) * 4deg));
}

.routine-card-stack--manual .routine-stack-card--two {
  transform: translate3d(calc(var(--routine-manual-deck) * 86px), calc(var(--routine-manual-deck) * -26px), 0) rotate(calc(var(--routine-manual-deck) * 8deg));
}

.routine-card-stack--manual .routine-stack-card--three {
  transform: translate3d(calc(var(--routine-manual-deck) * 126px), calc(var(--routine-manual-deck) * -42px), 0) rotate(calc(var(--routine-manual-deck) * 12deg));
}

.routine-card-stack--manual .routine-stack-card--four {
  transform: translate3d(calc(var(--routine-manual-deck) * 166px), calc(var(--routine-manual-deck) * -60px), 0) rotate(calc(var(--routine-manual-deck) * 16deg));
}

.routine-card-stack--manual .routine-stack-card--five {
  transform: translate3d(calc(var(--routine-manual-deck) * 206px), calc(var(--routine-manual-deck) * -78px), 0) rotate(calc(var(--routine-manual-deck) * 20deg));
}

.routine-card-stack--forms .routine-stack-card {
  width: 252px;
  height: 180px;
  opacity: calc(var(--routine-review-deck) * .76);
  border-color: rgba(6,182,212,.34);
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
}

.routine-card-stack--forms .routine-stack-card--one {
  transform:
    translate(
      calc(var(--routine-review-deck) * -18px),
      calc(var(--routine-review-deck) * 14px)
    )
    rotate(calc(var(--routine-review-deck) * -5deg));
}

.routine-card-stack--forms .routine-stack-card--two {
  transform:
    translate(
      calc(var(--routine-review-deck) * -36px),
      calc(var(--routine-review-deck) * 28px)
    )
    rotate(calc(var(--routine-review-deck) * -9deg));
}

.routine-card-stack--forms .routine-stack-card--three {
  transform:
    translate(
      calc(var(--routine-review-deck) * -54px),
      calc(var(--routine-review-deck) * 42px)
    )
    rotate(calc(var(--routine-review-deck) * -13deg));
}

.routine-card-stack--forms .routine-stack-card--four {
  transform:
    translate(
      calc(var(--routine-review-deck) * -72px),
      calc(var(--routine-review-deck) * 56px)
    )
    rotate(calc(var(--routine-review-deck) * -17deg));
}

.routine-form-card {
  width: min(100%, 300px);
  margin-left: auto;
  padding: 19px;
}

.routine-form-card__head {
  margin-bottom: 14px;
}


.routine-form-card__summary {
  margin: -4px 0 14px;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.45;
}

.routine-form-checks {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.routine-form-checks li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.035);
}

.routine-form-checks span {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: .68rem;
  line-height: 1.45;
}

.routine-form-checks strong {
  color: var(--text);
  font-size: .78rem;
  line-height: 1.3;
}

.routine-form-button {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  text-align: center;
  color: #e0f2fe;
  font-size: .78rem;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(6,182,212,.85), rgba(99,102,241,.85));
  opacity: .18;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease;
}

.routine-form-button.is-visible {
  opacity: 1;
  transform: translateY(0);
}



/* Forms cards fly out directly from the candidate questionnaire card. */
.routine-card-stack--forms {
  right: 0;
  left: auto;
  top: var(--routine-form-card-top);
  width: 420px;
  height: 360px;
}

.routine-card-stack--forms .routine-stack-card {
  right: 0;
  width: min(100%, 300px);
  height: 332px;
  opacity: calc(var(--routine-review-deck) * .58);
  transform-origin: 82% 18%;
  border-color: rgba(6,182,212,.30);
  background: rgba(13,22,42,.84);
  box-shadow: 0 9px 18px rgba(0,0,0,.20);
}

.routine-card-stack--forms .routine-stack-card--one {
  transform: translate3d(calc(var(--routine-review-deck) * -46px), calc(var(--routine-review-deck) * 12px), 0) rotate(calc(var(--routine-review-deck) * -4deg));
}

.routine-card-stack--forms .routine-stack-card--two {
  transform: translate3d(calc(var(--routine-review-deck) * -86px), calc(var(--routine-review-deck) * 26px), 0) rotate(calc(var(--routine-review-deck) * -8deg));
}

.routine-card-stack--forms .routine-stack-card--three {
  transform: translate3d(calc(var(--routine-review-deck) * -126px), calc(var(--routine-review-deck) * 42px), 0) rotate(calc(var(--routine-review-deck) * -12deg));
}

.routine-card-stack--forms .routine-stack-card--four {
  transform: translate3d(calc(var(--routine-review-deck) * -166px), calc(var(--routine-review-deck) * 60px), 0) rotate(calc(var(--routine-review-deck) * -16deg));
}

.routine-card-stack--forms .routine-stack-card--five {
  transform: translate3d(calc(var(--routine-review-deck) * -206px), calc(var(--routine-review-deck) * 78px), 0) rotate(calc(var(--routine-review-deck) * -20deg));
}

@media (max-width: 920px) {
  .routine-card-stack--forms {
    display: none;
  }
}

.routine-brand-card {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 6;
  width: min(760px, calc(100% - 64px));
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(6,182,212,.32);
  background:
    linear-gradient(135deg, rgba(7,14,30,.97), rgba(10,20,42,.92));
  box-shadow: 0 14px 30px rgba(0,0,0,.26);
  opacity: var(--routine-brand-progress);
  transform: translate3d(-50%, calc((1 - var(--routine-brand-progress)) * 24px), 0);
  pointer-events: none;
}

.routine-scroll.is-brand-visible .routine-brand-card {
  pointer-events: auto;
}

@media (min-width: 1101px) and (pointer: fine) {
  .routine-scroll.is-brand-visible .routine-brand-card {
    will-change: transform, opacity;
  }
}

.routine-brand-card__head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.routine-brand-card__logo {
  flex: 0 0 auto;
  width: 150px;
  height: auto;
  max-width: 34vw;
  object-fit: contain;
}

.routine-brand-card h3 {
  margin: 0;
  color: var(--text);
  font-family: var(--display);
  font-size: clamp(1.14rem, 2vw, 1.6rem);
  line-height: 1.12;
  letter-spacing: -.02em;
}

.routine-brand-card p {
  max-width: 690px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.62;
}

.routine-brand-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

.routine-brand-flow div {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.035);
}

.routine-brand-flow span {
  display: block;
  margin-bottom: 4px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: .68rem;
}

.routine-brand-flow strong {
  display: block;
  color: var(--text);
  font-size: .8rem;
  line-height: 1.25;
}

.routine-brand-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

@media (prefers-reduced-motion: reduce) {
  #forms-alternative.routine-comparison-section {
    --routine-progress: 1 !important;
    --routine-manual-deck: 1 !important;
    --routine-form-review: 1 !important;
    --routine-review-deck: 1 !important;
    --routine-brand-progress: 1 !important;
  }

  .routine-task-list li,
  .routine-review-list li,
  .routine-form-button {
    opacity: 1 !important;
    transform: none !important;
  }

  .routine-flow,
  .routine-card-stack,
  .routine-brand-card {
    transition: none !important;
  }

  .routine-card-stack {
    display: none;
  }
}

@media (max-width: 920px) {
  .routine-card-stack {
    display: none;
  }

  .routine-scroll {
    min-height: 0;
    padding: 28px 20px;
    overflow: visible;
    content-visibility: visible;
    contain-intrinsic-size: auto;
    background: linear-gradient(135deg, rgba(9,14,28,.9), rgba(9,16,32,.72));
    box-shadow:
      0 16px 36px rgba(0,0,0,.28),
      0 0 0 1px rgba(255,255,255,.035) inset;
  }

  .routine-scroll__stage {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .routine-flow--manual,
  .routine-flow--forms {
    transform: none;
    transition: none;
  }

  .routine-work-card,
  .routine-form-card {
    width: min(100%, 360px);
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }


  .routine-brand-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: min(100%, 760px);
    margin: 0 auto;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

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

@media (max-width: 620px) {
  #forms-alternative.routine-comparison-section {
    padding-top: 56px;
    padding-bottom: 62px;
  }

  .routine-comparison__shell {
    width: min(100% - 28px, 1180px);
  }

  .routine-scroll {
    min-height: 0;
    margin-top: 28px;
    padding: 18px 12px;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(0,0,0,.24);
  }

  .routine-scroll__stage {
    gap: 30px;
  }

  .routine-flow__caption {
    position: static;
    width: min(100%, 260px);
    transform: none;
    text-align: left;
  }

  .routine-flow__caption--manual {
    margin: 0 auto var(--routine-caption-card-gap) 0;
  }

  .routine-flow__caption--forms {
    margin: 0 0 var(--routine-caption-card-gap) auto;
  }

  .routine-flow {
    padding-top: 0;
  }

  .routine-flow__caption strong {
    font-size: 1rem;
    letter-spacing: 0;
  }

  .routine-work-card,
  .routine-form-card {
    width: 100%;
    max-width: none;
    padding: 16px;
    border-radius: 18px;
    box-shadow: 0 8px 18px rgba(0,0,0,.20);
  }

  .routine-work-card__head,
  .routine-form-card__head {
    gap: 6px;
    flex-direction: column;
    margin-bottom: 14px;
  }

  .routine-task-list li,
  .routine-review-list li {
    font-size: .78rem;
    line-height: 1.35;
  }

  .routine-form-checks li {
    padding: 8px 9px;
  }

  .routine-brand-card {
    width: 100%;
    padding: 16px;
    border-radius: 18px;
    box-shadow: 0 10px 22px rgba(0,0,0,.22);
  }

  .routine-brand-card__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 14px;
  }

  .routine-brand-card__logo {
    width: 134px;
    max-width: 70vw;
  }

  .routine-brand-card h3 {
    font-size: 1.06rem;
    line-height: 1.22;
    letter-spacing: 0;
  }

  .routine-brand-card p {
    margin-top: 12px;
    font-size: .82rem;
    line-height: 1.55;
  }

  .routine-brand-flow {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .routine-brand-flow div {
    padding: 10px;
  }

  .routine-brand-card__actions {
    flex-direction: column;
  }

  .routine-brand-card__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .routine-task-list li,
  .routine-review-list li,
  .routine-form-button {
    opacity: 1;
    transform: none;
  }
}

/* Manual screening deck: visible fly-out cards from the left routine card. */
.routine-card-stack--manual {
  z-index: 2;
}

.routine-card-stack--manual .routine-stack-card {
  display: block;
}

@media (min-width: 1101px) and (pointer: fine) {
  .routine-card-stack--manual .routine-stack-card {
    will-change: transform, opacity;
  }
}

.routine-card-stack--manual .routine-stack-card--one {
  transform: translate3d(calc(var(--routine-manual-deck) * 54px), calc(var(--routine-manual-deck) * -14px), 0) rotate(calc(var(--routine-manual-deck) * 4deg));
}

.routine-card-stack--manual .routine-stack-card--two {
  transform: translate3d(calc(var(--routine-manual-deck) * 98px), calc(var(--routine-manual-deck) * -30px), 0) rotate(calc(var(--routine-manual-deck) * 8deg));
}

.routine-card-stack--manual .routine-stack-card--three {
  transform: translate3d(calc(var(--routine-manual-deck) * 142px), calc(var(--routine-manual-deck) * -48px), 0) rotate(calc(var(--routine-manual-deck) * 12deg));
}

.routine-card-stack--manual .routine-stack-card--four {
  transform: translate3d(calc(var(--routine-manual-deck) * 186px), calc(var(--routine-manual-deck) * -68px), 0) rotate(calc(var(--routine-manual-deck) * 16deg));
}

.routine-card-stack--manual .routine-stack-card--five {
  transform: translate3d(calc(var(--routine-manual-deck) * 230px), calc(var(--routine-manual-deck) * -90px), 0) rotate(calc(var(--routine-manual-deck) * 20deg));
}

@media (max-width: 920px) {
  .routine-card-stack--manual {
    display: none;
  }
}


/* Routine tablet composition v301 */
@media (min-width: 700px) and (max-width: 920px) {
  .routine-scroll {
    padding: 24px;
  }

  .routine-scroll__stage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
  }

  .routine-flow {
    padding-top: 0;
  }

  .routine-flow__caption {
    position: static;
    width: 100%;
    min-height: 86px;
    margin: 0 0 10px;
    transform: none;
  }

  .routine-flow__caption--manual,
  .routine-flow__caption--forms {
    margin-inline: 0;
  }

  .routine-work-card,
  .routine-form-card {
    width: 100%;
    max-width: 330px;
  }

  .routine-work-card {
    margin-inline: 0 auto;
  }

  .routine-form-card {
    margin-inline: auto 0;
  }

  .routine-brand-card {
    margin-top: 24px;
  }
}


/* Ticker overflow containment v302 */
.trust-bar {
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  overflow-x: clip;
  contain: layout paint;
}

.ticker-track {
  max-width: none;
}

