:root {
  --x8-ink: #083d36;
  --x8-text: #24443f;
  --x8-muted: #667c78;
  --x8-green: #008e73;
  --x8-green-2: #01b88d;
  --x8-green-dark: #00473f;
  --x8-deep: #012f2e;
  --x8-gold: #f5c945;
  --x8-gold-2: #ffdf68;
  --x8-line: #dce9e4;
  --x8-bg: #ffffff;
  --x8-soft: #f6fbf9;
  --x8-shadow: 0 18px 42px rgba(0, 72, 58, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.x8-page {
  margin: 0;
  color: var(--x8-text);
  background: var(--x8-bg);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.x8-site {
  min-height: 100vh;
  background: linear-gradient(180deg, #ffffff 0%, #f8fdfb 54%, #ffffff 100%);
}

.x8-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.x8-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(0, 58, 50, 0.08);
}

.x8-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.x8-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.x8-logo {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  color: var(--x8-green);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
  white-space: nowrap;
}

.x8-logo span {
  color: #3a3f42;
  font-size: 0.72em;
  font-style: italic;
}

.x8-logo::after {
  content: "";
  position: absolute;
  top: -10px;
  right: -15px;
  width: 14px;
  height: 14px;
  background: var(--x8-gold);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.x8-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.x8-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.x8-btn:hover,
.x8-btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.x8-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--x8-green-2), var(--x8-green));
  box-shadow: 0 12px 24px rgba(0, 149, 113, 0.24);
}

.x8-btn-light {
  color: var(--x8-green-dark);
  background: #fff;
  border-color: #b9d8d1;
}

.x8-btn-gold {
  color: #3a2500;
  background: linear-gradient(135deg, var(--x8-gold-2), var(--x8-gold));
  box-shadow: 0 12px 24px rgba(220, 169, 26, 0.22);
}

.x8-btn svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.x8-nav-wrap {
  background: linear-gradient(90deg, #004b43, #006352 52%, #00423b);
  border-top: 1px solid #e7f2ee;
  border-bottom: 2px solid rgba(245, 201, 69, 0.76);
}

.x8-nav {
  display: flex;
  align-items: center;
  min-height: 54px;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.x8-nav::-webkit-scrollbar {
  display: none;
}

.x8-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 19px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}

.x8-nav a:hover,
.x8-nav a:focus-visible,
.x8-nav a.is-active {
  color: var(--x8-gold-2);
  border-bottom-color: var(--x8-gold);
  outline: none;
}

.x8-home {
  width: 58px;
  padding: 0;
  color: #20d297;
}

.x8-home svg {
  width: 27px;
  height: 27px;
}

.x8-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 77% 19%, rgba(255, 224, 95, 0.32), transparent 18%),
    radial-gradient(circle at 52% 64%, rgba(0, 229, 176, 0.22), transparent 28%),
    linear-gradient(128deg, #00423d 0%, #00332f 48%, #006d55 100%);
}

.x8-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 120px),
    radial-gradient(circle at 36% 31%, rgba(255, 217, 80, 0.2), transparent 2px),
    radial-gradient(circle at 86% 30%, rgba(255, 217, 80, 0.22), transparent 2px),
    radial-gradient(circle at 54% 74%, rgba(255, 217, 80, 0.18), transparent 2px);
  opacity: 0.84;
  pointer-events: none;
}

.x8-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 530px);
  gap: 30px;
  align-items: center;
  min-height: 560px;
  padding: 54px 0 58px;
}

.x8-hero h1 {
  margin: 0 0 18px;
  color: #fff;
  line-height: 1.03;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.x8-hero h1 span {
  display: block;
}

.x8-brand-line {
  color: #38d98f;
  font-size: clamp(46px, 6vw, 78px);
  font-style: italic;
  line-height: 0.96;
}

.x8-subline {
  color: #fff;
  font-size: clamp(30px, 3vw, 37px);
  line-height: 1.08;
}

.x8-hero h1 strong {
  display: block;
  color: transparent;
  background: linear-gradient(180deg, #fff3a1 0%, #ffd044 42%, #f7a400 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(78px, 9vw, 122px);
  line-height: 0.92;
  -webkit-text-stroke: 1px rgba(74, 42, 0, 0.2);
}

.x8-hero-copy p {
  max-width: 530px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.45;
}

.x8-hero-copy p span {
  display: block;
  color: #fff;
  font-size: 0.86em;
  font-weight: 500;
}

.x8-hero-visual {
  position: relative;
  min-width: 0;
  border-radius: 14px;
}

.x8-hero-visual img {
  width: 100%;
  border-radius: 12px;
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.28));
}

.x8-section {
  padding: 54px 0;
}

.x8-intro {
  background: #fff;
}

.x8-section-title {
  margin: 0 0 20px;
  color: var(--x8-green-dark);
  font-size: clamp(28px, 4vw, 39px);
  line-height: 1.18;
  text-align: center;
  font-weight: 900;
  letter-spacing: 0;
}

.x8-intro-copy {
  max-width: 960px;
  margin: 0 auto 34px;
  color: #49625e;
  font-size: 16px;
}

.x8-intro-copy p {
  margin: 0 0 16px;
}

.x8-highlight {
  color: var(--x8-green);
  font-weight: 900;
}

.x8-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.x8-feature {
  min-width: 0;
  padding: 27px 22px 25px;
  border: 1px solid var(--x8-line);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(0, 64, 54, 0.06);
  text-align: center;
}

.x8-feature-icon {
  display: inline-grid;
  width: 70px;
  height: 70px;
  place-items: center;
  margin-bottom: 14px;
  color: var(--x8-green);
}

.x8-feature-icon svg {
  width: 70px;
  height: 70px;
  stroke-width: 1.8;
}

.x8-feature h3 {
  margin: 0 0 10px;
  color: var(--x8-green-dark);
  font-size: 22px;
  line-height: 1.18;
  font-weight: 900;
}

.x8-feature p {
  margin: 0;
  color: #536b67;
  font-size: 15px;
  line-height: 1.62;
}

.x8-news {
  background: linear-gradient(180deg, #f8fdfb 0%, #ffffff 100%);
}

.x8-title-rule {
  display: grid;
  grid-template-columns: minmax(40px, 1fr) auto minmax(40px, 1fr);
  gap: 24px;
  align-items: center;
  margin-bottom: 26px;
}

.x8-title-rule::before,
.x8-title-rule::after {
  content: "";
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 142, 115, 0.58), transparent);
}

.x8-title-rule .x8-section-title {
  margin: 0;
}

.x8-post-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.x8-post {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--x8-line);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(0, 64, 54, 0.07);
}

.x8-post-media {
  position: relative;
  aspect-ratio: 1.72;
  overflow: hidden;
  background: var(--x8-deep);
}

.x8-post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.x8-post-tag {
  position: absolute;
  top: 11px;
  left: 11px;
  z-index: 1;
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 9px;
  color: #fff;
  background: var(--x8-green);
  border-radius: 3px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.x8-post-body {
  padding: 17px 16px 18px;
}

.x8-post h3 {
  margin: 0 0 10px;
  color: var(--x8-green-dark);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 900;
}

.x8-post h3 a:hover,
.x8-post h3 a:focus-visible {
  color: var(--x8-green);
  outline: none;
}

.x8-post p {
  margin: 0 0 14px;
  color: #536b67;
  font-size: 14px;
  line-height: 1.56;
}

.x8-post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6c817d;
  font-size: 13px;
}

.x8-news-action {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.x8-guide {
  padding-top: 30px;
  background: #fff;
}

.x8-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--x8-line);
  border-radius: 7px;
  background: #fff;
  box-shadow: var(--x8-shadow);
}

.x8-step {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
  padding: 28px 26px;
}

.x8-step + .x8-step {
  border-left: 1px solid var(--x8-line);
}

.x8-step-number {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--x8-green-2), var(--x8-green));
  font-size: 23px;
  font-weight: 900;
}

.x8-step h3 {
  margin: 0 0 8px;
  color: var(--x8-green-dark);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 900;
}

.x8-step p {
  margin: 0 0 16px;
  color: #536b67;
  font-size: 14px;
  line-height: 1.55;
}

.x8-step img {
  width: 112px;
  max-width: 70%;
}

.x8-footer {
  color: #dcf8f0;
  background: linear-gradient(135deg, #005044, #00382f);
}

.x8-footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.8fr 1fr;
  gap: 42px;
  padding: 44px 0 34px;
}

.x8-footer .x8-logo {
  color: #27c796;
  font-size: 44px;
}

.x8-footer .x8-logo span {
  color: #fff;
}

.x8-footer p,
.x8-footer li {
  color: rgba(220, 248, 240, 0.86);
  font-size: 14px;
}

.x8-footer h3 {
  margin: 0 0 15px;
  color: #fff;
  font-size: 18px;
}

.x8-footer ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.x8-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.x8-social span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.x8-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding: 16px 0 18px;
  color: rgba(220, 248, 240, 0.78);
  font-size: 14px;
}

.x8-copyright-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.x8-age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-right: 10px;
  border: 3px solid #e33b23;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.x8-article-hero .x8-hero-grid {
  min-height: 410px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
}

.x8-article-hero h1 {
  font-size: clamp(34px, 5vw, 60px);
}

.x8-article-hero h1 strong {
  display: inline;
  color: inherit;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  font-size: inherit;
  line-height: inherit;
  -webkit-text-stroke: 0;
}

.x8-article-main {
  background: #f8fdfb;
}

.x8-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: start;
}

.x8-article-card,
.x8-sidebar {
  border: 1px solid var(--x8-line);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(0, 64, 54, 0.07);
}

.x8-article-card {
  padding: clamp(24px, 4vw, 42px);
}

.x8-article-card h1 {
  margin: 0 0 14px;
  color: var(--x8-green-dark);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.18;
}

.x8-article-info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  color: #70837f;
  font-size: 14px;
}

.x8-article-body {
  color: #2f4b46;
  font-size: 16px;
  line-height: 1.86;
}

.x8-article-body h2,
.x8-article-body h3 {
  color: var(--x8-green-dark);
  line-height: 1.26;
}

.x8-article-body h2 {
  margin: 28px 0 10px;
  font-size: 27px;
}

.x8-article-body h3 {
  margin: 22px 0 8px;
  font-size: 21px;
}

.x8-article-body p,
.x8-article-body ul,
.x8-article-body ol {
  margin: 0 0 16px;
}

.x8-article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 7px;
}

.x8-callout {
  margin: 24px 0;
  padding: 18px 20px;
  border-left: 5px solid var(--x8-gold);
  border-radius: 7px;
  background: #f4fbf8;
  color: var(--x8-green-dark);
  font-weight: 800;
}

.x8-article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.x8-sidebar {
  position: sticky;
  top: 150px;
  padding: 22px;
}

.x8-sidebar h2 {
  margin: 0 0 14px;
  color: var(--x8-green-dark);
  font-size: 22px;
  line-height: 1.25;
}

.x8-side-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.x8-side-list li {
  padding: 12px 13px;
  border: 1px solid var(--x8-line);
  border-radius: 7px;
  color: #4d6762;
  background: #fbfefd;
  font-size: 14px;
}

.x8-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.x8-pager a,
.x8-pager span {
  display: inline-flex;
  min-width: 36px;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--x8-line);
  border-radius: 7px;
  background: #fff;
  color: var(--x8-green-dark);
  font-weight: 800;
}

@media (max-width: 980px) {
  .x8-hero-grid,
  .x8-article-hero .x8-hero-grid {
    grid-template-columns: 1fr;
    padding: 42px 0 46px;
  }

  .x8-hero-visual {
    max-width: 620px;
    margin: 0 auto;
  }

  .x8-feature-grid,
  .x8-post-grid,
  .x8-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .x8-sidebar {
    position: static;
  }
}

@media (max-width: 720px) {
  .x8-shell {
    width: min(100% - 22px, 1180px);
  }

  .x8-topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 14px 0;
  }

  .x8-actions {
    width: 100%;
    justify-content: space-between;
  }

  .x8-actions .x8-btn {
    flex: 1 1 0;
    padding: 0 10px;
    font-size: 13px;
  }

  .x8-nav a {
    min-height: 50px;
    padding: 0 15px;
    font-size: 14px;
  }

  .x8-hero-grid {
    min-height: 0;
  }

  .x8-hero-copy p {
    font-size: 17px;
  }

  .x8-brand-line {
    font-size: clamp(38px, 13vw, 52px);
  }

  .x8-subline {
    font-size: clamp(25px, 8vw, 34px);
  }

  .x8-hero h1 strong {
    font-size: clamp(70px, 21vw, 96px);
  }

  .x8-feature-grid,
  .x8-post-grid,
  .x8-footer-grid,
  .x8-steps {
    grid-template-columns: 1fr;
  }

  .x8-title-rule {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .x8-title-rule::before,
  .x8-title-rule::after {
    display: none;
  }

  .x8-step + .x8-step {
    border-left: 0;
    border-top: 1px solid var(--x8-line);
  }

  .x8-step {
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 24px 18px;
  }

  .x8-copyright-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
