/* AlienSender — landing page styles
   Dark, restrained palette: green (from the logo's alien mark) as the one
   confident accent, teal used sparingly for depth. No rainbow gradients. */

:root {
  --bg: #07080c;
  --bg-elevated: #0f121a;
  --bg-elevated-2: #151a24;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f3f5f8;
  --text-muted: #a1aabb;
  --text-dim: #6b7686;

  --green: #7ed957;
  --green-deep: #5cb838;
  --teal: #2fd9c4;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --container: 1180px;
  --shadow-glow: 0 0 0 1px var(--border), 0 20px 60px -20px rgba(46, 217, 196, 0.25);

  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
  color: var(--text-muted);
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  position: relative;
  padding: 96px 0;
}

@media (max-width: 720px) {
  section {
    padding: 64px 0;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.section-head {
  max-width: 640px;
  margin: 0 0 56px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}

.accent-text {
  color: var(--green);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: #06110d;
  box-shadow: 0 12px 30px -10px rgba(126, 217, 87, 0.4);
}

.btn-primary:hover {
  background: var(--green-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -10px rgba(126, 217, 87, 0.5);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-block {
  width: 100%;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 8, 12, 0.55);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 8, 12, 0.96);
  border-bottom-color: var(--border-strong);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 108px;
}

.brand img {
  height: 76px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a:not(.btn) {
  position: relative;
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -4px;
  height: 1px;
  background: var(--green);
  transition: right 0.25s ease;
}

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

.nav-links a:not(.btn):hover::after {
  right: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
  align-items: center;
  justify-content: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span::before {
  position: absolute;
  top: -6px;
}

.nav-toggle span::after {
  position: absolute;
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
  background: var(--text);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
  background: var(--text);
}

@media (max-width: 1040px) {
  .nav-links {
    position: fixed;
    inset: 108px 0 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(7, 8, 12, 0.98);
    padding: 12px 24px 32px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.is-open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

  .nav-links a {
    padding: 16px 4px;
    border-bottom: 1px solid var(--border);
    font-size: 1.05rem;
  }

  .nav-links .btn {
    margin-top: 16px;
  }

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

/* Hero */

.hero {
  padding-top: 72px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 780px;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(560px 380px at 22% 15%, rgba(126, 217, 87, 0.16), transparent 60%),
    radial-gradient(480px 340px at 78% 30%, rgba(47, 217, 196, 0.12), transparent 60%);
  animation: driftGlow 22s ease-in-out infinite alternate;
}

@keyframes driftGlow {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(2%, 3%, 0) scale(1.05);
  }
}

/* Ambient starfield: a few soft twinkling dots plus occasional shooting
   stars streaking through the hero. Cheap (no blur filters), so it can't
   trip the same compositor issue backdrop-filter caused earlier. */

.starfield {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.star {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text);
  opacity: 0;
  animation: twinkle 4.5s ease-in-out infinite;
}

.star:nth-child(1) { top: 14%; left: 12%; animation-delay: 0s; }
.star:nth-child(2) { top: 8%; left: 46%; animation-delay: 1.1s; }
.star:nth-child(3) { top: 22%; left: 68%; animation-delay: 2.3s; }
.star:nth-child(4) { top: 34%; left: 30%; animation-delay: 0.6s; }
.star:nth-child(5) { top: 6%; left: 82%; animation-delay: 3s; }
.star:nth-child(6) { top: 40%; left: 90%; animation-delay: 1.8s; }

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.8); }
  50% { opacity: 0.8; transform: scale(1.3); }
}

.shooting-star {
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text);
  opacity: 0;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.6));
  animation: shoot linear infinite;
}

.shooting-star::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 1px;
  width: 130px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65));
  transform: translateY(-50%);
}

.shooting-star:nth-child(1) {
  top: 10%;
  left: 6%;
  animation-duration: 9s;
  animation-delay: 1s;
}

.shooting-star:nth-child(2) {
  top: 4%;
  left: 52%;
  animation-duration: 11s;
  animation-delay: 5.5s;
}

.shooting-star:nth-child(3) {
  top: 26%;
  left: 30%;
  animation-duration: 8s;
  animation-delay: 8.5s;
}

@keyframes shoot {
  0% {
    opacity: 0;
    transform: translate(0, 0) rotate(35deg);
  }
  2% {
    opacity: 1;
  }
  14% {
    opacity: 0;
    transform: translate(280px, 200px) rotate(35deg);
  }
  100% {
    opacity: 0;
    transform: translate(280px, 200px) rotate(35deg);
  }
}

@media (max-width: 640px) {
  .shooting-star {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .star,
  .shooting-star {
    display: none;
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 48px;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 3.7rem);
  margin-bottom: 0.4em;
}

.hero-copy .lede {
  font-size: 1.15rem;
  max-width: 540px;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.hero-trust {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin: 16px 0 0;
}

.hero-meta {
  display: flex;
  gap: 28px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-meta div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-meta strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.4rem;
}

.hero-meta span {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

/* Product screenshot mockup: a believable inbox UI, not an abstract shape.
   AlienSender's own mark sits in the title bar, like a real app screenshot. */

.product-shot {
  position: relative;
  z-index: 1;
  width: min(540px, 96%);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-glow);
  translate: 0 0;
  animation: floatPanel 7s ease-in-out infinite;
}

@keyframes floatPanel {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}

.product-shot__titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
}

.product-shot__titlebar img {
  width: 20px;
  height: 20px;
}

.product-shot__titlebar span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.product-shot__titlebar .status-pill {
  margin-left: auto;
}

.product-shot__body {
  display: grid;
  grid-template-columns: 156px 1fr;
  min-height: 320px;
}

.product-shot__list {
  border-right: 1px solid var(--border);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.product-shot__convo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 10px;
}

.product-shot__convo.is-active {
  background: var(--bg-elevated-2);
}

.product-shot__convo .avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-elevated-2);
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-shot__convo.is-active .avatar {
  background: var(--green);
  color: #06110d;
}

.product-shot__convo-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
}

.product-shot__convo-text strong {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-shot__convo-text em {
  font-style: normal;
  font-size: 0.68rem;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-shot__unread {
  margin-left: auto;
  background: var(--green);
  color: #06110d;
  font-size: 0.62rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-shot__thread {
  padding: 16px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.product-shot__thread-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.product-shot__thread-head .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: #06110d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}

.product-shot__thread-head strong {
  display: block;
  font-size: 0.82rem;
}

.product-shot__thread-head em {
  font-style: normal;
  font-size: 0.7rem;
  color: var(--text-dim);
}

.product-shot .bubble {
  background: var(--bg-elevated-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  max-width: 88%;
}

.product-shot .bubble.out {
  background: rgba(126, 217, 87, 0.14);
  border-color: rgba(126, 217, 87, 0.25);
  color: var(--text);
  margin-left: auto;
  opacity: 0;
  animation: replyCycle 6s ease-in-out infinite;
}

@keyframes replyCycle {
  0%,
  25% {
    opacity: 0;
    transform: translateY(6px);
  }
  35%,
  92% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(0);
  }
}

.typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  padding: 11px 14px;
  background: var(--bg-elevated-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  animation: typingCycle 6s ease-in-out infinite;
}

.typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-dim);
  animation: dotBounce 1.1s ease-in-out infinite;
}

.typing-dots span:nth-child(2) {
  animation-delay: 0.15s;
}

.typing-dots span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes dotBounce {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

@keyframes typingCycle {
  0%,
  100% {
    opacity: 0;
  }
  8%,
  28% {
    opacity: 1;
  }
  35% {
    opacity: 0;
  }
}

.product-shot .status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--green);
  margin-top: 4px;
}

.product-shot .status-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(126, 217, 87, 0.5);
  animation: pulseDot 2s ease-out infinite;
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(126, 217, 87, 0.5);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(126, 217, 87, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(126, 217, 87, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-shot,
  .typing-dots,
  .typing-dots span,
  .product-shot .bubble.out,
  .product-shot .status-pill::before {
    animation: none;
    opacity: 1;
    translate: 0 0;
    transform: none;
  }
}

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

  .product-shot__list {
    display: none;
  }
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    min-height: 340px;
    padding: 24px 0;
  }

  .hero-copy .lede {
    max-width: none;
  }
}

/* Logos strip removed intentionally: no fabricated client logos */

/* Features */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.feature-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  margin-bottom: 18px;
}

.feature-card .icon svg {
  width: 22px;
  height: 22px;
  color: #06110d;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5em;
}

.feature-card p {
  font-size: 0.92rem;
  margin: 0;
}

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

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* How it works */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 28px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.85rem;
  color: var(--teal);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 1rem;
  margin-bottom: 0.4em;
}

.step p {
  font-size: 0.88rem;
  margin: 0;
}

.steps .step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 44px;
  right: -22px;
  width: 22px;
  height: 1px;
  background: var(--border-strong);
  display: none;
}

@media (min-width: 981px) {
  .steps .step:not(:last-child)::after {
    display: block;
  }
}

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

@media (max-width: 640px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* FAQ */

.faq {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-weight: 600;
  font-size: 1rem;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--teal);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 14px 0 0;
  font-size: 0.94rem;
}

/* CTA band */

.cta-band {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(600px 260px at 15% 0%, rgba(126, 217, 87, 0.16), transparent 60%),
    radial-gradient(600px 260px at 85% 100%, rgba(47, 217, 196, 0.14), transparent 60%),
    var(--bg-elevated);
  padding: 64px 48px;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.4em;
}

.cta-band p {
  max-width: 520px;
  margin: 0 auto 32px;
}

.cta-band .hero-actions {
  justify-content: center;
  margin-top: 0;
}

@media (max-width: 640px) {
  .cta-band {
    padding: 44px 24px;
  }
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 60px;
  margin-bottom: 14px;
}

.footer-brand p {
  max-width: 320px;
  font-size: 0.9rem;
}

.footer-cols {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.footer-col a,
.footer-col span {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* Scroll reveal */

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

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

/* Cards cascade in instead of popping together. */
.features-grid .feature-card:nth-child(1) { transition-delay: 0ms; }
.features-grid .feature-card:nth-child(2) { transition-delay: 70ms; }
.features-grid .feature-card:nth-child(3) { transition-delay: 140ms; }
.features-grid .feature-card:nth-child(4) { transition-delay: 210ms; }
.features-grid .feature-card:nth-child(5) { transition-delay: 280ms; }
.features-grid .feature-card:nth-child(6) { transition-delay: 350ms; }

.steps .step:nth-child(1) { transition-delay: 0ms; }
.steps .step:nth-child(2) { transition-delay: 90ms; }
.steps .step:nth-child(3) { transition-delay: 180ms; }
.steps .step:nth-child(4) { transition-delay: 270ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-glow {
    animation: none;
  }
}

/* Legal pages (shared minimal styles) */

.legal-doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 24px 120px;
}

.legal-doc h1 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
}

.legal-doc .updated {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 40px;
}

.legal-doc h2 {
  font-size: 1.2rem;
  margin-top: 2em;
}

.legal-doc p,
.legal-doc li {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.legal-doc li {
  margin-bottom: 0.5em;
}

.legal-doc a.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.legal-notice {
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 40px;
}
