/* ========================================================
   The Ledger — base styles
   ======================================================== */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #faf6ed;
  color: #2c2620;
  font-family: 'Jost', system-ui, -apple-system, sans-serif;
  font-feature-settings: 'tnum' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior-y: none;
}

#app {
  min-height: 100vh;
  min-height: 100dvh;
}

/* Splash */
.splash {
  position: fixed; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: #faf6ed;
  z-index: 100;
}

.splash-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px; font-weight: 500;
  color: #c4a96a;
  font-style: italic;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.splash-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  color: #8a7d6f;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* Hide splash once React mounts */
#app:not(:has(.splash))::before { display: none; }

/* Tap highlights off */
button { -webkit-tap-highlight-color: transparent; }

/* Disabled select styling */
select:disabled, input:read-only { opacity: 0.5; }
