/* naosuu — article & FAQ pages — matches homepage design system */

:root {
  --navy:    #00046D;
  --crimson: #C3003F;
  --blue:    #1A9CD6;
  --ink:     #121626;
  --muted:   #5E6474;
  --sub:     #404558;
  --line:    #D9DFEA;
  --soft:    #F5F7FB;
  --white:   #FFFFFF;
}

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}

/* ── Nav — matches homepage exactly ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-family: "Quicksand", Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.brand-logo {
  width: 48px;
  height: 36px;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #303748;
  font-size: 0.93rem;
  font-weight: 500;
}

.nav-links a {
  text-decoration: none;
  color: inherit;
  border-bottom: 2px solid transparent;
  padding: 4px 0;
  transition: border-color 0.15s, color 0.15s;
}

.nav-links a:hover {
  border-color: var(--blue);
  color: var(--navy);
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 8px;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  background: var(--crimson);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
}

.btn-nav:hover { background: #a80035; }

/* ── Page header — dark navy hero strip ── */
.page-header {
  background: var(--navy);
  padding: 56px 0 52px;
}

.ph-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.48);
  text-decoration: none;
  margin-bottom: 22px;
  letter-spacing: 0.01em;
  transition: color 0.15s;
}

.article-back::before { content: "← "; }
.article-back:hover { color: rgba(255, 255, 255, 0.85); }

.page-header h1 {
  font-family: "Poppins", Arial, sans-serif;
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--white);
  margin: 0 0 18px;
  text-wrap: balance;
}

.article-lead {
  font-size: 1.0625rem;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* ── Article body ── */
.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 52px 24px 88px;
}

.article-body h2 {
  font-family: "Poppins", Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  margin: 44px 0 12px;
  text-wrap: balance;
  padding-left: 12px;
  border-left: 3px solid var(--crimson);
}

.article-body > h2:first-child { margin-top: 0; }

.article-body h3 {
  font-family: "Poppins", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 28px 0 8px;
}

.article-body p {
  color: var(--sub);
  font-size: 0.9375rem;
  line-height: 1.8;
  margin: 0 0 16px;
}

.article-body ol,
.article-body ul {
  padding-left: 22px;
  margin: 0 0 18px;
}

.article-body li {
  color: var(--sub);
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-bottom: 8px;
}

/* Inline Q&A (DL) inside articles */
.article-body dl { margin: 32px 0 0; }

.article-body dt {
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  margin: 24px 0 8px;
}

.article-body dd {
  margin: 0;
  padding-left: 14px;
  border-left: 2px solid var(--line);
  color: var(--sub);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ── CTA block ── */
.article-cta {
  margin-top: 56px;
  background: var(--navy);
  border-radius: 12px;
  padding: 36px 40px;
  text-align: center;
}

.article-cta h3 {
  font-family: "Poppins", Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 10px;
  line-height: 1.3;
}

.article-cta p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 24px;
  line-height: 1.65;
}

.btn-crimson {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 24px;
  border-radius: 8px;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  background: var(--crimson);
  text-decoration: none;
  transition: background 0.15s;
}

.btn-crimson:hover { background: #a80035; }

/* ── FAQ page ── */
.faq-intro {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.0625rem;
  line-height: 1.78;
  margin: 0;
}

.faq-section {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 88px;
}

.faq-list { display: flex; flex-direction: column; }

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}

.faq-item:first-child { padding-top: 0; }
.faq-item:last-child { border-bottom: none; padding-bottom: 0; }

.faq-question {
  font-family: "Poppins", Arial, sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 10px;
  line-height: 1.4;
}

.faq-answer {
  font-size: 0.9375rem;
  color: var(--sub);
  line-height: 1.78;
  margin: 0;
}

.faq-answer a {
  color: var(--navy);
  font-weight: 600;
  text-underline-offset: 3px;
}

/* ── Footer ── */
.site-footer {
  background: var(--soft);
  border-top: 1px solid var(--line);
  padding: 20px 24px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 20px;
  font-size: 0.8125rem;
  color: var(--muted);
}

.footer-inner a {
  color: var(--muted);
  text-decoration: none;
}

.footer-inner a:hover { color: var(--navy); }

/* ── Mobile ── */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .page-header { padding: 40px 0 36px; }
  .ph-inner,
  .article-body,
  .faq-section { padding-left: 16px; padding-right: 16px; }
  .article-body { padding-top: 36px; padding-bottom: 64px; }
  .faq-section { padding-top: 36px; padding-bottom: 64px; }
  .article-cta { padding: 28px 24px; }
}
