:root {
    --bg: #faf4ee;
    --bg-soft: #f6ede5;
    --surface: rgba(255, 249, 244, 0.78);
    --text: #243241;
    --muted: #617182;
    --accent: #cc6c68;
    --accent-soft: rgba(204, 108, 104, 0.14);
    --line: rgba(36, 50, 65, 0.16);
    --shadow: 0 24px 56px rgba(63, 53, 48, 0.14);
    --max-width: 1120px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 4% 8%, rgba(204, 108, 104, 0.16), transparent 28%),
        radial-gradient(circle at 88% 12%, rgba(142, 170, 156, 0.22), transparent 32%),
        linear-gradient(180deg, #fffaf5 0%, var(--bg) 45%, var(--bg-soft) 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.32;
    background-image: linear-gradient(rgba(255, 255, 255, 0.34) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
    background-size: 100% 100%, 48px 48px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3), transparent 84%);
}

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

.page-shell {
    width: min(calc(100% - 48px), var(--max-width));
    margin: 0 auto;
    min-height: 100svh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    padding: 24px 0 36px;
}

.brand-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px 8px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: rgba(255, 250, 246, 0.72);
    backdrop-filter: blur(14px);
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    box-shadow: 0 10px 20px rgba(100, 80, 72, 0.2);
}

.brand-name,
#hero-title {
    font-family: "Iowan Old Style", "Songti SC", "STSong", serif;
}

.brand-name {
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: clamp(28px, 4vw, 54px);
    align-items: center;
}

.hero-copy,
.hero-visual {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 700ms ease, transform 700ms ease;
}

body.is-ready .hero-copy,
body.is-ready .hero-visual {
    opacity: 1;
    transform: translateY(0);
}

body.is-ready .hero-visual {
    transition-delay: 140ms;
}

.kicker {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
}

#hero-title {
    margin: 0;
    font-size: clamp(3rem, 7vw, 5.3rem);
    line-height: 0.92;
    letter-spacing: -0.03em;
}

.subtitle {
    margin: 14px 0 18px;
    font-size: clamp(1.12rem, 2.3vw, 1.44rem);
    line-height: 1.45;
    color: #334354;
}

.description {
    margin: 0;
    max-width: 38ch;
    color: var(--muted);
    font-size: 1.03rem;
    line-height: 1.9;
}

.feature-list {
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
    max-width: 40ch;
    border-top: 1px solid var(--line);
}

.feature-list li {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    color: #354556;
    line-height: 1.6;
}

.hero-visual {
    margin: 0;
    padding: 18px;
    border-radius: 30px;
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow);
    align-self: stretch;
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 14px;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    max-height: 560px;
    object-fit: cover;
    border-radius: 22px;
}

.hero-visual figcaption {
    padding: 6px 6px 2px;
    color: var(--muted);
    font-size: 0.94rem;
    letter-spacing: 0.04em;
}

.site-footer {
    margin-top: 20px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.site-footer p {
    margin: 0;
    text-align: center;
    color: var(--muted);
    font-size: 0.86rem;
    letter-spacing: 0.02em;
}

@media (max-width: 920px) {
    .page-shell {
        width: min(calc(100% - 32px), var(--max-width));
        padding-top: 18px;
        padding-bottom: 26px;
    }

    .hero {
        grid-template-columns: 1fr;
        align-items: start;
        padding-top: 20px;
        gap: 24px;
    }

    .description,
    .feature-list {
        max-width: none;
    }

    .hero-visual img {
        max-height: 430px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }

    .hero-copy,
    .hero-visual,
    body.is-ready .hero-copy,
    body.is-ready .hero-visual {
        opacity: 1;
        transform: none;
    }
}
