/**
 * base.css - global reset + typography/layout primitives
 * Relies on CSS custom properties declared in theme-variables.css
 */

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background: var(--bg-primary);
  color: var(--text-primary);
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow: hidden;
  background: var(--bg-primary);
  color: var(--text-primary);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 1rem 0;
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin: 0 0 1rem 0;
}

small {
  font-size: 0.875rem;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ===== LAYOUT ===== */
#root {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: row;
  overflow: hidden;
}

.app-container {
  display: flex;
  flex-direction: row;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  position: relative;
}

.app-container > * {
  height: 100vh;
}

.app-container > .globe-container {
  flex: 1;
  min-width: 0;
  width: 100%;
}
