:root {
  color-scheme: light;
  --ink: #18333c;
  --muted: #56717a;
  --paper: #f5f8f9;
  --surface: #fff;
  --line: #d3dfe2;
  --teal: #116e77;
  --teal-dark: #095860;
  --coral: #ed805b;
  --blue: #7ab7d7;
  --radius: 14px;
  font-family: ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  min-width: 320px;
}

button,input {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

h1,h2,h3,p {
  margin-top: 0;
}

h1,h2,h3 {
  letter-spacing: -.045em;
}

p {
  line-height: 1.6;
}

.wrap {
  width: min(1120px,calc(100% - 40px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.site-header {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -.04em;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 1.4rem;
}

.header-note,.site-footer {
  font-size: .88rem;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-block: 28px 42px;
  margin-top: 72px;
}

.site-footer span:first-child {
  font-weight: 750;
  color: var(--ink);
}

@media(max-width:600px) {
  .header-note {
    display: none;
  }

  .site-footer {
    flex-direction: column;
    margin-top: 52px;
  }

}
