/*
 * docs.albahadly.com theme: a layer over DocFX's "modern" template (Bootstrap 5).
 * Every product site and the portal share this file.
 *
 * Rules of the file:
 *  - Colours come from the tokens below, never literals, so light and dark stay in step.
 *  - Spacing uses logical properties (margin-inline-start, not margin-left) so a page rendered
 *    with dir="rtl" (the reserved Arabic locale) mirrors without a second stylesheet.
 */

/* ---------- Tokens ---------- */

:root,
[data-bs-theme="light"] {
  --dw-brand-50: #eef2ff;
  --dw-brand-100: #e0e7ff;
  --dw-brand-200: #c7d2fe;
  --dw-brand-500: #6366f1;
  --dw-brand-600: #4f46e5;
  --dw-brand-700: #4338ca;
  --dw-brand-900: #1e1b4b;
  --dw-accent: #0891b2;

  --dw-bg: #ffffff;
  --dw-bg-subtle: #f8fafc;
  --dw-bg-muted: #f1f5f9;
  --dw-border: #e2e8f0;
  --dw-text: #0f172a;
  --dw-text-muted: #475569;
  --dw-text-faint: #64748b;
  --dw-code-bg: #f6f8fb;
  --dw-code-border: #e5e9f0;
  --dw-inline-code-bg: #eef2ff;
  --dw-inline-code-text: #3730a3;
  --dw-shadow: 0 1px 2px rgb(15 23 42 / 0.04), 0 4px 16px rgb(15 23 42 / 0.06);
  --dw-shadow-lg: 0 2px 4px rgb(15 23 42 / 0.05), 0 12px 32px rgb(15 23 42 / 0.10);
  --dw-hero-bg: radial-gradient(1200px 500px at 85% -10%, #c7d2fe 0%, transparent 60%),
                radial-gradient(900px 400px at 0% 0%, #cffafe 0%, transparent 55%),
                #f8fafc;

  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bs-font-monospace: "JetBrains Mono", "Cascadia Code", Consolas, "SFMono-Regular", Menlo, monospace;
  --bs-body-color: var(--dw-text);
  --bs-body-bg: var(--dw-bg);
  --bs-emphasis-color: var(--dw-text);
  --bs-secondary-color: var(--dw-text-muted);
  --bs-border-color: var(--dw-border);
  --bs-link-color: var(--dw-brand-600);
  --bs-link-color-rgb: 79, 70, 229;
  --bs-link-hover-color: var(--dw-brand-700);
  --bs-link-hover-color-rgb: 67, 56, 202;
  --bs-primary: var(--dw-brand-600);
  --bs-primary-rgb: 79, 70, 229;
}

[data-bs-theme="dark"] {
  --dw-brand-50: #1e1b4b;
  --dw-brand-100: #262262;
  --dw-brand-200: #3730a3;
  --dw-brand-500: #818cf8;
  --dw-brand-600: #a5b4fc;
  --dw-brand-700: #c7d2fe;
  --dw-brand-900: #e0e7ff;
  --dw-accent: #22d3ee;

  --dw-bg: #0b1020;
  --dw-bg-subtle: #0f1629;
  --dw-bg-muted: #151d33;
  --dw-border: #222c45;
  --dw-text: #e2e8f0;
  --dw-text-muted: #a3b0c6;
  --dw-text-faint: #8391a9;
  --dw-code-bg: #0f1629;
  --dw-code-border: #222c45;
  --dw-inline-code-bg: #1c2340;
  --dw-inline-code-text: #c7d2fe;
  --dw-shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 4px 16px rgb(0 0 0 / 0.3);
  --dw-shadow-lg: 0 2px 4px rgb(0 0 0 / 0.35), 0 12px 32px rgb(0 0 0 / 0.4);
  --dw-hero-bg: radial-gradient(1200px 500px at 85% -10%, #312e81 0%, transparent 60%),
                radial-gradient(900px 400px at 0% 0%, #083344 0%, transparent 55%),
                #0b1020;

  --bs-body-color: var(--dw-text);
  --bs-body-bg: var(--dw-bg);
  --bs-emphasis-color: #f8fafc;
  --bs-secondary-color: var(--dw-text-muted);
  --bs-border-color: var(--dw-border);
  --bs-link-color: var(--dw-brand-600);
  --bs-link-color-rgb: 165, 180, 252;
  --bs-link-hover-color: var(--dw-brand-700);
  --bs-link-hover-color-rgb: 199, 210, 254;
}

/* ---------- Base ---------- */

body {
  background: var(--dw-bg);
  color: var(--dw-text);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ---------- Header ---------- */

body > header {
  background: color-mix(in srgb, var(--dw-bg) 86%, transparent) !important;
  backdrop-filter: saturate(180%) blur(12px);
  border-color: var(--dw-border) !important;
}

.navbar { min-height: 60px; }

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  color: var(--dw-text) !important;
}

.navbar-brand #logo { width: 30px; height: 30px; margin: 0; }

.brand-version {
  align-self: center;
  margin-inline-end: 0.5rem;
  padding: 0.12rem 0.5rem;
  border: 1px solid var(--dw-brand-200);
  border-radius: 999px;
  background: var(--dw-brand-50);
  color: var(--dw-brand-700);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.product-switcher { align-self: center; margin-inline-end: 1rem; }

.product-switcher > .btn {
  border: 1px solid var(--dw-border);
  border-radius: 8px;
  color: var(--dw-text-muted);
  font-weight: 500;
}

.product-switcher > .btn:hover { color: var(--dw-text); background: var(--dw-bg-muted); }

.product-switcher .dropdown-menu {
  min-width: 260px;
  padding: 0.4rem;
  border-color: var(--dw-border);
  border-radius: 12px;
  box-shadow: var(--dw-shadow-lg);
}

.product-switcher .dropdown-item {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
}

.product-switcher .dropdown-item small { color: var(--dw-text-faint); }

#navbar .navbar-nav .nav-link {
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--dw-text-muted);
  padding-inline: 0.8rem;
}

#navbar .navbar-nav .nav-link { white-space: nowrap; }

@media (min-width: 768px) and (max-width: 1199.98px) {
  #navbar .navbar-nav .nav-link { padding-inline: 0.5rem; font-size: 0.9rem; }
  .product-switcher { margin-inline-end: 0.5rem; }
}

#navbar .navbar-nav .nav-link:hover,
#navbar .navbar-nav .nav-link.active { color: var(--dw-brand-600); }

#navbar .navbar-nav .nav-link.active { box-shadow: inset 0 -2px 0 var(--dw-brand-600); }

#search .form-control {
  border-radius: 10px;
  background: var(--dw-bg-muted);
  border-color: transparent;
}

#search .form-control:focus {
  background: var(--dw-bg);
  border-color: var(--dw-brand-500);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--dw-brand-500) 22%, transparent);
}

/* ---------- Sidebar TOC and affix ---------- */

.toc { font-size: 0.9rem; }

.toc ul > li > a { color: var(--dw-text-muted); border-radius: 6px; }
.toc ul > li > a:hover { color: var(--dw-text); }
.toc ul > li.active > a,
.toc ul > li > a.active { color: var(--dw-brand-600); font-weight: 600; }

.toc .form-control { border-radius: 8px; font-size: 0.86rem; }

.affix { font-size: 0.85rem; }
.affix h5 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--dw-text-faint); }
.affix a { color: var(--dw-text-muted); }
.affix a.active, .affix a:hover { color: var(--dw-brand-600); }

/* ---------- Article typography ---------- */

article { line-height: 1.7; font-size: 1rem; }

article h1 {
  font-size: 2.15rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-block-end: 1rem;
}

article h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-block-start: 2.6rem;
  padding-block-start: 1.4rem;
  border-block-start: 1px solid var(--dw-border);
}

article h3 { font-size: 1.18rem; font-weight: 650; margin-block-start: 1.8rem; }
article h4 { font-size: 1.02rem; font-weight: 650; }

article > p:first-of-type.lead,
article .lead {
  font-size: 1.15rem;
  color: var(--dw-text-muted);
  line-height: 1.65;
}

article :not(pre) > code {
  padding: 0.12em 0.4em;
  border-radius: 5px;
  background: var(--dw-inline-code-bg);
  color: var(--dw-inline-code-text);
  font-size: 0.86em;
}

article a code { color: inherit; }

/* ---------- Code blocks ---------- */

article pre {
  position: relative;
  border: 1px solid var(--dw-code-border);
  border-radius: 12px;
  background: var(--dw-code-bg) !important;
  padding: 1rem 1.1rem;
  font-size: 0.82rem;
  line-height: 1.6;
}

article pre > code.hljs { background: transparent !important; padding: 0; }

article pre .code-action {
  border-radius: 6px;
  opacity: 0.7;
}

article pre:hover .code-action { opacity: 1; }

/* ---------- Tables ---------- */

article table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--dw-border);
  border-radius: 12px;
  overflow: hidden;
  font-size: 0.92rem;
  margin-block: 1.25rem;
}

article table th {
  background: var(--dw-bg-muted);
  font-weight: 600;
  text-align: start;
}

article table th,
article table td {
  padding: 0.6rem 0.85rem;
  border-block-end: 1px solid var(--dw-border);
  vertical-align: top;
}

article table tr:last-child td { border-block-end: 0; }

/* ---------- Callouts (DocFX alerts) ---------- */

article .alert {
  border: 1px solid var(--dw-border);
  border-inline-start: 4px solid var(--dw-brand-500);
  border-radius: 10px;
  background: var(--dw-bg-subtle);
  color: var(--dw-text);
  padding: 0.9rem 1.1rem;
}

article .alert h5 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-block-end: 0.35rem;
}

article .alert-info { border-inline-start-color: #0ea5e9; }
article .alert-info h5 { color: #0284c7; }
article .alert-success { border-inline-start-color: #10b981; }
article .alert-success h5 { color: #059669; }
article .alert-warning { border-inline-start-color: #f59e0b; }
article .alert-warning h5 { color: #d97706; }
article .alert-danger { border-inline-start-color: #ef4444; }
article .alert-danger h5 { color: #dc2626; }

[data-bs-theme="dark"] article .alert-info h5 { color: #7dd3fc; }
[data-bs-theme="dark"] article .alert-success h5 { color: #6ee7b7; }
[data-bs-theme="dark"] article .alert-warning h5 { color: #fcd34d; }
[data-bs-theme="dark"] article .alert-danger h5 { color: #fca5a5; }

article .alert > p:last-child { margin-block-end: 0; }

/* ---------- Tabs ---------- */

article .tabGroup > ul[role="tablist"],
article .nav-tabs { border-color: var(--dw-border); }

article .tabGroup a[role="tab"],
article .nav-tabs .nav-link {
  color: var(--dw-text-muted);
  font-weight: 500;
  font-size: 0.9rem;
}

article .tabGroup a[role="tab"][aria-selected="true"],
article .nav-tabs .nav-link.active {
  color: var(--dw-brand-600);
  border-block-end: 2px solid var(--dw-brand-600);
}

/* ---------- Page badges ("Applies to", package) ---------- */

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-block: -0.25rem 1.5rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.6rem;
  border: 1px solid var(--dw-border);
  border-radius: 999px;
  background: var(--dw-bg-subtle);
  color: var(--dw-text-muted);
  font-size: 0.76rem;
  font-weight: 500;
}

.badge-pill.brand { border-color: var(--dw-brand-200); background: var(--dw-brand-50); color: var(--dw-brand-700); }

/* ---------- Screenshots ---------- */

figure.screenshot {
  margin-block: 1.5rem;
  border: 1px solid var(--dw-border);
  border-radius: 14px;
  background: var(--dw-bg-subtle);
  overflow: hidden;
}

figure.screenshot > .screenshot-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border-block-end: 1px solid var(--dw-border);
  background: var(--dw-bg-muted);
  color: var(--dw-text-faint);
  font-size: 0.78rem;
  font-family: var(--bs-font-monospace);
}

figure.screenshot > .screenshot-body {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  padding: 1.25rem;
  background:
    linear-gradient(45deg, var(--dw-bg-muted) 25%, transparent 25%) 0 0 / 16px 16px,
    linear-gradient(-45deg, var(--dw-bg-muted) 25%, transparent 25%) 0 0 / 16px 16px,
    var(--dw-bg-subtle);
}

figure.screenshot img {
  max-width: min(100%, 520px);
  height: auto;
  border-radius: 4px;
  background: #fff;
  box-shadow: var(--dw-shadow-lg);
}

figure.screenshot.pair img { max-width: min(100%, 360px); }
/* Show only the top part of a mostly-empty page (A4 proportions); the link opens it whole. */
figure.screenshot[class*="crop-"] img { object-fit: cover; object-position: top; width: 100%; }
figure.screenshot.pair[class*="crop-"] img { width: 340px; max-width: 100%; }
figure.screenshot.crop-40 img { aspect-ratio: 210 / 119; }
figure.screenshot.crop-50 img { aspect-ratio: 210 / 149; }
figure.screenshot.crop-60 img { aspect-ratio: 210 / 178; }
figure.screenshot.crop-70 img { aspect-ratio: 210 / 208; }
figure.screenshot.thumbs .screenshot-body { gap: 0.9rem; }
figure.screenshot.thumbs img { max-width: 132px; box-shadow: var(--dw-shadow); }

figure.screenshot .shot { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
figure.screenshot .shot > span { font-size: 0.78rem; color: var(--dw-text-faint); font-weight: 500; }

figure.screenshot > figcaption {
  padding: 0.6rem 0.9rem;
  border-block-start: 1px solid var(--dw-border);
  color: var(--dw-text-muted);
  font-size: 0.85rem;
}

/* ---------- Cards and grids (landing pages, overviews) ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1rem;
  margin-block: 1.5rem 2rem;
}

.card-grid.cols-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }

a.feature-card,
div.feature-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--dw-border);
  border-radius: 14px;
  background: var(--dw-bg);
  color: var(--dw-text);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

a.feature-card:hover {
  border-color: var(--dw-brand-500);
  box-shadow: var(--dw-shadow-lg);
  transform: translateY(-2px);
}

.feature-card .feature-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-block-end: 0.35rem;
  border-radius: 10px;
  background: var(--dw-brand-50);
  color: var(--dw-brand-600);
  font-size: 1.15rem;
}

.feature-card .feature-title { font-weight: 650; font-size: 1rem; }
.feature-card .feature-text { color: var(--dw-text-muted); font-size: 0.9rem; line-height: 1.55; }

/* ---------- Landing layout ---------- */

body[data-layout="landing"] main.container-xxl { max-width: none; padding: 0; }
body[data-layout="landing"] article { font-size: 1rem; }

/* Flex and grid items default to min-width: auto, so one wide code block would widen the whole
   page on a phone. Let every landing container shrink below its content instead. */
body[data-layout="landing"] main > .content,
body[data-layout="landing"] article,
.hero-inner > *,
.hero-code { min-width: 0; }

.landing-section {
  max-width: 1200px;
  margin-inline: auto;
  padding: 3.5rem 1.5rem;
}

.landing-section > h2 {
  border: 0;
  padding: 0;
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.landing-section > .section-lead {
  color: var(--dw-text-muted);
  font-size: 1.05rem;
  max-width: 720px;
  margin-block-end: 1.75rem;
}

.landing-section.alt {
  max-width: none;
  background: var(--dw-bg-subtle);
  border-block: 1px solid var(--dw-border);
}

.landing-section.alt > * { max-width: 1200px; margin-inline: auto; }

.hero {
  background: var(--dw-hero-bg);
  border-block-end: 1px solid var(--dw-border);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin-inline: auto;
  padding: 4.5rem 1.5rem 4rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--dw-brand-200);
  border-radius: 999px;
  background: color-mix(in srgb, var(--dw-bg) 70%, transparent);
  color: var(--dw-brand-700);
  font-size: 0.8rem;
  font-weight: 600;
}

.hero h1 {
  margin-block: 1rem 1rem;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hero h1 .grad {
  background: linear-gradient(90deg, var(--dw-brand-600), var(--dw-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.hero-lead {
  max-width: 560px;
  color: var(--dw-text-muted);
  font-size: 1.15rem;
  line-height: 1.6;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-block-start: 1.75rem; }

.btn-brand,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.btn-brand { background: #4f46e5; color: #fff !important; box-shadow: 0 6px 20px rgb(79 70 229 / 0.28); }
.btn-brand:hover { background: #4338ca; }
.btn-ghost { border: 1px solid var(--dw-border); background: var(--dw-bg); color: var(--dw-text) !important; }
.btn-ghost:hover { border-color: var(--dw-brand-500); }

.hero-code {
  border: 1px solid var(--dw-border);
  border-radius: 16px;
  background: var(--dw-bg);
  box-shadow: var(--dw-shadow-lg);
  overflow: hidden;
}

.hero-code-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.65rem 0.9rem;
  border-block-end: 1px solid var(--dw-border);
  background: var(--dw-bg-muted);
}

.hero-code-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--dw-border); }
.hero-code-bar span { margin-inline-start: 0.5rem; color: var(--dw-text-faint); font-size: 0.78rem; font-family: var(--bs-font-monospace); }

.hero-code pre { margin: 0; border: 0; border-radius: 0; background: transparent !important; overflow-x: auto; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-block-start: 2.25rem;
}

.stat { padding-inline-start: 0.9rem; border-inline-start: 2px solid var(--dw-brand-200); }
.stat strong { display: block; font-size: 1.4rem; font-weight: 750; letter-spacing: -0.02em; }
.stat span { color: var(--dw-text-muted); font-size: 0.85rem; }

/* Portal product cards (generated by tools/Build.cs) */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 1.25rem;
}

a.product-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-areas: "icon name" "icon version" "tagline tagline" "link link";
  column-gap: 1rem;
  row-gap: 0.2rem;
  padding: 1.5rem;
  border: 1px solid var(--dw-border);
  border-radius: 16px;
  background: var(--dw-bg);
  color: var(--dw-text);
  text-decoration: none;
  box-shadow: var(--dw-shadow);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

a.product-card:hover { border-color: var(--dw-brand-500); box-shadow: var(--dw-shadow-lg); transform: translateY(-2px); }
.product-card-icon { grid-area: icon; border-radius: 13px; }
.product-card-name { grid-area: name; align-self: end; font-size: 1.25rem; font-weight: 750; }
.product-card-version { grid-area: version; align-self: start; color: var(--dw-text-faint); font-size: 0.8rem; }
.product-card-tagline { grid-area: tagline; margin-block-start: 0.9rem; color: var(--dw-text-muted); line-height: 1.55; }
.product-card-link { grid-area: link; margin-block-start: 1rem; color: var(--dw-brand-600); font-weight: 600; font-size: 0.92rem; }

/* Steps (numbered tutorial outlines) */

ol.steps { counter-reset: step; list-style: none; padding-inline-start: 0; }

ol.steps > li {
  position: relative;
  counter-increment: step;
  padding-inline-start: 2.75rem;
  margin-block-end: 1.1rem;
}

ol.steps > li::before {
  content: counter(step);
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--dw-brand-50);
  border: 1px solid var(--dw-brand-200);
  color: var(--dw-brand-700);
  font-weight: 700;
  font-size: 0.85rem;
}

/* ---------- API reference pages ---------- */

body[data-yaml-mime="ManagedReference"] article h1,
body[data-yaml-mime="ApiPage"] article h1 { font-size: 1.8rem; word-break: break-word; }

article .api-title, article dl.parameters dt code { word-break: break-word; }

article dl.parameters dt { font-family: var(--bs-font-monospace); font-size: 0.9rem; }

/* ---------- Footer ---------- */

footer.site-footer { background: var(--dw-bg-subtle); font-size: 0.86rem; height: auto !important; min-height: 60px; padding-block: 0.9rem; }

footer.site-footer .footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

footer.site-footer .footer-spacer { flex: 1; }
footer.site-footer .footer-sep { color: var(--dw-text-faint); }
footer.site-footer a { color: var(--dw-text-muted); text-decoration: none; }
footer.site-footer a:hover { color: var(--dw-brand-600); }

/* ---------- Responsive ---------- */

@media (max-width: 991.98px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); padding-block: 3rem 2.5rem; gap: 2rem; }
}

@media (max-width: 767.98px) {
  .brand-version { display: none; }
  .product-switcher { margin-inline-end: 0.25rem; }
  article h1 { font-size: 1.75rem; }
  .landing-section { padding: 2.5rem 1rem; }
  .hero-inner { padding-inline: 1rem; }
  a.product-card { padding: 1.2rem; }
  figure.screenshot > .screenshot-body { padding: 0.75rem; }
}

@media print {
  body > header, .product-switcher, footer.site-footer { display: none !important; }
}
