.nav-brand-logo {
    display: block;
    width: 94px;
    height: auto;
}

.footer-brand-logo {
    display: block;
    width: 78px;
    height: auto;
}

.footer-credit {
    text-align: right;
}

.footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
}

.footer-brand {
    justify-self: start;
}

.footer > span:nth-child(2) {
    justify-self: center;
}

.footer-credit {
    justify-self: end;
}

.footer-credit a {
    color: var(--ink);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.footer-credit-en,
html[lang="en"] .footer-credit-tr {
    display: none;
}

html[lang="en"] .footer-credit-en {
    display: inline;
}

.privacy-package {
    display: block;
    width: clamp(220px, 23vw, 300px);
    height: auto;
    filter: drop-shadow(0 24px 28px rgba(0, 0, 0, .24));
}

.nav-links {
    gap: 42px;
    font: 500 16px 'DM Mono', monospace;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.nav-links a {
    position: relative;
    padding: 12px 2px;
}

.nav-links a::after {
    position: absolute;
    right: 2px;
    bottom: 5px;
    left: 2px;
    height: 2px;
    border-radius: 2px;
    background: var(--orange);
    content: '';
    opacity: 0;
    transform: scaleX(.35);
    transition: opacity .18s ease, transform .18s ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
}

.ticker-track {
    position: relative;
    z-index: 1;
    align-items: center;
}

.ticker {
    position: relative;
    z-index: 2;
    width: calc(100% + 60px);
    margin-left: -30px;
    background: rgba(201, 160, 99, .72);
    color: rgba(23, 34, 55, .58);
    -webkit-backdrop-filter: brightness(.94) saturate(.96);
    backdrop-filter: brightness(.94) saturate(.96);
    transform: rotate(-1.5deg);
    transform-origin: center;
}

.ticker::before {
    position: absolute;
    z-index: 0;
    top: 50%;
    right: 0;
    left: 0;
    height: 1px;
    background: repeating-linear-gradient(90deg, rgba(23, 34, 55, .1) 0 8px, transparent 8px 14px);
    content: '';
    transform: translateY(-50%);
}

.ticker::after {
    position: absolute;
    z-index: 2;
    inset: 0;
    background:
        linear-gradient(106deg, transparent 7%, rgba(255, 255, 255, .18) 11%, rgba(255, 255, 255, .05) 15%, transparent 20%),
        linear-gradient(106deg, transparent 43%, rgba(255, 255, 255, .14) 48%, transparent 54%),
        linear-gradient(106deg, transparent 78%, rgba(255, 255, 255, .2) 83%, rgba(255, 255, 255, .04) 87%, transparent 91%);
    content: '';
    pointer-events: none;
}

.ticker-track span[data-tr] {
    font-size: 15px;
    opacity: .62;
    transform: translateY(2px);
}

.ticker-truck {
    width: 42px;
    height: 27px;
    flex: 0 0 auto;
    background: rgba(23, 34, 55, .22);
    -webkit-mask: url('/assets/shiftr-logo.svg?v=3') center / contain no-repeat;
    mask: url('/assets/shiftr-logo.svg?v=3') center / contain no-repeat;
}

.how {
    padding: 132px 0 145px;
}

.section-intro {
    grid-template-columns: 2fr 1fr;
    align-items: end;
    gap: 38px;
}

.section-intro h2 {
    max-width: 520px;
    letter-spacing: -.055em;
}

.section-heading .eyebrow {
    margin: 0 0 18px;
}

.how .section-intro h2 {
    grid-column: 1;
    max-width: none;
    white-space: nowrap;
}

.how .section-intro > p:last-child {
    grid-column: 2;
}

.section-intro > p:last-child {
    max-width: 360px;
    margin-bottom: 4px;
}

.how-layout {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    gap: 48px;
    margin-top: 62px;
}

.how-layout::before {
    position: absolute;
    z-index: 0;
    top: 50%;
    right: -5vw;
    left: -5vw;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(23, 34, 55, .24) 12%, rgba(23, 34, 55, .24) 88%, transparent);
    content: '';
    pointer-events: none;
}

.how-layout::after {
    position: absolute;
    z-index: 0;
    top: 50%;
    right: -5vw;
    bottom: -24px;
    left: -5vw;
    background:
        radial-gradient(circle at 20% 32%, rgba(118, 76, 37, .16) 0 1px, transparent 1.8px) 0 0 / 24px 19px,
        radial-gradient(circle at 72% 68%, rgba(118, 76, 37, .11) 0 1.5px, transparent 2px) 0 0 / 37px 27px,
        linear-gradient(270deg, rgba(199, 157, 104, .3) 0%, rgba(214, 177, 128, .2) 43%, rgba(225, 197, 158, .1) 68%, transparent 91%);
    -webkit-mask-image:
        linear-gradient(90deg, #000 0%, #000 80%, transparent 100%),
        linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
    -webkit-mask-composite: source-in;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    mask-composite: intersect;
    mask-image:
        linear-gradient(90deg, #000 0%, #000 80%, transparent 100%),
        linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
    content: '';
    pointer-events: none;
}

.how-visual {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    overflow: visible;
    transform: translateY(18px);
}

.how-truck-back {
    display: block;
    width: 118%;
    max-width: 440px;
    height: auto;
    filter: drop-shadow(0 24px 24px rgba(23, 34, 55, .12));
}

.truck-motto {
    position: absolute;
    top: 19%;
    left: 50%;
    width: 240px;
    transform: translateX(-50%) rotate(-2deg);
    color: #fff0d2;
    font-family: "Kalam", cursive;
    font-size: 27px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .025em;
    text-align: center;
    text-transform: uppercase;
    pointer-events: none;
    transition: opacity .13s ease, filter .13s ease;
}

.truck-motto.is-changing {
    opacity: 0;
    filter: blur(2px);
}

.truck-motto > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    height: 54px;
    margin-inline: auto;
    white-space: nowrap;
    transform: scaleX(var(--motto-line-scale, 1));
}

.truck-motto[data-line-count="2"] {
    top: calc(19% + 54px);
}

.motto-next {
    position: absolute;
    bottom: 20%;
    left: 50%;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 112px;
    justify-content: center;
    border: 2px solid #172a48;
    border-radius: 6px;
    padding: 7px 15px;
    background: #fff3d9;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 2px 3px rgba(0, 0, 0, .18);
    color: #172a48;
    font-family: "DM Mono", monospace;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: .09em;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
    transform: translateX(-50%);
    transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

.motto-next::before,
.motto-next::after {
    position: absolute;
    top: 50%;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(23, 42, 72, .45);
    content: "";
    transform: translateY(-50%);
}

.motto-next::before {
    left: 6px;
}

.motto-next::after {
    right: 6px;
}

.motto-next:hover {
    background: #fffaf0;
    color: #ff641a;
    transform: translateX(-50%) scale(1.04);
}

.motto-next:focus-visible {
    outline: 2px solid #ff641a;
    outline-offset: 3px;
}

.steps {
    position: relative;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 0;
}

.steps::before {
    position: absolute;
    z-index: 1;
    top: 56px;
    bottom: 56px;
    left: 59px;
    width: 1px;
    background: repeating-linear-gradient(180deg, rgba(255, 107, 26, .6) 0 4px, transparent 4px 9px);
    content: '';
    pointer-events: none;
}

.step {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 64px 150px 1fr;
    grid-template-rows: auto 1fr;
    column-gap: 18px;
    min-height: 134px;
    border: 0;
    padding: 24px 28px;
    background: transparent;
}

.step:nth-of-type(2) {
    background: transparent;
}

.transfer-bridge {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    min-height: 28px;
    margin: -8px 0;
    padding-left: 94px;
    color: var(--orange);
    font: 500 12px 'DM Mono', monospace;
    letter-spacing: .06em;
    white-space: nowrap;
}

.transfer-bridge::before {
    position: absolute;
    left: 55px;
    width: 9px;
    height: 9px;
    border: 2px solid var(--cream);
    border-radius: 50%;
    background: var(--orange);
    content: '';
}

.step::before {
    display: none;
}

.step:hover {
    box-shadow: none;
    transform: none;
}

.step-no {
    grid-column: 1;
    grid-row: 1 / span 2;
    z-index: 3;
    align-self: center;
    display: inline-flex;
    width: 64px;
    height: 64px;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 107, 26, .45);
    border-radius: 50%;
    background: #fff0e5;
    color: var(--orange);
    font-size: 16px;
    font-weight: 500;
}

.step-no::after {
    display: none;
}

.step-visual {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    height: auto;
    margin: 0;
}

.pickup {
    gap: 8px;
}

.pickup .keycap {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(23, 34, 55, .18);
    border-radius: 13px;
    background: rgba(255, 255, 255, .75);
    color: var(--ink);
    font: 600 22px 'Manrope', sans-serif;
    box-shadow: 0 4px 0 rgba(23, 34, 55, .1);
}

.pickup .keycap:last-child {
    border-color: rgba(255, 107, 26, .32);
    color: var(--orange);
}

.drive {
    gap: 9px;
    letter-spacing: 0;
}

.drive span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 107, 26, .1);
}

.drive span:nth-child(1) { opacity: .42; }
.drive span:nth-child(2) { opacity: .7; }

.tap {
    display: inline-flex;
    width: max-content;
    height: 48px;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 107, 26, .28);
    border-radius: 14px;
    padding: 0 16px;
    background: rgba(255, 255, 255, .72);
    color: var(--ink);
    font: 600 14px 'Manrope', sans-serif;
    box-shadow: 0 5px 0 rgba(255, 107, 26, .12);
}

.notification-ping {
    width: 11px;
    height: 11px;
    border: 3px solid rgba(255, 107, 26, .24);
    border-radius: 50%;
    background: var(--orange);
    box-sizing: content-box;
}

.step-visual.arrive {
    width: 64px;
    height: 64px;
    align-self: center;
    margin: 0;
    box-shadow: 0 12px 26px rgba(255, 107, 26, .22);
}

.step h3 {
    grid-column: 3;
    grid-row: 1;
    align-self: end;
    margin: 0 0 10px;
}

.step p {
    grid-column: 3;
    grid-row: 2;
    align-self: start;
    max-width: none;
    margin: 0;
}

.road-sign {
    position: relative;
    z-index: 1;
    isolation: isolate;
    display: grid;
    grid-template-columns: 128px 1fr;
    min-height: 420px;
    border: 9px solid #087b57;
    border-radius: 28px;
    padding: 38px 42px 36px 30px;
    background:
        radial-gradient(circle at 28% 16%, rgba(255, 255, 255, .08), transparent 34%),
        linear-gradient(145deg, #09845e, #006b4c);
    color: white;
    box-shadow: 0 22px 38px rgba(23, 34, 55, .13), inset 0 0 36px rgba(0, 42, 29, .18);
    transform: translateY(-34px);
}

.road-sign::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    border-radius: 19px;
    background:
        radial-gradient(circle at 28% 16%, rgba(255, 255, 255, .08), transparent 34%),
        linear-gradient(145deg, #09845e, #006b4c);
    content: '';
}

.road-sign::after {
    position: absolute;
    z-index: 3;
    inset: 7px;
    border: 4px solid rgba(255, 255, 255, .94);
    border-radius: 17px;
    content: '';
    pointer-events: none;
}

.sign-post {
    position: absolute;
    z-index: -1;
    bottom: -71px;
    width: 30px;
    height: 62px;
    border-radius: 0 0 5px 5px;
    background: linear-gradient(90deg, #8a9698, #e3e8e7 46%, #899496);
    box-shadow: 0 8px 13px rgba(23, 34, 55, .12);
}

.sign-post-left { left: 12%; }
.sign-post-right { right: 12%; }

.sign-route {
    position: relative;
    z-index: 1;
    min-height: 330px;
}

.route-stem {
    position: absolute;
    top: 40px;
    bottom: 14px;
    left: 61px;
    width: 16px;
    background: white;
}

.route-stem::before {
    position: absolute;
    top: -34px;
    left: -17px;
    width: 0;
    height: 0;
    border-right: 25px solid transparent;
    border-bottom: 36px solid white;
    border-left: 25px solid transparent;
    content: '';
}

.route-branch {
    position: absolute;
    left: 69px;
    width: 72px;
    height: 7px;
    border-radius: 0 999px 999px 0;
    background: white;
}

.route-branch::after {
    position: absolute;
    top: -3px;
    right: -6px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: white;
    content: '';
}

.route-branch-one { top: 161px; }
.route-branch-two { top: 260px; }
.route-branch-three { top: 62px; }

.sign-steps {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    height: 290px;
    align-self: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    transform: translateX(15px);
}

.sign-step {
    display: flex;
    align-items: center;
    gap: 17px;
    min-width: 0;
}

.sign-step:nth-child(1) { grid-row: 3; }
.sign-step:nth-child(2) { grid-row: 2; }
.sign-step:nth-child(3) { grid-row: 1; }

.sign-badge {
    display: inline-flex;
    min-width: 74px;
    min-height: 51px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border: 5px solid white;
    border-radius: 10px;
    padding: 3px 12px;
    background: #f4511e;
    color: white;
    font: 800 25px/1 'Manrope', sans-serif;
    box-shadow: 0 4px 0 rgba(0, 48, 34, .2);
}

.sign-badge.sign-exit {
    min-width: 132px;
    min-height: 43px;
    border-width: 4px;
    font-size: 17px;
    white-space: nowrap;
}

.sign-step h3 {
    margin: 0;
    color: white;
    font: 800 clamp(29px, 3vw, 44px)/1 'Manrope', sans-serif;
    letter-spacing: -.045em;
    text-shadow: 0 3px 0 rgba(0, 52, 37, .22);
}

.sign-step p {
    margin: 10px 0 0;
    color: white;
    font: 700 19px/1.15 'Manrope', sans-serif;
}

.platform-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--ink);
}

.platform-note {
    gap: 11px;
    font-size: 13px;
    flex-wrap: wrap;
}

.platform-item .platform-icon {
    width: 32px;
    height: 32px;
    border-color: rgba(23, 34, 55, .24);
    background: rgba(255, 255, 255, .72);
    font-size: 20px;
}

.platform-item .platform-icon.android {
    border-color: rgba(61, 157, 103, .55);
    background: rgba(61, 157, 103, .09);
}

.platform-icon.macos svg,
.platform-item .platform-icon > svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.platform-future {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-left: 5px;
}

.platform-item.is-disabled {
    opacity: .34;
}

.platform-item.is-disabled .platform-icon {
    border-style: dashed;
    background: transparent;
}

.platform-icon.iphone svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.7;
}

.platform-icon.android svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.platform-icon.android circle {
    fill: currentColor;
    stroke: none;
}

.truck {
    width: min(620px, 120%);
    height: auto;
    animation: none;
    scale: .95;
}

.truck-sequence {
    position: relative;
    aspect-ratio: 664 / 734;
    background-position: left top;
    background-repeat: no-repeat;
    background-size: 500% 500%;
}

.truck-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

.truck-sequence.is-ready .truck-poster {
    display: none;
}

@media (max-width: 800px) {
    .footer {
        display: flex;
    }

    .privacy-package {
        width: min(270px, 72vw);
    }

    .nav-brand-logo {
        width: 84px;
    }

    .how {
        padding: 92px 0 105px;
    }

    .section-intro {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 14px;
    }

    .section-intro h2 {
        margin: 4px 0;
    }

    .how .section-intro h2,
    .how .section-intro > p:last-child {
        grid-column: 1;
    }

    .how .section-intro h2 {
        white-space: normal;
    }

    .how-layout {
        grid-template-columns: 1fr;
        gap: 34px;
        margin-top: 42px;
    }

    .how-layout::before {
        display: none;
    }

    .how-layout::after {
        display: none;
    }

    .how-visual {
        justify-items: center;
    }

    .how-truck-back {
        width: min(330px, 88vw);
        max-width: 100%;
    }

    .road-sign {
        grid-template-columns: 78px 1fr;
        min-height: 350px;
        border-width: 7px;
        border-radius: 22px;
        padding: 32px 20px 30px 18px;
        transform: none;
    }

    .road-sign::after {
        inset: 5px;
        border-width: 3px;
        border-radius: 14px;
    }

    .road-sign::before {
        border-radius: 15px;
    }

    .sign-route {
        min-height: 282px;
    }

    .route-stem {
        top: 35px;
        bottom: 10px;
        left: 32px;
        width: 11px;
    }

    .route-stem::before {
        top: -26px;
        left: -12px;
        border-right-width: 18px;
        border-bottom-width: 28px;
        border-left-width: 18px;
    }

    .route-branch {
        left: 38px;
        width: 43px;
        height: 6px;
    }

    .route-branch::after {
        top: -3px;
        right: -6px;
        width: 12px;
        height: 12px;
    }

    .route-branch-one { top: 138px; }
    .route-branch-two { top: 224px; }
    .route-branch-three { top: 52px; }

    .sign-step {
        gap: 10px;
    }

    .sign-steps {
        height: 250px;
        transform: translateX(7px);
    }

    .sign-badge {
        min-width: 56px;
        min-height: 41px;
        border-width: 4px;
        padding: 2px 8px;
        font-size: 19px;
    }

    .sign-badge.sign-exit {
        min-width: 96px;
        min-height: 35px;
        border-width: 3px;
        font-size: 12px;
    }

    .sign-step h3 {
        font-size: clamp(22px, 7vw, 31px);
    }

    .sign-step p {
        margin-top: 6px;
        font-size: 14px;
    }

    .truck-motto {
        width: 190px;
        font-size: 21px;
    }

    .truck-motto > span {
        height: 41px;
    }

    .truck-motto[data-line-count="2"] {
        top: calc(19% + 41px);
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 44px;
    }

    .steps::before {
        top: 56px;
        bottom: 56px;
        left: 31px;
    }

    .step {
        grid-template-columns: 1fr;
        grid-template-rows: auto 78px auto auto;
        min-height: 270px;
        padding-left: 82px;
    }

    .step-no {
        position: absolute;
        top: 24px;
        left: 0;
    }

    .transfer-bridge {
        margin: -6px 0;
        padding-left: 72px;
    }

    .transfer-bridge::before {
        left: 27px;
    }

    .step-no,
    .step-visual,
    .step h3,
    .step p {
        grid-column: 1;
        grid-row: auto;
    }

    .ticker-track span[data-tr] {
        font-size: 13px;
    }

    .ticker-truck {
        width: 36px;
        height: 23px;
    }

}
