:root {
    --color-primary: #ffb3ba;
    --color-secondary: #ffc7ce;
    --color-accent: #ff69b4;
    --color-bg: #fffbfc;
    --color-text: #3d2430;
    --color-text-light: #6d4a56;
    --color-border: #f3d5dc;
    --color-ink: #7a2450;
    --ax-header-h: 72px;
    --ax-page-w: 1120px;
    --space-lg: 24px;
    --font-head: "Fredoka", "Segoe UI", sans-serif;
    --font-body: "Segoe UI", sans-serif;
}

@media (max-width: 1100px) {
    :root { --ax-header-h: 64px; }
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body {
    margin: 0;
    max-width: 100%;
    overflow-x: hidden;
}

html { scroll-padding-top: var(--ax-header-h); }

body {
    padding-top: var(--ax-header-h);
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.6;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(circle at 12px 12px, #ffc7ce 0 5px, transparent 6px);
    background-size: 42px 42px;
    opacity: 0.55;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

[hidden] { display: none !important; }

a { color: var(--color-ink); }

h1, h2, h3 {
    font-family: var(--font-head);
    line-height: 1.2;
    font-weight: 600;
}

p { margin: 0 0 1rem; }

.axContainer {
    max-width: var(--ax-page-w);
    margin: 0 auto;
    padding: 0 20px;
}

.axMeasure { max-width: 760px; }

.axGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.axHeader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    min-height: var(--ax-header-h);
    background: #fffbfc;
    box-shadow: 0 2px 8px rgba(61, 36, 48, 0.08);
}

.axHeader-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--ax-header-h);
    position: relative;
    gap: 12px;
}

.axHeader-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    line-height: 0;
}

.axHeader-logo img {
    width: 180px;
    height: auto;
    display: block;
}

.axHeader a,
.axHeader a:visited { color: #7a2450; }

.axNav {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.axNav--left { max-width: calc(50% - 120px); }
.axNav--right { max-width: calc(50% - 120px); justify-content: flex-end; }

.axNav-link {
    color: #7a2450;
    text-decoration: none;
    font-family: var(--font-head);
    font-size: 0.92rem;
    white-space: nowrap;
    padding: 6px 0;
}

.axNav-link.is-active { text-decoration: underline; text-underline-offset: 4px; }

.axBurger,
.axOverlay,
.axDrawer { display: none; }

.axBurger {
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 0;
    background: transparent;
    padding: 10px;
    cursor: pointer;
}

.axBurger span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #7a2450;
    border-radius: 2px;
}

.axBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 50px;
    border: 2px solid var(--color-accent);
    background: #fffbfc;
    color: #7a2450;
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.axBtn--primary {
    background: var(--color-accent);
    color: #fffbfc;
    border-color: var(--color-accent);
}

.axBtn--primary:visited { color: #fffbfc; }

.axBtn--quiet { background: #fffbfc; }

.axHero {
    background: #fffbfc;
    padding: 36px 0 48px;
}

.axHero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 26rem);
    gap: 32px;
    align-items: start;
}

.axKicker {
    font-family: var(--font-head);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.78rem;
    color: var(--color-ink);
    margin-bottom: 0.6rem;
}

.axHero-title { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0 0 0.8rem; }

.axHero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.2rem; }

.axAppCard {
    background: #fff;
    border: 2px solid var(--color-secondary);
    padding: 16px;
    box-shadow: 0 10px 0 #ffd6dc;
}

.axAppCard-preview {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
    margin: 0 auto 14px;
}

.axAppCard-head {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.axAppCard-icon {
    width: 88px;
    height: 88px;
    border-radius: 22%;
    object-fit: contain;
    flex-shrink: 0;
    background: #fff;
}

.axAppCard-badges {
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin: 0 0 0.25rem;
}

.axAppCard-name { font-size: 1.25rem; margin: 0 0 0.3rem; }
.axAppCard-dev { margin: 0; color: var(--color-text-light); font-size: 0.92rem; }

.axAppCard-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 14px;
    padding: 0;
    margin: 14px 0;
    list-style: none;
}

.axAppCard-facts li {
    margin: 0;
    font-size: 0.92rem;
}

.axAppCard-note { font-size: 0.95rem; }
.axAppCard-checked { font-size: 0.85rem; color: var(--color-text-light); }

.axSection { padding: 48px 0; background: #fffbfc; position: relative; }

.axSection--wash { background: #fff4f6; }

.axSection::after {
    content: "";
    position: absolute;
    width: 140px;
    height: 90px;
    right: 4%;
    top: 12px;
    background: #ffb3ba;
    border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
    filter: blur(16px);
    opacity: 0.85;
    pointer-events: none;
}

.axSection > .axContainer { position: relative; z-index: 1; }

.axReq {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}

.axReq li {
    background: #fff;
    border-radius: 28px;
    padding: 14px 16px;
}

.axReq span {
    display: block;
    font-family: var(--font-head);
    margin-bottom: 4px;
}

.axVerdict {
    font-family: var(--font-head);
    font-size: 1.35rem;
    line-height: 1.35;
}

.axCta {
    background: #ffb3ba;
    padding: 56px 0;
    position: relative;
    z-index: 1;
}

.axCta h2 { margin-top: 0; }

.axPage {
    padding: 36px 0 64px;
    background: #fffbfc;
    position: relative;
    z-index: 1;
}

.axLead { font-size: 1.15rem; }

.axNote {
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 8px 0 #ffd0d8;
    animation: axRise 0.45s ease both;
}

.axNote-band {
    height: 72px;
    background:
        radial-gradient(circle at 18px 36px, #fffbfc 0 8px, transparent 9px),
        radial-gradient(circle at 46px 28px, #ff69b4 0 8px, transparent 9px),
        linear-gradient(90deg, #ffb3ba, #ffc7ce);
}

.axNote-band--alt {
    background:
        radial-gradient(circle at 24px 40px, #fff 0 7px, transparent 8px),
        linear-gradient(120deg, #ff69b4, #ffb3ba);
}

.axNote-band--deep {
    background:
        radial-gradient(circle at 30px 24px, #ffc7ce 0 9px, transparent 10px),
        linear-gradient(160deg, #7a2450, #ff69b4);
}

.axNote h2 { font-size: 1.25rem; margin: 16px 16px 8px; }
.axNote h2 a { text-decoration: none; }
.axNote p { margin: 0 16px 18px; }

.axGallery {
    display: grid;
    gap: 28px;
}

.axShot {
    margin: 0;
    background: #fff;
    padding: 12px;
    border-radius: 28px;
}

.axShot img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 420px;
    object-fit: contain;
    margin: 0 auto;
}

.axShot figcaption {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-top: 8px;
}

.axSteps, .axLog { padding-left: 1.2rem; }
.axLog { list-style: none; padding: 0; }
.axLog li { margin: 0 0 0.9rem; }
.axLog span {
    font-family: var(--font-head);
    display: inline-block;
    min-width: 4.5rem;
}

.axFaq-q {
    width: 100%;
    text-align: left;
    background: #fff;
    border: 2px solid var(--color-secondary);
    border-radius: 28px;
    padding: 12px 16px;
    min-height: 44px;
    font-family: var(--font-head);
    font-size: 1.05rem;
    color: var(--color-text);
    cursor: pointer;
}

.axFaq-a { padding: 8px 8px 16px; }
.axFaq h2 { margin: 0 0 8px; font-size: 1rem; }

.axContact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.axForm-label { display: block; font-family: var(--font-head); margin-bottom: 4px; }

.axForm-input {
    width: 100%;
    margin-bottom: 12px;
    border: 2px solid var(--color-secondary);
    border-radius: 18px;
    padding: 12px 14px;
    font: inherit;
    background: #fff;
    color: var(--color-text);
}

.axForm-error { color: #9d2048; }
.axForm-ok { color: #7a2450; }

.axCrumbs { font-size: 0.92rem; }

.axFooter {
    background: #3d2430;
    color: #fff4f6;
    position: relative;
    z-index: 1;
    padding: 36px 0 24px;
}

.axFooter a,
.axFooter a:visited { color: #ffc7ce; }

.axFooter-wide {
    display: grid;
    grid-template-columns: 1.4fr 1fr 0.7fr 0.9fr;
    gap: 24px;
}

.axFooter-label {
    font-family: var(--font-head);
    margin: 0 0 8px;
}

.axFooter ul { list-style: none; margin: 0; padding: 0; }
.axFooter li { margin: 0 0 6px; }

.axFooter-map {
    column-count: 2;
    column-gap: 16px;
}

.axFooter-map .axFooter-label { column-span: all; }

.axFooter-link {
    background: none;
    border: 0;
    padding: 0;
    color: #ffc7ce;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
    min-height: 44px;
}

.axFooter-base {
    margin-top: 24px;
    border-top: 1px solid rgba(255, 199, 206, 0.35);
    padding-top: 16px;
    font-size: 0.92rem;
}

.axCookie { display: none; }

.axCookie:not([hidden]) {
    display: flex;
    position: fixed;
    z-index: 110;
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
    left: 16px;
    bottom: 16px;
    max-width: 360px;
    background: #fffbfc;
    color: var(--color-text);
    border: 2px solid var(--color-accent);
    border-radius: 28px;
    padding: 16px;
    box-shadow: 0 8px 0 #ffd0d8;
}

.axCookie p { margin: 0; }

.axCookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }

@keyframes axRise {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: none; }
}

.axHero-copy,
.axAppCard,
.axSection {
    animation: axRise 0.45s ease both;
}

@media (max-width: 1100px) {
    .axNav { display: none; }

    .axHeader-logo {
        position: static;
        transform: none;
    }

    .axHeader-logo img { width: 120px; }

    .axBurger { display: block; }

    .axOverlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 200;
        background: rgba(61, 36, 48, 0.45);
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s, visibility .25s;
    }

    .axDrawer {
        display: block;
        position: fixed;
        z-index: 210;
        top: 0;
        right: 0;
        height: 100vh;
        height: 100dvh;
        width: min(75vw, 320px);
        padding: 64px 0 20px;
        background: #fffbfc;
        overflow-y: auto;
        visibility: hidden;
        transform: translateX(100%);
        transition: transform .3s ease, visibility .3s;
    }

    .axDrawer a {
        display: block;
        padding: 10px 20px;
        font-size: 0.95rem;
        color: #7a2450;
        text-decoration: none;
    }

    .axDrawer .axBtn {
        display: inline-flex;
        margin: 12px 20px 0;
    }

    .axDrawer-close {
        position: absolute;
        top: 12px;
        right: 16px;
        width: 44px;
        height: 44px;
        border: 0;
        background: transparent;
        font-size: 1.8rem;
        line-height: 1;
        cursor: pointer;
        color: #3d2430;
    }

    body.nav-open { overflow: hidden; }
    body.nav-open .axOverlay { opacity: 1; visibility: visible; }
    body.nav-open .axDrawer { visibility: visible; transform: translateX(0); }
}

@media (max-width: 800px) {
    .axHero-layout,
    .axContact,
    .axFooter-wide { grid-template-columns: 1fr; }

    .axAppCard { max-width: 26rem; }

    .axCookie:not([hidden]) {
        left: 12px;
        right: 12px;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .axGrid { grid-template-columns: repeat(2, 1fr); }
    .axAppCard-icon { width: 64px; height: 64px; }
}

@media (max-width: 480px) {
    .axGrid { grid-template-columns: 1fr; }
    .axAppCard-facts { grid-template-columns: 1fr; }
}
