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

html {
  background: var(--canvas);
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  position: relative;
  isolation: isolate;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas-gradient);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -2;
  inset: -15%;
  background:
    radial-gradient(circle at 8% 22%, rgba(122, 205, 255, 0.15), transparent 26rem),
    radial-gradient(circle at 84% 34%, rgba(160, 132, 255, 0.13), transparent 30rem),
    radial-gradient(circle at 44% 94%, rgba(103, 161, 255, 0.1), transparent 28rem);
  content: "";
  opacity: 1;
  pointer-events: none;
  filter: blur(2px);
  transform: scale(1.02) translate3d(-1%, -0.4%, 0);
  animation: granite-flow 32s ease-in-out infinite alternate;
  will-change: transform;
}

body::after {
  position: fixed;
  z-index: -1;
  inset: -10%;
  background:
    radial-gradient(ellipse 38% 9% at 17% 15%, rgba(255, 255, 255, 0.9), rgba(185, 220, 255, 0.08) 48%, transparent 75%),
    radial-gradient(ellipse 34% 8% at 82% 42%, rgba(255, 255, 255, 0.86), rgba(166, 144, 255, 0.07) 48%, transparent 76%);
  content: "";
  mix-blend-mode: soft-light;
  opacity: 0.8;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  animation: granite-sheen 20s ease-in-out infinite alternate;
  will-change: transform, opacity;
}

button,
input,
select,
summary {
  font: inherit;
}

button,
summary,
a,
select {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

button {
  color: inherit;
}

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

svg {
  display: block;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

::selection {
  background: rgba(89, 166, 223, 0.3);
  color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--sapphire);
  outline-offset: 3px;
}

button:disabled {
  cursor: not-allowed;
}

noscript {
  display: block;
  max-width: 700px;
  margin: 80px auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.container {
  width: min(1380px, calc(100% - max(40px, var(--safe-left)) - max(40px, var(--safe-right))));
  margin-inline: auto;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--amethyst);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow > span:first-child {
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--sky), var(--violet), transparent);
  box-shadow: 0 0 9px rgba(89, 166, 223, 0.34);
}

.icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.pulse-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--turquoise);
  box-shadow:
    0 0 0 4px rgba(29, 158, 152, 0.11),
    0 0 12px rgba(29, 158, 152, 0.3);
  animation: pulse-gem 2.8s ease-in-out infinite;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--text);
  color: #fffdfb;
  font-weight: 750;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

@keyframes pulse-gem {
  0%,
  100% {
    box-shadow:
      0 0 0 4px rgba(29, 158, 152, 0.1),
      0 0 8px rgba(29, 158, 152, 0.18);
  }

  50% {
    box-shadow:
      0 0 0 6px rgba(29, 158, 152, 0.04),
      0 0 15px rgba(29, 158, 152, 0.38);
  }
}

@keyframes granite-flow {
  0% {
    transform: scale(1.06) translate3d(-1.2%, -0.5%, 0);
  }

  50% {
    transform: scale(1.085) translate3d(1%, 0.8%, 0);
  }

  100% {
    transform: scale(1.07) translate3d(-0.2%, 1.2%, 0);
  }
}

@keyframes granite-sheen {
  0% {
    opacity: 0.56;
    transform: translate3d(-1.2%, -0.6%, 0) scale(1);
  }

  100% {
    opacity: 0.78;
    transform: translate3d(1.4%, 0.9%, 0) scale(1.035);
  }
}

@media (max-width: 700px) {
  input,
  select,
  textarea {
    font-size: 16px;
  }

  body::before {
    inset: -5%;
    background:
      radial-gradient(circle at 5% 18%, rgba(122, 205, 255, 0.13), transparent 20rem),
      radial-gradient(circle at 95% 60%, rgba(160, 132, 255, 0.1), transparent 22rem);
    animation: none;
    transform: none;
    will-change: auto;
  }

  body::after {
    inset: 0;
    opacity: 0.48;
    animation: none;
    transform: none;
    will-change: auto;
  }
}
