/* Reference hero treatment, scoped to preserve the existing CNANT page. */
.hero { background: #fbfcf4; }
.hero-wash {
  top: 80px;
  background: url("./assets/hero-glass-night-v1.png") center center / cover no-repeat;
}
.hero:after { height: 176px; }
.hero-buttons { gap: 16px; flex-wrap: nowrap; }
.hero-download { position: relative; flex: 0 0 auto; }
.hero-download-split {
  display: flex;
  width: 255px;
  height: 60px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--charcoal);
  box-shadow: 0 20px 25px -5px #78aa0033, 0 8px 10px -6px #78aa0033;
  transition: box-shadow .2s;
}
.hero-download-split:has(button:hover) {
  box-shadow: 0 20px 28px -5px #78aa0047, 0 8px 12px -6px #78aa0033;
}
.hero-download-main,
.hero-download-toggle,
.hero-watch-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  white-space: nowrap;
  transition: background .2s, box-shadow .2s;
}
.hero-download-main {
  flex: 1;
  gap: 12px;
  min-width: 0;
  padding: 16px 24px 16px 28px;
  border-radius: 999px 0 0 999px;
}
.hero-download-toggle {
  width: 45px;
  padding: 0 14px;
  border-left: 1px solid #191d1a26;
  border-radius: 0 999px 999px 0;
}
.hero-download-main:hover,
.hero-download-toggle:hover { background: #a8ee00; }
.hero-download-main:active,
.hero-download-toggle:active { background: #9edd00; }
.hero-download-main:focus-visible,
.hero-download-toggle:focus-visible { outline-offset: -5px; }
.hero-buttons .icon { width: 20px; height: 20px; stroke-width: 2; }
.hero-download-toggle .icon { width: 16px; height: 16px; transition: transform .2s; }
.hero-download-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.hero-watch-button {
  height: 60px;
  width: 166px;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  color: #507600;
  background: #fff;
  box-shadow: 0 10px 15px -3px #3045001a, 0 4px 6px -4px #3045001a;
}
.hero-watch-button:hover { background: #f5ffe1; box-shadow: 0 12px 20px -3px #30450026; }
.hero-watch-button:active { background: #edfacf; }
.hero-platforms { gap: 24px; margin-top: 26px; color: #626d57; font-size: 14px; }
.hero-platforms button { display: inline-flex; align-items: center; gap: 9px; padding: 0; border-radius: 3px; }
.hero-platforms button:hover { color: #416500; }
.hero-platforms .icon { width: 19px; height: 19px; color: #7a866e; }
.hero-platforms button:first-child .icon { width: 16px; height: 16px; }
.hero-pillars { margin-top: 32px; }
.hero-download-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 12px);
  z-index: 5;
  width: 255px;
  padding: 12px 8px 8px;
  border: 1px solid #e6ecd9;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 40px #283b0029;
  text-align: left;
  animation: download-menu-in .18s ease-out;
}
.hero-download-heading { display: block; padding: 0 12px 7px; color: #818a74; font-size: 11px; }
.hero-download-menu button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 11px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
}
.hero-download-menu button:hover,
.hero-download-menu button:focus-visible { background: #f1f8df; }
.hero-download-menu small { display: block; font-size: 10px; font-weight: 400; color: #7b866a; margin-top: 1px; }
.hero-download-menu .option-arrow { margin-left: auto; width: 16px; height: 16px; color: #7a9348; }
@keyframes download-menu-in {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (min-width: 701px) and (max-width: 1150px) {
  .hero-buttons { gap: 12px; }
  .hero-download-split { width: 210px; height: 54px; }
  .hero-download-main { font-size: 16px; padding: 13px 18px; gap: 9px; }
  .hero-download-toggle { width: 40px; padding: 0 12px; }
  .hero-watch-button { width: 144px; height: 54px; font-size: 16px; padding: 13px 22px; gap: 8px; }
}
@media (min-width: 701px) and (max-width: 900px) {
  .hero-download-split { width: 177px; height: 48px; }
  .hero-download-main { font-size: 14px; padding: 10px 14px; gap: 7px; }
  .hero-download-toggle { width: 34px; padding: 0 9px; }
  .hero-watch-button { width: 123px; height: 48px; font-size: 14px; padding: 10px 15px; gap: 7px; }
  .hero-buttons { gap: 10px; }
  .hero-buttons .icon { width: 17px; height: 17px; }
  .hero-download-toggle .icon { width: 14px; height: 14px; }
}
@media (max-width: 700px) {
  .hero-wash { top: 70px; background-position: center top; background-size: auto 100%; }
  .hero-buttons { gap: 12px; }
  .hero-download-split { width: 202px; height: 54px; }
  .hero-download-main { font-size: 16px; padding: 13px 18px; gap: 10px; }
  .hero-download-toggle { width: 38px; padding: 0 11px; }
  .hero-watch-button { width: 136px; height: 54px; font-size: 16px; padding: 13px 19px; gap: 8px; }
  .hero-platforms { font-size: 13px; margin-top: 22px; gap: 24px; }
  .hero-download-menu { width: 242px; }
}
@media (max-width: 389px) {
  .hero-buttons { gap: 10px; }
  .hero-download-split { width: 170px; height: 50px; }
  .hero-download-main { font-size: 14px; padding: 11px 14px; gap: 8px; }
  .hero-download-toggle { width: 34px; padding: 0 9px; }
  .hero-watch-button { width: 120px; height: 50px; font-size: 14px; padding: 11px 15px; gap: 7px; }
  .hero-buttons .icon { width: 17px; height: 17px; }
  .hero-download-toggle .icon { width: 14px; height: 14px; }
}
@media (max-width: 340px) {
  .hero-download-split { width: 160px; }
  .hero-watch-button { width: 116px; padding-inline: 12px; }
}
