:root {
    color-scheme: light;
    --ink: #242321;
    --muted: #716d67;
    --page: #fbfaf6;
    --line: #e6e0d6;
    --hero: #151d1e;
    --idiom: #2f6f78;
    --idiom-gold: #c79b4b;
    --idiom-paper: #f6f1e3;
    --stars: #e65f3f;
    --stars-deep: #c84529;
    --location: #5a86ad;
    --location-deep: #48729a;
    --content-width: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--page);
    color: var(--ink);
    font-family:
        Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
    line-height: 1.65;
}

a {
    color: inherit;
}

.global-nav {
    position: relative;
    z-index: 20;
    min-height: 40px;
    background: #151d1e;
    color: rgb(255 255 255 / 66%);
}

.global-nav-inner {
    display: flex;
    width: min(calc(100% - 48px), var(--content-width));
    min-height: 40px;
    margin: 0 auto;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
    overflow-x: auto;
    scrollbar-width: none;
}

.global-nav-inner::-webkit-scrollbar {
    display: none;
}

.global-nav a {
    flex: 0 0 auto;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.global-nav a:hover,
.global-nav-current {
    color: #ffffff;
}

.site-header {
    position: absolute;
    top: 40px;
    right: 0;
    left: 0;
    z-index: 10;
    display: flex;
    width: min(calc(100% - 48px), var(--content-width));
    min-height: 76px;
    margin: 0 auto;
    align-items: center;
    justify-content: flex-end;
    color: #ffffff;
}

.section-nav {
    display: flex;
    gap: 24px;
    font-size: 13px;
}

.section-nav a {
    color: rgb(255 255 255 / 75%);
    text-decoration: none;
}

.section-inner {
    width: min(calc(100% - 48px), var(--content-width));
    margin: 0 auto;
}

.hero-section {
    position: relative;
    min-height: 720px;
    overflow: hidden;
    background: var(--hero);
    color: #ffffff;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    min-height: 720px;
    align-items: center;
    gap: 90px;
    padding: 118px 0 68px;
    grid-template-columns: minmax(520px, 1.15fr) minmax(300px, 0.85fr);
}

.section-label {
    display: block;
    margin-bottom: 18px;
    color: #d8b76f;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.product-action {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 10px 18px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.css-icon-arrow {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
}

.css-icon-arrow::before {
    position: absolute;
    top: 8px;
    left: 1px;
    width: 13px;
    height: 2px;
    background: currentcolor;
    content: "";
}

.css-icon-arrow::after {
    position: absolute;
    top: 4px;
    right: 2px;
    width: 8px;
    height: 8px;
    border-top: 2px solid currentcolor;
    border-right: 2px solid currentcolor;
    content: "";
    transform: rotate(45deg);
}

.hero-gallery {
    position: relative;
    min-height: 530px;
    perspective: 1200px;
    transform-style: preserve-3d;
}

.product-screenshot {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0px;
    text-align: center;
}

.gallery-screen {
    position: absolute;
    display: flex;
    width: 290px;
    min-height: 510px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 8px solid #2a3031;
    border-radius: 30px;
    background: #222829;
    color: #ffffff;
    box-shadow: 0 35px 80px rgb(0 0 0 / 42%);
    text-align: center;
}

.gallery-screen strong {
    margin-bottom: 10px;
    font-size: 16px;
}

.gallery-screen span {
    color: rgb(255 255 255 / 48%);
    font-size: 12px;
}

.gallery-screen img {
    display: block;
    width: 100%;
    min-height: 0;
    flex: 1 1 auto;
    border-radius: 20px;
    object-fit: cover;
}

.gallery-screen-back {
    top: 20px;
    left: -120px;
    opacity: 0.58;
    transform: rotateY(28deg) rotateZ(-4deg) translateZ(-90px);
}

.gallery-screen-middle {
    top: 8px;
    left: 100px;
    z-index: 2;
    opacity: 0.78;
    transform: rotateY(20deg) rotateZ(-1deg) translateZ(-30px);
}

.gallery-screen-front {
    top: 28px;
    left: 315px;
    z-index: 3;
    transform: rotateY(14deg) rotateZ(4deg) translateZ(35px);
}

.hero-words {
    position: relative;
    left: 36px;
    display: flex;
    width: 100%;
    max-width: 360px;
    margin: 0;
    padding: 42px 36px;
    flex-direction: column;
    gap: 42px;
    font-weight: inherit;
}

.hero-word {
    display: flex;
    flex-direction: column;
}

.hero-word strong {
    font-size: clamp(44px, 5vw, 64px);
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
}

.hero-word small {
    margin-top: 8px;
    color: rgb(255 255 255 / 42%);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.42em;
}

.product-section {
    padding: 130px 0;
    overflow: hidden;
}

.product-section-stars {
    border-radius: 90px 0 90px 0;
    background: #fff4ee;
}

.product-section-location {
    background: #f6f9fc;
}

.product-layout {
    display: grid;
    min-height: 600px;
    align-items: center;
    gap: 100px;
    grid-template-columns: minmax(390px, 1fr) minmax(0, 0.88fr);
}

.product-layout-reverse {
    grid-template-columns: minmax(0, 0.88fr) minmax(390px, 1fr);
}

.product-layout-reverse .product-visual {
    grid-column: 2;
    grid-row: 1;
}

.product-layout-reverse .product-copy {
    grid-column: 1;
    grid-row: 1;
}

.product-visual {
    position: relative;
    min-height: 580px;
}

.product-halo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 410px;
    height: 410px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.product-halo-idiom {
    background: #dce9e7;
}

.product-halo-stars {
    background: #ffdacc;
}

.product-halo-location {
    background: #d6e3f0;
}

.product-screenshot {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: 270px;
    min-height: 520px;
    border: 8px solid #ffffff;
    border-radius: 34px;
    background: #fffdf8;
    box-shadow: 0 28px 70px rgb(55 45 37 / 16%);
    transform: translate(-50%, -50%);
}

.product-screenshot small {
    margin-top: 11px;
    color: var(--muted);
    font-size: 11px;
}

.product-screenshot img {
    display: block;
    width: 100%;
    min-height: 0;
    flex: 1 1 auto;
    border-radius: 24px;
    object-fit: cover;
}

.product-screenshot-idiom {
    border-color: var(--idiom-paper);
}

.product-screenshot-idiom strong {
    color: var(--idiom);
}

.product-screenshot-stars {
    border-color: #fff5f0;
}

.product-screenshot-stars strong {
    color: var(--stars-deep);
}

.product-screenshot-location {
    border-color: #edf3f9;
}

.product-screenshot-location strong {
    color: var(--location-deep);
}

.product-copy {
    min-width: 0;
}

.product-index {
    display: block;
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.product-category {
    display: inline-flex;
    padding: 5px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 12px;
}

.product-copy h2 {
    margin: 18px 0 0;
    font-size: clamp(46px, 5.5vw, 72px);
    letter-spacing: -0.05em;
    line-height: 1.05;
}

.product-lead {
    max-width: 560px;
    margin: 22px 0 0;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.45;
}

.product-copy > p:not(.product-lead) {
    max-width: 550px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 16px;
}

.use-case-list {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.use-case-list li {
    position: relative;
    margin-top: 10px;
    padding-left: 19px;
    color: #514d48;
    font-size: 14px;
}

.use-case-list li::before {
    position: absolute;
    top: 10px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentcolor;
    content: "";
}

.product-action-idiom {
    background: var(--idiom);
    color: #ffffff;
}

.product-action-stars {
    background: var(--stars);
    color: #ffffff;
}

.product-action-location {
    background: var(--location);
    color: #ffffff;
}

.site-footer {
    display: flex;
    width: 100%;
    min-height: 120px;
    align-items: center;
    justify-content: center;
    background: var(--hero);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-links a {
    color: rgb(255 255 255 / 72%);
    font-size: 14px;
    text-decoration: none;
}

.footer-links a:hover {
    color: #ffffff;
}

@media (max-width: 900px) {
    .hero-inner {
        gap: 25px;
        grid-template-columns: 1fr;
    }

    .hero-gallery {
        min-height: 520px;
    }

    .hero-words {
        left: 0;
        max-width: none;
        flex-direction: row;
        justify-content: center;
        gap: 42px;
        padding: 32px 24px 50px;
        text-align: center;
    }

    .product-layout,
    .product-layout-reverse {
        gap: 38px;
        grid-template-columns: 1fr;
    }

    .product-layout .product-copy,
    .product-layout-reverse .product-copy {
        grid-column: 1;
        grid-row: 1;
    }

    .product-layout .product-visual,
    .product-layout-reverse .product-visual {
        grid-column: 1;
        grid-row: 2;
    }

    .product-copy {
        max-width: 680px;
        text-align: center;
        justify-self: center;
    }

    .product-copy > p,
    .product-lead {
        margin-right: auto;
        margin-left: auto;
    }

    .use-case-list {
        display: inline-block;
        text-align: left;
    }
}

@media (max-width: 620px) {
    .global-nav-inner,
    .site-header,
    .section-inner {
        width: min(calc(100% - 28px), var(--content-width));
    }

    .global-nav-inner {
        gap: 22px;
        justify-content: flex-start;
    }

    .global-nav a {
        font-size: 14px;
    }

    .section-nav {
        display: none;
    }

    .hero-section,
    .hero-inner {
        min-height: 900px;
    }

    .hero-inner {
        width: 100%;
        padding-top: 95px;
    }

    .hero-gallery {
        min-height: 590px;
    }

    .gallery-screen {
        width: 220px;
        min-height: 430px;
        border-width: 7px;
        border-radius: 26px;
    }

    .gallery-screen-back {
        top: 65px;
        left: -72px;
    }

    .gallery-screen-middle {
        top: 35px;
        left: calc(50% - 110px);
    }

    .gallery-screen-front {
        top: 80px;
        right: -78px;
        left: auto;
    }

    .hero-words {
        gap: 20px;
        padding: 24px 20px 58px;
    }

    .hero-word strong {
        font-size: 36px;
    }

    .hero-word small {
        font-size: 9px;
        letter-spacing: 0.2em;
    }

    .product-section {
        padding: 82px 0;
    }

    .product-section-stars {
        border-radius: 54px 0 54px 0;
    }

    .product-layout,
    .product-layout-reverse {
        width: 100%;
        max-width: 100%;
        min-height: 0;
        margin: 0;
        padding-right: 20px;
        padding-left: 20px;
    }

    .product-copy {
        width: 100%;
        max-width: 100%;
    }

    .product-copy h2 {
        font-size: 48px;
    }

    .product-lead {
        font-size: 20px;
    }

    .product-copy > p:not(.product-lead),
    .use-case-list {
        width: 100%;
        max-width: 100%;
    }

    .product-visual {
        min-height: 520px;
    }

    .product-halo {
        width: 315px;
        height: 315px;
    }

    .product-screenshot {
        width: 225px;
        min-height: 450px;
        border-width: 7px;
        border-radius: 30px;
    }

    .site-footer {
        display: flex;
        min-height: 108px;
        padding: 28px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
