:root {
    --background: #fff;
    --foreground: #243833;
    --primary: #1b5c45;
    --primary-foreground: #fff;
    --secondary: #eef6f1;
    --muted: #f4f7f6;
    --muted-foreground: #5c6f69;
    --accent: #e7f3ec;
    --border: #dce7e2;
    --destructive: #b42318;
    --hero-foreground: #fff;
    --hero-accent: #b7e3b4;
    --hero-overlay: linear-gradient(90deg, oklch(23% .055 164 / .98) 0%, oklch(23% .055 164 / .94) 30%, oklch(23% .055 164 / .64) 58%, oklch(23% .055 164 / .07) 100%);
    --ticket-shadow: 0 10px 35px rgba(20, 40, 32, .16);
    --hero-soft: rgba(255, 255, 255, .72);
    --soft-shadow: 0 3px 15px rgba(30, 50, 42, .06);
    --font: "Manrope", "Noto Sans TC", "PingFang HK", "Microsoft JhengHei", sans-serif;
    --background: oklch(100% 0 0);
    --foreground: oklch(25% .026 166);
    --primary: oklch(36% .075 166);
    --secondary: oklch(96% .015 155);
    --muted: oklch(97% .007 160);
    --muted-foreground: oklch(51% .019 164);
    --accent: oklch(94% .022 157);
    --border: oklch(90% .012 159);
    --hero-accent: oklch(86% .08 145);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--background);
    color: var(--foreground);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
h2 { font-size: 32px; font-weight: 700; line-height: 1.45; }
h3 { font-size: 17px; font-weight: 700; line-height: 1.5; }
.skip {
    position: absolute;
    left: 12px;
    top: -40px;
    background: #fff;
    padding: 8px 12px;
    z-index: 30;
}
.skip:focus { top: 12px; }

.site-header {
    background: var(--background);
    z-index: 20;
    border-bottom: 1px solid var(--border);
    height: 92px;
    position: relative;
}
.header-inner {
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    max-width: 1320px;
    height: 100%;
    margin: auto;
    padding: 0 48px;
    display: flex;
}
.brand { color: var(--foreground); flex-shrink: 0; align-items: center; gap: 11px; display: flex; }
.brand-mark {
    background: var(--primary);
    width: 42px;
    height: 42px;
    color: var(--primary-foreground);
    border-radius: 10px;
    place-items: center;
    display: grid;
    transform: rotate(-5deg);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand strong { font-size: 18px; font-weight: 700; display: block; }
.brand small { color: var(--muted-foreground); margin-top: 1px; font-size: 12px; font-weight: 600; display: block; }
.main-nav { gap: 28px; font-size: 14px; font-weight: 500; display: flex; }
.main-nav a { color: var(--muted-foreground); transition: color .2s; }
.main-nav a:hover, .main-nav .nav-active { color: var(--primary); }
.header-actions { align-items: center; gap: 15px; display: flex; }
.lang-form { margin: 0; }
.language-button {
    color: var(--muted-foreground);
    gap: 7px;
    padding: 0 6px;
    font-size: 12px;
    background: transparent;
    border: 0;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}
.selected-language { color: var(--primary); font-weight: 800; }
.language-divider { opacity: .4; }
.menu-button { display: none; background: transparent; border: 0; width: 36px; height: 36px; cursor: pointer; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 6px;
    border: 1px solid transparent;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--primary); color: var(--primary-foreground); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-accent { background: var(--hero-accent); color: var(--primary); min-height: 48px; padding: 0 21px; }
.btn-accent:hover { filter: brightness(.98); }
.btn-outline { border-color: rgba(255, 255, 255, .4); color: #fff; min-height: 48px; padding: 0 21px; }
.btn-outline:hover { background: rgba(255, 255, 255, .1); }
.btn-line { border-color: var(--border); background: #fff; }
.btn-line:hover { background: var(--secondary); }
.btn-block { width: 100%; }
.btn[disabled], .is-disabled { opacity: .55; cursor: not-allowed; }
.header-join { min-height: 42px; }

.hero { color: var(--hero-foreground); min-height: 615px; position: relative; overflow: hidden; }
.hero-photo, .hero-shade { object-fit: cover; width: 100%; height: 100%; position: absolute; inset: 0; }
.hero-photo { object-position: 70% 52%; }
.hero-shade { background: var(--hero-overlay); }
.hero-inner {
    grid-template-columns: 1.3fr 1fr;
    align-items: center;
    gap: 70px;
    max-width: 1320px;
    min-height: 615px;
    margin: auto;
    padding: 60px 48px 53px;
    display: grid;
    position: relative;
}
.eyebrow { color: var(--primary); align-items: center; gap: 9px; margin-bottom: 18px; font-size: 11px; font-weight: 700; letter-spacing: .04em; display: flex; }
.hero-eyebrow { color: var(--hero-accent); }
.hero-eyebrow span, .offer-caption span { background: var(--hero-accent); border-radius: 50%; width: 6px; height: 6px; display: inline-block; }
.hero h1 { font-size: 54px; font-weight: 750; line-height: 1.2; }
.hero h1 > span { color: var(--hero-accent); margin-top: 17px; font-size: 40px; line-height: 1.3; display: block; }
.hero-copy > p { color: var(--hero-soft); margin-top: 22px; font-size: 14px; line-height: 1.9; }
.hero-buttons { flex-wrap: wrap; gap: 12px; margin-top: 28px; display: flex; }
.hero-trust { color: var(--hero-soft); flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 26px; font-size: 11px; display: flex; }
.hero-trust i { background: var(--hero-soft); border-radius: 50%; width: 3px; height: 3px; display: inline-block; }
.offer-stack { justify-self: end; width: 100%; max-width: 342px; margin-top: 70px; transform: rotate(-3deg); }
.offer-caption { color: var(--hero-foreground); align-items: center; gap: 8px; margin-bottom: 12px; font-size: 11px; font-weight: 700; display: flex; }
.offer-ticket {
    background: #fff;
    color: var(--foreground);
    box-shadow: var(--ticket-shadow);
    border-radius: 8px;
    margin-bottom: 13px;
    padding: 21px 23px 13px;
    position: relative;
}
.offer-ticket:before, .offer-ticket:after {
    content: "";
    background: var(--primary);
    border-radius: 50%;
    width: 16px;
    height: 16px;
    position: absolute;
    bottom: 43px;
}
.offer-ticket:before { left: -8px; }
.offer-ticket:after { right: -8px; }
.ticket-top { color: var(--muted-foreground); justify-content: space-between; align-items: center; gap: 8px; font-size: 10px; font-weight: 600; display: flex; }
.discount { background: var(--accent); color: var(--primary); white-space: nowrap; border-radius: 3px; padding: 4px 7px; }
.ticket-values { justify-content: space-between; align-items: center; margin: 14px 0 16px; display: flex; }
.ticket-values > span, .ticket-values strong { font-size: 37px; font-weight: 700; line-height: 1.3; }
.ticket-values small { color: var(--muted-foreground); margin-bottom: 4px; font-size: 10px; font-weight: 500; display: block; }
.ticket-values svg { color: var(--muted-foreground); width: 24px; }
.face-value { color: var(--primary); }
.ticket-bottom { border-top: 1px dashed var(--border); color: var(--muted-foreground); justify-content: space-between; padding-top: 11px; font-size: 9px; display: flex; }
.offer-note { color: var(--hero-soft); text-align: center; margin-top: 15px; font-size: 10px; line-height: 1.7; }
.reassurance { background: var(--secondary); justify-content: center; align-items: center; gap: 43px; min-height: 78px; padding: 20px 28px; display: flex; }
.reassurance span { align-items: center; gap: 9px; font-size: 12px; font-weight: 500; display: flex; }
.reassurance svg { width: 18px; height: 18px; color: var(--primary); }
.section-inner { max-width: 1224px; margin-left: auto; margin-right: auto; padding-left: 48px; padding-right: 48px; }
.steps-section { padding-top: 70px; padding-bottom: 72px; }
.section-title { justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 35px; display: flex; }
.section-title .eyebrow { margin-bottom: 12px; }
.text-link { color: var(--primary); white-space: nowrap; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 12px; font-weight: 600; display: inline-flex; }
.text-link svg { width: 14px; height: 14px; }
.steps-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; display: grid; }
.step { border: 1px solid var(--border); border-radius: 6px; padding: 23px 22px 26px; background: #fff; }
.step-top { justify-content: space-between; align-items: center; margin-bottom: 25px; display: flex; }
.step-icon { width: 47px; height: 47px; color: var(--primary); background: var(--secondary); border-radius: 6px; place-items: center; display: grid; }
.step-number { color: var(--border); font-size: 26px; font-weight: 600; }
.step p, .muted { color: var(--muted-foreground); }
.step p { margin-top: 10px; font-size: 12px; line-height: 1.9; }
.consumer-band { background: var(--secondary); padding: 65px 0; }
.consumer-layout, .restaurant-intro { grid-template-columns: 1fr 1fr; align-items: center; display: grid; }
.consumer-layout { gap: 100px; }
.restaurant-intro { gap: 70px; padding-top: 80px; padding-bottom: 80px; }
.consumer-layout p, .restaurant-intro p, .lede { color: var(--muted-foreground); max-width: 440px; margin: 18px 0 24px; font-size: 14px; line-height: 1.9; }
.benefit-list { flex-direction: column; gap: 24px; display: flex; }
.benefit-list > div { align-items: flex-start; gap: 13px; font-size: 14px; line-height: 1.8; display: flex; }
.benefit-list svg { color: var(--primary); flex-shrink: 0; width: 21px; margin-top: 2px; }
.restaurant-art { aspect-ratio: 1.2; border-radius: 6px; position: relative; overflow: hidden; }
.restaurant-art img { object-fit: cover; width: 100%; height: 100%; }
.restaurant-art > span { background: #fff; border-radius: 4px; align-items: center; gap: 12px; padding: 16px; font-size: 12px; font-weight: 600; display: flex; position: absolute; bottom: 20px; left: 20px; right: 20px; }
.restaurant-art > span svg { color: var(--primary); width: 22px; flex-shrink: 0; }
.restaurant-points { flex-direction: column; gap: 12px; margin-bottom: 28px; font-size: 13px; display: flex; }
.restaurant-points span { align-items: center; gap: 8px; display: flex; }
.restaurant-points svg { width: 16px; color: var(--primary); }
.faq-section { border-top: 1px solid var(--border); padding-top: 60px; padding-bottom: 80px; }
.faq-list { border-top: 1px solid var(--border); }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary { cursor: pointer; justify-content: space-between; align-items: center; gap: 16px; padding: 23px 0; font-size: 15px; font-weight: 600; list-style: none; display: flex; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary svg { color: var(--muted-foreground); flex-shrink: 0; transition: transform .2s; width: 18px; }
.faq-list details[open] summary svg { transform: rotate(180deg); }
.faq-list details p { color: var(--muted-foreground); padding: 0 35px 24px 0; font-size: 14px; line-height: 1.9; }
.site-footer { background: var(--muted); padding: 43px 48px 22px; }
.footer-top, .footer-bottom { justify-content: space-between; gap: 30px; max-width: 1128px; margin: auto; display: flex; }
.footer-top p { color: var(--muted-foreground); margin-top: 16px; font-size: 12px; }
.footer-links { flex-wrap: wrap; align-items: center; gap: 25px; font-size: 12px; display: flex; }
.footer-links a { color: var(--muted-foreground); }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); color: var(--muted-foreground); margin-top: 32px; padding-top: 20px; font-size: 10px; }
.page-heading { padding-top: 68px; padding-bottom: 48px; }
.page-heading h1 { max-width: 850px; font-size: 42px; line-height: 1.4; }
.page-heading p { color: var(--muted-foreground); max-width: 700px; margin-top: 20px; font-size: 15px; line-height: 1.9; }
.consumer-detail { grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; padding-bottom: 70px; display: grid; }
.consumer-detail > img { aspect-ratio: 1; object-fit: cover; border-radius: 6px; width: 100%; height: auto; }
.restaurant-benefits { grid-template-columns: repeat(3, 1fr); gap: 28px; padding-bottom: 65px; display: grid; }
.restaurant-benefits article { border: 1px solid var(--border); border-radius: 6px; padding: 26px; }
.restaurant-benefits article > svg { color: var(--primary); margin-bottom: 18px; }
.restaurant-benefits p { color: var(--muted-foreground); margin-top: 12px; font-size: 13px; line-height: 1.9; }
.application-band { background: var(--secondary); padding: 65px 0; }
.application-layout { grid-template-columns: .9fr 1.1fr; gap: 65px; display: grid; }
.form-grid { grid-template-columns: 1fr 1fr; gap: 20px; display: grid; }
.form-grid label, .stack label { flex-direction: column; gap: 8px; font-size: 12px; font-weight: 600; display: flex; }
.form-grid input, .form-grid textarea, .form-grid select, .stack input, .stack select, .stack textarea {
    border: 1px solid var(--border);
    background: #fff;
    width: 100%;
    border-radius: 5px;
    outline: none;
    padding: 11px 12px;
    font-size: 14px;
}
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus, .stack input:focus, .stack select:focus, .stack textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--accent);
}
.full-field { grid-column: 1 / -1; }
.utility-page { min-height: 65vh; }
.download-content, .info-content { text-align: center; padding-bottom: 75px; }
.info-content { text-align: left; }
.info-content p, .download-content p { color: var(--muted-foreground); margin-top: 15px; font-size: 15px; line-height: 1.9; }
.download-symbol { width: 130px; height: 150px; color: var(--primary); background: var(--secondary); border-radius: 8px; place-items: center; margin: 0 auto 25px; display: grid; }
.store-buttons { justify-content: center; gap: 14px; margin: 25px 0 12px; display: flex; flex-wrap: wrap; }
.rules { max-width: 760px; display: grid; gap: 18px; }
.rules article { border-bottom: 1px solid var(--border); padding-bottom: 16px; }
.rules p { color: var(--muted-foreground); margin-top: 6px; font-size: 14px; line-height: 1.8; }

.flash-wrap { max-width: 1224px; margin: 16px auto 0; padding: 0 48px; }
.flash { border-radius: 6px; padding: 12px 14px; font-size: 14px; }
.flash.ok { background: var(--secondary); color: var(--primary); }
.flash.error { background: #fde8e6; color: #8d2b24; }
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.place-card, .panel, .auth-card, .bag-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    padding: 22px;
}
.place-card { display: flex; flex-direction: column; gap: 8px; min-height: 100%; }
.place-card h3 a:hover { color: var(--primary); }
.tier-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.tier-pills span, .pill { background: var(--secondary); color: var(--primary); border-radius: 4px; padding: 4px 8px; font-size: 12px; font-weight: 700; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; margin-bottom: 22px; }
.filters label { font-size: 12px; font-weight: 700; display: grid; gap: 6px; }
.filters select { min-width: 180px; border: 1px solid var(--border); border-radius: 5px; padding: 10px 12px; background: #fff; }
.auth-card, .narrow { max-width: 460px; margin: 0 auto 70px; }
.stack { display: grid; gap: 14px; }
.socials { display: grid; gap: 8px; margin: 14px 0; }
.help { color: var(--muted-foreground); font-size: 13px; line-height: 1.7; }
.highlight { outline: 2px solid var(--primary); }
.pay-option { display: flex; gap: 10px; align-items: center; border: 1px solid var(--border); border-radius: 6px; padding: 12px; cursor: pointer; }
.pay-option:has(input:checked) { border-color: var(--primary); background: var(--secondary); }
.note { background: var(--secondary); border-radius: 6px; padding: 12px 14px; font-size: 13px; line-height: 1.7; }
.bag-list { display: grid; gap: 14px; }
.bag-card { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.empty { text-align: center; padding: 48px 16px; }
.empty svg { width: 42px; height: 42px; color: var(--primary); margin: 0 auto 12px; }
.qr-panel { max-width: 420px; margin: 0 auto 40px; text-align: center; }
.qr-panel #qr-live { display: inline-block; padding: 12px; background: #fff; border-radius: 8px; }
.short-code { font-size: 32px; letter-spacing: .18em; font-weight: 800; margin: 12px 0; }
.app-nav { display: flex; gap: 8px; flex-wrap: wrap; padding: 14px 48px; border-bottom: 1px solid var(--border); background: #fff; }
.app-nav a, .app-nav button.linkish {
    color: var(--muted-foreground);
    font-size: 14px;
    font-weight: 650;
    padding: 8px 10px;
    border-radius: 6px;
    background: transparent;
    border: 0;
    cursor: pointer;
}
.app-nav a.nav-active, .app-nav a:hover { background: var(--secondary); color: var(--primary); }
.badge { background: var(--primary); color: #fff; border-radius: 99px; padding: 0 6px; font-size: 11px; margin-left: 4px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.stat { background: var(--secondary); border-radius: 8px; padding: 16px; }
.stat b { display: block; font-size: 22px; margin-top: 4px; }
.stat span { color: var(--muted-foreground); font-size: 12px; font-weight: 700; }
.table-wrap { overflow-x: auto; }
.data { width: 100%; border-collapse: collapse; font-size: 14px; }
.data th, .data td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
.data th { font-size: 12px; color: var(--muted-foreground); }
.video-box { width: 100%; max-width: 420px; background: #111; border-radius: 8px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.linkish { color: var(--primary); background: none; border: 0; padding: 0; font-weight: 700; cursor: pointer; }
.pad { padding-bottom: 70px; }
.range-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.range-tabs a { border: 1px solid var(--border); border-radius: 99px; padding: 6px 12px; font-size: 13px; }
.range-tabs a.nav-active { background: var(--primary); color: #fff; border-color: var(--primary); }

@media (width >= 1450px) {
    .hero-inner { gap: 120px; }
    .hero h1 { font-size: 62px; }
    .hero h1 > span { font-size: 43px; }
    .hero, .hero-inner { min-height: 640px; }
}
@media (width <= 1050px) {
    .header-inner, .section-inner, .flash-wrap, .app-nav { padding-left: 28px; padding-right: 28px; }
    .main-nav { gap: 18px; }
    .hero-inner { gap: 32px; padding-left: 35px; padding-right: 35px; }
    .hero h1 { font-size: 46px; }
    .hero h1 > span { font-size: 34px; }
    .steps-grid, .stat-grid { grid-template-columns: 1fr 1fr; }
    .consumer-layout, .restaurant-intro, .consumer-detail, .application-layout { gap: 32px; }
}
@media (width <= 760px) {
    .site-header { height: 74px; }
    .header-inner { gap: 10px; padding: 0 20px; }
    .brand strong { font-size: 15px; }
    .brand small { font-size: 10px; }
    .brand-mark { width: 36px; height: 36px; }
    .header-join, .desktop-only { display: none; }
    .menu-button { display: inline-grid; place-items: center; }
    .main-nav {
        background: #fff;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--soft-shadow);
        padding: 20px 25px;
        display: none;
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
    }
    .main-nav.is-open { flex-direction: column; gap: 22px; display: flex; }
    .hero, .hero-inner { min-height: 0; }
    .hero-inner { padding: 38px 24px 28px; display: block; }
    .hero h1 { font-size: 39px; }
    .hero h1 > span { font-size: 30px; }
    .offer-stack { max-width: none; margin-top: 27px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; transform: none; }
    .offer-caption, .offer-note { grid-column: 1 / -1; }
    .offer-ticket { margin-bottom: 0; padding: 12px; }
    .ticket-values strong, .ticket-values > span { font-size: 23px; }
    .reassurance { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .section-inner, .flash-wrap, .app-nav { padding-left: 20px; padding-right: 20px; }
    .steps-section { padding-top: 43px; padding-bottom: 45px; }
    h2, .page-heading h1 { font-size: 28px; }
    .steps-grid, .card-grid, .restaurant-benefits, .stat-grid, .form-grid, .consumer-layout, .restaurant-intro, .consumer-detail, .application-layout, .bag-card { grid-template-columns: 1fr; }
    .site-footer { padding: 32px 20px 20px; }
    .footer-top, .footer-bottom { flex-direction: column; }
    .page-heading { padding-top: 36px; }
}
@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto; transition: none !important; }
}
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
