:root {
  --bg: #f4f3ee;
  --ink: #171717;
  --blue: #11acf7;
  --muted: #8c8c8c;
  --line: #c6c6c6;
  --nav-line: #0069b9;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); }
body {
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.page { max-width: 1440px; margin: 0 auto; }

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 80px;
  padding: 20px 40px;
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--bg);
}
.logo { width: 220px; height: auto; display: block; }
nav { display: flex; align-items: center; gap: 40px; }
nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  height: 25px;
  font-family: Manrope, Inter, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 16px;
}
nav a.active {
  color: var(--blue);
  font-weight: 800;
  border-bottom: 1px solid var(--nav-line);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  background: var(--ink);
  color: var(--bg);
  font-family: Manrope, Inter, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 16px;
  text-transform: capitalize;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
}
.header-actions { display: flex; align-items: center; gap: 40px; }
.menu {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.doc { padding: 40px 40px 64px; }
.doc h1 {
  font-family: Manrope, Inter, sans-serif;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  max-width: 900px;
}
.doc .date {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.5;
}
.doc .prose {
  max-width: 860px;
  margin-top: 32px;
}
.doc h2 {
  font-family: Manrope, Inter, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  margin: 32px 0 12px;
}
.doc p,
.doc li {
  font-size: 16px;
  line-height: 1.5;
}
.doc p + p,
.doc ul + p,
.doc p + ul,
.doc .table-wrap + p { margin-top: 12px; }
.doc ul { margin: 12px 0 0 20px; }
.doc li + li { margin-top: 8px; }
.doc a { color: var(--blue); text-decoration: underline; }
.doc .lead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
  margin-top: 28px;
}
.doc .lead p + p { margin-top: 16px; }
.doc .cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.doc .card {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.doc .card h2 { margin-top: 0; }
.doc .meta {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}
.doc figure {
  margin: 28px 0 8px;
  max-width: 720px;
}
.doc figure.wide { max-width: 860px; }
.doc figure.portrait { max-width: 420px; }
.doc figure img {
  display: block;
  width: 100%;
  height: auto;
}
.doc figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}
.table-wrap { margin-top: 12px; overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.4;
}
th, td {
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  padding: 10px 16px 10px 0;
}
th {
  font-family: Manrope, Inter, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

footer {
  border-top: 1px solid var(--line);
  padding: 30px 40px;
}
.foot-top { display: flex; justify-content: space-between; gap: 40px; }
.brand { max-width: 540px; }
.brand .logo { margin-bottom: 20px; }
.brand h2 {
  font-family: Manrope, Inter, sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 4px;
}
.brand p { font-size: 16px; line-height: 1.5; margin-bottom: 28px; }
.cols { display: flex; gap: 80px; }
.cols h3 {
  font-family: Manrope, Inter, sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-bottom: 1px solid #000;
  padding: 10px 0;
  margin-bottom: 8px;
  min-width: 159px;
}
.cols a, .cols p { display: block; font-size: 16px; line-height: 1.3; padding-bottom: 8px; }
.cols p { max-width: 280px; }
.social, .legal {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.5;
}
.legal {
  font-family: Raleway, Inter, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}
.legal a { color: inherit; text-decoration: underline; }

@media (max-width: 1100px) {
  .menu { display: block; background: var(--ink); }
  .menu path { stroke: var(--bg); }
  nav { display: none; }
  nav.open {
    display: flex;
    order: 3;
    flex: 1 0 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 0 0;
    background: var(--bg);
  }
  header { flex-wrap: wrap; height: auto; padding: 20px; }
  .doc { padding: 40px 20px; }
  footer { padding: 30px 20px; }
  .brand { max-width: 334px; }
}
@media (max-width: 720px) {
  header { padding: 20px; }
  header .logo { width: 190px; }
  .header-actions .btn { display: none; }
  .doc { padding: 20px; }
  .doc h1 { font-size: 30px; }
  .doc .lead,
  .doc .cards { grid-template-columns: 1fr; }
  footer { padding-left: 20px; padding-right: 20px; }
  .foot-top, .cols { flex-direction: column; align-items: flex-start; gap: 20px; }
  .brand { max-width: none; }
  .social, .legal {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .legal { gap: 10px; }
}
