.hero {
  max-width: 1320px;
  margin: 0 auto;
  min-height: 734px;
  padding: 58px 24px 74px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 77px;
  align-items: center;
  overflow-x: clip;
  line-height: normal;
}
.hero-copy { position: relative; z-index: 2; grid-column: 2; grid-row: 1; }
.topic-label { display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; background: var(--layer); border-radius: var(--pill); font-size: var(--text-note); font-weight: var(--medium); margin: 0 0 24px; }
.topic-label svg { width: 15px; height: 15px; color: var(--muted); }
.title-brand { display: block; margin-bottom: 9px; }
.title-words { display: block; }
.hero-actions { display: flex; gap: 13px; align-items: center; margin: 29px 0 24px; }
.hero-description { max-width: 510px; font-size: var(--text-lg); line-height: 1.85; margin: 0; color: var(--ink); font-weight: var(--regular); }
.hero-description strong { white-space: nowrap; }
.trust-line { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin: 22px 0 0; padding: 0; list-style: none; font-size: var(--text-sm); color: var(--muted); }
.trust-line li { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.trust-line svg { width: 15px; height: 15px; }
.compatibility { margin-top: 29px; padding-top: 23px; border-top: 1px solid var(--border); }
.platform-line { display: flex; align-items: center; gap: 20px; list-style: none; margin: 0; padding: 0; color: var(--muted); }
.platform-line li { display: flex; align-items: center; gap: 7px; white-space: nowrap; font-size: var(--text-sm); font-weight: var(--medium); }
.platform-line svg { width: 19px; height: 19px; color: var(--ink); }
.flag-line { display: flex; flex-wrap: wrap; gap: 19px; list-style: none; margin: 21px 0 0; padding: 0; }
.flag-line li { display: flex; align-items: center; gap: 7px; font-size: var(--text-sm); color: var(--muted); white-space: nowrap; }
.flag { width: 25px; height: 17px; overflow: hidden; border-radius: var(--round-xs); box-shadow: 0 0 0 1px var(--border); }
.flag-white { fill: var(--flag-white); }
.flag-red { fill: var(--flag-red); }
.us-red { fill: var(--flag-us-red); }
.us-blue { fill: var(--flag-us-blue); }
.uk-blue { fill: var(--flag-uk-blue); }
.uk-red { fill: var(--flag-uk-red); }
.hk-red { fill: var(--flag-hk-red); }
.sg-red { fill: var(--flag-sg-red); }
.flag-white-stroke { stroke: var(--flag-white); }
.uk-red-stroke { stroke: var(--flag-uk-red); }
.collection-stage { grid-column: 1; grid-row: 1; margin: 0; min-width: 0; position: relative; padding: 36px 37px 38px 3px; }
.collection-stack { position: relative; isolation: isolate; }
.collection-stack::before, .collection-stack::after { content: ''; position: absolute; border: 1px solid var(--border); border-radius: var(--round); background: var(--layer); box-shadow: var(--shadow-page); z-index: -2; }
.collection-stack::before { inset: 10px 6px -19px 20px; transform: rotate(-3deg); }
.collection-stack::after { inset: 9px -10px -10px 10px; transform: rotate(2deg); background: var(--panel); z-index: -1; }
.index-tabs { position: absolute; right: -34px; top: 97px; display: flex; flex-direction: column; gap: 9px; z-index: -1; }
.index-tabs span { width: 49px; height: 48px; padding-left: 12px; border: 1px solid var(--border); border-radius: 0 var(--round-sm) var(--round-sm) 0; background: var(--layer); display: grid; place-items: center; font-family: var(--mono); font-size: var(--text-xs); font-weight: var(--semibold); color: var(--muted); box-shadow: var(--highlight); }
.index-tabs span:first-child { background: var(--tint); border-color: var(--tint-edge); color: var(--accent-dark); }
.directory-window { position: relative; background: var(--panel); border: 1px solid var(--border); border-radius: var(--round); box-shadow: var(--shadow-window); overflow: hidden; }
.window-chrome { height: 49px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; background: linear-gradient(var(--panel), var(--layer)); border-bottom: 1px solid var(--border); box-shadow: var(--highlight); }
.chrome-dots { display: flex; gap: 6px; }
.chrome-dots i { height: 9px; width: 9px; background: var(--chrome-dot); border: 1px solid var(--border); border-radius: var(--circle); }
.chrome-title { font-size: var(--text-xs); font-weight: var(--medium); color: var(--muted); }
.chrome-glyph { height: 14px; width: 18px; border: 1.5px solid var(--subtle); border-radius: var(--round-glyph); position: relative; }
.chrome-glyph::before { content: ''; position: absolute; top: 0; bottom: 0; left: 5px; border-left: 1px solid var(--subtle); }
.directory-content { position: relative; padding: 25px 24px 0; }
.emboss { position: absolute; right: -36px; top: -4px; width: 190px; height: 139px; color: var(--tint-line); pointer-events: none; }
.directory-heading { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.directory-title { font-size: var(--text-card); font-weight: var(--bold); letter-spacing: var(--tracking-card); margin: 0; }
.directory-kicker { font-size: var(--text-xs); font-family: var(--mono); letter-spacing: var(--tracking-label); color: var(--muted); margin: 7px 0 0; }
.directory-icon { width: 43px; height: 43px; display: grid; place-items: center; background: var(--tint); color: var(--accent-dark); border: 1px solid var(--tint-edge); border-radius: var(--round-sm); flex-shrink: 0; }
.directory-icon svg { width: 23px; height: 23px; }
.coverage-pills { position: relative; display: flex; gap: 8px; margin: 20px 0 21px; }
.coverage-pills span { display: flex; gap: 5px; align-items: baseline; padding: 6px 11px; border: 1px solid var(--border); border-radius: var(--pill); font-size: var(--text-xs); color: var(--muted); background: var(--panel); }
.coverage-pills strong { font-family: var(--mono); font-weight: var(--semibold); font-size: var(--text-note); color: var(--ink); }
.list-heading { display: flex; justify-content: space-between; color: var(--muted); font-size: var(--text-xs); padding: 0 13px 10px; }
.route-list { list-style: none; padding: 0; margin: 0; }
.route-list li { display: flex; align-items: center; gap: 14px; min-height: 51px; padding: 0 13px; border-radius: var(--round-sm); }
.route-list li:first-child { background: var(--tint); box-shadow: inset 0 0 0 1px var(--tint-edge); }
.route-list li + li { margin-top: 3px; }
.route-list .flag { width: 30px; height: 20px; }
.route-name { font-size: var(--text-nav); font-weight: var(--semibold); min-width: 67px; }
.route-english { font-family: var(--mono); font-size: var(--text-xs); color: var(--muted); }
.route-code { margin-left: auto; font-family: var(--mono); font-size: var(--text-xs); color: var(--muted); }
.window-foot { margin-top: 17px; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--border); color: var(--muted); font-size: var(--text-xs); background: var(--bg); }
.window-foot span { display: flex; align-items: center; gap: 6px; }
.window-foot svg { width: 13px; height: 13px; }
.stage-caption { position: absolute; bottom: -7px; left: 3px; right: 37px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: var(--text-xs); color: var(--muted); }
.stage-caption::before { content: ''; width: 18px; height: 1px; background: var(--border); }
.next-edge { max-width: 1268px; margin: 0 auto; padding: 25px 0 30px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.next-edge-heading { display: flex; align-items: center; gap: 14px; }
.section-marker { width: 8px; height: 27px; background: var(--green); border-radius: var(--pill); flex-shrink: 0; }
.next-edge h2 { font-size: var(--text-section); font-weight: var(--bold); margin: 0; letter-spacing: var(--tracking-card); }
.next-edge p { margin: 0 0 0 8px; color: var(--muted); font-size: var(--text-note); }
.next-edge a { font-size: var(--text-note); color: var(--muted); margin-right: 140px; min-height: 24px; }

.tabs { min-width: 0; }
.tab-list, [role="tablist"] { display: flex; gap: 6px; max-width: 100%; overflow-x: auto; padding: 6px; margin-bottom: 24px; background: var(--layer); border-radius: var(--pill); }
[role="tab"] { flex-shrink: 0; min-height: var(--touch); padding: 10px 22px; border: 1px solid var(--clear); border-radius: var(--pill); color: var(--muted); background: var(--clear); font-size: var(--text-nav); font-weight: var(--semibold); }
[role="tab"][aria-selected="true"] { color: var(--accent-dark); border-color: var(--tint-edge); background: var(--panel); box-shadow: var(--shadow-small); }
[role="tabpanel"] { min-width: 0; }
.toc-tabs { position: sticky; top: var(--toc-top); z-index: 10; display: flex; align-items: center; gap: 6px; overflow-x: auto; max-width: 100%; padding: 8px; margin: 24px 0 32px; border: 1px solid var(--border); border-radius: var(--pill); background: var(--panel); box-shadow: var(--shadow-small); overscroll-behavior-x: contain; }
.toc-tabs a { flex-shrink: 0; min-height: var(--touch); display: inline-flex; align-items: center; padding: 10px 18px; font-size: var(--text-nav); color: var(--muted); border-radius: var(--pill); }
.toc-tabs a.is-current, .toc-tabs a[aria-current="location"] { color: var(--accent-dark); background: var(--tint); }
.toc-tabs.toc-static { position: static; }
body:has(.toc-tabs) section[id] { scroll-margin-top: var(--toc-offset); }
.index-spread { display: grid; grid-template-columns: minmax(180px, .65fr) minmax(0, 2fr); gap: 32px; align-items: start; }
.scene-index { position: sticky; top: var(--toc-top); display: grid; gap: 8px; }
.scene-index a { display: flex; align-items: center; min-height: var(--touch); padding: 12px 16px; border-radius: var(--round-sm); background: var(--layer); }
.scene-pages { display: grid; gap: 24px; }
.scene-page { padding: 36px; border: 1px solid var(--border); border-radius: var(--round); box-shadow: var(--shadow-page); background: var(--panel); }
.scene-page dt { font-size: var(--text-sm); font-weight: var(--bold); color: var(--muted); margin-top: 18px; }
.scene-page dd { margin: 6px 0 0; }

.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--round-sm); background: var(--panel); box-shadow: var(--highlight); }
.faq-item summary { cursor: pointer; padding: 20px 24px; font-weight: var(--semibold); min-height: var(--touch); }
.faq-item summary::marker { color: var(--accent-dark); }
.faq-item[open] { border-color: var(--tint-edge); }
.faq-answer { padding: 0 24px 20px; color: var(--muted); }
.faq-answer p:last-child { margin-bottom: 0; }
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan-card { position: relative; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--border); border-radius: var(--round); background: var(--panel); box-shadow: var(--shadow-page), var(--highlight); }
.plan-card.is-current { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent), var(--shadow-page); }
.plan-card.is-value { background: linear-gradient(var(--tint), var(--panel) 55%); }
.plan-period { color: var(--muted); font-size: var(--text-note); margin: 0 0 12px; }
.plan-price { font-size: var(--text-h2); font-family: var(--mono); font-weight: var(--bold); line-height: 1.4; margin: 8px 0 16px; font-variant-numeric: tabular-nums; }
.plan-price small { font-family: var(--body); font-size: var(--text-nav); font-weight: var(--regular); color: var(--muted); }
.plan-card ul { padding-left: 18px; margin: 0 0 24px; color: var(--muted); }
.plan-card .action { margin-top: auto; width: 100%; gap: 8px; }
.plan-badge { align-self: flex-start; margin-bottom: 14px; display: inline-flex; padding: 5px 12px; border-radius: var(--pill); background: var(--yellow); color: var(--ink); font-size: var(--text-sm); font-weight: var(--bold); }
.badge, .tag { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 6px 12px; border: 1px solid var(--border); border-radius: var(--pill); background: var(--layer); font-size: var(--text-sm); line-height: 1.5; color: var(--muted); white-space: normal; overflow-wrap: anywhere; }
.badge-green::before, .badge-yellow::before { content: ''; width: 7px; height: 7px; border-radius: var(--circle); flex-shrink: 0; background: var(--green); }
.badge-yellow::before { background: var(--yellow); }
.tag { background: var(--tint); border-color: var(--tint-edge); color: var(--accent-dark); }

.table-scroll { overflow-x: auto; max-width: 100%; min-width: 0; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--round-sm); background: var(--panel); }
.data-table, .route-table { border-collapse: collapse; min-width: 680px; width: 100%; font-size: var(--text-nav); text-align: left; }
.data-table caption, .route-table caption { padding: 16px 20px; text-align: left; font-weight: var(--bold); color: var(--ink); }
.data-table th, .data-table td, .route-table th, .route-table td { padding: 16px 20px; border-bottom: 1px solid var(--border); vertical-align: top; }
.data-table thead, .route-table thead { background: var(--layer); color: var(--ink); }
.data-table th, .route-table th { color: var(--ink); font-weight: var(--semibold); }
.data-table tbody tr:last-child > *, .route-table tbody tr:last-child > * { border-bottom: 0; }
.route-table .region-row th { background: var(--tint); color: var(--accent-dark); }
.country-cell { display: flex; gap: 10px; align-items: center; color: var(--ink); }
.table-note { color: var(--muted); font-size: var(--text-note); margin-top: 12px; }
.prose > .data-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; min-width: 0; }

.platform-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.platform-card { padding: 24px 18px; border: 1px solid var(--border); background: var(--panel); border-radius: var(--round); display: flex; flex-direction: column; align-items: flex-start; gap: 18px; box-shadow: var(--highlight), var(--shadow-small); }
.platform-card > svg { width: 32px; height: 32px; color: var(--ink); }
.platform-card h3 { font-size: var(--text-lg); margin: 0; }
.platform-card .action { width: 100%; padding: 10px 12px; min-height: var(--touch); font-size: var(--text-note); gap: 6px; margin-top: auto; }
.article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.article-card { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--round); box-shadow: var(--shadow-small); }
.article-card h3 { margin: 18px 0 12px; }
.article-card h3 a:hover { color: var(--accent-dark); }
.article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: var(--text-sm); }
.article-card p { color: var(--muted); }
.article-card > .text-link { margin-top: auto; }
.article-hero { position: relative; isolation: isolate; padding-block: 40px; overflow-x: clip; }
.article-hero::before { content: ''; position: absolute; inset: 16px 20% 35% 0; z-index: -1; border-radius: var(--round); background: var(--tint); }
.article-hero p, .article-hero .article-meta { margin-inline-start: 24px; }
.callout { margin: 24px 0; padding: 22px 24px; border-inline-start: 4px solid var(--accent); border-radius: 0 var(--round-sm) var(--round-sm) 0; background: var(--tint); color: var(--ink); }
.callout p:last-child { margin-bottom: 0; }
.article-promo { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; margin-top: 40px; padding: 32px; border: 1px solid var(--tint-edge); border-radius: var(--round); background: linear-gradient(110deg, var(--tint), var(--panel)); box-shadow: var(--shadow-page); }
.article-promo p { margin: 12px 0 0; color: var(--muted); }
.article-promo strong { font-size: var(--text-card); }
.float-cta { position: fixed; right: 25px; bottom: calc(23px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; justify-content: center; gap: 13px; min-height: var(--touch); padding: 13px 19px; border: 1px solid var(--tint-edge); background: var(--panel); color: var(--accent-dark); font-size: var(--text-note); font-weight: var(--semibold); border-radius: var(--pill); box-shadow: var(--shadow-small); z-index: 15; line-height: 1.5; }
.float-cta svg { width: 15px; height: 15px; }
.float-cta:hover { background: var(--tint); }
body:has(.float-cta)::after { content: ''; display: block; height: calc(88px + env(safe-area-inset-bottom, 0px)); }
.motion-card { min-width: 0; }
.parallax-decor { position: absolute; inset: 24px 24px auto auto; width: 180px; height: 180px; border: 18px solid var(--tint-line); border-radius: var(--circle); pointer-events: none; }

.preview-section { border-top: 1px solid var(--border); }
.preview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.swatch { display: flex; flex-direction: column; min-width: 0; gap: 10px; font-family: var(--mono); font-size: var(--text-note); overflow-wrap: anywhere; }
.swatch-sample { height: 72px; border: 1px solid var(--border); border-radius: var(--round-sm); }
.swatch-bg { background: var(--bg); }
.swatch-panel { background: var(--panel); }
.swatch-layer { background: var(--layer); }
.swatch-border { background: var(--border); }
.swatch-accent { background: var(--accent); }
.swatch-dark { background: var(--accent-dark); }
.swatch-ink { background: var(--ink); }
.swatch-muted { background: var(--muted); }
.swatch-green { background: var(--green); }
.swatch-yellow { background: var(--yellow); }
.swatch-error { background: var(--error); }
.swatch-tint { background: var(--tint); }
.swatch-edge { background: var(--tint-edge); }
.swatch-line { background: var(--tint-line); }
.swatch-subtle { background: var(--subtle); }
.swatch-dot { background: var(--chrome-dot); }
.swatch-white { background: var(--flag-white); }
.swatch-red { background: var(--flag-red); }
.swatch-us-red { background: var(--flag-us-red); }
.swatch-us-blue { background: var(--flag-us-blue); }
.swatch-uk-blue { background: var(--flag-uk-blue); }
.swatch-uk-red { background: var(--flag-uk-red); }
.swatch-hk-red { background: var(--flag-hk-red); }
.swatch-sg-red { background: var(--flag-sg-red); }
.swatch-veil { background: var(--veil); }
.swatch-clear { background: var(--clear); }
.type-sample { padding: 20px 0; border-bottom: 1px solid var(--border); }
.type-display { font-size: var(--text-display); font-weight: var(--black); line-height: var(--leading-display); font-family: var(--display); letter-spacing: var(--tracking-title); }
.type-section { font-size: var(--text-h2); font-weight: var(--black); }
.type-card { font-size: var(--text-card); font-weight: var(--bold); }
.type-note { font-size: var(--text-note); color: var(--muted); }
.preview-state { display: grid; justify-items: start; gap: 12px; }
.preview-state small { color: var(--muted); }
.preview-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 24px; }
.preview-heading h2 { margin: 0; }

@media (min-width: 1500px) {
  .hero { min-height: calc(100svh - 170px); }
}
@media (max-width: 1250px) {
  .hero { gap: 43px; padding-inline: 35px; }
  .platform-line { gap: 13px; }
  .flag-line { gap: 14px; }
  .next-edge { margin-inline: 35px; }
  .next-edge p { display: none; }
  .platform-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1050px) {
  .hero { gap: 28px; min-height: 690px; }
  .collection-stage { padding-right: 31px; }
  .directory-content { padding-inline: 16px; }
  .route-list li { gap: 9px; padding-inline: 10px; }
  .hero-copy h1 { font-size: var(--text-display-mid); }
  .hero-description { font-size: var(--text-md); }
  .platform-line { gap: 10px; }
  .platform-line li { gap: 4px; font-size: var(--text-xs); }
  .platform-line svg { width: 17px; height: 17px; }
  .flag-line { gap: 11px; }
  .flag-line li { gap: 5px; font-size: var(--text-xs); }
  .flag-line .flag { width: 21px; height: 14px; }
  .trust-line { gap: 10px; }
  .route-name { min-width: 56px; }
}
@media (max-width: 780px) {
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 25px; min-height: 0; padding: 36px 24px 54px; max-width: 620px; }
  .hero-copy h1 { font-size: var(--text-mobile); }
  .title-brand { margin-bottom: 6px; }
  .topic-label { margin-bottom: 19px; }
  .hero-actions { margin: 24px 0 21px; gap: 12px; }
  .hero-description { max-width: 470px; font-size: var(--text-md); }
  .trust-line { margin-top: 19px; gap: 10px 13px; }
  .compatibility { margin-top: 23px; padding-top: 20px; }
  .platform-line { justify-content: space-between; gap: 6px; }
  .platform-line li { font-size: var(--text-xs); gap: 5px; }
  .platform-line svg { width: 18px; height: 18px; }
  .flag-line { justify-content: space-between; gap: 6px; margin-top: 18px; }
  .flag-line li { font-size: var(--text-xs); gap: 5px; }
  .collection-stage { padding: 15px 30px 28px 0; margin: 0; }
  .window-chrome { height: 43px; padding-inline: 15px; }
  .directory-content { padding-top: 20px; }
  .directory-heading { gap: 10px; }
  .directory-title { font-size: var(--text-lg); }
  .coverage-pills { margin: 16px 0; }
  .route-list li { min-height: 47px; }
  .route-name { min-width: 65px; }
  .window-foot { padding: 13px 16px; }
  .index-tabs { right: -28px; }
  .index-tabs span { width: 41px; height: 44px; padding-left: 11px; }
  .stage-caption { bottom: -6px; left: 0; right: 30px; }
  .next-edge { margin-inline: 24px; padding: 22px 0 50px; align-items: flex-start; gap: 20px; }
  .next-edge h2 { font-size: var(--text-lg); }
  .next-edge a { margin-right: 0; font-size: var(--text-xs); white-space: nowrap; padding-top: 5px; }
  .section-marker { height: 23px; width: 6px; }
  .float-cta { right: 15px; bottom: calc(15px + env(safe-area-inset-bottom, 0px)); }
  .plan-grid, .article-grid { grid-template-columns: minmax(0, 1fr); }
  .platform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .index-spread { grid-template-columns: minmax(0, 1fr); }
  .scene-index { position: static; display: flex; overflow-x: auto; }
  .scene-index a { flex-shrink: 0; }
  .scene-page { padding: 24px; }
  .article-promo { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .article-promo .action { justify-self: start; }
  .type-display { font-size: var(--text-mobile); }
  .toc-tabs { border-radius: var(--round-sm); }
}
@media (max-width: 640px) {
  .collection-stack::before, .collection-stack::after { transform: none; }
  .preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 370px) {
  .hero { padding-inline: 17px; }
  .hero-actions .action { padding-inline: 20px; gap: 12px; }
  .platform-line li { gap: 3px; }
  .platform-line svg { width: 15px; height: 15px; }
  .flag-line li { gap: 4px; }
  .flag-line .flag { width: 18px; height: 12px; }
  .route-name { min-width: 52px; }
  .route-list li { gap: 8px; }
  .platform-grid { grid-template-columns: minmax(0, 1fr); }
}