/* =======================================================================
   reset.css  (Home page + site-wide safe reset)
   Include BEFORE style.css
   <link rel="stylesheet" href="./css/reset.css">
   <link rel="stylesheet" href="./css/style.css">
   ======================================================================= */

/* ================= ROOT / BASE ================= */
:root {
  /* keep only layout-safe variables here (optional) */
  --font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* container helpers (optional) */
  --container-max: 1200px;
  --container-pad: 2rem;
}

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

body {
  margin: 0;
  font-family: var(--font-family);
  line-height: 1.5;
  background: #fff;
  color: #000;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ================= BOX SIZING ================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ================= SPACING RESET ================= */
h1, h2, h3, h4, h5, h6,
p, blockquote, figure,
ul, ol, li,
dl, dd,
fieldset, legend {
  margin: 0;
  padding: 0;
}

/* ================= LISTS ================= */
ul,
ol {
  list-style: none;
}

/* ================= MEDIA ================= */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ================= LINKS ================= */
a {
  color: inherit;
  text-decoration: none;
}

/* ================= FORMS ================= */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

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

textarea {
  resize: vertical;
}

/* Remove default iOS input rounding */
input,
textarea,
select {
  border-radius: 0;
}

/* ================= TABLES ================= */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* ================= ACCESSIBILITY ================= */
:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
}

/* ================= LAYOUT HELPERS (OPTIONAL) ================= */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* Prevent horizontal scroll from absolute elements */
html,
body {
  overflow-x: hidden;
}
