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

html,
body {
  height: 100%;
}

body {
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-sans);
  margin: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

button {
  font: inherit;
}

.o-screen {
  display: flex;
  flex-direction: column;
  margin-inline: auto;
  max-width: 460px;
  min-height: 100%;
  padding: max(14px, calc(env(safe-area-inset-top) - 10px)) var(--space-md)
    max(var(--space-md), env(safe-area-inset-bottom));
}

.o-view {
  display: none;
  flex: 1;
  flex-direction: column;
}

.o-view.is-active {
  animation: o-viewin 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
  display: flex;
}

@keyframes o-viewin {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .o-view.is-active { animation: none; }
}

.o-view--center.is-active {
  align-items: center;
  justify-content: center;
}

.c-brand {
  align-items: center;
  color: inherit;
  display: inline-flex;
  font-size: var(--text-lg);
  font-weight: 800;
  gap: 10px;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.c-brand__mark {
  background: var(--color-pulse);
  border-radius: var(--radius-pill);
  box-shadow: 0 0 0 5px rgb(224 71 62 / 0.15);
  flex: none;
  height: 22px;
  position: relative;
  width: 22px;
}

.c-brand__mark::after {
  animation: brand-pulse 2.2s infinite;
  border: 2px solid var(--color-pulse);
  border-radius: var(--radius-pill);
  content: '';
  inset: 0;
  position: absolute;
}

@keyframes brand-pulse {
  0% { opacity: 0.6; transform: scale(0.8); }
  100% { opacity: 0; transform: scale(1.5); }
}

.c-nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-inline: auto;
  max-width: var(--width-marketing);
  padding: 22px 28px;
}

.c-nav__login {
  color: var(--color-primary-dark);
  font-size: var(--text-base);
  font-weight: 600;
  text-decoration: none;
}

.o-container {
  margin-inline: auto;
  max-width: var(--width-app);
  padding: var(--space-lg) 28px;
  width: 100%;
}

.u-mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.u-muted {
  color: var(--color-ink-soft);
  font-size: var(--text-sm);
}

.u-center {
  text-align: center;
}

.u-nowrap {
  white-space: nowrap;
}
