html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

.hero-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 25%, transparent 75%);
}

.text-gradient {
  background: linear-gradient(90deg, #598dff, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.check { position: relative; padding-left: 1.75rem; }
.check::before {
  content: "";
  position: absolute;
  left: 0;
  top: .1em;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 9999px;
  background: #d9e6ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231f47f5' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center / 75% no-repeat;
}
.check-light::before {
  background-color: rgba(89, 141, 255, .2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%238eb6ff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E");
}

#billing-toggle { background: #cbd5e1; }
#billing-toggle[aria-checked="true"] { background: #1f47f5; }
#billing-toggle[aria-checked="true"] span { transform: translateX(1.25rem); }

.field {
  display: block;
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: .5rem;
  background: #fff;
  padding: .7rem .875rem;
  font-size: .9375rem;
  color: #0b1220;
  transition: border-color .15s, box-shadow .15s;
}
.field::placeholder { color: #94a3b8; }
.field:focus { outline: none; border-color: #3366ff; box-shadow: 0 0 0 3px rgba(51, 102, 255, .2); }
.field[aria-invalid="true"] { border-color: #e11d48; }
.field[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(225, 29, 72, .15); }
.error { margin-top: .375rem; font-size: .8125rem; color: #e11d48; }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}
