:root {
  --bg: #09090b;
  --bg-soft: #101014;
  --card: rgba(255, 255, 255, 0.06);
  --card-strong: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f5f7fa;
  --muted: rgba(245, 247, 250, 0.72);
  --muted-soft: rgba(245, 247, 250, 0.54);
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
  --radius: 24px;
  --radius-sm: 18px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.08), transparent 24%),
    radial-gradient(circle at top right, rgba(255,255,255,0.05), transparent 18%),
    linear-gradient(180deg, #0d0d11 0%, #09090b 45%, #060608 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,0.08), transparent 22%),
    radial-gradient(circle at 80% 0%, rgba(255,255,255,0.04), transparent 20%),
    radial-gradient(circle at 50% 100%, rgba(255,255,255,0.05), transparent 25%);
  z-index: 0;
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 100%);
  z-index: 0;
}

main,
.topbar,
.footer {
  position: relative;
  z-index: 1;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.topbar {
  width: min(calc(100% - 32px), var(--container));
  margin: 16px auto 0;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 16px 48px rgba(0,0,0,0.24);
}

.brand-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff 0%, #9f9fa6 100%);
  box-shadow: 0 0 24px rgba(255,255,255,0.4);
}

.brand-name {
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: lowercase;
}

.topbar-link,
.footer-link {
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  opacity: 0.86;
}

.hero {
  padding: 68px 0 34px;
}

.hero-badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero h1 {
  margin: 18px 0 0;
  font-size: clamp(2.25rem, 8vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
  max-width: 980px;
}

.hero-text {
  margin: 18px 0 0;
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1rem, 2.7vw, 1.18rem);
  line-height: 1.6;
}

.hero-actions,
.fallback-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.hero-actions.centered {
  justify-content: center;
}

.btn {
  appearance: none;
  border: none;
  text-decoration: none;
  cursor: pointer;
  min-height: 54px;
  padding: 15px 20px;
  border-radius: 16px;
  font: inherit;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, #ffffff 0%, #d7d7db 100%);
  color: #09090b;
  box-shadow: 0 12px 40px rgba(255,255,255,0.18);
}

.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px dashed rgba(255,255,255,0.18);
}

.glass-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.04));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-note {
  margin-top: 28px;
  padding: 18px;
  max-width: 760px;
}

.note-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: var(--text);
}

.muted-line {
  color: var(--muted);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #fff;
  flex: 0 0 8px;
}

.dot.soft {
  opacity: 0.55;
}

.section {
  padding: 48px 0;
}

.section-heading {
  margin-bottom: 22px;
}

.section-heading.compact {
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 14px 0 0;
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.steps-grid,
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.step-card,
.benefit-card {
  padding: 20px;
}

.step-number {
  display: inline-block;
  margin-bottom: 18px;
  color: rgba(255,255,255,0.58);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.step-card h3,
.benefit-card h3,
.helper-card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  line-height: 1.25;
}

.step-card p,
.benefit-card p,
.helper-card p,
.fallback-text,
.explain p,
.footer-brand p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.fallback-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 16px;
}

.fallback-main,
.helper-card,
.cta-box,
.explain {
  padding: 22px;
}

.helper-label {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.instructions {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.instruction-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
  padding: 10px 0;
}

.instruction-item span {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
}

.instruction-item p {
  margin: 2px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.explain-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 18px;
  align-items: start;
}

.explain-grid p + p {
  margin-top: 12px;
}

.mini-points {
  display: grid;
  gap: 12px;
}

.mini-point {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-weight: 600;
}

.mini-point span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff, #9a9aa0);
  box-shadow: 0 0 18px rgba(255,255,255,0.2);
}

.cta-box {
  text-align: center;
  padding: 28px 22px;
}

.cta-box h2 {
  margin: 16px auto 12px;
  max-width: 820px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.cta-box p {
  margin: 0 auto;
  max-width: 720px;
  color: var(--muted);
  line-height: 1.65;
}

.footer {
  padding: 10px 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

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

.footer-brand p {
  max-width: 540px;
}

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

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

@media (max-width: 900px) {
  .steps-grid,
  .benefits-grid,
  .fallback-grid,
  .explain-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .topbar {
    margin-top: 12px;
    padding: 12px 14px;
  }

  .topbar-link {
    font-size: 0.85rem;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-actions,
  .fallback-actions,
  .footer {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .footer-link {
    width: 100%;
  }

  .hero-note,
  .step-card,
  .benefit-card,
  .fallback-main,
  .helper-card,
  .cta-box,
  .explain {
    border-radius: 22px;
  }

  .section {
    padding: 36px 0;
  }

  .footer {
    padding-bottom: 34px;
  }
}
