/* ===========================
   Base Font Settings
=========================== */

html {
  font-family: 'Inter-Regular', sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #000;
  background-color: #fff;
}

@supports (font-variation-settings: normal) {
  html {
    font-family: 'Inter var', sans-serif;
  }
}

/* ===========================
   Typography Scale
=========================== */

h1 {
  font-family: 'Inter-SemiBold', sans-serif;
  font-size: 64px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 0.5em;
}

h2 {
  font-family: 'Inter-SemiBold', sans-serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.012em;
  margin-bottom: 0.5em;
}

h3 {
  font-family: 'Inter-Medium', sans-serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

h4 {
  font-family: 'Inter-Medium', sans-serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 0.5em;
}

h5 {
  font-family: 'Inter-Medium', sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 0.5em;
}

h6 {
  font-family: 'Inter-Regular', sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 0.5em;
}

p {
  font-family: 'Inter-Regular', sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 1em;
}

.small {
  font-family: 'Inter-Light', sans-serif;
  font-size: 15px;
  color: #555;
  line-height: 1.5;
}

.caption {
  font-family: 'Inter-Medium', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #666;
}

.micro {
  font-family: 'Inter-Regular', sans-serif;
  font-size: 11px;
  color: #888;
}

.medium_micro{
  font-family: 'Inter-Medium', sans-serif;
  font-size: 11px;
}

/* ===========================
   Links
=========================== */

a {
  font-family: 'Inter-Medium', sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: #0071e3;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #004bb5;
  text-decoration: underline;
}

a:focus {
  outline: 2px solid #0071e3;
  outline-offset: 2px;
}

/* ===========================
   Buttons
=========================== */

button,
.button {
  font-family: 'Inter-Medium', sans-serif;
  font-size: 17px;
  font-weight: 500;
  padding: 0.75em 1.5em;
  border-radius: 9999px;
  border: none;
  background-color: #000;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.2s ease;
}


button:focus,
.button:focus {
  outline: 2px solid #0071e3;
  outline-offset: 2px;
}

button:active,
.button:active {
  transform: scale(0.98);
}

/* ===========================
   Inputs, Forms
=========================== */

input,
textarea,
select {
  font-family: 'Inter-Regular', sans-serif;
  font-size: 17px;
  padding: 0.5em 0.75em;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  color: #000;
  outline: none;
  transition: border-color 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #0071e3;
  box-shadow: 0 0 0 1px #0071e3;
}

/* ===========================
   Utility Font Classes
=========================== */

.font-thin         { font-family: 'Inter-Thin', sans-serif; font-weight: 100; }
.font-extralight   { font-family: 'Inter-ExtraLight', sans-serif; font-weight: 200; }
.font-light        { font-family: 'Inter-Light', sans-serif; font-weight: 300; }
.font-regular      { font-family: 'Inter-Regular', sans-serif; font-weight: 400; }
.font-medium       { font-family: 'Inter-Medium', sans-serif; font-weight: 500; }
.font-semibold     { font-family: 'Inter-SemiBold', sans-serif; font-weight: 600; }
.font-bold         { font-family: 'Inter-Bold', sans-serif; font-weight: 700; }
.font-extrabold    { font-family: 'Inter-ExtraBold', sans-serif; font-weight: 800; }
.font-black        { font-family: 'Inter-Black', sans-serif; font-weight: 900; }

.italic            { font-style: italic; }

/* ===========================
   Responsive Scaling
=========================== */

@media (max-width: 768px) {
  h1 { font-size: 48px; }
  h2 { font-size: 40px; }
  h3 { font-size: 32px; }
  h4 { font-size: 24px; }
  h5 { font-size: 20px; }
  h6 { font-size: 17px; }
  p  { font-size: 16px; }
}
@media (max-width: 480px) {
  h1 { font-size: 36px; }
  h2 { font-size: 32px; }
  h3 { font-size: 28px; }
  h4 { font-size: 22px; }
  h5 { font-size: 18px; }
  h6 { font-size: 16px; }
  p  { font-size: 15px; }
}