/* ==== AKAREC TIER ROUTINE (CL-245): the one hover / focus / tap look for every package card and pay button, on every page ====
   1. Package card: class="ak-tier" data-tier="1|2|3|4" (1 blue, 2 emerald, 3 amber, 4 gold, 5 diamond = over $5,000 (CL-285)). The colors are the six :root lines below.
   2. Its ONE real button or link gets class="ak-tier__go" (label span + price span); js/akarec-actions.js makes a click anywhere on the card press it.
   3. A pay button on its own: class="ak-pay" (add data-tier="n" for a ladder). No data-tier = the visitor's main color. A card that IS the link: .ak-tier on the <a>.
   4. Hover, keyboard focus (anywhere in the card) and tap (.is-lit, js/akarec-actions.js) do the same thing: the card lifts, its edge and glow turn the tier color, and its button fills with that color.
   5. At rest the buttons keep the CL-237 hierarchy (outline, blue, blue, gold). Nothing is shown on hover only; reduced motion keeps the color, drops the lift.
   6. Not a price (a path link, a pillar button): the QUIET variant, see CL-269 below.
   CL-289: priced .akp-card cards on the built pages get .ak-tier + data-tier from build-pages.mjs (tierCards). 4 gold sweeps a band of light across
   the card each time it lights up; 5 diamond glints at rest and blazes brighter than gold when lit.
   7. To reuse: add the classes, nothing else. Tokens for your own details: --tier (bright), --tier-deep (text on white), --tier-reach (how far the top line climbs). */
:root {
  --ak-tier-1: #38BDF8; --ak-tier-1-deep: #0369A1;
  --ak-tier-2: #10B981; --ak-tier-2-deep: #047857;
  --ak-tier-3: #F59E0B; --ak-tier-3-deep: #B45309;
  --ak-tier-4: #FACC15; --ak-tier-4-deep: #A16207;
  --ak-tier-gold: linear-gradient(135deg, #FFF1A8 0%, #FDE047 22%, #F59E0B 58%, #D97706 100%);
  --ak-tier-ink: #060A12;
}
.ak-tier, .ak-pay { --tier: var(--mx-pri, #F59E0B); --tier-deep: var(--mx-day-pri, #B45309); --tier-reach: .34; --tier-fill: linear-gradient(180deg, color-mix(in srgb, var(--tier) 78%, #fff), var(--tier)); }
[data-tier="1"]:is(.ak-tier, .ak-pay) { --tier: var(--ak-tier-1); --tier-deep: var(--ak-tier-1-deep); --tier-reach: .22; }
[data-tier="2"]:is(.ak-tier, .ak-pay) { --tier: var(--ak-tier-2); --tier-deep: var(--ak-tier-2-deep); --tier-reach: .44; }
[data-tier="3"]:is(.ak-tier, .ak-pay) { --tier: var(--ak-tier-3); --tier-deep: var(--ak-tier-3-deep); --tier-reach: .68; }
[data-tier="4"]:is(.ak-tier, .ak-pay) { --tier: var(--ak-tier-4); --tier-deep: var(--ak-tier-4-deep); --tier-reach: 1; --tier-fill: var(--ak-tier-gold); }

/* ---- the card at rest: a quiet surface with the tier's color in its top line and its edge ---- */
.ak-tier[data-tier] {
  position: relative; cursor: pointer; -webkit-tap-highlight-color: transparent;
  --tier-edge: color-mix(in srgb, var(--tier) 24%, var(--ak-border-subtle, rgba(255, 255, 255, .12)));
  --tier-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 20px 36px -30px rgba(0, 0, 0, .85);
  border: 1px solid var(--tier-edge);
  background:
    radial-gradient(130% 55% at 50% -12%, color-mix(in srgb, var(--tier) 15%, transparent), transparent 64%),
    linear-gradient(180deg, color-mix(in srgb, var(--ak-surface-2, #0F1A2E) 94%, transparent), color-mix(in srgb, var(--ak-surface-2, #0F1A2E) 66%, transparent));
  box-shadow: var(--tier-shadow);
  transition: transform .32s cubic-bezier(.2, .8, .2, 1), border-color .25s ease, box-shadow .32s ease;
}
.ak-tier[data-tier]::before {
  content: ""; position: absolute; top: -1px; left: 1.1rem; height: 2px; border-radius: 2px; pointer-events: none;
  width: calc((100% - 2.2rem) * var(--tier-reach));
  background: linear-gradient(90deg, var(--tier), color-mix(in srgb, var(--tier) 35%, transparent));
  box-shadow: 0 0 12px color-mix(in srgb, var(--tier) 70%, transparent);
  transition: width .45s cubic-bezier(.2, .8, .2, 1);
}
.ak-tier[data-tier="4"] { --tier-edge: color-mix(in srgb, var(--tier) 55%, transparent); --tier-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 0 1px color-mix(in srgb, var(--tier) 14%, transparent), 0 24px 44px -30px color-mix(in srgb, var(--tier) 60%, transparent); }
.ak-tier[data-tier="4"]::before { background: var(--ak-tier-gold); }
/* gold only (CL-289, Frank: "bring back the old top-tier feel"): a clear band of gold light sweeps across the card every time it lights up */
.ak-tier[data-tier="4"]::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, transparent 22%, rgba(253, 224, 71, .10) 38%, rgba(255, 246, 196, .42) 50%, rgba(253, 224, 71, .10) 62%, transparent 78%) no-repeat -160% 0 / 65% 100%;
  mix-blend-mode: screen;
}
html[data-theme="day"] .ak-tier[data-tier="4"]::after {
  background-image: linear-gradient(105deg, transparent 22%, rgba(250, 204, 21, .16) 38%, rgba(253, 224, 71, .5) 47%, rgba(255, 255, 255, .7) 50%, rgba(253, 224, 71, .5) 53%, rgba(250, 204, 21, .16) 62%, transparent 78%);
  mix-blend-mode: normal;
}
@keyframes akGoldSweep { 0% { opacity: 1; background-position: -160% 0; } 85% { opacity: 1; } 100% { opacity: 0; background-position: 260% 0; } }
html[data-theme="day"] .ak-tier[data-tier] {
  --tier-edge: color-mix(in srgb, var(--tier-deep) 30%, rgba(11, 25, 48, .14));
  --tier-shadow: inset 0 1px 0 #fff, 0 18px 32px -28px rgba(11, 25, 48, .5);
  background: radial-gradient(130% 55% at 50% -12%, color-mix(in srgb, var(--tier) 12%, transparent), transparent 64%), #fff;
}
html[data-theme="day"] .ak-tier[data-tier="4"] { --tier-edge: color-mix(in srgb, var(--tier-deep) 62%, transparent); --tier-shadow: inset 0 1px 0 #fff, 0 22px 40px -28px color-mix(in srgb, var(--tier-deep) 65%, transparent); }
html[data-theme="day"] .ak-tier[data-tier]::before { background: linear-gradient(90deg, var(--tier-deep), color-mix(in srgb, var(--tier) 60%, transparent)); box-shadow: none; }
html[data-theme="day"] .ak-tier[data-tier="4"]::before { background: var(--ak-tier-gold); }

/* ---- lit: hover (mouse), keyboard focus on the card's button, and tap ---- */
@media (hover: hover) and (pointer: fine) {
  .ak-tier[data-tier]:hover { transform: translateY(-6px); border-color: var(--tier-edge-lit); box-shadow: var(--tier-glow); }
  .ak-tier[data-tier]:hover::before { width: calc(100% - 2.2rem); }
  .ak-tier[data-tier="4"]:hover::after { animation: akGoldSweep 1.15s cubic-bezier(.45, .05, .35, 1) .05s 1 both; }
}
.ak-tier[data-tier] {
  --tier-edge-lit: color-mix(in srgb, var(--tier) 88%, transparent);
  --tier-glow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 0 0 1px color-mix(in srgb, var(--tier) 50%, transparent), 0 30px 54px -26px color-mix(in srgb, var(--tier) 78%, transparent), 0 0 46px -12px color-mix(in srgb, var(--tier) 62%, transparent);
}
html[data-theme="day"] .ak-tier[data-tier] {
  --tier-edge-lit: var(--tier-deep);
  --tier-glow: inset 0 1px 0 #fff, 0 0 0 1px color-mix(in srgb, var(--tier-deep) 55%, transparent), 0 28px 48px -24px color-mix(in srgb, var(--tier-deep) 70%, transparent), 0 0 40px -12px color-mix(in srgb, var(--tier) 75%, transparent);
}
.ak-tier[data-tier]:is(:focus-visible, :active, .is-lit, :has(:focus-visible)) { transform: translateY(-6px); border-color: var(--tier-edge-lit); box-shadow: var(--tier-glow); }
.ak-tier[data-tier]:is(:focus-visible, :active, .is-lit, :has(:focus-visible))::before { width: calc(100% - 2.2rem); }
.ak-tier[data-tier]:active { transform: translateY(-2px); transition-duration: .12s; }
.ak-tier[data-tier="4"]:is(:focus-visible, .is-lit, :has(:focus-visible))::after { animation: akGoldSweep 1.15s cubic-bezier(.45, .05, .35, 1) .05s 1 both; }
/* a card that is not itself a link or button and has nothing to press keeps the normal arrow */
.ak-tier[data-tier]:not(a, button):not(:has(a, button)) { cursor: default; }

/* ---- the pay button: lifts and fills with the tier color (html:root + two ids on purpose: this has to win over the CL-237 resting looks) ---- */
.ak-tier__go, .ak-pay { transition: transform .22s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease, border-color .2s ease, background-color .2s ease, color .2s ease, filter .2s ease; -webkit-tap-highlight-color: transparent; }
@media (hover: hover) and (pointer: fine) {
  html:root body:not(#ak-x):not(#ak-y) .ak-tier:hover .ak-tier__go,
  html:root body:not(#ak-x):not(#ak-y) .ak-pay:hover:not(:disabled) {
    background: var(--tier-fill) !important; color: var(--ak-tier-ink) !important; border-color: color-mix(in srgb, var(--tier) 70%, #fff) !important; filter: none !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 10px 26px -10px color-mix(in srgb, var(--tier) 85%, transparent), 0 0 24px -6px color-mix(in srgb, var(--tier) 70%, transparent) !important;
  }
  html:root body:not(#ak-x):not(#ak-y) .ak-tier .ak-tier__go:hover,
  html:root body:not(#ak-x):not(#ak-y) .ak-pay:hover:not(:disabled) { transform: translateY(-2px); }
}
html:root body:not(#ak-x):not(#ak-y) .ak-tier:active .ak-tier__go,
html:root body:not(#ak-x):not(#ak-y) .ak-tier .ak-tier__go:is(:focus-visible, :active),
html:root body:not(#ak-x):not(#ak-y) .ak-pay:is(:focus-visible, :active):not(:disabled) {
  background: var(--tier-fill) !important; color: var(--ak-tier-ink) !important; border-color: color-mix(in srgb, var(--tier) 70%, #fff) !important; filter: none !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 10px 26px -10px color-mix(in srgb, var(--tier) 85%, transparent), 0 0 24px -6px color-mix(in srgb, var(--tier) 70%, transparent) !important;
}
html:root body:not(#ak-x):not(#ak-y) :is(.ak-tier__go, .ak-pay):active { transform: translateY(0) scale(.985); }

/* CL-291 (Frank via GM: "every card's button fills with its own tier color"): at rest the button already wears its tier,
   not the visitor's mix color. 1 = blue outline (the start), 2 green, 3 amber, 4 gold fill, 5 diamond (rules further down). Lit: the same fill, brighter (above). */
html:root body:not(#ak-x):not(#ak-y) .ak-tier:is([data-tier="2"], [data-tier="3"], [data-tier="4"]) .ak-tier__go {
  background: var(--tier-fill) !important; color: var(--ak-tier-ink) !important; border-color: color-mix(in srgb, var(--tier) 70%, #fff) !important; filter: none !important;
}
html:root body:not(#ak-x):not(#ak-y) .ak-tier:is([data-tier="2"], [data-tier="3"], [data-tier="4"]) .ak-tier__go .ak-button__price { color: var(--ak-tier-ink) !important; }
html:root body:not(#ak-x) .ak-tier[data-tier="1"] .ak-tier__go { border-color: var(--tier) !important; color: var(--tier) !important; }
html[data-theme="day"]:root body:not(#ak-x) .ak-tier[data-tier="1"] .ak-tier__go { border-color: var(--tier-deep) !important; color: var(--tier-deep) !important; }

/* keyboard: a clear ring on the real button (and on a card that is itself the link) */
:is(.ak-tier__go, .ak-pay, a.ak-tier, button.ak-tier):focus-visible { outline: 2px solid var(--p-citron, #FDE047); outline-offset: 3px; }
html[data-theme="day"] :is(.ak-tier__go, .ak-pay, a.ak-tier, button.ak-tier):focus-visible { outline-color: var(--p-ink, #0B1930); }

/* ---- CL-269: the QUIET variant, for links that are not prices (the two path links under each ladder, the four pillar buttons in "Know what you're looking for?").
   class="ak-tier ak-tier--quiet" on a card that IS the link; class="ak-pay ak-pay--quiet" on a small pill. Always the visitor's main color, no tier number.
   At rest: raised (top highlight, soft drop shadow; the card also gets a short line of the color on its top edge).
   Lit (hover, keyboard focus, tap): the card lifts with the package-card edge and glow; the pill fills like a pay button (rules above). ---- */
html:root body:not(#ak-x):not(#ak-y) .ak-tier--quiet {
  position: relative;
  border-color: color-mix(in srgb, var(--tier) 30%, var(--ak-border-subtle, rgba(255, 255, 255, .12)));
  background: radial-gradient(130% 75% at 50% -22%, color-mix(in srgb, var(--tier) 13%, transparent), transparent 64%), linear-gradient(180deg, color-mix(in srgb, var(--ak-surface-2, #0F1A2E) 94%, #fff), color-mix(in srgb, var(--ak-surface-2, #0F1A2E) 78%, transparent));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 16px 28px -20px rgba(0, 0, 0, .9);
  transition: transform .32s cubic-bezier(.2, .8, .2, 1), border-color .25s ease, box-shadow .32s ease;
}
html:root body:not(#ak-x):not(#ak-y) .ak-tier--quiet::before {
  content: ""; position: absolute; top: -1px; left: 1.1rem; height: 2px; border-radius: 2px; pointer-events: none;
  width: calc((100% - 2.2rem) * .22);
  background: linear-gradient(90deg, var(--tier), color-mix(in srgb, var(--tier) 35%, transparent));
  box-shadow: 0 0 12px color-mix(in srgb, var(--tier) 70%, transparent);
  transition: width .45s cubic-bezier(.2, .8, .2, 1);
}
html[data-theme="day"]:root body:not(#ak-x):not(#ak-y) .ak-tier--quiet {
  border-color: color-mix(in srgb, var(--tier-deep) 28%, rgba(11, 25, 48, .14));
  background: radial-gradient(130% 75% at 50% -22%, color-mix(in srgb, var(--tier) 11%, transparent), transparent 64%), #fff;
  box-shadow: inset 0 1px 0 #fff, 0 14px 26px -20px rgba(11, 25, 48, .55);
}
html[data-theme="day"]:root body:not(#ak-x):not(#ak-y) .ak-tier--quiet::before { background: linear-gradient(90deg, var(--tier-deep), color-mix(in srgb, var(--tier) 60%, transparent)); box-shadow: none; }
@media (hover: hover) and (pointer: fine) {
  html:root body:not(#ak-x):not(#ak-y) .ak-tier--quiet:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--tier) 88%, transparent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 0 0 1px color-mix(in srgb, var(--tier) 50%, transparent), 0 30px 54px -26px color-mix(in srgb, var(--tier) 78%, transparent), 0 0 46px -12px color-mix(in srgb, var(--tier) 62%, transparent); }
  html[data-theme="day"]:root body:not(#ak-x):not(#ak-y) .ak-tier--quiet:hover { border-color: var(--tier-deep); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px color-mix(in srgb, var(--tier-deep) 55%, transparent), 0 28px 48px -24px color-mix(in srgb, var(--tier-deep) 70%, transparent), 0 0 40px -12px color-mix(in srgb, var(--tier) 75%, transparent); }
  html:root body:not(#ak-x):not(#ak-y) .ak-tier--quiet:hover::before { width: calc(100% - 2.2rem); }
}
html:root body:not(#ak-x):not(#ak-y) .ak-tier--quiet:is(:focus-visible, :active) { transform: translateY(-5px); border-color: color-mix(in srgb, var(--tier) 88%, transparent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 0 0 1px color-mix(in srgb, var(--tier) 50%, transparent), 0 30px 54px -26px color-mix(in srgb, var(--tier) 78%, transparent), 0 0 46px -12px color-mix(in srgb, var(--tier) 62%, transparent); }
html[data-theme="day"]:root body:not(#ak-x):not(#ak-y) .ak-tier--quiet:is(:focus-visible, :active) { border-color: var(--tier-deep); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px color-mix(in srgb, var(--tier-deep) 55%, transparent), 0 28px 48px -24px color-mix(in srgb, var(--tier-deep) 70%, transparent), 0 0 40px -12px color-mix(in srgb, var(--tier) 75%, transparent); }
html:root body:not(#ak-x):not(#ak-y) .ak-tier--quiet:is(:focus-visible, :active)::before { width: calc(100% - 2.2rem); }
html:root body:not(#ak-x):not(#ak-y) .ak-tier--quiet:active { transform: translateY(-2px); transition-duration: .12s; }
/* the quiet pill at rest: raised, not filled */
html:root body:not(#ak-x):not(#ak-y) .ak-pay--quiet { background: linear-gradient(180deg, color-mix(in srgb, var(--ak-surface-2, #0F1A2E) 88%, #fff), color-mix(in srgb, var(--ak-surface, #0B1220) 92%, transparent)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 10px 18px -12px rgba(0, 0, 0, .85); }
html[data-theme="day"]:root body:not(#ak-x):not(#ak-y) .ak-pay--quiet { background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--tier) 6%, #fff)); box-shadow: inset 0 1px 0 #fff, 0 10px 18px -12px rgba(11, 25, 48, .45); }
html:root body:not(#ak-x):not(#ak-y) .ak-pay--quiet:is(:hover, :focus-visible, :active) svg { stroke: currentColor; }

/* ---- CL-285 (Frank round 3, item 4): DIAMOND, data-tier="5", for prices over $5,000. One step above gold + shimmer, tactful, not dramatic.
   Ice white with a faint prism (pale sky, lilac, champagne) instead of a color. At rest: a prism line along the top edge, a cool edge
   and a slow, very faint glint every few seconds. Lit: the same lift as every tier (a little higher), a cool glow and one bright sweep.
   Its button: ice-prism fill with dark ink at rest (the top of the hierarchy), the same fill when lit. Reduced motion: no glint, no lift. ---- */
:root {
  --ak-tier-5: #9AD8F5; --ak-tier-5-deep: #0C4A6E;
  --ak-tier-diamond: linear-gradient(in oklch 125deg, #FFFFFF 0%, #E0F2FE 22%, #C7E7FB 40%, #EDE9FE 56%, #FEF3C7 72%, #E0F2FE 88%, #FFFFFF 100%);
  --ak-tier-diamond-line: linear-gradient(in oklch 90deg, #7DD3FC, #C4B5FD 35%, #FDE68A 65%, #7DD3FC);
}
[data-tier="5"]:is(.ak-tier, .ak-pay) { --tier: var(--ak-tier-5); --tier-deep: var(--ak-tier-5-deep); --tier-reach: 1; --tier-fill: var(--ak-tier-diamond); }
.ak-tier[data-tier="5"] {
  --tier-edge: color-mix(in oklch, var(--tier) 62%, transparent);
  --tier-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 0 0 1px color-mix(in srgb, var(--tier) 16%, transparent), 0 24px 46px -30px color-mix(in srgb, var(--tier) 70%, transparent);
  --tier-glow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 0 0 1px color-mix(in srgb, var(--tier) 60%, transparent), 0 34px 60px -26px color-mix(in srgb, var(--tier) 80%, transparent), 0 0 54px -10px color-mix(in srgb, #C4B5FD 45%, transparent);
  background:
    radial-gradient(130% 55% at 50% -12%, color-mix(in srgb, var(--tier) 17%, transparent), transparent 64%),
    linear-gradient(in oklch 150deg, color-mix(in srgb, #E0F2FE 5%, transparent), transparent 45%, color-mix(in srgb, #EDE9FE 5%, transparent)),
    linear-gradient(180deg, color-mix(in srgb, var(--ak-surface-2, #0F1A2E) 94%, transparent), color-mix(in srgb, var(--ak-surface-2, #0F1A2E) 66%, transparent));
}
.ak-tier[data-tier="5"]::before { background: var(--ak-tier-diamond-line); box-shadow: 0 0 10px color-mix(in srgb, var(--tier) 75%, transparent); }
.ak-tier[data-tier="5"]::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: .55;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .13) 46%, rgba(224, 242, 254, .2) 50%, rgba(237, 233, 254, .12) 54%, transparent 70%) no-repeat -160% 0 / 55% 100%;
}
html[data-theme="day"] .ak-tier[data-tier="5"] {
  --tier-edge: color-mix(in oklch, var(--tier-deep) 46%, #C7E7FB);
  --tier-shadow: inset 0 1px 0 #fff, 0 0 0 1px color-mix(in srgb, var(--tier) 22%, transparent), 0 22px 42px -28px color-mix(in srgb, var(--tier-deep) 55%, transparent);
  --tier-glow: inset 0 1px 0 #fff, 0 0 0 1px color-mix(in srgb, var(--tier-deep) 45%, transparent), 0 30px 52px -24px color-mix(in srgb, var(--tier-deep) 60%, transparent), 0 0 46px -10px color-mix(in srgb, #A78BFA 40%, transparent);
  background:
    radial-gradient(130% 55% at 50% -12%, color-mix(in srgb, var(--tier) 16%, transparent), transparent 64%),
    linear-gradient(in oklch 150deg, #FFFFFF 0%, #F7FBFF 50%, #FBF9FF 100%);
}
html[data-theme="day"] .ak-tier[data-tier="5"]::before { background: var(--ak-tier-diamond-line); box-shadow: 0 0 8px color-mix(in srgb, var(--tier) 60%, transparent); }
html[data-theme="day"] .ak-tier[data-tier="5"]::after { background-image: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .7) 46%, rgba(186, 230, 253, .35) 50%, rgba(221, 214, 254, .3) 54%, transparent 70%); }
/* lit (CL-289, Frank: "a stronger illumination so it reads as the top"): a brighter ice edge, a wide prism glow and one bright sweep */
.ak-tier[data-tier="5"] {
  --tier-edge-lit: #E0F2FE;
  --tier-glow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 0 26px -8px rgba(224, 242, 254, .45), 0 0 0 1.5px color-mix(in srgb, #BAE6FD 85%, transparent), 0 36px 64px -24px color-mix(in srgb, var(--tier) 90%, transparent), 0 0 70px -6px color-mix(in srgb, #C4B5FD 60%, transparent), 0 0 110px 4px color-mix(in srgb, var(--tier) 38%, transparent);
}
html[data-theme="day"] .ak-tier[data-tier="5"] {
  --tier-edge-lit: #0EA5E9;
  --tier-glow: inset 0 1px 0 #fff, 0 0 0 1.5px color-mix(in srgb, #0EA5E9 70%, transparent), 0 32px 56px -22px color-mix(in srgb, var(--tier-deep) 65%, transparent), 0 0 60px -6px color-mix(in srgb, #A78BFA 55%, transparent), 0 0 90px 2px color-mix(in srgb, #7DD3FC 55%, transparent);
}
@keyframes akDiamondBlaze { 0% { opacity: 1; background-position: -160% 0; } 100% { opacity: 1; background-position: 260% 0; } }
@media (hover: hover) and (pointer: fine) {
  .ak-tier[data-tier="5"]:hover { transform: translateY(-8px); }
  .ak-tier[data-tier="5"]:hover::after { opacity: 1; animation: akDiamondBlaze 1.1s cubic-bezier(.45, .05, .35, 1) .05s 1 both; }
  .ak-tier[data-tier="5"]:hover::before { box-shadow: 0 0 16px 1px color-mix(in srgb, var(--tier) 90%, transparent), 0 0 4px #fff; }
}
.ak-tier[data-tier="5"]:is(:focus-visible, :active, .is-lit, :has(:focus-visible)) { transform: translateY(-8px); }
.ak-tier[data-tier="5"]:is(:focus-visible, .is-lit, :has(:focus-visible))::after { opacity: 1; animation: akDiamondBlaze 1.1s cubic-bezier(.45, .05, .35, 1) .05s 1 both; }
.ak-tier[data-tier="5"]:is(:focus-visible, .is-lit, :has(:focus-visible))::before { box-shadow: 0 0 16px 1px color-mix(in srgb, var(--tier) 90%, transparent), 0 0 4px #fff; }
.ak-tier[data-tier="5"]::after { background-image: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .16) 44%, rgba(224, 242, 254, .34) 50%, rgba(237, 233, 254, .18) 56%, transparent 70%); }
/* the button: ice prism at rest (wins over the pillar's gold top-card button), dark ink */
html:root body:not(#ak-x):not(#ak-y) .ak-tier[data-tier="5"] .ak-tier__go,
html:root body:not(#ak-x):not(#ak-y) .ak-pay[data-tier="5"] {
  background: var(--ak-tier-diamond) !important; color: var(--ak-tier-ink) !important; border: 1.5px solid color-mix(in srgb, var(--tier) 70%, #fff) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 8px 22px -8px color-mix(in srgb, var(--tier) 75%, transparent) !important;
}
html:root body:not(#ak-x):not(#ak-y) .ak-tier[data-tier="5"] .ak-tier__go .ak-button__price { background: transparent !important; color: var(--ak-tier-ink) !important; box-shadow: inset 1px 0 0 rgba(12, 74, 110, .22) !important; border-radius: 0 !important; }
@media (prefers-reduced-motion: no-preference) {
  .ak-tier[data-tier="5"]::after { animation: akDiamondGlint 7s ease-in-out 1.5s infinite; }
}
@keyframes akDiamondGlint { 0%, 70% { background-position: -160% 0; } 88%, 100% { background-position: 260% 0; } }

@media (prefers-reduced-motion: reduce) {
  .ak-tier[data-tier], .ak-tier[data-tier]::before, .ak-tier[data-tier]::after, .ak-tier__go, .ak-pay, .ak-tier--quiet, .ak-tier--quiet::before { transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease !important; }
  .ak-tier[data-tier], .ak-tier[data-tier]:is(:hover, :active, :focus-visible, .is-lit, :has(:focus-visible)), html:root body:not(#ak-x):not(#ak-y) :is(.ak-tier__go, .ak-pay, .ak-tier--quiet), html:root body:not(#ak-x):not(#ak-y) .ak-tier--quiet:is(:hover, :focus-visible, :active) { transform: none !important; }
  .ak-tier[data-tier="4"]::after, .ak-tier[data-tier="5"]::after { display: none; animation: none !important; }
}
