:root {
    color-scheme: light;
    --accent: #e65f3f;
    --accent-deep: #c84529;
    --accent-soft: #fff0e9;
    --accent-pale: #fff8f4;
    --ink: #251f1d;
    --muted: #746b67;
    --line: #eadfd9;
    --white: #ffffff;
    --content-width: 1120px;
    --phone-shadow: 0 28px 70px rgb(75 40 27 / 18%);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--white);
    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: #28221f;
    color: rgb(255 255 255 / 68%);
}

.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: var(--white);
}

.product-header {
    position: absolute;
    top: 40px;
    right: 0;
    left: 0;
    z-index: 10;
    display: grid;
    width: min(calc(100% - 48px), var(--content-width));
    min-height: 76px;
    margin: 0 auto;
    align-items: center;
    gap: 28px;
    color: var(--white);
    grid-template-columns: 1fr auto;
}

.product-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-self: start;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
}

.logo-image-placeholder {
    display: inline-block;
    width: 34px;
    height: 34px;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 72%);
    border-radius: 9px;
}

.logo-image-placeholder img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-nav {
    display: flex;
    gap: 20px;
    font-size: 13px;
}

.product-nav a {
    color: rgb(255 255 255 / 78%);
    text-decoration: none;
}

.product-nav a:hover {
    color: var(--white);
}

.section-inner {
    width: min(calc(100% - 48px), var(--content-width));
    margin: 0 auto;
}

.hero-section {
    position: relative;
    min-height: 700px;
    overflow: hidden;
    background:
        radial-gradient(circle at 76% 40%, rgb(255 255 255 / 14%), transparent 22rem),
        linear-gradient(135deg, #f4724e, var(--accent-deep));
    color: var(--white);
}

.hero-section::after,
.closing-section::after {
    position: absolute;
    right: -9%;
    bottom: -120px;
    width: 63%;
    height: 230px;
    border-radius: 50% 0 0;
    background: var(--white);
    content: "";
    transform: rotate(-4deg);
}

.hero-wave,
.closing-wave {
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background:
        repeating-radial-gradient(
            ellipse at 15% 48%,
            transparent 0,
            transparent 12px,
            rgb(255 255 255 / 55%) 13px,
            transparent 14px
        );
    mask-image: linear-gradient(90deg, #000, transparent 54%, #000);
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    min-height: 700px;
    align-items: center;
    gap: 48px;
    padding: 118px 0 96px;
    grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
}

.section-label {
    display: block;
    margin-bottom: 18px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(48px, 5.4vw, 68px);
    letter-spacing: -0.055em;
    line-height: 1.08;
}

.hero-copy p {
    max-width: 520px;
    margin: 24px 0 0;
    color: rgb(255 255 255 / 82%);
    font-size: 18px;
}

.hero-access {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 30px;
}

.hero-qr-placeholder {
    display: flex;
    width: 118px;
    height: 118px;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2px;
    border: 2px solid rgb(255 255 255 / 58%);
    border-radius: 16px;
    background: rgb(255 255 255 / 12%);
}

.hero-qr-placeholder img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 14px;
}

.hero-copy .hero-access-note {
    margin: 0;
    color: rgb(255 255 255 / 78%);
    font-size: 13px;
    line-height: 1.8;
}

.hero-devices {
    position: relative;
    min-height: 500px;
}

.screenshot-placeholder {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4px;
    border: 2px solid rgb(230 95 63 / 32%);
    background:
        linear-gradient(145deg, rgb(255 255 255 / 98%), rgb(255 244 239 / 96%));
    color: var(--ink);
}

.screenshot-placeholder img {
    display: block;
    width: 100%;
    min-height: 0;
    flex: 1 1 auto;
    object-fit: cover;
    border-radius: 16px;
}

.device-back,
.device-front,
.phone-placeholder {
    position: absolute;
    width: 260px;
    min-height: 510px;
    border: 9px solid var(--white);
    border-radius: 34px;
    box-shadow: var(--phone-shadow);
}

.device-back {
    top: 0;
    left: 8%;
    transform: rotate(-4deg);
}

.device-front {
    right: 7%;
    bottom: -10px;
    z-index: 2;
    transform: rotate(2deg);
}

.story-section {
    padding: 126px 0;
    overflow: hidden;
}

.story-section-soft {
    border-radius: 90px 0 90px 0;
    background: #f8f7f6;
}

.story-section-accent {
    position: relative;
    border-radius: 0 0 100px 0;
    background:
        radial-gradient(circle at 24% 54%, rgb(255 255 255 / 12%), transparent 21rem),
        var(--accent);
}

.story-layout {
    display: grid;
    min-height: 570px;
    align-items: center;
    gap: 100px;
    grid-template-columns: minmax(380px, 1fr) minmax(0, 0.86fr);
}

.story-layout-reverse {
    grid-template-columns: minmax(0, 0.86fr) minmax(380px, 1fr);
}

.story-layout-reverse .visual-stage {
    grid-column: 2;
    grid-row: 1;
}

.story-layout-reverse .story-copy {
    grid-column: 1;
    grid-row: 1;
}

.visual-stage {
    position: relative;
    min-height: 570px;
}

.visual-stage-circle::before,
.visual-stage-icons::before,
.visual-stage-share::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 390px;
    height: 390px;
    border-radius: 50%;
    background: var(--accent-soft);
    content: "";
    transform: translate(-50%, -50%);
}

.visual-stage .phone-placeholder {
    top: 50%;
    left: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
}

.visual-stage-icons::before {
    background: #ffe4d8;
}

.visual-stage-wide .phone-placeholder {
    left: 42%;
}

.floating-card {
    position: absolute;
    top: 210px;
    right: 0;
    z-index: 3;
    width: 265px;
    min-height: 145px;
    border: 7px solid var(--white);
    border-radius: 18px;
    box-shadow: 0 20px 45px rgb(91 35 23 / 24%);
}

.story-copy {
    position: relative;
    z-index: 2;
    width: 100%;
    min-width: 0;
}

.section-number {
    display: block;
    margin-bottom: 14px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.story-copy h2,
.closing-copy h2 {
    max-width: 510px;
    margin: 0;
    font-size: clamp(36px, 4.4vw, 56px);
    letter-spacing: -0.045em;
    line-height: 1.14;
}

.story-copy > p {
    max-width: 530px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 17px;
}

.keyword-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.keyword-list li {
    padding: 6px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #655a55;
    font-size: 12px;
}

.story-copy-light,
.story-copy-light > p {
    color: var(--white);
}

.story-copy-light .section-number {
    color: rgb(255 255 255 / 72%);
}

.story-copy-light .keyword-list li {
    border-color: rgb(255 255 255 / 34%);
    color: rgb(255 255 255 / 84%);
}

.orbit-dot {
    position: absolute;
    z-index: 3;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 12px 30px rgb(75 40 27 / 13%);
}

.orbit-dot::before,
.orbit-dot::after {
    position: absolute;
    background: var(--accent);
    content: "";
}

.orbit-dot::before {
    top: 27px;
    left: 18px;
    width: 22px;
    height: 2px;
}

.orbit-dot::after {
    top: 17px;
    left: 28px;
    width: 2px;
    height: 22px;
}

.orbit-dot-one {
    top: 130px;
    left: 60px;
}

.orbit-dot-two {
    right: 46px;
    bottom: 130px;
}

.orbit-dot-three {
    bottom: 48px;
    left: 86px;
}

.closing-section {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background:
        radial-gradient(circle at 22% 48%, rgb(255 255 255 / 12%), transparent 19rem),
        var(--accent-deep);
    color: var(--white);
}

.closing-section::after {
    top: -126px;
    right: auto;
    bottom: auto;
    left: -10%;
    border-radius: 0 0 50%;
    transform: rotate(4deg);
}

.closing-inner {
    position: relative;
    z-index: 2;
    display: grid;
    min-height: 620px;
    align-items: center;
    gap: 90px;
    padding: 110px 0 78px;
    grid-template-columns: 0.8fr 1.2fr;
}

.qr-placeholder {
    display: flex;
    width: 260px;
    height: 260px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-self: center;
    padding: 6px;
    border: 2px solid rgb(255 255 255 / 52%);
    border-radius: 28px;
    background: rgb(255 255 255 / 10%);
}

.qr-placeholder img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 24px;
}

.closing-copy p {
    color: rgb(255 255 255 / 78%);
    font-size: 17px;
}

.section-label-light {
    color: rgb(255 255 255 / 70%);
}

.product-footer {
    display: flex;
    width: min(calc(100% - 48px), var(--content-width));
    min-height: 180px;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.product-footer strong {
    font-size: 18px;
}

.product-footer p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.product-footer a {
    color: var(--accent-deep);
    font-size: 14px;
    font-weight: 800;
}

@media (max-width: 900px) {
    .product-header {
        display: flex;
        justify-content: center;
    }

    .product-nav {
        display: none;
    }

    .product-logo {
        margin-right: auto;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        padding-top: 20px;
        text-align: center;
    }

    .hero-copy p {
        margin-right: auto;
        margin-left: auto;
    }

    .hero-access {
        justify-content: center;
    }

    .hero-devices {
        min-height: 520px;
    }

    .device-back {
        left: calc(50% - 210px);
    }

    .device-front {
        right: calc(50% - 210px);
    }

    .story-layout,
    .story-layout-reverse,
    .closing-inner {
        gap: 36px;
        grid-template-columns: 1fr;
    }

    .story-layout .story-copy,
    .story-layout-reverse .visual-stage,
    .story-layout-reverse .story-copy {
        grid-column: 1;
    }

    .story-layout .story-copy,
    .story-layout-reverse .story-copy {
        grid-row: 1;
    }

    .story-layout .visual-stage,
    .story-layout-reverse .visual-stage {
        grid-row: 2;
    }

    .story-copy {
        max-width: 650px;
        text-align: center;
        justify-self: center;
    }

    .story-copy > p,
    .story-copy h2 {
        margin-right: auto;
        margin-left: auto;
    }

    .keyword-list {
        justify-content: center;
    }

    .closing-copy {
        text-align: center;
        grid-row: 1;
    }

    .qr-placeholder {
        grid-row: 2;
    }
}

@media (max-width: 620px) {
    .product-header,
    .section-inner,
    .product-footer,
    .global-nav-inner {
        width: min(calc(100% - 28px), var(--content-width));
    }

    .global-nav-inner {
        justify-content: flex-start;
    }

    .product-header {
        min-height: 64px;
    }

    .hero-section,
    .hero-inner {
        min-height: 900px;
    }

    .hero-inner {
        padding-top: 94px;
    }

    .hero-copy h1 {
        font-size: 42px;
    }

    .hero-copy p {
        font-size: 16px;
    }

    .hero-access {
        flex-direction: column;
    }

    .hero-copy .hero-access-note {
        font-size: 12px;
    }

    .hero-devices {
        min-height: 490px;
    }

    .device-back,
    .device-front {
        width: 210px;
        min-height: 420px;
        padding: 20px;
        border-width: 7px;
        border-radius: 28px;
    }

    .device-back {
        top: 20px;
        left: calc(50% - 145px);
    }

    .device-front {
        right: calc(50% - 145px);
        bottom: 0;
    }

    .story-section {
        padding: 78px 0;
    }

    .story-layout,
    .story-layout-reverse {
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        margin-left: 0;
        padding-right: 20px;
        padding-left: 20px;
    }

    .story-section-soft {
        border-radius: 54px 0 54px 0;
    }

    .story-layout,
    .story-layout-reverse {
        min-height: 0;
    }

    .story-copy h2,
    .closing-copy h2 {
        font-size: 35px;
    }

    .story-copy > p {
        width: 100%;
        max-width: none;
        font-size: 15px;
        overflow-wrap: anywhere;
    }

    .keyword-list {
        width: 100%;
    }

    .keyword-list li {
        max-width: 100%;
        white-space: normal;
    }

    .visual-stage {
        min-height: 500px;
    }

    .visual-stage-circle::before,
    .visual-stage-icons::before,
    .visual-stage-share::before {
        width: 310px;
        height: 310px;
    }

    .phone-placeholder {
        width: 220px;
        min-height: 440px;
        border-width: 7px;
        border-radius: 30px;
    }

    .visual-stage-wide {
        min-height: 620px;
    }

    .visual-stage-wide .phone-placeholder {
        top: 44%;
        left: 50%;
    }

    .floating-card {
        top: auto;
        right: 4%;
        bottom: 25px;
        width: 230px;
    }

    .orbit-dot-one {
        left: 2px;
    }

    .orbit-dot-two {
        right: 2px;
    }

    .closing-section,
    .closing-inner {
        min-height: 680px;
    }

    .closing-inner {
        padding-top: 96px;
    }

    .product-footer {
        display: block;
        padding: 46px 0;
    }

    .product-footer a {
        display: inline-block;
        margin-top: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
