/* Coreload design-system-v3 Authored Dark theme for coreload.com.
   Loaded on every marketing page right after style.css; never loaded by the dashboard or the status page. */
:root {
  /* Coreload 5-step Neutral Zinc Charcoal elevation ladder (Material 3 / Radix dark-mode standard).
     Near-zero blue/green chroma so warm #ff5b1f orange and #34d399 emerald carry all hue cleanly. */
  --surface-0: #0c0c0e;     /* Sunken wells: code diffs, terminal viewports, inputs, bar tracks */
  --surface-1: #111113;     /* Base ground & even full-bleed bands (kills #0a0a0a glare) */
  --surface-2: #17171a;     /* Alternating full-bleed bands, footer, calm volumetric stages */
  --surface-3: #1f1f23;     /* Cards, panels, tables, mobile swipe cards (always > band) */
  --surface-4: #28282d;     /* Raised card headers, interactive controls, hover surfaces */
  --line-subtle: #25252a;   /* Quiet structural hairlines */
  --line-default: #313138;  /* Card & architectural rail borders */
  --line-strong: #464650;   /* Interactive borders & active outlines */
  --fg-1: #f5f5f7;         /* Soft off-white primary (AAA, zero pure-white halation) */
  --fg-2: #b4b4be;         /* Body copy (AAA on surface-1..3, AA+ on surface-4) */
  --fg-3: #9494a0;         /* Captions & footnotes (AA+ on surface-1..4) */
}
html { color-scheme: dark; background: var(--surface-1); }
body {
  --bg: var(--surface-1); --bg-2: var(--surface-2);
  --paper: var(--surface-1); --panel: var(--surface-3); --panel-hi: var(--surface-4);
  --line: var(--line-default); --border: var(--line-default); --border-strong: var(--line-strong);
  --fg: var(--fg-1); --muted: var(--fg-2); --dim: var(--fg-3);
  --ink: var(--surface-1); --ink-2: var(--surface-2); --ink-line: var(--line-default); --ink-muted: var(--fg-2);
  --accent: #ff5b1f; --accent-soft: rgba(255, 91, 31, 0.12);
  --ok: #8eae9b; --warn: #c4a47b; --danger: #c9847c; --add: #8eae9b; --del: #c9847c;
  --radius-sm: 5px; --radius: 6px; --radius-lg: 6px;
  --shadow: none; --shadow-lg: 0 24px 64px -24px rgba(0, 0, 0, 0.55);
  --wrap: 1240px; --site-gutter: max(var(--space-5), calc((100% - var(--wrap)) / 2));
  --gutter: var(--site-gutter);
  background: var(--bg); color: var(--fg);
}

a { text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); }
a:not(.button):hover { color: var(--fg); text-decoration-color: currentColor; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-weight: 450; color: var(--fg); }
strong { font-weight: 550; }
code { background: var(--panel-hi); box-shadow: inset 0 0 0 1px var(--border); color: var(--fg); padding: 2px 6px; border-radius: 4px; font-variant-numeric: tabular-nums; }
pre { background: var(--bg-2); color: var(--fg); border: 1px solid var(--border); border-radius: 6px; }
pre code { background: none; box-shadow: none; padding: 0; }
blockquote { background: var(--panel); border: 1px solid var(--border); border-left: 2px solid var(--accent); border-radius: 6px; color: var(--fg); }

/* Shared navigation & footer across every coreload.com page. */
body > nav {
  height: 70px; background: rgba(17, 17, 19, 0.94); border-bottom: 1px solid var(--border);
  padding-inline: var(--site-gutter); backdrop-filter: blur(12px); z-index: 40;
}
body > nav .brand { color: #ffffff; font: 600 17px/1.6 var(--font); letter-spacing: -0.02em; }
body > nav span a:not(.button) {
  color: #d4d4dc; font: 400 13px/1.6 var(--mono); letter-spacing: 0.03em; text-transform: uppercase;
}
body > nav a:not(.button):hover { color: #ffffff; }
body > nav .button {
  position: relative; height: 38px; padding: 0 16px; border-radius: 4px;
  background: var(--surface-4); border: 1px solid var(--line-strong); color: #ffffff; font: 500 13px/1.6 var(--mono);
}
body > nav .button:hover { background: #ffffff; border-color: #ffffff; color: #0a0a0a; }
body > nav .nav-menu { display: none; }
.m-fold > summary.m-fold-sum { display: none; }

/* V4 universal collapsible reference drawers (collapsed on both desktop and mobile to keep visible prose <= 70 words/screen) */
.v4-fold { display: block; margin-top: 18px; }
.v4-fold > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 48px; padding: 12px 0; border-top: 1px solid var(--line-default); border-bottom: 1px solid var(--line-default);
  background: transparent; color: #d4d4dc;
  font: 500 14.5px/1.35 var(--font); cursor: pointer; list-style: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.v4-fold > summary:hover { color: #ffffff; border-color: var(--line-strong); }
.v4-fold > summary::-webkit-details-marker { display: none; }
.v4-fold > summary::after {
  content: ""; width: 7px; height: 7px; flex: none; margin-right: 4px;
  border-right: 1.5px solid #888894; border-bottom: 1.5px solid #888894;
  transform: translateY(-2px) rotate(45deg); transition: transform 0.16s ease, border-color 0.16s ease;
}
.v4-fold[open] > summary::after { transform: translateY(2px) rotate(-135deg); border-color: #ffffff; }
.v4-fold[open] > summary { margin-bottom: 18px; border-bottom-color: #2e2e36; }
.v4-fold + .v4-fold { margin-top: 0; }
.v4-fold + .v4-fold > summary { border-top: 0; }

@media (max-width: 900px) {
  body > nav { height: 70px; padding-inline: 24px; gap: 8px; justify-content: space-between; }
  body > nav .brand { margin-right: auto; min-height: 44px; }
  body > nav > span { display: inline-flex; gap: 0; }
  body > nav > span > a:not(.button) { display: none; }
  body > nav .nav-menu { display: block; position: static; }
  body > nav .nav-menu > summary {
    list-style: none; display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-right: -10px; padding: 0; border-radius: 6px;
    border: 0; background: transparent; color: #f4f4f1;
    cursor: pointer; user-select: none;
  }
  body > nav .nav-menu > summary::-webkit-details-marker { display: none; }
  body > nav .nav-menu[open] > summary { background: #141418; }
  body > nav .nav-menu .nav-menu-ico { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 20px; height: 20px; }
  body > nav .nav-menu .nav-menu-ico i { display: block; width: 20px; height: 1.5px; background: currentColor; border-radius: 1px; transition: transform 0.16s ease; }
  body > nav .nav-menu[open] .nav-menu-ico i:first-child { transform: translateY(3.75px) rotate(45deg); }
  body > nav .nav-menu[open] .nav-menu-ico i:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  body > nav .nav-drawer {
    position: fixed; top: 70px; left: 0; right: 0; z-index: 60;
    height: calc(100dvh - 70px); overflow-y: auto;
    background: var(--surface-1); border-bottom: 0;
    padding: 12px 24px 36px;
  }
  body > nav .nav-drawer-list a {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 50px; padding: 0 2px 0 12px; border-left: 2px solid transparent; border-bottom: 1px solid #18181d;
    color: #c8c8d2; font: 450 17px/1.2 var(--font); text-decoration: none;
  }
  body > nav .nav-drawer-list a:last-child { border-bottom: 0; }
  body > nav .nav-drawer-list a[aria-current=page] {
    color: #ffffff; font-weight: 600; border-left-color: #ff5b1f;
  }
  body > nav .nav-drawer-foot { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line-subtle); }
  body > nav .nav-drawer-cta {
    display: flex; align-items: center; justify-content: center; gap: 9px;
    width: 100%; min-height: 50px; padding: 0 18px; border-radius: 6px;
    background: #ff7f4d; border: 1px solid #ff7f4d; color: #0a0a0a;
    font: 600 15.5px/1 var(--font); text-decoration: none;
  }
  body > nav .nav-drawer-cta:hover { background: #ff9666; border-color: #ff9666; color: #0a0a0a; }
  body > nav .nav-gh { flex: none; display: block; }
}

@media (max-width: 640px) {
  body.has-cookie-bar { padding-bottom: 72px; }
  .v4-fold > summary { font-size: 16.5px; color: #e4e4ec; min-height: 54px; padding: 14px 0; }
  /* Remove inline orange Fast badge clutter on phones so prose breathes calmly */
  body .tier-fast,
  body .tier-name .tier-fast {
    background: none !important; color: #f4f4f1 !important; padding: 0 !important; margin: 0 !important;
    height: auto !important; border: 0 !important; font: inherit !important; font-weight: 600 !important;
    font-style: italic !important; text-transform: none !important; letter-spacing: 0 !important;
    box-shadow: none !important; border-radius: 0 !important; vertical-align: baseline !important;
  }
  body .tier-fast em,
  body .tier-name .tier-fast em {
    color: inherit !important; font-style: italic !important; transform: none !important;
  }
  body .tier-fast::after,
  body .tier-name .tier-fast::after { display: none !important; }
  .cookie-bar .cookie-bar-copy { color: var(--fg-2); font-size: 13.5px; line-height: 1.3; }
  .cookie-bar .cookie-bar-actions .button { justify-content: center; border-radius: 5px; font-weight: 500; }
  .m-fold { display: block; }
  .m-fold > summary.m-fold-sum {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    min-height: 54px; padding: 14px 0; border-radius: 0;
    border: 0; border-bottom: 1px solid var(--line-subtle);
    background: transparent; color: #f4f4f1;
    font: 500 15.5px/1.35 var(--font); cursor: pointer; list-style: none;
  }
  .m-fold:not(.m-fold-sec):not(.m-fold + .m-fold) > summary.m-fold-sum,
  :is(.v10-sec:not(.v10-sec-foldable) + .v10-sec-foldable,
      .pricing-section:not(.pricing-sec-foldable) + .pricing-sec-foldable,
      .sec-band:not(.sec-sec-foldable) + .sec-sec-foldable,
      .cmp-section:not(.cmp-sec-foldable) + .cmp-sec-foldable) > details.m-fold-sec > summary.m-fold-sum {
    border-top: 1px solid var(--line-subtle);
  }
  .m-fold > summary.m-fold-sum::-webkit-details-marker { display: none; }
  .m-fold > summary.m-fold-sum::after {
    content: ""; width: 7px; height: 7px; flex: none; margin-right: 4px;
    border-right: 1.5px solid #888894; border-bottom: 1.5px solid #888894;
    transform: translateY(-2px) rotate(45deg);
  }
  .m-fold[open] > summary.m-fold-sum::after { transform: translateY(2px) rotate(-135deg); border-color: #ffffff; }
  .m-fold[open] > summary.m-fold-sum { margin-bottom: 20px; border-bottom-color: #2c2c34; }
  body:not(.page-landing, .page-comparison, .page-pricing, .page-speed, .page-security) main {
    max-width: 100%;
    padding: 32px 24px 56px;
  }
  body:is(.page-sizes, .page-quickstart) .hero h1 { font-size: 32px; line-height: 1.08; }
}
.button, .cta a { background: var(--panel); border: 1px solid var(--border-strong); color: var(--fg); border-radius: 5px; }
.button:hover, .cta a:hover { background: var(--panel-hi); border-color: var(--muted); }
.cta a:first-child { background: var(--fg); border-color: var(--fg); color: var(--bg); font-weight: 500; }
.cta a:first-child:hover { background: #ffffff; border-color: #ffffff; color: #0a0a0a; }
footer {
  --fg: var(--fg-1); --muted: var(--fg-2); --dim: var(--fg-3);
  display: block;
  padding: 56px var(--site-gutter) 44px;
  background: var(--bg);
  color: var(--dim);
  border-top: 1px solid var(--border);
  font-size: var(--text-sm);
}
footer .footer-inner {
  display: grid;
  grid-template-columns: minmax(190px, 1.1fr) minmax(0, 3.4fr);
  gap: 40px 56px;
  align-items: start;
}
footer .footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  font-weight: 550;
  font-size: 16px;
  letter-spacing: -0.02em;
  text-decoration: none;
}
footer .footer-brand-link .mark { flex: none; display: block; }
footer .footer-brand-link span { color: var(--fg); font-weight: 550; margin-right: 0; }
footer .footer-tagline { margin: 10px 0 0; color: var(--dim); font-size: 13px; line-height: 1.5; }
footer .footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 32px;
}
body.page-security footer .footer-cols {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
footer .footer-col { min-width: 0; overflow-wrap: break-word; }
footer .footer-head {
  margin: 0 0 12px;
  font: 500 12px/1.4 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
}
footer .footer-list,
footer .compare-links {
  flex-basis: auto;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 9px;
  margin: 0;
}
footer a { color: var(--muted); text-decoration: none; line-height: 1.4; }
footer a:hover { color: var(--fg); text-decoration: none; }
footer .footer-social { display: inline-flex; align-items: center; gap: 7px; }
footer .footer-x { flex: none; display: block; }
footer .footer-list span { color: var(--dim); font-weight: 400; margin-right: 0; font-size: 13px; line-height: 1.45; }
footer > button {
  display: inline-block;
  margin-top: 32px;
  font-size: 12.5px;
  color: var(--dim);
}
footer > button:hover { color: var(--fg); }
.page-landing.landing-designed .landing-strip b a { text-underline-offset: 4px; text-decoration-thickness: 1px; }
.page-pricing.pricing-designed .pricing-hero .pricing-note a { color: var(--muted); }
.page-pricing.pricing-designed .pricing-hero .pricing-note a:hover { color: var(--fg); }

/* Marketing prose stays readable on the same grid as its tables and code samples. */
body:not(.page-landing, .page-comparison) main {
  max-width: min(var(--wrap), calc(100% - 2 * var(--space-5)));
  padding-inline: 0;
}
body:is(.page-404, [class^=page-legal-]) main {
  max-width: min(820px, calc(100% - 2 * var(--space-5)));
}
body:is(.page-sizes, .page-quickstart, .page-contact, [class^=page-migrate-], [class^=page-alternatives-]) main :is(p, ul, ol) {
  max-width: 72ch;
}
body:is(.page-sizes, .page-quickstart) main { padding-top: clamp(40px, 5vw, 72px); }
body:is(.page-sizes, .page-quickstart) .hero h1 {
  font-size: clamp(36px, 4.4vw, 58px);
  font-weight: 400;
}
body:is(.page-sizes, .page-quickstart) main > section { padding-block: clamp(36px, 4vw, 56px); }
body.page-sizes .sizes-picture .landing-versus { margin-bottom: 8px; }

/* Prose & docs pages. */
h1 .h1-brand { color: var(--muted); letter-spacing: 0.05em; }
body:not(.page-landing) .hero h1 { font-weight: 450; letter-spacing: -0.045em; }
body:not(.page-landing) h2 { font-weight: 450; letter-spacing: -0.035em; }
body:not(.page-landing) section { border-top-color: var(--border); }
body:not(.page-landing) table { background: var(--panel); border: 1px solid var(--border); border-radius: 6px; box-shadow: none; }
table caption { color: var(--muted); }
th { background: var(--bg-2); color: var(--muted); border-bottom-color: var(--border); }
td { border-bottom-color: var(--border); font-variant-numeric: tabular-nums; }
.soon .badge, table.sizes-compare .badge { background: var(--bg-2); border-color: var(--border); color: var(--muted); border-radius: 4px; }
table.sizes-compare tr.sizes-soon td { color: var(--dim); }
table.sizes-compare .cmp-gap { color: var(--muted); }
.prompt .copy { background: var(--panel-hi); border-color: var(--border-strong); color: var(--fg); border-radius: 4px; }
@media (max-width: 640px) {
  .prompt .copy { min-height: 44px; }
}

/* Whole-core CPU cards and dark-adapted isometric thread blocks. */
.sizes-picture .landing-versus > div { background: var(--panel); border: 1px solid var(--border); border-radius: 6px; }
.sizes-picture .landing-versus > div.is-us { border-color: var(--accent); background: linear-gradient(180deg, rgba(255, 91, 31, 0.06), var(--panel) 60%); }
.sizes-picture .landing-versus b { font-weight: 500; color: var(--fg); }
.sizes-picture .landing-versus > div:not(.is-us) b { color: var(--muted); }
.sizes-picture .landing-versus span { color: var(--muted); }
.landing-cpu-picture > div:not(.is-us) .landing-cpu-block polygon:nth-child(1) { fill: #202323; stroke: #606862; }
.landing-cpu-picture > div:not(.is-us) .landing-cpu-block polygon:nth-child(2) { fill: #191c1c; stroke: #606862; }
.landing-cpu-picture > div:not(.is-us) .landing-cpu-block polygon:nth-child(3) { fill: #282c2b; stroke: #606862; }
.landing-cpu-picture > div:not(.is-us) .landing-cpu-blocks text { fill: #a6aaa7; }
.landing-cpu-picture > div.is-us .landing-cpu-block polygon:nth-child(1) { fill: #381e13; stroke: #ff5b1f; }
.landing-cpu-picture > div.is-us .landing-cpu-block polygon:nth-child(2) { fill: #27150d; stroke: #ff5b1f; }
.landing-cpu-picture > div.is-us .landing-cpu-block polygon:nth-child(3) { fill: #4a2718; stroke: #ff5b1f; }
.landing-cpu-picture > div.is-us .landing-cpu-blocks text { fill: #ff5b1f; }

/* Compare and alternatives pages. */
.cmp-hero {
  background-color: var(--bg);
  background-image: linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  border-bottom: 1px solid var(--border);
  color: var(--fg);
}
.cmp-hero::before { background: radial-gradient(70% 60% at 30% 40%, transparent, var(--bg) 78%); }
.cmp-hero h1, body.page-comparison .cmp-hero h1 { font-weight: 450; color: var(--fg); }
.cmp-hero .h1-word, .cmp-hero .giant .giant-what, .cmp-hero .lead strong, .cmp-hero .lead-gap .cmp-gap { color: var(--fg); }
.cmp-hero .lead code { background: var(--panel-hi); border: 1px solid var(--border); color: var(--fg); }
.cmp-hero .hero-cta .button.primary { background: var(--fg); color: var(--bg); border-color: var(--fg); border-radius: 5px; font-weight: 500; }
.cmp-hero .hero-cta .button.primary:hover { background: #ffffff; color: #0a0a0a; border-color: #ffffff; }
.cmp-hero .hero-cta .secondary { background: var(--panel); border-color: var(--border-strong); color: var(--fg); border-radius: 5px; }
.cmp-hero .offer { border-radius: 5px; color: var(--fg); border-color: rgba(255, 91, 31, 0.45); background: rgba(255, 91, 31, 0.10); }
.cmp-hero .panel { background: var(--panel); border: 1px solid var(--border); border-radius: 6px; box-shadow: none; }
.cmp-hero .panel > header { background: var(--bg-2); border-bottom-color: var(--border); color: var(--muted); }
.cmp-hero .panel > header em, .cmp-hero .group > span { color: var(--dim); }
.cmp-hero .panel > .foot b, .cmp-hero .pair .who b, .cmp-hero .machine .txt b { color: var(--fg); font-weight: 500; }
.cmp-hero .pair.list .who b { color: var(--muted); }
.cmp-hero .pair .track, .cmp-hero .split { background: var(--panel-hi); border-radius: 2px; }
.cmp-hero .pair .track i { background: #606862; border-radius: 2px; }
.cmp-hero .pair.us .track i { background: var(--accent); }
.cmp-hero .pair.list .track i { background: color-mix(in srgb, var(--accent) 55%, var(--panel-hi)); }
.cmp-hero .machine .cores i { background: #3c4042; border-radius: 4px; }
.cmp-hero .machine.us .cores i { background: var(--accent); }
.cmp-hero .cmp-gap.same b, .cmp-hero .cmp-gap.more b { color: var(--muted); }

body.page-comparison .cmp-section { padding: 72px var(--gutter); border-top: 1px solid var(--border); background: var(--bg); }
body.page-comparison .cmp-section:nth-of-type(even) { background: var(--bg-2); }
body.page-comparison .cmp-section h2 { font-weight: 450; }
.cmp-cards, .cmp-credit, details.compare-evidence, .compare-verdict, dl.compare-facts {
  background: var(--panel); border-color: var(--border); border-radius: 6px;
}
.cmp-cards h3 { font-weight: 500; }
.cmp-links a { background: var(--panel); border-color: var(--border); color: var(--fg); border-radius: 5px; }
.cmp-links a:hover { background: var(--panel-hi); border-color: var(--border-strong); }
.compare-bars .theirs rect { fill: #606862; }
dl.compare-facts dt { background: var(--bg-2); color: var(--muted); }
body.page-comparison #try { background: var(--bg-2); color: var(--fg); border-top: 1px solid var(--border); }
#try .hero-cta a { border-color: var(--border-strong); color: var(--fg); border-radius: 5px; }
#try .hero-cta .primary { background: var(--fg); border-color: var(--fg); color: var(--bg); font-weight: 500; }
#try .hero-cta .primary:hover { background: #ffffff; border-color: #ffffff; color: #0a0a0a; }
.cmp-index { padding: 0 var(--gutter) 64px; }
.cmp-index-row { border-bottom-color: var(--border); }
.cmp-pairwise-index {
  padding: 56px var(--gutter) 64px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}
.cmp-pairwise-index h2 { margin: 0 0 8px; font-size: clamp(24px, 2.5vw, 30px); font-weight: 450; color: var(--fg); }
.cmp-pairwise-lede { margin: 0 0 24px; max-width: 66ch; font-size: 15px; line-height: 1.55; color: var(--muted); }
.cmp-pairwise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.cmp-pairwise-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 15px 18px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--panel);
  text-decoration: none;
  min-width: 0;
}
.cmp-pairwise-card:hover { background: var(--panel-hi); border-color: var(--border-strong); text-decoration: none; }
.cmp-pairwise-card strong { color: var(--fg); font-size: 14.5px; font-weight: 500; line-height: 1.35; }
.cmp-pairwise-card span { color: var(--dim); font: 400 12.5px/1.4 var(--mono); }
.cmp-pairwise-card:hover span { color: var(--accent); }
body.page-alternatives-blacksmith #alt-coreload { border-radius: 6px; background: var(--panel); }

/* Security page: dark obsidian VM boundary frames and restrained accent callout. */
body.page-security .hero::after {
  border-color: var(--accent); border-radius: 12px; background: rgba(255, 91, 31, 0.08);
  box-shadow: 0 0 0 20px var(--bg), 0 0 0 21px var(--border), 0 0 0 42px var(--bg), 0 0 0 43px var(--border);
}
body.page-security #app-access ul {
  background: rgba(255, 91, 31, 0.08); border: 1px solid var(--border); border-left: 2px solid var(--accent); border-radius: 6px;
}

@media (max-width: 960px) {
  .cmp-pairwise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  footer .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  footer .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
  body.page-security footer .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .cmp-pairwise-index { padding: 44px var(--space-5) 52px; }
  .cmp-pairwise-grid { grid-template-columns: minmax(0, 1fr); }
  footer { padding: 44px var(--space-5) 36px; }
  footer .footer-cols,
  body.page-security footer .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  body:not(.page-landing) :is(table.compare-shapes, table.compare-side) tr {
    background: var(--panel); border-color: var(--border); border-radius: 6px;
  }
}

/* Shared dark-grey surface cadence for footer and alternating prose sections */
footer { background: var(--surface-2); border-top: 1px solid var(--line-default); }
body:is(.page-sizes, .page-quickstart, [class^=page-migrate-], [class^=page-alternatives-], [class^=page-use-cases-]) main > section:nth-of-type(even) {
  background: var(--surface-2);
  border-radius: 10px;
  padding-inline: clamp(20px, 3vw, 36px);
  border: 1px solid var(--line-subtle);
}

/* Zinc v2 upgrade: /sizes/ */
body.page-sizes main {
  padding-top: clamp(32px, 4vw, 56px);
  padding-bottom: 72px;
}

body.page-sizes main :is(p, ul, ol) {
  max-width: none;
}

body.page-sizes header.hero {
  background: transparent;
}

body.page-sizes header.hero h1 {
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 450;
  color: var(--fg-1);
  margin: 0 0 16px;
}

body.page-sizes header.hero h1 .h1-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font: 500 12.5px/1.3 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: 14px;
}

body.page-sizes header.hero h1 .h1-brand::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  flex: none;
}

body.page-sizes header.hero > p {
  max-width: 78ch;
  color: var(--fg-2);
  font-size: 16.5px;
  line-height: 1.62;
  margin: 0 0 12px;
}

body.page-sizes header.hero > p:first-of-type {
  font-size: 18px;
  color: var(--fg-1);
}

body.page-sizes .sizes-picture .landing-versus {
  gap: 20px;
  margin: 28px 0 32px;
}

body.page-sizes .sizes-picture .landing-versus > div {
  background: var(--surface-3);
  border: 1px solid var(--line-default);
  border-radius: 12px;
  padding: 28px 32px;
}

body.page-sizes .sizes-picture .landing-versus > div.is-us {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(255, 91, 31, 0.09), var(--surface-3) 56%);
}

body.page-sizes .sizes-picture .landing-k {
  color: var(--fg-3);
}

body.page-sizes table.sizes-compare {
  background: var(--surface-3);
  border: 1px solid var(--line-default);
  border-radius: 12px;
  margin: 32px 0 40px;
}

body.page-sizes table.sizes-compare caption {
  text-align: left;
  padding: 14px 18px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line-default);
  font: 500 12.5px/1.4 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fg-2);
}

body.page-sizes table.sizes-compare th {
  background: var(--surface-2);
  color: var(--fg-2);
  padding: 13px 18px;
}

body.page-sizes table.sizes-compare td {
  padding: 15px 18px;
  color: var(--fg-1);
  border-bottom: 1px solid var(--line-subtle);
}

body.page-sizes table.sizes-compare .cmp-gap.less b {
  color: #34d399;
  font-weight: 600;
}

body.page-sizes table.sizes-compare tr.sizes-soon td {
  color: var(--fg-3);
}

body.page-sizes #which-size {
  font-size: clamp(24px, 2.5vw, 30px);
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin: 40px 0 16px;
}

body.page-sizes ul.sizes-pick {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

body.page-sizes ul.sizes-pick li {
  margin: 0;
  padding: 20px 22px;
  background: var(--surface-3);
  border: 1px solid var(--line-default);
  border-radius: 10px;
  color: var(--fg-2);
  font-size: 14.5px;
  line-height: 1.58;
}

body.page-sizes ul.sizes-pick li b {
  display: block;
  color: var(--fg-1);
  font-weight: 600;
  margin-bottom: 6px;
}

body.page-sizes #macos-early-access {
  margin-top: 44px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background:
    radial-gradient(56% 72% at 88% 15%, rgba(255, 91, 31, 0.1), transparent 65%),
    var(--surface-2);
  color: var(--fg-1);
}

body.page-sizes #macos-early-access h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.16;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}

body.page-sizes #macos-early-access > p {
  color: var(--fg-2);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 76ch;
}

body.page-sizes #macos-early-access ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
  padding: 0;
  border: 0;
  background: transparent;
}

body.page-sizes #macos-early-access li {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 20px 18px;
  background: var(--surface-3);
  border: 1px solid var(--line-default);
  border-radius: 10px;
  list-style: none;
}

body.page-sizes #macos-early-access li + li {
  border-inline-start: 1px solid var(--line-default);
}

body.page-sizes #macos-early-access .macos-early-access-copy {
  color: var(--fg-2);
  font-size: 14px;
  line-height: 1.5;
}

body.page-sizes #macos-early-access .macos-early-access-copy strong {
  color: var(--fg-1);
  font-size: 15px;
  margin-bottom: 4px;
}

body.page-sizes #macos-early-access .cta {
  margin-top: 20px;
}

body.page-sizes #macos-early-access .cta a {
  background: #ff7f4d;
  border: 1px solid #ff7f4d;
  color: #0a0a0a;
  min-height: 46px;
  padding: 10px 22px;
  border-radius: 5px;
  font: 600 14.5px/1.2 var(--font);
}

body.page-sizes #macos-early-access .cta a:hover {
  background: #ff9666;
  border-color: #ff9666;
  color: #0a0a0a;
}

body.page-sizes #macos-early-access > p:last-child {
  margin-top: 14px;
  color: var(--fg-3);
  font-size: 13.5px;
}

@media (max-width: 860px) {
  body.page-sizes ul.sizes-pick,
  body.page-sizes #macos-early-access ul {
    grid-template-columns: minmax(0, 1fr);
  }

  body.page-sizes #macos-early-access li + li {
    border-inline-start: 1px solid var(--line-default);
    border-top: 1px solid var(--line-default);
  }
}

@media (max-width: 640px) {
  body.page-sizes #macos-early-access {
    padding: 24px 20px;
  }

  body.page-sizes #macos-early-access .cta a {
    width: 100%;
  }
}

/* /alternatives/github-hosted-runners/ Zinc v2 buyer guide layout. */
.page-alternatives-github-hosted-runners table.compare-side tr.is-us > td { background: var(--accent-soft); }
.page-alternatives-github-hosted-runners table.compare-side tr.is-us > td:first-child { box-shadow: inset 3px 0 0 var(--accent); font-weight: 600; }
.page-alternatives-github-hosted-runners #alt-coreload { border: 1px solid #ff5b1f; border-radius: 16px; padding: 24px 28px; background: linear-gradient(180deg, rgba(255, 91, 31, 0.08), var(--surface-3) 48%); grid-column: 1 / -1; }

/* Keep the dense pricing table scrollable inside the product grid at tablet/desktop widths. */
@media (min-width: 641px) {
  .page-alternatives-github-hosted-runners .price-table { overflow-x: auto; position: relative; }
}

/* On a phone each table row is a card (site.css, max-width 640px): ours takes the accent as its edge and tint. */
@media (max-width: 640px) {
  .page-alternatives-github-hosted-runners table.compare-side tr.is-us { border-color: var(--accent); background: var(--accent-soft); }
  .page-alternatives-github-hosted-runners table.compare-side tr.is-us > td, .page-alternatives-github-hosted-runners table.compare-side tr.is-us > td:first-child { background: none; box-shadow: none; }
}



/* Full-width Zinc v2 layout grid: non-provider sections span full width; competitor cards flow in 2 columns. */
body.page-alternatives-github-hosted-runners main {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-top: clamp(28px, 3.5vw, 48px);
  padding-bottom: 64px;
}

body.page-alternatives-github-hosted-runners main :is(p, ul, ol, li, blockquote, pre, table, .compare-bars) {
  max-width: none;
}

body.page-alternatives-github-hosted-runners main > header,
body.page-alternatives-github-hosted-runners main > section:not([id^=alt-]) {
  grid-column: 1 / -1;
}

body.page-alternatives-github-hosted-runners main > section,
body.page-alternatives-github-hosted-runners main > section:nth-of-type(even) {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line-default);
  border-radius: 0;
  padding: 24px 0 8px;
  margin: 0;
}

body.page-alternatives-github-hosted-runners main > section h2 {
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 450;
  color: var(--fg-1);
  margin: 0 0 10px;
}

body.page-alternatives-github-hosted-runners main > section > p {
  color: var(--fg-2);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 12px;
}

body.page-alternatives-github-hosted-runners main a:not(.button) {
  color: var(--fg-1);
  text-decoration-color: var(--line-strong);
}

body.page-alternatives-github-hosted-runners main a:not(.button):hover {
  color: #ffffff;
  text-decoration-color: #ffffff;
}

/* Architectural Zinc v2 Hero */
body.page-alternatives-github-hosted-runners header.hero {
  background-color: var(--surface-2);
  background-image:
    radial-gradient(56% 72% at 86% 18%, rgba(255, 91, 31, 0.12), transparent 68%),
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
  border: 1px solid var(--line-default);
  border-radius: 12px;
  padding: clamp(24px, 3.2vw, 40px);
  margin-bottom: 4px;
}

body.page-alternatives-github-hosted-runners header.hero h1 {
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 450;
  color: var(--fg-1);
  margin: 0 0 10px;
}

body.page-alternatives-github-hosted-runners header.hero h1 .h1-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font: 500 12.5px/1.3 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: 12px;
}

body.page-alternatives-github-hosted-runners header.hero h1 .h1-brand::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  flex: none;
}

body.page-alternatives-github-hosted-runners header.hero > p {
  font: 400 13px/1.5 var(--mono);
  color: var(--fg-3);
  margin: 0 0 20px;
}

body.page-alternatives-github-hosted-runners header.hero blockquote {
  margin: 0;
  padding: 20px 24px;
  background: var(--surface-3);
  border: 1px solid var(--line-default);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
}

body.page-alternatives-github-hosted-runners header.hero blockquote > p:first-child {
  margin: 0 0 14px;
  font-size: 15.5px;
  line-height: 1.58;
  color: var(--fg-1);
}

body.page-alternatives-github-hosted-runners header.hero blockquote ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

body.page-alternatives-github-hosted-runners header.hero blockquote li {
  margin: 0;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--line-default);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--fg-1);
}

body.page-alternatives-github-hosted-runners header.hero blockquote p.cta {
  margin: 0;
}

body.page-alternatives-github-hosted-runners header.hero blockquote p.cta a,
body.page-alternatives-github-hosted-runners #alt-coreload p.cta a:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  height: auto;
  padding: 9px 20px;
  border-radius: 5px;
  background: #ff7f4d;
  border: 1px solid #ff7f4d;
  color: #0a0a0a;
  font: 600 14.5px/1.2 var(--font);
  text-decoration: none;
}

body.page-alternatives-github-hosted-runners header.hero blockquote p.cta a:hover,
body.page-alternatives-github-hosted-runners #alt-coreload p.cta a:first-child:hover {
  background: #ff9666;
  border-color: #ff9666;
  color: #0a0a0a;
}

/* 2-column scannable card grids for shortlist, why, look-for, choose, stay, faq */
body.page-alternatives-github-hosted-runners #shortlist { border-top: 0; padding-top: 12px; }

body.page-alternatives-github-hosted-runners :is(#shortlist, #why, #look-for, #choose, #stay, #faq) ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

body.page-alternatives-github-hosted-runners :is(#shortlist, #why, #look-for, #choose, #stay, #faq) li {
  margin: 0;
  padding: 13px 16px;
  background: var(--surface-3);
  border: 1px solid var(--line-default);
  border-radius: 8px;
  color: var(--fg-2);
  font-size: 14px;
  line-height: 1.5;
  min-width: 0;
}

body.page-alternatives-github-hosted-runners :is(#shortlist, #why, #look-for, #choose, #faq) li strong {
  color: var(--fg-1);
  font-weight: 600;
}

body.page-alternatives-github-hosted-runners #faq li strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14.5px;
  line-height: 1.35;
}

body.page-alternatives-github-hosted-runners #shortlist li:first-child {
  border-color: rgba(255, 91, 31, 0.58);
  background: linear-gradient(135deg, rgba(255, 91, 31, 0.1), var(--surface-3) 65%);
  color: var(--fg-1);
}

body.page-alternatives-github-hosted-runners :is(#why, #choose) li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

/* Switch one job: sunken diff card */
body.page-alternatives-github-hosted-runners #switch pre {
  background: var(--surface-0);
  border: 1px solid var(--line-default);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 12px 0 10px;
  font-size: 13.5px;
  line-height: 1.65;
}

body.page-alternatives-github-hosted-runners #switch pre .del {
  display: block;
  color: #fca5a5;
}

body.page-alternatives-github-hosted-runners #switch pre .add {
  display: block;
  color: #34d399;
}

/* Price table & whole-core visual */
body.page-alternatives-github-hosted-runners #prices .price-table {
  margin-top: 12px;
}

body.page-alternatives-github-hosted-runners table.compare-side {
  width: 100%;
  margin: 0 0 12px;
  background: var(--surface-3);
  border: 1px solid var(--line-default);
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.38;
}

body.page-alternatives-github-hosted-runners table.compare-side th {
  background: var(--surface-2);
  color: var(--fg-2);
  padding: 8px 7px;
  white-space: normal;
  vertical-align: bottom;
}

body.page-alternatives-github-hosted-runners table.compare-side td {
  padding: 8px 7px;
  vertical-align: top;
  color: var(--fg-2);
  border-bottom: 1px solid var(--line-subtle);
}

body.page-alternatives-github-hosted-runners table.compare-side tr.is-us > td {
  color: var(--fg-1);
}

body.page-alternatives-github-hosted-runners table.compare-side .cmp-gap {
  font-size: 12px;
  line-height: 1.38;
  color: var(--fg-2);
}

body.page-alternatives-github-hosted-runners table.compare-side .cmp-gap + .cmp-gap {
  margin-top: 3px;
}

body.page-alternatives-github-hosted-runners table.compare-side .cmp-gap.less b {
  color: #34d399;
  font-weight: 600;
}

body.page-alternatives-github-hosted-runners .tier-name {
  white-space: nowrap;
}

body.page-alternatives-github-hosted-runners .tier-name .tier-fast {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  margin-left: 3px;
  border-radius: 3px;
  background: #ff7f4d;
  color: #0a0a0a;
  font: 700 12px/1.15 var(--mono);
}

body.page-alternatives-github-hosted-runners .tier-name .tier-fast em {
  color: #0a0a0a;
  font-style: italic;
}

body.page-alternatives-github-hosted-runners #prices .price-table > p {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--fg-3);
  margin: 0;
}

body.page-alternatives-github-hosted-runners .sizes-picture .landing-versus {
  margin: 18px 0 4px;
  gap: 14px;
}

body.page-alternatives-github-hosted-runners .sizes-picture .landing-versus > div {
  background: var(--surface-3);
  border-color: var(--line-default);
  border-radius: 10px;
  padding: 18px 22px;
}

body.page-alternatives-github-hosted-runners .sizes-picture .landing-versus > div.is-us {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(255, 91, 31, 0.08), var(--surface-3) 56%);
}

body.page-alternatives-github-hosted-runners .sizes-picture .landing-cpu-blocks {
  width: 175px;
  padding-top: 8px;
}

/* The options heading */
body.page-alternatives-github-hosted-runners #options,
body.page-alternatives-github-hosted-runners #options:nth-of-type(even) {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line-default);
  border-radius: 0;
  padding: 24px 0 2px;
}

body.page-alternatives-github-hosted-runners #options p {
  margin-bottom: 0;
}

/* Featured Coreload card (#alt-coreload) internal polish */
body.page-alternatives-github-hosted-runners #alt-coreload,
body.page-alternatives-github-hosted-runners #alt-coreload:nth-of-type(even) {
  border: 1px solid #ff5b1f;
  border-radius: 16px;
  padding: 24px 28px;
  background: linear-gradient(180deg, rgba(255, 91, 31, 0.08), var(--surface-3) 48%);
  grid-column: 1 / -1;
}

body.page-alternatives-github-hosted-runners #alt-coreload h2 {
  font-size: clamp(24px, 2.3vw, 30px);
  margin-bottom: 8px;
}

body.page-alternatives-github-hosted-runners #alt-coreload > p {
  color: var(--fg-2);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0 0 8px;
}

body.page-alternatives-github-hosted-runners #alt-coreload .compare-bars {
  background: var(--surface-0);
  border: 1px solid var(--line-default);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 14px 0 10px;
  gap: 5px;
}

body.page-alternatives-github-hosted-runners #alt-coreload .compare-bars .bar-head {
  margin: 8px 0 2px;
  font-size: 13.5px;
  color: var(--fg-2);
}

body.page-alternatives-github-hosted-runners #alt-coreload .compare-bars .bar-head:first-child {
  margin-top: 0;
}

body.page-alternatives-github-hosted-runners #alt-coreload .compare-bars .bar-head b {
  color: var(--fg-1);
}

body.page-alternatives-github-hosted-runners #alt-coreload .compare-bars .bar-row {
  font-size: 13px;
  color: var(--fg-2);
}

body.page-alternatives-github-hosted-runners #alt-coreload .compare-bars .bar-row.ours {
  color: var(--fg-1);
}

body.page-alternatives-github-hosted-runners #alt-coreload ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

body.page-alternatives-github-hosted-runners #alt-coreload li {
  margin: 0;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--line-default);
  border-radius: 8px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--fg-1);
}

body.page-alternatives-github-hosted-runners #alt-coreload p.cta {
  margin: 12px 0 14px;
  gap: 10px;
}

body.page-alternatives-github-hosted-runners #alt-coreload p.cta:last-child {
  margin-bottom: 0;
}

body.page-alternatives-github-hosted-runners #alt-coreload p.cta a:not(:first-child) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  height: auto;
  padding: 9px 16px;
  border-radius: 5px;
  background: var(--surface-4);
  border: 1px solid var(--line-strong);
  color: var(--fg-1);
  font: 500 14px/1.2 var(--font);
  text-decoration: none;
}

body.page-alternatives-github-hosted-runners #alt-coreload p.cta a:not(:first-child):hover {
  background: #32323a;
  border-color: #62626f;
  color: #ffffff;
}

/* Competitor provider comparison cards: 2-column grid (#alt-blacksmith through #alt-self-hosted) */
body.page-alternatives-github-hosted-runners main > section[id^=alt-]:not(#alt-coreload),
body.page-alternatives-github-hosted-runners main > section[id^=alt-]:not(#alt-coreload):nth-of-type(even) {
  display: flex;
  flex-direction: column;
  padding: 20px 22px;
  background: var(--surface-3);
  border: 1px solid var(--line-default);
  border-radius: 10px;
  min-width: 0;
}

body.page-alternatives-github-hosted-runners main > section[id^=alt-]:not(#alt-coreload) h2 {
  font-size: 19px;
  line-height: 1.24;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--fg-1);
}

body.page-alternatives-github-hosted-runners main > section[id^=alt-]:not(#alt-coreload) p {
  font-size: 14px;
  line-height: 1.52;
  color: var(--fg-2);
  margin: 0 0 8px;
}

body.page-alternatives-github-hosted-runners main > section[id^=alt-]:not(#alt-coreload) ul {
  margin: 2px 0 12px;
  padding-left: 18px;
}

body.page-alternatives-github-hosted-runners main > section[id^=alt-]:not(#alt-coreload) li {
  margin: 4px 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--fg-2);
}

body.page-alternatives-github-hosted-runners main > section[id^=alt-]:not(#alt-coreload) p:last-child {
  margin: auto 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line-subtle);
  font-size: 12.5px;
  line-height: 1.48;
  color: var(--fg-3);
}

body.page-alternatives-github-hosted-runners main > section[id^=alt-]:not(#alt-coreload) p:last-child a {
  color: var(--fg-2);
}

body.page-alternatives-github-hosted-runners main > section[id^=alt-]:not(#alt-coreload) p:last-child a:hover {
  color: var(--fg-1);
}

/* Related reading: clean link strip + 3-column action row */
body.page-alternatives-github-hosted-runners #related ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

body.page-alternatives-github-hosted-runners #related li {
  margin: 0;
}

body.page-alternatives-github-hosted-runners #related li:first-child {
  grid-column: 1 / -1;
  padding: 14px 18px;
  background: var(--surface-2);
  border: 1px solid var(--line-default);
  border-radius: 8px;
  color: var(--fg-2);
  font-size: 14px;
  line-height: 1.55;
}

body.page-alternatives-github-hosted-runners #related li p.cta {
  margin: 0;
  width: 100%;
}

body.page-alternatives-github-hosted-runners #related li p.cta a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 46px;
  height: auto;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--surface-3);
  border: 1px solid var(--line-default);
  color: var(--fg-1);
  font: 500 14px/1.35 var(--font);
  text-decoration: none;
}

body.page-alternatives-github-hosted-runners #related li p.cta a:hover {
  background: var(--surface-4);
  border-color: var(--line-strong);
  color: #ffffff;
}

@media (max-width: 900px) {
  body.page-alternatives-github-hosted-runners main {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  body.page-alternatives-github-hosted-runners :is(#shortlist, #why, #look-for, #choose, #stay, #faq, #related) ul,
  body.page-alternatives-github-hosted-runners #alt-coreload ul {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  body.page-alternatives-github-hosted-runners header.hero {
    padding: 22px 18px;
  }

  body.page-alternatives-github-hosted-runners header.hero blockquote {
    padding: 18px 16px;
  }

  body.page-alternatives-github-hosted-runners header.hero blockquote p.cta a,
  body.page-alternatives-github-hosted-runners #alt-coreload p.cta a {
    width: 100%;
  }

  body.page-alternatives-github-hosted-runners #alt-coreload,
  body.page-alternatives-github-hosted-runners #alt-coreload:nth-of-type(even) {
    padding: 20px 18px;
  }

  body.page-alternatives-github-hosted-runners #alt-coreload .compare-bars {
    padding: 14px 12px;
  }

  body.page-alternatives-github-hosted-runners #alt-coreload .compare-bars .bar-row {
    grid-template-columns: 7rem 1fr 4.25rem;
    gap: 8px;
    font-size: 12.5px;
  }

  body.page-alternatives-github-hosted-runners main > section[id^=alt-]:not(#alt-coreload),
  body.page-alternatives-github-hosted-runners main > section[id^=alt-]:not(#alt-coreload):nth-of-type(even) {
    padding: 18px 16px;
  }
}
