/* ═══════════════════════════════════════════
   SendenSana — Base & Reset
   ═══════════════════════════════════════════ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-feature-settings: 'kern' 1;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--c-text);
  background-color: var(--c-bg);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

h1 { font-size: var(--fs-5xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-2xl); }
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-xl);
  color: var(--c-text);
}

p {
  color: var(--c-text-secondary);
  margin-bottom: var(--sp-4);
}

a {
  color: var(--c-accent);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-in-out);
}
a:hover { color: var(--c-primary); }

strong { font-weight: 700; color: var(--c-text); }
em { font-style: italic; }

ul, ol {
  padding-left: var(--sp-6);
  color: var(--c-text-secondary);
}
li { margin-bottom: var(--sp-2); }

/* Selection */
::selection {
  background: var(--c-primary);
  color: white;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--r-full);
}
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.2); }

/* Focus */
:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden { display: none !important; }
.visually-hidden { opacity: 0; pointer-events: none; }

/* Timer font */
.tabular-nums { font-variant-numeric: tabular-nums; }
