:root {
  --ffp-ink: #102033;
  --ffp-muted: #5d6b7c;
  --ffp-line: #d9e5ef;
  --ffp-blue: #2f7df6;
  --ffp-mint: #2fd7b5;
  --ffp-paper: #ffffff;
  --ffp-soft: #f5fbff;
}

* {
  box-sizing: border-box;
}

body.content-body {
  margin: 0;
  min-height: 100vh;
  color: var(--ffp-ink);
  background: linear-gradient(180deg, #f8fcff 0%, #eefaf7 100%);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

.content-header {
  border-bottom: 1px solid var(--ffp-line);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
}

.content-nav {
  width: min(1080px, calc(100% - 32px));
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.content-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ffp-ink);
  font-weight: 800;
  text-decoration: none;
}

.content-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.content-brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  white-space: nowrap;
}

.content-brand-pdf {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 1px 7px 2px;
  border-radius: 999px 999px 999px 7px;
  background: linear-gradient(135deg, #1da3fe 0%, #00f5bf 100%);
  color: #fff;
  font-size: 0.72em;
  line-height: 1;
  font-weight: 900;
  box-shadow: 0 7px 18px rgba(29, 163, 254, 0.22);
  transform: translateY(-1px) rotate(-2deg);
}

.content-nav a:not(.content-brand) {
  color: var(--ffp-blue);
  font-weight: 700;
  text-decoration: none;
}

.content-shell {
  width: min(860px, calc(100% - 32px));
  margin: 48px auto 72px;
}

.content-page {
  background: var(--ffp-paper);
  border: 1px solid var(--ffp-line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(24, 80, 112, 0.08);
  padding: clamp(24px, 5vw, 56px);
}

.content-page h1 {
  margin: 0 0 18px;
  color: var(--ffp-ink);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.content-page h2,
.content-page h3,
.content-page h4 {
  margin: 2.2em 0 0.7em;
  line-height: 1.2;
  letter-spacing: 0;
}

.content-page h2 {
  font-size: 1.65rem;
}

.content-page h3 {
  font-size: 1.28rem;
}

.content-page p,
.content-page ul,
.content-page ol,
.content-page blockquote {
  margin: 0 0 1.1em;
}

.content-page a {
  color: var(--ffp-blue);
  font-weight: 700;
}

.content-page .inline-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25em;
  height: 1.25em;
  margin: 0 0.08em;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--ffp-blue), var(--ffp-mint));
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78em;
  font-weight: 900;
  line-height: 1;
  vertical-align: 0.08em;
}

.content-page .inline-icon-cross,
.content-page .inline-icon-warning {
  background: linear-gradient(135deg, #9f2c3d, #e05d6f);
}

.content-page .inline-icon-info,
.content-page .inline-icon-tip {
  background: linear-gradient(135deg, #0d6473, var(--ffp-mint));
}

.content-page .inline-icon-arrow-right,
.content-page .inline-icon-download,
.content-page .inline-icon-upload,
.content-page .inline-icon-lock {
  background: linear-gradient(135deg, #34495e, var(--ffp-blue));
}

.content-page img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.content-page img.inline-image-icon {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  max-width: 1.25em;
  margin: 0 0.14em;
  border-radius: 0;
  object-fit: contain;
  vertical-align: -0.18em;
}

.content-page figure {
  margin: 28px 0;
}

.content-page figure.image-align-left {
  text-align: left;
}

.content-page figure.image-align-center {
  text-align: center;
}

.content-page figure.image-align-right {
  text-align: right;
}

.content-page figure a {
  display: inline;
}

.content-page figcaption {
  margin-top: 8px;
  color: var(--ffp-muted);
  font-size: 0.94rem;
}

.content-page blockquote {
  border-left: 4px solid var(--ffp-mint);
  padding: 14px 18px;
  background: var(--ffp-soft);
  color: #314456;
}

.quick-list {
  padding: 18px 20px;
  border: 1px solid var(--ffp-line);
  border-radius: 8px;
  background: #f8fcff;
}

.key-takeaways {
  margin: 0 0 28px;
  padding: 20px 22px;
  border: 1px solid rgba(47, 215, 181, 0.42);
  border-radius: 8px;
  background: linear-gradient(135deg, #f5fbff, #effaf7);
}

.key-takeaways h2 {
  margin-top: 0;
}

.key-takeaways ul,
.key-takeaways ol {
  margin-bottom: 0;
}

.article-toc {
  margin: 0 0 34px;
  padding: 18px 20px;
  border: 1px solid var(--ffp-line);
  border-radius: 8px;
  background: #fbfdff;
}

.article-toc h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.article-toc ol {
  margin: 0;
  padding-left: 1.35rem;
  columns: 2;
  column-gap: 34px;
}

.article-toc li {
  break-inside: avoid;
  margin: 0 0 0.35rem;
}

.faq-section {
  margin-top: 3rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--ffp-line);
}

.faq-section details {
  border: 1px solid var(--ffp-line);
  border-radius: 8px;
  background: #fff;
  margin: 0 0 10px;
  padding: 14px 16px;
}

.faq-section summary {
  cursor: pointer;
  color: var(--ffp-ink);
  font-weight: 800;
}

.faq-section details > :last-child {
  margin-bottom: 0;
}

.guide-step {
  margin-top: 2rem;
}

.image-placeholder {
  margin: 1.2rem 0 1.6rem;
  border: 2px dashed #b8d7e9;
  border-radius: 8px;
  background: linear-gradient(135deg, #f5fbff, #effaf7);
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #496276;
  padding: 22px;
  font-weight: 700;
}

.content-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 28px;
  color: var(--ffp-muted);
  font-size: 0.95rem;
}

.content-excerpt {
  margin: 0 0 30px;
  color: #314456;
  font-size: 1.14rem;
}

.notice {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid #b6eee0;
  border-radius: 7px;
  color: #075f4e;
  background: #e7fbf5;
  font-weight: 700;
}

.content-footer {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0 44px;
  color: var(--ffp-muted);
  font-size: 0.92rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}

.footer-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links a {
  color: var(--ffp-blue);
  font-weight: 800;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.legal-page section {
  scroll-margin-top: 90px;
}

.legal-page ul {
  padding-left: 1.35rem;
}

.legal-updated {
  margin-top: 2.4rem;
  color: var(--ffp-muted);
  font-size: 0.95rem;
  font-weight: 700;
}

@media (max-width: 700px) {
  .content-nav {
    min-height: 62px;
  }

  .content-shell {
    margin-top: 24px;
  }

  .article-toc ol {
    columns: 1;
  }
}
