/* The public Add-ons page only. Every class starts with ao- so nothing here touches the other pages. */
.ao-main { font-size: 17px; line-height: 1.6; }
.ao-main h1, .ao-main h2, .ao-main h3 { font-family: var(--display); margin: 0; text-wrap: balance; }
.ao-main p { margin: 0; }
.ao-main button { font: inherit; }
.ao-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.ao-sheet h2, .ao-sheet p { margin: 0; }
.ao-sheet h2 { font-family: var(--display); }
.ao-sheet button { font: inherit; font-weight: 700; }

.ao-hero { background: radial-gradient(900px 420px at 80% 30%, var(--teal), var(--teal-deep) 75%); color: #fff; }
.ao-hero .ao-wrap { padding-top: 64px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 14px; }
.ao-hero h1 { font-size: clamp(40px, 7vw, 76px); line-height: 1; letter-spacing: -1px; }
.ao-hero p { font-size: clamp(18px, 2.4vw, 22px); color: #E4F1F0; max-width: 40rem; }
.ao-hero .ao-note { display: inline-flex; align-self: flex-start; background: var(--gold); color: var(--navy); font-weight: 700; padding: 6px 14px; border-radius: 999px; font-size: 15px; }

.ao-groups { padding-top: 24px; padding-bottom: 16px; }
.ao-group { padding: 40px 0 18px; display: flex; flex-direction: column; gap: 4px; }
.ao-group h2 { font-size: clamp(26px, 4vw, 34px); }
.ao-group p { color: var(--muted); }
.ao-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.ao-addon { text-align: left; cursor: pointer; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; box-shadow: 0 16px 36px rgba(14, 82, 84, .13), 0 2px 6px rgba(14, 82, 84, .08); transition: transform .25s ease, box-shadow .25s ease, opacity .6s ease; }
.ao-addon:hover { transform: translateY(-6px); box-shadow: 0 32px 56px rgba(14, 82, 84, .24), 0 4px 10px rgba(14, 82, 84, .1); }
.ao-ico { width: 84px; height: 84px; border-radius: 18px; background: #E8F3F3; color: var(--teal); display: flex; align-items: center; justify-content: center; }
.ao-ico svg { width: 52px; height: 52px; }
.ao-name { font-family: var(--display); font-size: 24px; font-weight: 600; }
.ao-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.ao-chip { font-size: 13px; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.ao-chip.ao-soon { background: #FDF0E1; color: #9A5B00; }
.ao-chip.ao-ok { background: #E6F4EE; color: #12805C; }
.ao-chip.ao-base { background: #E8F3F3; color: var(--teal-deep); }
.ao-addon { position: relative; }
.ao-addon.ao-pro { background: linear-gradient(160deg, #1B3158, var(--navy) 70%); color: #fff; border-color: var(--navy); box-shadow: 0 22px 44px rgba(14, 26, 48, .35), 0 2px 6px rgba(14, 26, 48, .2); }
.ao-addon.ao-pro:hover { box-shadow: 0 38px 64px rgba(14, 26, 48, .45), 0 4px 10px rgba(14, 26, 48, .25); }
.ao-addon.ao-pro .ao-ico { width: 124px; height: 124px; background: radial-gradient(circle at 35% 30%, #ffffff, #D9ECEB 75%); border-radius: 24px; box-shadow: 0 14px 26px rgba(0, 0, 0, .35); animation: bobble 5s ease-in-out infinite; }
.ao-addon.ao-pro .ao-ico svg { width: 100px; height: 100px; filter: drop-shadow(0 6px 5px rgba(14, 26, 48, .3)); }
.ao-addon.ao-pro:nth-child(2) .ao-ico { animation-delay: -1.6s; }
.ao-addon.ao-pro:nth-child(3) .ao-ico { animation-delay: -3.2s; }
.ao-addon.ao-pro .ao-more { color: var(--gold); }
.ao-ribbon { position: absolute; top: 18px; right: 18px; background: var(--gold); color: var(--navy); font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: 1.5px; padding: 3px 12px; border-radius: 6px; }
@keyframes bobble { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(2deg); } }
#ao-ico.ao-big { width: 96px; height: 96px; }
#ao-ico.ao-big svg { width: 80px; height: 80px; }
.ao-more { color: var(--teal-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ao-js .ao-reveal { opacity: 0; transform: translateY(28px); }
.ao-js .ao-reveal.ao-in { opacity: 1; transform: none; transition-delay: var(--d, 0s); }
.ao-js .ao-reveal.ao-in:hover { transform: translateY(-6px); transition-delay: 0s; }

.ao-how { padding: 24px 0 80px; }
.ao-how .ao-box { background: #E8F3F3; border: 1px solid #BFE3E1; border-radius: 16px; padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; }
.ao-how svg { flex: none; width: 32px; height: 32px; color: var(--teal); }

dialog.ao-dlg { border: 0; border-radius: 20px; padding: 0; width: min(560px, calc(100vw - 32px)); color: var(--ink); box-shadow: 0 40px 80px rgba(0, 0, 0, .35); }
dialog.ao-dlg::backdrop { background: rgba(14, 26, 48, .55); }
.ao-sheet { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.ao-sheet .ao-head { display: flex; gap: 16px; align-items: center; }
.ao-sheet h2 { font-size: 30px; line-height: 1.1; }
.ao-sheet ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.ao-sheet .ao-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.ao-close { background: var(--teal); color: #fff; border: 0; border-radius: 10px; padding: 11px 22px; font-weight: 700; cursor: pointer; min-height: 44px; }
@media (prefers-reduced-motion: reduce) {
  .ao-addon { transition: none; }
  .ao-addon.ao-pro .ao-ico { animation: none; }
  .ao-js .ao-reveal { opacity: 1; transform: none; }
}
