/* ===============================
   BASE STYLES
=============================== */

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

/* Root defaults */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

/* Body */
body {
  margin: 0;
  font-family: var(--font-main, Arial, sans-serif);
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-bg, #fff);
}

/* ===============================
   TYPOGRAPHY
   =============================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.5em;
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin: 0 0 1em;
}

strong {
  font-weight: 700;
}

em {
  font-style: italic;
}

/* Links */
a {
  color: var(--color-link);
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

/* ===============================
   LISTS
   =============================== */

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.5em;
}

li {
  margin-bottom: 0.25em;
}

/* ===============================
   MEDIA
   =============================== */

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

/* ===============================
   FORMS
   =============================== */

input,
textarea,
select,
button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

/* ===============================
   TABLES
   =============================== */

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.5em;
  text-align: left;
}

/* ===============================
   MISC
=============================== */

hr {
  margin: 2em 0;
  border: none;
  border-top: 1px solid #ddd;
}

address {
  font-style: normal;
}

/* Remove default focus outline only if you add your own */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}


.container {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 10px;
}
