/* ==========================================================================
   Shared reset, layout primitives, brand header/footer, buttons.
   Page-specific styles (hero, sections) live in coming-soon.css / landing.css.
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--ink-950);
  color: var(--paper-100);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
  cursor: pointer;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Brand header — shared across coming-soon and landing */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--brand-magenta), var(--signal-cyan-dim));
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink-950);
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

/* Badge — pre-launch / premium-experience style pill */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--ink-800);
  background: var(--ink-850);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--paper-300);
}

.badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal-cyan);
  box-shadow: 0 0 8px var(--signal-cyan);
}

/* Eyebrow — reserved for genuine section labels, not data (data uses .mono-label) */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-magenta);
  margin: 0 0 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}

.lede {
  color: var(--paper-300);
  font-size: 1.05rem;
  max-width: 42ch;
}

/* Mono label — for real data only: times, counts, live status (design doc §2) */
.mono-label {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s var(--ease-standard), background 0.15s var(--ease-standard), border-color 0.15s var(--ease-standard);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--brand-magenta);
  color: var(--ink-950);
}

.btn--primary:hover {
  background: #e879f9;
}

.btn--outline {
  border-color: var(--ink-800);
  color: var(--paper-100);
}

.btn--outline:hover {
  border-color: var(--signal-cyan);
}

.btn--full {
  width: 100%;
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Language switcher */
.lang-switch {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 40;
  display: flex;
  gap: 0.35rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgba(23, 23, 28, 0.8);
  backdrop-filter: blur(6px);
  border: 1px solid var(--ink-800);
}

.lang-switch__link {
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--paper-500);
}

.lang-switch__link--active {
  background: var(--ink-800);
  color: var(--paper-100);
}

/* Inline variant — used inside the landing navbar instead of the fixed
   overlay, so it doesn't compete with the navbar's own actions for the same
   corner (see docs/design/01-marketing-site-visual-identity.md handoff notes). */
.lang-switch--inline {
  position: static;
  background: none;
  backdrop-filter: none;
  border: none;
  padding: 0;
}

/* Footer — shared across both modes */
.footer {
  padding: 2rem var(--gutter);
  text-align: center;
  color: var(--paper-700);
  font-size: 0.85rem;
  border-top: 1px solid var(--ink-800);
}
