:root {
  --color-bg: #f5f8ff;
  --color-text: #1e293b;
  --color-primary: #6366f1;
  --color-primary-hover: #4f46e5;
  --color-surface: rgba(255, 255, 255, 0.7);
  --color-border: rgba(0, 0, 0, 0.08);
  --color-input-bg: rgba(255, 255, 255, 0.9);
  --color-input-border: rgba(0, 0, 0, 0.12);
  --color-error: #dc2626;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --radius-s: 0.5rem;
  --radius-m: 0.6rem;
  --radius-l: 0.75rem;
  --text-sm: 0.875rem;
  --text-lg: 1.25rem;
  --dur-fast: 0.05s;
  --dur-normal: 0.2s;
  --dur-slow: 0.6s;
  --dur-very-slow: 1.2s;
  --easing: ease;
  --hero-title-min: 1.75rem;
  --hero-title-fluid: 2.8vw;
  --hero-title-max: 3rem;
  --hero-subtitle-max-ch: 56ch;
  --feature-title-min: 1.25rem;
  --feature-title-fluid: 2.2vw;
  --feature-title-max: 2rem;
  --feature-min-width: 240px;
  --font-weight-semibold: 600;
  --motion-shift-hover: 4px;
  --motion-shift-press: 1px;
  --shadow-hover: 0 8px 24px -8px rgba(0, 0, 0, 0.15);
  --collapsible-max-height: 2000px;
  --line-tight: 1.1;
  --line-normal: 1.4;
}

.btn, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(30, 41, 59, 0.1);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.05s ease, box-shadow 0.2s ease;
  background: #6366f1;
  color: white;
}
.btn:hover, .button:hover {
  background: #4f46e5;
}
.btn:focus-visible, .button:focus-visible {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}
.btn:active, .button:active {
  transform: translateY(1px);
}
.btn:disabled, .button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn--ghost {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #1e293b;
}
.btn--ghost:hover {
  background: rgba(30, 41, 59, 0.04);
}
.btn--ghost:focus-visible {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

.btn--danger {
  background: #dc2626;
  color: white;
}
.btn--danger:hover {
  background: #c82020;
}
.btn--danger:focus-visible {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.35);
}
.btn--danger:active {
  transform: translateY(1px);
}

.card, .form, .feature-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.6rem;
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--stack-gap, 2rem);
}

.flow > * + * {
  margin-top: var(--flow-gap, 1rem);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes form-pop {
  from {
    transform: translateY(-6px);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.section-appear {
  animation: fade-up 0.6s ease both;
}

.delay-1000 {
  animation-delay: 1s !important;
}

.delay-1200 {
  animation-delay: 1.2s !important;
}

.delay-1400 {
  animation-delay: 1.4s !important;
}

.delay-1500 {
  animation-delay: 1.5s !important;
}

.delay-1800 {
  animation-delay: 1.8s !important;
}

.delay-2000 {
  animation-delay: 2s !important;
}

.spinner {
  width: 1em;
  height: 1em;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: white;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.9s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
.spacer {
  width: 100%;
}

.spacer--tall {
  min-height: 120vh;
}

.spacer--peek {
  min-height: clamp(2rem, 10vh, 8rem);
}

.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

.u-hidden {
  display: none !important;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: linear-gradient(180deg, #dce6ff, #f5f8ff);
  color: #1e293b;
  padding: 2rem;
  padding-top: calc(2rem * 2.5);
}

#app, body > div {
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
}

.hero {
  text-align: center;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}
.hero .hero__title {
  font-size: clamp(1.75rem, 2.8vw, 3rem);
  line-height: 1.1;
  margin: 0 0 0.5rem 0;
  color: #1e293b;
  opacity: 0;
  animation: fade-up 1.2s ease both;
  animation-delay: 1.2s;
}
.hero .hero__subtitle {
  margin: 0 auto 1rem auto;
  max-width: 56ch;
  opacity: 0.85;
  opacity: 0;
  animation: fade-up 1.2s ease both;
  animation-delay: 1.4s;
}

.hero-cta {
  text-align: center;
  margin-bottom: 2.5rem;
}

.features {
  margin-bottom: 2.5rem;
}
.features .features__title {
  text-align: center;
  margin: 0 0 1.5rem 0;
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  line-height: 1.4;
  opacity: 0.92;
}
.features .features__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature-card {
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  opacity: 0;
  animation: fade-up 1.2s ease both;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.15);
}
.feature-card .feature-card__title {
  margin: 0 0 0.5rem 0;
  font-weight: 600;
}
.feature-card .feature-card__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.4;
}

.features__grid .feature-card:nth-child(1) {
  animation-delay: 0.8s;
}

.features__grid .feature-card:nth-child(2) {
  animation-delay: 0.85s;
}

.features__grid .feature-card:nth-child(3) {
  animation-delay: 0.9s;
}

.features__grid .feature-card:nth-child(4) {
  animation-delay: 0.95s;
}

.features__grid .feature-card:nth-child(5) {
  animation-delay: 1s;
}

.features__grid .feature-card:nth-child(6) {
  animation-delay: 1.05s;
}

.form {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.collapsible {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 1.2s ease, opacity 0.6s ease;
  transform: translateY(-4px);
}

.collapsible--open {
  max-height: 2000px;
  opacity: 1;
  transform: translateY(0);
  animation: form-pop 0.6s ease 0.05s both;
}

input[type=text], input[type=email], textarea, select {
  background: rgba(255, 255, 255, 0.9);
  color: #1e293b;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  outline: none;
}
input[type=text]:focus, input[type=email]:focus, textarea:focus, select:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}
input[type=text].invalid, input[type=email].invalid, textarea.invalid, select.invalid {
  border-color: #dc2626;
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.25);
}
input[type=text]:disabled, input[type=email]:disabled, textarea:disabled, select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.field label {
  font-weight: 600;
}
.field .error {
  color: #dc2626;
  font-size: 0.875rem;
}
