:root {
  --bg: #eef3fb;
  --bg-soft: #f7f9fc;
  --ink: #1a2332;
  --muted: #5c6b7e;
  --line: #d8e2f0;
  --blue: #4b8bff;
  --blue-deep: #2f6fe0;
  --green: #34c759;
  --yellow: #f5a524;
  --red: #ff5a5f;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(43, 74, 130, 0.12);
  --radius: 18px;
  --font-display: "Sora", sans-serif;
  --font-body: "Figtree", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
}

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

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1200px 600px at 12% -10%, rgba(75, 139, 255, 0.22), transparent 60%),
    radial-gradient(900px 500px at 90% 8%, rgba(52, 199, 89, 0.12), transparent 55%),
    linear-gradient(180deg, #f4f7fc 0%, #e8eef8 48%, #eef3fb 100%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  animation: drift 14s ease-in-out infinite alternate;
}

.blob-a {
  width: 340px;
  height: 340px;
  left: -80px;
  top: 18%;
  background: rgba(75, 139, 255, 0.35);
}

.blob-b {
  width: 280px;
  height: 280px;
  right: -60px;
  top: 8%;
  background: rgba(126, 182, 255, 0.4);
  animation-delay: -4s;
}

.grid-fade {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 70%);
}

.top {
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.top-nav {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 0.95rem;
  color: var(--muted);
}

.top-nav a:hover { color: var(--ink); }

.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(48px, 10vh, 96px) 24px 40px;
  text-align: center;
  min-height: calc(100vh - 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.2rem, 9vw, 5.6rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: var(--ink);
  margin-bottom: 18px;
}

.slogan {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 3.2vw, 1.85rem);
  letter-spacing: -0.02em;
  color: var(--blue-deep);
  max-width: 18ch;
  margin: 0 auto 16px;
}

.lead {
  max-width: 36rem;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  margin-bottom: 28px;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: clamp(36px, 6vh, 56px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(75, 139, 255, 0.35);
}

.btn-primary:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  color: var(--ink);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.hero-stage {
  position: relative;
  width: min(100%, 420px);
}

.stage-glow {
  position: absolute;
  inset: 18% 10% 8%;
  background: radial-gradient(circle, rgba(75, 139, 255, 0.28), transparent 70%);
  filter: blur(18px);
  z-index: 0;
}

.washer {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  filter: drop-shadow(var(--shadow));
}

.drum {
  transform-origin: 160px 156px;
  animation: spin 9s linear infinite;
}

.swirl {
  transform-origin: 160px 156px;
  animation: spin 6s linear infinite reverse;
}

.status-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 6px 16px rgba(43, 74, 130, 0.06);
}

.pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.pill-free::before { background: var(--green); }
.pill-wash::before { background: var(--blue); }
.pill-wait::before { background: var(--yellow); }

.how {
  max-width: 980px;
  margin: 0 auto;
  padding: 24px 24px 96px;
  text-align: center;
}

.how h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.how-lead {
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

.steps {
  list-style: none;
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  text-align: left;
}

@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.steps li {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: 0 10px 30px rgba(43, 74, 130, 0.06);
  display: flex;
  flex-direction: column;
  gap: 6px;
  backdrop-filter: blur(8px);
}

.step-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.04em;
}

.steps strong {
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.steps span:last-child {
  color: var(--muted);
  font-size: 0.95rem;
}

.foot {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 36px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.foot a:hover { color: var(--ink); }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.7s ease forwards;
}

.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }
.delay-4 { animation-delay: 0.34s; }

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

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(24px, -18px, 0) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .blob,
  .drum,
  .swirl {
    animation: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}
