.ap-page {
    overflow: clip;
    background: #fff;
}

body.ap-dialog-open {
    overflow: hidden;
}

.ap-container {
    width: min(calc(100% - (2 * var(--gutter))), var(--content-width));
    margin-inline: auto;
}

.ap-page h1,
.ap-page h2,
.ap-page h3,
.ap-page p,
.ap-page address,
.ap-page dl,
.ap-page dd,
.ap-dialog h2,
.ap-dialog p,
.ap-dialog fieldset,
.ap-dialog legend {
    margin: 0;
}

.ap-page h1,
.ap-page h2,
.ap-page h3,
.ap-dialog h2 {
    text-wrap: balance;
}

.ap-hero {
    padding: 58px 0 60px;
}

.ap-hero__inner {
    text-align: center;
}

.ap-hero h1 span {
    display: block;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.ap-hero h1 span:first-child {
    font-size: 90px;
    letter-spacing: -4.5px;
}

.ap-hero h1 span:last-child {
    margin-top: 2px;
    font-size: 60px;
    letter-spacing: -3px;
}

.ap-hero__lead {
    margin-top: 24px !important;
    color: var(--brand);
    font-size: 25px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -1.25px;
}

.ap-hero__claim {
    display: inline-flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    margin-top: 28px !important;
    padding: 10px 22px;
    border-radius: 10px;
    color: #fff;
    background: var(--brand);
    font-size: 25px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -1.25px;
}

.ap-hero__aside {
    max-width: 720px;
    margin: 15px auto 0 !important;
    color: var(--muted);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
}

.ap-label {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 5px 15px;
    border-radius: 15px;
    color: #fff;
    background: var(--brand);
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    white-space: nowrap;
}

.ap-label img {
    width: 14px;
    height: 14px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.ap-feature {
    margin-top: 56px;
}

.ap-feature + .ap-feature {
    margin-top: 72px;
}

.ap-feature__inner {
    display: grid;
    min-height: 283px;
    grid-template-columns: 450px 439px;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.ap-feature--copy-left .ap-feature__inner {
    grid-template-columns: 439px 450px;
}

.ap-feature__copy {
    min-width: 0;
}

.ap-feature__copy h2 {
    margin-top: 0;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -2px;
}

.ap-feature__copy .ap-label + h2 {
    margin-top: 22px;
}

.ap-feature__copy p {
    margin-top: 20px;
    color: var(--muted);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
}

.ap-feature__copy p + p {
    margin-top: 12px;
}

.ap-feature__visual {
    position: relative;
    width: 450px;
    height: 253px;
    overflow: hidden;
    border: 1px solid var(--soft);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 24px 24px -22px rgba(0, 0, 0, 0.32);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.ap-service-visual {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: center;
    gap: 28px;
    padding: 42px;
}

.ap-service-visual > img {
    width: 74px;
    height: 74px;
    object-fit: contain;
}

.ap-service-visual div {
    min-width: 0;
}

.ap-service-visual span,
.ap-ai-visual > span {
    display: block;
    color: var(--brand);
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
}

.ap-service-visual strong {
    display: block;
    margin-top: 8px;
    font-size: 25px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -1.25px;
}

.ap-service-visual p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}

.ap-setup,
.ap-pricing-zone,
.ap-team,
.ap-contact-zone,
.ap-details {
    margin-top: 72px;
    padding: 70px 0 60px;
    background: var(--pale);
}

.ap-pricing-zone,
.ap-contact-zone {
    margin-top: 20px;
}

.ap-setup,
.ap-details {
    position: relative;
}

.ap-setup::before,
.ap-details::before {
    position: absolute;
    top: -37px;
    left: 50%;
    width: min(calc(100% - (2 * var(--gutter))), var(--content-width));
    height: 1px;
    background: linear-gradient(to right, var(--soft) 0 42%, transparent 42% 58%, var(--soft) 58% 100%);
    content: "";
    opacity: 0.45;
    transform: translateX(-50%);
}

.ap-setup::after,
.ap-details::after {
    position: absolute;
    top: -45px;
    left: 50%;
    padding: 0 12px;
    color: #d1d1d1;
    background: #fff;
    content: "affilplatform.";
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
    transform: translateX(-50%);
}

.ap-setup h2,
.ap-pricing-zone > .ap-container > h2,
.ap-team > .ap-container > h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -2px;
}

.ap-setup__list,
.ap-team__grid {
    display: grid;
    margin-top: 40px;
    grid-template-columns: repeat(3, 276px);
    justify-content: space-between;
}

.ap-setup-card {
    position: relative;
    width: 276px;
    height: 350px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
}

.ap-setup-card__icon {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    object-fit: contain;
    object-position: left center;
}

.ap-setup-card__number {
    position: absolute;
    top: 43px;
    right: 30px;
    color: var(--pale);
    font-size: 25px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -1.25px;
}

.ap-setup-card h3 {
    position: absolute;
    top: 105px;
    left: 30px;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.8px;
}

.ap-setup-card h3 span {
    display: block;
}

.ap-setup-card p {
    position: absolute;
    top: 170px;
    left: 30px;
    width: 220px;
    color: var(--muted);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
}

.ap-setup-card__action {
    position: absolute;
    right: -10px;
    bottom: -10px;
    width: 50px;
    height: 50px;
    max-width: none;
    transition: transform 160ms ease;
}

.ap-setup-card:hover .ap-setup-card__action {
    transform: translate(2px, 2px);
}

.ap-trust {
    padding: 70px 0 30px;
    background: #fff;
}

.ap-trust .shields {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 24px;
    align-items: end;
    justify-items: center;
    max-width: 900px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

.ap-trust .shields__item {
    display: flex;
}

.ap-trust .shields__item img {
    width: 100%;
    height: auto;
    max-width: 95px;
    display: block;
}

@media (max-width: 900px) {
    .ap-trust .shields {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 520px) {
    .ap-trust .shields {
        max-width: 340px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px 8px;
    }

    .ap-trust .shields__item img {
        max-width: 82px;
    }
}

.ap-trust__list {
    display: flex;
    height: 20px;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.ap-trust__list li {
    display: flex;
    height: 20px;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -1px;
    white-space: nowrap;
}

.ap-trust__list img {
    width: auto;
    max-width: 27px;
    height: 20px;
}

.ap-trust__list strong {
    font-weight: 700;
}

.ap-demo {
    height: 240px;
    color: #fff;
    background: var(--brand);
}

.ap-demo__inner {
    display: flex;
    height: 240px;
    align-items: center;
    justify-content: space-between;
    gap: 56px;
}

.ap-demo__copy {
    flex: 1 1 0;
    min-width: 0;
}

.ap-demo__copy h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -2px;
}

.ap-demo__copy p {
    margin-top: 10px;
    font-size: 20px;
    line-height: 1.5;
}

.ap-demo__button {
    display: inline-flex;
    flex: 0 0 auto;
    height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0 26px;
    border: 2px solid #fff;
    border-radius: 14px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -0.4px;
    white-space: nowrap;
    cursor: pointer;
    transition: color 160ms ease, background-color 160ms ease;
}

.ap-demo__button:hover,
.ap-demo__button:focus-visible {
    color: var(--brand);
    background: #fff;
}

.ap-ai-visual {
    padding: 34px;
}

.ap-ai-visual > img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.ap-ai-visual > strong {
    position: absolute;
    right: 30px;
    bottom: 28px;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -1.2px;
}

.ap-ai-chart {
    position: absolute;
    top: 48px;
    right: 34px;
    display: flex;
    height: 86px;
    align-items: flex-end;
    gap: 10px;
}

.ap-ai-chart i {
    display: block;
    width: 18px;
    border-radius: 5px 5px 0 0;
    background: var(--brand);
    opacity: 0.18;
}

.ap-ai-chart i:nth-child(1) { height: 30px; }
.ap-ai-chart i:nth-child(2) { height: 46px; }
.ap-ai-chart i:nth-child(3) { height: 38px; }
.ap-ai-chart i:nth-child(4) { height: 66px; }
.ap-ai-chart i:nth-child(5) { height: 86px; opacity: 0.42; }

.ap-ai-visual--prediction > span {
    position: absolute;
    top: 40px;
    left: 112px;
}

.ap-ai-signal {
    position: absolute;
    top: 98px;
    right: 34px;
    left: 34px;
    display: grid;
    gap: 12px;
}

.ap-ai-signal b {
    display: block;
    height: 8px;
    overflow: hidden;
    border-radius: 4px;
    background: #efefef;
}

.ap-ai-signal b::after {
    display: block;
    width: 72%;
    height: 8px;
    border-radius: 4px;
    content: "";
    background: var(--brand);
    opacity: 0.25;
}

.ap-ai-signal b:nth-child(2)::after { width: 48%; }
.ap-ai-signal b:nth-child(3)::after { width: 84%; }

.ap-ai-visual--assistant {
    display: flex;
    align-items: flex-start;
    gap: 28px;
}

.ap-ai-message {
    flex: 1;
    padding: 18px 20px;
    border-radius: 14px;
    background: var(--pale);
}

.ap-ai-message span,
.ap-ai-message strong {
    display: block;
}

.ap-ai-message span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
}

.ap-ai-message strong {
    margin-top: 14px;
    font-size: 18px;
    line-height: 1.35;
}

.ap-details {
    padding-bottom: 70px;
}

.ap-details__grid {
    display: grid;
    grid-template-columns: repeat(2, 440px);
    justify-content: space-between;
}

.ap-detail-card {
    position: relative;
    height: 260px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
}

.ap-detail-card > img {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.ap-detail-card h2 {
    position: absolute;
    top: 100px;
    left: 30px;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.8px;
}

.ap-detail-card p {
    position: absolute;
    top: 145px;
    left: 30px;
    width: 380px;
    color: var(--muted);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
}

.ap-price-grid {
    display: grid;
    margin-top: 50px;
    grid-template-columns: repeat(2, 440px);
    justify-content: space-between;
}

.ap-price-card {
    position: relative;
    min-height: 710px;
    padding: 30px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--soft);
    box-shadow: none;
}

.ap-price-card--popular {
    border: 2px solid var(--brand);
    box-shadow: none;
}

.ap-price-card__badge {
    position: absolute;
    top: -14px;
    right: 24px;
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    box-shadow: 0 6px 14px rgba(6, 120, 54, 0.28);
    z-index: 2;
}

.ap-price-card__icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.ap-price-card__number {
    position: absolute;
    top: 43px;
    right: 30px;
    color: var(--pale);
    font-size: 25px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -1.25px;
}

.ap-price-card__name {
    margin-top: 18px !important;
    color: var(--brand);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
}

.ap-price-card__price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-top: 12px;
}

.ap-price-card__price strong {
    font-size: 60px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -3px;
}

.ap-price-card__price span {
    color: var(--muted);
    font-size: 14px;
}

.ap-price-card__intro {
    min-height: 66px;
    margin-top: 18px !important;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
}

.ap-price-card__features {
    margin-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.ap-price-card__features li {
    display: flex;
    min-height: 54px;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #e5e5e5;
    font-size: 14px;
    line-height: 20px;
}

.ap-price-card__features li::before {
    display: grid;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    place-items: center;
    border-radius: 50%;
    content: "✓";
    color: var(--brand);
    background: #e8f4ed;
    font-size: 11px;
    font-weight: 800;
}

.ap-price-card__features li[data-state="excluded"]::before {
    content: "-";
    color: var(--soft);
    background: var(--pale);
}

.ap-price-card__features li[data-state="addon"]::before {
    content: "+";
}

.ap-price-card__features span {
    margin-right: auto;
}

.ap-price-card__features strong {
    color: var(--brand);
    font-size: 13px;
    white-space: nowrap;
}

.ap-price-card__features li[data-state="excluded"] strong {
    color: var(--soft);
}

.ap-price-card__button,
.ap-contact-card__button {
    display: inline-flex;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 2px solid var(--brand);
    border-radius: 12px;
    color: var(--brand);
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.3px;
    cursor: pointer;
    transition: color 160ms ease, background-color 160ms ease;
}

.ap-price-card__button {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
}

.ap-price-card--popular .ap-price-card__button {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

.ap-price-card--popular .ap-price-card__button:hover,
.ap-price-card--popular .ap-price-card__button:focus-visible {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff;
}

.ap-price-card__button:hover,
.ap-price-card__button:focus-visible,
.ap-contact-card__button:hover,
.ap-contact-card__button:focus-visible {
    color: #fff;
    background: var(--brand);
}

.ap-price-notes {
    display: grid;
    margin-top: 60px;
    grid-template-columns: repeat(3, 276px);
    justify-content: space-between;
}

.ap-note-card {
    position: relative;
    min-height: 230px;
    padding: 30px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
}

.ap-note-card > span {
    position: absolute;
    top: 30px;
    right: 30px;
    color: var(--pale);
    font-size: 25px;
    font-weight: 500;
}

.ap-note-card__icon {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    object-fit: contain;
    object-position: left center;
}

.ap-note-card h3 {
    margin-top: 70px;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.8px;
}

.ap-note-card p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
}

.ap-story-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: #fff;
}

.ap-story-visual img {
    position: absolute;
    top: 28px;
    left: 30px;
    width: 62px;
    height: 62px;
    object-fit: contain;
}

.ap-story-visual strong {
    color: var(--brand);
    font-size: 86px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -4.3px;
}

.ap-story-visual span {
    max-width: 260px;
    margin-top: 12px;
    color: var(--muted);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
}

.ap-story-visual--technology strong {
    font-size: 64px;
    letter-spacing: -3.2px;
}

.ap-mission {
    padding: 90px 0;
    text-align: center;
}

@media (hover: hover) {
    .ap-feature__visual:hover {
        box-shadow: 0 28px 30px -24px rgba(0, 0, 0, 0.3);
        transform: translateY(-2px);
    }
}

.ap-mission h2 {
    margin-top: 28px;
    font-size: 60px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -3px;
}

.ap-mission__lead {
    margin-top: 24px !important;
    color: var(--brand);
    font-size: 25px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -1.25px;
}

.ap-mission__copy {
    display: grid;
    margin-top: 50px;
    grid-template-columns: repeat(2, 439px);
    justify-content: space-between;
    text-align: left;
}

.ap-mission__copy p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.5;
}

.ap-team {
    margin-top: 20px;
    padding: 50px 0 80px;
    background: #fff;
    text-align: center;
}

.ap-team::before,
.ap-team::after { content: none !important; }

.ap-team > .ap-container > h2 {
    text-align: center;
}

.ap-team .ap-team__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px 56px;
    margin-top: 32px;
    grid-template-columns: none;
}

.ap-team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 200px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border: 0;
    height: auto;
}

.ap-team-card__photo {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 0 16px;
    background: transparent;
}

.ap-team-card h3 {
    position: static !important;
    margin: 0 0 4px !important;
    font-size: 16px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.2px;
    line-height: 1.3;
}

.ap-team-card h3 strong {
    font-weight: 800;
}

.ap-team-card p {
    position: static !important;
    margin: 0 !important;
    font-size: 14px;
    color: var(--muted);
    font-weight: 400;
    letter-spacing: 0;
}

.ap-contact-zone {
    padding-bottom: 90px;
}

.ap-contact-email {
    position: relative;
    display: flex;
    min-height: 150px;
    align-items: center;
    padding: 30px 100px 30px 30px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
}

.ap-contact-email > img:first-child {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    object-fit: contain;
}

.ap-contact-email > span {
    margin-left: 28px;
    color: var(--soft);
    font-size: 20px;
    font-weight: 500;
}

.ap-contact-email > strong {
    margin-left: auto;
    color: var(--brand);
    font-size: 30px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -1.5px;
}

.ap-contact-email__arrow {
    position: absolute;
    right: -10px;
    bottom: -10px;
    width: 50px;
    height: 50px;
    max-width: none;
    transition: transform 160ms ease;
}

.ap-contact-email:hover .ap-contact-email__arrow,
.ap-contact-email:focus-visible .ap-contact-email__arrow {
    transform: translate(2px, 2px);
}

.ap-contact-grid {
    display: grid;
    margin-top: 60px;
    grid-template-columns: repeat(2, 440px);
    justify-content: space-between;
}

.ap-contact-card {
    position: relative;
    min-height: 530px;
    padding: 100px 30px 30px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
}

.ap-contact-card > img {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.ap-contact-card__number {
    position: absolute;
    top: 43px;
    right: 30px;
    color: var(--pale);
    font-size: 25px;
    font-weight: 500;
}

.ap-contact-card h2 {
    font-size: 30px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -1.5px;
}

.ap-contact-card address,
.ap-contact-card > p {
    margin-top: 20px;
    color: var(--muted);
    font-size: 17px;
    font-style: normal;
    line-height: 1.5;
}

.ap-contact-card dl {
    margin-top: 25px;
    border-top: 1px solid #e5e5e5;
}

.ap-contact-card dl div {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #e5e5e5;
    font-size: 13px;
    line-height: 1.4;
}

.ap-contact-card dt {
    color: var(--muted);
}

.ap-contact-card dd {
    min-width: 0;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.ap-contact-card ul {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.ap-contact-card li {
    position: relative;
    padding-left: 28px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.45;
}

.ap-contact-card li::before {
    position: absolute;
    top: 1px;
    left: 0;
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 50%;
    content: "✓";
    color: var(--brand);
    background: #e8f4ed;
    font-size: 11px;
    font-weight: 800;
}

.ap-contact-card__button {
    position: absolute;
    right: 30px;
    bottom: 30px;
    left: 30px;
    background: #fff;
    cursor: pointer;
}

.legal-page {
    min-height: 640px;
    color: var(--ink);
    background: #fff;
}

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

.legal-placeholder {
    overflow: clip;
    display: grid;
    min-height: 620px;
    place-items: center;
    padding: 72px 0 96px;
}

.legal-placeholder__inner {
    text-align: center;
}

.legal-placeholder h1,
.legal-hero h1 {
    margin-top: 24px;
    font-size: clamp(56px, 8vw, 90px);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.055em;
}

.legal-placeholder p {
    max-width: 540px;
    margin: 24px auto 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.55;
}

.legal-back {
    display: inline-flex;
    min-height: 54px;
    margin-top: 34px;
    padding: 0 28px;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--brand);
    border-radius: 18px;
    color: var(--brand);
    font-size: 16px;
    font-weight: 600;
    transition: color 160ms ease, background-color 160ms ease;
}

.legal-back:hover,
.legal-back:focus-visible {
    color: #fff;
    background: var(--brand);
}

.legal-hero {
    padding: 88px 0 74px;
}

.legal-hero h1 {
    max-width: 760px;
}

.legal-hero p {
    max-width: 640px;
    margin-top: 28px;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.55;
}

.legal-hero time {
    display: block;
    margin-top: 18px;
    color: var(--soft);
    font-size: 13px;
}

.legal-content {
    margin-top: 20px;
    padding: 70px 0 80px;
    background: var(--pale);
}

.legal-content__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.legal-content article {
    position: relative;
    min-height: 270px;
    padding: 34px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.08);
}

.legal-content article > span {
    color: var(--pale);
    font-size: 25px;
    font-weight: 500;
}

.legal-content h2 {
    margin-top: 42px;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -1.25px;
}

.legal-content p {
    margin-top: 16px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.5;
}

.legal-content a {
    color: var(--brand);
    font-weight: 600;
}

.ap-dialog {
    --ap-line: #d9d9d9;
    width: min(calc(100% - 40px), 780px);
    max-width: none;
    max-height: calc(100dvh - 40px);
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 20px;
    color: var(--ink);
    background: transparent;
    font-family: "Inter", Arial, sans-serif;
}

.ap-dialog::backdrop {
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(3px);
}

.ap-dialog[open] {
    animation: ap-dialog-in 180ms ease-out;
}

.ap-dialog__surface {
    position: relative;
    overflow: hidden;
    padding: 44px;
    border-radius: 20px;
    background: #fff;
}

.ap-dialog__close {
    position: absolute;
    top: 24px;
    right: 24px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--ap-line);
    border-radius: 50%;
    cursor: pointer;
}

.ap-dialog__close:hover,
.ap-dialog__close:focus-visible {
    border-color: var(--brand);
}

.ap-dialog__close:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
}

.ap-dialog__close span,
.ap-dialog__close span::after {
    display: block;
    width: 16px;
    height: 1.5px;
    border-radius: 2px;
    background: currentColor;
    transform: rotate(45deg);
}

.ap-dialog__close span::after {
    content: "";
    transform: rotate(90deg);
}

.ap-dialog__heading {
    padding-right: 48px;
}

.ap-dialog__heading h2 {
    max-width: 570px;
    margin-top: 18px;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -2px;
}

.ap-dialog__heading p {
    max-width: 590px;
    margin-top: 12px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

.ap-form {
    margin-top: 24px;
}

.ap-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ap-form label,
.ap-form fieldset {
    min-width: 0;
}

.ap-form label > span,
.ap-form legend {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
}

.ap-form input,
.ap-form select {
    width: 100%;
    height: 48px;
    min-width: 0;
    padding: 0 15px;
    border: 1px solid var(--ap-line);
    border-radius: 10px;
    outline: none;
    background: #fff;
    font-size: 15px;
    line-height: 20px;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.ap-form select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
    background-position: calc(100% - 18px) 23px, calc(100% - 13px) 23px;
    background-repeat: no-repeat;
    background-size: 5px 5px, 5px 5px;
}

.ap-form input:focus,
.ap-form select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(6, 120, 54, 0.12);
}

.ap-form__wide {
    grid-column: 1 / -1;
}

.ap-form__phone {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
    padding: 0;
    border: 0;
}

.ap-form__phone legend {
    grid-column: 1 / -1;
}

.ap-form__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--ap-line);
}

.ap-form__footer p {
    max-width: 360px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.ap-form__footer button {
    display: inline-flex;
    width: 210px;
    min-height: 60px;
    flex: 0 0 210px;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--brand);
    border-radius: 20px;
    color: #fff;
    background: var(--brand);
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: color 160ms ease, background-color 160ms ease;
}

.ap-form__footer button:hover,
.ap-form__footer button:focus-visible {
    color: var(--brand);
    background: #fff;
}

.ap-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
    clip-path: inset(50%) !important;
}

@keyframes ap-dialog-in {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.99);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 999px) {
    .ap-hero {
        padding: 48px 0 64px;
    }

    .ap-hero h1 span:first-child {
        font-size: clamp(64px, 10vw, 90px);
    }

    .ap-hero h1 span:last-child {
        margin-top: 8px;
        font-size: clamp(42px, 7vw, 60px);
        white-space: normal;
    }

    .ap-feature,
    .ap-feature + .ap-feature {
        margin-top: 64px;
    }

    .ap-feature__inner,
    .ap-feature--copy-left .ap-feature__inner {
        display: flex;
        min-height: 0;
        align-items: center;
        flex-direction: column;
        gap: 0;
    }

    .ap-feature__copy,
    .ap-feature__visual {
        width: min(100%, 459px);
    }

    .ap-feature__copy {
        order: 1;
        text-align: center;
    }

    .ap-feature__visual {
        order: 2;
        height: auto;
        margin-top: 34px;
        aspect-ratio: 450 / 253;
    }

    .ap-feature__copy h2 {
        font-size: clamp(34px, 6vw, 40px);
    }

    .ap-setup__list,
    .ap-team__grid,
    .ap-price-notes {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 26px;
    }

    .ap-setup-card {
        width: 100%;
    }

    .ap-setup-card p {
        width: calc(100% - 60px);
    }

    .ap-trust__list {
        height: auto;
        flex-wrap: wrap;
        gap: 20px 30px;
    }

    .ap-price-grid,
    .ap-contact-grid,
    .ap-details__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }

    .ap-detail-card {
        width: 100%;
    }

    .ap-detail-card p {
        width: calc(100% - 60px);
    }

    .ap-mission__copy {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 46px;
    }

    .ap-contact-email {
        padding-right: 80px;
    }

    .ap-contact-email > strong {
        font-size: 25px;
    }
}

@media (min-width: 701px) and (max-width: 900px) {
    .ap-setup__list,
    .ap-price-notes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .ap-setup__list > :last-child,
    .ap-price-notes > :last-child {
        width: calc((100% - 24px) / 2);
        grid-column: 1 / -1;
        justify-self: center;
    }

    .ap-setup-card {
        width: 100%;
    }

    .ap-setup-card p {
        width: calc(100% - 60px);
    }

    .ap-team .ap-team__grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .ap-team-card {
        display: grid;
        width: 100%;
        min-height: 120px;
        align-items: center;
        grid-template-columns: 88px minmax(0, 1fr);
        grid-template-rows: 1fr 1fr;
        column-gap: 18px;
        padding: 15px 18px;
        border: 1px solid rgba(0, 0, 0, 0.06);
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
        text-align: left;
    }

    .ap-team-card:last-child {
        width: calc((100% - 24px) / 2);
        grid-column: 1 / -1;
        justify-self: center;
    }

    .ap-team-card__photo {
        width: 88px;
        height: 88px;
        grid-row: 1 / 3;
        margin: 0;
    }

    .ap-team-card h3,
    .ap-team-card p {
        grid-column: 2;
        text-align: left;
    }

    .ap-team-card h3 {
        align-self: end;
        margin-bottom: 3px !important;
        font-size: 18px;
    }

    .ap-team-card p {
        align-self: start;
    }
}

@media (max-width: 700px) {
    .ap-setup__list,
    .ap-team__grid,
    .ap-price-notes,
    .ap-price-grid,
    .ap-contact-grid,
    .ap-details__grid,
    .ap-mission__copy {
        grid-template-columns: 1fr;
    }

    .ap-setup-card,
    .ap-team-card,
    .ap-note-card,
    .ap-price-card,
    .ap-contact-card,
    .ap-detail-card {
        width: min(100%, 440px);
        margin-inline: auto;
    }

    .ap-contact-email {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .ap-contact-email > span,
    .ap-contact-email > strong {
        margin-left: 0;
    }

    .legal-content__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .legal-placeholder {
        min-height: 520px;
        padding: 48px 0 72px;
    }

    .legal-placeholder h1,
    .legal-hero h1 {
        margin-top: 18px;
        font-size: clamp(44px, 14vw, 62px);
    }

    .legal-placeholder p,
    .legal-hero p {
        margin-top: 20px;
        font-size: 16px;
    }

    .legal-hero {
        padding: 52px 0 58px;
    }

    .legal-content {
        padding: 48px 0 58px;
    }

    .legal-content article {
        min-height: 0;
        padding: 28px;
    }

    .legal-content h2 {
        margin-top: 32px;
    }

    .ap-hero {
        padding: 24px 0 58px;
    }

    .ap-hero h1 span:first-child {
        font-size: clamp(48px, 15vw, 64px);
        letter-spacing: -0.05em;
    }

    .ap-services .ap-hero h1 span:first-child {
        font-size: clamp(34px, 11vw, 48px);
    }

    .ap-hero h1 span:last-child {
        font-size: clamp(30px, 9.5vw, 42px);
        letter-spacing: -0.05em;
    }

    .ap-hero__lead {
        margin-top: 18px !important;
        font-size: 19px;
        letter-spacing: -0.8px;
    }

    .ap-hero__claim {
        min-height: 52px;
        margin-top: 24px !important;
        padding: 10px 16px;
        font-size: clamp(17px, 5.2vw, 21px);
        letter-spacing: -0.04em;
    }

    .ap-hero__aside {
        margin-top: 14px !important;
        font-size: 17px;
    }

    .ap-feature,
    .ap-feature + .ap-feature {
        margin-top: 48px;
    }

    .ap-feature__copy h2 {
        font-size: 34px;
        letter-spacing: -1.7px;
    }

    .ap-feature__copy .ap-label + h2 {
        margin-top: 18px;
    }

    .ap-feature__copy p {
        margin-top: 16px;
        font-size: 17px;
    }

    .ap-feature__visual {
        margin-top: 24px;
    }

    .ap-service-visual {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 18px;
        padding: 24px;
    }

    .ap-service-visual > img {
        width: 54px;
        height: 54px;
    }

    .ap-service-visual strong {
        font-size: 20px;
        letter-spacing: -1px;
    }

    .ap-service-visual p {
        margin-top: 8px;
        font-size: 12px;
    }

    .ap-setup,
    .ap-pricing-zone,
    .ap-team,
    .ap-contact-zone,
    .ap-details {
        margin-top: 48px;
        padding: 48px 0 56px;
    }

    .ap-pricing-zone,
    .ap-contact-zone {
        margin-top: 20px;
    }

    .ap-setup::before,
    .ap-details::before {
        top: -24px;
    }

    .ap-setup::after,
    .ap-details::after {
        top: -32px;
        font-size: 10px;
    }

    .ap-setup h2,
    .ap-pricing-zone > .ap-container > h2,
    .ap-team > .ap-container > h2 {
        font-size: 34px;
        letter-spacing: -1.7px;
    }

    .ap-setup__list,
    .ap-team__grid,
    .ap-price-notes {
        gap: 28px;
        margin-top: 36px;
    }

    .ap-setup-card {
        width: 100%;
        height: 330px;
    }

    .ap-setup-card h3 {
        font-size: 28px;
    }

    .ap-setup-card p {
        top: 180px;
        font-size: 17px;
    }

    .ap-trust {
        padding: 46px 0;
    }

    .ap-trust__list {
        align-items: center;
        flex-direction: column;
        gap: 18px;
    }

    .ap-trust__list li {
        font-size: 17px;
        letter-spacing: -0.8px;
    }

    .ap-team .ap-team__grid {
        gap: 12px;
    }

    .ap-team-card {
        display: grid;
        min-height: 112px;
        align-items: center;
        grid-template-columns: 84px minmax(0, 1fr);
        grid-template-rows: 1fr 1fr;
        column-gap: 16px;
        padding: 14px 16px;
        border: 1px solid rgba(0, 0, 0, 0.06);
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07);
        text-align: left;
    }

    .ap-team-card__photo {
        width: 84px;
        height: 84px;
        grid-row: 1 / 3;
        margin: 0;
    }

    .ap-team-card h3,
    .ap-team-card p {
        grid-column: 2;
        text-align: left;
    }

    .ap-team-card h3 {
        align-self: end;
        margin-bottom: 3px !important;
        font-size: 18px;
    }

    .ap-team-card p {
        align-self: start;
        font-size: 14px;
    }

    .ap-demo {
        height: auto;
        padding: 48px 0;
    }

    .ap-demo__inner {
        height: auto;
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
    }

    .ap-demo__copy h2 {
        font-size: 34px;
        letter-spacing: -1.7px;
    }

    .ap-demo__copy p {
        font-size: 17px;
    }

    .ap-demo__button {
        width: 100%;
    }

    .ap-ai-visual {
        padding: 24px;
    }

    .ap-ai-visual > img {
        width: 46px;
        height: 46px;
    }

    .ap-ai-visual > strong {
        right: 22px;
        bottom: 22px;
        font-size: 19px;
    }

    .ap-ai-chart {
        top: 34px;
        right: 24px;
        height: 64px;
    }

    .ap-ai-chart i {
        width: 13px;
    }

    .ap-ai-chart i:nth-child(1) { height: 22px; }
    .ap-ai-chart i:nth-child(2) { height: 34px; }
    .ap-ai-chart i:nth-child(3) { height: 28px; }
    .ap-ai-chart i:nth-child(4) { height: 49px; }
    .ap-ai-chart i:nth-child(5) { height: 64px; }

    .ap-ai-visual--prediction > span {
        top: 31px;
        left: 82px;
    }

    .ap-ai-signal {
        top: 76px;
        right: 24px;
        left: 24px;
        gap: 8px;
    }

    .ap-ai-message {
        padding: 14px;
    }

    .ap-ai-message span {
        font-size: 11px;
    }

    .ap-ai-message strong {
        margin-top: 8px;
        font-size: 14px;
    }

    .ap-details__grid {
        gap: 28px;
    }

    .ap-detail-card {
        height: 250px;
    }

    .ap-detail-card h2 {
        font-size: 28px;
    }

    .ap-detail-card p {
        font-size: 17px;
    }

    .ap-price-grid {
        margin-top: 36px;
        gap: 28px;
    }

    .ap-price-card {
        min-height: 690px;
        padding: 24px;
    }

    .ap-price-card__number {
        top: 37px;
        right: 24px;
    }

    .ap-price-card__price strong {
        font-size: 52px;
    }

    .ap-price-card__button {
        right: 24px;
        bottom: 24px;
        left: 24px;
        width: auto;
        transform: none;
        font-size: 16px;
    }

    .ap-note-card {
        min-height: 210px;
    }

    .ap-story-visual img {
        top: 22px;
        left: 24px;
        width: 50px;
        height: 50px;
    }

    .ap-story-visual strong {
        font-size: 64px;
        letter-spacing: -3.2px;
    }

    .ap-story-visual--technology strong {
        font-size: 50px;
    }

    .ap-story-visual span {
        font-size: 14px;
    }

    .ap-mission {
        padding: 72px 0;
    }

    .ap-mission h2 {
        margin-top: 20px;
        font-size: 42px;
        letter-spacing: -2.1px;
    }

    .ap-mission__lead {
        font-size: 20px;
        letter-spacing: -1px;
    }

    .ap-mission__copy {
        margin-top: 36px;
        gap: 20px;
        text-align: center;
    }

    .ap-mission__copy p {
        font-size: 16px;
    }

    .ap-team-card {
        height: auto;
    }

    .ap-team-card h3 {
        top: 108px;
    }

    .ap-team-card p {
        top: 151px;
    }

    .ap-contact-zone {
        padding-bottom: 64px;
    }

    .ap-contact-email {
        min-height: 190px;
        padding: 26px 60px 26px 26px;
    }

    .ap-contact-email > span {
        font-size: 17px;
    }

    .ap-contact-email > strong {
        font-size: clamp(20px, 6vw, 25px);
        overflow-wrap: anywhere;
    }

    .ap-contact-grid {
        margin-top: 36px;
        gap: 28px;
    }

    .ap-contact-card {
        min-height: 520px;
        padding: 100px 24px 24px;
    }

    .ap-contact-card > img {
        left: 24px;
    }

    .ap-contact-card__number {
        right: 24px;
    }

    .ap-contact-card h2 {
        font-size: 28px;
    }

    .ap-contact-card dl div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .ap-contact-card__button {
        right: 24px;
        bottom: 24px;
        left: 24px;
    }

    .ap-dialog {
        width: 100%;
        height: 100dvh;
        max-height: none;
        margin: 0;
        border-radius: 0;
    }

    .ap-dialog__surface {
        height: 100dvh;
        min-height: 0;
        max-height: 100dvh;
        padding: 52px 16px 16px;
        border-radius: 0;
    }

    .ap-dialog__close {
        top: 18px;
        right: 18px;
    }

    .ap-dialog__heading {
        padding-right: 0;
    }

    .ap-dialog__heading h2 {
        margin-top: 12px;
        font-size: 28px;
        letter-spacing: -1.4px;
    }

    .ap-dialog__heading p {
        margin-top: 8px;
        font-size: 12px;
        line-height: 1.4;
    }

    .ap-form {
        margin-top: 16px;
    }

    .ap-form__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 12px;
    }

    .ap-form__wide {
        grid-column: 1 / -1;
    }

    .ap-form label > span,
    .ap-form legend {
        margin-bottom: 4px;
        font-size: 10px;
        line-height: 14px;
    }

    .ap-form input,
    .ap-form select {
        height: 42px;
        padding: 0 10px;
        font-size: 13px;
    }

    .ap-form select {
        background-position: calc(100% - 16px) 18px, calc(100% - 11px) 18px;
    }

    .ap-form__phone {
        grid-column: 1 / -1;
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 10px;
    }

    .ap-form__footer {
        align-items: center;
        flex-direction: row;
        gap: 12px;
        margin-top: 16px;
        padding-top: 14px;
    }

    .ap-form__footer p {
        max-width: none;
        flex: 1 1 auto;
        font-size: 10px;
        line-height: 1.35;
    }

    .ap-form__footer button {
        width: 150px;
        min-height: 44px;
        flex: 0 0 150px;
        font-size: 14px;
    }
}

@media (max-width: 380px) {
    .ap-service-visual {
        grid-template-columns: 50px minmax(0, 1fr);
        gap: 12px;
        padding: 18px;
    }

    .ap-service-visual > img {
        width: 44px;
        height: 44px;
    }

    .ap-service-visual strong {
        font-size: 17px;
    }

    .ap-service-visual p {
        display: none;
    }

    .ap-price-card__features li {
        flex-wrap: wrap;
        padding: 8px 0;
    }

    .ap-price-card__features strong {
        width: calc(100% - 32px);
        margin-left: 32px;
    }

    .ap-form__phone {
        grid-template-columns: 92px minmax(0, 1fr);
    }
}

@media (max-width: 600px) and (max-height: 640px) {
    .ap-dialog__surface {
        padding: 14px 16px 10px;
    }

    .ap-dialog__close {
        top: 12px;
        right: 16px;
        width: 36px;
        height: 36px;
    }

    .ap-dialog__heading h2 {
        margin-top: 8px;
        font-size: 24px;
        letter-spacing: -1.2px;
    }

    .ap-dialog__heading p {
        margin-top: 4px;
        font-size: 11px;
        line-height: 1.3;
    }

    .ap-form {
        margin-top: 10px;
    }

    .ap-form__grid {
        gap: 6px 10px;
    }

    .ap-form label > span,
    .ap-form legend {
        margin-bottom: 2px;
        font-size: 9px;
        line-height: 12px;
    }

    .ap-form input,
    .ap-form select {
        height: 38px;
        font-size: 12px;
    }

    .ap-form select {
        background-position: calc(100% - 16px) 16px, calc(100% - 11px) 16px;
    }

    .ap-form__footer {
        gap: 8px;
        margin-top: 8px;
        padding-top: 8px;
    }

    .ap-form__footer p {
        font-size: 9px;
        line-height: 1.25;
    }

    .ap-form__footer button {
        width: 136px;
        min-height: 40px;
        flex-basis: 136px;
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ap-setup-card__action,
    .ap-contact-email__arrow,
    .ap-dialog[open] {
        animation: none;
        transition: none;
    }
}

@media (max-width: 600px) {
    html:not([lang="cs"]):not([lang="sk"]) .ap-contact .ap-hero h1 span:first-child {
        font-size: clamp(36px, 11vw, 46px);
        white-space: normal;
    }

    html:not([lang="cs"]):not([lang="sk"]) .legal-placeholder h1 {
        overflow-wrap: anywhere;
        font-size: clamp(36px, 11vw, 50px);
    }

    html[lang="de"] .ap-ai .ap-feature__copy h2 {
        overflow-wrap: anywhere;
        font-size: 33px;
    }
}

.ap-services-grid {
    padding: 60px 0 30px;
}

.ap-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ap-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 34px 32px;
    background: #fff;
    border: 1px solid var(--soft);
    border-radius: 20px;
}

.ap-tile__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    margin-bottom: 22px;
    border-radius: 16px;
    background: rgba(6, 120, 54, 0.08);
    color: var(--brand);
}

.ap-tile__icon img {
    display: block;
    width: 36px;
    height: auto;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(28%) sepia(88%) saturate(1584%) hue-rotate(133deg) brightness(96%) contrast(101%);
}

.ap-tile h2 {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.6px;
    line-height: 1.25;
    color: var(--ink);
}

.ap-tile p {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: var(--muted);
}

.ap-tile__meta {
    margin-top: 18px !important;
    padding-top: 18px;
    border-top: 1px dashed rgba(6, 120, 54, 0.28);
    font-size: 14px !important;
    color: var(--ink) !important;
}

.ap-tile__meta strong { color: var(--brand); font-weight: 600; }

@media (max-width: 720px) {
    .ap-tiles { grid-template-columns: 1fr; gap: 18px; }
    .ap-tile { padding: 26px 24px; }
}

.ap-note {
    padding: 40px 0;
}

.ap-note .ap-container {
    display: flex;
    justify-content: center;
}

.ap-note__bubble {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 16px 26px;
    background: transparent;
    border: 1px solid rgba(6, 120, 54, 0.35);
    border-radius: 14px;
    color: var(--ink);
    margin-inline: auto;
}

.ap-note__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
}

.ap-note__bubble p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: var(--ink);
    text-align: center;
}

.ap-note__bubble strong { font-weight: 600; }

.ap-note__bubble a {
    color: var(--brand);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ap-note__bubble a:hover { color: var(--brand-dark); }

.ap-timeline {
    padding: 60px 0 40px;
}

.ap-timeline__list {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.ap-timeline__list::before {
    content: "";
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 50%;
    width: 4px;
    background: var(--brand);
    transform: translateX(-50%);
    border-radius: 2px;
}

.ap-timeline__item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 72px 1fr;
    gap: 24px;
    align-items: center;
    padding: 30px 0;
}

.ap-timeline__marker {
    grid-column: 2;
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    box-shadow: 0 0 0 6px #fff, 0 0 0 8px rgba(6, 120, 54, 0.18);
    z-index: 1;
}

.ap-timeline__card {
    background: transparent;
}

.ap-timeline__item:nth-child(odd) .ap-timeline__card {
    grid-column: 1;
    text-align: right;
    padding-right: 8px;
}

.ap-timeline__item:nth-child(even) .ap-timeline__card {
    grid-column: 3;
    text-align: left;
    padding-left: 8px;
}

.ap-timeline__stat {
    display: inline-block;
    padding: 4px 12px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: rgba(6, 120, 54, 0.1);
    color: var(--brand);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.ap-timeline__card h2 {
    margin: 0 0 14px !important;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.8px;
    line-height: 1.2;
    color: var(--ink);
}

.ap-timeline__card p {
    margin: 0 0 10px !important;
    font-size: 16px;
    line-height: 1.6;
    color: var(--muted);
}

.ap-timeline__card p:last-child { margin-bottom: 0 !important; }

@media (max-width: 720px) {
    .ap-timeline__list::before { left: 26px; }
    .ap-timeline__item {
        grid-template-columns: 52px 1fr;
        gap: 18px;
        padding: 20px 0;
    }
    .ap-timeline__marker {
        grid-column: 1;
        width: 44px;
        height: 44px;
        font-size: 18px;
        justify-self: start;
    }
    .ap-timeline__item:nth-child(odd) .ap-timeline__card,
    .ap-timeline__item:nth-child(even) .ap-timeline__card {
        grid-column: 2;
        text-align: left;
        padding: 0;
    }
    .ap-timeline__card h2 { font-size: 22px; }
}

.ap-contact-email-block {
    padding: 10px 0 60px;
    text-align: center;
}

.ap-contact-email {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 22px 44px;
    background: var(--brand);
    color: #fff;
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 700;
    letter-spacing: -0.4px;
    line-height: 1.1;
    border-radius: 14px;
    text-decoration: none;
    transition: background-color 160ms ease, transform 160ms ease;
}

.ap-contact-email:hover,
.ap-contact-email:focus-visible {
    background: var(--brand-dark);
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    .ap-contact-email-block {
        padding: 0 0 48px;
    }

    .ap-contact-email {
        width: 100%;
        min-width: 0;
        padding: 20px 16px;
        font-size: clamp(16px, 5.2vw, 20px);
        overflow-wrap: anywhere;
    }

    .legal-placeholder h1 {
        font-size: clamp(38px, 13vw, 50px);
        overflow-wrap: anywhere;
    }

    html[lang="de"] .ap-services .ap-hero h1 span:first-child {
        font-size: clamp(30px, 9.4vw, 44px);
        overflow-wrap: anywhere;
    }
}

.ap-contact-provider {
    padding: 40px 0 100px;
    text-align: center;
    background: #fff;
    border-bottom: 1px solid var(--soft);
}

.ap-contact-provider__label {
    display: inline-block;
    margin: 0 0 14px !important;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(6, 120, 54, 0.1);
    color: var(--brand);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.ap-contact-provider h2 {
    margin: 0 0 10px !important;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.6px;
    color: var(--ink);
}

.ap-contact-provider__address {
    margin: 0 0 22px !important;
    font-size: 16px;
    color: var(--muted);
}

.ap-contact-provider p:not(.ap-contact-provider__label):not(.ap-contact-provider__address) {
    margin: 6px 0 !important;
    font-size: 15px;
    color: var(--muted);
    line-height: 1.6;
}

.ap-contact-provider p strong {
    color: var(--ink);
    font-weight: 600;
}
