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

:root {
  --cream: #F5EDD6;
  --ink:   #1A1A14;
  --ink-muted: #4A4A3A;
  --border: #C8BFA0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--cream);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  min-height: 100vh;
}

.site-wrapper {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* Header */
.site-header {
  border-bottom: 2px solid var(--ink);
  padding-bottom: 24px;
  margin-bottom: 48px;
}

.site-header .app-name {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-header .app-tagline {
  font-size: 0.95rem;
  color: var(--ink-muted);
  margin-top: 4px;
}

.site-nav {
  margin-top: 16px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.9rem;
}

.site-nav a:hover {
  opacity: 0.65;
}

/* Page title */
h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.last-updated {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 40px;
}

/* Sections */
section {
  margin-bottom: 36px;
}

h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

p {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

p:last-child {
  margin-bottom: 0;
}

/* English summary box */
.en-summary {
  margin-top: 48px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.en-summary h2 {
  border-bottom: none;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.en-summary p {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* FAQ */
.faq-list {
  list-style: none;
}

.faq-list li {
  margin-bottom: 24px;
}

.faq-list .q {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.faq-list .a {
  font-size: 0.92rem;
  color: var(--ink-muted);
}

/* Contact */
.contact-block {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.95rem;
}

.contact-block a {
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: 3px;
}

/* Index hero */
.hero {
  padding: 48px 0 40px;
}

.hero h1 {
  font-size: 2.2rem;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.hero .subtitle {
  font-size: 1.05rem;
  color: var(--ink-muted);
  margin-bottom: 24px;
}

.hero .description {
  font-size: 0.95rem;
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-links a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 0.95rem;
}

.hero-links a:hover {
  opacity: 0.65;
}

/* Footer */
.site-footer {
  margin-top: 64px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--ink-muted);
}

/* Responsive */
@media (max-width: 480px) {
  .site-wrapper {
    padding: 32px 16px 64px;
  }

  .hero h1 {
    font-size: 1.75rem;
  }
}
