:root {
  color-scheme: light;
  --ink: #0b0b0b;
  --muted: #6f6f6f;
  --line: #e5e5e5;
  --panel: #f7f7f7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header,
.legal-page,
.site-footer {
  width: min(920px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.brand {
  text-decoration: none;
}

.brand-logo {
  width: 94px;
  height: 44px;
  display: block;
  object-fit: contain;
}

.back {
  color: var(--muted);
  text-decoration: none;
}

.legal-page {
  padding: 76px 0 90px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 72px;
}

.page-aside {
  align-self: start;
  position: sticky;
  top: 28px;
}

.page-aside p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.page-aside span {
  color: var(--muted);
  font-size: 12px;
}

.page-content {
  min-width: 0;
}

h1 {
  margin: 0 0 22px;
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 470;
  letter-spacing: -0.055em;
  line-height: 1;
}

.intro {
  margin: 0 0 52px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

h3 {
  margin: 20px 0 8px;
  font-size: 14px;
}

p,
li,
address {
  color: #4f4f4f;
  font-size: 14px;
  line-height: 1.7;
}

p {
  margin: 0 0 12px;
}

ul,
ol {
  margin: 12px 0 0;
  padding-left: 22px;
}

li + li {
  margin-top: 7px;
}

.contact-card {
  padding: 22px;
  background: var(--panel);
  border-radius: 14px;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.contact-card address {
  font-style: normal;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.service-list a {
  padding: 18px;
  background: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.service-list a:hover {
  background: var(--panel);
}

.site-footer {
  padding: 28px 0 40px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a {
  text-decoration: none;
}

@media (max-width: 720px) {
  .site-header,
  .legal-page,
  .site-footer {
    width: min(100% - 28px, 920px);
  }

  .site-header {
    height: 64px;
  }

  .legal-page {
    padding: 54px 0 64px;
    display: block;
  }

  .page-aside {
    margin-bottom: 28px;
    position: static;
  }

  h1 {
    font-size: 46px;
  }

  .intro {
    margin-bottom: 42px;
    font-size: 15px;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
