/* Home page — professional & elegant */

.home-page {
  --home-serif: var(--t-serif);
  --home-sans: var(--t-sans);
  --home-ink: var(--t-ink);
  --home-muted: var(--t-muted);
  --home-line: var(--t-line);
  overflow-x: hidden;
}

.home-page .site-footer {
  margin-top: 0;
}

/* ── Hero ── */
.home-hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  padding: 5rem 0 6rem;
  background: #fafbfe;
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.home-hero__mesh {
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(79, 70, 229, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(37, 99, 235, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse 45% 35% at 60% 80%, rgba(13, 148, 136, 0.08) 0%, transparent 50%);
  animation: mesh-drift 18s ease-in-out infinite alternate;
}

@keyframes mesh-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-2%, 1.5%) scale(1.04); }
}

.home-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--home-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 75%);
  opacity: 0.6;
}

.home-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: orb-float 12s ease-in-out infinite;
}

.home-hero__orb--1 {
  width: 420px; height: 420px;
  background: rgba(79, 70, 229, 0.18);
  top: 10%; right: 5%;
  animation-delay: 0s;
}

.home-hero__orb--2 {
  width: 300px; height: 300px;
  background: rgba(37, 99, 235, 0.14);
  bottom: 15%; left: 10%;
  animation-delay: -4s;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(20px, -30px); }
}

.home-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 960px) {
  .home-hero__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .home-hero { min-height: auto; padding: 3.5rem 0 4rem; }
}

.home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem 0.4rem 0.5rem;
  background: white;
  border: 1px solid var(--home-line);
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--home-muted);
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(12, 18, 34, 0.04);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.home-hero__eyebrow.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.home-hero__eyebrow-dot {
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(0.85); }
}

.home-hero__title {
  font-family: var(--home-serif);
  font-size: clamp(2.75rem, 5.5vw, 4.25rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--home-ink);
  margin: 0 0 1.25rem;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease 0.1s, transform 0.8s ease 0.1s;
}

.home-hero__title.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.home-hero__title em {
  font-style: italic;
  background: linear-gradient(135deg, #4f46e5 0%, #2563eb 50%, #0d9488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home-hero__lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--home-muted);
  max-width: 480px;
  margin: 0 0 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.home-hero__lead.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.home-hero__actions {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.home-hero__actions.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.home-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.home-btn--primary {
  background: #0c1222;
  color: #ffffff !important;
  box-shadow: 0 4px 20px rgba(12, 18, 34, 0.25);
}

.home-btn--primary:visited,
.home-btn--primary:hover,
.home-btn--primary:active,
.home-btn--primary:focus {
  color: #ffffff !important;
}

.home-btn--primary:hover {
  background: #1a2540;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(12, 18, 34, 0.3);
}

.home-btn--primary svg {
  stroke: #ffffff;
}

.home-btn--ghost {
  background: white;
  color: var(--home-ink) !important;
  border: 1px solid var(--home-line);
}

.home-btn--ghost:hover {
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(12, 18, 34, 0.06);
}

.home-btn svg {
  width: 16px; height: 16px;
  transition: transform 0.25s ease;
}

.home-btn--primary:hover svg {
  transform: translateX(3px);
}

/* Hero preview card */
.home-preview {
  position: relative;
  overflow: visible;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  opacity: 0;
  transform: translateY(32px) scale(0.97);
  transition: opacity 1s ease 0.35s, transform 1s ease 0.35s;
}

.home-hero__inner {
  overflow: visible;
}

.home-preview.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ── Glassmorphic panels ── */
.glass-panel {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 16px 48px rgba(12, 18, 34, 0.1),
    0 4px 16px rgba(79, 70, 229, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -1px 0 rgba(255, 255, 255, 0.15);
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow 0.4s ease;
}

.glass-panel.is-glass-active {
  box-shadow:
    0 20px 56px rgba(12, 18, 34, 0.14),
    0 8px 24px rgba(79, 70, 229, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(255, 255, 255, 0.2);
}

.glass-panel__shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(
    520px circle at var(--glass-x, 50%) var(--glass-y, 50%),
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.12) 35%,
    transparent 65%
  );
}

.glass-panel.is-glass-active .glass-panel__shine {
  opacity: 1;
}

.glass-panel__border {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0.15) 40%,
    rgba(79, 70, 229, 0.25) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.7;
}

.home-preview__card {
  border-radius: 24px;
  padding: 0;
  z-index: 1;
  overflow: visible;
  transform-origin: center center;
}

.glass-panel--satellite {
  z-index: 5;
  pointer-events: none;
  /* Inherit glass shine coords from parent .home-preview__card */
  --glass-x: inherit;
  --glass-y: inherit;
}

.home-preview__card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 2;
  background: linear-gradient(90deg, #4f46e5, #2563eb, #0d9488);
  opacity: 0.85;
}

.home-preview__card-content {
  position: relative;
  z-index: 2;
  padding: 2.25rem 2rem;
}

.home-preview__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}

.home-preview__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--home-muted);
}

.home-preview__name {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--home-ink);
  margin-top: 0.25rem;
}

.home-preview__badge {
  background: rgba(236, 253, 245, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(5, 150, 105, 0.2);
  color: #059669;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: 99px;
}

.home-preview__code {
  font-family: var(--home-serif);
  font-size: 3rem;
  font-style: italic;
  color: var(--home-ink);
  margin-bottom: 0.25rem;
}

.home-preview__code span {
  color: #4f46e5;
}

.home-preview__fit {
  font-size: 0.95rem;
  color: var(--home-muted);
  margin-bottom: 1.5rem;
}

.home-preview__bars {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.home-preview__bar-row {
  display: grid;
  grid-template-columns: 28px 1fr 40px;
  align-items: center;
  gap: 0.85rem;
}

.home-preview__bar-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--home-muted);
}

.home-preview__bar-track {
  height: 10px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 99px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(12, 18, 34, 0.06);
}

.home-preview__bar-fill {
  height: 100%;
  border-radius: 99px;
  width: 0;
  transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px rgba(79, 70, 229, 0.25);
  position: relative;
}

.home-preview__bar-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.35) 0%, transparent 60%);
}

.home-preview__bar-fill--r { background: #6366f1; }
.home-preview__bar-fill--i { background: #3b82f6; }
.home-preview__bar-fill--a { background: #8b5cf6; }
.home-preview__bar-fill--s { background: #14b8a6; }
.home-preview__bar-fill--e { background: #f59e0b; }
.home-preview__bar-fill--c { background: #64748b; }

.home-preview.is-animated .home-preview__bar-fill { width: var(--w); }

.home-preview__bar-val {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--home-ink);
  text-align: right;
}

.home-preview__float {
  position: absolute;
  border-radius: 16px;
  padding: 1rem 1.35rem;
  animation: float-badge 9s ease-in-out infinite;
  min-width: 128px;
}

.home-preview__float > :not(.glass-panel__shine):not(.glass-panel__border) {
  position: relative;
  z-index: 1;
}

/* Satellite slates — anchored to main card, float over its edges */
.home-preview__float--fit {
  top: -1.5rem;
  right: -1.5rem;
  animation-delay: 0s;
}

.home-preview__float--holland {
  bottom: -1.5rem;
  left: -1.75rem;
  animation-delay: -4.5s;
}

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

@supports not (backdrop-filter: blur(1px)) {
  .glass-panel {
    background: rgba(255, 255, 255, 0.92);
  }
  .home-preview__bar-track {
    background: #f1f5f9;
  }
}

.home-preview__float-value {
  display: block;
  font-family: var(--home-serif);
  font-size: 1.65rem;
  font-style: italic;
  font-weight: 400;
  color: #4f46e5;
  line-height: 1.1;
}

.home-preview__float--fit .home-preview__float-value {
  color: #059669;
}

.home-preview__float-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--home-muted);
  margin-top: 0.2rem;
}

@media (max-width: 960px) {
  .home-preview {
    max-width: 100%;
    margin: 0 auto;
  }

  .home-preview__card-content {
    padding: 1.75rem 1.5rem;
  }

  .home-preview__code {
    font-size: 2.5rem;
  }

  .home-preview__float--fit {
    top: -1.25rem;
    right: -1rem;
  }

  .home-preview__float--holland {
    bottom: -1.25rem;
    left: -1rem;
  }
}

/* ── Stats ── */
.home-stats {
  background: var(--home-ink);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}

.home-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(79,70,229,0.15) 0%, transparent 50%);
}

.home-stats__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

@media (max-width: 768px) {
  .home-stats__grid { grid-template-columns: repeat(2, 1fr); }
}

.home-stat {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.home-stat.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.home-stat__value {
  font-family: var(--home-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-style: italic;
  color: white;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.home-stat__label {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 500;
}

/* ── Products ── */
.home-products {
  padding: 6rem 0;
  background: white;
}

.home-section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3.5rem;
}

.home-section-header h2 {
  font-family: var(--home-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--home-ink);
}

.home-section-header p {
  color: var(--home-muted);
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.65;
}

.home-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .home-product-grid { grid-template-columns: 1fr; }
}

.home-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--home-line);
  background: #fafbfe;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
  opacity: 0;
  transform: translateY(28px);
}

.home-product-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.home-product-card__body p {
  flex: 1;
}

.home-product-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.home-product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  border-radius: inherit;
}

.home-product-card--aptitude::before { background: linear-gradient(135deg, rgba(79,70,229,0.06), transparent); }
.home-product-card--survey::before   { background: linear-gradient(135deg, rgba(13,148,136,0.06), transparent); }
.home-product-card--onboarding::before { background: linear-gradient(135deg, rgba(217,119,6,0.06), transparent); }

.home-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(12, 18, 34, 0.1);
  border-color: transparent;
}

.home-product-card:hover::before { opacity: 1; }

.home-product-card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.home-product-card--aptitude .home-product-card__icon { background: #eef2ff; color: #4f46e5; }
.home-product-card--survey .home-product-card__icon   { background: #f0fdfa; color: #0d9488; }
.home-product-card--onboarding .home-product-card__icon { background: #fffbeb; color: #d97706; }

.home-product-card__icon svg { width: 24px; height: 24px; }

.home-product-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
  position: relative;
  z-index: 1;
}

.home-product-card h3 a {
  color: var(--home-ink);
  text-decoration: none;
  transition: color 0.2s ease;
}

.home-product-card h3 a:hover { color: var(--t-accent); }

.home-product-card p {
  font-size: 0.92rem;
  color: var(--home-muted);
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 1;
}

.home-product-card__cta {
  margin-top: auto;
  padding-top: 1.5rem;
  position: relative;
  z-index: 1;
}

.home-product-card__cta .btn {
  width: 100%;
  justify-content: center;
}

.home-product-card--aptitude .home-product-card__cta .btn { background: #4f46e5; }
.home-product-card--aptitude .home-product-card__cta .btn:hover { background: #4338ca; filter: none; }
.home-product-card--survey .home-product-card__cta .btn { background: #0d9488; }
.home-product-card--survey .home-product-card__cta .btn:hover { background: #0f766e; filter: none; }
.home-product-card--onboarding .home-product-card__cta .btn { background: #d97706; }
.home-product-card--onboarding .home-product-card__cta .btn:hover { background: #b45309; filter: none; }

/* ── How it works ── */
.home-steps {
  padding: 6rem 0;
  background: #fafbfe;
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.home-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  align-items: stretch;
}

@media (max-width: 768px) {
  .home-steps__grid { grid-template-columns: 1fr; }
}

.home-step {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--t-white);
  border-radius: var(--t-radius);
  border: 1px solid var(--t-line);
  box-shadow: var(--t-shadow);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

.home-step:hover {
  box-shadow: var(--t-shadow-lg);
  transform: translateY(-4px);
}

.home-step.is-visible:hover {
  transform: translateY(-4px);
}

.home-step p { flex: 1; }

.home-step.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.home-step__num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: white;
  border: 1.5px solid var(--home-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--home-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: #4f46e5;
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 12px rgba(12, 18, 34, 0.04);
}

.home-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--home-ink);
}

.home-step p {
  font-size: 0.9rem;
  color: var(--home-muted);
  margin: 0;
  line-height: 1.6;
}

/* ── CTA ── */
.home-cta {
  padding: 6rem 0;
  text-align: center;
}

.home-cta__box {
  background: linear-gradient(135deg, #0c1222 0%, #1a2540 60%, #1e3a5f 100%);
  border-radius: 24px;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.home-cta__box::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 0% 100%, rgba(79,70,229,0.3), transparent),
    radial-gradient(ellipse 40% 60% at 100% 0%, rgba(13,148,136,0.2), transparent);
}

.home-cta__box h2 {
  font-family: var(--home-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  color: white;
  margin: 0 0 0.75rem;
  position: relative;
}

.home-cta__box p {
  color: #94a3b8;
  font-size: 1.05rem;
  max-width: 440px;
  margin: 0 auto 2rem;
  position: relative;
  line-height: 1.65;
}

.home-cta__actions {
  display: flex;
  gap: 0.875rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.home-cta .home-btn--primary {
  background: white;
  color: var(--home-ink) !important;
}

.home-cta .home-btn--primary:hover {
  background: #f1f5f9;
  color: var(--home-ink) !important;
}

.home-cta .home-btn--ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.25);
  color: white !important;
}

.home-cta .home-btn--ghost:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
}

.home-page .site-footer { margin-top: 0; }

/* ── Free trial cards ── */
.home-hero__trial-note {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: var(--home-muted);
}

.home-trials {
  padding: 4.5rem 0;
  background: var(--t-white);
  border-top: 1px solid var(--home-line);
}

.home-trial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.home-trial-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border-radius: var(--t-radius);
  border: 1px solid var(--home-line);
  background: var(--t-bg);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.home-trial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--t-shadow-lg);
}

.home-trial-card--aptitude:hover { border-color: #4f46e5; }
.home-trial-card--survey:hover { border-color: #0d9488; }
.home-trial-card--onboarding:hover { border-color: #d97706; }

.home-trial-card__badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.65rem;
  border-radius: 99px;
  background: rgba(79, 70, 229, 0.1);
  color: #4f46e5;
  margin-bottom: 1rem;
}

.home-trial-card--survey .home-trial-card__badge {
  background: rgba(13, 148, 136, 0.1);
  color: #0d9488;
}

.home-trial-card--onboarding .home-trial-card__badge {
  background: rgba(217, 119, 6, 0.1);
  color: #d97706;
}

.home-trial-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.home-trial-card p {
  margin: 0;
  flex: 1;
  font-size: 0.9rem;
  color: var(--home-muted);
  line-height: 1.55;
}

.home-trial-card__cta {
  margin-top: 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--t-accent);
}

@media (max-width: 900px) {
  .home-trial-grid { grid-template-columns: 1fr; }
}
