@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap");

/* Residential Rotating Proxy — design system
   Palette (approved, only these): green #04B962, white #fff, red #C12E04, charcoal #242526.
   Type: Plus Jakarta Sans (display / headings) + Inter (UI + body).
   No gradient text anywhere. Body text on white = charcoal. */

@layer reset, tokens, base, layout, components, utilities;

/* ---------- tokens ---------- */
@layer tokens {
  :root {
    --green: #04B962;
    --green-700: #02914b;
    --green-600: #03a556;
    --green-100: #d5f5e5;
    --green-050: #eafaf1;
    --red: #C12E04;
    --red-050: #fbeae6;
    --charcoal: #242526;
    --charcoal-900: #1b1c1d;
    --charcoal-800: #34363a;
    --charcoal-600: #55585f;
    --charcoal-400: #83878f;
    --white: #ffffff;

    --ink: var(--charcoal);
    --ink-soft: var(--charcoal-600);
    --ink-faint: var(--charcoal-400);

    --bg: #ffffff;
    --bg-alt: #f7f9f8;
    --bg-sink: #eef2f0;
    --surface: #ffffff;

    --line: rgba(36, 37, 38, 0.10);
    --line-strong: rgba(36, 37, 38, 0.20);
    --ring: color-mix(in srgb, var(--green) 55%, transparent);

    --shadow-xs: 0 1px 2px rgba(36, 37, 38, 0.05);
    --shadow-sm: 0 1px 2px rgba(36, 37, 38, 0.05), 0 2px 6px rgba(36, 37, 38, 0.05);
    --shadow-md: 0 6px 16px -4px rgba(36, 37, 38, 0.10), 0 3px 6px -2px rgba(36, 37, 38, 0.06);
    --shadow-lg: 0 20px 48px -14px rgba(36, 37, 38, 0.20), 0 6px 14px -6px rgba(36, 37, 38, 0.10);
    --shadow-green: 0 10px 26px -8px color-mix(in srgb, var(--green) 55%, transparent);

    --r-xs: 6px;
    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 28px;

    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-display: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;

    --step--2: clamp(0.74rem, 0.72rem + 0.1vw, 0.79rem);
    --step--1: clamp(0.84rem, 0.81rem + 0.15vw, 0.92rem);
    --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.06rem);
    --step-1: clamp(1.16rem, 1.08rem + 0.42vw, 1.34rem);
    --step-2: clamp(1.4rem, 1.24rem + 0.8vw, 1.78rem);
    --step-3: clamp(1.72rem, 1.44rem + 1.4vw, 2.45rem);
    --step-4: clamp(2.1rem, 1.62rem + 2.4vw, 3.4rem);

    --wrap: 1180px;
    --wrap-narrow: 780px;
    --gap: clamp(1rem, 0.7rem + 1.3vw, 1.75rem);
    --section-y: clamp(3rem, 2rem + 4vw, 5.5rem);
    --header-h: 72px;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  }
}

/* ---------- reset ---------- */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  * { margin: 0; }
  html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  }
  body { min-height: 100vh; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
  img, picture, svg, video { display: block; max-width: 100%; }
  input, button, textarea, select { font: inherit; color: inherit; }
  a { color: inherit; }
  ul, ol { padding: 0; }
  :where(h1, h2, h3, h4) { line-height: 1.15; text-wrap: balance; text-transform: capitalize; }
  p { text-wrap: pretty; }
}

/* ---------- base ---------- */
@layer base {
  body {
    font-family: var(--font);
    font-size: var(--step-0);
    color: var(--ink);
    background: var(--bg);
    font-feature-settings: "cv02", "cv03", "cv04", "ss01";
  }
  h1, h2, h3, h4, h5 { font-family: var(--font-display); }
  h1 { font-size: var(--step-4); letter-spacing: -0.033em; font-weight: 800; line-height: 1.06; }
  h2 { font-size: var(--step-3); letter-spacing: -0.026em; font-weight: 800; line-height: 1.12; }
  h3 { font-size: var(--step-1); letter-spacing: -0.017em; font-weight: 700; line-height: 1.25; }
  h4 { font-size: var(--step-0); letter-spacing: -0.012em; font-weight: 700; }
  a { color: var(--green-700); text-underline-offset: 0.2em; text-decoration-thickness: 1px; transition: color 0.18s var(--ease-soft); }
  a:hover { color: var(--charcoal); }
  :focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 6px; }
  ::selection { background: color-mix(in srgb, var(--green) 28%, transparent); }
  code, kbd, pre { font-family: var(--mono); font-size: 0.9em; }
  pre { background: var(--charcoal); color: #eef2f0; padding: 1.1rem 1.25rem; border-radius: var(--r-md); overflow-x: auto; line-height: 1.6; }
  pre code { color: inherit; }
  :not(pre) > code { background: var(--bg-sink); padding: 0.14em 0.42em; border-radius: 5px; color: var(--charcoal-800); font-weight: 500; }
  table { border-collapse: collapse; width: 100%; }
  hr { border: none; border-top: 1px solid var(--line); margin: 2.4rem 0; }

  /* tasteful custom scrollbars */
  * { scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
  *::-webkit-scrollbar { width: 10px; height: 10px; }
  *::-webkit-scrollbar-track { background: transparent; }
  *::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 999px; border: 3px solid var(--white); }
  *::-webkit-scrollbar-thumb:hover { background: var(--charcoal-400); }
}

/* ---------- layout ---------- */
@layer layout {
  .wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
  .wrap-narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }
  .section { padding-block: var(--section-y); }
  .section-alt { background: var(--bg-alt); }
  .section-sink { background: var(--bg-sink); }
  .stack > * + * { margin-top: var(--gap); }
  .grid { display: grid; gap: var(--gap); }
  .cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
  .cols-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
  .cols-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
}

/* ---------- components ---------- */
@layer components {
  /* skip + a11y */
  .skip-link { position: fixed; top: -100px; left: 12px; z-index: 200; background: var(--charcoal); color: #fff; padding: 0.7rem 1.1rem; border-radius: 0 0 var(--r-sm) var(--r-sm); transition: top 0.18s var(--ease); font-weight: 600; }
  .skip-link:focus { top: 0; color: #fff; }
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

  /* ---------- buttons ---------- */
  .btn {
    --btn-bg: var(--charcoal); --btn-fg: #fff;
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.55ch;
    padding: 0.72rem 1.2rem; border-radius: 999px; border: 1px solid transparent;
    background: var(--btn-bg); color: var(--btn-fg);
    font-family: var(--font); font-weight: 650; font-size: var(--step--1); letter-spacing: -0.006em;
    text-decoration: none; cursor: pointer; line-height: 1; white-space: nowrap;
    transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background-color 0.22s var(--ease-soft), border-color 0.22s var(--ease-soft), color 0.22s var(--ease-soft);
  }
  .btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--btn-fg); }
  .btn:active { transform: translateY(0); box-shadow: var(--shadow-xs); }
  .btn:disabled, .btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
  .btn svg { width: 1.08em; height: 1.08em; flex: none; transition: transform 0.24s var(--ease); }
  /* trailing arrows nudge forward on hover */
  .btn:hover svg:last-child:not(:first-child) { transform: translateX(3px); }
  .btn:hover svg:first-child:not(:last-child) { transform: translateX(-1px) scale(1.06); }

  .btn-primary { --btn-bg: var(--green); --btn-fg: var(--charcoal); font-weight: 720; }
  .btn-primary:hover { --btn-bg: var(--green-600); box-shadow: var(--shadow-green); }
  .btn-ghost { --btn-bg: var(--white); --btn-fg: var(--charcoal); border-color: var(--line-strong); }
  .btn-ghost:hover { --btn-bg: var(--bg-alt); --btn-fg: var(--charcoal); border-color: var(--green); }
  .btn-dark:hover { --btn-bg: var(--charcoal-900); }
  .btn-danger { --btn-bg: var(--red); --btn-fg: #fff; }
  .btn-lg { padding: 0.95rem 1.6rem; font-size: var(--step-0); font-weight: 700; }
  .btn-sm { padding: 0.5rem 0.9rem; font-size: var(--step--2); }
  .btn-block { width: 100%; }

  /* ---------- header ---------- */
  .site-header {
    position: sticky; top: 0; z-index: 100;
    background: color-mix(in srgb, var(--white) 82%, transparent);
    backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.28s var(--ease-soft), background-color 0.28s var(--ease-soft), border-color 0.28s var(--ease-soft);
  }
  .site-header.is-scrolled { background: color-mix(in srgb, var(--white) 94%, transparent); box-shadow: 0 6px 22px -14px rgba(36,37,38,0.34); border-bottom-color: transparent; }

  .header-inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }

  .brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--charcoal); font-weight: 700; flex: none; transition: opacity 0.2s var(--ease-soft); }
  .brand:hover { color: var(--charcoal); opacity: 0.85; }
  .brand-mark { display: grid; place-items: center; width: 40px; height: 40px; background: url("../img/site-icon.png") center / contain no-repeat; color: var(--charcoal); transition: transform 0.4s var(--ease); }
  .brand-mark svg { display: none; }
  .brand:hover .brand-mark { transform: rotate(-18deg) scale(1.06); }
  .brand-word { font-family: var(--font-display); font-size: 1.04rem; font-weight: 700; letter-spacing: -0.03em; white-space: nowrap; }
  .brand-word strong { color: var(--green-700); font-weight: 800; }

  .primary-nav { margin-left: auto; }
  .nav-list { list-style: none; display: flex; align-items: center; gap: 0.15rem; }
  .nav-list a {
    position: relative; display: inline-flex; align-items: center; gap: 0.45ch;
    padding: 0.6rem 0.85rem; border-radius: 10px; text-decoration: none;
    color: var(--charcoal-800); font-weight: 600; font-size: var(--step--1); letter-spacing: -0.008em;
    transition: color 0.22s var(--ease-soft), background-color 0.22s var(--ease-soft);
    isolation: isolate;
  }
  /* smooth background wash that grows from the centre on hover */
  .nav-list a::before {
    content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
    background: var(--bg-sink);
    transform: scale(0.86); opacity: 0;
    transition: transform 0.28s var(--ease), opacity 0.22s var(--ease-soft);
  }
  .nav-list a:hover::before, .nav-list a:focus-visible::before { transform: scale(1); opacity: 1; }
  .nav-list a:hover { color: var(--charcoal); }
  /* animated underline indicator */
  .nav-list a::after {
    content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.3rem; height: 2px;
    border-radius: 2px; background: var(--green);
    transform: scaleX(0); transform-origin: center; opacity: 0;
    transition: transform 0.3s var(--ease), opacity 0.2s var(--ease-soft);
  }
  .nav-list a:hover::after { transform: scaleX(1); opacity: 1; }
  .nav-list a[aria-current="page"] { color: var(--green-700); }
  .nav-list a[aria-current="page"]::before { background: var(--green-050); transform: scale(1); opacity: 1; }
  .nav-list a[aria-current="page"]::after { transform: scaleX(1); opacity: 1; }
  .nav-list a svg { width: 1.05em; height: 1.05em; opacity: 0.72; transition: opacity 0.22s var(--ease-soft), transform 0.28s var(--ease); }
  .nav-list a:hover svg { opacity: 1; transform: translateY(-1px); }
  .nav-list a[aria-current="page"] svg { opacity: 1; }

  .header-cta { margin-left: 0.6rem; flex: none; }
  .nav-cta-mobile { display: none; }

  .nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--white); cursor: pointer; align-items: center; justify-content: center; flex: none; transition: background-color 0.2s var(--ease-soft), border-color 0.2s var(--ease-soft); }
  .nav-toggle:hover { background: var(--bg-sink); border-color: var(--green); }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; display: block; width: 20px; height: 2px; background: var(--charcoal); border-radius: 2px; position: relative; transition: transform 0.28s var(--ease), opacity 0.2s var(--ease-soft); }
  .nav-toggle-bars::before { position: absolute; top: -6px; }
  .nav-toggle-bars::after { position: absolute; top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

  /* --- mobile navigation --- */
  @media (max-width: 900px) {
    /* backdrop-filter makes an element a containing block for fixed-position
       descendants, which would trap the drop-down menu inside the 72px header.
       Drop it here and use an opaque bar instead. */
    .site-header, .site-header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--white); }
    .nav-toggle { display: inline-flex; }
    .header-cta { display: none; }
    .nav-cta-mobile { display: block; margin-top: 0.5rem; }
    .nav-cta-mobile .btn { width: 100%; }
    .primary-nav { margin-left: auto; }
    .nav-list {
      position: fixed; inset: var(--header-h) 0 0 0;
      flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0.2rem;
      background: var(--white); padding: 1.25rem clamp(1.25rem, 5vw, 2rem) 2.5rem;
      overflow-y: auto; border-top: 1px solid var(--line);
      opacity: 0; visibility: hidden; transform: translateY(-10px);
      transition: opacity 0.26s var(--ease-soft), transform 0.32s var(--ease), visibility 0.26s;
    }
    body.nav-open .nav-list { opacity: 1; visibility: visible; transform: translateY(0); }
    .nav-list a { padding: 0.9rem 1rem; border-radius: 12px; font-size: var(--step-0); }
    .nav-list a::after { display: none; }
    .nav-list li { border-bottom: 1px solid var(--line); }
    .nav-list li:last-child, .nav-list li.nav-cta-mobile { border-bottom: none; }
  }

  /* ---------- hero ---------- */
  .hero {
    position: relative; overflow: hidden;
    padding-block: clamp(2.75rem, 1.75rem + 5vw, 5.5rem);
    background:
      radial-gradient(80% 90% at 88% -20%, color-mix(in srgb, var(--green) 16%, transparent), transparent 60%),
      radial-gradient(60% 70% at 0% 100%, var(--green-050), transparent 62%),
      var(--white);
  }
  /* faint dot grid for depth */
  .hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(circle, rgba(36,37,38,0.055) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(75% 70% at 50% 30%, #000, transparent 78%);
            mask-image: radial-gradient(75% 70% at 50% 30%, #000, transparent 78%);
  }
  .hero > * { position: relative; }
  .hero-grid { display: grid; gap: clamp(2rem, 1rem + 4vw, 3.75rem); grid-template-columns: 1fr; align-items: center; }
  /* grid/flex children default to min-width:auto, which lets the intrinsic
     width of the hero artwork force horizontal overflow on small screens */
  .hero-grid > * { min-width: 0; }
  @media (min-width: 940px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; } }

  .eyebrow {
    display: inline-flex; align-items: center; gap: 0.55ch;
    font-family: var(--font); font-size: var(--step--2); font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase;
    color: var(--green-700); background: var(--green-050);
    border: 1px solid color-mix(in srgb, var(--green) 22%, transparent);
    padding: 0.4rem 0.85rem; border-radius: 999px;
  }
  .eyebrow svg { width: 1.15em; height: 1.15em; flex: none; }

  .hero h1 { margin-top: 1.1rem; }
  .hero h1 em { font-style: normal; color: var(--green-700); }
  .comparison-detail-page .hero h1 .focus-keyword { color: var(--charcoal); }
  .comparison-detail-page .hero h1 .comparison-title-vs { color: var(--green-700); }
  @media (min-width: 940px) {
    .home-hero-title { width: max-content; max-width: none; }
    .home-hero-title > span { display: block; }
  }
  .hero p { font-size: 1.0625rem; }
  .hero-lead { font-size: var(--step-1); color: var(--ink-soft); margin-top: 1.15rem; max-width: 46ch; line-height: 1.6; }
  .hero-lead .focus-keyword { color: inherit; font-weight: 650; text-decoration: none; }
  .hero-lead .focus-keyword:hover { color: var(--green-700); }
  .hero-ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.75rem; }
  .hero-quick { margin-top: 1.9rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: color-mix(in srgb, var(--white) 92%, transparent); backdrop-filter: blur(6px); box-shadow: var(--shadow-md); }
  .hero-quick > p { display: flex; align-items: center; gap: 0.5ch; font-size: var(--step--1); color: var(--charcoal-800); margin-bottom: 0.85rem; font-weight: 700; }
  .hero-quick > p svg { width: 1.15em; height: 1.15em; color: var(--green-700); flex: none; }

  /* hero trust row */
  .hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.4rem; margin-top: 1.5rem; font-size: var(--step--1); color: var(--ink-soft); font-weight: 550; }
  .hero-trust span { display: inline-flex; align-items: center; gap: 0.5ch; }
  .hero-trust svg { width: 1.1em; height: 1.1em; color: var(--green-600); flex: none; }

  /* hero visual */
  .hero-visual { position: relative; display: grid; place-items: center; min-width: 0; }
  .hero-visual svg, .hero-visual img { width: 100%; max-width: min(100%, 540px); height: auto; filter: drop-shadow(0 24px 44px rgba(4, 185, 98, 0.18)); }
  /* names the provider on the hero ring coin under the pointer */
  .hn-tip {
    position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none;
    transform: translate(-50%, -100%);
    padding: 0.3rem 0.62rem; border-radius: 999px;
    background: var(--charcoal); color: #fff;
    font-size: var(--step--2); font-weight: 650; line-height: 1.35; white-space: nowrap;
    box-shadow: var(--shadow-md);
    opacity: 0; visibility: hidden; transition: opacity 0.16s ease;
  }
  .hn-tip.is-on { opacity: 1; visibility: visible; }
  @media (prefers-reduced-motion: reduce) { .hn-tip { transition: none; } }

  /* ---------- quick selector ---------- */
  /* Both selects, the "vs" and the submit button share one control height and
     are all bottom-aligned, so they sit on a single line with matching tops
     and the "vs" is centred against the select boxes (not the labels). */
  .quick-selector { --qs-h: 48px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.6rem 0.85rem; }
  .qs-field { flex: 1 1 170px; display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
  .qs-field label { font-size: var(--step--2); font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.25; }
  .qs-field select { height: var(--qs-h); padding-block: 0; }
  .quick-selector .btn { height: var(--qs-h); padding-inline: 1.4rem; flex: none; }
  .qs-field select, .field select {
    padding: 0.72rem 2.2rem 0.72rem 0.85rem; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background-color: var(--white);
    font-size: var(--step--1); font-weight: 550; cursor: pointer;
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2355585f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 0.7rem center; background-size: 1.05em;
    transition: border-color 0.2s var(--ease-soft), box-shadow 0.2s var(--ease-soft);
  }
  .qs-field select:hover { border-color: var(--charcoal-400); }
  .qs-field select:focus { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-050); outline: none; }
  .qs-vs {
    align-self: flex-end; height: var(--qs-h); display: inline-grid; place-items: center; padding: 0; flex: none;
    font-family: var(--font-display); font-weight: 800; color: var(--ink-faint);
    font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.08em; line-height: 1;
  }
  .qs-error { flex-basis: 100%; color: var(--red); font-size: var(--step--1); font-weight: 650; display: flex; align-items: center; gap: 0.5ch; margin-top: 0.1rem; }

  /* narrow screens: stack the controls full width, keep the spacing even */
  @media (max-width: 560px) {
    .qs-field { flex: 1 1 100%; }
    .qs-vs { flex: 1 1 100%; height: auto; padding: 0.1rem 0; }
    .quick-selector .btn { flex: 1 1 100%; width: 100%; }
  }

  /* ---------- facts strip ---------- */
  .facts-strip { display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
  .fact { background: var(--surface); padding: 1.6rem 1.2rem; text-align: center; transition: background-color 0.25s var(--ease-soft); }
  .fact:hover { background: var(--green-050); }
  .fact-num { font-family: var(--font-display); font-size: var(--step-3); font-weight: 800; color: var(--green-700); letter-spacing: -0.035em; line-height: 1; }
  .fact-label { font-size: var(--step--1); color: var(--ink-soft); margin-top: 0.45rem; font-weight: 550; }

  /* ---------- section heading ---------- */
  .section-head { max-width: 62ch; margin-bottom: clamp(1.75rem, 1rem + 2.2vw, 2.85rem); }
  .section-head .eyebrow { margin-bottom: 0.9rem; }
  .section-head p { color: var(--ink-soft); margin-top: 0.8rem; font-size: 1.0625rem; line-height: 1.6; }
  .section-head--center { margin-inline: auto; text-align: center; }
  .section-head--center .eyebrow { margin-inline: auto; }
  :where(main h1, main h2, main h3) { word-spacing: 0.08em; }
  main h2 { margin-bottom: 0.75rem; }
  main h3 { margin-bottom: 0.55rem; }

  /* ---------- cards ---------- */
  .card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease-soft); }
  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--green) 34%, transparent); }
  .card-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--green-050); color: var(--green-700); margin-bottom: 1.1rem; transition: background-color 0.3s var(--ease-soft), transform 0.35s var(--ease); }
  .card:hover .card-icon { background: var(--green); color: var(--charcoal); transform: scale(1.06) rotate(-5deg); }
  .card-icon svg { width: 22px; height: 22px; }
  .card h3 { margin-bottom: 0.55rem; }
  .card p { color: var(--ink-soft); font-size: var(--step--1); line-height: 1.65; }

  /* pick cards (best-for) */
  .pick-card { display: flex; flex-direction: column; gap: 0.6rem; }
  .pick-card .pick-tag { font-size: var(--step--2); font-weight: 700; color: var(--green-700); text-transform: uppercase; letter-spacing: 0.05em; }
  .pick-card .pick-name { font-family: var(--font-display); font-size: var(--step-1); font-weight: 750; }

  /* ---------- provider card ---------- */
  .provider-card { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.55rem; display: flex; flex-direction: column; gap: 1.05rem; box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease-soft); }
  .provider-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--green) 34%, transparent); }
  .provider-card-head { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
  .provider-card-meta { flex: 1; min-width: 0; }
  .provider-card-meta h3 { font-size: var(--step-1); letter-spacing: -0.02em; }
  .provider-card-meta h3 a { text-decoration: none; color: var(--charcoal); transition: color 0.2s var(--ease-soft); }
  .provider-card-meta h3 a:hover { color: var(--green-700); }
  .provider-card-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.45rem; }
  .provider-card-summary { color: var(--ink-soft); font-size: var(--step--1); line-height: 1.6; }
  .provider-card-facts { display: grid; gap: 0.55rem; }
  .provider-card-facts > div { display: grid; grid-template-columns: 84px 1fr; gap: 0.6rem; font-size: var(--step--1); align-items: start; }
  .provider-card-facts dt { color: var(--ink-faint); font-weight: 650; font-size: var(--step--2); text-transform: uppercase; letter-spacing: 0.04em; padding-top: 0.12em; }
  .provider-card-facts dd { color: var(--charcoal-800); line-height: 1.55; }
  .provider-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: auto; padding-top: 0.85rem; border-top: 1px solid var(--line); }

  /* ---------- brand marks / logos ---------- */
  .brand-chip { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--charcoal); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1rem; flex: none; }
  .brand-logo {
    width: 58px; height: 58px; flex: none; border: 1px solid var(--line); border-radius: 16px; object-fit: contain;
    background: var(--white); box-shadow: 0 2px 8px rgba(36,37,38,0.1);
    transition: transform 0.35s var(--ease), box-shadow 0.3s var(--ease);
  }
  .provider-card:hover .brand-logo, .vs-card:hover .brand-logo { transform: scale(1.07) rotate(-4deg); box-shadow: var(--shadow-md); }
  .brand-logo--lg { width: 76px; height: 76px; border-radius: 20px; }
  .brand-logo--sm { width: 34px; height: 34px; border-radius: 10px; }
  /* provider profile masthead: give the mark presence next to the big H1 */
  .hero .vs-hero .brand-logo { width: 88px; height: 88px; border-radius: 24px; box-shadow: var(--shadow-md); }
  @media (max-width: 620px) { .hero .vs-hero .brand-logo { width: 68px; height: 68px; border-radius: 19px; } }

  /* ---------- badges + pills ---------- */
  .badge { display: inline-flex; align-items: center; gap: 0.38ch; font-size: 0.73rem; font-weight: 700; padding: 0.24rem 0.6rem; border-radius: 999px; letter-spacing: 0.005em; line-height: 1.4; }
  .badge svg { width: 1.05em; height: 1.05em; }
  .badge-ok { background: var(--green-050); color: var(--green-700); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--green) 22%, transparent); }
  .badge-warn { background: var(--red-050); color: var(--red); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--red) 18%, transparent); }
  .badge-danger { background: var(--red); color: #fff; }
  .badge-muted { background: var(--bg-sink); color: var(--ink-soft); }
  .tier-tag { font-size: 0.72rem; font-weight: 700; padding: 0.24rem 0.6rem; border-radius: 999px; background: var(--bg-sink); color: var(--charcoal-800); text-transform: capitalize; line-height: 1.4; }
  .score-pill { display: inline-grid; place-items: center; min-width: 56px; padding: 0.45rem 0.55rem; border-radius: 14px; background: var(--charcoal); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; line-height: 1; flex: none; }
  .score-pill small { font-weight: 600; opacity: 0.7; font-size: 0.62rem; }
  .score-pill--na { background: var(--bg-sink); color: var(--ink-soft); font-size: 0.72rem; font-weight: 700; min-width: auto; padding: 0.4rem 0.75rem; border-radius: 999px; }

  .compare-check { display: inline-flex; align-items: center; gap: 0.5ch; font-size: var(--step--1); font-weight: 600; color: var(--ink-soft); cursor: pointer; user-select: none; padding: 0.35rem 0.6rem; border-radius: 999px; transition: background-color 0.2s var(--ease-soft), color 0.2s var(--ease-soft); }
  .compare-check:hover { background: var(--bg-sink); color: var(--charcoal); }
  .compare-check input { width: 17px; height: 17px; accent-color: var(--green-600); cursor: pointer; }

  .yes { color: var(--green-700); display: inline-flex; align-items: center; gap: 0.35ch; font-weight: 650; }
  .no { color: var(--ink-faint); display: inline-flex; align-items: center; gap: 0.35ch; }
  .npd { color: var(--ink-faint); font-style: italic; border-bottom: 1px dotted var(--ink-faint); cursor: help; }

  /* ---------- breadcrumbs ---------- */
  .breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.5rem; font-size: var(--step--1); color: var(--ink-faint); padding: 0.9rem 0 1.1rem; }
  .breadcrumbs li { display: inline-flex; align-items: center; gap: 0.5rem; }
  .breadcrumbs li + li::before { content: "/"; color: var(--line-strong); font-weight: 600; }
  .breadcrumbs a { text-decoration: none; color: var(--ink-soft); font-weight: 550; transition: color 0.2s var(--ease-soft); }
  .breadcrumbs a:hover { color: var(--green-700); }
  .breadcrumbs [aria-current="page"] { color: var(--charcoal); font-weight: 650; }

  /* ---------- tables ---------- */
  .table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); -webkit-overflow-scrolling: touch; background: var(--surface); box-shadow: var(--shadow-sm); }
  table.data { font-size: var(--step--1); }
  table.data caption { text-align: left; padding: 1rem 1.15rem; font-family: var(--font-display); font-weight: 750; font-size: var(--step-0); color: var(--charcoal); background: var(--bg-alt); border-bottom: 1px solid var(--line); letter-spacing: -0.015em; }
  table.data th, table.data td { padding: 0.85rem 1.05rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.55; }
  table.data thead th { background: var(--bg-alt); font-weight: 700; font-size: var(--step--2); text-transform: uppercase; letter-spacing: 0.05em; color: var(--charcoal-800); position: sticky; top: 0; z-index: 1; white-space: nowrap; }
  table.data tbody tr { transition: background-color 0.18s var(--ease-soft); }
  table.data tbody tr:hover { background: var(--green-050); }
  table.data tbody tr:last-child th, table.data tbody tr:last-child td { border-bottom: none; }
  table.data th[scope="row"] { font-weight: 650; color: var(--charcoal-800); white-space: nowrap; background: color-mix(in srgb, var(--bg-alt) 55%, transparent); }

  /* ---------- prose ---------- */
  .prose { max-width: 72ch; font-size: 1.0625rem; line-height: 1.75; }
  .prose > * + * { margin-top: 1.15rem; }
  .prose h2 { margin-top: 2.75rem; padding-top: 0.4rem; }
  .prose h3 { margin-top: 2rem; }
  .prose h2 + p, .prose h3 + p { margin-top: 0.85rem; }
  .prose ul, .prose ol { padding-left: 1.35rem; }
  .prose li + li { margin-top: 0.45rem; }
  .prose li::marker { color: var(--green-600); }
  .prose a { font-weight: 600; }
  .prose blockquote { border-left: 3px solid var(--green); padding: 0.5rem 0 0.5rem 1.2rem; color: var(--ink-soft); font-style: italic; }
  .prose table { margin-block: 1.4rem; }
  .prose strong { font-weight: 700; color: var(--charcoal); }

  /* ---------- long-form page rhythm ---------- */
  :where(.provider-page, .article-page) main > .section { padding-block: clamp(2.2rem, 1.5rem + 2.7vw, 4.25rem); }
  :where(.provider-page, .article-page) main > .section > :where(.wrap, .wrap-narrow) {
    width: min(100% - 2.5rem, var(--wrap)); max-width: var(--wrap); padding: clamp(1.35rem, 1rem + 1.5vw, 2.35rem);
    border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--shadow-sm);
  }
  :where(.provider-page, .article-page) main > .section-alt > :where(.wrap, .wrap-narrow) { background: var(--white); }
  :where(.provider-page, .article-page) main > .section :where(p, ul, ol, table, .callout, .faq) + :where(h2, h3) { margin-top: 2.4rem; }
  :where(.provider-page, .article-page) main > .section h2 + p { margin-top: 0.65rem; }
  :where(.provider-page, .article-page) main > .section p + p { margin-top: 1rem; }
  :where(.provider-page, .article-page) .table-scroll { margin-top: 1rem; }

  /* ---------- callouts ---------- */
  .callout { border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: var(--r-md); padding: 1.2rem 1.35rem; background: var(--bg-alt); }
  .callout--warn { border-left-color: var(--red); background: var(--red-050); }
  .callout h4 { display: flex; align-items: center; gap: 0.55ch; margin-bottom: 0.5rem; }
  .callout h4 svg { width: 1.15em; height: 1.15em; color: var(--green-700); flex: none; }
  .callout--warn h4 svg { color: var(--red); }
  .callout p { color: var(--ink-soft); font-size: var(--step--1); line-height: 1.65; }

  /* ---------- pros/cons ---------- */
  .proscons { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
  .proscons-col { border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.25rem 1.35rem; background: var(--surface); }
  .proscons-col h4 { display: flex; align-items: center; gap: 0.55ch; margin-bottom: 0.8rem; }
  .proscons-col ul { list-style: none; display: grid; gap: 0.6rem; }
  .proscons-col li { display: flex; gap: 0.65ch; font-size: var(--step--1); color: var(--charcoal-800); line-height: 1.6; }
  .proscons-col li svg { width: 1.1em; height: 1.1em; }
  .proscons-col.pros svg { color: var(--green-700); flex: none; margin-top: 0.24em; }
  .proscons-col.cons svg { color: var(--red); flex: none; margin-top: 0.24em; }

  /* ---------- filters / directory ---------- */
  .filter-layout { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
  @media (min-width: 900px) { .filter-layout { grid-template-columns: 290px minmax(0, 1fr); align-items: start; } }

  .filter-panel { min-width: 0; max-width: 100%; overflow-x: hidden; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); padding: 1.35rem; box-shadow: var(--shadow-sm); }
  @media (min-width: 900px) {
    .filter-panel {
      position: sticky; top: calc(var(--header-h) + 16px);
      max-height: calc(100vh - var(--header-h) - 40px);
      display: flex; flex-direction: column;
    }
    .filter-panel-scroll { min-width: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; margin: 0; padding: 0 0.5rem 0 0; flex: 1 1 auto; scrollbar-width: none; -ms-overflow-style: none; }
    .filter-panel-scroll::-webkit-scrollbar { display: none; width: 0; height: 0; }
  }
  .filter-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.9rem; }
  .filter-panel-head h2 { font-size: var(--step-0); font-weight: 750; letter-spacing: -0.015em; display: flex; align-items: center; gap: 0.5ch; }
  .filter-panel-head h2 svg { width: 1.1em; height: 1.1em; color: var(--green-700); }

  /* search bar */
  .filter-search { position: relative; display: flex; align-items: center; gap: 0.55ch; border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.6rem 0.95rem; margin-bottom: 1.1rem; background: var(--white); transition: border-color 0.2s var(--ease-soft), box-shadow 0.2s var(--ease-soft); }
  .filter-search:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-050); }
  .filter-search input { border: none; outline: none; flex: 1; min-width: 0; background: transparent; font-size: var(--step--1); }
  .filter-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
  .filter-search > svg { color: var(--ink-faint); width: 18px; height: 18px; flex: none; transition: color 0.2s var(--ease-soft); }
  .filter-search:focus-within > svg { color: var(--green-700); }
  .filter-search-clear { display: none; border: none; background: var(--bg-sink); color: var(--ink-soft); cursor: pointer; width: 20px; height: 20px; border-radius: 999px; place-items: center; padding: 0; flex: none; transition: background-color 0.2s var(--ease-soft), color 0.2s var(--ease-soft); }
  .filter-search-clear svg { width: 12px; height: 12px; }
  .filter-search-clear:hover { background: var(--charcoal); color: #fff; }
  .filter-search.has-value .filter-search-clear { display: grid; }

  .filter-group { border: none; padding: 0; margin: 0 0 1.25rem; }
  .filter-group legend { display: flex; align-items: center; gap: 0.5ch; font-family: var(--font-display); font-weight: 700; font-size: var(--step--1); margin-bottom: 0.6rem; color: var(--charcoal); letter-spacing: -0.012em; }
  .filter-group legend svg { width: 1.05em; height: 1.05em; color: var(--green-700); flex: none; }
  .filter-opt {
    display: flex; align-items: center; gap: 0.6ch; font-size: var(--step--1); color: var(--charcoal-800);
    padding: 0.42rem 0.6rem; margin-inline: -0.6rem; border-radius: 9px; cursor: pointer;
    transition: background-color 0.2s var(--ease-soft), color 0.2s var(--ease-soft);
  }
  .filter-opt:hover { background: var(--bg-alt); color: var(--charcoal); }
  .filter-opt input { accent-color: var(--green-600); width: 16px; height: 16px; cursor: pointer; flex: none; }
  .filter-opt:has(input:checked) { background: var(--green-050); color: var(--green-700); font-weight: 650; }

  .results-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.85rem; justify-content: space-between; margin-bottom: 1rem; }
  .results-count { font-weight: 700; font-family: var(--font-display); letter-spacing: -0.015em; display: inline-flex; align-items: baseline; gap: 0.45ch; }
  .results-count [data-result-count] { color: var(--green-700); }

  .chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
  .chips:not(:empty) { margin-bottom: 1rem; }
  .chip { display: inline-flex; align-items: center; gap: 0.45ch; font-size: var(--step--2); padding: 0.3rem 0.35rem 0.3rem 0.75rem; border-radius: 999px; background: var(--green-050); color: var(--green-700); font-weight: 650; text-transform: capitalize; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--green) 22%, transparent); }
  .chip button { border: none; background: none; cursor: pointer; color: inherit; display: grid; place-items: center; padding: 0.18rem; border-radius: 999px; line-height: 1; transition: background-color 0.2s var(--ease-soft), color 0.2s var(--ease-soft); }
  .chip button:hover { background: var(--green); color: var(--charcoal); }

  .empty-state { text-align: center; padding: 3.5rem 1.25rem; color: var(--ink-soft); border: 1px dashed var(--line-strong); border-radius: var(--r-lg); background: var(--bg-alt); }
  .empty-state svg { width: 40px; height: 40px; margin: 0 auto 0.9rem; color: var(--ink-faint); }
  .empty-state h3 { margin-bottom: 0.4rem; }

  .filter-drawer-toggle { display: none; }
  @media (max-width: 899px) {
    .filter-panel { display: none; }
    .filter-panel.is-open {
      display: block; position: fixed; inset: 0; z-index: 120; border-radius: 0; border: none;
      overflow-x: hidden; overflow-y: auto; padding: 1.25rem clamp(1.25rem, 5vw, 2rem) 5rem;
      scrollbar-width: none; -ms-overflow-style: none;
    }
    .filter-panel.is-open::-webkit-scrollbar { display: none; width: 0; height: 0; }
    .filter-drawer-toggle { display: inline-flex; }
    .filter-panel-close { position: sticky; top: 0; }
  }
  @media (min-width: 900px) { .filter-panel-close { display: none; } }

  /* sticky compare bar */
  .compare-bar {
    position: fixed; left: 50%; bottom: 1.25rem; transform: translate(-50%, 150%);
    z-index: 95; display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap;
    background: var(--charcoal); color: #fff; padding: 0.8rem 1rem; border-radius: 999px;
    box-shadow: var(--shadow-lg); width: min(100% - 2.5rem, 720px);
    transition: transform 0.4s var(--ease), opacity 0.3s var(--ease-soft);
    opacity: 0; visibility: hidden;
  }
  .compare-bar.is-active { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
  .compare-bar .chip { background: rgba(255,255,255,0.12); color: #fff; box-shadow: none; text-transform: none; }
  .compare-bar .chip button:hover { background: var(--green); color: var(--charcoal); }
  .compare-bar .chips { flex: 1 1 auto; min-width: 0; margin-bottom: 0; }
  .compare-bar-label { display: inline-flex; align-items: center; gap: 0.5ch; font-size: var(--step--1); font-weight: 600; white-space: nowrap; color: #d8dcda; }
  .compare-bar-label svg { width: 1.1em; height: 1.1em; color: var(--green); flex: none; }
  .compare-bar-label strong { color: #fff; font-weight: 800; }
  .compare-bar-actions { display: flex; gap: 0.5rem; margin-left: auto; flex: none; }
  .compare-bar .btn-ghost { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,0.28); }
  .compare-bar .btn-ghost:hover { --btn-bg: rgba(255,255,255,0.12); --btn-fg: #fff; border-color: rgba(255,255,255,0.5); }
  @media (max-width: 640px) {
    .compare-bar { border-radius: var(--r-lg); padding: 0.9rem 1rem; }
    .compare-bar-actions { margin-left: 0; width: 100%; }
    .compare-bar-actions .btn { flex: 1; }
  }

  /* ---------- compare hero cards ---------- */
  .vs-hero { display: grid; gap: 1.1rem; grid-template-columns: 1fr; align-items: stretch; }
  @media (min-width: 720px) { .vs-hero { grid-template-columns: 1fr auto 1fr; gap: 1.4rem; } }
  .vs-hero-vs {
    display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; color: var(--ink-faint);
    font-size: var(--step-1); text-transform: uppercase; letter-spacing: 0.06em;
    position: relative;
  }
  @media (min-width: 720px) {
    .vs-hero-vs::before, .vs-hero-vs::after { content: ""; position: absolute; left: 50%; width: 1px; background: var(--line); }
    .vs-hero-vs::before { top: 0; height: calc(50% - 1.6rem); }
    .vs-hero-vs::after { bottom: 0; height: calc(50% - 1.6rem); }
  }
  .vs-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 1.85rem 1.55rem; background: var(--surface); box-shadow: var(--shadow-sm); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.8rem; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease-soft); }
  .vs-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--green) 34%, transparent); }
  .vs-card .brand-chip, .vs-card .brand-logo { margin-inline: auto; width: 78px; height: 78px; border-radius: 21px; }
  .vs-card h2 { font-family: var(--font-display); font-size: var(--step-1); letter-spacing: -0.02em; margin: 0.15rem 0; }
  .vs-card h2 a { text-decoration: none; color: var(--charcoal); transition: color 0.2s var(--ease-soft); }
  .vs-card h2 a:hover { color: var(--green-700); }
  .vs-card p { line-height: 1.6; }
  .vs-card .btn { margin-top: auto; }

  .choose-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
  .choose-col { border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.35rem 1.45rem; background: var(--surface); transition: border-color 0.25s var(--ease-soft), box-shadow 0.25s var(--ease); }
  .choose-col:hover { border-color: color-mix(in srgb, var(--green) 34%, transparent); box-shadow: var(--shadow-md); }
  .choose-col h3 { color: var(--green-700); margin-bottom: 0.75rem; font-size: var(--step-0); }
  .choose-col ul { list-style: none; display: grid; gap: 0.55rem; }
  .choose-col li { display: flex; gap: 0.65ch; font-size: var(--step--1); line-height: 1.6; color: var(--charcoal-800); }
  .choose-col li svg { width: 1.1em; height: 1.1em; color: var(--green-700); flex: none; margin-top: 0.24em; }

  /* ---------- TOC ---------- */
  .toc { border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.15rem 1.35rem; background: var(--bg-alt); }
  .toc h2 { font-size: var(--step-0); margin-bottom: 0.7rem; display: flex; align-items: center; gap: 0.5ch; }
  .toc h2 svg { width: 1.05em; height: 1.05em; color: var(--green-700); }
  .toc ol { list-style: none; display: grid; gap: 0.4rem; counter-reset: toc; }
  .toc li { counter-increment: toc; }
  .toc a { text-decoration: none; color: var(--ink-soft); font-size: var(--step--1); transition: color 0.2s var(--ease-soft), padding-left 0.24s var(--ease); display: inline-block; }
  .toc a::before { content: counter(toc) ". "; color: var(--ink-faint); font-weight: 650; }
  .toc a:hover { color: var(--green-700); padding-left: 4px; }

  /* ---------- article meta ---------- */
  .article-meta { display: flex; flex-wrap: wrap; gap: 0.45rem 1.2rem; color: var(--ink-soft); font-size: var(--step--1); margin-top: 1.1rem; }
  .article-meta span { display: inline-flex; align-items: center; gap: 0.45ch; }
  .article-meta svg { width: 1.05em; height: 1.05em; color: var(--ink-faint); flex: none; }
  .article-hero-img { border-radius: var(--r-lg); overflow: hidden; margin-top: 1.6rem; border: 1px solid var(--line); }

  /* ---------- blog cards ---------- */
  .blog-card { display: flex; flex-direction: column; overflow: hidden; padding: 1.1rem; }
  .blog-card .thumb { border-radius: var(--r-md); overflow: hidden; margin-bottom: 1.1rem; aspect-ratio: 16/9; background: var(--bg-sink); }
  .blog-card .thumb svg, .blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s var(--ease); }
  .blog-card:hover .thumb svg, .blog-card:hover .thumb img { transform: scale(1.05); }
  .blog-card .cat { font-size: var(--step--2); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--green-700); }
  .blog-card h3 { margin: 0.45rem 0 0.55rem; font-size: var(--step-1); }
  .blog-card h3 a { text-decoration: none; color: var(--charcoal); transition: color 0.2s var(--ease-soft); }
  .blog-card h3 a:hover { color: var(--green-700); }
  .blog-card p { color: var(--ink-soft); font-size: var(--step--1); line-height: 1.62; }
  .blog-card .read-more { margin-top: auto; padding-top: 0.9rem; font-weight: 650; font-size: var(--step--1); display: inline-flex; align-items: center; gap: 0.45ch; text-decoration: none; }
  .blog-card .read-more svg { width: 1.05em; height: 1.05em; transition: transform 0.26s var(--ease); }
  .blog-card .read-more:hover { color: var(--green-700); }
  .blog-card .read-more:hover svg { transform: translateX(4px); }

  /* ---------- steps diagram ---------- */
  .steps { counter-reset: step; display: grid; gap: 1.15rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
  .step { border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.5rem 1.3rem 1.3rem; position: relative; background: var(--surface); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease-soft); }
  .step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--green) 34%, transparent); }
  .step::before { counter-increment: step; content: counter(step); position: absolute; top: -15px; left: 1.3rem; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 999px; background: var(--green); color: var(--charcoal); font-family: var(--font-display); font-weight: 800; box-shadow: var(--shadow-green); }
  .step h3 { font-size: var(--step-0); margin-bottom: 0.45rem; margin-top: 0.35rem; }
  .step p { font-size: var(--step--1); color: var(--ink-soft); line-height: 1.6; }

  /* ---------- FAQ ---------- */
  .faq { display: grid; gap: 0.8rem; }
  .faq details { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); overflow: hidden; transition: border-color 0.25s var(--ease-soft), box-shadow 0.25s var(--ease); }
  .faq details:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
  .faq details[open] { border-color: color-mix(in srgb, var(--green) 34%, transparent); box-shadow: var(--shadow-sm); }
  .faq summary { cursor: pointer; padding: 1.05rem 1.25rem; font-family: var(--font-display); font-weight: 700; font-size: var(--step-0); letter-spacing: -0.015em; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; transition: color 0.2s var(--ease-soft); }
  .faq summary:hover { color: var(--green-700); }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after {
    content: ""; flex: none; width: 20px; height: 20px;
    background: currentColor; color: var(--green-700);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/contain no-repeat;
    transition: transform 0.3s var(--ease);
  }
  .faq details[open] summary::after { transform: rotate(135deg); }
  .faq details[open] summary { border-bottom: 1px solid var(--line); }
  .faq .faq-body { padding: 1.05rem 1.25rem; color: var(--ink-soft); font-size: var(--step--1); line-height: 1.7; }

  /* ---------- segment tabs (archive filters) ---------- */
  .tabs {
    display: flex; flex-wrap: nowrap; gap: 0.4rem; margin-bottom: 1.75rem;
    border-bottom: 1px solid var(--line); padding-bottom: 0.5rem;
    overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab {
    position: relative; border: 1px solid transparent; background: none;
    padding: 0.6rem 1rem; border-radius: 999px;
    font-family: var(--font); font-weight: 650; font-size: var(--step--1); color: var(--ink-soft);
    cursor: pointer; white-space: nowrap; flex: none; line-height: 1;
    display: inline-flex; align-items: center; gap: 0.5ch;
    transition: color 0.22s var(--ease-soft), background-color 0.22s var(--ease-soft), border-color 0.22s var(--ease-soft), transform 0.22s var(--ease);
  }
  .tab svg { width: 1.05em; height: 1.05em; opacity: 0.75; flex: none; }
  .tab .tab-count { font-size: 0.78em; font-weight: 700; opacity: 0.65; }
  .tab:hover { color: var(--charcoal); background: var(--bg-sink); transform: translateY(-1px); }
  .tab[aria-selected="true"] { color: var(--charcoal); background: var(--green); border-color: var(--green); box-shadow: var(--shadow-green); font-weight: 720; }
  .tab[aria-selected="true"] svg { opacity: 1; }
  .tab[aria-selected="true"] .tab-count { opacity: 0.8; }

  /* cards animate in when a tab filter is applied */
  .tab-panel-item { animation: tab-in 0.34s var(--ease) both; }
  @keyframes tab-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

  /* ---------- footer ---------- */
  .site-footer {
    background: var(--charcoal); color: #c9cecb;
    padding-block: clamp(2.75rem, 2rem + 2.4vw, 4.25rem) 2rem;
    margin-top: var(--section-y); position: relative; overflow: hidden;
  }
  .site-footer::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(60% 100% at 85% 0%, color-mix(in srgb, var(--green) 14%, transparent), transparent 60%);
  }
  .site-footer > * { position: relative; }
  .site-footer .brand { color: #fff; }
  .site-footer .brand:hover { color: #fff; }
  .site-footer .brand-word strong { color: var(--green); }
  .site-footer .brand-mark { background: url("../img/site-icon.png") center / contain no-repeat; }

  .footer-top { display: grid; gap: 2.75rem; grid-template-columns: 1fr; align-items: start; }
  @media (min-width: 900px) { .footer-top { grid-template-columns: minmax(240px, 1fr) auto; gap: clamp(2rem, 4vw, 4rem); } }

  .footer-brand p { margin-top: 1.1rem; font-size: var(--step--1); max-width: 40ch; line-height: 1.7; color: #b5bab7; }
  .footer-brand a { color: var(--green); }
  .footer-social { display: flex; gap: 0.5rem; margin-top: 1.25rem; }
  .footer-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,0.07); color: #c9cecb; transition: background-color 0.24s var(--ease-soft), color 0.24s var(--ease-soft), transform 0.24s var(--ease); }
  .footer-social a:hover { background: var(--green); color: var(--charcoal); transform: translateY(-2px); }
  .footer-social svg { width: 18px; height: 18px; }

  /* auto-width columns — nothing wraps or breaks mid-item */
  .footer-cols { display: flex; flex-wrap: wrap; gap: 2rem clamp(1.75rem, 3.5vw, 3.25rem); }
  .footer-col { flex: 0 1 auto; min-width: max-content; }
  .footer-col h3 {
    display: flex; align-items: center; gap: 0.5ch;
    color: #fff; font-family: var(--font-display); font-size: var(--step--2); font-weight: 750;
    text-transform: uppercase; letter-spacing: 0.09em; margin-bottom: 0.95rem;
  }
  .footer-col h3 svg { width: 1.15em; height: 1.15em; color: var(--green); flex: none; }
  .footer-col ul { list-style: none; display: grid; gap: 0.6rem; }
  .footer-col li { display: block; }
  .footer-col a {
    display: inline-flex; align-items: center; gap: 0.5ch;
    color: #c9cecb; text-decoration: none; font-size: var(--step--1); line-height: 1.45;
    white-space: nowrap;
    transition: color 0.22s var(--ease-soft), transform 0.26s var(--ease);
  }
  .footer-col a svg { width: 0.95em; height: 0.95em; flex: none; opacity: 0.4; color: currentColor; transition: opacity 0.24s var(--ease-soft), transform 0.26s var(--ease), color 0.24s var(--ease-soft); }
  .footer-col a:hover { color: #fff; transform: translateX(3px); }
  .footer-col a:hover svg { opacity: 1; color: var(--green); transform: translateX(2px); }

  .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 2.75rem; padding-top: 1.6rem; display: grid; justify-items: center; gap: 0.7rem; font-size: var(--step--2); color: #969b98; line-height: 1.65; text-align: center; }
  .footer-bottom a { color: inherit; font-weight: 650; text-decoration: none; }
  .footer-bottom a:hover { color: var(--green); }
  .trademark-notice { color: #7f8481; }

  .scroll-top { position: fixed; right: 20px; bottom: 20px; width: 48px; height: 48px; border-radius: 999px; background: var(--green); color: var(--charcoal); border: none; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(12px) scale(0.9); transition: opacity 0.28s var(--ease-soft), transform 0.32s var(--ease), visibility 0.28s, background-color 0.22s var(--ease-soft); z-index: 90; }
  .scroll-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
  .scroll-top:hover { background: var(--green-600); transform: translateY(-3px) scale(1.05); }
  .scroll-top svg { width: 20px; height: 20px; }

  /* ---------- forms ---------- */
  .field { display: grid; gap: 0.4rem; margin-bottom: 1.2rem; }
  .field label { font-weight: 650; font-size: var(--step--1); }
  .field input, .field select, .field textarea { padding: 0.75rem 0.9rem; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--white); width: 100%; font-size: var(--step--1); transition: border-color 0.2s var(--ease-soft), box-shadow 0.2s var(--ease-soft); }
  .field input:hover, .field textarea:hover, .field select:hover { border-color: var(--charcoal-400); }
  .field input:focus, .field textarea:focus, .field select:focus { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-050); outline: none; }
  .field .hint { font-size: var(--step--2); color: var(--ink-faint); }
  .field .err { font-size: var(--step--2); color: var(--red); font-weight: 650; }
  .field.has-error input, .field.has-error textarea { border-color: var(--red); }
  .field.has-error input:focus, .field.has-error textarea:focus { box-shadow: 0 0 0 3px var(--red-050); }
  .honeypot { position: absolute; left: -9999px; }

  /* ---------- related grid ---------- */
  .related-list { display: grid; gap: 0.7rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
  .related-list a {
    display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
    border: 1px solid var(--line); border-radius: var(--r-md); padding: 0.9rem 1.1rem;
    text-decoration: none; color: var(--charcoal-800); font-size: var(--step--1); font-weight: 600;
    background: var(--surface); line-height: 1.4;
    transition: border-color 0.24s var(--ease-soft), color 0.24s var(--ease-soft), transform 0.26s var(--ease), box-shadow 0.26s var(--ease), background-color 0.24s var(--ease-soft);
  }
  .related-list a svg { width: 1.05em; height: 1.05em; flex: none; color: var(--ink-faint); transition: transform 0.26s var(--ease), color 0.24s var(--ease-soft); }
  .related-list a:hover { border-color: var(--green); color: var(--green-700); background: var(--green-050); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
  .related-list a:hover svg { transform: translateX(4px); color: var(--green-700); }
  .comparison-grid { gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
  .comparison-grid a {
    position: relative; display: block; min-height: 142px; padding: 1.15rem 2.7rem 1.05rem 1.15rem;
    border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  }
  .comparison-grid a::before {
    content: ""; position: absolute; inset: 0 auto 0 0; width: 3px;
    background: var(--green); transform: scaleY(0); transform-origin: center;
    transition: transform 0.26s var(--ease);
  }
  .comparison-grid a:hover::before { transform: scaleY(1); }
  .comparison-grid a > svg { position: absolute; top: 50%; right: 1rem; transform: translateY(-50%); }
  .comparison-grid a:hover > svg { transform: translate(4px, -50%); }
  .comparison-matchup { display: grid; grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr); align-items: center; gap: 0.65rem; }
  .comparison-provider { display: flex; min-width: 0; flex-direction: column; align-items: center; gap: 0.55rem; text-align: center; }
  .comparison-provider img {
    width: 64px; height: 64px; object-fit: contain; flex: none; padding: 0.25rem;
    border: 1px solid var(--line); border-radius: 15px; background: var(--white); box-shadow: var(--shadow-sm);
    transition: transform 0.28s var(--ease), border-color 0.24s var(--ease-soft), box-shadow 0.28s var(--ease);
  }
  .comparison-provider-name {
    display: block; max-width: 100%; overflow: hidden; color: var(--charcoal); font-size: 0.82rem;
    font-weight: 750; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap;
  }
  .comparison-vs {
    display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px;
    background: var(--green-050); color: var(--green-700); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--green) 24%, transparent);
    font-size: 0.68rem; font-weight: 800; letter-spacing: 0.05em;
  }
  .comparison-grid a:hover .comparison-provider img { transform: translateY(-2px); border-color: color-mix(in srgb, var(--green) 38%, transparent); box-shadow: var(--shadow-md); }
  .comparison-related-grid { gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr)); }
  .comparison-related-card { position: relative; display: block !important; min-height: 94px; padding: 0.85rem 2.55rem 0.85rem 0.9rem !important; }
  .comparison-related-card > svg { position: absolute; right: 0.9rem; top: 50%; transform: translateY(-50%); }
  .comparison-related-card:hover > svg { transform: translate(4px, -50%); }
  .related-matchup { display: grid; grid-template-columns: minmax(0, 1fr) 25px minmax(0, 1fr); align-items: center; gap: 0.45rem; }
  .related-provider { display: flex; min-width: 0; flex-direction: column; align-items: center; gap: 0.32rem; text-align: center; }
  .related-provider img { width: 44px; height: 44px; object-fit: contain; padding: 0.15rem; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: var(--shadow-sm); }
  .related-provider strong { width: 100%; overflow: hidden; color: var(--charcoal); font-size: 0.72rem; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
  .related-vs { color: var(--green-700); font-size: 0.62rem; font-weight: 800; text-align: center; }
  .comparison-guide { display: grid; gap: 1.5rem; }
  .comparison-guide h2 { margin-bottom: 0.35rem; }
  .comparison-guide h3 { margin-top: 1rem; }
  :where(.provider-card-meta h3, .vs-card h2, .comparison-provider-name, .related-provider strong, .provider-page h1, .comparison-detail-page h1) { overflow-wrap: anywhere; }
  .provider-page .hero .wrap, .comparison-detail-page .hero .wrap { min-width: 0; }
  .provider-page main > .section > :where(.wrap, .wrap-narrow) > * + *,
  .comparison-detail-page .comparison-guide > div > * + * { margin-top: 0.95rem; }
  .comparison-detail-page .comparison-guide > div + div { margin-top: clamp(2.5rem, 1.8rem + 2vw, 4rem); }
  .comparison-detail-page .comparison-guide h2,
  .comparison-detail-page .comparison-guide h3 { margin-bottom: 0.9rem; }
  .comparison-detail-page .comparison-guide p { line-height: 1.75; }
  .comparison-detail-page .comparison-focus-keyword { color: var(--green-700); font-weight: 750; }

  /* ---------- website & proxy IP checker ---------- */
  .pc { --pc-h: 54px; padding-block: var(--section-y); background: var(--bg-alt); }
  .pc-inner { max-width: 980px; margin-inline: auto; }

  /* query panel */
  .pc-panel {
    padding: clamp(1.6rem, 1.1rem + 2.6vw, 3rem);
    border: 1px solid var(--line); border-radius: var(--r-xl);
    background: var(--white); box-shadow: var(--shadow-lg); text-align: center;
  }
  .pc-panel h1 { margin-top: 1rem; }
  .pc-lead { max-width: 58ch; margin: 1rem auto 0; color: var(--ink-soft); font-size: var(--step-0); line-height: 1.65; }

  .pc-form { display: flex; flex-wrap: wrap; gap: 0.7rem; max-width: 660px; margin: 1.9rem auto 0; }
  .pc-field { position: relative; display: flex; align-items: center; flex: 1 1 320px; min-width: 0; }
  .pc-field > svg { position: absolute; left: 1.05rem; width: 18px; height: 18px; color: var(--ink-faint); pointer-events: none; }
  .pc-field input {
    width: 100%; height: var(--pc-h); padding: 0 1rem 0 2.9rem;
    border: 1px solid var(--line-strong); border-radius: var(--r-sm);
    background: var(--bg-alt); color: var(--ink); font-size: var(--step-0);
  }
  .pc-field input::placeholder { color: var(--ink-faint); }
  .pc-field input:focus { border-color: var(--green); background: var(--white); outline: 3px solid var(--ring); outline-offset: 1px; }
  .pc-form .btn { height: var(--pc-h); flex: none; padding-inline: 1.5rem; }

  .pc-examples { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 1.15rem; font-size: var(--step--1); color: var(--ink-faint); }
  .pc-chip {
    padding: 0.36rem 0.75rem; border: 1px solid var(--line); border-radius: 999px;
    background: var(--white); color: var(--ink-soft);
    font-family: var(--mono); font-size: 0.8rem; line-height: 1.4; cursor: pointer;
    transition: color 0.15s var(--ease-soft), border-color 0.15s var(--ease-soft), background-color 0.15s var(--ease-soft);
  }
  .pc-chip:hover { border-color: var(--green); background: var(--green-050); color: var(--green-700); }
  .pc-chip--self { font-family: var(--font); font-weight: 650; }

  .pc-status { display: flex; align-items: center; justify-content: center; gap: 0.5ch; min-height: 1.7em; margin-top: 1.3rem; font-size: var(--step--1); font-weight: 650; color: var(--ink-soft); }
  .pc-status svg { width: 1.05em; height: 1.05em; flex: none; }
  .pc-status[data-state="success"] { color: var(--green-700); }
  .pc-status[data-state="error"] { color: var(--red); }
  .pc-spin { animation: pc-spin 0.9s linear infinite; }
  @keyframes pc-spin { to { transform: rotate(360deg); } }

  /* result */
  .pc-results { margin-top: 1.5rem; display: grid; gap: 1rem; }
  .pc-results[hidden] { display: none; }

  .pc-summary {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem;
    padding: clamp(1.15rem, 0.9rem + 1vw, 1.6rem);
    border: 1px solid var(--line); border-radius: var(--r-lg);
    background: var(--white); box-shadow: var(--shadow-sm);
  }
  .pc-summary-main { min-width: 0; }
  .pc-kicker { display: block; font-size: var(--step--2); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); }
  .pc-ip { display: flex; align-items: center; gap: 0.55rem; margin-top: 0.4rem; }
  .pc-ip strong { font-family: var(--mono); font-size: var(--step-2); font-weight: 700; line-height: 1.15; overflow-wrap: anywhere; }
  .pc-copy {
    flex: none; display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border: 1px solid var(--line); border-radius: var(--r-xs);
    background: var(--white); color: var(--ink-soft); cursor: pointer;
    transition: color 0.15s var(--ease-soft), border-color 0.15s var(--ease-soft);
  }
  .pc-copy svg { width: 16px; height: 16px; }
  .pc-copy:hover { border-color: var(--green); color: var(--green-700); }
  .pc-copy[data-copied="true"] { border-color: var(--green); color: var(--green-700); background: var(--green-050); }
  .pc-target { display: block; margin-top: 0.45rem; font-size: var(--step--1); color: var(--ink-soft); overflow-wrap: anywhere; }
  .pc-summary-side { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
  .pc-badge, .pc-country {
    display: inline-flex; align-items: center; gap: 0.45ch;
    padding: 0.44rem 0.8rem; border-radius: 999px;
    font-size: var(--step--1); font-weight: 700; line-height: 1.4; white-space: nowrap;
  }
  .pc-badge svg { width: 1.05em; height: 1.05em; flex: none; }
  .pc-badge--datacenter { background: var(--red-050); color: var(--red); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--red) 18%, transparent); }
  .pc-badge--residential { background: var(--green-050); color: var(--green-700); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--green) 22%, transparent); }
  .pc-badge--unknown { background: var(--bg-sink); color: var(--ink-soft); }
  .pc-country { background: var(--bg-sink); color: var(--ink); font-weight: 650; }
  /* official flag artwork, served from this site; the hairline keeps
     white-heavy flags (Japan, Poland) from dissolving into the card */
  .pc-flag {
    display: inline-block; width: 21px; height: 16px; margin-inline-end: 0.55ch;
    vertical-align: -3px; object-fit: cover; border-radius: 3px;
    box-shadow: inset 0 0 0 1px rgba(36, 37, 38, 0.16), 0 1px 1px rgba(36, 37, 38, 0.08);
  }
  /* fallback when the flag set has no file for a reported code */
  .pc-cc {
    display: inline-block; margin-inline-end: 0.45ch; padding: 0.1em 0.36em;
    border-radius: 4px; background: rgba(36, 37, 38, 0.09); color: var(--ink-soft);
    font-family: var(--mono); font-size: 0.76em; font-weight: 700; letter-spacing: 0.03em;
  }
  .pc-country .pc-cc { margin-inline-end: 0; background: rgba(36, 37, 38, 0.10); }
  .pc-country .pc-flag { margin-inline-end: 0; vertical-align: baseline; }

  .pc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 1rem; }
  .pc-card { min-width: 0; padding: 1.35rem; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-xs); }
  .pc-card h2 {
    display: flex; align-items: center; gap: 0.55ch;
    font-family: var(--font); font-size: var(--step--2); font-weight: 700;
    letter-spacing: 0.07em; text-transform: uppercase; color: var(--green-700);
  }
  .pc-card h2 svg { width: 1.2em; height: 1.2em; flex: none; }
  .pc-card dl { margin-top: 0.4rem; }
  .pc-card dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-top: 1px solid var(--line); }
  .pc-card dt { flex: none; font-size: var(--step--1); color: var(--ink-soft); }
  .pc-card dd { min-width: 0; text-align: right; font-size: var(--step--1); font-weight: 650; color: var(--ink); overflow-wrap: anywhere; }
  .pc-card dd.is-mono { font-family: var(--mono); font-size: 0.83rem; font-weight: 600; }
  .pc-card dd.is-empty { color: var(--ink-faint); font-weight: 500; }

  .pc-note {
    display: flex; gap: 0.8rem; padding: 1rem 1.2rem;
    border: 1px solid var(--line); border-left: 3px solid var(--green); border-radius: var(--r-md);
    background: var(--white); font-size: var(--step--1); color: var(--ink-soft); line-height: 1.65;
  }
  .pc-note svg { width: 18px; height: 18px; flex: none; margin-top: 0.15rem; color: var(--green-600); }

  /* loading placeholder */
  .pc-skeleton { display: grid; gap: 0.75rem; }
  .pc-bar { height: 0.7rem; border-radius: 999px; background: var(--bg-sink); animation: pc-pulse 1.3s ease-in-out infinite; }
  .pc-bar:nth-child(2) { width: 72%; animation-delay: 0.12s; }
  .pc-bar:nth-child(3) { width: 84%; animation-delay: 0.24s; }
  .pc-bar:nth-child(4) { width: 60%; animation-delay: 0.36s; }
  @keyframes pc-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
  @media (prefers-reduced-motion: reduce) { .pc-bar, .pc-spin { animation: none; } }

  @media (max-width: 560px) {
    .pc-form .btn { width: 100%; }
    .pc-summary { flex-direction: column; align-items: flex-start; }
    .pc-card dl > div { flex-direction: column; gap: 0.15rem; }
    .pc-card dd { text-align: left; }
  }

  /* ---------- source list ---------- */
  .sources-list { list-style: none; display: grid; gap: 0.6rem; }
  .sources-list li { font-size: var(--step--1); color: var(--ink-soft); line-height: 1.6; padding-left: 1.2rem; position: relative; }
  .sources-list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 999px; background: var(--green); }
  .sources-list a { word-break: break-word; }
}

/* ---------- utilities ---------- */
@layer utilities {
  .muted { color: var(--ink-soft); }
  .center { text-align: center; }
  .mt-0 { margin-top: 0; }
  .mt-1 { margin-top: 1rem; }
  .mt-2 { margin-top: 2rem; }
  .mt-3 { margin-top: 3rem; }
  .lead { font-size: 1.0625rem; color: var(--ink-soft); line-height: 1.65; }
  .badge-row { display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; }
  .flow > * + * { margin-top: 1rem; }
  /* inline-block, not flex: the pill holds a run of text + links, and flex
     would turn each text fragment into its own non-wrapping column */
  .pill-note {
    display: inline-block; font-size: var(--step--1);
    background: var(--bg-alt); border: 1px solid var(--line); padding: 0.5rem 1.05rem;
    border-radius: 999px; color: var(--ink-soft); line-height: 1.6; margin-top: 1.2rem;
  }
  .pill-note svg { width: 1.05em; height: 1.05em; color: var(--green-700); display: inline-block; vertical-align: -0.2em; margin-right: 0.45ch; }
  @media (max-width: 620px) { .pill-note { border-radius: var(--r-md); padding: 0.65rem 0.95rem; } }
  [hidden] { display: none !important; }
}
