:root {
  color-scheme: light;
  --ink: #16202c;
  --muted: #5c6b78;
  --line: #dce8e5;
  --surface: #ffffff;
  --soft: #eefaf7;
  --brand: #0f9f8f;
  --brand-dark: #08786d;
}

* {
  box-sizing: border-box;
}

html {
  background: #f6fbfa;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(78, 215, 191, 0.14), transparent 31rem),
    #f6fbfa;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--brand);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(220, 232, 229, 0.9);
  background: rgba(246, 251, 250, 0.91);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  width: min(100% - 32px, 980px);
  min-height: 66px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand span {
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  font-weight: 700;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--brand-dark);
}

main {
  width: min(100% - 32px, 820px);
  margin: 44px auto 72px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(28, 75, 67, 0.07);
}

h1,
h2,
h3 {
  line-height: 1.45;
  letter-spacing: -0.025em;
}

h1 {
  margin: 0 0 28px;
  font-size: clamp(28px, 6vw, 42px);
}

h2 {
  margin: 46px 0 14px;
  padding-top: 4px;
  color: #193a36;
  font-size: clamp(20px, 4vw, 25px);
}

h3 {
  margin: 30px 0 10px;
  font-size: 18px;
}

p {
  margin: 0 0 18px;
}

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

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

strong {
  color: #0b7469;
}

code {
  padding: 0.12em 0.35em;
  border-radius: 6px;
  background: var(--soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  overflow-wrap: anywhere;
}

.table-wrap {
  margin: 18px 0 26px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.65;
}

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

th {
  background: var(--soft);
  color: #244b46;
  font-weight: 750;
}

tr:last-child td {
  border-bottom: 0;
}

.site-footer {
  width: min(100% - 32px, 820px);
  margin: 0 auto 44px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.site-footer__links {
  margin-bottom: 9px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
}

.site-footer a {
  color: var(--muted);
}

@media (max-width: 680px) {
  .site-header__inner {
    min-height: 58px;
  }

  .site-nav a:not(:last-child) {
    display: none;
  }

  main {
    margin-top: 22px;
    padding: 27px 22px 34px;
    border-radius: 20px;
  }

  h1 {
    margin-bottom: 22px;
  }

  h2 {
    margin-top: 38px;
  }
}
