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

:root {
  --brand: #F0556B;
  --brand-dark: #D83E55;
  --text: #1A1A1A;
  --text-secondary: #5C5C5C;
  --text-muted: #8A8A8A;
  --surface: #FFFFFF;
  --surface-elevated: #FFF7F8;
  --border: #EDE4E6;
  --bg: #FFF1F3;
  --radius: 12px;
  --radius-lg: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  padding: 24px 20px 48px;
  max-width: 760px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}

header {
  text-align: center;
  padding: 40px 20px 28px;
  margin-bottom: 8px;
}

.logo {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.1;
}

.logo span {
  color: var(--brand);
}

header .welcome-headline {
  margin-top: 16px;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

header .tagline {
  color: var(--text-secondary);
  font-size: 0.8125rem;
  margin-top: 8px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

nav a:hover,
nav a.active {
  color: var(--text);
  border-color: var(--brand);
  background: var(--surface-elevated);
}

main h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.last-updated {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 24px;
}

.intro-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 28px;
}

.intro-box p {
  color: var(--text-secondary);
}

h2 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--text);
}

h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 18px 0 8px;
  color: var(--text);
}

p,
li {
  color: var(--text-secondary);
  margin-bottom: 12px;
}

ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.references {
  padding-left: 24px;
  margin: 16px 0 24px;
}

.references li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 12px;
}

.references li::marker {
  color: var(--brand-dark);
  font-weight: 700;
}

a {
  color: var(--brand-dark);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 0.875rem;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
}

th,
td {
  border: 1px solid var(--border);
  padding: 12px;
  text-align: left;
}

th {
  background: var(--surface-elevated);
  color: var(--text);
  font-weight: 600;
}

td {
  color: var(--text-secondary);
}

.highlight-box {
  background: rgba(240, 85, 107, 0.08);
  border: 1px solid rgba(240, 85, 107, 0.28);
  border-radius: var(--radius);
  padding: 16px;
  margin: 20px 0;
}

.highlight-box p {
  color: var(--text);
  margin: 0;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 24px 0;
  text-align: center;
}

.contact-card h3 {
  color: var(--text);
  margin-bottom: 8px;
}

.contact-card a {
  font-size: 1.125rem;
  font-weight: 600;
}

.contact-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 8px;
  margin-bottom: 0;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 12px;
}

.faq-item h3 {
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 8px;
}

.faq-item p {
  margin: 0;
}

.support-lede {
  font-size: 1.0625rem;
  margin-bottom: 24px;
}

footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

footer p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.footer-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.8125rem;
}

.footer-links a:hover {
  color: var(--brand);
}
