:root {
  --page: #f5f7f8;
  --surface: #ffffff;
  --ink: #162027;
  --muted: #5c6973;
  --line: #d7dee2;
  --dark: #11181d;
  --dark-soft: #1c262d;
  --teal: #0f766e;
  --blue-soft: #e8f0ff;
  --green-soft: #e6f4ef;
  --shadow: 0 18px 50px rgba(16, 24, 30, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--page);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(215, 222, 226, 0.86);
  background: rgba(245, 247, 248, 0.92);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1160px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.brand img {
  width: 42px;
  height: 42px;
  display: block;
}

.brand span {
  font-size: 1.05rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.nav-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  background: var(--surface);
  outline: 2px solid transparent;
}

.page-hero {
  color: #f8fbfc;
  background: linear-gradient(90deg, rgba(17, 24, 29, 0.98) 0%, rgba(17, 24, 29, 0.94) 100%), var(--dark);
}

.hero-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0 84px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: 4.4rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 0;
  color: #d5dde2;
  font-size: 1.12rem;
  line-height: 1.68;
}

.content-band {
  padding: 52px 0 72px;
}

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

.document-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.updated {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin: 0 0 22px;
  padding: 0 12px;
  border: 1px solid #b9dcd5;
  border-radius: 8px;
  color: #0f5f58;
  background: var(--green-soft);
  font-weight: 750;
}

.notice {
  margin: 18px 0 28px;
  padding: 18px;
  border: 1px solid #bfd0ff;
  border-radius: 8px;
  background: var(--blue-soft);
}

.notice p,
p.notice {
  color: #314254;
}

h2 {
  margin: 32px 0 10px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 1.28rem;
  line-height: 1.3;
}

p,
li {
  color: var(--muted);
  line-height: 1.72;
}

p {
  margin-bottom: 1rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.3rem;
}

.document-card a {
  color: var(--teal);
  font-weight: 750;
}

.support-card {
  display: grid;
  gap: 10px;
  margin: 22px 0 28px;
  padding: 20px;
  border: 1px solid #b9dcd5;
  border-radius: 8px;
  background: var(--green-soft);
}

.support-card strong {
  color: var(--ink);
}

.back {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 14px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--page);
  text-decoration: none;
  font-weight: 800;
}

.back:hover,
.back:focus-visible {
  border-color: var(--ink);
  outline: 3px solid rgba(15, 118, 110, 0.16);
}

.footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.footer-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 750;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--ink);
  background: var(--page);
  outline: 2px solid transparent;
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-inner {
    padding: 54px 0 60px;
  }

  h1 {
    font-size: 3rem;
  }

  .document-card {
    padding: 24px 18px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
