:root {
  --page: #fff;
  --surface: #f6f7f8;
  --ink: #20242a;
  --muted: #5e646c;
  --rule: #e2e5e8;
  --yellow: #ffe25c;
  --yellow-hover: #ffda38;
  --focus: #275ea7;
  --gutter: clamp(1rem, 4vw, 3rem);
  --width: 1088px;
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', system-ui, sans-serif;
  color: var(--ink);
  background: var(--page);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .25em; }
button { color: inherit; font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 1.25rem; }
::selection { color: var(--ink); background: var(--yellow); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.container { width: min(var(--width), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only, .svg-library { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.icon { width: 1.13em; height: 1.13em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: absolute; top: 0; left: 1rem; z-index: 3; padding: .6rem 1rem; transform: translateY(-150%); background: var(--yellow); }
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.4rem); min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .62rem; margin-right: auto; font-size: 1.12rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.brand-mark { display: grid; width: 33px; height: 33px; place-items: center; background: var(--yellow); border-radius: 9px; }
.brand-mark .icon { width: 21px; height: 21px; }
.desktop-nav, .footer-links { display: flex; align-items: center; gap: clamp(.8rem, 2.25vw, 1.8rem); }
.desktop-nav a, .mobile-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: .9rem; text-decoration: none; white-space: nowrap; }
.desktop-nav a:hover, .mobile-nav a:hover, .footer-links :is(a, button):hover { color: var(--ink); text-decoration: underline; }
.preview-label { padding-left: .95rem; border-left: 1px solid var(--rule); color: var(--muted); font-size: .77rem; white-space: nowrap; }
.menu-button, .mobile-nav { display: none; }

.hero { padding-block: clamp(2.2rem, 5.5vw, 4.4rem) clamp(2.15rem, 5vw, 4rem); }
.hero h1 { font-size: clamp(2rem, 4.2vw, 3.65rem); line-height: 1.15; letter-spacing: -.035em; font-weight: 750; text-wrap: balance; }
.hero-copy > p { margin-top: .8rem; color: var(--muted); font-size: 1rem; }
.hero-copy > .hero-topics { color: var(--ink); font-weight: 600; }
.hero-topics + p { margin-top: .38rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.76fr) minmax(0, 1fr); align-items: start; gap: clamp(1.6rem, 4vw, 3.3rem); margin-top: clamp(1.25rem, 3vw, 2.15rem); }

.coupon-ledger { border: 1px solid var(--rule); border-radius: 14px; }
.coupon-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .6rem 1.25rem; padding: clamp(1rem, 2vw, 1.65rem) clamp(1rem, 2.7vw, 2rem); }
.coupon-row + .coupon-row { border-top: 1px solid var(--rule); }
.coupon-main { display: grid; gap: .25rem; }
.coupon-status { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem .65rem; font-size: .83rem; font-weight: 700; }
.verification-status { padding: .12rem .48rem; border-radius: 4px; color: var(--muted); background: var(--surface); font-weight: 400; font-size: .74rem; }
.coupon-code { font: 700 clamp(2.2rem, 4.3vw, 3.35rem)/1.04 system-ui, sans-serif; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.coupon-day { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .42rem; color: var(--muted); font-size: .79rem; font-variant-numeric: tabular-nums; }
.coupon-day time { white-space: nowrap; }
.copy-button { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-width: 110px; min-height: 46px; padding: .65rem .85rem; border: 0; border-radius: 8px; background: var(--yellow); color: var(--ink); font-size: .875rem; font-weight: 700; white-space: nowrap; transition: background-color 150ms; }
.copy-button:hover { background: var(--yellow-hover); }
.copy-button.is-copied { background: var(--surface); }
.hero-meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; column-gap: .6rem; margin-top: .45rem; color: var(--muted); font-size: .82rem; }
.hero-meta a { display: inline-flex; align-items: center; gap: .32rem; min-height: 44px; white-space: nowrap; }

.claim-guide { min-width: 0; padding-left: clamp(1rem, 3vw, 2rem); border-left: 1px solid var(--rule); }
.claim-guide h2 { font-size: 1.25rem; line-height: 1.35; letter-spacing: -.015em; }
.steps { display: grid; gap: .75rem; list-style: none; counter-reset: step; margin: .95rem 0 1.1rem; padding: 0; }
.steps li { display: grid; grid-template-columns: 1.55rem 1fr; align-items: start; gap: .65rem; font-size: .92rem; }
.steps li::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--rule); border-radius: 50%; color: var(--muted); font-size: .76rem; font-weight: 700; }
.search-demo { padding: .45rem .8rem .8rem; border-radius: 10px; background: var(--surface); }
.demo-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; column-gap: .65rem; font-size: .83rem; }
.demo-tabs { display: flex; gap: .4rem; }
.demo-tab { min-height: 44px; padding: .3rem .25rem; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: .8rem; }
.demo-tab.is-active { border-bottom-color: var(--ink); color: var(--ink); font-weight: 700; }
.demo-tab span { display: none; }
.search-example { display: flex; align-items: center; gap: .58rem; padding: .58rem .7rem; border: 1px solid var(--rule); border-radius: 7px; background: var(--page); font-size: .96rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.search-example .icon { color: var(--muted); }

.section { padding-block: clamp(2rem, 4.6vw, 3.8rem); border-top: 1px solid var(--rule); }
.section-title { font-size: clamp(1.4rem, 2.7vw, 2rem); line-height: 1.25; letter-spacing: -.015em; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .35rem 1rem; }
.section-heading p { color: var(--muted); font-size: .85rem; }
.facts-table { width: 100%; border-collapse: collapse; table-layout: fixed; margin-top: 1.35rem; text-align: left; font-size: .92rem; }
.facts-table :is(td, th) { vertical-align: top; overflow-wrap: anywhere; padding: .72rem clamp(.45rem, 1.5vw, 1rem); border-bottom: 1px solid var(--rule); }
.facts-table tr > :first-child { width: 24%; }
.facts-table thead { background: var(--surface); }
.facts-table thead th:not(:first-child) { font-variant-numeric: tabular-nums; }
.facts-table th span { font-size: .77rem; font-weight: 400; }
.facts-table tbody td { color: var(--muted); }
.facts-note { padding-block: .65rem; color: var(--muted); font-size: .82rem; }
.bonus-note { margin-block: .45rem; padding: .8rem 1rem; border-radius: 8px; background: var(--surface); }
.bonus-note h3 { font-size: .95rem; }
.bonus-note p { margin-top: .18rem; font-size: .88rem; }
.bonus-note .bonus-terms { color: var(--muted); font-size: .82rem; }
.source-details { border-bottom: 1px solid var(--rule); }
.source-details summary { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 52px; padding: .6rem 0; cursor: pointer; font-size: .9rem; list-style: none; }
.source-details summary::-webkit-details-marker { display: none; }
.source-summary-status { display: inline-flex; align-items: center; gap: .35rem; color: var(--muted); font-size: .8rem; white-space: nowrap; }
.source-details[open] summary .icon { transform: rotate(45deg); }
.source-list { padding-bottom: .8rem; }
.source-item { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1rem; padding: .6rem 0; font-size: .87rem; }
.source-item p, .source-status { color: var(--muted); }
.source-item figcaption { flex: 1 1 11rem; }
.source-item img { width: 7rem; max-height: 8rem; object-fit: contain; object-position: top; }

.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.6rem, 5.4vw, 4rem); margin-top: 1.15rem; }
.faq-item { padding: 1rem 0; border-top: 1px solid var(--rule); }
.faq-item h3 { font-size: 1rem; }
.faq-item p { margin-top: .4rem; color: var(--muted); line-height: 1.7; font-size: .92rem; }
.section.contact-section { padding-top: 0; border: 0; }
.contact-banner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.25rem; padding: clamp(1.15rem, 3.5vw, 2.2rem); border-radius: 14px; background: var(--surface); }
.contact-banner h2 { font-size: clamp(1.35rem, 2.6vw, 1.95rem); line-height: 1.35; }
.contact-banner p { margin-top: .55rem; color: var(--muted); font-size: .88rem; }
.contact-poster { display: inline-flex; align-items: center; min-height: 44px; font-size: .88rem; }
.contact-codes { display: flex; flex-wrap: wrap; gap: .8rem; }
.contact-codes figcaption { margin-top: .35rem; text-align: center; font-size: .85rem; }
.contact-qr { display: grid; width: clamp(6.9rem, 14vw, 9.2rem); aspect-ratio: 1; place-items: center; border-radius: 8px; background: var(--page); }
.contact-qr img { width: 100%; height: 100%; object-fit: contain; padding: .25rem; }
.contact-qr-placeholder { display: grid; place-items: center; align-content: center; gap: .35rem; width: calc(100% - .8rem); height: calc(100% - .8rem); border: 1px dashed #a4aab0; border-radius: 5px; color: var(--muted); font-size: .77rem; }
.contact-qr-placeholder .icon { width: 1.2rem; height: 1.2rem; }

.site-footer { border-top: 1px solid var(--rule); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .65rem 1.5rem; padding-block: 1.25rem; }
.footer-brand { font-weight: 750; text-decoration: none; }
.footer-inner p { margin-top: .3rem; color: var(--muted); font-size: .8rem; }
.footer-links :is(button, a) { display: inline-flex; align-items: center; gap: .25rem; min-height: 44px; padding: .1rem 0; border: 0; background: transparent; text-decoration: none; font-size: .83rem; }
.info-dialog { width: min(32rem, calc(100% - 2rem)); padding: 1.4rem; border: 1px solid var(--rule); border-radius: 14px; color: var(--ink); background: var(--page); }
.info-dialog::backdrop { background: #20242a70; }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .45rem; }
.dialog-heading h2 { font-size: 1.22rem; }
.dialog-heading button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 7px; background: transparent; }
.dialog-heading button:hover { background: var(--surface); }
.info-dialog p + p { margin-top: .55rem; }
.toast { position: fixed; z-index: 4; right: var(--gutter); bottom: 1rem; max-width: calc(100% - 2 * var(--gutter)); padding: .7rem .95rem; border-radius: 8px; color: var(--page); background: var(--ink); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 150ms, visibility 150ms; }
.toast.is-visible { opacity: 1; visibility: visible; }
.mobile-copy-bar { display: none; }

@media (max-width: 760px) {
  .header-inner { gap: .65rem; min-height: 61px; }
  .desktop-nav { display: none; }
  .preview-label { padding-left: 0; border-left: 0; }
  .menu-button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 7px; background: transparent; }
  .menu-button:hover { background: var(--surface); }
  .menu-button .icon { width: 22px; height: 22px; }
  .mobile-nav { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0 .65rem; border-top: 1px solid var(--rule); }
  .mobile-nav a { font-size: .84rem; }
  .hero h1 { font-size: clamp(1.75rem, 8vw, 2.5rem); }
  .hero-copy > p { margin-top: .55rem; font-size: .91rem; }
  .hero-topics + p { margin-top: .3rem; }
  .hero-grid, .faq-list { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { gap: 1.35rem; }
  .coupon-row { column-gap: .5rem; }
  .coupon-code { font-size: 2.35rem; }
  .coupon-day { font-size: .74rem; }
  .copy-button { min-width: 96px; padding-inline: .55rem; font-size: .82rem; }
  .hero-meta { font-size: .77rem; }
  .hero-meta p { padding-top: .45rem; }
  .claim-guide { padding: 1.2rem 0 0; border: 0; border-top: 1px solid var(--rule); }
  .facts-table { font-size: .83rem; }
  .facts-table tr > :first-child { width: 25%; }
  .contact-banner { grid-template-columns: 1fr; gap: .75rem; }
  .contact-codes { gap: 1rem; }
  .site-footer { padding-bottom: calc(4rem + env(safe-area-inset-bottom)); }
  .mobile-copy-bar { position: fixed; z-index: 3; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; padding: .48rem var(--gutter) calc(.48rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--rule); background: var(--page); }
  .mobile-copy-bar button { display: flex; align-items: center; justify-content: center; gap: .32rem; min-height: 44px; padding: .3rem .4rem; border: 0; border-radius: 7px; background: var(--yellow); white-space: nowrap; font-size: .75rem; }
  .mobile-copy-bar button:hover { background: var(--yellow-hover); }
  .mobile-copy-bar strong { font-size: .9rem; font-variant-numeric: tabular-nums; }
  .mobile-copy-bar .icon { display: none; }
  .toast { bottom: calc(4.15rem + env(safe-area-inset-bottom)); }
}

@media (max-width: 360px) {
  .coupon-row { padding-inline: .85rem; }
  .coupon-code { font-size: 2.15rem; }
}

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