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

html {
  -webkit-text-size-adjust: 100%;
  background: var(--c-bg, #04060D);
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text);
  background:
    radial-gradient(120% 78% at 96% -6%, var(--bg-glow-blue) 0%, transparent 55%),
    radial-gradient(90% 60% at 2% 14%, var(--bg-glow-violet) 0%, transparent 58%),
    radial-gradient(80% 50% at 50% 106%, var(--bg-glow-pink) 0%, transparent 62%),
    var(--bg-base);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

body.is-sheet {
  overflow: hidden;
}

h1, h2, h3, h4, p, figure {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

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

input,
textarea,
select {
  font: inherit;
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: rgba(207, 71, 105, 0.22);
}

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

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.9;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(var(--orb-blur));
  opacity: var(--orb-opacity);
  animation: float 18s var(--ease) infinite alternate;
}

.orb-blue {
  width: 340px;
  height: 340px;
  top: -120px;
  right: -90px;
  background: var(--orb-blue);
}

.orb-violet {
  width: 300px;
  height: 300px;
  top: 34%;
  left: -140px;
  background: var(--orb-violet);
  animation-delay: -6s;
}

.orb-pink {
  width: 260px;
  height: 260px;
  bottom: -140px;
  right: -40px;
  background: var(--orb-pink);
  opacity: calc(var(--orb-opacity) * 0.7);
  animation-delay: -11s;
}

@keyframes float {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-26px, 30px, 0) scale(1.12); }
}

.app-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 430px;
  min-height: 100dvh;
  margin-inline: auto;
  padding-bottom: calc(var(--nav-h) + 44px + env(safe-area-inset-bottom));
}

.view {
  display: block;
  padding: 16px 16px 8px;
}

.view-in > * {
  animation: rise 0.42s var(--ease) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}

.ico {
  width: 20px;
  height: 20px;
  display: block;
  flex: 0 0 auto;
}

.i-12 { width: 12px; height: 12px; }
.i-14 { width: 14px; height: 14px; }
.i-16 { width: 16px; height: 16px; }
.i-18 { width: 18px; height: 18px; }
.i-24 { width: 24px; height: 24px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.muted {
  color: var(--c-text-2);
}

.small {
  font-size: 12px;
}

[hidden] {
  display: none !important;
}

@media (min-width: 560px) {
  .app-shell {
    border-inline: 1px solid var(--c-line);
    box-shadow: 0 0 90px -40px rgba(17, 74, 159, 0.35);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
