/* Tax Day accents — applied only when html[data-theme="taxday"] */

[data-theme="taxday"] {
  --money-green: #3d8c5a;
  --liberty-green: #6b8f71;
  --bill-green: #2f7a4e;
}

[data-theme="taxday"] .site-header {
  border-bottom-color: rgba(107, 143, 113, 0.42);
}

[data-theme="taxday"] .site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 5px;
  pointer-events: none;
  z-index: 2;
  background-image:
    radial-gradient(circle, var(--liberty-green) 0 1.25px, transparent 1.7px),
    radial-gradient(circle, var(--money-green) 0 1.15px, transparent 1.6px),
    radial-gradient(circle, var(--cyan) 0 1.05px, transparent 1.5px);
  background-size: 2.4rem 5px;
  background-position: 0 50%, 0.8rem 50%, 1.6rem 50%;
  background-repeat: repeat-x;
  opacity: 0.8;
}

[data-theme="taxday"] .site-nav a:hover,
[data-theme="taxday"] .site-nav a:focus-visible,
[data-theme="taxday"] .site-nav a[aria-current="page"] {
  border-bottom-color: var(--liberty-green);
}

[data-theme="taxday"] .hero {
  position: relative;
  overflow: visible;
  --hero-glow: rgba(26, 140, 255, 0.26);
  background:
    radial-gradient(ellipse 38% 46% at 10% 14%, rgba(61, 140, 90, 0.2), transparent 58%),
    radial-gradient(ellipse 24% 30% at 6% 80%, rgba(107, 143, 113, 0.14), transparent 62%),
    radial-gradient(ellipse 52% 68% at 82% 46%, var(--hero-glow), transparent 64%),
    radial-gradient(ellipse 34% 40% at 74% 82%, rgba(47, 122, 78, 0.12), transparent 58%),
    var(--navy);
}

[data-theme="taxday"] .hero > .wrap {
  position: relative;
  z-index: 1;
}

[data-theme="taxday"] .hero::before,
[data-theme="taxday"] .hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

[data-theme="taxday"] .hero::before {
  width: 7.5rem;
  height: 7.5rem;
  top: 0.3rem;
  left: 0.2rem;
  z-index: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32'%3E%3Cpath fill='%236b8f71' d='M12 3c.7 2.4 2.4 3.6 4.4 4.2-1.7 1-2.8 2.6-3.2 4.8h-2.4c-.4-2.2-1.5-3.8-3.2-4.8C9.6 6.6 11.3 5.4 12 3z'/%3E%3Cpath fill='%233d8c5a' d='M10.2 13h3.6v2.2H16v1.6h-2.2V19H10.2v-2.2H8v-1.6h2.2z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 34'%3E%3Crect x='4' y='4' width='20' height='26' rx='1.5' fill='%23e8eef2'/%3E%3Crect x='7' y='9' width='14' height='1.6' fill='%236b8f71'/%3E%3Crect x='7' y='13' width='11' height='1.4' fill='%233d8c5a'/%3E%3Crect x='7' y='17' width='13' height='1.4' fill='%236b8f71'/%3E%3Crect x='7' y='21' width='9' height='1.4' fill='%233d8c5a'/%3E%3C/svg%3E");
  background-size: 1.7rem 2.3rem, 1.5rem 1.85rem;
  background-repeat: no-repeat;
  background-position: 10% 16%, 62% 58%;
  opacity: 0.5;
}

[data-theme="taxday"] .hero::after {
  inset: 0;
  z-index: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 22'%3E%3Crect x='1' y='1' width='38' height='20' rx='2.2' fill='%232f7a4e'/%3E%3Crect x='3.5' y='3.4' width='33' height='15.2' rx='1.4' fill='%233d8c5a'/%3E%3Ccircle cx='20' cy='11' r='5.2' fill='%23cfe8d6' opacity='.38'/%3E%3Cpath fill='%23e8f6ec' d='M21.1 6.6v1.7c1.3.2 2.2.9 2.2 2.1 0 1.6-1.4 2.3-3.3 2.5V16h-1.6v-3.1c-1.6-.2-2.6-.9-2.6-2.3 0-1.5 1.2-2.2 3-2.4V6.6h2.3zm-2.3 3.3c-.6.1-.9.4-.9.8s.3.7 1 .8V9.9zm2.3 4.1c.7-.1 1.1-.4 1.1-.9s-.4-.8-1.1-.9v1.8z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 22'%3E%3Crect x='1' y='1' width='38' height='20' rx='2.2' fill='%236b8f71'/%3E%3Crect x='3.5' y='3.4' width='33' height='15.2' rx='1.4' fill='%233d8c5a'/%3E%3Ccircle cx='20' cy='11' r='5.2' fill='%23cfe8d6' opacity='.32'/%3E%3Cpath fill='%23e8f6ec' d='M21.1 6.6v1.7c1.3.2 2.2.9 2.2 2.1 0 1.6-1.4 2.3-3.3 2.5V16h-1.6v-3.1c-1.6-.2-2.6-.9-2.6-2.3 0-1.5 1.2-2.2 3-2.4V6.6h2.3zm-2.3 3.3c-.6.1-.9.4-.9.8s.3.7 1 .8V9.9zm2.3 4.1c.7-.1 1.1-.4 1.1-.9s-.4-.8-1.1-.9v1.8z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 22'%3E%3Crect x='1' y='1' width='38' height='20' rx='2.2' fill='%232f7a4e'/%3E%3Crect x='3.5' y='3.4' width='33' height='15.2' rx='1.4' fill='%234a9a68'/%3E%3Ccircle cx='20' cy='11' r='5.2' fill='%23cfe8d6' opacity='.3'/%3E%3Cpath fill='%23e8f6ec' d='M21.1 6.6v1.7c1.3.2 2.2.9 2.2 2.1 0 1.6-1.4 2.3-3.3 2.5V16h-1.6v-3.1c-1.6-.2-2.6-.9-2.6-2.3 0-1.5 1.2-2.2 3-2.4V6.6h2.3zm-2.3 3.3c-.6.1-.9.4-.9.8s.3.7 1 .8V9.9zm2.3 4.1c.7-.1 1.1-.4 1.1-.9s-.4-.8-1.1-.9v1.8z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 22'%3E%3Crect x='1' y='1' width='38' height='20' rx='2.2' fill='%233d8c5a'/%3E%3Crect x='3.5' y='3.4' width='33' height='15.2' rx='1.4' fill='%232f7a4e'/%3E%3Ccircle cx='20' cy='11' r='5.2' fill='%23cfe8d6' opacity='.34'/%3E%3Cpath fill='%23e8f6ec' d='M21.1 6.6v1.7c1.3.2 2.2.9 2.2 2.1 0 1.6-1.4 2.3-3.3 2.5V16h-1.6v-3.1c-1.6-.2-2.6-.9-2.6-2.3 0-1.5 1.2-2.2 3-2.4V6.6h2.3zm-2.3 3.3c-.6.1-.9.4-.9.8s.3.7 1 .8V9.9zm2.3 4.1c.7-.1 1.1-.4 1.1-.9s-.4-.8-1.1-.9v1.8z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 22'%3E%3Crect x='1' y='1' width='38' height='20' rx='2.2' fill='%236b8f71'/%3E%3Crect x='3.5' y='3.4' width='33' height='15.2' rx='1.4' fill='%232f7a4e'/%3E%3Ccircle cx='20' cy='11' r='5.2' fill='%23cfe8d6' opacity='.28'/%3E%3Cpath fill='%23e8f6ec' d='M21.1 6.6v1.7c1.3.2 2.2.9 2.2 2.1 0 1.6-1.4 2.3-3.3 2.5V16h-1.6v-3.1c-1.6-.2-2.6-.9-2.6-2.3 0-1.5 1.2-2.2 3-2.4V6.6h2.3zm-2.3 3.3c-.6.1-.9.4-.9.8s.3.7 1 .8V9.9zm2.3 4.1c.7-.1 1.1-.4 1.1-.9s-.4-.8-1.1-.9v1.8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 1.7rem 0.95rem, 1.4rem 0.78rem, 1.9rem 1.05rem, 1.25rem 0.7rem, 1.55rem 0.86rem;
  background-position: 12% -10%, 32% -22%, 58% -14%, 84% -26%, 44% -12%;
  opacity: 0.36;
}

[data-theme="taxday"] .hero-visual,
[data-theme="taxday"] .hero-daisy {
  overflow: visible;
}

[data-theme="taxday"] .hero-daisy-photo {
  object-fit: contain;
  object-position: center top;
}

[data-theme="taxday"] .hero-visual::before {
  background: radial-gradient(
    ellipse at 58% 52%,
    rgba(26, 140, 255, 0.36),
    rgba(61, 140, 90, 0.18) 48%,
    rgba(107, 143, 113, 0.1) 62%,
    transparent 74%
  );
}

[data-theme="taxday"] .button-primary {
  box-shadow: 0 0 1.3rem rgba(61, 140, 90, 0.38);
}

[data-theme="taxday"] .button-primary:hover,
[data-theme="taxday"] .button-primary:focus-visible {
  box-shadow: 0 0 1.55rem rgba(107, 143, 113, 0.4);
}

[data-theme="taxday"] .button-secondary {
  box-shadow: inset 0 0 0 2px var(--cyan), 0 0 0.8rem rgba(61, 140, 90, 0.2);
}

[data-theme="taxday"] .section-header h1,
[data-theme="taxday"] .section-header h2 {
  background-image: linear-gradient(90deg, var(--cyan), var(--liberty-green));
}

[data-theme="taxday"] .site-footer {
  border-top-color: rgba(107, 143, 113, 0.28);
}

[data-theme="taxday"] .gp-hero {
  background:
    radial-gradient(ellipse 36% 48% at 10% 16%, rgba(61, 140, 90, 0.14), transparent 58%),
    radial-gradient(ellipse 48% 70% at 88% 18%, rgba(107, 143, 113, 0.1), transparent 58%),
    radial-gradient(ellipse 62% 80% at 78% 58%, var(--gp-glow), transparent 64%),
    radial-gradient(ellipse 40% 42% at 18% 88%, rgba(47, 122, 78, 0.08), transparent 56%),
    var(--navy);
}

[data-theme="taxday"] .gp-hero-visual img {
  box-shadow:
    0 1.5rem 3rem rgba(0, 0, 0, 0.45),
    0 0 2.4rem rgba(26, 140, 255, 0.16),
    0 0 1.4rem rgba(61, 140, 90, 0.16);
}

@media (max-width: 900px) {
  [data-theme="taxday"] .hero::before {
    width: 5rem;
    height: 5rem;
    opacity: 0.38;
  }

  [data-theme="taxday"] .hero::after {
    background-size: 1.3rem 0.72rem, 1.1rem 0.62rem, 1.45rem 0.8rem, 1rem 0.55rem, 1.2rem 0.66rem;
    opacity: 0.26;
  }
}

@media (prefers-reduced-motion: no-preference) {
  [data-theme="taxday"] .hero::after {
    animation: nac-taxday-bills 19s linear infinite;
  }

  [data-theme="taxday"] .site-header::after {
    animation: nac-taxday-twinkle 3.2s ease-in-out infinite alternate;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-theme="taxday"] .hero::after {
    animation: none;
    background-position: 12% 16%, 32% 34%, 58% 22%, 84% 46%, 44% 28%;
    opacity: 0.24;
  }

  [data-theme="taxday"] .site-header::after {
    animation: none;
    opacity: 0.7;
  }

  [data-theme="taxday"] .button-primary,
  [data-theme="taxday"] .button-primary:hover,
  [data-theme="taxday"] .button-primary:focus-visible {
    box-shadow: 0 0 0.65rem rgba(61, 140, 90, 0.26);
  }
}

@keyframes nac-taxday-bills {
  from {
    background-position: 12% -12%, 32% -24%, 58% -16%, 84% -30%, 44% -14%;
  }
  to {
    background-position: 16% 114%, 28% 120%, 62% 112%, 80% 124%, 48% 116%;
  }
}

@keyframes nac-taxday-twinkle {
  from {
    opacity: 0.52;
  }
  to {
    opacity: 0.9;
  }
}
