:root {
    --brand-orange: #f5a623;
    --brand-orange-soft: #ffe9c9;
    --brand-pink-soft: #ffd9d9;
    --text-primary: #2c2c2c;
    --text-secondary: #6b6b6b;
    --text-tertiary: #9e998c;
    --bg-base: #fffbf5;
    --bg-card: #ffffff;
    --border-soft: #f0e6d6;
    --radius-card: 16px;
    --radius-button: 999px;
    --shadow-soft: 0 12px 30px rgba(245, 166, 35, 0.12);
    --domain-motor-bg: #fcebeb;
    --domain-motor-text: #a32d2d;
    --domain-language-bg: #faeeda;
    --domain-language-text: #854f0b;
    --domain-cognitive-bg: #e6f1fb;
    --domain-cognitive-text: #185fa5;
    --domain-social-bg: #eaf3de;
    --domain-social-text: #3b6d11;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text-primary);
    background:
        radial-gradient(circle at top right, rgba(245, 166, 35, 0.14), transparent 30%),
        radial-gradient(circle at 10% 20%, rgba(255, 217, 217, 0.32), transparent 25%),
        var(--bg-base);
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "PingFang SC",
        "HarmonyOS Sans SC",
        "Source Han Sans SC",
        "Microsoft YaHei",
        sans-serif;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin: 0;
}

.container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.page-shell {
    min-height: 100vh;
}

.section {
    padding: 84px 0;
}

.section--soft {
    background: rgba(255, 255, 255, 0.65);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--brand-orange);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    background: currentColor;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
}

.section-heading--left {
    margin-inline: 0;
    text-align: left;
}

.section-heading h2,
.hero h1,
.legal-hero h1,
.not-found h1 {
    margin: 0;
    line-height: 1.14;
    letter-spacing: -0.03em;
}

.section-heading h2 {
    font-size: clamp(2rem, 3vw, 3rem);
}

.section-heading p {
    margin-top: 16px;
    color: var(--text-secondary);
    font-size: 1.04rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(240, 230, 214, 0.8);
    backdrop-filter: blur(18px);
    background: rgba(255, 251, 245, 0.86);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 80px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    border-radius: 22%;
    object-fit: cover;
}

.brand__text {
    display: grid;
    gap: 2px;
}

.brand__text strong {
    font-size: 1rem;
}

.brand__text small {
    color: var(--text-tertiary);
    font-size: 0.74rem;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--border-soft);
    border-radius: 50%;
    background: var(--bg-card);
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--text-primary);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-nav__link {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.site-nav__link:hover,
.site-nav__link.is-active {
    color: var(--text-primary);
}

.hero {
    padding: 72px 0 88px;
}

.hero__grid {
    display: grid;
    gap: 40px;
    align-items: center;
    grid-template-columns: 1.1fr 0.9fr;
}

.hero__copy {
    max-width: 640px;
}

.hero h1 {
    font-size: clamp(2.6rem, 5vw, 4.6rem);
}

.hero__summary {
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: 1.08rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    min-width: 160px;
    min-height: 58px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: var(--radius-button);
    font-weight: 700;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.button small {
    margin-top: 4px;
    font-size: 0.78rem;
    font-weight: 500;
    opacity: 0.8;
}

.button:hover {
    transform: translateY(-2px);
}

.button--primary {
    color: #ffffff;
    background: linear-gradient(135deg, #f5a623, #ef7f38);
    box-shadow: var(--shadow-soft);
}

.button--secondary {
    background: var(--bg-card);
    border-color: var(--border-soft);
}

.button--ghost {
    background: rgba(255, 255, 255, 0.4);
    border-color: rgba(240, 230, 214, 0.9);
}

.hero__visual {
    position: relative;
    display: grid;
    gap: 18px;
    justify-items: end;
}

.hero-card {
    border: 1px solid rgba(240, 230, 214, 0.9);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-soft);
}

.hero-card strong {
    display: block;
    margin-top: 14px;
    font-size: 1.15rem;
}

.hero-card p,
.hero-card span {
    color: var(--text-secondary);
}

.hero-card--large {
    max-width: 360px;
    padding: 28px;
}

.hero-card--small {
    width: 260px;
    padding: 18px 22px;
}

.hero-card--small.accent {
    background: linear-gradient(135deg, rgba(255, 217, 217, 0.8), rgba(255, 233, 201, 0.8));
}

.overview-grid,
.domain-grid,
.download-grid {
    display: grid;
    gap: 20px;
}

.overview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.overview-card,
.download-card,
.contact-card {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-card);
    background: var(--bg-card);
    box-shadow: var(--shadow-soft);
}

.overview-card {
    padding: 26px;
}

.overview-card__index {
    display: inline-flex;
    min-width: 42px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--brand-orange-soft);
    color: var(--brand-orange);
    font-weight: 700;
}

.overview-card h3,
.domain-card h3,
.download-card h3,
.contact-card h3,
.pro-card h3 {
    margin: 18px 0 10px;
    font-size: 1.2rem;
}

.overview-card p,
.download-card p,
.contact-panel p,
.contact-card p {
    color: var(--text-secondary);
}

.domain-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.domain-card {
    padding: 26px;
    border-radius: 24px;
}

.domain-card--motor {
    background: var(--domain-motor-bg);
    color: var(--domain-motor-text);
}

.domain-card--language {
    background: var(--domain-language-bg);
    color: var(--domain-language-text);
}

.domain-card--cognitive {
    background: var(--domain-cognitive-bg);
    color: var(--domain-cognitive-text);
}

.domain-card--social {
    background: var(--domain-social-bg);
    color: var(--domain-social-text);
}

.shots-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    gap: 100px;
    margin: 0;
    padding: 0 0 8px;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x proximity;
}

.shots-row__item {
    flex: 0 0 240px;
    width: 240px;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    border-radius: 28px;
    background: var(--bg-card);
    box-shadow: var(--shadow-soft);
    scroll-snap-align: start;
}

.shots-row__item img {
    display: block;
    width: 100%;
    aspect-ratio: 390 / 844;
    object-fit: cover;
    background: linear-gradient(180deg, #fff9f1, #fff3e5);
}

.shots-row__item figcaption {
    display: grid;
    gap: 6px;
    padding: 18px;
}

.shots-row__item figcaption span {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.feature-layout {
    display: grid;
    gap: 26px;
    grid-template-columns: 1.2fr 0.8fr;
}

.feature-list,
.pro-card ul {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.feature-list li,
.pro-card li {
    position: relative;
    padding-left: 28px;
}

.feature-list li::before,
.pro-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--brand-orange);
    font-weight: 700;
}

.pro-card {
    padding: 28px;
    border-radius: 28px;
    color: #ffffff;
    background: linear-gradient(155deg, #2c2c2c, #4f3d26 55%, #f5a623 130%);
    box-shadow: 0 24px 50px rgba(44, 44, 44, 0.16);
}

.pro-card__eyebrow {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 0.82rem;
    font-weight: 700;
}

.download-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.download-card {
    padding: 24px;
}

.download-card__label {
    color: var(--brand-orange);
    font-size: 0.88rem;
    font-weight: 700;
}

.download-card__action {
    display: inline-flex;
    margin-top: 20px;
    padding: 12px 18px;
    border-radius: var(--radius-button);
    background: var(--text-primary);
    color: #ffffff;
    font-weight: 700;
}

.contact-panel {
    display: grid;
    gap: 24px;
    align-items: start;
    grid-template-columns: 1.2fr 0.8fr;
}

.contact-card {
    padding: 28px;
}

.contact-card a {
    display: inline-block;
    margin-top: 8px;
    color: var(--brand-orange);
    font-weight: 700;
}

.site-footer {
    padding: 36px 0;
    color: rgba(255, 255, 255, 0.84);
    background: #2c2c2c;
}

.site-footer__inner {
    display: grid;
    gap: 18px;
    align-items: center;
    grid-template-columns: 1fr auto 1fr;
}

.site-footer__title {
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 700;
}

.site-footer__brand,
.site-footer__meta {
    display: grid;
    gap: 6px;
}

.site-footer__links {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px 18px;
    justify-content: center;
    font-size: 0.9rem;
    white-space: nowrap;
}

.site-footer__meta {
    justify-items: end;
}

.site-footer a:hover {
    color: #ffffff;
}

.legal-shell {
    padding-bottom: 40px;
}

.legal-hero {
    padding: 72px 0 28px;
}

.legal-hero__inner,
.legal-content__inner {
    width: min(760px, calc(100% - 32px));
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--text-tertiary);
    font-size: 0.92rem;
}

.legal-hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
    color: var(--text-secondary);
}

.legal-content {
    padding-bottom: 68px;
}

.legal-article {
    padding: 36px;
    border: 1px solid var(--border-soft);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
    line-height: 1.82;
}

.legal-article h2,
.legal-article h3 {
    margin: 32px 0 12px;
    line-height: 1.3;
}

.legal-article h2 {
    font-size: 1.4rem;
}

.legal-article h3 {
    font-size: 1.08rem;
}

.legal-article p+p,
.legal-article ul+p,
.legal-article p+ul {
    margin-top: 14px;
}

.legal-article ul {
    margin: 14px 0 0;
    padding-left: 22px;
}

.legal-article li+li {
    margin-top: 8px;
}

.legal-article a {
    color: var(--brand-orange);
    text-decoration: underline;
}

.not-found {
    display: grid;
    min-height: calc(100vh - 180px);
    align-items: center;
    padding: 60px 0;
}

.not-found__inner {
    max-width: 580px;
    text-align: center;
}

.not-found__inner p {
    margin-top: 18px;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.not-found__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 30px;
}

@media (max-width: 959px) {
    .menu-toggle {
        display: inline-block;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 16px;
        left: 16px;
        display: none;
        padding: 16px;
        border: 1px solid var(--border-soft);
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: var(--shadow-soft);
    }

    .site-nav.is-open {
        display: grid;
        gap: 14px;
    }

    .hero__grid,
    .feature-layout,
    .contact-panel,
    .site-footer__inner {
        grid-template-columns: 1fr;
    }

    .hero__visual {
        justify-items: stretch;
    }

    .hero-card--large,
    .hero-card--small {
        max-width: none;
        width: 100%;
    }

    .overview-grid,
    .download-grid {
        grid-template-columns: 1fr;
    }

    .domain-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__links,
    .site-footer__meta {
        justify-content: flex-start;
        justify-items: start;
    }

    .site-footer__links {
        flex-wrap: wrap;
        white-space: normal;
    }
}

@media (max-width: 639px) {

    .section,
    .hero,
    .legal-hero {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .container,
    .legal-hero__inner,
    .legal-content__inner {
        width: min(100% - 24px, 1200px);
    }

    .button {
        width: 100%;
    }

    .domain-grid {
        grid-template-columns: 1fr;
    }

    .legal-article {
        padding: 24px 20px;
    }
}