* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light dark;
  --background: #fafafa;
  --surface: #ffffff;
  --text: #1a1a1a;
  --heading: #111111;
  --muted: #666666;
  --border: #e0e0e0;
  --link: #0066cc;
  --notice-background: #f0f7ff;
  --notice-border: #cce0ff;
}

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

.container {
  width: min(100% - 48px, 720px);
  margin: 0 auto;
  padding: 48px 0 80px;
}

.home {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  text-align: center;
}

.home-card {
  max-width: 620px;
}

h1 {
  margin-bottom: 8px;
  color: var(--heading);
  font-size: clamp(28px, 7vw, 32px);
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--heading);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
}

p,
li {
  margin-bottom: 12px;
  font-size: 16px;
}

ul,
ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

li {
  margin-bottom: 6px;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.updated,
.eyebrow {
  margin-bottom: 40px;
  color: var(--muted);
  font-size: 14px;
}

.home .eyebrow {
  margin-bottom: 12px;
}

.home-description {
  margin: 16px auto 24px;
  color: var(--muted);
}

.home-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
}

.home-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.notice,
.step {
  margin-top: 20px;
  padding: 16px 20px;
  border: 1px solid var(--notice-border);
  border-radius: 8px;
  background: var(--notice-background);
}

.step {
  margin-top: 12px;
  background: var(--surface);
  border-color: var(--border);
}

.step p:last-child,
.notice p:last-child {
  margin-bottom: 0;
}

.footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #111111;
    --surface: #1a1a1a;
    --text: #cccccc;
    --heading: #f0f0f0;
    --muted: #999999;
    --border: #333333;
    --link: #5eb7ff;
    --notice-background: #0a1a2a;
    --notice-border: #1a3a5a;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 32px, 720px);
    padding-top: 32px;
  }
}

