@import "./tokens.css";
@import "./typography.css";

* {
  box-sizing: border-box;
  position: relative;
  -webkit-text-size-adjust: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: no-preference) {
  * {
    scroll-behavior: smooth;
  }
}

html,
body {
  margin: 0;
  padding: 0;
  line-height: 1.8;
}

html {
  text-size-adjust: none;
  font-size: var(--base-size);
  font-variation-settings: normal;
}

body {
  min-height: 100dvh;
  font-size: var(--text-01);
}

#root,
#__next {
  isolation: isolate;
}

h1 {
  margin: 0;
  padding: 0;
  font-weight: 700;
  font-size: var(--text-06);
}

h2 {
  margin: 0;
  padding: 0;
  font-weight: 700;
  font-size: var(--text-05);
}

h3 {
  margin: 0;
  padding: 0;
  font-weight: 700;
  font-size: var(--text-04);
}

h4 {
  margin: 0;
  padding: 0;
  font-weight: 700;
  font-size: var(--text-03);
}

h5 {
  margin: 0;
  padding: 0;
  font-weight: 700;
  font-size: var(--text-02);
}

h6 {
  margin: 0;
  padding: 0;
  font-weight: 700;
  font-size: var(--text-01);
}

p,
b,
strong,
sub,
sup {
  margin: 0;
  padding: 0;
}

b,
strong {
  font-weight: 700;
}

sub,
sup {
  position: relative;
  vertical-align: baseline;
}

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

figure,
article,
img {
  margin: 0;
  padding: 0;
  border-style: none;
}

img {
  max-width: 100%;
  max-height: 100%;
}

hr {
  display: block;
  width: 100%;
  height: 0.125em;
  margin: 0;
  padding: 0;
  border: none;
}
