:root {
  --background: #ffffff;
  --text: #1f2933;
  --muted: #5f6c7b;
  --primary: #00633D;
  --secondary: #FF757E;
  --border: #e5e7eb;
  --max-width: 860px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
}

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

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

.home-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 48px 0 32px;
  text-align: center;
}

.hero {
  width: 100%;
}

.logo {
  display: block;
  width: min(78vw, 620px);
  height: auto;
  margin: 0 auto 24px;
}

.subtitle {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
}

.status {
  margin: 8px 0 0;
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 600;
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.links a,
.document-page a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.links a:hover,
.document-page a:hover {
  text-decoration: underline;
}

.document-page {
  padding: 48px 0 72px;
}

.document-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.back-link {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h2 {
  margin: 32px 0 8px;
  font-size: 1.25rem;
  color: var(--primary);
}

p {
  margin: 0 0 14px;
}

ul {
  padding-left: 1.2rem;
}

.last-updated {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 520px) {
  .links {
    gap: 12px;
  }

  .links a {
    width: 100%;
  }
}
