:root {
  --green: #14943f;
  --green-deep: #0c7a34;
  --gold: #ffc107;
  --saffron: #ff9933;
  --ink: #fff8e8;
  --muted: #fff1cc;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--green-deep);
  color: var(--ink);
  font-family: Outfit, sans-serif;
  padding-bottom: 92px;
}
a { color: inherit; }
img { max-width: 100%; }
button { font-family: inherit; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 74px;
  padding: 0 22px;
  background: rgba(12, 122, 48, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 -3px 0 #ff9933, 0 8px 24px rgba(90, 40, 0, 0.18);
}
.site-header img { height: 46px; width: auto; display: block; }
.nav-toggle { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.nav-burger { display: none; width: 44px; height: 44px; border: 1px solid #ff9933; border-radius: 12px; background: rgba(8, 70, 28, 0.35); place-items: center; cursor: pointer; }
.nav-burger span, .nav-burger span:before, .nav-burger span:after { display: block; width: 18px; height: 2px; background: #ffe566; border-radius: 2px; }
.nav-burger span { position: relative; }
.nav-burger span:before, .nav-burger span:after { content: ""; position: absolute; left: 0; }
.nav-burger span:before { top: -6px; }
.nav-burger span:after { top: 6px; }
.site-header nav { display: flex; gap: 16px; font-size: 12px; font-weight: 700; letter-spacing: 0.05em; }
.site-header nav a { text-decoration: none; padding-bottom: 4px; border-bottom: 2px solid transparent; }
.site-header nav a:hover { color: #ffe566; border-bottom-color: #ff9933; }
.sheet { background: #14943f; padding: 102px 0 48px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.crumbs li { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 14px; font-weight: 700; }
.crumbs li + li:before { content: "/"; color: #ff9933; font-weight: 800; }
.crumbs a { color: #ffe566; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current="page"] { color: #fff8e1; font-weight: 600; }
.app-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.app-head h1 {
  margin: 0;
  color: #fff8e8;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.ver {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 153, 51, 0.18);
  border: 1px solid #ff9933;
  color: #ffe566;
  font-size: 14px;
  font-weight: 800;
}
.cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.cats a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #ff9933;
  color: #3a2208;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.cats a:hover { background: #ffe566; }
.short { max-width: 760px; margin: 16px 0 0; color: #fff1cc; font-size: 16px; line-height: 1.6; }
.app-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 22px;
  margin-top: 22px;
  padding: 22px;
  border: 1px solid rgba(255, 153, 51, 0.85);
  border-radius: 22px;
  background: linear-gradient(180deg, #22b85a 0%, #12943c 100%);
  box-shadow: 0 12px 26px rgba(90, 40, 0, 0.14);
}
.app-side { display: grid; justify-items: center; align-content: start; gap: 10px; }
.app-icon { order: 1; }
.bonus-badge { order: 2; }
.app-side .btn { order: 3; }
.app-icon {
  width: 150px;
  height: 150px;
  border-radius: 28px;
  object-fit: cover;
  background: #fff;
  border: 1px solid rgba(255, 193, 7, 0.8);
}
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffe566 0%, #ffc107 42%, #ff9933 100%);
  color: #3a2208;
  font-weight: 800;
  text-decoration: none;
}
.btn.alt { background: #0b6e9a; color: #fff; }
.btn:hover { transform: translateY(-2px); }
.bonus-badge { text-align: center; margin-top: 4px; }
.bonus-badge b { display: block; color: #ffe566; font-size: 28px; line-height: 1.1; }
.bonus-badge span { color: #fff1cc; font-size: 13px; font-weight: 700; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; }
.stats div {
  margin: 0;
  padding: 12px;
  border-radius: 14px;
  background: rgba(8, 70, 28, 0.28);
  border: 1px solid rgba(255, 153, 51, 0.45);
}
.stats dt { color: #ffe566; font-size: 12px; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase; }
.stats dd { margin: 6px 0 0; color: #fff; font-size: 16px; font-weight: 700; }
.stats a { color: #ffe566; }
.share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.share a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(8, 70, 28, 0.35);
  border: 1px solid rgba(255, 153, 51, 0.7);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.share img { width: 18px; height: 18px; object-fit: contain; }
.share a:hover { color: #ffe566; }
.blocks { display: grid; gap: 14px; margin-top: 22px; }
.box {
  background: linear-gradient(180deg, #22b85a 0%, #12943c 100%);
  border: 1px solid rgba(255, 153, 51, 0.85);
  border-radius: 18px;
  padding: 18px 18px 20px;
  box-shadow: 0 10px 22px rgba(90, 40, 0, 0.12);
}
.box h2 {
  margin: 0 0 12px;
  padding-bottom: 10px;
  color: #fff;
  font-size: 22px;
  text-align: left;
  letter-spacing: -0.02em;
  border-bottom: 1px solid rgba(255, 248, 232, 0.16);
  position: relative;
}
.box h2:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: #ff9933;
}
.box p, .box li { color: #fff1cc; font-size: 15px; line-height: 1.55; }
.box p { margin: 0 0 12px; }
.box p:last-child { margin-bottom: 0; }
.box ul, .box ol { margin: 0; padding-left: 18px; }
.box li { margin: 8px 0; }
.highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.highlights article {
  padding: 14px;
  border-radius: 14px;
  background: rgba(8, 70, 28, 0.28);
  border: 1px solid rgba(255, 153, 51, 0.4);
}
.highlights h3 { margin: 0 0 6px; color: #ffe566; font-size: 16px; }
.highlights p { margin: 0; }
.code-row { display: flex; gap: 10px; align-items: center; }
.code-value {
  flex: 1;
  min-height: 52px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px dashed rgba(255, 153, 51, 0.95);
  background: rgba(4, 40, 18, 0.28);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}
.code-copy {
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe566 0%, #ffc107 42%, #ff9933 100%);
  color: #3a2208;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}
.code-note { min-height: 1.3em; margin: 10px 0 0; color: #fff8e1; font-size: 14px; font-weight: 600; }
.faq-list details { border-top: 1px solid rgba(255, 248, 232, 0.16); padding: 12px 0; }
.faq-list details:first-of-type { border-top: 0; padding-top: 0; }
.faq-list summary { cursor: pointer; color: #fff; font-weight: 800; }
.faq-list details p { margin: 8px 0 0; }
.related { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rel {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 153, 51, 0.55);
  background: rgba(8, 70, 28, 0.22);
  text-decoration: none;
}
.rel img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; background: #fff; }
.rel strong { display: block; color: #fff; font-size: 16px; }
.rel .rel-copy span { display: block; margin-top: 4px; color: #ffe566; font-size: 13px; font-weight: 700; }
.rel:hover strong { color: #ffe566; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #ff9933;
  color: #3a2208;
  font-size: 13px;
  font-weight: 800;
}
.float-dl {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: min(420px, calc(100% - 24px));
  min-height: 52px;
  padding: 0 18px;
  border: 2px solid #fff8e1;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe566 0%, #ffc107 42%, #ff9933 100%);
  color: #3a2208;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}
.float-dl:hover { transform: translateX(-50%) translateY(-2px); }
.site-footer {
  padding: 36px 0 28px;
  background: #0b6e30;
  color: #fff1cc;
  border-top: 3px solid #ff9933;
}
.footer-grid { display: grid; grid-template-columns: 1.25fr 0.8fr 0.85fr 1.15fr; gap: 28px; align-items: start; }
.footer-logo { height: 48px; width: auto; display: block; }
.social-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-top: 14px; }
.footer-social { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 8px; align-items: center; color: #fff8e8; text-decoration: none; font-size: 13px; }
.footer-social img { width: 28px; height: 28px; object-fit: contain; display: block; padding: 4px; border-radius: 50%; border: 1px solid rgba(255, 153, 51, 0.9); background: rgba(20, 148, 63, 0.55); }
.footer-social span { width: fit-content; border-bottom: 1px solid rgba(255, 193, 7, 0.7); line-height: 1.3; }
.footer-title { margin: 0 0 12px; color: #ffe566; font-size: 14px; font-weight: 800; letter-spacing: 0.04em; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: #fff1cc; text-decoration: none; font-size: 14px; }
.footer-links a:hover, .footer-social:hover span { color: #ff9933; }
.footer-cta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe566 0%, #ffc107 42%, #ff9933 100%);
  color: #3a2208;
  font-weight: 800;
  text-decoration: none;
}
.footer-note { margin: 0; color: #fff1cc; font-size: 14px; line-height: 1.55; }
.footer-copy { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid rgba(255, 193, 7, 0.35); text-align: center; font-size: 13px; color: #fff1cc; }
@media (max-width: 1023px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .site-header { height: 64px; padding: 0 14px; }
  .site-header img { height: 34px; }
  .nav-burger { display: grid; }
  .site-header nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 6px 0 10px; background: rgba(8, 70, 28, 0.98); border-bottom: 3px solid #ff9933; font-size: 14px; }
  .site-header nav a { padding: 12px 18px; }
  .nav-toggle:checked ~ nav { display: flex; }
  .sheet { padding-top: 88px; }
  .app-card, .highlights, .related, .footer-grid, .stats { grid-template-columns: 1fr; }
  .code-row { flex-direction: column; }
  .code-copy, .code-value { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .btn:hover, .float-dl:hover { transform: none; }
}
