/* =========================================================
   VikasCircle — Base / Reset
   ========================================================= */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Ambient background: soft radial glows fixed behind all content */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px 400px at 12% -5%, rgba(124,92,255,.25), transparent 60%),
    radial-gradient(500px 380px at 100% 10%, rgba(0,229,199,.14), transparent 60%),
    radial-gradient(700px 500px at 50% 120%, rgba(255,77,141,.14), transparent 60%);
  pointer-events: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 var(--sp-3);
  letter-spacing: -0.01em;
}

p { margin: 0 0 var(--sp-4); color: var(--text-muted); }

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

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

button, input {
  font-family: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul { list-style: none; margin: 0; padding: 0; }

/* Visible keyboard focus, always */
:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}

@media (max-width: 640px) {
  .container { padding: 0 var(--sp-4); }
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

::selection {
  background: var(--accent-violet);
  color: #fff;
}

/* thin custom scrollbar to match theme */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-void); }
::-webkit-scrollbar-thumb {
  background: var(--bg-surface-3);
  border-radius: var(--r-pill);
  border: 2px solid var(--bg-void);
}
::-webkit-scrollbar-thumb:hover { background: var(--accent-violet-dim); }
