:root {
  color-scheme: light;
  --paper: #f8faf6;
  --white: #fff;
  --ink: #18241e;
  --muted: #485951;
  --green: #18593c;
  --green-dark: #0d422a;
  --green-soft: #e2f1e5;
  --line: #d8e2d8;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 90px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 1rem; line-height: 1.7; }
a { color: var(--green); text-underline-offset: .2em; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid #248052; outline-offset: 3px; }
.wrap { width: min(100% - 64px, 1120px); margin-inline: auto; }
.skip { position: fixed; z-index: 3; top: 8px; left: 12px; padding: 8px 14px; background: var(--white); transform: translateY(-150%); }
.skip:focus { transform: none; }
header {
  position: sticky;
  z-index: 2;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.header-inner, .actions, .brand { display: flex; align-items: center; }
.header-inner { justify-content: space-between; min-height: 70px; gap: 12px; }
.brand { gap: 9px; color: var(--ink); font-size: 1.1rem; font-weight: 760; text-decoration: none; }
.brand-icon, .listing-icon {
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, #295548, #102d2d 70%);
  box-shadow: inset 0 0 0 1px #89b6a65c;
}
.brand-icon { width: 35px; height: 35px; border-radius: 10px; }
.brand-icon img { width: 25px; }
.actions { gap: 8px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 690;
  font-size: .9rem;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}
.button-primary { color: var(--white); background: var(--green); }
.button-primary:hover { background: var(--green-dark); }
.button-outline { color: var(--green-dark); border-color: #8ca295; background: var(--white); }
.button-outline:hover { background: var(--green-soft); }
.listing {
  margin: 34px 0 0;
  padding: clamp(22px, 5vw, 56px);
  border: 1px solid #cbded0;
  border-radius: 32px;
  background: linear-gradient(135deg, #e3f3e6, #f1f7e9 69%, #f6f7e3);
}
.listing-body { display: grid; grid-template-columns: minmax(100px, 155px) minmax(0, 1fr); gap: clamp(20px, 4vw, 42px); align-items: start; }
.listing-icon { aspect-ratio: 1; border-radius: 29%; }
.listing-icon img { width: 82%; }
.listing-name { margin: 0 0 10px; color: var(--green-dark); font-size: .92rem; font-weight: 780; }
.listing-name span { margin-left: 9px; padding-left: 11px; border-left: 1px solid #a6c7ae; color: #425c4e; font-weight: 550; }
h1, h2, h3 { margin: 0; line-height: 1.2; text-wrap: pretty; }
h1 { max-width: 24ch; font-size: clamp(2rem, 4.35vw, 4rem); line-height: 1.06; letter-spacing: -.055em; }
.listing-facts { display: flex; flex-wrap: wrap; margin: 24px 0 0; gap: 10px 22px; }
.listing-facts div { border-left: 1px solid #a6c7ae; padding-left: 12px; }
.listing-facts dt, .listing-facts dd { margin: 0; font-size: .83rem; }
.listing-facts dt { color: #485f53; }
.listing-facts dd { font-weight: 720; }
.listing-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 24px; font-size: .9rem; }
.listing-foot .button { border-color: #b1cdb6; }
.article-layout { display: grid; grid-template-columns: minmax(155px, 205px) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); padding: 38px 0 64px; }
.toc { position: sticky; top: 91px; align-self: start; }
.toc p { font-size: .86rem; font-weight: 750; margin: 0 0 8px; }
.toc ul { margin: 0; padding: 0; list-style: none; }
.toc a { display: flex; align-items: center; min-height: 44px; padding: 6px 10px; color: var(--green-dark); font-size: .88rem; text-decoration: none; border-radius: 10px; }
.toc a:hover, .toc a:focus-visible { background: var(--green-soft); }
article { min-width: 0; }
.intro { padding: 19px 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--white); }
.intro p { margin: 0 0 10px; }
.intro p:last-child { margin-bottom: 0; color: var(--muted); }
.article-section { padding-top: 28px; margin-top: 26px; border-top: 1px solid var(--line); }
.article-section h2, .technical h2 { margin-bottom: 15px; max-width: 33ch; font-size: clamp(1.45rem, 3vw, 2.4rem); letter-spacing: -.035em; }
.article-section h3 { margin: 24px 0 10px; font-size: 1.13rem; }
.article-section p, .technical p { margin: 0 0 1em; }
.article-section > :last-child { margin-bottom: 0; }
.article-section ul { padding-left: 1.35em; }
.article-section li { margin: .25em 0; }
.section-actions { margin: 20px 0 0; }
figure { margin: 22px 0; }
figure > img { border-radius: 15px; background: #0a232b; }
figcaption { margin-top: 6px; color: var(--muted); font-size: .85rem; }
.gallery { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 12px; margin: 22px 0; }
.gallery figure { min-width: 0; margin: 0; }
.gallery img { width: 100%; height: clamp(135px, 20vw, 208px); object-fit: contain; }
.promo-image { max-width: 380px; }
.mobile-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(130px, 210px); gap: 24px; align-items: start; }
.mobile-layout figure { margin: 0; }
.mobile-layout img { border: 5px solid #21392d; border-radius: 20px; }
blockquote { margin: 20px 0; padding: 14px 16px; border-left: 4px solid #62a47d; border-radius: 0 14px 14px 0; background: var(--green-soft); }
blockquote p { margin: 0 !important; }
table { width: 100%; margin: 22px 0; border-collapse: collapse; table-layout: fixed; font-size: .91rem; }
caption { margin-bottom: 7px; font-weight: 730; text-align: left; }
th, td { vertical-align: top; text-align: left; padding: 9px 11px; border: 1px solid var(--line); overflow-wrap: anywhere; }
thead th, tbody th { background: #e5f0e6; }
td { background: var(--white); }
.cell-label { display: none; }
details { margin: 9px 0; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
summary { min-height: 44px; padding: 10px 14px; cursor: pointer; font-weight: 700; }
details p { padding: 0 14px; }
footer { border-top: 1px solid var(--line); background: #e9f1e9; padding: 25px 0; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; }
footer p { margin: 4px 0; color: var(--muted); font-size: .86rem; }
footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 0 14px; }
footer nav a { min-height: 44px; display: inline-flex; align-items: center; font-size: .86rem; }
.technical { max-width: 800px; padding-block: 38px 70px; min-height: 60vh; }
.technical h1 { margin: 15px 0 24px; }
.technical h2 { font-size: 1.5rem; margin: 22px 0 9px; }
.back { display: inline-block; padding: 7px 0; }
@media (max-width: 770px) {
  html { scroll-padding-top: 75px; }
  .wrap { width: calc(100% - 32px); }
  .header-inner { min-height: 61px; }
  .listing { margin-top: 17px; border-radius: 22px; }
  .article-layout { display: block; padding: 23px 0 44px; }
  .toc { position: static; margin-bottom: 18px; }
  .toc ul { display: flex; flex-wrap: wrap; gap: 5px; }
  .toc a { padding-inline: 10px; min-height: 38px; background: var(--green-soft); border-radius: 999px; }
  .toc a:hover { background: #cfe6d6; }
  table, caption, tbody { display: block; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  tbody tr { display: grid; grid-template-columns: minmax(0, 1fr); margin-bottom: 10px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
  tbody th, td { border: 0; padding: 7px 10px; }
  td + td { border-top: 1px solid var(--line); }
  .cell-label { display: block; color: var(--green-dark); font-weight: 690; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 28px); }
  .header-inner { gap: 5px; }
  .brand { gap: 4px; font-size: .96rem; }
  .brand-icon { width: 27px; height: 27px; border-radius: 8px; }
  .brand-icon img { width: 24px; }
  .actions { gap: 4px; }
  .actions .button { font-size: .77rem; padding-inline: 8px; }
  .listing { padding: 16px; }
  .listing-body { display: block; }
  .listing-icon { width: 65px; margin-bottom: 12px; }
  h1 { font-size: clamp(1.95rem, 7.5vw, 2.65rem); }
  .listing-facts { gap: 7px 14px; margin-top: 15px; }
  .listing-facts div { padding-left: 7px; }
  .listing-facts dt, .listing-facts dd { font-size: .76rem; }
  .listing-foot { margin-top: 16px; gap: 7px 12px; }
  .intro { padding: 14px; }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .gallery img { height: auto; max-height: 260px; }
  .mobile-layout { display: block; }
  .mobile-layout figure { max-width: 230px; margin: 18px auto 0; }
}
@media (max-width: 359px) {
  .header-inner .brand-icon, .actions .button span { display: none; }
}
.slot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 20px 0; }
.slot-grid figure { margin: 0; }
.slot-grid img { width: 100%; height: auto; border-radius: 10px; }
@media (max-width: 430px) {
  .slot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
