/* Etproforma public home — brand blue + orange, Manrope, upright */
.etp-home {
  --home-ink: #0b1c3d;
  --home-paper: #f4f7fc;
  --home-line: rgba(0, 70, 191, 0.14);
}

.etp-home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 12% 18%, rgba(254, 120, 2, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 88% 8%, rgba(0, 70, 191, 0.22), transparent 50%),
    linear-gradient(165deg, #002b78 0%, #0046BF 42%, #0a2a66 100%);
  color: #fff;
}

.etp-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 78%);
  pointer-events: none;
}

.etp-home-nav a {
  transition: color 0.15s ease, opacity 0.15s ease;
}

.etp-home,
.etp-home-brand,
.etp-home-headline {
  font-family: Manrope, "Segoe UI", ui-sans-serif, sans-serif;
  font-style: normal;
}

.etp-home-brand {
  letter-spacing: -0.02em;
}

.etp-home-headline {
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.etp-home-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.65rem 1.25rem;
  border-radius: 0.7rem;
  font-size: 0.9rem;
  font-weight: 800;
  transition: transform 0.18s ease, background 0.15s ease, box-shadow 0.18s ease;
}

.etp-home-cta:hover {
  transform: translateY(-1px);
}

.etp-home-cta-primary {
  background: #FE7802;
  color: #fff;
  box-shadow: 0 10px 28px rgba(254, 120, 2, 0.28);
}
.etp-home-cta-primary:hover { background: #e66c00; }

.etp-home-cta-ghost {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}
.etp-home-cta-ghost:hover { background: rgba(255, 255, 255, 0.18); }

.etp-home-cta-solid {
  background: #0046BF;
  color: #fff;
}
.etp-home-cta-solid:hover { background: #003da8; }

.etp-home-cta-outline {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--home-ink);
}
.etp-home-cta-outline:hover { border-color: #0046BF; color: #0046BF; }

.etp-flow-step {
  position: relative;
  opacity: 0;
  transform: translateY(12px);
  animation: etpRise 0.55s ease forwards;
}

.etp-flow-step:nth-child(1) { animation-delay: 0.05s; }
.etp-flow-step:nth-child(2) { animation-delay: 0.12s; }
.etp-flow-step:nth-child(3) { animation-delay: 0.19s; }
.etp-flow-step:nth-child(4) { animation-delay: 0.26s; }
.etp-flow-step:nth-child(5) { animation-delay: 0.33s; }

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

.etp-portal-tile {
  display: block;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 1rem;
  padding: 1.35rem 1.4rem;
  transition: border-color 0.15s ease, box-shadow 0.2s ease, transform 0.18s ease;
}

.etp-portal-tile:hover {
  border-color: #86b1ff;
  box-shadow: 0 12px 32px rgba(0, 70, 191, 0.1);
  transform: translateY(-2px);
}

.etp-portal-tile form { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  .etp-flow-step,
  .etp-home-cta,
  .etp-portal-tile {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
