@font-face {
  font-family: Barlow;
  src: url("assets/barlow-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  --navy: #0b1e3a;
  --orange: #ff812a;
  --paper: #f4f5f7;
  --muted: #526074;
  --line: #d5dae1;
  color: var(--navy);
  background: var(--paper);
  font: 100%/1.5 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
:is(a,button):focus-visible { outline: 3px solid #006ab2; outline-offset: 4px; }
svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(calc(100% - 4rem), 56rem); margin-inline: auto; }
.mast { background: var(--navy); color: white; border-bottom: 1px solid #536274; }
.mast-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 1rem; }
.wordmark { width: 7.4rem; height: auto; display: block; }
.location { display: inline-flex; align-items: center; gap: .45rem; font-size: .875rem; font-weight: 600; }
.location svg { color: var(--orange); width: 1rem; height: 1rem; }
.hero { position: relative; isolation: isolate; overflow: hidden; color: white; background: var(--navy); }
.skyline { position: absolute; z-index: -1; inset: 0; background: url("assets/shenzhen-night.webp") right 44% / cover no-repeat; }
.skyline::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0b1e3a 0%, rgba(10,29,56,.95) 22%, rgba(10,29,56,.82) 42%, rgba(10,29,56,.29) 64%, rgba(10,29,56,.08)), linear-gradient(0deg, rgba(9,23,45,.36), transparent 50%); }
.hero-inner { padding-block: 2.95rem 2.8rem; }
h1, h2, .text strong { font-family: Barlow, "Segoe UI", Arial, sans-serif; font-weight: 700; }
h1 { margin: 0; font-size: clamp(3.1rem, 5.15vw, 4.65rem); line-height: .99; letter-spacing: -.046em; }
h1 em { color: var(--orange); font-style: normal; }
.hero p { margin: 1.1rem 0 0; font-size: 1.0625rem; color: #f2f4f8; }
.actions { padding-top: 1.8rem; }
.section-title { display: flex; align-items: center; gap: 1rem; margin: 0 0 1rem; font-size: 1.3rem; letter-spacing: -.02em; }
.section-title::before { content: ""; width: 1.6rem; height: .22rem; background: #e96910; }
.section-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.card { width: 100%; position: relative; display: flex; align-items: center; gap: 1rem; background: white; border: 1px solid var(--line); text-decoration: none; text-align: left; border-radius: .9rem; margin-top: .7rem; min-height: 5rem; padding: .95rem 1.3rem; transition: border-color .18s, box-shadow .18s, background .18s; }
.iconbox { width: 2.95rem; height: 2.95rem; display: grid; place-items: center; border-radius: .7rem; flex: none; background: #ecf0f5; }
.iconbox svg { width: 1.65rem; height: 1.65rem; }
.text { display: grid; gap: .1rem; min-width: 0; }
.text strong { font-size: 1.4rem; letter-spacing: -.025em; line-height: 1.2; }
.text > span { color: var(--muted); font-size: .9375rem; }
.end-icon { color: #536278; margin-left: auto; display: grid; place-items: center; padding: .35rem; }
.primary { overflow: hidden; background: var(--orange); border-color: #e9761e; padding-right: 6rem; min-height: 5.85rem; }
.primary .iconbox { background: var(--navy); color: white; }
.primary .text strong { font-size: 1.65rem; }
.primary .text > span { color: #352417; }
.stub { position: absolute; inset: 0 0 0 auto; width: 5.3rem; border-left: 2px dashed rgba(11,30,58,.32); display: grid; place-items: center; }
.barcode { width: 2.4rem; height: 2.1rem; background: repeating-linear-gradient(90deg, var(--navy) 0 2px, transparent 2px 4px, var(--navy) 4px 5px, transparent 5px 8px, var(--navy) 8px 11px, transparent 11px 13px); opacity: .72; }
.footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .3rem 1.5rem; margin-top: 1.5rem; padding-block: .7rem 1.1rem; border-top: 1px solid var(--line); }
.footer nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer nav a, .credit { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; font-size: .9375rem; text-decoration: none; }
.footer nav a { font-weight: 600; }
.footer nav svg { width: 1.15rem; height: 1.15rem; }
.credit { color: var(--muted); gap: .22em; }
.credit b { color: var(--navy); }
.footer small { flex-basis: 100%; font-size: .75rem; color: #606d7d; }
dialog { width: min(25rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; border: 0; border-radius: 1.2rem; color: var(--navy); box-shadow: 0 1rem 4rem #0004; }
dialog::backdrop { background: rgba(4,16,34,.78); }
body:has(dialog[open]) { overflow: hidden; }
.dialog-body { padding: 1.5rem; text-align: center; }
.dialog-body h2 { margin: .65rem 2rem .5rem; font-size: 1.9rem; }
.dialog-body p { margin: .3rem 0 1rem; color: var(--muted); }
.dismiss { position: absolute; top: .45rem; right: .45rem; display: grid; place-items: center; border: 0; background: transparent; width: 2.75rem; height: 2.75rem; border-radius: 50%; }
.qr-image { display: block; width: min(100%, 17rem); height: auto; margin-inline: auto; border-radius: .65rem; }
.dialog-body .validity { margin: .7rem 0 1rem; font-size: .875rem; }
.modal-cta { display: block; padding: .8rem 1.2rem; background: var(--orange); color: var(--navy); font-weight: 700; text-decoration: none; border-radius: .65rem; }
@media (hover:hover) {
  .card:hover { box-shadow: 0 3px 12px #0b1e3a12; border-color: #8796a9; }
  .primary:hover, .modal-cta:hover { background: #ff9148; }
  .footer a:hover { text-decoration: underline; text-underline-offset: .2em; }
  .dismiss:hover { background: var(--paper); }
}
@media (max-width: 45rem) {
  .wrap { width: calc(100% - 2.5rem); }
  .mast-inner { padding-block: .8rem; }
  .wordmark { width: 6.35rem; }
  .skyline { background-position: 68% center; }
  .skyline::after { background: linear-gradient(90deg, rgba(9,27,52,.94), rgba(9,27,52,.72) 55%, rgba(9,27,52,.17)), linear-gradient(0deg, rgba(9,27,52,.55), transparent); }
  .hero-inner { padding-block: 2.6rem 2rem; }
  h1 { font-size: clamp(2.4rem, 8.6vw, 3.7rem); line-height: 1; }
  .hero p { max-width: 22rem; font-size: 1rem; margin-top: .9rem; }
  .actions { padding-top: 1.3rem; }
  .card { padding: .9rem; gap: .75rem; }
  .primary { padding-right: 3rem; }
  .stub { width: 2.45rem; }
  .barcode { width: 1.05rem; height: 1.9rem; }
  .text strong { font-size: 1.25rem; }
  .primary .text strong { font-size: 1.45rem; }
  .text > span { font-size: .875rem; }
  .iconbox { width: 2.6rem; height: 2.6rem; }
  .end-icon { padding: 0; }
  .footer { margin-top: 1.15rem; }
}
@media (max-width: 28rem) {
  .footer { justify-content: center; gap: 0; text-align: center; }
  .footer nav { width: 100%; justify-content: center; gap: 1.25rem; }
  .credit { min-height: 2.75rem; }
}
@media (prefers-reduced-motion: reduce) { .card { transition: none; } }
