@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/plus-jakarta-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/plus-jakarta-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url(fonts/source-serif-4-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url(fonts/source-serif-4-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --emerald-dark: #0f4c3a;
  --emerald: #1b6b52;
  --emerald-soft: #eaf3ef;
  --copper: #b85d3b;
  --copper-soft: #fdf3ee;
  --bg: #f4f7f5;
  --surface: #ffffff;
  --surface-alt: #f9fbfa;
  --ink: #16201c;
  --ink-soft: #31403a;
  --muted: #51605a;
  --border: #dce3df;
  --border-strong: #c5d1cb;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 76, 58, 0.05), 0 4px 14px rgba(15, 76, 58, 0.04);
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --max-w: 1140px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--emerald);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

a:hover {
  color: var(--emerald-dark);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 2px;
  border-radius: 4px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  color: var(--emerald-dark);
  line-height: 1.22;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 {
  font-size: clamp(1.85rem, 3.6vw, 2.65rem);
  letter-spacing: -0.015em;
}

h2 {
  font-size: clamp(1.38rem, 2.4vw, 1.8rem);
  margin-top: 2.1em;
  padding-top: 0.25em;
}

h3 {
  font-size: 1.18rem;
  font-weight: 600;
  margin-top: 1.5em;
  color: var(--ink);
}

p {
  margin: 0 0 1.05em;
  color: var(--ink-soft);
}

ul,
ol {
  margin: 0 0 1.15em;
  padding-left: 1.3em;
  color: var(--ink-soft);
}

li {
  margin: 0.35em 0;
}

strong {
  color: var(--ink);
  font-weight: 600;
}

.sp-wrap {
  width: min(var(--max-w), 100% - 32px);
  margin-inline: auto;
}

/* Skip link */
.sp-skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--emerald-dark);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  z-index: 200;
  text-decoration: none;
  font-size: 14px;
}

.sp-skip:focus {
  left: 16px;
}

/* Header */
.sp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.sp-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding: 10px 0;
}

.sp-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--emerald-dark);
  flex-shrink: 0;
}

.sp-brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--emerald-soft);
  border: 1px solid #cce0d7;
  display: grid;
  place-items: center;
  color: var(--emerald-dark);
}

.sp-brand__text strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--emerald-dark);
}

.sp-brand__text small {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 500;
}

.sp-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.sp-nav__links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sp-nav__links a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.sp-nav__links a:hover,
.sp-nav__links a[aria-current='page'] {
  color: var(--emerald-dark);
  border-bottom-color: var(--emerald);
}

.sp-btn-shop {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--emerald-dark);
  color: #ffffff !important;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 999px;
  white-space: nowrap;
  border: 1px solid var(--emerald-dark);
  transition: background 0.15s ease, transform 0.12s ease;
}

.sp-btn-shop:hover {
  background: var(--emerald);
  border-color: var(--emerald);
}

.sp-nav-mobile {
  display: none;
}

@media (max-width: 980px) {
  .sp-nav__links {
    display: none;
  }

  .sp-nav-mobile {
    display: block;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
  }

  .sp-nav-mobile summary {
    list-style: none;
    cursor: pointer;
    padding: 10px 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--emerald-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .sp-nav-mobile summary::-webkit-details-marker {
    display: none;
  }

  .sp-nav-mobile__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    gap: 6px 14px;
    list-style: none;
    margin: 0;
    padding: 4px 0 14px;
  }

  .sp-nav-mobile__list a {
    display: block;
    padding: 5px 0;
    font-size: 0.92rem;
    text-decoration: none;
    color: var(--ink-soft);
  }
}

@media (max-width: 520px) {
  .sp-brand__text small {
    display: none;
  }

  .sp-btn-shop {
    padding: 7px 12px;
    font-size: 0.84rem;
  }
}

/* Hero */
.sp-hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  padding: 36px 0 32px;
}

.sp-hero__inner {
  max-width: 820px;
}

.sp-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 12px;
}

.sp-breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.sp-breadcrumbs a:hover {
  color: var(--emerald-dark);
  text-decoration: underline;
}

.sp-breadcrumbs span[aria-hidden='true'] {
  color: var(--border-strong);
}

.sp-lead {
  font-size: clamp(1.04rem, 1.5vw, 1.18rem);
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.sp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.sp-meta li {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.sp-meta li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--copper);
}

/* Two-column editorial layout */
.sp-main {
  padding: 34px 0 56px;
}

.sp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 38px;
  align-items: start;
}

.sp-layout--single {
  grid-template-columns: minmax(0, 820px);
}

.sp-article {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3.5vw, 38px);
  box-shadow: var(--shadow-sm);
}

.sp-article > *:first-child {
  margin-top: 0;
}

.sp-aside {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sp-toc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.sp-toc-card__title {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}

.sp-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sp-toc-list li {
  margin: 0;
  border-bottom: 1px solid #eef2f0;
}

.sp-toc-list li:last-child {
  border-bottom: none;
}

.sp-toc-list a {
  display: block;
  padding: 7px 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-decoration: none;
}

.sp-toc-list a:hover {
  color: var(--emerald-dark);
}

.sp-toc-inline {
  display: none;
}

@media (max-width: 960px) {
  .sp-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .sp-aside {
    position: static;
    order: 2;
  }

  .sp-aside .sp-toc-card {
    display: none;
  }

  .sp-toc-inline {
    display: block;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    margin: 18px 0 24px;
  }

  .sp-toc-inline .sp-toc-card__title {
    margin-bottom: 6px;
  }
}

/* Key takeaways */
.sp-key-box {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-left: 4px solid var(--emerald);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 18px 22px 14px;
  margin: 0 0 24px;
}

.sp-key-box__title {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--emerald-dark);
  margin: 0 0 10px;
}

.sp-key-box ul {
  margin: 0;
  padding-left: 1.2em;
}

.sp-key-box li {
  margin: 0.45em 0;
}

/* Tables */
.sp-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 18px 0 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

table.sp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  line-height: 1.5;
  text-align: left;
  background: var(--surface);
}

.sp-table thead th {
  background: var(--emerald-soft);
  color: var(--emerald-dark);
  font-weight: 700;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-strong);
  white-space: nowrap;
}

.sp-table tbody td {
  padding: 11px 14px;
  border-bottom: 1px solid #edf2ef;
  vertical-align: top;
  color: var(--ink-soft);
}

.sp-table tbody tr:last-child td {
  border-bottom: none;
}

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

.sp-table-note {
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: -14px;
  margin-bottom: 22px;
}

/* Red flag / emergency alert */
.sp-alert {
  background: var(--copper-soft);
  border: 1px solid #efd5c9;
  border-left: 4px solid var(--copper);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 16px 20px;
  margin: 22px 0;
}

.sp-alert__title {
  font-weight: 700;
  color: #8b3c1f;
  margin: 0 0 6px;
  font-size: 0.98rem;
}

.sp-alert p:last-child,
.sp-alert ul:last-child {
  margin-bottom: 0;
}

/* Separated catalog box */
.sp-catalog-note {
  background: var(--surface-alt);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 26px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sp-catalog-note__badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--emerald-dark);
  background: var(--emerald-soft);
  padding: 3px 9px;
  border-radius: 999px;
}

.sp-catalog-note p {
  margin: 0;
  font-size: 0.94rem;
}

/* Guide cards grid */
.sp-group-label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--copper);
  margin: 26px 0 10px;
}

.sp-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 12px;
}

@media (max-width: 640px) {
  .sp-cards {
    grid-template-columns: 1fr;
  }
}

.sp-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}

.sp-card:hover {
  border-color: var(--emerald);
  background: #ffffff;
  transform: translateY(-1px);
}

.sp-card__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.06rem;
  color: var(--emerald-dark);
  margin-bottom: 6px;
  line-height: 1.3;
}

.sp-card__desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* FAQ accordion */
.sp-faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0 24px;
}

.sp-faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-alt);
  padding: 12px 16px;
}

.sp-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sp-faq summary::-webkit-details-marker {
  display: none;
}

.sp-faq summary::after {
  content: '+';
  font-size: 1.2rem;
  line-height: 1;
  color: var(--emerald);
  flex-shrink: 0;
}

.sp-faq details[open] summary::after {
  content: '−';
}

.sp-faq details p {
  margin: 10px 0 2px;
  font-size: 0.94rem;
}

/* Sources & Read next */
.sp-sources {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-top: 26px;
}

.sp-sources h2 {
  margin-top: 0;
  font-size: 1.15rem;
}

.sp-sources ul {
  margin: 0;
  font-size: 0.92rem;
}

.sp-next {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.sp-next h2 {
  margin-top: 0;
  font-size: 1.15rem;
}

.sp-next-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.sp-next-links a {
  display: inline-block;
  padding: 7px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-alt);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
}

.sp-next-links a:hover {
  border-color: var(--emerald);
  background: var(--emerald-soft);
}

/* Footer */
.sp-footer {
  background: #12231c;
  color: #d7e2dc;
  padding: 40px 0 28px;
  border-top: 3px solid var(--emerald);
  font-size: 0.9rem;
}

.sp-footer p {
  color: #d2dfd9;
}

.sp-footer strong {
  color: #ffffff;
  font-weight: 700;
}

.sp-footer a {
  color: #e4efe9;
  text-decoration: none;
}

.sp-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.sp-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 860px) {
  .sp-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 540px) {
  .sp-footer__grid {
    grid-template-columns: 1fr;
  }
}

.sp-footer__brand {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  display: block;
}

.sp-footer__col h3 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9ab3a7;
  margin: 0 0 10px;
}

.sp-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sp-footer__col li {
  margin: 6px 0;
}

.sp-footer__legal {
  padding-top: 20px;
  font-size: 0.85rem;
  color: #c4d4cd;
  line-height: 1.6;
}

.sp-footer__legal p {
  color: #c4d4cd;
  margin: 0 0 8px;
}

.sp-footer__legal p:last-child {
  margin-bottom: 0;
}
