:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #506070;
  --line: #d8e1ea;
  --panel: #f6f9fb;
  --accent: #0f766e;
  --accent-strong: #0b5f59;
  --paper: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: var(--accent-strong);
  overflow-wrap: anywhere;
}

header,
footer {
  padding: 18px clamp(20px, 5vw, 72px);
}

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

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.brand {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 700;
  text-decoration: none;
}

main {
  padding: 0 clamp(20px, 5vw, 72px) 48px;
}

.hero {
  max-width: 920px;
  padding: 64px 0 32px;
}

.eyebrow {
  color: var(--accent-strong);
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1 {
  font-size: 4rem;
  line-height: 1.06;
  letter-spacing: 0;
  margin: 0 0 18px;
  overflow-wrap: anywhere;
}

h2 {
  font-size: 1.2rem;
  letter-spacing: 0;
  margin: 0 0 8px;
}

p {
  max-width: 760px;
}

code {
  background: #edf3f7;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 0.95em;
  padding: 1px 4px;
  overflow-wrap: anywhere;
}

.actions,
.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  display: inline-flex;
  font-weight: 700;
  padding: 10px 14px;
  text-decoration: none;
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.grid {
  align-items: stretch;
  margin-top: 24px;
}

.band {
  border-top: 1px solid var(--line);
  margin-top: 38px;
  padding-top: 32px;
}

article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  flex: 1 1 240px;
  padding: 20px;
}

.page {
  max-width: 920px;
  padding-top: 48px;
}

.page h2 {
  border-top: 1px solid var(--line);
  margin-top: 34px;
  padding-top: 24px;
}

.page li {
  margin: 8px 0;
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  table-layout: fixed;
  margin: 16px 0 0;
  width: 100%;
}

th,
td {
  border: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

th {
  background: #edf3f7;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 760px) {
  header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    display: grid;
    gap: 8px 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  main {
    padding-bottom: 36px;
  }

  .hero,
  .page {
    padding-top: 32px;
  }

  h1 {
    font-size: 2.35rem;
    line-height: 1.12;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    justify-content: center;
  }

  .table-wrap {
    overflow: visible;
  }

  table,
  thead,
  tbody,
  tr,
  th,
  td {
    display: block;
  }

  table {
    border-collapse: separate;
    border-spacing: 0 12px;
  }

  thead {
    clip: rect(0 0 0 0);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }

  tr {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
  }

  td {
    border: 0;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 10px;
    grid-template-columns: 7.5rem minmax(0, 1fr);
  }

  td:first-child {
    border-top: 0;
  }

  td::before {
    color: var(--muted);
    content: attr(data-label);
    font-weight: 700;
  }
}
