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

:root {
    --bg: #f8f5ec;
    --surface: #fffdf7;
    --surface-soft: #eef6f1;
    --line: #e3d8c7;
    --line-soft: #d4c4ab;
    --text: #24312f;
    --muted: #66736f;
    --dim: #8d918b;
    --accent: #e3a72f;
    --accent-soft: rgba(227, 167, 47, 0.16);
    --max: 1120px;
    --radius: 8px;
    --font-body: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    --font-serif: Georgia, "Hiragino Mincho ProN", "Yu Mincho", serif;
}

html:lang(en) {
    --font-body: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-serif: Georgia, "Times New Roman", serif;
}

html:lang(zh-Hans) {
    --font-body: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    --font-serif: Georgia, "Songti SC", "Noto Serif SC", "SimSun", serif;
}

html:lang(zh-Hant) {
    --font-body: -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei", sans-serif;
    --font-serif: Georgia, "Songti TC", "Noto Serif TC", "PMingLiU", serif;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.8;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(248, 245, 236, 0.9);
    border-bottom: 1px solid rgba(36, 49, 47, 0.08);
    backdrop-filter: blur(18px);
}

.nav {
    max-width: var(--max);
    margin: 0 auto;
    height: 64px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--text);
    white-space: nowrap;
}

.brand .brand-accent {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 13px;
    color: var(--muted);
}

.nav-links a {
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-cta {
    padding: 8px 13px;
    border: 1px solid var(--accent);
    border-radius: 999px;
    color: var(--accent);
}

.section {
    padding: 88px 24px;
}

.container {
    max-width: var(--max);
    margin: 0 auto;
}

.hero {
    min-height: calc(88vh - 64px);
    display: grid;
    align-items: center;
    padding: 56px 24px 72px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(248, 245, 236, 0.96) 0%, rgba(248, 245, 236, 0.9) 42%, rgba(248, 245, 236, 0.34) 74%, rgba(248, 245, 236, 0.18) 100%),
        url("../images/bizliv-apps/hero.png") center right / cover no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 180px;
    background: linear-gradient(180deg, rgba(248, 245, 236, 0), var(--bg));
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    max-width: var(--max);
    margin: 0 auto;
    width: 100%;
}

.hero-copy {
    max-width: 720px;
}

.hero-mobile-image {
    display: none;
}

.hero-mobile-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

h1, h2, h3 {
    margin: 0;
    line-height: 1.42;
    letter-spacing: 0;
}

h1 {
    max-width: 720px;
    font-family: var(--font-serif);
    font-size: clamp(36px, 5.4vw, 64px);
    font-weight: 700;
}

h2 {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
}

h3 {
    font-size: 18px;
    font-weight: 800;
}

.lead {
    max-width: 680px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 18px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

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

.button.primary {
    background: var(--accent);
    color: #201506;
}

.button.secondary {
    border: 1px solid var(--line-soft);
    color: var(--text);
    background: rgba(255, 255, 255, 0.65);
}

.section-head {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-head p {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 16px;
}

.grid {
    display: grid;
    gap: 14px;
}

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

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

.card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 24px;
}

.card.accent {
    border-color: rgba(212, 170, 56, 0.45);
    background: linear-gradient(135deg, var(--accent-soft), var(--surface));
}

.card p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.tag {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.band {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--surface-soft);
}

.app-icon {
    display: block;
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
    border-radius: 11px;
    box-shadow: 0 6px 16px rgba(36, 49, 47, 0.14);
}

.app-link {
    display: inline-block;
    margin-top: 14px;
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.app-link::after {
    content: " →";
}

.app-link:hover {
    text-decoration: underline;
}

.faq {
    display: grid;
    gap: 10px;
}

details {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    padding: 18px 20px;
}

summary {
    cursor: pointer;
    font-weight: 800;
    color: var(--text);
}

details p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.final {
    padding-bottom: 112px;
    text-align: center;
}

.final .lead {
    margin-left: auto;
    margin-right: auto;
}

.site-footer {
    border-top: 1px solid var(--line);
    color: var(--dim);
    padding: 28px 24px;
    text-align: center;
    font-size: 13px;
}

.site-footer nav {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 8px;
}

.site-footer a {
    color: var(--muted);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--text);
}

@media (max-width: 900px) {
    .nav-links a:not(.nav-cta) {
        display: none;
    }

    .hero {
        min-height: auto;
    }

    .grid.cols-2,
    .grid.cols-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .section {
        padding: 64px 18px;
    }

    h2 {
        line-height: 1.5;
    }

    .hero {
        padding: 0 18px 58px;
        background: var(--bg);
    }

    .hero::before {
        display: none;
    }

    .hero-mobile-image {
        display: block;
        height: 300px;
        margin: 16px -18px 42px;
        overflow: hidden;
        position: relative;
    }

    .hero-mobile-image::after {
        content: "";
        position: absolute;
        inset: 45% 0 0;
        background: linear-gradient(180deg, rgba(248, 245, 236, 0), var(--bg));
    }

    .nav {
        padding: 0 18px;
    }

    .lead {
        font-size: 16px;
    }

    .actions {
        display: grid;
    }

    .button {
        width: 100%;
    }
}
