/* ==========================================================================
   AutoKirim Landing v2
   ========================================================================== */

:root {
    --ak-red: #cf0d0d;
    --ak-red-deep: #b90002;
    --ak-red-dark: #a30909;
    --ak-red-soft: #fdecec;
    --ak-amber: #ffc93c;
    --ak-ink: #1b1b1b;
    --ak-body: #5f6368;
    --ak-muted: #8b8f94;
    --ak-line: #e8e8e8;
    --ak-bg-soft: #faf7f7;

    --ak-radius: 16px;
    --ak-radius-lg: 24px;
    --ak-shadow: 0 8px 30px rgba(0, 0, 0, .08);
    --ak-shadow-lg: 0 18px 50px rgba(0, 0, 0, .12);

    --ak-nav-h: 76px;
    --ak-section-y: 96px;
    --ak-ease: cubic-bezier(.22, .61, .36, 1);

    --ak-h2: clamp(1.5rem, 3.2vw, 2.45rem);
    --ak-h2-weight: 700;
    --ak-h2-lh: 1.28;
    --ak-h3: 1.06rem;
    --ak-h3-weight: 700;
}

/* ---------- base ---------- */

.ak {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--ak-ink);
    overflow-x: clip;
}

.ak img {
    max-width: 100%;
    height: auto;
}

.ak section {
    position: relative;
}

.ak-shell {
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}

.ak-eyebrow {
    color: #f4a3a3;
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .01em;
    margin-bottom: 6px;
}

.ak-h2 {
    font-size: var(--ak-h2);
    font-weight: var(--ak-h2-weight);
    line-height: 1.25;
    letter-spacing: -.01em;
    margin: 0;
}

.ak-sub {
    color: var(--ak-body);
    font-size: 1.02rem;
    line-height: 1.65;
    margin: 12px 0 0;
}

.ak-red-text {
    color: var(--ak-red);
}

.ak-section {
    padding-block: var(--ak-section-y);
}

/* buttons */
.ak-btn {
    --btn-bg: var(--ak-red);
    --btn-fg: #fff;
    --btn-bd: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 30px;
    border-radius: 999px;
    border: 1.5px solid var(--btn-bd);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-weight: 600;
    font-size: .97rem;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform .25s var(--ak-ease), box-shadow .25s var(--ak-ease), background-color .25s, color .25s;
}

.ak-btn:hover {
    color: var(--btn-fg);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

.ak-btn:active {
    transform: translateY(0);
}

.ak-btn--ghost {
    --btn-bg: transparent;
    --btn-fg: #fff;
    --btn-bd: rgba(255, 255, 255, .85);
}

.ak-btn--ghost:hover {
    --btn-bg: #fff;
    --btn-fg: var(--ak-red);
}

.ak-btn--white {
    --btn-bg: #fff;
    --btn-fg: var(--ak-red);
}

.ak-btn--outline {
    --btn-bg: transparent;
    --btn-fg: #fff;
    --btn-bd: #fff;
}

.ak-btn--hero {
    --btn-bg: var(--ak-red);
    --btn-fg: #fff;
    --btn-bd: #fff;
}

.ak-btn--hero:hover {
    --btn-bg: #fff;
    --btn-fg: var(--ak-red);
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */

.ak-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    height: var(--ak-nav-h);
    display: flex;
    align-items: center;
    background: transparent;
    transition: background-color .3s var(--ak-ease), box-shadow .3s var(--ak-ease);
}

.ak-nav::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .34), rgba(0, 0, 0, 0));
    pointer-events: none;
    transition: opacity .3s var(--ak-ease);
}

.ak-nav__inner {
    position: relative;
    z-index: 1;
}

.ak-nav.is-stuck {
    background: rgba(255, 255, 255, .72);
    backdrop-filter: saturate(160%) blur(18px);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    border-bottom: 1px solid rgba(0, 0, 0, .07);
    box-shadow: 0 6px 26px rgba(0, 0, 0, .09);
}

.ak-nav.is-stuck::before {
    opacity: 0;
}

.ak-nav.is-stuck .ak-nav__link {
    color: var(--ak-ink);
}

.ak-nav.is-stuck .ak-nav__link::after {
    background: var(--ak-red);
}

.ak-nav.is-stuck .ak-nav__link:hover {
    color: var(--ak-red);
}

.ak-nav.is-stuck .ak-nav__cta {
    --btn-bg: var(--ak-red);
    --btn-fg: #fff;
}

.ak-nav.is-stuck .ak-nav__burger {
    background: rgba(0, 0, 0, .08);
    color: var(--ak-ink);
}

/* logo swap */
.ak-nav__logo {
    position: relative;
    display: block;
}

.ak-nav__logo--gelap {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.ak-nav__logo--terang,
.ak-nav__logo--gelap {
    transition: opacity .3s var(--ak-ease);
}

.ak-nav.is-stuck .ak-nav__logo--terang {
    opacity: 0;
}

.ak-nav.is-stuck .ak-nav__logo--gelap {
    opacity: 1;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .ak-nav.is-stuck {
        background: #fff;
    }
}

/* Do not set width here — this element also uses .ak-shell, and `width:100%`
   would override the shell max width and push the navbar to the screen edge. */
.ak-nav__inner {
    display: flex;
    align-items: center;
    gap: 28px;
}

/* The <nav> element is what gets pushed right, not the <ul> inside it:
   auto margin on a child does not move the wrapping flex item. */
.ak-nav__inner nav {
    margin-left: auto;
}

.ak-nav__logo img {
    height: 30px;
    width: auto;
    display: block;
}

.ak-nav__menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.ak-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    font-size: .94rem;
    font-weight: 500;
    text-decoration: none;
    padding-block: 6px;
    opacity: .94;
    transition: opacity .2s;
}

.ak-nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .28s var(--ak-ease);
}

.ak-nav__link:hover {
    color: #fff;
    opacity: 1;
}

.ak-nav__link:hover::after {
    transform: scaleX(1);
}

.ak-nav__link--drop i {
    font-size: 1.05rem;
    line-height: 1;
    transition: transform .25s var(--ak-ease);
}

.ak-nav__link--drop[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.ak-nav .dropdown-menu {
    border: 0;
    border-radius: 14px;
    padding: 8px;
    box-shadow: var(--ak-shadow-lg);
    margin-top: 10px;
}

.ak-nav .dropdown-item {
    border-radius: 9px;
    padding: 10px 14px;
    font-size: .92rem;
    font-weight: 500;
    color: var(--ak-ink);
}

.ak-nav .dropdown-item:hover {
    background: var(--ak-red-soft);
    color: var(--ak-red);
}

.ak-nav__cta {
    padding: 10px 26px;
    font-size: .92rem;
}

.ak-nav__burger {
    display: none;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 11px;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    align-items: center;
    justify-content: center;
}

/* mobile panel */
.ak-nav__panel {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 84vw);
    background: #fff;
    z-index: 1050;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transform: translateX(100%);
    /* visibility keeps the hidden panel from widening the document
       (position:fixed is not clipped by the parent's overflow-x). */
    visibility: hidden;
    transition: transform .34s var(--ak-ease), visibility .34s;
    overflow-y: auto;
}

.ak-nav__panel.is-open {
    transform: translateX(0);
    visibility: visible;
}

.ak-nav__panel a {
    padding: 13px 12px;
    border-radius: 11px;
    color: var(--ak-ink);
    font-weight: 500;
    text-decoration: none;
}

.ak-nav__panel a:hover {
    background: var(--ak-red-soft);
    color: var(--ak-red);
}

/* `.ak-nav__panel a` (0,1,1) beats `.ak-btn` (0,1,0), which would turn the
   button label dark on the red background — restored to white here. */
.ak-nav__panel a.ak-btn,
.ak-nav__panel a.ak-btn:hover {
    color: #fff;
    background: var(--ak-red);
}

/* `list-style:none` plus ::-webkit-details-marker removes the native <details>
   triangle; older Safari needs the second one. */
.ak-nav__group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 12px;
    border-radius: 11px;
    color: var(--ak-ink);
    font-weight: 500;
    cursor: pointer;
    list-style: none;
}

.ak-nav__group summary::-webkit-details-marker {
    display: none;
}

.ak-nav__group summary:hover {
    background: var(--ak-red-soft);
    color: var(--ak-red);
}

.ak-nav__group summary i {
    transition: rotate .25s var(--ak-ease);
}

.ak-nav__group[open] summary i {
    rotate: 180deg;
}

.ak-nav__panel .ak-nav__group a {
    display: block;
    padding-left: 26px;
    font-size: .95rem;
}

.ak-nav__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.ak-nav__panel-head img {
    height: 26px;
}

.ak-nav__close {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 10px;
    background: #f3f3f3;
    font-size: 1.3rem;
    line-height: 1;
}

.ak-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}

.ak-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   CARD ILLUSTRATIONS — shared by the home solution cards and the persona
   feature cards
   ========================================================================== */

/* --card-icon is the box, --card-icon-depth how far it reaches into the card, so
   the part jutting above it is --card-icon * 0.92 - --card-icon-depth.
   `.ak .ak-...__icon` (0,2,0) is needed to beat `.ak img` (0,1,1). */
.ak .ak-solutions__icon,
.ak .ak-features__icon {
    --card-icon: 120px;
    --card-icon-depth: 48px;
    position: absolute;
    top: calc((var(--card-icon) * 0.92 - var(--card-icon-depth)) * -1);
    left: 50%;
    transform: translateX(-50%);
    width: var(--card-icon);
    height: var(--card-icon);
    object-fit: contain;
    filter: drop-shadow(0 10px 12px rgba(207, 13, 13, .16));
    transition: transform .35s var(--ak-ease);
}

/* ==========================================================================
   COURIERS — two marquee rows running in opposite directions
   ========================================================================== */

.ak-couriers {
    background: #fff;
    padding-bottom: 80px;
}

.ak-couriers__title {
    text-align: center;
    font-size: var(--ak-h2);
    font-weight: var(--ak-h2-weight);
    line-height: 1.4;
    margin: 0 auto 44px;
    max-width: 46ch;
}

.ak-marquee {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ak-marquee+.ak-marquee {
    margin-top: 18px;
}

.ak-marquee__track {
    display: flex;
    width: max-content;
    gap: 0;
    animation: ak-scroll-left var(--dur, 38s) linear infinite;
}

.ak-marquee--reverse .ak-marquee__track {
    animation-name: ak-scroll-right;
}

.ak-marquee:hover .ak-marquee__track {
    animation-play-state: paused;
}

@keyframes ak-scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes ak-scroll-right {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

.ak-marquee__item {
    flex: 0 0 auto;
    width: 190px;
    height: 78px;
    display: grid;
    place-items: center;
    padding-inline: 22px;
}

.ak-marquee__item img {
    max-height: 42px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    transition: transform .3s var(--ak-ease);
}

.ak-marquee__item:hover img {
    transform: scale(1.08);
}

.ak-couriers--red {
    background: var(--ak-red);
    padding-block: 72px;
}

.ak-couriers--red .ak-couriers__title {
    color: #fff;
    max-width: 30ch;
    margin-bottom: 20px;
}

.ak-couriers__sub {
    text-align: center;
    max-width: 68ch;
    margin: 0 auto 44px;
    color: rgba(255, 255, 255, .92);
    font-size: 1rem;
    line-height: 1.7;
}

.ak-couriers--red .ak-marquee {
    -webkit-mask-image: none;
    mask-image: none;
}

.ak-couriers--red .ak-marquee + .ak-marquee {
    margin-top: 22px;
}

.ak-couriers--red .ak-marquee__item {
    width: 174px;
    height: 56px;
    margin-inline: 15px;
    padding-inline: 16px;
    background: #fff;
    border-radius: 12px;
}

.ak-couriers--red .ak-marquee__item img {
    max-height: 32px;
}

/* ==========================================================================
   HOW IT WORKS — red panel, carousel + timeline
   ========================================================================== */

.ak-how {
    background: var(--ak-red);
    color: #fff;
    padding-block: 84px 96px;
}

.ak-how__head {
    text-align: center;
    margin-bottom: 56px;
}

.ak-how__head .ak-eyebrow {
    color: rgba(255, 255, 255, .82);
}

.ak-how__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* image carousel */
.ak-slider {
    position: relative;
    border-radius: var(--ak-radius-lg);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    box-shadow: 0 20px 44px rgba(0, 0, 0, .28);
}

.ak-slider__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity .7s var(--ak-ease), transform .7s var(--ak-ease);
}

.ak-slider__slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.ak-slider__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ak-slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--ak-ink);
    display: grid;
    place-items: center;
    font-size: 1.15rem;
    z-index: 3;
    transition: background-color .25s, transform .25s;
}

.ak-slider__nav:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.08);
}

.ak-slider__nav--prev {
    left: 12px;
}

.ak-slider__nav--next {
    right: 12px;
}

/* step timeline */
.ak-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.ak-step {
    position: relative;
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 18px;
    align-items: start;
}

.ak-step::after {
    content: "";
    position: absolute;
    left: 16px;
    top: 34px;
    bottom: -30px;
    width: 2px;
    border-left: 2px dashed rgba(255, 255, 255, .45);
}

.ak-step:last-child::after {
    display: none;
}

.ak-step__bullet {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .35);
    display: grid;
    place-items: center;
    transition: background-color .35s, transform .35s;
}

.ak-step__bullet::before {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    transition: transform .35s var(--ak-ease);
}

.ak-step.is-active .ak-step__bullet {
    background: #fff;
    transform: scale(1.1);
}

.ak-step.is-active .ak-step__bullet::before {
    background: var(--ak-red);
    transform: scale(1.15);
}

.ak-step h3 {
    font-size: 1.08rem;
    font-weight: 700;
    margin: 4px 0 6px;
}

.ak-step p {
    font-size: .92rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, .9);
    margin: 0;
}

/* ==========================================================================
   CTA BANNER
   ========================================================================== */

/* The section does not clip: the mascot and money break out of the ribbon, and the
   vertical padding reserves room so they clear neighbouring sections. */
.ak-cta {
    /* --cta-bleed = how far art may overflow above and below the ribbon
       --cta-pad   = padding inside the ribbon; shared by .ak-cta__inner and the
                     mascot base offset so the two can never drift apart */
    --cta-bleed: 38px;
    --cta-band-h: 230px;
    --cta-pad: 0px;
    position: relative;
    padding-block: var(--cta-bleed);
    color: #fff;
}

.ak-cta__band {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--cta-bleed);
    bottom: var(--cta-bleed);
    background: var(--cta-band-bg,
            linear-gradient(95deg,
                #d81414 0%,
                var(--ak-red) 34%,
                #8d0707 74%,
                #430303 100%));
    overflow: hidden;
}

.ak-cta--plain {
    --cta-band-bg: linear-gradient(90deg, #e20000, #ac0000);
}

.ak-cta--flat {
    --cta-band-bg: var(--ak-red);
}

.ak-cta--plain .ak-cta__band::before,
.ak-cta--plain .ak-cta__band::after {
    content: none;
}

.ak-cta__inner {
    position: relative;
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    align-items: center;
    gap: 20px;
    min-height: var(--cta-band-h);
    padding-block: var(--cta-pad);
}

/* halftone pattern at both ends of the ribbon */
.ak-cta__band::before,
.ak-cta__band::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 300px;
    background-image: radial-gradient(rgba(255, 255, 255, .22) 1.6px, transparent 1.6px);
    background-size: 12px 12px;
    pointer-events: none;
}

.ak-cta__band::before {
    left: 0;
    -webkit-mask-image: linear-gradient(90deg, #000, transparent);
    mask-image: linear-gradient(90deg, #000, transparent);
}

.ak-cta__band::after {
    right: 0;
    -webkit-mask-image: linear-gradient(270deg, #000, transparent);
    mask-image: linear-gradient(270deg, #000, transparent);
}

/* The art box height is pinned to the ribbon height, so the negative `top` values
   below read directly as "overflows the ribbon by N pixels". */
.ak-cta__art {
    position: relative;
    align-self: stretch;
    min-height: var(--cta-band-h);
}

.ak-cta__art img {
    position: absolute;
}

/* Anchored from the BOTTOM so the mascot's feet stay on the ribbon edge and extra
   height spills upward. The negative --cta-pad cancels .ak-cta__inner's padding. */
.ak-cta__aoki {
    left: 0;
    bottom: calc(var(--cta-pad) * -1);
    width: 300px;
    z-index: 2;
}

.ak-cta__uang {
    left: 312px;
    top: 128px;
    width: 112px;
    z-index: 3;
    rotate: -6deg;
    animation: ak-float 5.4s ease-in-out infinite .5s;
}

.ak-cta__koin {
    z-index: 3;
}

.ak-cta__koin--1 {
    left: 18px;
    top: -8px;
    width: 42px;
    animation: ak-float 4.6s ease-in-out infinite;
}

.ak-cta__koin--2 {
    left: 352px;
    top: 58px;
    width: 36px;
    animation: ak-float 5.1s ease-in-out infinite 1.2s;
}

.ak-cta__koin--3 {
    left: 6px;
    top: 168px;
    width: 38px;
    animation: ak-float 4.9s ease-in-out infinite .8s;
}

.ak-cta__copy {
    text-align: right;
}

.ak-cta__copy h2 {
    font-size: clamp(1.3rem, 2.55vw, 2rem);
    font-weight: 700;
    margin: 0 0 10px;
}

.ak-cta__copy p {
    font-size: .95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .92);
    margin: 0 0 20px;
    margin-left: auto;
    max-width: 46ch;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.ak-faq {
    background: #fff;
    padding-block: 90px;
}

.ak-faq__title {
    text-align: center;
    font-size: var(--ak-h2);
    font-weight: var(--ak-h2-weight);
    margin: 0 0 46px;
}

.ak-faq__list {
    max-width: 900px;
    margin-inline: auto;
}

.ak-faq .accordion-item {
    border: 0;
    border-bottom: 1px solid var(--ak-line);
    background: transparent;
}

.ak-faq .accordion-button {
    padding: 24px 8px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ak-ink);
    background: transparent;
    box-shadow: none;
}

.ak-faq .accordion-button:not(.collapsed) {
    color: var(--ak-red);
    background: transparent;
}

.ak-faq .accordion-button::after {
    width: 1.1rem;
    height: 1.1rem;
    background-size: 1.1rem;
}

.ak-faq .accordion-button:focus {
    box-shadow: none;
}

.ak-faq .accordion-body {
    padding: 0 8px 24px;
    color: var(--ak-body);
    line-height: 1.75;
    font-size: .95rem;
}

/* CS link inside FAQ answers — without this it takes the browser default blue. */
.ak-faq .accordion-body a {
    color: var(--ak-red);
    font-weight: 600;
    text-decoration: none;
}

.ak-faq .accordion-body a:hover {
    text-decoration: underline;
}

/* step list inside FAQ answers */
.ak-faq__steps {
    margin: 8px 0 12px;
    padding-left: 22px;
}

.ak-faq__steps li {
    margin-bottom: 2px;
}

.ak-faq__steps li::marker {
    color: var(--ak-red);
    font-weight: 600;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.ak-footer {
    background: linear-gradient(90deg, var(--ak-red) 0 25%, #bc0c0c 50%, #840808 100%);
    color: #fff;
    padding-block: 68px 50px;
}

.ak-footer__logo {
    height: 32px;
    margin-bottom: 32px;
}

.ak-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1.1fr 1fr 1.25fr max-content;
    gap: 32px;
}

.ak-footer h4 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 15px;
}

.ak-footer p,
.ak-footer li,
.ak-footer a {
    font-size: 1rem;
    line-height: 1.62;
    color: rgba(255, 255, 255, .93);
}

.ak-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 9px;
}

.ak-footer a {
    text-decoration: none;
    transition: opacity .2s, padding-left .25s;
    display: inline-block;
}

.ak-footer a:hover {
    color: #fff;
    opacity: .8;
    padding-left: 4px;
}

/* Spacing comes from the flow rather than margins on each element. */
.ak-footer .ak-footer__company> * {
    margin: 0;
}

.ak-footer .ak-footer__company> * + * {
    margin-top: 24px;
}

.ak-footer .ak-footer__company h4 + p {
    margin-top: 15px;
}

.ak-footer__contact {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ak-footer__social {
    text-align: center;
}

/* The icon row replaces a heading on this column, so it is nudged down to sit
   on the same optical line as the headings beside it. */
.ak-social {
    display: flex;
    justify-content: center;
    gap: 14px;
    font-size: 1.4rem;
    line-height: 1;
    padding-top: 7px;
    margin-bottom: 18px;
}

/* `.ak-footer a` sets its own font-size, so the icon size cannot be inherited
   from the row. */
.ak-social a {
    font-size: 1.4rem;
}

.ak-social a:hover {
    padding-left: 0;
    transform: translateY(-3px);
}

.ak-footer__social h4 {
    margin-bottom: 14px;
}

.ak-store {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.ak-store img {
    height: 40px;
    width: auto;
    transition: transform .25s var(--ak-ease);
}

.ak-store a:hover {
    padding-left: 0;
}

.ak-store a:hover img {
    transform: scale(1.05);
}

.ak-footer__bar {
    margin-top: 36px;
    text-align: center;
    font-size: 1rem;
    color: rgba(255, 255, 255, .93);
}

/* ==========================================================================
   SCROLL-REVEAL ANIMATION
   ========================================================================== */

/* Uses the separate `translate`/`scale` properties rather than `transform`, so it
   does not overwrite transforms owned by other elements (e.g. the hero title skewX). */
[data-reveal] {
    opacity: 0;
    translate: 0 28px;
    transition: opacity .75s var(--ak-ease), translate .75s var(--ak-ease), scale .75s var(--ak-ease);
    transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-revealed {
    opacity: 1;
    translate: none;
    scale: none;
}

[data-reveal="left"] {
    translate: -34px 0;
}

[data-reveal="right"] {
    translate: 34px 0;
}

[data-reveal="zoom"] {
    translate: none;
    scale: .92;
}

@media (max-width: 1199.98px) {
    :root {
        --ak-section-y: 76px;
    }

    .ak-footer__grid {
        grid-template-columns: 1.7fr 1.05fr 1fr 1.2fr max-content;
        gap: 26px;
    }
}
@media (max-width: 991.98px) {

    .ak-footer__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 34px 26px;
    }

    .ak-footer__company,
    .ak-footer__social {
        grid-column: 1 / -1;
    }

    .ak-footer__company {
        max-width: 560px;
    }

    .ak-footer__social {
        text-align: left;
    }

    .ak-social {
        justify-content: flex-start;
        padding-top: 0;
    }

    .ak-store {
        flex-direction: row;
        align-items: flex-start;
    }

    .ak-how__inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .ak-nav__menu {
        display: none;
    }

    .ak-nav__burger {
        display: inline-flex;
    }

    .ak-cta {
        --cta-pad: 40px;
    }

    .ak-cta__inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0;
    }

    .ak-cta__copy {
        text-align: center;
    }

    .ak-cta__copy p {
        margin-inline: auto;
    }

    .ak-cta__art {
        order: 2;
        min-height: 200px;
        margin-top: 18px;
    }

    .ak-cta__copy {
        order: 1;
    }

    /* `top:auto` is required: the desktop rule sets top, and leaving it alongside
       bottom would over-constrain the placement. */
    .ak-cta__aoki {
        left: 50%;
        translate: -92% 0;
        top: auto;
        width: 190px;
    }

    .ak-cta__uang {
        left: 50%;
        translate: 14% 0;
        top: auto;
        bottom: 16px;
        width: 104px;
    }

    .ak-cta__koin--1 {
        left: 50%;
        translate: -260% 0;
        top: 6px;
        width: 38px;
    }

    .ak-cta__koin--2 {
        left: 50%;
        translate: 175% 0;
        top: 58px;
        width: 34px;
    }

    .ak-cta__koin--3 {
        left: 50%;
        translate: -110% 0;
        top: auto;
        bottom: 4px;
        width: 30px;
    }
}
@media (max-width: 767.98px) {

    .ak .ak-solutions__icon,
    .ak .ak-features__icon {
        --card-icon: 90px;
        --card-icon-depth: 36px;
    }

    .ak-marquee__item {
        width: 140px;
        height: 64px;
        padding-inline: 16px;
    }

    .ak-marquee__item img {
        max-height: 32px;
    }

    .ak-slider__nav {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }

    :root {
        --ak-section-y: 60px;
        --ak-nav-h: 66px;
    }

    .ak-shell {
        width: calc(100% - 32px);
    }

    .ak-footer__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .ak-footer h4 {
        font-size: 1.15rem;
    }

    .ak-footer__bar {
        font-size: .92rem;
    }
}
@media (prefers-reduced-motion: reduce) {

    .ak-marquee__track,
    .ak-hero__mascot.is-active,
    .ak-problems__mascot,
    .ak-cta__uang,
    .ak-cta__koin {
        animation: none !important;
    }

    [data-reveal] {
        opacity: 1 !important;
        translate: none !important;
        scale: none !important;
    }

    .ak *,
    .ak *::before,
    .ak *::after {
        transition-duration: .01ms !important;
    }
}
