:root {
  --seo-ink: #28323c;
  --seo-muted: #66717d;
  --seo-brand: #087a63;
  --seo-brand-dark: #05604e;
  --seo-accent: #e75c32;
  --seo-line: #dbe3e8;
  --seo-soft: #f3f8f6;
  --seo-warn: #fff8e8;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-wrap: anywhere;
}

.contents {
  color: var(--seo-ink);
}

.contents.seo-enhanced {
  box-sizing: border-box;
  padding: 22px 26px 32px;
}

.contents.seo-enhanced > h1 {
  margin-bottom: 24px;
}

.contents.seo-enhanced > h2 {
  margin-top: 34px;
  margin-bottom: 14px;
}

.contents.seo-enhanced > h3 {
  margin-top: 26px;
  margin-bottom: 10px;
}

.contents.seo-enhanced > p,
.contents.seo-enhanced > ul,
.contents.seo-enhanced > ol {
  margin-bottom: 18px;
}

.contents.seo-enhanced > .seo-faq {
  margin: 18px 0 28px;
}

.seo-lead {
  font-size: 1.08rem;
  line-height: 1.85;
}

.seo-disclosure,
.seo-meta,
.seo-note,
.seo-summary,
.seo-source-box,
.seo-author-box {
  box-sizing: border-box;
  margin: 18px 0;
  padding: 14px 16px;
  border: 1px solid var(--seo-line);
  border-radius: 8px;
  background: #fff;
}

.seo-disclosure {
  border-left: 5px solid var(--seo-accent);
  background: var(--seo-warn);
  font-size: 0.9rem;
}

.seo-meta {
  color: var(--seo-muted);
  background: #f8fafb;
  font-size: 0.86rem;
}

.seo-summary {
  border-left: 5px solid var(--seo-brand);
  background: var(--seo-soft);
}

.seo-summary > :first-child,
.seo-source-box > :first-child,
.seo-author-box > :first-child {
  margin-top: 0;
}

.seo-summary ul,
.seo-source-box ul,
.seo-checklist,
.seo-numbered {
  margin: 10px 0 10px 1.4em;
}

.seo-summary li,
.seo-source-box li,
.seo-checklist li,
.seo-numbered li {
  margin: 0.45em 0;
  list-style: disc;
}

.seo-numbered li {
  list-style: decimal;
}

.seo-table-wrap {
  width: 100%;
  margin: 18px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.seo-table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.92rem;
}

.seo-table th,
.seo-table td {
  padding: 11px 10px;
  border: 1px solid var(--seo-line);
  text-align: left;
  vertical-align: top;
}

.seo-table th {
  background: #eaf4f1;
  color: #18483d;
}

.seo-table tbody tr:nth-child(even) {
  background: #fafcfd;
}

.seo-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.seo-card {
  box-sizing: border-box;
  padding: 18px;
  border: 1px solid var(--seo-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 12px rgb(40 50 60 / 7%);
}

.seo-card h2,
.seo-card h3 {
  position: static;
  width: auto;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 1.15rem;
}

.seo-card h2::first-letter {
  margin: 0;
  font-size: inherit;
}

.seo-tag {
  display: inline-block;
  margin: 0 6px 6px 0;
  padding: 3px 9px;
  border-radius: 999px;
  background: #e7f3ef;
  color: var(--seo-brand-dark);
  font-size: 0.8rem;
  font-weight: 700;
}

.seo-price {
  color: var(--seo-accent);
  font-size: 1.35rem;
  font-weight: 700;
}

.seo-cta,
.seo-cta:visited {
  display: inline-block;
  box-sizing: border-box;
  margin: 8px 0;
  padding: 11px 18px;
  border-radius: 6px;
  background: var(--seo-brand);
  color: #fff !important;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.seo-cta:hover,
.seo-cta:focus {
  background: var(--seo-brand-dark);
  text-decoration: underline;
}

.seo-cta-secondary,
.seo-cta-secondary:visited {
  background: #fff;
  color: var(--seo-brand-dark) !important;
  border: 2px solid var(--seo-brand);
}

.seo-path {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0;
  padding: 0;
}

.seo-path li {
  list-style: none;
}

.seo-path li:not(:last-child)::after {
  margin-left: 8px;
  content: "→";
  color: var(--seo-muted);
}

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

.seo-faq summary {
  cursor: pointer;
  font-weight: 700;
}

.seo-update-link {
  margin-top: 12px;
  font-size: 0.86rem;
}

.seo-footer-links {
  margin: 0 0 8px;
  text-align: center;
  font-style: normal;
}

.seo-footer-links a {
  margin: 0 6px;
  color: #fff;
}

.seo-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 700px) {
  .contents.seo-enhanced {
    width: calc(100% - 24px);
    margin-right: auto;
    margin-left: auto;
    padding: 16px 14px 24px;
  }

  .contents.seo-enhanced > h1 {
    width: auto;
    margin-right: 0;
    margin-left: 0;
  }

  .contents.seo-enhanced > h2 {
    margin-top: 28px;
  }

  .seo-card-grid {
    grid-template-columns: 1fr;
  }

  .seo-table {
    min-width: 620px;
  }

  .seo-cta {
    display: block;
    width: 100%;
  }

  .seo-disclosure,
  .seo-meta,
  .seo-note,
  .seo-summary,
  .seo-source-box,
  .seo-author-box,
  .seo-card {
    padding: 12px;
  }
}
