/* styles.css */
:root{
  --font-base: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", sans-serif;

  --text: #0F172A;
  --muted: #475569;
  --bg: #ffffff;
  --line: rgba(15,23,42,.10);
  --max: 1160px;
}

*,
*::before,
*::after{
  box-sizing: border-box;
}

html{
  font-family: var(--font-base);
  scroll-behavior: smooth;
}

body{
  margin: 0;
  font-family: var(--font-base);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img, svg, video{
  max-width: 100%;
  height: auto;
}

.container{
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

h1, h2, h3, h4{
  color: var(--text);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

p{
  margin: 0 0 1rem;
  color: var(--muted);
}

ul, ol{
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--muted);
}

li{
  margin: 0.35rem 0;
}

a{
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

a:hover{
  text-decoration-thickness: 2px;
}

input, select, textarea, button{
  font: inherit;
}

:focus-visible{
  outline: 3px solid rgba(48,146,167,.35);
  outline-offset: 2px;
}

.page{
  max-width: 900px;
  margin: 48px auto;
  padding: 0 16px;
}

hr{
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}
