/* ANRI AUDIO MIDI website: scoped panels for the six product-information sections.
   Scope intentionally stops at #seller; hero, articulation showcases, FAQ, contacts
   and standalone support/legal pages keep their existing appearance. */

:is(#price,#compatibility,#download,#support-development,#support,#seller) .anri-english-support-box {
  border-radius:24px;
  padding:32px;
  box-shadow:0 15px 42px rgba(0,0,0,.22);
  color:#f5f6f8;
}
:is(#price,#compatibility,#download,#support-development,#support,#seller) .anri-english-support-box p,
:is(#price,#compatibility,#download,#support-development,#support,#seller) .anri-english-support-box .intro {
  color:#c5cad5;
  line-height:1.68;
}
:is(#price,#compatibility,#download,#support-development,#support,#seller) .anri-english-support-box strong {
  color:#f1f3f7;
}
:is(#price,#compatibility,#download,#support-development,#support,#seller) .anri-english-support-box h2 {
  color:#fafbfe;
}

/* Style 1: restrained premium red tone only for the main product and download panels. */
#price .anri-english-support-box {
  background:linear-gradient(155deg,#141117 0%,#101116 55%,#0c0d12 100%);
  border:1px solid rgba(239,74,101,.23);
}
#download .anri-english-support-box {
  background:linear-gradient(155deg,#141118 0%,#101116 50%,#0c0d12 100%);
  border:1px solid rgba(239,74,101,.23);
}

/* Style 2: calm graphite panels for compatibility, support and developer info. */
:is(#compatibility,#support,#seller) .anri-english-support-box {
  background:linear-gradient(155deg,#111217 0%,#0c0d12 100%);
  border:1px solid rgba(210,219,235,.12);
}
#support-development .anri-english-support-box {
  background:linear-gradient(155deg,#111217 0%,#0c0d12 100%);
  border:1px solid rgba(210,219,235,.12);
}

/* Three feature tiles remain neutral; icons communicate the visual hierarchy. */
#price .anri-english-support-box .grid .box {
  background:linear-gradient(155deg,#111217 0%,#0b0c11 100%);
  border:1px solid rgba(219,224,237,.10);
  box-shadow:0 7px 18px rgba(0,0,0,.12);
}
#price .anri-english-support-box .grid .box h3 {color:#f8f9fb;}
#price .anri-english-support-box .grid .box p {color:#bdc4d1;}
#price .grid .box:nth-child(1) .icon {background:rgba(240,80,107,.13);color:#ff8096;}
#price .grid .box:nth-child(2) .icon {background:rgba(105,133,207,.17);color:#a5baff;}
#price .grid .box:nth-child(3) .icon {background:rgba(142,132,177,.19);color:#d1c1f3;}

/* Dark release notice is distinct from ordinary cards; disabled remains dark. */
#download .notice {
  background:linear-gradient(125deg,#161513 0%,#101116 100%);
  border:1px solid rgba(220,175,102,.36);
  border-left:3px solid #d8a45c;
  color:#e8e5dd;
  padding:17px 20px;
}
#download .notice strong {color:#ffe0a4;}
#download .anri-section-actions .placeholder {
  background:#101217;
  border:1px dashed rgba(181,191,208,.28);
  color:#c8ced9;
  padding:10px 13px;
  border-radius:11px;
}
#download .anri-english-support-box .small {color:#adb5c4;}

/* All inner buttons are dark. Red is reserved for a fine outline on the support CTA. */
:is(#download,#support-development,#seller) .anri-section-actions a {
  background:#111217;
  border:1px solid rgba(212,220,237,.16);
  color:#f0f3fa;
  transition:background-color .15s ease,border-color .15s ease;
}
:is(#download,#support-development,#seller) .anri-section-actions a:hover {
  background:#181a21;
  border-color:rgba(233,239,249,.32);
}
#support-development .anri-section-actions a:first-child {
  background:#171116;
  border-color:rgba(237,68,96,.37);
  color:#ffedf1;
}
#support-development .anri-section-actions a:first-child:hover {
  background:#21141b;
  border-color:rgba(255,104,131,.52);
}
/* Provider buttons inherit the original neutral Kaspi style.
   The first "View support methods" CTA keeps its red outline. */
#support-development .anri-english-support-box .small {color:#adb5c2;}

/* Download link becomes active only when the public GitHub release asset is live.
   Keep styles confined to the free macOS download panel. */
#download .anri-section-actions a.anri-pkg-download {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  color:#fff5f6;
  background:linear-gradient(160deg,#61202f,#32151f);
  border:1px solid rgba(245,100,124,.68);
  box-shadow:0 0 14px rgba(237,31,61,.13);
  font-weight:800;
}
#download .anri-section-actions a.anri-pkg-download:hover {
  background:linear-gradient(160deg,#792a3d,#3d1826);
  border-color:rgba(255,139,157,.86);
  box-shadow:0 0 18px rgba(237,31,61,.2);
}
#download .anri-section-actions a.anri-pkg-download:focus-visible {
  outline:2px solid #ffc4ce;
  outline-offset:3px;
}

/* Narrow screens preserve legibility and avoid overflowing buttons. */
@media(max-width:700px) {
  :is(#price,#compatibility,#download,#support-development,#support,#seller) .anri-english-support-box {
    padding:21px;
    border-radius:19px;
  }
  :is(#download,#support-development,#seller) .anri-section-actions a {max-width:100%;}
}
