/* ==========================================================================
   RelationshipOS — Base Stylesheet
   Import order matters: tokens -> keyframes -> controls -> layout -> responsive.
   ========================================================================== */

@import url('variables.css');
@import url('animations.css');
@import url('buttons.css');
@import url('sections.css');
@import url('responsive.css');

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--color-pink);
  color: var(--color-bg);
}

h1, h2, h3, p { margin: 0; }

a { color: inherit; }

button {
  font: inherit;
  border: none;
  background: none;
  color: inherit;
}

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

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--color-border-hover); }

:focus-visible {
  outline: 2px solid var(--color-pink);
  outline-offset: 2px;
}

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

.hidden { display: none !important; }
