:root {
  --bg: #e8dfcf;
  --bg-alt: #ded3bd;
  --surface: #f5efe2;
  --surface-2: #ebe2d1;
  --line: #cdbfa5;
  --ink: #2b241a;
  --ink-soft: #5f5544;
  --muted: #7d7160;
  --green: #14563f;
  --green-dark: #0e3f2e;
  --green-soft: #e0ebe4;
  --gold: #c08a24;
  --gold-light: #e0ac3d;
  --gold-soft: #f6e7c4;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 2px 8px rgba(43, 36, 26, .09);
  --shadow-md: 0 10px 26px rgba(43, 36, 26, .16);
  --shadow-lg: 0 20px 48px rgba(43, 36, 26, .22);
  --header-h: 74px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 18px); }

body {
  margin: 0;
  background: var(--bg);
  background-image:
    radial-gradient(circle at 12% 0%, rgba(224, 172, 61, .18), transparent 45%),
    radial-gradient(circle at 88% 12%, rgba(20, 86, 63, .12), transparent 42%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--green); }

.shell {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 90;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(245, 239, 226, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  transition: transform .35s cubic-bezier(.2, .8, .3, 1);
}

.brand:hover img { transform: rotate(-7deg) scale(1.08); }

.brand-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .3px;
}

.brand-name span { color: var(--gold); }

.head-actions { display: flex; align-items: center; gap: 11px; }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .2px;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  border: 2px solid transparent;
  transition: transform .28s cubic-bezier(.2, .8, .3, 1), box-shadow .28s ease, background .28s ease, color .28s ease, border-color .28s ease;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
}

.btn:hover::after { left: 135%; }

.btn-ghost {
  color: var(--green);
  border-color: var(--green);
  background: transparent;
}

.btn-ghost:hover {
  background: var(--green);
  color: var(--gold-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(20, 86, 63, .32);
}

.btn-gold {
  color: #33260a;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 6px 16px rgba(192, 138, 36, .38);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(192, 138, 36, .52);
  background: linear-gradient(135deg, #eebc51, #cf9628);
}

.btn-gold:active, .btn-ghost:active { transform: translateY(0); }

/* ---------- banner ---------- */

.banner-wrap { padding: 30px 0 6px; }

.banner {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.banner img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 8s ease;
}

.banner:hover img { transform: scale(1.06); }

.banner-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(14, 40, 31, .84) 0%, rgba(14, 40, 31, .62) 40%, rgba(14, 40, 31, .12) 78%, transparent 100%);
}

.banner-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
  padding: 4% 6%;
  max-width: 640px;
}

.banner-kicker {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  padding: 6px 15px;
  border-radius: 999px;
  background: rgba(224, 172, 61, .2);
  border: 1px solid rgba(224, 172, 61, .55);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.banner-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 0 0 rgba(224, 172, 61, .8);
  animation: ping 1.9s infinite;
}

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(224, 172, 61, .75); }
  70% { box-shadow: 0 0 0 11px rgba(224, 172, 61, 0); }
  100% { box-shadow: 0 0 0 0 rgba(224, 172, 61, 0); }
}

.banner-title {
  font-size: clamp(25px, 4.1vw, 50px);
  line-height: 1.12;
  font-weight: 800;
  color: #fdf7e9;
  letter-spacing: -.5px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .45);
}

.banner-title span { display: block; }

.banner-title .hl {
  background: linear-gradient(100deg, var(--gold-light), #f4d788, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.banner-sub {
  font-size: clamp(14px, 1.6vw, 18px);
  color: rgba(253, 247, 233, .9);
  max-width: 470px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .4);
}

.banner-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.banner-fact {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  color: rgba(253, 247, 233, .82);
  font-size: 13px;
}

.banner-fact b {
  color: var(--gold-light);
  font-size: 16px;
  font-weight: 800;
}

.banner-cta {
  align-self: flex-start;
  padding: 14px 40px;
  font-size: 17px;
  margin-top: 4px;
  animation: pulse 2.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 6px 16px rgba(192, 138, 36, .38); }
  50% { box-shadow: 0 10px 30px rgba(224, 172, 61, .7); }
}

/* ---------- section shell ---------- */

.section { padding: 46px 0 10px; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.section-title {
  font-size: clamp(22px, 2.7vw, 31px);
  font-weight: 800;
  letter-spacing: -.4px;
  color: var(--ink);
}

.section-title em {
  font-style: normal;
  color: var(--gold);
}

.section-note { color: var(--muted); font-size: 14px; }

/* ---------- slots ---------- */

.slot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.slot {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .38s cubic-bezier(.2, .8, .3, 1), box-shadow .38s ease, border-color .38s ease;
}

.slot:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.slot-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.slot-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2, .8, .3, 1), filter .4s ease;
}

.slot:hover .slot-media img {
  transform: scale(1.12);
  filter: brightness(.55) saturate(1.1);
}

.slot-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(14, 40, 31, .1), rgba(14, 40, 31, .55));
  opacity: 0;
  transition: opacity .38s ease;
}

.slot:hover .slot-overlay { opacity: 1; }

.slot-play {
  transform: translateY(16px) scale(.9);
  opacity: 0;
  transition: transform .4s cubic-bezier(.2, .8, .3, 1), opacity .4s ease, box-shadow .3s ease;
  padding: 12px 32px;
}

.slot:hover .slot-play { transform: translateY(0) scale(1); opacity: 1; }

.slot-info {
  padding: 13px 15px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.slot-name {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  color: var(--ink);
}

.slot-brand { font-size: 12px; color: var(--muted); }

.slot-badge {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .7px;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid rgba(20, 86, 63, .25);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ---------- page content box ---------- */

.toc {
  margin: 46px 0 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.toc-trigger {
  width: 100%;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 22px;
  background: linear-gradient(100deg, var(--green-soft), var(--surface));
  border: 0;
  border-left: 4px solid var(--gold);
  font: inherit;
  font-weight: 800;
  font-size: 17px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background .3s ease;
}

.toc-trigger:hover { background: linear-gradient(100deg, #d6e5db, var(--surface-2)); }

.toc-chevron {
  flex-shrink: 0;
  width: 11px;
  height: 11px;
  border-right: 2.5px solid var(--green);
  border-bottom: 2.5px solid var(--green);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform .35s cubic-bezier(.2, .8, .3, 1);
}

.toc[open] .toc-chevron { transform: rotate(-135deg) translate(-2px, -2px); }

.toc-trigger::-webkit-details-marker { display: none; }

.toc-trigger::marker { content: ""; }

.toc[open] .toc-panel { animation: unfold .4s cubic-bezier(.2, .8, .3, 1); }

@keyframes unfold {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.toc-list {
  list-style: none;
  margin: 0;
  padding: 14px 22px 20px;
  columns: 2;
  column-gap: 30px;
}

.toc-list li { break-inside: avoid; margin: 0 0 2px; }

.toc-list a {
  display: block;
  padding: 7px 10px 7px 14px;
  border-left: 2px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
  transition: color .25s ease, background .25s ease, border-color .25s ease, padding-left .25s ease;
}

.toc-list a:hover {
  color: var(--green);
  background: var(--green-soft);
  border-left-color: var(--gold);
  padding-left: 19px;
}

.toc-list .lvl-3 a {
  margin-left: 18px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- article ---------- */

.article {
  margin: 34px 0 10px;
  padding: 34px clamp(20px, 4vw, 46px) 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.article h1 {
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.7px;
  margin: 0 0 22px;
  color: var(--ink);
}

.article h2 {
  font-size: clamp(21px, 2.5vw, 28px);
  line-height: 1.28;
  font-weight: 800;
  letter-spacing: -.3px;
  margin: 44px 0 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
  color: var(--green-dark);
}

.article h3 {
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 800;
  margin: 32px 0 12px;
  color: var(--ink);
}

.article h2::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 11px;
  border-radius: 2px;
  background: var(--gold);
  transform: rotate(45deg) translateY(-2px);
}

.article p { margin: 0 0 16px; color: var(--ink-soft); }

.article p strong, .article li strong { color: var(--ink); font-weight: 700; }

.article ol, .article ul { margin: 0 0 18px; padding-left: 22px; color: var(--ink-soft); }

.article li { margin-bottom: 8px; }

.article ol { counter-reset: step; list-style: none; padding-left: 0; }

.article ol li {
  position: relative;
  padding-left: 42px;
  counter-increment: step;
}

.article ol li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 27px;
  height: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 800;
}

.rule {
  height: 1px;
  margin: 38px 0;
  background: linear-gradient(90deg, transparent, var(--line) 22%, var(--line) 78%, transparent);
  border: 0;
}

.table-wrap {
  overflow-x: auto;
  margin: 0 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 460px;
}

thead th {
  background: var(--green);
  color: var(--gold-soft);
  text-align: left;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 12px 15px;
  white-space: nowrap;
}

tbody td {
  padding: 11px 15px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  vertical-align: top;
}

tbody tr:nth-child(odd) td { background: var(--surface); }

tbody td:first-child { font-weight: 700; color: var(--ink); }

.table-plain thead { display: none; }

.table-plain tbody td:first-child { width: 34%; white-space: nowrap; }

/* ---------- faq ---------- */

.faq { margin-top: 8px; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  margin-bottom: 11px;
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease;
}

.faq-item[open] {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.faq-q {
  width: 100%;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 19px;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: color .25s ease;
}

.faq-q:hover { color: var(--green); }

.faq-sign {
  position: relative;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-soft);
  border: 1px solid rgba(20, 86, 63, .3);
  transition: transform .35s cubic-bezier(.2, .8, .3, 1), background .3s ease;
}

.faq-sign::before, .faq-sign::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--green);
  transform: translate(-50%, -50%);
  transition: opacity .3s ease;
}

.faq-sign::before { width: 10px; height: 2px; }

.faq-sign::after { width: 2px; height: 10px; }

.faq-item[open] .faq-sign { transform: rotate(180deg); background: var(--gold-soft); }

.faq-item[open] .faq-sign::after { opacity: 0; }

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

.faq-q::marker { content: ""; }

.faq-item[open] .faq-a { animation: unfold .38s cubic-bezier(.2, .8, .3, 1); }

.faq-a-inner { padding: 0 19px 17px; color: var(--ink-soft); }

.faq-a-inner p { margin: 0; }

/* ---------- footer ---------- */

.site-foot {
  margin-top: 58px;
  background: var(--green-dark);
  color: rgba(240, 233, 218, .78);
  border-top: 4px solid var(--gold);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 34px;
  padding: 44px 0 30px;
}

.foot-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}

.foot-brand img { width: 42px; height: 42px; object-fit: contain; }

.foot-brand-name {
  font-size: 19px;
  font-weight: 800;
  color: #f6efdf;
}

.foot-brand-name span { color: var(--gold-light); }

.foot-text { font-size: 14px; line-height: 1.7; max-width: 380px; }

.foot-col-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.foot-links { display: flex; flex-direction: column; gap: 9px; }

.foot-links a {
  color: rgba(240, 233, 218, .78);
  text-decoration: none;
  font-size: 14px;
  width: fit-content;
  transition: color .25s ease, transform .25s ease;
}

.foot-links a:hover { color: var(--gold-light); transform: translateX(4px); }

.foot-age {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid rgba(224, 172, 61, .4);
  border-radius: 999px;
  font-size: 13px;
  margin-top: 6px;
}

.foot-age b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #a52d1e;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.foot-bottom {
  border-top: 1px solid rgba(240, 233, 218, .16);
  padding: 17px 0 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: rgba(240, 233, 218, .58);
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .slot-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .banner-body { max-width: 100%; padding: 5%; }
  .banner-veil { background: linear-gradient(95deg, rgba(14, 40, 31, .88) 0%, rgba(14, 40, 31, .7) 55%, rgba(14, 40, 31, .45) 100%); }
}

@media (max-width: 720px) {
  :root { --header-h: 66px; }
  body { font-size: 16px; }
  .shell { padding: 0 16px; }
  .brand img { width: 38px; height: 38px; }
  .brand-name { font-size: 16px; }
  .btn { padding: 9px 16px; font-size: 14px; }
  .slot-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .toc-list { columns: 1; }
  .banner-facts { display: none; }
  .banner-sub { display: none; }
  .banner-cta { padding: 11px 28px; font-size: 15px; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 430px) {
  .banner-kicker { font-size: 10px; padding: 5px 11px; }
  .slot-grid { grid-template-columns: 1fr; }
  .slot-play { opacity: 1; transform: none; }
  .slot-overlay { opacity: 1; background: linear-gradient(180deg, rgba(14, 40, 31, .15), rgba(14, 40, 31, .5)); }
  .slot-media img { filter: brightness(.6); }
}

/* ---------- target highlight ---------- */

.article-block { scroll-margin-top: calc(var(--header-h) + 18px); }

.article-block:target > h1,
.article-block:target > h2,
.article-block:target > h3 {
  animation: flash 1.6s ease;
}

@keyframes flash {
  0% { background: rgba(224, 172, 61, .5); }
  100% { background: transparent; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
