* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-color: #08080a;
    --text-color: #ffffff;
    --muted-color: rgba(255, 255, 255, 0.4);
    --footer-bg: #08080a;
    --footer-rule: rgba(255, 255, 255, 0.3);
    --link-underline: rgba(255, 255, 255, 0.3);
    --modal-bg: #121218;
    --modal-border: rgba(255, 255, 255, 0.12);
    --field-bg: #08080a;
    --field-border: rgba(255, 255, 255, 0.16);
    --chip-color: rgba(255, 255, 255, 0.55);
    --surface-text: #ffffff;
    color-scheme: dark;
}

html[data-theme="light"] {
    --bg-color: #f4f4f7;
    --text-color: #121218;
    --muted-color: rgba(18, 18, 24, 0.48);
    --footer-bg: #ececf2;
    --footer-rule: rgba(18, 18, 24, 0.12);
    --link-underline: rgba(18, 18, 24, 0.28);
    --modal-bg: #ffffff;
    --modal-border: rgba(18, 18, 24, 0.12);
    --field-bg: #ffffff;
    --field-border: rgba(18, 18, 24, 0.16);
    --chip-color: rgba(18, 18, 24, 0.55);
    --surface-text: #121218;
    color-scheme: light;
}

html {
    background: var(--bg-color);
    font-family: "Nunito", sans-serif;
}

.site-footer {
    background: var(--footer-bg);
    color: var(--text-color);
    font-family: "Nunito", sans-serif;
}

.site-footer-rule {
    width: 100%;
    height: 1px;
    background: var(--footer-rule);
}

.site-footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px 40px;
    align-items: center;
    padding: 18px 40px 20px;
}

.site-footer-mission {
    font-size: 0.75rem;
    line-height: 1.5;
    opacity: 0.72;
    max-width: 820px;
}

.site-footer-copy {
    font-size: 0.8rem;
    opacity: 0.6;
    white-space: nowrap;
    justify-self: end;
}

.site-footer-copy a {
    color: inherit;
}

.consent-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px 32px;
    min-height: 100%;
    padding: 18px 40px 20px;
    background: var(--footer-bg);
    color: var(--text-color);
}

.consent-banner-copy {
    font-size: 0.75rem;
    line-height: 1.5;
    max-width: 820px;
}

.consent-banner-copy a,
.privacy-article a,
.privacy-back a {
    color: inherit;
}

.consent-banner-actions,
.privacy-choice {
    display: flex;
    flex-shrink: 0;
    gap: 10px;
}

.consent-banner-actions button,
.privacy-choice button {
    font: inherit;
    font-size: 0.8rem;
    line-height: 1.2;
    padding: 8px 16px;
    border: 1px solid var(--footer-rule);
    border-radius: 999px;
    background: transparent;
    color: var(--text-color);
    cursor: pointer;
}

.privacy-article {
    width: min(760px, calc(100% - 48px));
    margin: 48px auto 72px;
}

.privacy-back {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.privacy-article h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.privacy-article h2 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 28px 0 8px;
}

.privacy-article p,
.privacy-article li {
    font-size: 0.95rem;
    line-height: 1.6;
}

.privacy-article ul {
    padding-left: 1.2rem;
}

.privacy-article li + li {
    margin-top: 6px;
}

.privacy-choice {
    margin-top: 32px;
}

@media (max-width: 767px) {
    .consent-banner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px));
    }

    .consent-banner-actions {
        justify-content: flex-end;
    }

    .privacy-article {
        width: min(760px, calc(100% - 32px));
        margin-top: 28px;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.home-stage {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    touch-action: none;
}

.home-screens {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.home-screens-track {
    height: 100%;
    will-change: transform;
    transform: translate3d(0, calc(var(--screen-index, 0) * -100%), 0);
    transition: transform 0.72s cubic-bezier(0.77, 0, 0.175, 1);
}

.home-screen {
    height: 100%;
    overflow: hidden;
}

.home-screen-dots {
    position: absolute;
    right: 18px;
    top: 50%;
    z-index: 30;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 8px 6px;
    border: 1px solid var(--link-underline);
    border-radius: 999px;
    background: var(--bg-color);
    transform: translateY(-50%);
}

.home-screen-dot {
    appearance: none;
    width: 10px;
    height: 10px;
    padding: 0;
    border: 1px solid var(--text-color);
    border-radius: 50%;
    background: transparent;
    opacity: 0.4;
    cursor: pointer;
}

.home-screen-dot:hover,
.home-screen-dot:focus-visible {
    opacity: 1;
    border-color: var(--accent-color);
}

.home-screen-dot.is-active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    opacity: 1;
}

.site-footer-ticker {
    display: flex;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    padding: 5px 0 5px 40px;
}

body.page-home .site-footer-ticker {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 6;
    visibility: hidden;
}

body.page-home .site-footer-ticker.is-placed {
    top: auto;
    bottom: 0;
    visibility: visible;
}

.site-footer-ticker-heading {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin: 0;
    padding-right: 14px;
    background: var(--bg-color);
    box-shadow: 12px 0 16px 8px var(--bg-color);
    z-index: 2;
    font-size: 1.44rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0.04em;
}

.site-footer-ticker-viewport {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 20px, #000 calc(100% - 28px), transparent);
}

.site-footer-ticker-track {
    display: flex;
    width: max-content;
}

body.page-home .site-footer-ticker.is-placed .site-footer-ticker-track {
    animation: site-footer-ticker-rtl var(--ticker-seconds, 58s) linear 3s infinite backwards;
}

.site-footer-ticker-track:hover,
.site-footer-ticker-track:focus-within {
    animation-play-state: paused;
}

.site-footer-ticker-group {
    display: flex;
    gap: 12px;
    padding-right: 12px;
}

.task-ticker-card {
    flex: 0 0 248px;
    width: 248px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 4px 8px;
    border: 1px solid #66b337;
    border-radius: 8px;
    background: rgba(102, 179, 55, 0.06);
    color: var(--text-color);
}

.task-ticker-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 14px;
}

.task-ticker-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    opacity: 0.9;
    white-space: nowrap;
}

.task-ticker-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    border-radius: 50%;
    background: #66b337;
    color: #ffffff;
}

.task-ticker-check svg {
    width: 8px;
    height: 8px;
    display: block;
}

.task-ticker-duration {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.58rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.task-ticker-clock {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 11px;
    height: 11px;
    flex: 0 0 11px;
}

.task-ticker-clock svg {
    width: 11px;
    height: 11px;
    display: block;
}

.task-ticker-title {
    margin: 0;
    min-height: 2.3em;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.15;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.week-stats {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 14px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.home-screen--stats {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 96px 72px 24px 64px;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    touch-action: pan-y;
}

.can-do-screen {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
    width: min(1080px, 100%);
    min-height: 100%;
    margin: 0 auto;
}

.can-do-heading {
    margin: 0;
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.can-do-groups {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
}

.can-do-group {
    min-width: 0;
    padding: 20px 18px;
    border: 1px solid #66b337;
    border-radius: 12px;
    background: rgba(102, 179, 55, 0.06);
}

.can-do-title {
    margin: 0 0 12px;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.15;
}

.can-do-group--fix .can-do-title {
    color: var(--color-red, #e31e24);
}

.can-do-group--build .can-do-title {
    color: var(--color-green, #66b337);
}

.can-do-group--advise .can-do-title {
    color: var(--color-purple, #393185);
}

.can-do-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.can-do-list li {
    font-size: 0.95rem;
    line-height: 1.3;
    opacity: 0.88;
    -webkit-hyphens: auto;
    hyphens: auto;
    overflow-wrap: anywhere;
}

.heading-marquee {
    display: block;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-align: start;
}

.heading-marquee-track {
    display: flex;
    width: max-content;
    animation: heading-marquee-rtl var(--heading-marquee-seconds, 8s) linear infinite;
}

.heading-marquee-copy {
    flex: 0 0 auto;
    padding-right: 1.25em;
}

@keyframes heading-marquee-rtl {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.week-stats-heading {
    margin: 0;
    text-align: center;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.week-stats-items {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}

.week-stats-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 16px 14px;
    border: 1px solid #66b337;
    border-radius: 12px;
    background: rgba(102, 179, 55, 0.06);
    color: var(--text-color);
}

.week-stats-label {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.78;
}

.week-stats-value {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.65rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
    line-height: 1.15;
}

.week-stats-value .task-ticker-check,
.week-stats-value .task-ticker-clock,
.week-stats-value .week-stats-partners {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
}

.week-stats-partners {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
}

.week-stats-value .task-ticker-check svg,
.week-stats-value .task-ticker-clock svg,
.week-stats-value .week-stats-partners svg {
    width: 22px;
    height: 22px;
    display: block;
}

.home-screen--needs {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 110px 72px 32px 64px;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    touch-action: pan-y;
}

.need-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    width: min(1080px, 100%);
    margin: 0 auto;
}

.need-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding: 20px 18px;
    border: 1px solid #66b337;
    border-radius: 12px;
    background: rgba(102, 179, 55, 0.06);
    color: var(--text-color);
}

.need-card-title {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
}

.need-card-icon {
    flex: 0 0 auto;
    font-size: 1.2em;
    line-height: 1.2;
}

.need-card-heading {
    min-width: 0;
}

.need-card-text {
    margin: 0;
    flex: 1 1 auto;
    font-size: 0.9rem;
    line-height: 1.45;
    opacity: 0.86;
}

.need-card-action {
    appearance: none;
    align-self: flex-start;
    margin-top: auto;
    border: 2px solid #66b337;
    background: #66b337;
    color: #08080a;
    font: inherit;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
}

.need-card-action:hover,
.need-card-action:focus-visible {
    filter: brightness(1.08);
}

.home-screen--how {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 96px 72px 24px 64px;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    touch-action: pan-y;
}

.how-it-works {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 28px;
    width: min(1080px, 100%);
    min-height: 100%;
    margin: 0 auto;
}

.how-it-works-heading {
    margin: 0;
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.how-it-works-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    counter-reset: none;
}

.how-it-works-step {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    padding: 22px 18px;
    border: 1px solid #66b337;
    border-radius: 12px;
    background: rgba(102, 179, 55, 0.06);
    color: var(--text-color);
}

.how-it-works-number {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #66b337;
    color: #08080a;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1;
}

.how-it-works-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.25;
}

.how-it-works-text {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.45;
    opacity: 0.86;
}

.home-screen--why {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 96px 72px 24px 64px;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    touch-action: pan-y;
}

.why-we {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 28px;
    width: min(1080px, 100%);
    min-height: 100%;
    margin: 0 auto;
}

.why-we-heading {
    margin: 0;
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.why-we-lines {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: min(720px, 100%);
    margin: 0 auto;
    text-align: center;
}

.why-we-line {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.why-we-reject {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-color);
}

.why-we-claim {
    margin: 0;
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-color);
}

.why-we-no {
    color: var(--color-red, #e31e24);
}

.why-we-yes {
    color: var(--color-green, #66b337);
}

.home-screen--cases {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 96px 72px 24px 64px;
    box-sizing: border-box;
    overflow: hidden;
}

.cases-slider-screen {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 20px;
    width: min(1080px, 100%);
    min-height: 0;
    margin: 0 auto;
}

.cases-heading {
    margin: 0;
    flex-shrink: 0;
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.cases-slider {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

.cases-slider-viewport {
    --cases-visible: 3;
    --cases-gap: 14px;
    container-type: inline-size;
    overflow: hidden;
    min-width: 0;
    touch-action: pan-y;
}

.cases-slider-track {
    display: flex;
    gap: var(--cases-gap);
    transition: transform 0.65s cubic-bezier(0.77, 0, 0.175, 1);
}

.cases-slider-track.is-instant,
.team-slider-track.is-instant {
    transition: none;
}

.cases-slider.is-static .cases-slider-nav,
.team-slider.is-static .team-slider-nav {
    visibility: hidden;
}

.cases-slider-nav,
.team-slider-nav {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #66b337;
    border-radius: 50%;
    background: rgba(102, 179, 55, 0.06);
    color: var(--text-color);
    cursor: pointer;
}

.cases-slider-nav:hover,
.cases-slider-nav:focus-visible,
.team-slider-nav:hover,
.team-slider-nav:focus-visible {
    color: #66b337;
    background: rgba(102, 179, 55, 0.16);
}

.cases-slider-chevron,
.team-slider-chevron {
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2px solid currentColor;
    border-left: 2px solid currentColor;
    transform: translateX(2px) rotate(-45deg);
}

.cases-slider-nav--next .cases-slider-chevron,
.team-slider-nav--next .team-slider-chevron {
    transform: translateX(-2px) rotate(135deg);
}

.case-card {
    display: flex;
    flex: 0 0 calc((100cqi - (var(--cases-visible) - 1) * var(--cases-gap)) / var(--cases-visible));
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 0 0 12px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-color);
    border: 1px solid #66b337;
    border-radius: 12px;
    background: rgba(102, 179, 55, 0.06);
}

.case-card:hover,
.case-card:focus-visible {
    filter: brightness(1.08);
}

.case-card-image {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #121218;
}

.case-card-title {
    margin: 0;
    padding: 0 14px;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
}

.case-card-text {
    margin: 0;
    padding: 0 14px;
    font-size: 0.82rem;
    line-height: 1.35;
    opacity: 0.86;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-screen--tech {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 96px 72px 24px 64px;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    touch-action: pan-y;
}

.technologies {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    width: min(920px, 100%);
    min-height: 100%;
    margin: 0 auto;
}

.technologies-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.technologies-group-heading {
    margin: 0;
    text-align: center;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.04em;
    color: #66b337;
}

.technologies-heading {
    margin: 0;
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.technologies-list {
    margin: 0;
    text-align: center;
    font-size: clamp(1.15rem, 2.2vw, 1.7rem);
    font-weight: 600;
    line-height: 1.75;
    letter-spacing: 0.02em;
}

.home-screen--about {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 96px 72px 24px 64px;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    touch-action: pan-y;
}

.about {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 40px;
    width: min(1080px, 100%);
    min-height: 100%;
    margin: 0 auto;
}

.about-copy {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.about-heading {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0.04em;
}

.about-sub {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #66b337;
}

.about-lead {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.25;
}

.about-text {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.55;
    opacity: 0.88;
}

.about-photo {
    margin: 0;
    overflow: hidden;
    border: 1px solid #66b337;
    border-radius: 12px;
    background: #121218;
}

.about-photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 8 / 5;
    object-fit: cover;
}

.about-team {
    min-width: 0;
}

.team-slider {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
}

.team-slider-viewport {
    --team-visible: 1;
    --team-gap: 12px;
    container-type: inline-size;
    overflow: hidden;
    min-width: 0;
    touch-action: pan-y;
}

.team-slider-track {
    display: flex;
    gap: var(--team-gap);
    transition: transform 0.65s cubic-bezier(0.77, 0, 0.175, 1);
}

.team-card {
    display: flex;
    flex: 0 0 calc((100cqi - (var(--team-visible) - 1) * var(--team-gap)) / var(--team-visible));
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #66b337;
    border-radius: 12px;
    background: #121218;
}

.team-card-photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 8 / 5;
    object-fit: cover;
    background: #121218;
}

.team-card-role,
.team-card-name,
.team-card-skills {
    margin: 0;
    padding: 0 14px;
}

.team-card-role {
    padding-top: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #66b337;
}

.team-card-name {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.2;
}

.team-card-skills {
    padding-bottom: 14px;
    font-size: 0.9rem;
    line-height: 1.4;
    white-space: pre-line;
    opacity: 0.88;
}

html[data-theme="light"] .team-card {
    background: #ffffff;
    color: #121218;
}

html[data-theme="light"] .team-card-skills {
    opacity: 0.78;
}

.home-screen--faq {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 96px 72px 24px 64px;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    touch-action: pan-y;
}

.faq {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
    width: min(1080px, 100%);
    min-height: 100%;
    margin: 0 auto;
}

.faq-heading {
    margin: 0;
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}

.faq-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 16px 18px;
    border: 1px solid #66b337;
    border-radius: 12px;
    background: rgba(102, 179, 55, 0.06);
}

.faq-question {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.3;
}

.faq-answer {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
    opacity: 0.86;
}

@media (max-width: 960px) {
    .week-stats-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@keyframes site-footer-ticker-rtl {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-footer-ticker-viewport {
        overflow-x: auto;
        mask-image: none;
    }

    .site-footer-ticker-track,
    body.page-home .site-footer-ticker.is-placed .site-footer-ticker-track,
    .heading-marquee-track {
        animation: none;
    }

    .home-screens-track,
    .cases-slider-track,
    .team-slider-track {
        transition: none;
    }

    .site-footer-ticker-group[aria-hidden="true"] {
        display: none;
    }
}

.cursor-cloud {
    --spot-x: -30rem;
    --spot-y: -30rem;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 5;
    width: min(26rem, 50vw);
    aspect-ratio: 1;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(
        circle,
        rgba(230, 230, 230, 0.09) 0%,
        rgba(102, 179, 55, 0.05) 42%,
        rgba(255, 255, 255, 0.02) 68%,
        rgba(255, 255, 255, 0) 100%
    );
    filter: blur(36px);
    mix-blend-mode: screen;
    transform: translate3d(calc(var(--spot-x) - 50%), calc(var(--spot-y) - 50%), 0);
    transition: opacity 0.3s;
    will-change: transform, opacity;
}

html[data-theme="light"] .cursor-cloud {
    mix-blend-mode: multiply;
    filter: blur(72px);
    background: radial-gradient(
        circle,
        rgba(57, 49, 133, 0.12) 0%,
        rgba(102, 179, 55, 0.08) 42%,
        rgba(18, 18, 24, 0.03) 68%,
        rgba(18, 18, 24, 0) 100%
    );
}

.cursor-cloud[data-visible="true"] {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce), (hover: none), (pointer: coarse) {
    .cursor-cloud {
        display: none;
    }
}

body.page-home {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    overscroll-behavior: none;
}

body.page-home .site-footer {
    flex-shrink: 0;
    z-index: 40;
}

@media (max-width: 767px) {
    .site-footer-inner {
        grid-template-columns: 1fr;
        grid-template-areas:
            "mission"
            "copy";
        gap: 8px 16px;
        padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px));
        align-items: center;
    }

    .site-footer-mission {
        grid-area: mission;
        font-size: 0.62rem;
        line-height: 1.4;
        max-width: none;
    }

    .site-footer-copy {
        grid-area: copy;
        justify-self: end;
        font-size: 0.7rem;
        white-space: nowrap;
    }

    .site-footer-ticker {
        padding: 4px 0 4px 16px;
        gap: 8px;
    }

    .week-stats {
        gap: 10px;
    }

    .home-screen--stats,
    .home-screen--needs,
    .home-screen--how,
    .home-screen--why,
    .home-screen--cases,
    .home-screen--tech,
    .home-screen--about,
    .home-screen--faq {
        justify-content: center;
        justify-content: safe center;
    }

    .home-screen--stats {
        align-items: stretch;
        padding: 88px 16px 16px;
    }

    .can-do-screen {
        gap: 16px;
        min-height: 0;
        justify-content: flex-start;
    }

    .can-do-heading {
        font-size: 1.6rem;
    }

    .can-do-groups {
        gap: 10px;
    }

    .can-do-group {
        padding: 12px 10px;
        border-radius: 10px;
    }

    .can-do-title {
        margin-bottom: 8px;
        font-size: 0.95rem;
    }

    .can-do-list {
        gap: 4px;
    }

    .can-do-list li {
        font-size: 0.74rem;
    }

    .week-stats-heading {
        font-size: 1.15rem;
    }

    .week-stats-items {
        gap: 10px;
        flex-direction: row;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .week-stats-card {
        flex: 0 0 auto;
        width: auto;
        padding: 12px 12px;
        border-radius: 10px;
        gap: 6px;
    }

    .week-stats-label {
        font-size: 0.7rem;
    }

    .week-stats-value {
        font-size: 1.45rem;
    }

    .home-screen--needs {
        align-items: stretch;
        padding: 88px 16px 16px;
    }

    .need-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        width: 100%;
    }

    .need-card {
        padding: 14px 12px;
        border-radius: 10px;
        gap: 8px;
    }

    .need-card-title {
        font-size: 0.92rem;
        gap: 6px;
    }

    .need-card-text {
        font-size: 0.78rem;
        line-height: 1.4;
    }

    .need-card-action {
        align-self: flex-end;
        font-size: 0.74rem;
        padding: 7px 12px;
    }

    .home-screen--how {
        padding: 88px 16px 16px;
    }

    .how-it-works {
        gap: 18px;
        min-height: 0;
        justify-content: flex-start;
    }

    .how-it-works-heading {
        font-size: 1.6rem;
    }

    .how-it-works-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .how-it-works-step {
        padding: 14px 12px;
        border-radius: 10px;
        gap: 8px;
    }

    .how-it-works-number {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }

    .how-it-works-title {
        font-size: 0.95rem;
    }

    .how-it-works-text {
        font-size: 0.78rem;
        line-height: 1.4;
    }

    .home-screen--why {
        padding: 88px 16px 16px;
    }

    .why-we {
        gap: 18px;
        min-height: 0;
        justify-content: flex-start;
    }

    .why-we-heading {
        font-size: 1.6rem;
    }

    .why-we-lines {
        gap: 18px;
    }

    .why-we-reject {
        font-size: 0.92rem;
    }

    .why-we-claim {
        font-size: 1.2rem;
    }

    .home-screen--cases {
        padding: 88px 16px 16px;
    }

    .cases-slider-screen {
        gap: 12px;
        min-height: 0;
        justify-content: flex-start;
    }

    .cases-heading {
        font-size: 1.6rem;
    }

    .cases-slider {
        gap: 8px;
    }

    .cases-slider-viewport {
        --cases-visible: 1;
        --cases-gap: 10px;
    }

    .cases-slider-nav {
        width: 36px;
        height: 36px;
    }

    .case-card {
        border-radius: 10px;
        gap: 6px;
        padding-bottom: 10px;
    }

    .case-card-image {
        height: 150px;
    }

    .case-card-title {
        padding: 0 12px;
        font-size: 0.86rem;
    }

    .case-card-text {
        padding: 0 12px;
        font-size: 0.72rem;
        -webkit-line-clamp: 2;
    }

    .home-screen--tech {
        padding: 88px 16px 16px;
    }

    .technologies {
        gap: 18px;
    }

    .technologies-heading {
        font-size: 1.6rem;
    }

    .technologies-group-heading {
        font-size: 1rem;
    }

    .technologies-list {
        font-size: 1.05rem;
        line-height: 1.7;
    }

    .home-screen--about {
        padding: 88px 16px 16px;
    }

    .about {
        grid-template-columns: 1fr;
        gap: 20px;
        align-content: start;
        min-height: 0;
    }

    .about-heading {
        font-size: 1.6rem;
    }

    .about-lead {
        font-size: 1.15rem;
    }

    .about-text {
        font-size: 0.95rem;
    }

    .about-photo img {
        aspect-ratio: 16 / 9;
        max-height: 220px;
    }

    .team-slider {
        gap: 6px;
    }

    .team-slider-nav {
        width: 36px;
        height: 36px;
    }

    .team-card {
        border-radius: 10px;
    }

    .team-card-photo {
        aspect-ratio: 16 / 9;
        max-height: 180px;
    }

    .team-card-role,
    .team-card-name,
    .team-card-skills {
        padding-left: 12px;
        padding-right: 12px;
    }

    .team-card-name {
        font-size: 1rem;
    }

    .team-card-skills {
        font-size: 0.82rem;
    }

    .home-screen--faq {
        padding: 88px 16px 16px;
    }

    .faq {
        gap: 14px;
        justify-content: flex-start;
        min-height: 0;
    }

    .faq-heading {
        font-size: 1.6rem;
        line-height: 1.15;
        white-space: normal;
        -webkit-hyphens: auto;
        hyphens: auto;
        overflow-wrap: anywhere;
    }

    .faq-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .faq-item {
        padding: 12px 14px;
        gap: 6px;
        border-radius: 10px;
    }

    .faq-question {
        font-size: 0.92rem;
        -webkit-hyphens: auto;
        hyphens: auto;
        overflow-wrap: anywhere;
    }

    .faq-answer {
        font-size: 0.82rem;
    }

    .home-screen-dots {
        right: 10px;
        gap: 8px;
    }

    .site-footer-ticker-heading {
        font-size: 1.24rem;
        padding-right: 8px;
    }

    .site-footer-ticker-viewport {
        mask-image: linear-gradient(to right, transparent, #000 12px, #000 calc(100% - 16px), transparent);
    }

    .site-footer-ticker-group {
        gap: 8px;
        padding-right: 8px;
    }

    .task-ticker-card {
        flex-basis: 220px;
        width: 220px;
        padding: 3px 7px;
        gap: 2px;
        border-radius: 7px;
    }

    .task-ticker-title {
        font-size: 0.9rem;
    }
}

@media (max-width: 767px) and (orientation: portrait) {
    .cases-slider-viewport {
        --cases-visible: 1;
        --cases-rows: 2;
    }

    .cases-slider-page {
        display: flex;
        flex: 0 0 100cqi;
        flex-direction: column;
        gap: var(--cases-gap);
        min-width: 0;
    }

    .cases-slider-page .case-card {
        flex: none;
        width: 100%;
    }
}

.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.contact-modal.is-open {
    display: flex;
}

.contact-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}

.contact-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 440px);
    max-height: min(90dvh, 720px);
    overflow: auto;
    background: var(--modal-bg);
    color: var(--surface-text);
    border: 1px solid var(--modal-border);
    border-radius: 16px;
    padding: 28px 24px 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    font-family: "Nunito", sans-serif;
}

.contact-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: var(--surface-text);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.6;
}

.contact-modal-close:hover {
    opacity: 1;
}

.contact-modal-title {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 28px 18px 0;
}

.contact-modal-title .slogan-accent {
    color: #66b337;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-form-fields {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-form.is-success .contact-form-fields {
    display: none;
}

.contact-modal.is-success .contact-modal-title,
.case-contact.is-success .case-contact-title {
    display: none;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
}

.contact-field abbr {
    color: #e31e24;
    text-decoration: none;
}

.contact-via {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 10px;
    font-size: 0.82rem;
    font-weight: 600;
}

.contact-via-label {
    flex: 0 0 auto;
}

.contact-hints {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.contact-hint {
    appearance: none;
    border: 1px solid var(--field-border);
    border-radius: 999px;
    background: transparent;
    padding: 2px 7px;
    color: var(--chip-color);
    font: inherit;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.4;
    text-transform: uppercase;
    cursor: pointer;
}

.contact-hint:hover,
.contact-hint:focus-visible {
    color: var(--surface-text);
    border-color: var(--link-underline);
}

.contact-hint.is-active {
    color: var(--surface-text);
    border-color: #66b337;
    background: rgba(102, 179, 55, 0.18);
}

.contact-field input:not([type="radio"]),
.contact-field textarea {
    width: 100%;
    border: 1px solid var(--field-border);
    border-radius: 8px;
    background: var(--field-bg);
    color: var(--surface-text);
    font: inherit;
    font-weight: 400;
    padding: 10px 12px;
}

.contact-field textarea {
    resize: vertical;
    min-height: 110px;
}

.contact-field input:not([type="radio"]):focus,
.contact-field textarea:focus {
    outline: 1px solid #66b337;
    border-color: #66b337;
}

.contact-urgency {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.contact-urgency legend {
    padding: 0;
    margin-bottom: 6px;
}

.contact-urgency-options {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 0.8fr) minmax(0, 0.8fr);
    gap: 8px;
}

@media (max-width: 767px) {
    .contact-urgency-options {
        grid-template-columns: 1fr;
    }
}

.contact-urgency-option {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 6px;
    border: 1px solid var(--field-border);
    border-radius: 8px;
    background: var(--field-bg);
    color: var(--chip-color);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
}

.contact-urgency-option input {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.contact-urgency-option--urgent:has(input:checked),
.contact-urgency-option--urgent:has(input:focus-visible) {
    border-color: #e31e24;
    background: rgba(227, 30, 36, 0.18);
    color: #fff;
}

.contact-urgency-option--normal:has(input:checked),
.contact-urgency-option--normal:has(input:focus-visible) {
    border-color: #66b337;
    background: rgba(102, 179, 55, 0.18);
    color: #fff;
}

.contact-urgency-option--just_ask:has(input:checked),
.contact-urgency-option--just_ask:has(input:focus-visible) {
    border-color: #393185;
    background: rgba(57, 49, 133, 0.35);
    color: #fff;
}

html[data-theme="light"] .contact-urgency-option,
html[data-theme="light"] .contact-urgency-option--urgent:has(input:checked),
html[data-theme="light"] .contact-urgency-option--urgent:has(input:focus-visible),
html[data-theme="light"] .contact-urgency-option--normal:has(input:checked),
html[data-theme="light"] .contact-urgency-option--normal:has(input:focus-visible),
html[data-theme="light"] .contact-urgency-option--just_ask:has(input:checked),
html[data-theme="light"] .contact-urgency-option--just_ask:has(input:focus-visible) {
    color: #121218;
}

.contact-captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-captcha-question {
    flex: 1 1 auto;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #66b337;
}

.contact-captcha-row input {
    width: 88px;
    flex: 0 0 88px;
}

.contact-form-status {
    font-size: 0.85rem;
    line-height: 1.45;
    font-weight: 500;
    white-space: pre-line;
}

.contact-form-status.is-error {
    color: #e31e24;
}

.contact-form-status.is-ok {
    color: #66b337;
}

.contact-thankyou {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 220px;
    text-align: center;
    padding: 24px 8px;
}

.contact-form.is-success .contact-thankyou {
    display: flex;
}

.contact-thankyou-title {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #66b337;
}

.contact-thankyou-text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.45;
    color: var(--chip-color);
    white-space: pre-line;
}

.contact-submit {
    appearance: none;
    border: 2px solid #66b337;
    background: #66b337;
    color: #08080a;
    font: inherit;
    font-weight: 700;
    padding: 12px 16px;
    border-radius: 999px;
    cursor: pointer;
}

.contact-submit:hover,
.contact-submit:focus {
    filter: brightness(1.08);
}

.contact-submit:disabled {
    opacity: 0.6;
    cursor: default;
}

body.contact-modal-open {
    overflow: hidden;
}
