/* ==========================================================================
   Aperman — site styles
   ========================================================================== */

:root {
  --bg: #06070b;
  --bg-raised: #0a0c13;
  --surface: rgba(255, 255, 255, 0.035);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #eef0f7;
  --muted: #a2a8bc;
  --faint: #7d839a;
  --mint: #6ef2d0;
  --violet: #8f7bff;
  --pink: #ff7eb6;
  --grad: linear-gradient(100deg, var(--mint) 0%, var(--violet) 58%, var(--pink) 100%);

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter: clamp(20px, 5vw, 48px);
  --maxw: 1200px;
  --header-h: 72px;
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: dark;
}

/* ---------------------------------------------------------------- base */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

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

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

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0;
}

:where(ul[role="list"]) {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font: inherit;
  color: inherit;
}

[hidden] {
  display: none !important;
}

::selection {
  background: rgba(110, 242, 208, 0.28);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 8px;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--mint);
  color: var(--bg);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 16px;
}

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* keeps the descender of the comma/period from being clipped */
  padding-bottom: 0.08em;
}

/* -------------------------------------------------------------- header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(6, 7, 11, 0.72);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.brand__mark {
  width: 30px;
  height: 30px;
  flex: none;
}

.site-nav {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
  font-size: 0.95rem;
  color: var(--muted);
}

.site-nav a,
.footer__nav a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}

.site-nav a::after,
.footer__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.site-nav a:hover,
.footer__nav a:hover {
  color: var(--text);
}

.site-nav a:hover::after,
.footer__nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 1rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s, border-color 0.3s;
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}

.btn--primary {
  background: var(--mint);
  color: var(--bg);
  box-shadow: 0 0 0 0 rgba(110, 242, 208, 0);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px -8px rgba(110, 242, 208, 0.55);
}

.btn--primary:hover svg {
  transform: translateY(2px);
}

.btn--ghost {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
}

.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  padding-block: calc(var(--header-h) + 24px) 28px;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(48% 55% at 72% 48%, rgba(143, 123, 255, 0.16), transparent 70%),
    radial-gradient(30% 36% at 76% 42%, rgba(110, 242, 208, 0.09), transparent 70%),
    radial-gradient(70% 60% at 10% 110%, rgba(143, 123, 255, 0.08), transparent 70%);
}

.hero__backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center;
  -webkit-mask-image: radial-gradient(60% 60% at 70% 50%, #000 10%, transparent 75%);
  mask-image: radial-gradient(60% 60% at 70% 50%, #000 10%, transparent 75%);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}

/* Without WebGL the backdrop carries the hero on its own. */
.hero.is-static .hero__backdrop {
  background:
    radial-gradient(34% 44% at 72% 48%, rgba(143, 123, 255, 0.34), transparent 70%),
    radial-gradient(20% 26% at 74% 44%, rgba(110, 242, 208, 0.22), transparent 70%);
}

.hero.is-static .hero__forms {
  display: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  column-gap: 32px;
}

.hero__content {
  grid-column: 1;
  grid-row: 1;
  max-width: 620px;
  padding-block: 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px var(--mint);
  animation: pulse 2.4s ease-in-out infinite;
}

.hero__title {
  margin-top: 26px;
  font-size: clamp(3.1rem, 7.4vw, 6.6rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.hero__lead {
  margin-top: 26px;
  max-width: 33em;
  font-size: clamp(1.05rem, 1.45vw, 1.22rem);
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero__content > * {
  animation: rise 1.1s var(--ease) both;
}

.hero__content > :nth-child(2) {
  animation-delay: 0.08s;
}

.hero__content > :nth-child(3) {
  animation-delay: 0.16s;
}

.hero__content > :nth-child(4) {
  animation-delay: 0.24s;
}

.hero__forms {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  animation: rise 1.1s 0.5s var(--ease) both;
}

.form-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(6, 7, 11, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.25s, border-color 0.25s, background-color 0.25s;
}

.form-chip:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.form-chip[aria-pressed="true"] {
  color: var(--text);
  border-color: rgba(110, 242, 208, 0.45);
  background: rgba(110, 242, 208, 0.08);
}

.form-chip__idx {
  color: var(--faint);
}

.form-chip[aria-pressed="true"] .form-chip__idx {
  color: var(--mint);
}

.form-chip__bar {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--grad);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(6, 7, 11, 0.55);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s;
}

.icon-btn:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-play,
.icon-btn[aria-pressed="true"] .icon-pause {
  display: none;
}

.icon-btn[aria-pressed="true"] .icon-play {
  display: block;
  fill: currentColor;
  stroke-width: 1.5;
}

/* ------------------------------------------------------------ sections */

.section {
  position: relative;
  padding-block: clamp(80px, 10vw, 136px);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint);
}

.section-label::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.section-title {
  margin-top: 20px;
  max-width: 16ch;
  font-size: clamp(2.2rem, 4.8vw, 3.9rem);
  letter-spacing: -0.035em;
}

.section-intro {
  margin-top: 22px;
  max-width: 36em;
  font-size: 1.125rem;
  color: var(--muted);
}

/* --------------------------------------------------------------- about */

.about {
  border-top: 1px solid var(--line);
}

.about__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.about__text {
  display: grid;
  gap: 22px;
  padding-top: 46px;
  font-size: 1.125rem;
  color: var(--muted);
}

.about__text .lead {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--text);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 20px;
  margin-top: clamp(64px, 8vw, 110px);
}

.pillar {
  position: relative;
  padding: 30px 28px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.pillar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(110, 242, 208, 0.5), transparent);
  opacity: 0.6;
}

.pillar__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(110, 242, 208, 0.22);
  border-radius: 13px;
  background: rgba(110, 242, 208, 0.07);
  color: var(--mint);
}

.pillar__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pillar h3 {
  margin-top: 24px;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.pillar p {
  margin-top: 10px;
  font-size: 1rem;
  color: var(--muted);
}

/* ------------------------------------------------------------ products */

.products {
  background: linear-gradient(180deg, transparent, rgba(143, 123, 255, 0.045) 35%, transparent);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 24px;
  margin-top: clamp(48px, 6vw, 80px);
}

.product {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  overflow: hidden;
  transition: border-color 0.3s;
}

/* Soft light that follows the pointer (position set in main.js). */
.product::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), rgba(110, 242, 208, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.product:hover {
  border-color: var(--line-strong);
}

.product:hover::before {
  opacity: 1;
}

.product__media {
  position: relative;
  aspect-ratio: 16 / 11;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(55% 65% at 50% 48%, rgba(143, 123, 255, 0.15), transparent 70%),
    var(--bg-raised);
  overflow: hidden;
}

.product__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: center;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000 20%, transparent 80%);
  mask-image: radial-gradient(70% 70% at 50% 50%, #000 20%, transparent 80%);
}

.product__media canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.product__media.is-static .product__hud {
  display: none;
}

.product__media.is-static {
  background:
    radial-gradient(30% 40% at 50% 50%, rgba(143, 123, 255, 0.35), transparent 70%),
    radial-gradient(18% 24% at 50% 46%, rgba(110, 242, 208, 0.25), transparent 70%),
    var(--bg-raised);
}

.product__hud {
  position: absolute;
  left: 18px;
  top: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

.product__hud b {
  font-weight: 500;
  color: var(--mint);
}

.hud-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
  animation: pulse 2.4s ease-in-out infinite;
}

.product__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: clamp(26px, 3vw, 38px);
}

.product__body > p:not([class]) {
  color: var(--muted);
}

.product__tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet);
}

.product__name {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  letter-spacing: -0.035em;
}

.product__tagline {
  margin-top: -4px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.features {
  display: grid;
  gap: 11px;
  margin-top: 8px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
}

.features li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border: 1px solid rgba(110, 242, 208, 0.35);
  border-radius: 50%;
  background: rgba(110, 242, 208, 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236EF2D0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12.5l4 4 9-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* "Coming soon" card, used for products that are not public yet. */
.product--soon .product__media {
  display: grid;
  place-items: center;
}

.soon-screen {
  position: relative;
  display: grid;
  place-items: center;
  width: 58%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line-strong);
  border-radius: 22px / 26px;
  background: radial-gradient(circle at 50% 45%, rgba(110, 242, 208, 0.16), transparent 70%), #05060a;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.85), 0 0 70px rgba(143, 123, 255, 0.18);
  overflow: hidden;
}

.soon-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 3px);
  pointer-events: none;
}

.soon-screen span {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mint);
  text-shadow: 0 0 12px rgba(110, 242, 208, 0.7);
  animation: blink 1.4s steps(2, jump-none) infinite;
}

/* --------------------------------------------------------------- footer */

.site-footer {
  position: relative;
  padding-top: 64px;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}

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

.footer__nav {
  display: flex;
  gap: 28px;
  font-size: 0.95rem;
  color: var(--muted);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--faint);
}

.footer__wordmark {
  margin: 32px 0 0;
  font-family: var(--font-display);
  font-size: clamp(5rem, 24vw, 22rem);
  font-weight: 600;
  line-height: 0.74;
  letter-spacing: -0.065em;
  text-align: center;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 78%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}

/* ------------------------------------------------------------------ 404 */

.notfound {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: 64px;
  overflow: hidden;
}

.notfound__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(40% 45% at 70% 40%, rgba(143, 123, 255, 0.18), transparent 70%),
    radial-gradient(28% 32% at 30% 70%, rgba(110, 242, 208, 0.1), transparent 70%);
}

.notfound__inner {
  display: grid;
  justify-items: start;
  gap: 24px;
}

.notfound .brand {
  margin-bottom: 40px;
}

.notfound__title {
  font-size: clamp(2.8rem, 8vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.notfound__text {
  max-width: 30em;
  font-size: 1.125rem;
  color: var(--muted);
}

.notfound .btn {
  margin-top: 12px;
}

/* -------------------------------------------------------------- motion */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .reveal--d1 {
  transition-delay: 0.1s;
}

.js .reveal--d2 {
  transition-delay: 0.2s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}

@keyframes blink {
  50% {
    opacity: 0.3;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__forms .icon-btn,
  .form-chip__bar {
    display: none;
  }
}

/* ----------------------------------------------------------- responsive */

@media (max-width: 899px) {
  :root {
    --header-h: 64px;
  }

  .hero {
    padding-bottom: 24px;
  }

  .hero__backdrop {
    background:
      radial-gradient(70% 38% at 50% 26%, rgba(143, 123, 255, 0.16), transparent 70%),
      radial-gradient(45% 24% at 50% 24%, rgba(110, 242, 208, 0.08), transparent 70%);
  }

  .hero__backdrop::after {
    -webkit-mask-image: radial-gradient(80% 40% at 50% 28%, #000 10%, transparent 75%);
    mask-image: radial-gradient(80% 40% at 50% 28%, #000 10%, transparent 75%);
  }

  .hero.is-static .hero__backdrop {
    background:
      radial-gradient(55% 28% at 50% 26%, rgba(143, 123, 255, 0.34), transparent 70%),
      radial-gradient(32% 16% at 50% 24%, rgba(110, 242, 208, 0.22), transparent 70%);
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    align-content: end;
    /* leaves the upper part of the screen to the animation */
    padding-top: max(34vh, 230px);
    padding-top: max(34svh, 230px);
  }

  .hero__content,
  .hero__forms {
    grid-column: 1;
    grid-row: auto;
  }

  .hero__content {
    padding-block: 0;
  }

  .hero__forms {
    justify-self: start;
    justify-content: flex-start;
    margin-top: 32px;
  }

  .about__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .about__text {
    padding-top: 0;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 1.2rem;
  }

  .brand__mark {
    width: 26px;
    height: 26px;
  }

  .site-nav {
    gap: 20px;
    font-size: 0.9rem;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .form-chip {
    padding: 0 11px;
    font-size: 0.7rem;
  }

  .form-chip__idx {
    display: none;
  }

  .footer__top {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 379px) {
  .eyebrow {
    font-size: 0.66rem;
    letter-spacing: 0.08em;
  }
}

@media print {
  .site-header,
  .hero__forms {
    display: none;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
