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

:root {
  --bg-deep:        #030B16;
  --bg-secondary:   #071A2D;
  --text-primary:   #F8FAFC;
  --text-soft:      #AAB4C2;
  --accent:         #4DBBFF;
  --accent-2:       #7DD3FC;
  --accent-detail:  #d7ecff;
  --surface:        rgba(7, 26, 45, 0.60);
  --border:         #1E3A56;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-mono:  ui-monospace, 'SF Mono', 'Cascadia Code', 'Fira Code', monospace;

  --container-max: 1200px;
  --container-pad: 2rem;
  --nav-h:         72px;
  --radius:        6px;
  --radius-lg:     12px;

  --shadow-card:       0 2px 24px rgba(0,0,0,.32), 0 0 0 1px var(--border);
  --shadow-glow:       0 0 32px rgba(77,187,255,.18);
  --shadow-glow-hover: 0 0 48px rgba(77,187,255,.32);

  --ease: cubic-bezier(0.2, 0.9, 0.3, 1);
  --t:    0.3s var(--ease);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.15;
  font-weight: 600;
  color: var(--text-primary);
}

a   { color: inherit; text-decoration: none; transition: color var(--t); }
ul  { list-style: none; }
img, canvas { display: block; max-width: 100%; }

button, input {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
  cursor: pointer;
}

input { cursor: text; }

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