.akt {
    --akt-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.akt [hidden] { display: none; }
.akt-h2 { font-size: 21px; font-weight: 700; color: var(--text-heading); }
.akt-h3 { margin-top: 6px; font-size: 15.5px; font-weight: 700; color: var(--text-heading); }
.akt :is(a, button, summary):focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 4px; }

.akt-hero {
    position: relative;
    overflow: hidden;
    margin: -20px -24px 0;
    padding: 28px 28px 22px;
    border-radius: 12px 12px 0 0;
    background: #18181b;
}
.akt-hero::before {
    content: "";
    position: absolute;
    top: -160px;
    right: -80px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(101, 196, 84, .20), rgba(101, 196, 84, 0) 68%);
    pointer-events: none;
}
.akt-hero__top { position: relative; display: flex; align-items: center; gap: 26px; }
.akt-hero__body { flex: 1; min-width: 0; }
.akt-hero__kicker {
    display: block;
    font-family: var(--akt-mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #65c454;
}
.akt-hero__title { margin-top: 12px; font-size: 30px; line-height: 1.12; font-weight: 700; color: #fafafa; text-wrap: pretty; }
.akt-hero__lead { margin-top: 12px; max-width: 520px; font-size: 15px; line-height: 1.55; color: #a1a1aa; text-wrap: pretty; }
.akt-hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 20px; }
.akt-hero__cta { display: inline-flex; align-items: center; gap: 9px; padding: 12px 20px; border-radius: 9px; background: #65c454; color: #0e0e11; font-size: 15px; font-weight: 700; }
.akt-hero__cta:hover { background: #72cf60; color: #0e0e11; }
.akt-hero__cta svg { flex-shrink: 0; }
.akt-hero__trust { display: flex; align-items: baseline; gap: 8px; font-size: 13px; line-height: 1.4; color: #a1a1aa; }
.akt-hero__trust > span { color: #65c454; font-family: var(--akt-mono); font-weight: 700; }
.akt-hero__stats { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 22px; border-top: 1px solid rgba(255, 255, 255, .10); }
.akt-hero__stat { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 0; border-right: 1px solid rgba(255, 255, 255, .10); }
.akt-hero__stat:first-child { padding-left: 0; }
.akt-hero__stat:last-child { padding-right: 0; border-right: 0; }
.akt-hero__stat-val { font-family: var(--akt-mono); font-size: 21px; line-height: 1.05; font-weight: 700; color: #65c454; white-space: nowrap; }
.akt-hero__stat-cap { font-size: 12.5px; line-height: 1.35; color: #a1a1aa; }
.akt-hero__stack { position: relative; width: 330px; height: 236px; flex-shrink: 0; }
.akt-hero__cover { position: absolute; top: 10px; width: 148px; aspect-ratio: 174 / 246; border-radius: 10px; overflow: hidden; box-shadow: 0 12px 30px rgba(0, 0, 0, .55); background: #27272a; }
.akt-hero__cover:nth-child(2) { left: 6px; transform: rotate(-9deg) translateY(10px); }
.akt-hero__cover:nth-child(3) { right: 6px; transform: rotate(8deg) translateY(12px); }
.akt-hero__cover:first-child { top: 8px; left: 50%; margin-left: -74px; z-index: 1; transform: scale(1.06); box-shadow: 0 16px 36px rgba(0, 0, 0, .6); }
.akt-hero__cover img { width: 100%; height: 100%; object-fit: cover; }

.akt-catalog { scroll-margin-top: 20px; }
.akt-catalog__meta { margin-top: 5px; font-family: var(--akt-mono); font-size: 12px; line-height: 1.6; color: var(--text-light); }
.akt-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border-light); }
.akt-filter { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 7px 13px; border-radius: 9px; background: var(--bg-secondary); color: var(--text-main); font-size: 13.5px; font-weight: 500; cursor: pointer; transition: background .15s ease, color .15s ease; }
.akt-filter:hover { background: var(--bg-hover); }
.akt-filter.is-active { background: var(--accent-dark); color: var(--text-on-accent); }
.akt-filter > span { font-family: var(--akt-mono); font-size: 11.5px; opacity: .8; }
.akt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(166px, 1fr)); gap: 24px 16px; margin-top: 20px; }
.akt-card { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.akt-card__media { position: relative; border-radius: 8px; transition: transform .18s ease, box-shadow .18s ease; }
.akt-card__poster { display: block; aspect-ratio: 174 / 246; border-radius: 8px; overflow: hidden; background: var(--bg-secondary); }
.akt-card__poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.akt-card__badge, .akt-card__new { position: absolute; top: 8px; z-index: 1; border-radius: 5px; font-family: var(--akt-mono); font-weight: 700; pointer-events: none; }
.akt-card__badge { left: 8px; padding: 4px 8px; background: #378228; color: #fff; font-size: 12px; }
.akt-card__new { right: 8px; padding: 4px 7px; background: #ffe487; color: #6f5300; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.akt-card__scrim { position: absolute; inset: 44% 0 0; display: flex; align-items: flex-end; padding: 10px 9px; border-radius: 0 0 8px 8px; background: linear-gradient(transparent, rgba(0, 0, 0, .82)); pointer-events: none; transition: opacity .18s ease; }
.akt-card__buy { width: 100%; min-height: 36px; padding: 8px 6px; border-radius: 8px; background: var(--accent-dark); color: var(--text-on-accent); font-family: var(--akt-mono); font-size: 12.5px; font-weight: 700; text-align: center; cursor: pointer; pointer-events: auto; }
.akt-card__buy:hover { background: var(--accent-darker); }
.akt-card__info { min-width: 0; }
.akt-card__title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 15px; line-height: 1.35; font-weight: 700; color: var(--text-main); overflow-wrap: anywhere; }
.akt-card__title:hover { color: var(--link-color); }
.akt-card__prices { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: 5px; }
.akt-card__price { font-family: var(--akt-mono); font-size: 16px; font-weight: 700; line-height: 1.1; color: var(--text-heading); white-space: nowrap; }
.akt-card__price-old { font-family: var(--akt-mono); font-size: 12.5px; line-height: 1.1; color: var(--text-light); white-space: nowrap; }
.akt-card__price-unknown { font-size: 12px; color: var(--text-light); }
.akt-rub { font-family: Roboto, sans-serif; }
.akt-catalog__empty { grid-column: 1 / -1; padding: 40px 0; text-align: center; color: var(--text-light); }

.akt-steps { padding: 22px 24px 24px; border: 1px solid rgba(var(--accent-rgb), .1); border-radius: 12px; background: rgba(var(--accent-rgb), .035); }
.akt-steps__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 20px; }
.akt-steps__item { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 9px 10px; align-content: start; align-items: center; min-width: 0; }
.akt-steps__item + .akt-steps__item::before { content: "→"; position: absolute; left: -22px; top: 5px; font-family: var(--akt-mono); font-size: 17px; color: var(--accent); }
.akt-steps__num { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 6px; background: var(--accent-dark); color: var(--text-on-accent); font-family: var(--akt-mono); font-size: 12px; font-weight: 700; }
.akt-steps__title { font-size: 15.5px; font-weight: 700; color: var(--text-heading); }
.akt-steps__desc { grid-column: 1 / -1; font-size: 13.5px; line-height: 1.55; color: var(--text-main); }
.akt-steps__note { grid-column: 1 / -1; }
.akt-steps__note, .akt-faq__note, .akt-about__note { font-family: var(--akt-mono); font-size: 12px; line-height: 1.6; color: var(--text-light); }
.akt-steps__note b, .akt-faq__note b, .akt-about__note b { font-weight: 700; color: var(--accent-dark); }

.akt-faq { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 36px; }
.akt-faq__aside { display: flex; flex-direction: column; gap: 11px; }
.akt-faq__sub { font-size: 13.5px; line-height: 1.55; color: var(--text-light); text-wrap: pretty; }
.akt-faq__note { margin-top: 2px; }
.akt-faq__item { border-bottom: 1px solid var(--border-light); }
.akt-faq__q { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 2px; font-size: 15px; font-weight: 500; color: var(--text-main); cursor: pointer; list-style: none; }
.akt-faq__q::after { content: "+"; flex-shrink: 0; font-family: var(--akt-mono); font-size: 17px; color: var(--text-light); }
.akt-faq__item[open] > .akt-faq__q::after { content: "−"; }
.akt-faq__q:hover { color: var(--accent-dark); }
.akt-faq__a { padding: 0 2px 14px; max-width: 640px; font-size: 14px; line-height: 1.6; color: var(--text-main); text-wrap: pretty; }
.akt-faq__more { margin-top: 16px; }
.akt-trigger { display: block; list-style: none; cursor: pointer; }
.akt :is(.akt-trigger, .akt-faq__q)::-webkit-details-marker { display: none; }
.akt :is(.akt-trigger, .akt-faq__q)::marker { content: ""; }
.akt-pill { display: inline-flex; align-items: center; gap: 9px; padding: 8px 14px; border: 1px solid var(--border-light); border-radius: 9px; font-size: 13.5px; font-weight: 500; color: var(--text-main); transition: border-color .18s ease, background .18s ease; }
.akt-pill::after { content: "+"; flex-shrink: 0; font-family: var(--akt-mono); font-size: 15px; line-height: 1; color: var(--text-light); }
.akt-trigger:hover > .akt-pill { border-color: var(--text-heading); background: var(--bg-hover); }
[open] > .akt-trigger > .akt-pill::after { content: "−"; }
.akt-about { display: flex; flex-direction: column; gap: 12px; }
.akt-about__body { display: flex; flex-direction: column; gap: 12px; padding: 16px 2px 0; max-width: 760px; font-size: 14px; line-height: 1.65; color: var(--text-main); }
.akt-about__body, .akt-faq__morelist { animation: akt-reveal .22s ease; }
@keyframes akt-reveal { from { opacity: 0; transform: translateY(-4px); } }

@media (hover: hover) and (pointer: fine) {
    .akt-card__scrim { opacity: 0; }
    .akt-card__media:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0, 0, 0, .22); }
    .akt-card__media:hover .akt-card__scrim, .akt-card__media:focus-within .akt-card__scrim { opacity: 1; }
}
@media (max-width: 1100px) {
    .akt-hero__stack { display: none; }
}
@media (max-width: 900px) {
    .akt-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}
@media (max-width: 800px) {
    .akt-faq { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 760px) {
    .akt-steps__list { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .akt-steps__item + .akt-steps__item::before { content: none; }
}
@media (max-width: 640px) {
    .akt-hero { padding: 24px; }
    .akt-hero__title { font-size: 26px; }
    .akt-hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 0; }
    .akt-hero__stat:nth-child(odd) { padding-left: 0; }
    .akt-hero__stat:nth-child(even) { border-right: 0; padding-right: 0; }
}
@media (max-width: 480px) {
    .akt { gap: 28px; }
    .akt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
    .akt-hero__title { font-size: 24px; }
    .akt-hero__lead { font-size: 14px; }
    .akt-card__title { font-size: 14px; }
    .akt-card__buy { font-size: 11.5px; }
    .akt-card__badge, .akt-card__new { top: 6px; padding: 4px 5px; font-size: 10px; }
    .akt-card__badge { left: 6px; }
    .akt-card__new { right: 6px; }
    .akt-card__scrim { padding: 8px 6px; }
    .akt-filter { min-height: 40px; padding-inline: 10px; }
    .akt-steps { padding: 20px 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .akt *, .akt *::after { animation: none; transition: none; }
    .akt-card__media:hover { transform: none; }
}
