@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --page-bg: #f3f3ef;
  --surface: #ffffff;
  --surface-alt: #f8f8f4;
  --border: #e2e4ea;
  --border-strong: #d4d8e2;
  --text-primary: #151821;
  --text-secondary: #636a78;
  --text-muted: #8a90a0;
  --brand: #2f3f7a;
  --accent: #111111;
  --success: #2f8f5b;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --container: min(1120px, calc(100vw - 32px));
  font-family: "Montserrat", "Segoe UI", Inter, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--page-bg);
  color: var(--text-primary);
  font-family: inherit;
  line-height: 1.5;
}

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

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

button,
input {
  font: inherit;
}

.page-shell {
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(87, 142, 255, 0.14), transparent 28%),
    radial-gradient(circle at top center, rgba(255, 230, 102, 0.22), transparent 30%),
    radial-gradient(circle at top right, rgba(255, 135, 135, 0.18), transparent 26%);
}

.demo-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  justify-content: center;
  padding: 8px 16px;
  background: rgba(248, 248, 244, 0.84);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.demo-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.demo-header-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(17, 24, 33, 0.12);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(17, 24, 33, 0.05);
}

.demo-header-trigger:focus-visible {
  outline: 2px solid rgba(47, 63, 122, 0.26);
  outline-offset: 2px;
}

.demo-header-trigger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
  font-size: 0.5rem;
  line-height: 1;
}

.demo-header-feedback {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(47, 63, 122, 0.24);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 18px rgba(17, 24, 33, 0.04);
  transition: border-color 160ms ease, color 160ms ease;
}

.demo-header-feedback:hover {
  color: var(--text-primary);
  border-color: rgba(21, 24, 33, 0.2);
}

.demo-header-feedback:focus-visible {
  outline: 2px solid rgba(47, 63, 122, 0.26);
  outline-offset: 2px;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 56px 0 0;
}

.panel {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface-alt);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 0.72rem;
}

.brand-text {
  font-size: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.button-small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.9rem;
}

.button-primary {
  background: var(--accent);
  color: #fff;
}

.button-light {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hero {
  padding: 40px 0 32px;
}

.hero-shell {
  position: relative;
  padding: 0 28px;
}

.hero-panel {
  margin-top: 16px;
  border-color: var(--border);
  background:
    radial-gradient(circle at 12% 18%, rgba(93, 138, 255, 0.22), transparent 26%),
    radial-gradient(circle at 48% 12%, rgba(251, 235, 120, 0.3), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(250, 143, 143, 0.22), transparent 24%),
    linear-gradient(180deg, rgba(255, 252, 246, 0.96), rgba(248, 248, 244, 0.96));
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.hero-primary {
  display: grid;
  gap: 24px;
  align-content: start;
}

.hero-copy-block {
  max-width: 680px;
  padding-top: 2px;
}

.hero-brand {
  margin-bottom: 18px;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-panel .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: #fff;
}

.hero-panel h1 {
  max-width: none;
  margin: 14px auto 0;
  font-size: clamp(4.2rem, 8vw, 6.8rem);
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: -0.045em;
  text-wrap: balance;
  text-align: center;
  color: #111111;
}

.hero-panel h1.hero-heading-small {
  font-size: clamp(1.7rem, 4.4vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

@media (min-width: 961px) {
  .hero-copy-block {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
    column-gap: 26px;
    row-gap: 0;
    align-items: start;
  }

  .hero-brand {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .hero-panel h1 {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
    font-size: clamp(3.4rem, 6vw, 5.6rem);
    text-align: left;
    align-self: center;
  }

  .hero-panel h1.hero-heading-small {
    font-size: clamp(2rem, 3vw, 3rem);
  }

  .hero-visual {
    grid-column: 2;
    grid-row: 2 / span 4;
    margin-top: 0;
  }

  .hero-panel .hero-copy {
    grid-column: 1;
    grid-row: 3;
    margin: 0;
  }

  .hero-actions {
    grid-column: 1;
    grid-row: 4;
    margin-top: 0;
  }

  .hero-feature-tags {
    grid-column: 1;
    grid-row: 5;
    margin-top: 6px;
  }
}

.hero-copy,
.section-heading p,
.footer-copy {
  color: var(--text-secondary);
}

.hero-panel .hero-copy {
  max-width: 480px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.58;
}

.hero-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.hero-feature-tags li {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(17, 24, 33, 0.1);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 24px rgba(17, 24, 33, 0.04);
  color: #111111;
  font-size: 0.81rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero-feature-tags li a {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.hero-feature-tags li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5f7bff, #f08c68);
  box-shadow: 0 0 0 4px rgba(95, 123, 255, 0.12);
}

.hero-actions {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  width: 100%;
  margin-top: 24px;
}

.hero-visual-link {
  position: relative;
  display: block;
  border-radius: 22px;
}

.hero-visual-link:focus-visible {
  outline: 2px solid rgba(93, 78, 214, 0.55);
  outline-offset: 4px;
}

.hero-visual-image {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(17, 24, 33, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 44px rgba(17, 24, 33, 0.12);
}

.hero-visual-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: rgba(17, 17, 17, 0.08);
  opacity: 0;
  transition: opacity 180ms ease, background-color 180ms ease;
}

.hero-visual-overlay-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius-pill);
  background: rgba(17, 17, 17, 0.6);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.14);
  transform: translateY(4px);
  transition: transform 180ms ease;
}

.hero-visual-overlay-label {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.hero-visual-overlay-text {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
}

.hero-visual-overlay-subtext {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
}

.hero-visual-link:hover .hero-visual-overlay,
.hero-visual-link:focus-visible .hero-visual-overlay,
.hero-visual-link:focus-within .hero-visual-overlay {
  opacity: 1;
  background: rgba(17, 17, 17, 0.24);
}

.hero-visual-link:hover .hero-visual-overlay-pill,
.hero-visual-link:focus-visible .hero-visual-overlay-pill,
.hero-visual-link:focus-within .hero-visual-overlay-pill {
  transform: translateY(0);
}

@media (hover: none), (pointer: coarse) {
  .hero-visual-overlay {
    opacity: 1;
    background: rgba(17, 17, 17, 0.2);
  }

  .hero-visual-overlay-pill {
    transform: translateY(0);
  }
}

.hero-trial-link {
  color: #5d4ed6;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero-trial-link:hover {
  color: #4737d0;
}

.magic-demo-button {
  position: relative;
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 1px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, rgba(127, 67, 255, 0.72), rgba(170, 92, 255, 0.9), rgba(127, 67, 255, 0.72));
  isolation: isolate;
  transition: filter 220ms ease;
}

.magic-demo-button::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: inherit;
  background: radial-gradient(circle at center, rgba(172, 93, 255, 0.24), rgba(117, 54, 218, 0.05) 58%, transparent 78%);
  filter: blur(10px);
  opacity: 0.34;
  z-index: -2;
}

.magic-demo-button:hover {
  filter: saturate(1.04);
}

.magic-demo-button:hover::before {
  opacity: 0.48;
  filter: blur(12px);
}

.magic-demo-button-core {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  min-width: 356px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(19, 16, 28, 0.72), rgba(10, 8, 16, 0.68));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 10px 24px rgba(22, 8, 38, 0.18);
}

.magic-demo-button-core::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -38%;
  width: 42%;
  height: 160%;
  background: linear-gradient(90deg, transparent 0%, rgba(216, 166, 255, 0.1) 24%, rgba(186, 111, 255, 0.48) 50%, rgba(216, 166, 255, 0.1) 76%, transparent 100%);
  filter: blur(9px);
  opacity: 0.78;
  transform: translateX(-175%);
  animation: magic-demo-sweep 2.7s linear infinite;
  pointer-events: none;
}

.magic-demo-button-core::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 30%, transparent 72%, rgba(180, 114, 255, 0.08));
  pointer-events: none;
}

.magic-demo-button-text {
  position: relative;
  z-index: 1;
  color: #f6f2f7;
  font-size: clamp(0.94rem, 1.32vw, 1.14rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.magic-demo-button-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.magic-demo-button-subtext {
  color: rgba(246, 242, 247, 0.78);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
}

@keyframes magic-demo-sweep {
  0% {
    transform: translateX(-175%);
  }

  100% {
    transform: translateX(430%);
  }
}

.hero-feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin-top: 0;
}

.demo-modal-open {
  overflow: hidden;
}

.demo-modal-shell {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: grid;
  place-items: center;
  padding: 16px;
}

.demo-modal-shell[hidden] {
  display: none;
}

.demo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 17, 29, 0.66);
  backdrop-filter: blur(4px);
}

.demo-modal {
  position: relative;
  width: min(920px, calc(100vw - 32px));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  background: #0e1321;
  box-shadow: 0 28px 90px rgba(8, 12, 22, 0.5);
}

.demo-modal-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: #0e1321;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.demo-modal-video-wrap {
  aspect-ratio: 16 / 9;
}

.demo-modal-video-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 18px;
}

.hero-feature-item {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(17, 24, 33, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.hero-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(17, 17, 17, 0.06);
  color: #111111;
}

.hero-feature-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.hero-feature-item strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.hero-feature-item p {
  margin: 6px 0 0;
  color: var(--text-secondary);
  font-size: 0.84rem;
  line-height: 1.45;
}

.hero-preview {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #f6f7fa;
  cursor: pointer;
}

.hero-preview-link:focus-visible {
  outline: 2px solid rgba(93, 78, 214, 0.55);
  outline-offset: 4px;
}

.hero-preview-overlay,
.candidates-frame-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  background: rgba(17, 17, 17, 0.08);
  opacity: 0;
  transition: opacity 180ms ease, background-color 180ms ease;
}

.hero-preview-overlay {
  padding: 18px;
  border-radius: inherit;
  pointer-events: none;
}

.candidates-frame-overlay {
  padding: 20px;
  pointer-events: none;
}

.hero-preview-overlay span,
.candidates-frame-overlay span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius-pill);
  background: rgba(17, 17, 17, 0.6);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.14);
  transform: translateY(4px);
  transition: transform 180ms ease;
}

.hero-preview:hover .hero-preview-overlay,
.hero-preview:focus-within .hero-preview-overlay,
.candidates-frame:hover .candidates-frame-overlay,
.candidates-frame:focus-within .candidates-frame-overlay {
  opacity: 1;
  background: rgba(17, 17, 17, 0.24);
}

.hero-preview:hover .hero-preview-overlay span,
.hero-preview:focus-within .hero-preview-overlay span,
.candidates-frame:hover .candidates-frame-overlay span,
.candidates-frame:focus-within .candidates-frame-overlay span {
  transform: translateY(0);
}

.hero-preview-title-row,
.hero-preview-stats,
.hero-preview-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.hero-preview-person {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-preview-crumbs {
  color: var(--text-muted);
  font-size: 0.72rem;
}

.hero-preview-crumbs span {
  margin: 0 4px;
}

.hero-preview-profile,
.hero-preview-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
}

.hero-preview-profile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
}

.hero-preview-person {
  min-width: 0;
}

.hero-preview-avatar {
  display: block;
  width: 42px;
  height: 42px;
  border: 1px solid #b9d0fb;
  border-radius: 50%;
  object-fit: cover;
  background: #edf5ff;
  flex: none;
}

.hero-preview-title-row strong {
  font-size: 0.98rem;
}

.hero-preview-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: var(--radius-pill);
  background: #ebf8ef;
  color: var(--success);
  font-size: 0.68rem;
  font-weight: 700;
}

.hero-preview-person p,
.hero-preview-score span,
.hero-preview-stats span,
.hero-preview-events p {
  margin: 0;
  color: var(--text-secondary);
}

.hero-preview-person p {
  font-size: 0.78rem;
}

.hero-preview-score {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: 84px;
}

.hero-preview-score span {
  font-size: 0.66rem;
  max-width: 68px;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-preview-score strong {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 3px solid #27b36a;
  border-radius: 50%;
  color: var(--text-primary);
  font-size: 0.98rem;
}

.hero-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(160px, 0.9fr);
  gap: 12px;
}

.hero-preview-card {
  padding: 14px;
}

.hero-preview-card h3 {
  margin: 0 0 12px;
  font-size: 0.88rem;
  letter-spacing: -0.02em;
}

.hero-preview-card-wide {
  grid-column: 1 / 2;
}

.hero-preview-card-side {
  grid-row: span 2;
}

.hero-preview-metrics,
.hero-preview-events {
  display: grid;
  gap: 10px;
}

.hero-preview-metric {
  display: grid;
  gap: 6px;
}

.hero-preview-metric-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.74rem;
}

.hero-preview-metric-head strong {
  color: #2383ea;
  font-size: 0.72rem;
}

.hero-preview-bar {
  display: block;
  height: 6px;
  border-radius: var(--radius-pill);
  background: #e7edf7;
  overflow: hidden;
}

.hero-preview-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2f8f5b, #45c970);
}

.hero-preview-stats {
  gap: 8px;
}

.hero-preview-stats div {
  flex: 1;
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 10px 6px;
  border-radius: 12px;
  background: #f7f8fb;
}

.hero-preview-stats strong {
  font-size: 1.1rem;
}

.hero-preview-stats span {
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-preview-donut {
  display: grid;
  place-items: center;
  padding: 12px 0;
}

.hero-preview-donut-ring {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: conic-gradient(#2d78ea 0 65%, #dce6f8 65% 100%);
}

.hero-preview-donut-ring::before {
  content: "";
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  grid-area: 1 / 1;
}

.hero-preview-donut-ring strong,
.hero-preview-donut-ring span {
  grid-area: 1 / 1;
  position: relative;
  z-index: 1;
}

.hero-preview-donut-ring strong {
  margin-top: -6px;
  font-size: 1.1rem;
}

.hero-preview-donut-ring span {
  margin-top: 20px;
  color: var(--text-secondary);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.hero-preview-split {
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  font-size: 0.72rem;
}

.hero-preview-split span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hero-preview-split i {
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: #2d78ea;
  flex: none;
}

.hero-preview-split span:last-child i {
  background: #7eb1f8;
}

.hero-preview-timeline-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.hero-preview-timeline-bar span {
  display: block;
  height: 6px;
  border-radius: var(--radius-pill);
  background: #9bc0f5;
}

.hero-preview-timeline-bar span:nth-child(2) {
  background: #b980f2;
}

.hero-preview-timeline-bar span:nth-child(3) {
  background: #f08528;
}

.hero-preview-timeline-bar span:nth-child(4) {
  background: #34b36b;
}

.hero-preview-events article {
  display: grid;
  gap: 2px;
}

.hero-preview-events strong {
  font-size: 0.72rem;
}

.hero-preview-events p {
  font-size: 0.75rem;
  line-height: 1.45;
}

.signup-modal-shell {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 18px;
}

.signup-modal-shell[hidden] {
  display: none;
}

.signup-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 18, 29, 0.48);
  backdrop-filter: blur(12px);
}

.signup-modal {
  position: relative;
  width: min(760px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 24px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(255, 195, 122, 0.22), transparent 26%),
    radial-gradient(circle at top right, rgba(81, 118, 255, 0.24), transparent 28%),
    rgba(255, 255, 255, 0.96);
  box-shadow: 0 40px 120px rgba(16, 23, 42, 0.28);
}

.signup-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(18, 24, 39, 0.06);
  color: #111827;
  font-size: 1.6rem;
  cursor: pointer;
}

.signup-modal-copy {
  padding: 14px 8px 14px 4px;
}

.signup-modal-kicker {
  margin: 0;
  color: #4a63d8;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.signup-modal-copy h2 {
  margin: 16px 0 0;
  max-width: 9ch;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.signup-modal-lead {
  margin: 18px 0 0;
  max-width: 44ch;
  color: #5d6677;
  font-size: 1rem;
  line-height: 1.75;
}

.signup-modal-privacy {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: #6b7280;
}

.signup-modal-privacy strong {
  font-weight: 700;
  color: #374151;
}

.signup-modal-points {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.signup-modal-points li {
  position: relative;
  padding-left: 34px;
  color: #182033;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.signup-modal-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #1d8f57;
  font-size: 1rem;
  font-weight: 900;
}

.signup-modal-proof {
  margin: 24px 0 0;
  color: #4d5769;
  font-size: 0.98rem;
  font-weight: 700;
}

.signup-modal-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(22, 32, 63, 0.08);
  border-radius: 24px;
  background: rgba(251, 252, 255, 0.96);
}

.signup-email-button {
  width: 100%;
  min-height: 54px;
  border-radius: 18px;
}

.signup-email-form {
  display: grid;
  gap: 12px;
}

.signup-turnstile-shell {
  display: flex;
  justify-content: center;
  padding: 6px 0 2px;
}

.signup-turnstile-widget {
  min-height: 65px;
}

.signup-field {
  display: grid;
  gap: 8px;
}

.signup-field span {
  color: #202837;
  font-size: 0.9rem;
  font-weight: 700;
}

.signup-field input {
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid #d6dce8;
  border-radius: 18px;
  background: #fff;
}

.signup-field input:focus {
  outline: 2px solid rgba(73, 102, 216, 0.18);
  border-color: #4864d6;
}

.signup-checkbox-field {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4a556d;
  font-size: 0.9rem;
}

.signup-checkbox-field input[type='checkbox'] {
  width: 16px;
  height: 16px;
  accent-color: #2c4fb5;
}

.signup-email-button {
  background: linear-gradient(135deg, #15295f, #3a58c3);
}

.signup-modal-status {
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.55;
}

.signup-modal-status--pending {
  background: rgba(57, 101, 232, 0.08);
  color: #3150b3;
}

.signup-modal-status--ready {
  background: rgba(43, 146, 93, 0.11);
  color: #186740;
}

.signup-modal-status--error {
  background: rgba(203, 58, 58, 0.1);
  color: #9f2727;
}

.section-heading {
  text-align: center;
}

.section-heading-tight {
  max-width: 760px;
  margin: 0 auto;
}

.section-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
}

.section-heading p {
  max-width: 640px;
  margin: 10px auto 0;
  font-size: 1rem;
}

.platform {
  padding-top: 40px;
}

.steps {
  padding-top: 44px;
}

.dashboard-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.step-card ul,
.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.candidates-frame {
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
  max-width: 920px;
  margin: 36px auto 0;
  overflow: hidden;
  border-color: var(--border-strong);
  border-radius: 18px;
  background: #fafbfc;
}

.candidates-photo {
  max-width: 920px;
  margin: 36px auto 0;
}

.candidates-photo img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: #fafbfc;
}

.candidates-frame-overlay:focus-visible {
  opacity: 1;
  pointer-events: auto;
  background: rgba(17, 17, 17, 0.24);
  outline: 2px solid rgba(93, 78, 214, 0.55);
  outline-offset: 4px;
}

.candidates-shell {
  width: 100%;
  color: #243247;
  font-size: 14px;
}

.candidates-topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 56px;
  padding: 10px 18px;
  border-bottom: 1px solid #ebf0f6;
  background: #ffffff;
}

.candidates-brand {
  color: #1f2a3b;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
}

.candidates-app-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: #2790f0;
}

.candidates-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 0.88rem;
  color: #5a6a84;
}

.candidates-nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  position: relative;
  padding: 8px 0;
}

.nav-icon,
.button-icon,
.filter-icon {
  display: inline-flex;
  width: 14px;
  height: 14px;
  color: currentColor;
}

.candidates-app-icon svg,
.nav-icon svg,
.button-icon svg,
.filter-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.candidates-nav a.is-active {
  color: #2383ea;
  font-weight: 700;
}

.candidates-nav a.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -11px;
  left: 0;
  height: 2px;
  border-radius: var(--radius-pill);
  background: #2383ea;
}

.candidates-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 34px;
  height: 32px;
  padding: 0 9px;
  border-radius: var(--radius-pill);
  border: 1px solid #f3d1be;
  background: #ffe8da;
}

.avatar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d9946a;
}

.avatar-bar {
  width: 8px;
  height: 14px;
  border-radius: var(--radius-pill);
  background: rgba(217, 148, 106, 0.35);
}

.candidates-content {
  padding: 24px 22px 20px;
}

.candidates-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.candidates-header h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.candidates-subcopy,
.candidate-person p,
.subscores-list p,
.candidates-footer p {
  margin: 0;
  color: #8b9ab1;
}

.candidates-subcopy {
  margin-top: 5px;
  font-size: 0.95rem;
}

.candidates-cta {
  min-width: 144px;
  min-height: 36px;
  gap: 7px;
  padding: 0 14px;
  border-radius: 8px;
  background: #2390f5;
  font-size: 0.88rem;
}

.filters-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1.8fr) minmax(0, 0.62fr) minmax(0, 0.92fr) minmax(0, 0.92fr) auto;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
  padding: 10px;
  border: 1px solid #e5ebf3;
  border-radius: var(--radius-sm);
  background: #ffffff;
}

.filter-search,
.filter-pill,
.filter-toggle {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #e2e8f1;
  border-radius: 9px;
  background: #fbfcfe;
  color: #8492a7;
  font-size: 0.86rem;
}

.filter-icon {
  margin-right: 9px;
  color: #9aa8bb;
}

.filter-pill {
  justify-content: space-between;
  gap: 10px;
}

.filter-caret {
  color: #a0aec1;
  font-size: 0.8rem;
}

.filter-toggle {
  justify-self: end;
  justify-content: space-between;
  gap: 12px;
  background: transparent;
  border-color: transparent;
  padding: 0 2px 0 8px;
}

.toggle-track {
  display: inline-flex;
  align-items: center;
  width: 36px;
  height: 20px;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: #e1e7f0;
}

.toggle-thumb {
  width: 14px;
  height: 14px;
  margin-left: auto;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #d6dce8;
}

.candidate-group {
  margin-top: 18px;
  border: 1px solid #e3e9f2;
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
}

.candidate-group-head,
.candidate-table-head,
.candidate-row,
.candidates-footer {
  display: grid;
  grid-template-columns: 2.3fr 1fr 0.9fr 1.55fr 1.35fr 0.72fr;
  gap: 14px;
  align-items: center;
}

.candidate-group-head {
  grid-template-columns: 1fr auto;
  padding: 13px 18px;
  border-bottom: 1px solid #edf1f7;
}

.candidate-group-head h4 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.group-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: #edf4ff;
  color: #4690e8;
  font-size: 0.8rem;
  font-weight: 700;
}

.candidate-table-head {
  padding: 12px 18px;
  background: #fbfcff;
  color: #93a0b4;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.055em;
}

.candidate-row {
  padding: 12px 18px;
  border-top: 1px solid #eef2f7;
  min-height: 66px;
}

.candidate-person {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.candidate-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #edf5ff;
  color: #2f87ea;
  font-size: 0.8rem;
  font-weight: 700;
  flex: none;
}

.candidate-table-compact .candidate-avatar {
  background: #edf7ff;
}

.candidate-person strong,
.subscores-list span {
  color: #2f3a4c;
}

.candidate-person strong {
  display: block;
  font-size: 0.96rem;
  line-height: 1.2;
}

.candidate-person p {
  font-size: 0.8rem;
}

.role-chip,
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  width: fit-content;
  padding: 0 9px;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
}

.role-chip {
  background: #f1f4f8;
  color: #728097;
}

.score-ring {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: #fff;
  font-weight: 700;
  color: #2b3344;
}

.score-ring span {
  font-size: 0.76rem;
}

.score-green {
  color: #27b36a;
}

.score-amber {
  color: #ef9429;
}

.subscores-list {
  display: grid;
  gap: 3px;
}

.subscores-list p {
  font-size: 0.8rem;
  line-height: 1.2;
}

.status-info {
  background: #edf4ff;
  color: #438ae0;
}

.status-danger {
  gap: 5px;
  background: #fff2f0;
  color: #e56759;
}

.status-success {
  background: #ebf8ef;
  color: #34a15d;
}

.status-icon {
  font-size: 0.55rem;
  transform: translateY(-1px);
}

.action-link {
  color: #2f84e8;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  width: 58px;
  line-height: 1.12;
  white-space: normal;
  font-size: 0.86rem;
}

.action-link::after {
  content: none;
}

.candidates-footer {
  grid-template-columns: 1fr auto;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid #e3e9f2;
  border-radius: var(--radius-sm);
  background: #ffffff;
}

.candidates-footer p {
  font-size: 0.84rem;
}

.pager-actions {
  display: flex;
  gap: 8px;
}

.pager-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #e2e7f0;
  border-radius: 6px;
  background: #fff;
  color: #708099;
  font-size: 0.8rem;
}

.pager-button.is-disabled {
  color: #b6c1d3;
  background: #fafbfd;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.step-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.step-card-featured {
  border-color: #cfd6f4;
}

.step-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.step-copy {
  margin: 10px 0 0;
  color: var(--text-secondary);
  font-size: 0.93rem;
}

.step-card ul {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.step-card li {
  position: relative;
  padding-left: 22px;
  color: var(--text-secondary);
}

.step-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 800;
}

.steps-note {
  margin-top: 28px;
}

.steps-note .button {
  margin-top: 18px;
}

.site-footer {
  margin-top: 72px;
  padding: 42px 0 26px;
  background: #1f2433;
  color: rgba(255, 255, 255, 0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 0.8fr)) 1.2fr;
  gap: 26px;
}

.brand-footer {
  color: #fff;
}

.footer-grid h3 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.footer-grid ul {
  display: grid;
  gap: 10px;
}

.footer-grid a,
.footer-copy,
.footer-bottom p {
  color: rgba(255, 255, 255, 0.72);
}

.subscribe-form {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.subscribe-form input {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.subscribe-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
}

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

@media (max-width: 1080px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .steps-grid,
  .hero-feature-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signup-modal {
    grid-template-columns: 1fr;
  }

  .signup-modal-copy h2 {
    max-width: none;
  }

  .candidates-topbar,
  .filters-bar,
  .candidate-table-head,
  .candidate-row {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    display: flex;
    flex-direction: column;
  }

  .hero-primary {
    display: contents;
  }

  .hero-copy-block {
    order: 1;
  }

  .hero-actions {
    display: none;
  }

  .hero-panel .hero-copy {
    display: none;
  }

  .magic-demo-button {
    width: 100%;
  }

  .magic-demo-button-core {
    width: 100%;
    min-width: 0;
  }

  .hero-preview {
    order: 2;
  }

  .hero-feature-strip {
    order: 3;
  }

  .candidates-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 16px;
  }

  .candidate-group-head,
  .candidates-footer,
  .candidates-header {
    grid-template-columns: 1fr;
  }

  .candidate-table-head {
    display: none;
  }

  .candidate-row {
    gap: 12px;
  }

  .action-link {
    width: auto;
    white-space: nowrap;
  }
}

@media (min-width: 721px) and (max-width: 960px) {
  .hero-copy-block {
    display: flex;
    flex-direction: column;
  }

  .hero-actions {
    order: 2;
  }

  .hero-visual {
    order: 3;
    margin-top: 16px;
  }
}

@media (max-width: 720px) {
  .section {
    padding-top: 44px;
  }

  .hero {
    padding-top: 20px;
    
  }

  .hero-panel .hero-copy {
    display: none;
  }

  .subscribe-form,
  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-feature-tags {
    gap: 8px;
  }

  .hero-feature-tags li {
    width: 100%;
    justify-content: center;
  }

  .button,
  .button-small {
    width: 100%;
  }

  .footer-grid,
  .steps-grid,
  .hero-feature-strip {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    padding: 0 18px;
  }

  .step-card {
    padding: 20px;
  }

  .hero-panel h1 {
    font-size: clamp(2.4rem, 11vw, 3.8rem);
  }

  .magic-demo-button {
    width: 100%;
  }

  .magic-demo-button-core {
    width: 100%;
    min-width: 0;
    padding: 0 22px;
  }

  .magic-demo-button-text {
    white-space: normal;
    text-align: center;
  }

  .candidates-content,
  .candidates-topbar,
  .candidate-group-head,
  .candidate-table-head,
  .candidate-row,
  .candidates-footer {
    padding-right: 16px;
    padding-left: 16px;
  }

  .candidates-cta {
    width: 100%;
  }

  .filter-toggle {
    padding-left: 0;
  }

  .hero-preview {
    padding: 18px;
  }

  .hero-preview-grid {
    grid-template-columns: 1fr;
  }

  .hero-preview-card-side {
    grid-row: auto;
  }

  .hero-preview-title-row,
  .hero-preview-stats {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-preview-profile {
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    gap: 18px;
  }

  .hero-preview-person {
    min-width: 0;
    flex: 1;
  }

  .hero-preview-score {
    min-width: 72px;
    justify-items: center;
  }

  .signup-modal-shell {
    padding: 12px;
  }

  .signup-modal {
    padding: 20px;
    border-radius: 24px;
  }

  .demo-modal {
    width: min(920px, calc(100vw - 22px));
  }

  .demo-modal-close {
    top: 8px;
    right: 8px;
  }
}