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

:root {
  --red: #d4380d;
  --text: #1a1a1a;
  --muted: #666;
  --border: #e8e8e8;
  --font: system-ui, -apple-system, 'Segoe UI', sans-serif;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  display: flex;
  flex-direction: column;
  height: 100dvh;
  overflow: hidden;
}

/* ── Header ── */
.site-header {
  flex-shrink: 0;
  padding: 0.75rem 2rem;
  border-bottom: 2px solid var(--red);
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--red);
  text-decoration: none;
}

.tagline {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ── Main ── */
main {
  flex: 1;
  display: flex;
  align-items: stretch;
  min-height: 0;
}

.main-article {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  min-height: 0;
}

/* Left: lead */
.article-header {
  display: flex;
  align-items: center;
  padding: 2.5rem 2.5rem 2.5rem 2rem;
  border-right: 1px solid var(--border);
}

.article-lead {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.7;
  color: #222;
}

/* Right: FAQ */
.faq-section {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 2rem 1.5rem 2.5rem;
  overflow-y: auto;
  min-height: 0;
}

.faq-section h2 {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 1rem;
}

.faq-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--border);
}

.faq-item h3 {
  margin: 0 0 0.3rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

.faq-item p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #444;
}

/* ── Footer ── */
.site-footer {
  flex-shrink: 0;
  padding: 0.6rem 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-footer p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.site-footer a { color: var(--red); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ── Mobile: allow scroll ── */
@media (max-width: 680px) {
  body { height: auto; overflow: auto; }

  .main-article {
    grid-template-columns: 1fr;
  }

  .article-header {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 1.25rem;
  }

  .faq-section {
    padding: 1.25rem;
    overflow-y: visible;
  }

  .site-header { flex-direction: column; gap: 0.1rem; padding: 0.75rem 1.25rem; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 0.2rem; padding: 0.75rem 1.25rem; }
}
