:root {
  color-scheme: light;
  --bg: #f7f9fb;
  --panel: #ffffff;
  --text: #17202a;
  --muted: #5d6b7a;
  --line: #dce5ef;
  --accent: #246b68;
  --accent-soft: #e7f3f1;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: var(--accent);
}

.page {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
}

header {
  padding: 28px 0 18px;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand-title {
  margin: 0;
  font-size: clamp(28px, 6vw, 46px);
  line-height: 1.05;
  letter-spacing: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--panel);
  color: var(--muted);
  font-size: 14px;
}

nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
}

nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
}

main {
  padding: 10px 0 44px;
}

.hero,
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(18px, 4vw, 28px);
}

.hero {
  margin-bottom: 18px;
}

.hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.card {
  margin: 14px 0;
}

.card h2,
.card h3 {
  margin-top: 0;
}

.note {
  background: var(--accent-soft);
  border-color: #c9e4df;
}

.meta {
  color: var(--muted);
  font-size: 14px;
}

.button-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.button.secondary {
  background: var(--panel);
  color: var(--accent);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 15px;
}

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

th {
  background: #eef4f7;
}

footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 34px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 720px) {
  .grid {
    grid-template-columns: 1fr;
  }

  nav a,
  .button {
    width: 100%;
    justify-content: center;
  }

  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
