:root {
  color-scheme: light;
  --page: #f4f7f8;
  --surface: #ffffff;
  --ink: #12181b;
  --muted: #526067;
  --line: #d7dfe2;
  --accent: #3f6f79;
  --accent-strong: #244f58;
  --lime: #96c93d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
  line-height: 1.7;
}

a {
  color: var(--accent-strong);
  text-underline-offset: 3px;
}

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

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.site-header__inner,
main,
.site-footer__inner {
  width: min(100% - 40px, 820px);
  margin: 0 auto;
}

.site-header__inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 11px;
  box-shadow: 0 5px 18px rgba(18, 24, 27, 0.18);
}

.brand strong,
.brand span {
  display: block;
}

.brand > span {
  min-width: 0;
}

.brand strong {
  font-size: 19px;
  line-height: 1.2;
}

.brand span {
  color: var(--muted);
  font-size: 13px;
}

.platform-badge {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  padding: 5px 10px;
  white-space: nowrap;
}

main {
  min-height: calc(100vh - 160px);
  padding: 52px 0 70px;
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 8px;
  text-transform: uppercase;
}

h1,
h2 {
  letter-spacing: 0;
}

h1 {
  font-size: clamp(32px, 6vw, 46px);
  line-height: 1.18;
  margin: 0;
}

h2 {
  border-top: 1px solid var(--line);
  font-size: 21px;
  line-height: 1.35;
  margin: 38px 0 10px;
  padding-top: 30px;
}

h3 {
  font-size: 17px;
  margin: 24px 0 6px;
}

p,
li {
  color: var(--muted);
  font-size: 16px;
}

ul,
ol {
  padding-left: 1.4em;
}

.lead {
  color: #2b383d;
  font-size: 18px;
  margin: 18px 0 0;
}

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

.contact-link {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--lime);
  display: flex;
  font-size: 17px;
  font-weight: 700;
  justify-content: space-between;
  margin-top: 14px;
  padding: 16px 18px;
  text-decoration: none;
}

.link-list {
  border-top: 1px solid var(--line);
  margin-top: 34px;
}

.link-list a {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  font-weight: 700;
  justify-content: space-between;
  padding: 17px 0;
  text-decoration: none;
}

.english {
  margin-top: 56px;
}

.site-footer {
  background: #172025;
  color: #eaf0f1;
}

.site-footer__inner {
  padding: 24px 0;
}

.site-footer p {
  color: #b8c4c8;
  font-size: 13px;
  margin: 0;
}

@media (max-width: 520px) {
  .site-header__inner,
  main,
  .site-footer__inner {
    width: min(100% - 28px, 820px);
  }

  main {
    padding-top: 38px;
  }

  .brand img {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
  }

  .brand span span {
    font-size: 12px;
  }

  .platform-badge {
    flex: 0 0 auto;
  }

  .contact-link {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  a {
    transition: color 160ms ease, border-color 160ms ease;
  }
}
