@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,600;0,700;0,800;1,800&family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@800&display=swap');

:root {
  color-scheme: light;
  --ink: #20241f;
  --muted: #4b5145;
  --quiet: #565e4d;
  --line: #20241f30;
  --paper: #f1f1e8;
  --store: #252923;
  font-family: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible {
  outline: 3px solid #ff784c;
  outline-offset: 5px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 5;
  padding: 8px 12px;
  background: var(--store);
  color: #fff;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.site-header,
.legal,
.site-footer {
  width: min(100% - 80px, 1100px);
  margin-inline: auto;
}

.site-header {
  padding: 28px 0;
  border-bottom: 1px solid #20241f25;
}

.brand {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 5px;
  font-family: 'Manrope', sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1.2px;
}

.brand-mark {
  display: block;
  width: 24px;
  height: 28px;
  margin-right: 5px;
  background: currentColor;
  mask: url('/hoopser-mark.svg') center / contain no-repeat;
}

.intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: 38px 0 40px;
}

.intro h1 {
  font: 800 clamp(66px, 7vw, 92px) / 0.9 'Barlow Condensed', sans-serif;
  letter-spacing: -1px;
}

.intro p {
  max-width: 280px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.intro p + p { margin-top: 8px; }

.topics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding: 8px 0 20px;
}

.topics h2,
.block h2 {
  font: 600 37px / 1.08 'Barlow Condensed', sans-serif;
  letter-spacing: -0.3px;
}

.topics dl,
.block dl { margin: 29px 0 0; }
.topics dl > div,
.block dl > div {
  padding: 18px 0;
  border-top: 1px solid #20241f20;
}
.topics dt,
.block dt {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.topics dd,
.block dd {
  max-width: 420px;
  margin: 7px 0 0;
  color: var(--quiet);
  font-size: 13px;
  line-height: 1.75;
}

.block {
  padding: 36px 0 12px;
  border-top: 1px solid var(--line);
}

.block p,
.block li {
  max-width: 640px;
  color: var(--quiet);
  font-size: 14px;
  line-height: 1.75;
}

.block p + p,
.block p + ul,
.block ul + p { margin-top: 13px; }
.block h2 + p,
.block h2 + ul { margin-top: 18px; }
.block h3 {
  margin: 22px 0 8px;
  font-size: 14px;
  font-weight: 600;
}
.block ul {
  margin: 0;
  padding-left: 18px;
}
.block li + li { margin-top: 8px; }
.block strong { color: var(--ink); font-weight: 600; }

.mail {
  display: inline-flex;
  align-items: center;
  min-height: 51px;
  margin-top: 20px;
  padding: 8px 16px;
  border-radius: 7px;
  background: var(--store);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  padding: 24px 0;
  border-top: 1px solid #dcded6;
  color: #777b72;
}

.site-footer small { font-size: 11px; }
.site-footer nav {
  display: flex;
  gap: 24px;
  font-size: 12px;
}
.site-footer a:hover { text-decoration: underline; }

@media (max-width: 700px) {
  .site-header,
  .legal,
  .site-footer { width: calc(100% - 40px); }

  .site-header { padding: 23px 0; }
  .brand { font-size: 25px; }

  .intro {
    display: block;
    padding: 28px 0 27px;
  }
  .intro h1 {
    font-size: clamp(64px, 16.8vw, 105px);
    line-height: 0.92;
    letter-spacing: -0.8px;
  }
  .intro p {
    max-width: 280px;
    margin-top: 19px;
    font-size: 12px;
    line-height: 1.6;
  }

  .topics {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 8px;
  }
  .topics h2,
  .block h2 { font-size: 33px; }
  .topics dl,
  .block dl { margin-top: 21px; }
  .topics dl > div,
  .block dl > div { padding: 15px 0; }
  .topics dd,
  .block dd { max-width: none; }

  .block { padding: 27px 0 8px; }
  .block p,
  .block li { font-size: 13px; }

  .mail { width: 100%; justify-content: center; }

  .site-footer {
    margin-top: 25px;
    padding-top: 20px;
  }
  .site-footer nav { gap: 20px; }
}

@media (max-width: 359px) {
  .site-header,
  .legal,
  .site-footer { width: calc(100% - 32px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
