@layer reset, base, layout, components, content, responsive;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, h4, p { margin: 0; }
  button, input { font: inherit; }
  button, summary, a { -webkit-tap-highlight-color: transparent; }
  button { cursor: pointer; }
  a { color: inherit; }
  img, svg { display: block; max-width: 100%; }
  [hidden] { display: none !important; }
}

@layer base {
  :root {
    color-scheme: light;
    --paper: #f6f8fc;
    --surface: #edf2f9;
    --ink: #12223c;
    --muted: #53647c;
    --line: #d9e2ee;
    --accent: #2159d6;
    --accent-soft: #e5edff;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
    --display: var(--sans);
    --card: #ffffff;
    --accent-strong: #1748b6;
    --shadow: 0 8px 28px #17326308;
    --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    --page: 1220px;
  }
  :root[data-theme="dark"] {
    color-scheme: dark;
    --paper: #0b1220;
    --surface: #111d30;
    --ink: #e9f0ff;
    --muted: #a0b0c8;
    --line: #26364e;
    --accent: #80b6ff;
    --accent-soft: #172d4c;
    --card: #101c2f;
    --accent-strong: #9bc7ff;
    --shadow: 0 8px 28px #00000018;
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      color-scheme: dark;
      --paper: #0b1220;
      --surface: #111d30;
      --ink: #e9f0ff;
      --muted: #a0b0c8;
      --line: #26364e;
      --accent: #80b6ff;
      --accent-soft: #172d4c;
    --card: #101c2f;
    --accent-strong: #9bc7ff;
    --shadow: 0 8px 28px #00000018;
    }
  }
  html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
  body { background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
  ::selection { background: var(--accent-soft); color: var(--ink); }
  :focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 5px; }
  main:focus { outline: none; }
  a { text-decoration-thickness: 1px; text-underline-offset: .2em; }
  a, button { transition: color .18s ease, background-color .18s ease, border-color .18s ease; }
  a:hover { color: var(--accent); }
  h1, h2, h3 { text-wrap: balance; }
  p { text-wrap: pretty; }
  svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; stroke: currentColor; stroke-width: 1.8; }
  button { color: var(--ink); }
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 30; background: var(--ink); color: var(--paper); padding: .7rem 1rem; }
  .skip-link:focus { top: 1rem; }
  .eyebrow { font-size: .7rem; line-height: 1.4; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
}

@layer layout {
  .header-inner, main, .site-footer { width: min(var(--page), calc(100% - 5rem)); margin-inline: auto; }
  .site-header { border-bottom: 1px solid var(--line); background: var(--card); }
  .header-inner { display: flex; align-items: center; gap: 2.5rem; min-height: 5.2rem; position: relative; }
  main { padding-block: 3.75rem 6.5rem; min-height: 60vh; }
  .home-main { padding-top: 5.5rem; }
  .hero { display: grid; grid-template-columns: minmax(0, 1fr) 19.5rem; gap: 5rem; align-items: center; }
  .hero-copy { padding-bottom: 1rem; }
  .site-stats { display: grid; grid-template-columns: 1.05fr 1fr 1fr .7fr; gap: 2rem; margin-top: 5.25rem; padding-block: 1.8rem; border-block: 1px solid var(--line); }
  .home-section { margin-top: 4.75rem; }
  .section-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.5rem; }
  .section-heading h2 { font-family: var(--display); font-size: clamp(1.8rem, 3.2vw, 2.75rem); font-weight: 650; line-height: 1.15; letter-spacing: -.025em; }
  .section-heading .eyebrow { margin-bottom: .85rem; }
  .section-heading > p { max-width: 24rem; font-size: .875rem; line-height: 1.7; color: var(--muted); }
  .article-layout { display: grid; grid-template-columns: minmax(0, 49rem) minmax(13rem, 16rem); gap: clamp(3rem, 6vw, 7rem); align-items: start; }
  .article-content { min-width: 0; }
  .article-aside { min-width: 0; height: 100%; }
  .aside-inner { position: sticky; top: 2rem; }
  .legal-main { max-width: 850px; }
  .site-footer { padding-block: 2.6rem 2rem; border-top: 1px solid var(--line); }
}

@layer components {
  .brand { display: flex; gap: .75rem; align-items: center; text-decoration: none; flex-shrink: 0; font-size: 1.1rem; font-weight: 750; letter-spacing: -.04em; line-height: 1.2; }
  .brand-logo { width: 3.75rem; height: 3.75rem; object-fit: contain; flex-shrink: 0; }
  .brand-caption { display: block; font-size: .59rem; font-weight: 450; letter-spacing: .035em; margin-top: .4rem; color: var(--muted); }
  .desktop-nav { display: flex; align-items: center; gap: 1.8rem; margin-left: auto; }
  .desktop-nav a { text-decoration: none; font-size: .83rem; font-weight: 550; }
  .desktop-nav a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-underline-offset: .5rem; }
  .header-tools { display: flex; align-items: center; gap: .7rem; }
  .icon-button { display: inline-flex; align-items: center; justify-content: center; width: 2.3rem; height: 2.3rem; background: none; border: 0; text-decoration: none; }
  .icon-button { border-radius: 8px; }
  .icon-button:hover { background: var(--surface); color: var(--accent); }
  .language-menu { position: relative; font-size: .75rem; }
  .language-menu summary, .mobile-menu summary, .mobile-toc summary { display: flex; align-items: center; gap: .3rem; list-style: none; cursor: pointer; }
  .language-menu summary::-webkit-details-marker, .mobile-menu summary::-webkit-details-marker, .mobile-toc summary::-webkit-details-marker { display: none; }
  .language-menu summary { min-height: 2.5rem; padding-inline: .2rem; white-space: nowrap; }
  .language-menu svg { width: 1rem; height: 1rem; }
  .language-menu summary { gap: .45rem; }
  .language-menu summary > span { min-width: 0; max-width: 7rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .language-menu summary > svg:first-child { color: var(--muted); }
  .language-options { position: absolute; right: 0; top: calc(100% + .8rem); z-index: 20; width: 12rem; max-height: 70vh; overflow: auto; padding: .5rem; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 12px 32px #12223c20; border-radius: 12px; }
  .language-options a { display: block; padding: .45rem .6rem; text-decoration: none; }
  .language-options a:hover, .language-options a[aria-current="true"] { color: var(--accent); background: var(--surface); }
  .mobile-menu { display: none; }
  .hero-eyebrow { display: flex; gap: .6rem; align-items: center; color: var(--accent); margin-bottom: 2rem; }
  .status-dot { display: inline-block; width: .4rem; height: .4rem; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px var(--accent-soft); }
  .hero-title { font-family: var(--display); font-size: clamp(3.5rem, 6.4vw, 5.7rem); line-height: 1.02; font-weight: 650; letter-spacing: -.045em; }
  .hero-title span { display: block; }
  .hero-title span + span { color: var(--accent); }
  :is([data-locale="zh"], [data-locale="zh-tw"]) .hero-title { font-size: clamp(2.5rem, 4.25vw, 3.8rem); line-height: 1.4; letter-spacing: -.045em; font-family: var(--sans); font-weight: 650; }
  .hero-intro { max-width: 31rem; margin-top: 1.6rem; font-size: 1rem; line-height: 1.8; color: var(--muted); }
  .text-link { display: inline-flex; align-items: center; gap: .85rem; font-size: .81rem; font-weight: 650; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: .3rem; }
  .text-link svg { width: 1.1rem; transition: transform .18s ease; }
  .text-link:hover svg { transform: translateX(3px); }
  .hero-copy > .text-link { margin-top: 1.9rem; }
  .start-index { align-self: center; display: flex; flex-direction: column; border: 1px solid #29466c; padding: 1.6rem; border-radius: 20px; color: #eff5ff; background: radial-gradient(ellipse at top right, #1a4064, transparent 70%), #101e34; box-shadow: 0 18px 38px #102e5a18; --line: #30425d; --muted: #afc1d9; --accent: #80d7ff; }
  .start-index > .eyebrow { color: #80d7ff; }
  .start-symbol { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border: 1px solid #3a5676; border-radius: 10px; background: #20364e; color: #8edaff; }
  .start-symbol svg { width: 1.15rem; height: 1.15rem; }
  .start-index > .eyebrow { margin-bottom: 1.2rem; }
  .start-link { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) 1.2rem; align-items: center; gap: .85rem; padding-block: 1.2rem; border-top: 1px solid var(--line); text-decoration: none; }
  .start-number, .row-index { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: .67rem; color: var(--accent); }
  .start-number { align-self: start; margin-top: .25rem; }
  .start-link h2 { font-size: .98rem; font-weight: 600; line-height: 1.45; }
  .start-link p { font-size: .72rem; margin-top: .4rem; line-height: 1.6; color: var(--muted); }
  .start-link > svg { transition: transform .18s ease; }
  .start-link:hover > svg { transform: translateX(3px); }
  .index-footnote { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); margin-top: auto; padding-top: 1rem; color: var(--muted); font-size: .7rem; line-height: 1.7; }
  .index-footnote { justify-content: flex-start; gap: .6rem; }
  .index-footnote svg { width: 1rem; }
  .site-stats > div { display: flex; align-items: baseline; gap: .7rem; }
  .site-stats > div + div { border-left: 1px solid var(--line); padding-left: 2rem; }
  .stat-number { font-family: var(--display); font-size: 2.2rem; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.04em; }
  .site-stats span + span { font-size: .72rem; color: var(--muted); }
  .guide-list { border-top: 1px solid var(--line); }
  .guide-row { display: grid; grid-template-columns: 2rem 1fr; column-gap: .75rem; padding-block: 1.6rem; border-bottom: 1px solid var(--line); min-width: 0; }
  .guide-row .row-index { padding-top: .2rem; }
  .guide-row h3 { font-size: 1.14rem; line-height: 1.4; font-weight: 550; letter-spacing: -.015em; }
  .guide-row h3 a { display: flex; align-items: start; justify-content: space-between; gap: 1.5rem; text-decoration: none; }
  .guide-row h3 svg { margin-top: .25rem; width: 1.15rem; }
  .guide-row p { color: var(--muted); font-size: .82rem; line-height: 1.75; max-width: 67ch; margin-top: .6rem; }
  .guide-row .eyebrow { display: block; font-size: .62rem; margin-bottom: .55rem; }
  .project-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3.5rem; }
  .project-list .guide-row { padding-block: 1.7rem; }
  .project-list .guide-row h3 { font-size: 1.08rem; }
  .home-guides { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3.5rem; }
  .breadcrumbs { display: flex; flex-wrap: wrap; gap: .55rem; font-size: .71rem; color: var(--muted); line-height: 1.6; margin-bottom: 2rem; }
  .breadcrumbs a { text-decoration: none; }
  .breadcrumbs > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 25rem; }
  .page-heading { margin-bottom: 3.25rem; }
  .page-heading h1 { max-width: 30ch; font-family: var(--display); font-size: clamp(2.5rem, 4.25vw, 4rem); font-weight: 650; line-height: 1.12; letter-spacing: -.035em; overflow-wrap: break-word; }
  :is([data-locale="zh"], [data-locale="zh-tw"]) .page-heading h1 { font-family: var(--sans); font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.4; font-weight: 650; max-width: 25ch; }
  .page-description { margin-top: 1.5rem; color: var(--muted); max-width: 70ch; font-size: 1rem; line-height: 1.85; }
  .article-meta { display: flex; flex-wrap: wrap; gap: 1.5rem; color: var(--muted); font-size: .7rem; margin-top: 1.5rem; }
  .article-meta time { font-family: var(--mono); font-size: .67rem; margin-left: .35rem; }
  .article-disclosure { font-size: .76rem; line-height: 1.9; color: var(--muted); background: var(--surface); border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; padding: 1.1rem 1.3rem; margin-bottom: 2.6rem; }
  .article-disclosure a { color: var(--ink); }
  .toc { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.25rem; }
  .toc ol { list-style: none; padding: 0; margin: 1rem 0 0; max-height: 48vh; overflow: auto; scrollbar-width: thin; }
  .toc li { margin: .65rem 0; font-size: .76rem; line-height: 1.55; }
  .toc a { display: block; text-decoration: none; color: var(--muted); }
  .toc a:hover { color: var(--accent); }
  .toc .toc-level-3 { padding-left: .8rem; }
  .toc .toc-level-4 { padding-left: 1.6rem; }
  .mobile-toc { display: none; }
  .ad-heading { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .6rem; line-height: 1.4; margin-bottom: .6rem; }
  .ad-heading > span { text-transform: uppercase; letter-spacing: .08em; }
  .ad-heading button { padding: .3rem 0 .3rem .4rem; background: none; border: 0; font-size: .6rem; color: var(--muted); text-decoration: underline; text-underline-offset: .2em; }
  .ad-heading button:hover { color: var(--accent); }
  .ad-slides { background: var(--surface); }
  .ad-slides picture { display: block; }
  .ad-slides img { width: 100%; height: auto; }
  .ad-slides a { display: block; }
  .ad-controls { display: flex; justify-content: center; gap: .15rem; margin-top: .25rem; }
  .ad-controls button { display: grid; place-items: center; width: 2rem; height: 1.75rem; padding: 0; border: 0; background: none; }
  .ad-controls button span { display: block; width: 1.25rem; height: 2px; background: var(--line); }
  .ad-controls button[aria-pressed="true"] span { background: var(--accent); }
  .related { margin-top: 4rem; }
  .related > h2 { font-family: var(--display); font-size: 2rem; font-weight: 650; margin-bottom: 1.5rem; }
  .directory-intro { margin-top: -1.6rem; margin-bottom: 3rem; color: var(--muted); max-width: 65ch; }
  .directory-list { max-width: 64rem; }
  .directory-list .guide-row { padding-block: 1.8rem; }
  .directory-list .guide-row h3 { font-size: 1.35rem; }
  .directory-list .guide-row p { max-width: 90ch; }
  .directory-count { font-size: .75rem; color: var(--muted); }
  .provider-list { border-top: 1px solid var(--line); }
  .provider-row { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) 7rem; gap: 1rem; border-bottom: 1px solid var(--line); padding-block: 2rem; }
  .provider-row > .row-index { padding-top: .4rem; }
  .provider-row h2 { font-family: var(--display); font-size: 1.9rem; font-weight: 650; letter-spacing: -.02em; line-height: 1.3; }
  .provider-row h2 a { display: inline-flex; align-items: center; gap: 1rem; text-decoration: none; }
  .provider-row h2 svg { width: 1.2rem; }
  .provider-row p { max-width: 75ch; color: var(--muted); font-size: .875rem; margin-top: .65rem; }
  .provider-count { text-align: right; color: var(--muted); font-size: .72rem; padding-top: .55rem; }
  .provider-summary { max-width: 45rem; color: var(--muted); margin-top: -1rem; }
  .provider-summary p { margin-bottom: 1.4rem; }
  .provider-summary .text-link { color: var(--ink); }
  .search-form { display: flex; width: min(100%, 55rem); border: 1px solid var(--line); border-radius: 12px; background: var(--card); padding: .3rem .4rem .3rem 1.1rem; align-items: stretch; box-shadow: var(--shadow); }
  .search-form:focus-within { border-color: var(--accent); }
  .search-input-wrap { display: flex; align-items: center; flex: 1; min-width: 0; }
  .search-input-wrap > svg { width: 1.5rem; height: 1.5rem; margin-right: 1rem; color: var(--accent); }
  .search-form input { border: 0; background: transparent; color: var(--ink); width: 100%; min-width: 0; padding: 1rem .5rem 1rem 0; font-size: 1.15rem; border-radius: 0; }
  .search-form input::placeholder { color: var(--muted); opacity: 1; }
  .search-form button { display: inline-flex; align-items: center; gap: .85rem; padding: .75rem 1.2rem; margin: .3rem 0 .3rem 1rem; background: #2159d6; color: #fff; border: 1px solid #2159d6; border-radius: 8px; font-size: .8rem; font-weight: 600; }
  .search-form button:hover { background: #1748b6; border-color: #1748b6; }
  .search-help { color: var(--muted); font-size: .73rem; margin-top: .8rem; }
  .search-status { font-size: .8rem; min-height: 1.3rem; margin-block: 2rem 1rem; color: var(--muted); }
  .unavailable-main { display: grid; grid-template-columns: .65fr 1fr; align-items: center; gap: 5rem; padding-block: 6rem 8rem; }
  .unavailable-number { font-family: var(--display); font-size: clamp(6rem, 18vw, 14rem); color: var(--accent); line-height: 1; letter-spacing: -.09em; }
  .unavailable-main h1 { font-family: var(--display); font-size: 3rem; font-weight: 650; letter-spacing: -.03em; line-height: 1.2; margin-top: 1.25rem; }
  .unavailable-main p:not(.eyebrow) { color: var(--muted); margin-top: 1.5rem; max-width: 32rem; }
  .unavailable-links { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2rem; }
  .footer-top { display: flex; align-items: start; justify-content: space-between; gap: 2rem; }
  .footer-brand { display: flex; gap: .7rem; align-items: center; text-decoration: none; font-size: 1.35rem; font-weight: 650; letter-spacing: -.04em; }
  .footer-brand span { display: block; font-size: .72rem; font-weight: 400; letter-spacing: 0; margin-top: .4rem; color: var(--muted); }
  .footer-top nav { display: flex; flex-wrap: wrap; column-gap: 1.6rem; row-gap: .75rem; font-size: .73rem; padding-top: .5rem; }
  .footer-top nav a { text-decoration: none; }
  .footer-disclosure { margin-top: 2rem; font-size: .65rem; color: var(--muted); }
}

@layer content {
  .prose { font-size: 1rem; line-height: 1.9; overflow-wrap: anywhere; }
  .prose > :first-child { margin-top: 0; }
  .prose p, .prose ul, .prose ol, .prose dl, .prose blockquote, .prose pre, .prose table, .prose figure, .prose details { margin-block: 1.3rem; }
  .prose p, .prose li { text-wrap: pretty; }
  .prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 { color: var(--ink); line-height: 1.4; font-weight: 650; scroll-margin-top: 2rem; }
  .prose h2 { font-family: var(--display); font-size: 1.95rem; font-weight: 650; letter-spacing: -.025em; border-top: 1px solid var(--line); padding-top: 1.7rem; margin: 3.4rem 0 1.25rem; }
  .prose h3 { font-size: 1.25rem; margin: 2rem 0 1rem; letter-spacing: -.015em; }
  .prose h4 { font-size: 1.05rem; margin: 1.75rem 0 1rem; }
  :is([data-locale="zh"], [data-locale="zh-tw"]) .prose h2 { font-family: var(--sans); font-size: 1.65rem; font-weight: 650; }
  .prose a { color: var(--accent); }
  .prose a:hover { text-decoration-thickness: 2px; }
  .prose .header-anchor { font-size: .7em; margin-left: .4rem; text-decoration: none; opacity: .45; }
  .prose .header-anchor:hover { opacity: 1; }
  .prose ul, .prose ol { padding-left: 1.6rem; }
  .prose li { padding-left: .3rem; margin-block: .45rem; }
  .prose li::marker { color: var(--muted); }
  .prose li > ul, .prose li > ol { margin-block: .4rem; }
  .prose strong { font-weight: 650; }
  .prose blockquote { padding: .15rem 0 .15rem 1.5rem; border-left: 2px solid var(--accent); color: var(--muted); }
  .prose blockquote > :first-child { margin-top: 0; }
  .prose blockquote > :last-child { margin-bottom: 0; }
  .prose code { font-family: var(--mono); font-size: .85em; padding: .14em .3em; background: var(--surface); border-radius: 8px; }
  .prose pre { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 1.2rem 1.4rem; overflow-x: auto; max-width: 100%; font-size: .8rem; line-height: 1.8; tab-size: 2; }
  .prose pre code { display: block; background: transparent; padding: 0; font-size: inherit; white-space: pre; overflow-wrap: normal; word-break: normal; }
  .prose table { display: block; width: max-content; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: .82rem; line-height: 1.65; font-variant-numeric: tabular-nums; border: 1px solid var(--line); }
  .prose .table-scroll { overflow-x: auto; max-width: 100%; margin-block: 1.3rem; }
  .prose .table-scroll table { margin: 0; }
  .prose th { text-align: left; background: var(--surface); font-weight: 650; }
  .prose th, .prose td { padding: .8rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; min-width: 7rem; }
  .prose td + td, .prose th + th { border-left: 1px solid var(--line); }
  .prose tbody tr:last-child td { border-bottom: 0; }
  .prose img { max-width: 100%; height: auto; border-radius: 8px; margin-inline: auto; }
  .prose figure { margin-inline: 0; }
  .prose figcaption { text-align: center; color: var(--muted); font-size: .8rem; margin-top: .6rem; }
  .prose iframe, .prose video { max-width: 100%; }
  .prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.5rem; }
  .prose .custom-container { margin-block: 1.5rem; padding: 1rem 1.25rem; background: var(--surface); border-left: 2px solid var(--accent); }
  .prose .custom-container-title { font-weight: 650; }
  .prose .custom-container > :first-child { margin-top: 0; }
  .prose .custom-container > :last-child { margin-bottom: 0; }
  .prose .hint-container { margin-block: 1.5rem; padding: 1rem 1.25rem; background: var(--surface); border-left: 2px solid var(--accent); }
  .prose .callout { margin-block: 1.5rem; padding: 1rem 1.25rem; background: var(--surface); border-left: 2px solid var(--accent); }
  .prose .callout-title { font-weight: 650; }
  .prose .callout > :first-child { margin-top: 0; }
  .prose .callout > :last-child { margin-bottom: 0; }
  .hub-intro { max-width: 55rem; margin-bottom: 3rem; }
  .home-main > .prose { max-width: 55rem; }
}

@layer responsive {
  @media (max-width: 1100px) {
    .header-inner { gap: 1.4rem; }
    .desktop-nav { gap: 1.1rem; }
    .header-tools { gap: .2rem; }
    .hero { gap: 3rem; grid-template-columns: minmax(0, 1fr) 17.5rem; }
    .site-stats > div { flex-direction: column; gap: .5rem; }
  }
  @media (max-width: 1023px) {
    .header-inner, main, .site-footer { width: calc(100% - 3rem); }
    .header-inner { min-height: 5.2rem; }
    .desktop-nav { display: none; }
    .header-tools { margin-left: auto; }
    .mobile-menu { display: block; font-size: .75rem; }
    .mobile-menu > summary { min-height: 2.5rem; }
    .mobile-menu > summary svg { width: .9rem; }
    .mobile-menu nav { position: absolute; top: 100%; left: -1.5rem; right: -1.5rem; z-index: 10; background: var(--paper); padding: 1.5rem; border-block: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
    .mobile-menu nav a { text-decoration: none; padding: .4rem; font-size: 1rem; }
    .article-layout { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
    .article-content { max-width: 49rem; grid-row: 2; }
    .article-aside { max-width: 40rem; grid-row: 1; }
    .aside-inner { position: static; }
    .article-aside .toc { display: none; }
    .mobile-toc { display: block; border-block: 1px solid var(--line); margin: 0 0 2.5rem; padding-block: 1rem; font-size: .8rem; }
    .mobile-toc summary { justify-content: space-between; font-weight: 600; }
    .mobile-toc ol { list-style: none; padding: .5rem 0 0; margin: 0; }
    .mobile-toc li { padding-block: .35rem; }
    .mobile-toc a { text-decoration: none; color: var(--muted); }
    .mobile-toc .toc-level-3 { padding-left: 1rem; }
    .mobile-toc .toc-level-4 { padding-left: 2rem; }
    .hero { gap: 2rem; grid-template-columns: minmax(0, 1fr) 16rem; }
    .hero-intro { font-size: .9rem; }
    .project-list, .home-guides { column-gap: 2rem; }
  }
  @media (max-width: 760px) {
    main { padding-block: 2.75rem 4rem; }
    .home-main { padding-top: 3.3rem; }
    .hero { grid-template-columns: 1fr; gap: 3rem; }
    .hero-title { font-size: clamp(3.6rem, 10.8vw, 5.6rem); }
    :is([data-locale="zh"], [data-locale="zh-tw"]) .hero-title { font-size: clamp(1.9rem, 5.5vw, 3rem); letter-spacing: -.045em; }
    .hero-eyebrow { font-size: .65rem; margin-bottom: 1.5rem; }
    .hero-intro { max-width: 29rem; font-size: .95rem; }
    .start-index { display: grid; grid-template-columns: 1fr; padding: 1.3rem; border-radius: 16px; }
    .start-index > .eyebrow { margin-bottom: .8rem; }
    .start-link { padding-block: 1.2rem; }
    .start-link h2 { font-size: 1.05rem; }
    .start-link p { margin-top: .25rem; }
    .index-footnote { display: none; }
    .start-link:last-of-type { border-bottom: 1px solid var(--line); }
    .site-stats { margin-top: 2.25rem; gap: 1rem; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 1.5rem; }
    .site-stats > div + div { padding-left: 1rem; }
    .stat-number { font-size: 1.9rem; }
    .site-stats span + span { font-size: .65rem; }
    .home-section { margin-top: 3.5rem; }
    .section-heading { display: block; margin-bottom: 1.75rem; }
    .section-heading > p, .section-heading > .text-link, .section-heading > .directory-count { margin-top: 1rem; }
    .section-heading h2 { font-size: 2rem; }
    .project-list, .home-guides { grid-template-columns: 1fr; }
    .guide-row, .project-list .guide-row { padding-block: 1.4rem; }
    .guide-row h3, .project-list .guide-row h3 { font-size: 1.1rem; }
    .guide-row p { font-size: .8rem; }
    .page-heading { margin-bottom: 2.5rem; }
    .page-heading h1 { font-size: 2.6rem; max-width: none; }
    .page-description { font-size: .94rem; }
    .breadcrumbs { margin-bottom: 1.7rem; font-size: .68rem; }
    .article-meta { font-size: .66rem; column-gap: 1.1rem; row-gap: .5rem; }
    .article-meta time { font-size: .64rem; }
    .article-disclosure { font-size: .72rem; padding: 1rem; margin-bottom: 2rem; }
    .prose { font-size: .95rem; line-height: 1.95; }
    .prose h2 { font-size: 1.65rem; margin-top: 2.75rem; }
    .prose h3 { font-size: 1.16rem; }
    .prose table { font-size: .74rem; }
    .prose th, .prose td { padding: .7rem; min-width: 6.5rem; }
    .prose pre { font-size: .73rem; padding: 1rem; }
    .provider-row { grid-template-columns: 1.7rem minmax(0, 1fr); gap: .6rem; padding-block: 1.6rem; }
    .provider-row h2 { font-size: 1.65rem; }
    .provider-row p { font-size: .82rem; }
    .provider-count { grid-column: 2; text-align: left; padding: .2rem 0 0; }
    .directory-list .guide-row h3 { font-size: 1.15rem; }
    .search-input-wrap > svg { width: 1.2rem; margin-right: .65rem; }
    .search-form input { font-size: .95rem; }
    .search-form button { padding: .6rem .85rem; margin-left: .4rem; }
    .search-form button svg { display: none; }
    .unavailable-main { grid-template-columns: 1fr; gap: 2rem; padding-block: 4rem; }
    .unavailable-number { font-size: 7rem; }
    .unavailable-main h1 { font-size: 2.5rem; }
    .footer-top { flex-direction: column; }
    .footer-top nav { gap: 1rem 1.5rem; }
    .footer-disclosure { margin-top: 1.5rem; line-height: 1.8; }
  }
  @media (max-width: 430px) {
    .header-inner, main, .site-footer { width: calc(100% - 2rem); }
    .header-inner { gap: .6rem; }
    .page-providers .provider-grid { grid-template-columns: 1fr; }
    .brand { gap: .5rem; font-size: .95rem; }
    .brand-logo { width: 2.65rem; height: 2.65rem; }
    .brand-caption { display: none; }
    .language-menu summary > svg:first-child { display: none; }
    .language-menu summary { max-width: 5.7rem; overflow: hidden; font-size: .65rem; }
    .header-tools { gap: 0; }
    .theme-toggle { width: 1.8rem; }
    .search-link { display: none; }
    .mobile-menu nav { left: -1rem; right: -1rem; }
    .mobile-menu > summary { font-size: .68rem; }
    .hero-title { font-size: 3.4rem; }
    .site-stats { gap: .6rem; }
    .site-stats > div + div { padding-left: .6rem; }
    .stat-number { font-size: 1.7rem; }
    .site-stats span + span { font-size: .6rem; }
    .guide-row { grid-template-columns: 1.5rem 1fr; gap: .5rem; }
    .guide-row h3 a { gap: .75rem; }
    .page-heading h1 { font-size: 2.3rem; }
    .breadcrumbs > span:last-child { max-width: 12rem; }
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
  }
  @media print {
    .site-header, .site-footer, .article-aside, .mobile-toc, .related, .skip-link { display: none; }
    :root { --paper: #fff; --ink: #222; --muted: #555; --line: #ddd; --accent: #222; --surface: #f6f6f6; }
    main { width: 100%; padding: 0; }
    .article-layout { display: block; }
    .page-heading h1 { font-size: 2rem; }
    .prose { font-size: 11pt; }
    .prose table { overflow: visible; width: 100%; font-size: 9pt; }
    .prose pre { white-space: pre-wrap; }
  }
}

@layer components {
  .catalog-home { padding-top: 3.75rem; }
  .catalog-home .hero { gap: 4rem; grid-template-columns: minmax(0, 1fr) 22rem; }
  .catalog-home .hero-title { font-size: clamp(3rem, 4.8vw, 4.4rem); line-height: 1.12; overflow-wrap: anywhere; }
  :is([data-locale="zh"], [data-locale="zh-tw"]) .catalog-home .hero-title { font-size: clamp(2.2rem, 3.7vw, 3.4rem); line-height: 1.45; }
  .catalog-home .hero-eyebrow { margin-bottom: 1.4rem; }
  .home-search { margin-top: 1.8rem; }
  .home-search input { font-size: .92rem; padding-block: .85rem; }
  .home-search .search-input-wrap > svg { width: 1.15rem; margin-right: .7rem; }
  .home-search button { margin-block: .2rem; }
  .quick-links { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; margin-top: .85rem; font-size: .68rem; color: var(--muted); }
  .quick-links a { color: var(--ink); text-decoration-color: var(--line); }
  .catalog-home .site-stats { margin-top: 3rem; }
  .catalog-home .home-section { margin-top: 4rem; }
  .section-intro { margin-top: -1.3rem; margin-bottom: 1.75rem; color: var(--muted); font-size: .88rem; max-width: 64ch; }
  .provider-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .provider-card { padding: 1.4rem; border: 1px solid var(--line); border-radius: 14px; background: var(--card); box-shadow: var(--shadow); }
  .provider-card:hover { border-color: var(--accent); }
  .provider-card-top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1.2rem; }
  .provider-symbol, .topic-symbol { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
  .provider-symbol svg, .topic-symbol svg { width: 1.25rem; height: 1.25rem; }
  .provider-card .provider-count { padding: 0; }
  .provider-card h2, .provider-card h3 { font-family: var(--sans); font-size: 1rem; font-weight: 650; letter-spacing: -.025em; }
  .provider-card h2 a, .provider-card h3 a { display: flex; align-items: center; justify-content: space-between; gap: .7rem; text-decoration: none; }
  .provider-card h2 svg, .provider-card h3 svg { width: 1rem; }
  .provider-domain { display: block; font: .66rem var(--mono); color: var(--muted); margin-top: .55rem; overflow-wrap: anywhere; }
  .provider-card > p { overflow-wrap: anywhere; hyphens: auto; margin-top: 1rem; font-size: .8rem; line-height: 1.7; color: var(--muted); }
  .region-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .region-card { padding: 1.35rem; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
  .region-card-heading { padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
  .region-card h3 { font: 600 1.1rem var(--sans); }
  .region-card h3 a { display: flex; align-items: center; justify-content: space-between; gap: .75rem; text-decoration: none; }
  .region-card-heading > span { display: block; color: var(--muted); font-size: .7rem; margin-top: .45rem; }
  .region-card ul { list-style: none; margin: .9rem 0 0; padding: 0; display: grid; gap: .35rem; }
  .region-card li { font-size: .8rem; }
  .region-card li a { display: flex; align-items: center; gap: .65rem; padding: .25rem 0; text-decoration: none; }
  .topic-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
  .topic-card { border-top: 2px solid var(--accent); padding-top: 1.25rem; }
  .topic-card > h3 { margin-top: .65rem; font-size: 1.15rem; font-weight: 600; }
  .topic-card > p { margin-top: .5rem; font-size: .78rem; color: var(--muted); }
  .topic-card ul { list-style: none; margin: 1.1rem 0 0; padding: 0; }
  .topic-card li + li { border-top: 1px solid var(--line); }
  .topic-card li a { display: flex; align-items: start; justify-content: space-between; gap: .6rem; font-size: .77rem; line-height: 1.65; padding-block: .65rem; text-decoration: none; }
  .topic-card li svg { width: .95rem; height: 1.2rem; margin-top: .2rem; }
  .topic-section:not(.home-section) { margin-bottom: 4rem; }
  .full-index-title { font-size: 1.6rem; font-weight: 550; margin-block: 2rem; }
  .region-jumps { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.5rem; }
  .region-jumps a { display: flex; align-items: center; gap: .75rem; padding: .55rem .85rem; border: 1px solid var(--line); border-radius: 8px; background: var(--card); text-decoration: none; font-size: .8rem; }
  .region-jumps a:hover { border-color: var(--accent); background: var(--accent-soft); }
  .region-jumps span { font: .65rem var(--mono); color: var(--muted); }
  .directory-toolbar { display: flex; align-items: center; gap: 1rem; margin-bottom: 2.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
  .directory-filter { display: flex; align-items: center; gap: .8rem; flex: 1; max-width: 30rem; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 9px; background: var(--card); }
  .directory-filter svg { width: 1rem; color: var(--muted); }
  .directory-filter input { border: 0; background: transparent; outline-offset: 3px; color: var(--ink); width: 100%; min-width: 0; font-size: .85rem; border-radius: 0; }
  .filter-clear { border: 0; background: none; font-size: .75rem; text-decoration: underline; text-underline-offset: .2em; padding: .5rem; }
  .filter-status { margin-left: auto; font-size: .75rem; color: var(--muted); }
  .location-group { margin-top: 3rem; scroll-margin-top: 2rem; }
  .location-group .section-heading { align-items: center; margin-bottom: 1.25rem; }
  .location-group h2 { font-family: var(--sans); font-size: 1.5rem; font-weight: 550; }
  .location-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; }
  .location-card { display: flex; align-items: center; gap: .75rem; padding: 1.1rem; text-decoration: none; border: 1px solid var(--line); border-radius: 10px; background: var(--card); font-size: .88rem; }
  .location-card:hover { background: var(--surface); }
  .location-card > span:nth-child(2) { flex: 1; min-width: 0; overflow-wrap: anywhere; }
  .location-card > svg { width: 1rem; }
  .location-card small { display: block; font-size: .65rem; color: var(--muted); margin-top: .2rem; }
  .country-flag { width: 1.5rem; height: 1.125rem; flex-shrink: 0; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px #64748b26; }
  .guide-language { display: inline-flex; align-items: center; gap: .35rem; font-size: .7rem; color: var(--muted); margin-top: .6rem; }
  .guide-language svg { width: .85rem; height: .85rem; }
  .related-providers { border-block: 1px solid var(--line); padding-block: 1.1rem; margin-block: 1.1rem 2rem; }
  .related-providers > .eyebrow { margin-bottom: .75rem; }
  .provider-profile-link { display: flex; justify-content: space-between; align-items: center; gap: .6rem; font-size: .8rem; text-decoration: none; }
  .provider-profile-link + .provider-profile-link { margin-top: .6rem; }
  .provider-profile-link svg { width: 1rem; }
  .profile-note { font-size: .8rem; margin-top: 1.25rem; padding: 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
}

@layer responsive {
  @media (max-width: 1100px) {
    .catalog-home .hero { gap: 2.5rem; grid-template-columns: minmax(0, 1fr) 20rem; }
    .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
    .location-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }
  @media (max-width: 760px) {
    .catalog-home { padding-top: 2.5rem; }
    .catalog-home .hero { gap: 2rem; grid-template-columns: 1fr; }
    .catalog-home .hero-title { font-size: clamp(2.35rem, 8.5vw, 3.8rem); }
    :is([data-locale="zh"], [data-locale="zh-tw"]) .catalog-home .hero-title { font-size: clamp(1.9rem, 5.3vw, 2.6rem); letter-spacing: -.04em; }
    .catalog-home .hero-intro { font-size: .88rem; }
    .catalog-home .home-section { margin-top: 3rem; }
    .home-search { margin-top: 1.4rem; padding-left: .75rem; }
    .home-search input { font-size: .8rem; }
    .quick-links { gap: .5rem .75rem; font-size: .63rem; }
    .provider-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
    .provider-card { padding: 1rem; }
    .provider-card h2, .provider-card h3 { font-size: .9rem; }
    .provider-card-top { margin-bottom: .9rem; }
    .provider-card .provider-count { font-size: .65rem; max-width: 60%; }
    .provider-symbol { width: 2rem; height: 2rem; }
    .provider-domain { font-size: .58rem; }
    .provider-card > p { font-size: .72rem; }
    .region-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
    .region-card { padding: 1rem; }
    .region-card h3 { font-size: .95rem; }
    .region-card li { font-size: .75rem; }
    .section-intro { margin-top: -.5rem; font-size: .8rem; }
    .topic-grid { gap: 1.7rem 1rem; }
    .topic-card > h3 { font-size: 1rem; }
    .topic-card > p, .topic-card li a { font-size: .73rem; }
    .location-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .location-card { gap: .5rem; padding: .8rem .6rem; font-size: .8rem; }
    .location-card small { font-size: .6rem; }
    .location-card > svg { width: .8rem; }
    .location-group .section-heading { display: flex; gap: .75rem; }
    .location-group .section-heading > .directory-count { margin: 0; }
    .location-group h2 { font-size: 1.3rem; }
    .directory-toolbar { flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
    .filter-status { width: 100%; }
    .directory-filter { max-width: none; }
    .region-jumps { gap: .4rem; }
    .region-jumps a { padding: .4rem .65rem; font-size: .75rem; }
  }
  @media (max-width: 360px) {
    .header-inner { gap: .35rem; }
    .brand { gap: .3rem; font-size: .8rem; }
    .brand-logo { width: 2.4rem; height: 2.4rem; }
    .language-menu summary > span { max-width: 3.2rem; }
    .language-menu summary { gap: .2rem; }
    .theme-toggle { width: 1.7rem; }
    .topic-grid, .region-grid { grid-template-columns: 1fr; }
    .provider-card { padding: .75rem; }
    .provider-card h2 a, .provider-card h3 a { gap: .4rem; }
  }
}

@layer components {
  .provider-logo { width: var(--provider-logo-size, 48px); height: var(--provider-logo-size, 48px); max-width: 100%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; padding: .45rem; background: #fff; border: 1px solid #dce4ed; border-radius: 10px; }
  .provider-logo--wordmark { width: calc(var(--provider-logo-size, 48px) * 2.75); }
  .provider-logo img { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: contain; }
  .prose .provider-heading-logo { vertical-align: middle; margin: 0 .65rem .25rem 0; }
  .prose .provider-heading-logo img { margin: 0; border-radius: 0; }
  .provider-card-featured { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(12rem, .65fr); align-items: center; gap: 2rem; padding: 1.75rem; border-color: var(--accent); background: var(--accent-soft); }
  .featured-brand { display: flex; flex-direction: column; align-items: center; gap: .7rem; }
  .recommendation-badge, .more-vps-badge { display: inline-flex; align-items: center; width: fit-content; font-size: .68rem; font-weight: 650; line-height: 1.5; padding: .3rem .6rem; border-radius: 6px; color: var(--accent); background: var(--card); }
  .provider-card-featured h2, .provider-card-featured h3 { font-size: 1.5rem; }
  .featured-copy p { margin-top: .75rem; color: var(--muted); font-size: .84rem; line-height: 1.7; }
  .featured-actions { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; }
  .button-primary, .more-vps-primary { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; padding: .8rem 1rem; border: 1px solid transparent; border-radius: 8px; background: var(--accent); color: var(--paper); font-size: .82rem; font-weight: 650; line-height: 1.5; text-decoration: none; }
  .button-primary:hover, .more-vps-primary:hover { filter: brightness(.93); }
  .button-primary svg, .more-vps-primary svg { width: 1rem; height: 1rem; flex-shrink: 0; }
  .recommendation-disclosure, .more-vps-disclosure { font-size: .7rem; line-height: 1.6; color: var(--muted); }
  .provider-intro { display: flex; align-items: flex-start; gap: 2rem; margin-bottom: 2rem; }
  .provider-intro .provider-summary { margin: 0; }
  .provider-summary > .recommendation-badge { margin-bottom: 1rem; }
  .provider-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem; }
  .provider-summary .recommendation-disclosure { margin-top: .7rem; }
  .provider-facts { margin-top: 2rem; max-width: 60rem; }
  .provider-facts h2 { font-size: 1.5rem; }
  .provider-facts dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.25rem; }
  .provider-facts dl > div { border: 1px solid var(--line); border-radius: 12px; padding: 1.25rem; background: var(--card); }
  .provider-facts dt { font-size: .8rem; font-weight: 650; margin-bottom: .6rem; }
  .provider-facts dd { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.7; }
  .provider-facts h3 { font-size: 1rem; margin-block: 2rem 1rem; }
  .provider-facts ul { padding-left: 1.25rem; }
  .provider-facts li + li { margin-top: .75rem; }
  .provider-facts a { overflow-wrap: anywhere; }
  .provider-profile-link > span:not(.provider-logo) { flex: 1; }
  .more-vps { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
  .more-vps-heading { font-size: 1.6rem; line-height: 1.35; }
  .more-vps-intro { color: var(--muted); font-size: .85rem; margin-top: .75rem; }
  .more-vps-featured { margin-top: 1.5rem; padding: 1.5rem; border: 1px solid var(--accent); border-radius: 14px; background: var(--accent-soft); }
  .more-vps-featured-heading { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; }
  .more-vps-featured-heading h3 { font-size: 1.25rem; }
  .more-vps-reason { margin-top: .9rem; color: var(--muted); font-size: .85rem; line-height: 1.7; }
  .more-vps-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; margin-top: 1.1rem; }
  .more-vps-secondary { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; text-underline-offset: .25em; }
  .more-vps-disclosure { margin-top: .8rem; }
  .more-vps-regions { display: grid; gap: .65rem; margin-top: 1.5rem; }
  .more-vps-region, .more-vps-legacy { border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
  .more-vps-region > summary, .more-vps-legacy > summary { cursor: pointer; padding: 1rem; font-size: .85rem; font-weight: 650; }
  .more-vps-region > summary, .more-vps-legacy > summary { display: flex; align-items: center; gap: .5rem; list-style: none; }
  .more-vps-region > summary::-webkit-details-marker, .more-vps-legacy > summary::-webkit-details-marker { display: none; }
  .more-vps-region > summary > svg, .more-vps-legacy > summary > svg { margin-left: auto; width: 1rem; }
  .more-vps-region[open] > summary > svg, .more-vps-legacy[open] > summary > svg { transform: rotate(180deg); }
  .more-vps-region > summary > span.directory-count { margin-left: .5rem; font-size: .7rem; font-weight: 400; color: var(--muted); }
  .more-vps-region-links, .more-vps-legacy-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; list-style: none; padding: 0 1rem 1rem; margin: 0; }
  .more-vps-location { display: flex; align-items: center; gap: .55rem; padding: .45rem; border-radius: 6px; font-size: .8rem; text-decoration: none; }
  .more-vps-location:hover { background: var(--surface); }
  .more-vps-location > span { min-width: 0; overflow-wrap: anywhere; }
  .more-vps-location[aria-current="page"] { background: var(--accent-soft); color: var(--accent); }
  .more-vps-legacy { margin-top: .65rem; }
  .more-vps-legacy-links a { font-size: .75rem; overflow-wrap: anywhere; }
  .more-vps-legacy-fragment { padding: 0 1rem 1rem; font-size: .8rem; line-height: 1.7; overflow-wrap: anywhere; }
  .more-vps-legacy-fragment p + p { margin-top: .75rem; }
  .more-vps-legacy-fragment a { color: var(--accent); text-underline-offset: .2em; }
  .more-vps-anchor { display: block; scroll-margin-top: 2rem; }
}

@layer responsive {
  @media (max-width: 760px) {
    .provider-card-featured { grid-template-columns: auto minmax(0, 1fr); gap: 1rem; padding: 1.25rem; }
    .featured-actions { grid-column: 1 / -1; }
    .featured-actions .button-primary { width: 100%; }
    .provider-intro { gap: 1rem; }
    .provider-intro > .provider-logo { --provider-logo-size: 64px !important; }
    .provider-facts dl { grid-template-columns: 1fr; }
    .more-vps-region-links, .more-vps-legacy-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .more-vps-featured { padding: 1rem; }
    .more-vps-actions { align-items: stretch; flex-direction: column; gap: .8rem; }
    .more-vps-secondary { align-self: flex-start; }
  }
  @media (max-width: 430px) {
    .provider-card-top { flex-wrap: wrap; }
    .provider-intro { flex-direction: column; }
    .provider-card-featured { grid-template-columns: 1fr; }
    .featured-brand { flex-direction: row; justify-content: flex-start; flex-wrap: wrap; }
    .more-vps-region-links, .more-vps-legacy-links { gap: .3rem; padding-inline: .5rem; }
    .more-vps-location { font-size: .75rem; gap: .4rem; }
  }
}
