/* DNS and Domains field notes theme */

:root {
  --woo-purple: #4f46e5;
  --woo-purple-deep: #4338ca;
  --woo-purple-dark: #3730a3;
  --woo-purple-tint: #eef2ff;
  --woo-ink: #1e1b3a;
  --woo-ink-soft: #565175;
  --woo-ink-faint: #8983a8;
  --woo-paper: #ffffff;
  --woo-surface: #fafaff;
  --woo-surface-2: #eef2ff;
  --woo-border: #e0e0f7;
  --woo-border-strong: #c7c5f0;
  --woo-code-bg: #1a1836;
  --woo-code-bar: #12102b;
  --woo-green: #4c9a2a;
  --woo-green-tint: #eef6e8;
  --woo-red: #cf4b3f;
  --woo-red-tint: #fbeeec;
  --woo-amber: #b9791a;
  --woo-amber-tint: #fbf3e3;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", "Fira Code", Menlo, Consolas, monospace;
  --wrap: 46rem;
  --radius: 12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--woo-ink);
  background: var(--woo-surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--woo-purple-deep); text-decoration-color: var(--woo-border-strong); text-underline-offset: 2px; }
a:hover { color: var(--woo-purple); }
:focus-visible { outline: 2px solid var(--woo-purple); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: 1.25rem; }
.prose { max-width: var(--wrap); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--woo-border);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 3.5rem; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 800; letter-spacing: -0.02em; color: var(--woo-ink); text-decoration: none; }
.brand__mark { width: 1.5rem; height: 1.5rem; border-radius: 7px; background: linear-gradient(135deg, var(--woo-purple), var(--woo-purple-deep)); flex: none; }
.brand__mark svg { display: block; }
.site-nav { display: flex; align-items: center; gap: 0.35rem; font-size: 0.9rem; font-weight: 600; }
.site-nav a { color: var(--woo-ink-soft); text-decoration: none; padding: 0.4rem 0.7rem; border-radius: 8px; }
.site-nav a:hover { color: var(--woo-purple-deep); background: var(--woo-surface-2); }
.site-nav a.is-cta { color: #fff; background: var(--woo-purple); }
.site-nav a.is-cta:hover { background: var(--woo-purple-deep); color: #fff; }
@media (max-width: 640px) { .site-nav .opt { display: none; } }

/* Eyebrow + headings */
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--woo-purple-deep); }
h1, h2, h3, h4 { color: var(--woo-ink); text-wrap: balance; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 2.9rem); font-weight: 800; margin: 0.6rem 0 0.8rem; }
h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 800; margin: 3rem 0 0.9rem; padding-top: 0.4rem; }
h3 { font-size: 1.2rem; font-weight: 700; margin: 2rem 0 0.6rem; }
p, ul, ol { font-size: 1.02rem; }
.lead { font-size: 1.18rem; color: var(--woo-ink-soft); }

/* Hero */
.hero { padding: 3rem 0 1rem; border-bottom: 1px solid var(--woo-border); background:
  radial-gradient(60rem 30rem at 80% -10%, var(--woo-purple-tint), transparent 60%); }
.hero .meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; font-size: 0.85rem; color: var(--woo-ink-faint); margin-top: 1rem; }
.hero .meta .chip { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--woo-paper); border: 1px solid var(--woo-border); border-radius: 999px; padding: 0.25rem 0.7rem; font-weight: 600; color: var(--woo-ink-soft); }
.pill { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 0.2rem 0.55rem; border-radius: 999px; }
.pill--diag { background: var(--woo-amber-tint); color: var(--woo-amber); }
.pill--repair { background: var(--woo-purple-tint); color: var(--woo-purple-deep); }
.pill--recon { background: var(--woo-green-tint); color: var(--woo-green); }

/* Article body */
article.prose > * { margin-block: 0; }
article.prose > * + * { margin-top: 1.1rem; }
article.prose h2 + p, article.prose h3 + p { margin-top: 0.5rem; }
article.prose ul, article.prose ol { padding-left: 1.3rem; }
article.prose li + li { margin-top: 0.4rem; }
article.prose strong { color: var(--woo-ink); font-weight: 700; }
article.prose code:not(pre code) { font-family: var(--font-mono); font-size: 0.86em; background: var(--woo-surface-2); border: 1px solid var(--woo-border); border-radius: 5px; padding: 0.1em 0.4em; color: var(--woo-purple-dark); }

/* Callouts */
.callout { border: 1px solid var(--woo-border); border-left-width: 4px; border-radius: var(--radius); padding: 1rem 1.15rem; background: var(--woo-paper); }
.callout__title { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.25rem; display: flex; align-items: center; gap: 0.5rem; }
.callout p { font-size: 0.96rem; margin: 0; }
.callout--problem { border-left-color: var(--woo-red); background: var(--woo-red-tint); }
.callout--problem .callout__title { color: var(--woo-red); }
.callout--solution { border-left-color: var(--woo-green); background: var(--woo-green-tint); }
.callout--solution .callout__title { color: var(--woo-green); }
.callout--note { border-left-color: var(--woo-purple); background: var(--woo-purple-tint); }
.callout--note .callout__title { color: var(--woo-purple-deep); }
.callout--warn { border-left-color: var(--woo-amber); background: var(--woo-amber-tint); }
.callout--warn .callout__title { color: var(--woo-amber); }

/* Diagram figure */
figure.diagram { margin: 1.6rem 0; padding: 1.25rem; background: var(--woo-paper); border: 1px solid var(--woo-border); border-radius: var(--radius); overflow-x: auto; }
figure.diagram svg { display: block; width: 100%; height: auto; min-width: 34rem; }
figure.diagram figcaption { margin-top: 0.8rem; font-size: 0.85rem; color: var(--woo-ink-faint); text-align: center; }

figure.feature-img { margin: 0 0 1.8rem; }
figure.feature-img img { display: block; width: 100%; height: auto; aspect-ratio: 40 / 21; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--woo-border); background: var(--woo-surface-2); }
figure.feature-img figcaption { margin-top: 0.55rem; font-size: 0.78rem; color: var(--woo-ink-faint); }
figure.feature-img figcaption a { color: var(--woo-ink-soft); }

/* Code tabs */
.code-block { margin: 1.4rem 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--woo-code-bar); background: var(--woo-code-bg); box-shadow: 0 12px 30px -18px rgba(55,48,163,0.5); }
.code-block__bar { display: flex; align-items: center; gap: 0.25rem; background: var(--woo-code-bar); padding: 0.4rem 0.5rem 0; position: relative; }
.code-tab { appearance: none; border: 0; background: transparent; color: #b8b4e6; font-family: var(--font-sans); font-size: 0.82rem; font-weight: 700; padding: 0.5rem 0.9rem; border-radius: 8px 8px 0 0; cursor: pointer; letter-spacing: 0.01em; }
.code-tab[aria-selected="true"] { background: var(--woo-code-bg); color: #fff; }
.code-tab:hover { color: #fff; }
.code-block__copy { margin-left: auto; margin-bottom: 0.35rem; align-self: center; appearance: none; border: 1px solid #332e63; background: transparent; color: #b8b4e6; font-size: 0.72rem; font-weight: 700; padding: 0.3rem 0.6rem; border-radius: 7px; cursor: pointer; }
.code-block__copy:hover { color: #fff; border-color: var(--woo-purple); }
.code-pane { display: none; }
.code-pane[data-active="true"] { display: block; }
.code-block pre { margin: 0; padding: 1.1rem 1.2rem; overflow-x: auto; font-family: var(--font-mono); font-size: 0.84rem; line-height: 1.6; color: #e2e0fb; tab-size: 4; }
.code-block pre code { font-family: inherit; }
.code-filename { color: #928db8; font-size: 0.74rem; font-family: var(--font-mono); padding: 0 0.5rem 0.4rem; }

/* Highlighter tokens */
.tok-com { color: #7f759e; font-style: italic; }
.tok-str { color: #b7e08a; }
.tok-kw  { color: #c99bf0; font-weight: 600; }
.tok-num { color: #f0b36b; }
.tok-fn  { color: #79c0ff; }
.tok-bi  { color: #6fd3c4; }

/* Steps */
.step { display: grid; grid-template-columns: 2.2rem 1fr; gap: 0.5rem 1rem; align-items: start; }
.step__n { grid-row: span 2; width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: 50%; background: var(--woo-purple); color: #fff; font-weight: 800; font-size: 0.95rem; font-variant-numeric: tabular-nums; }

/* Case studies */
.cases { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .cases { grid-template-columns: repeat(2, 1fr); } }
.case { background: var(--woo-paper); border: 1px solid var(--woo-border); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.case h4 { margin: 0 0 0.4rem; font-size: 1rem; }
.case p { margin: 0 0 0.5rem; font-size: 0.94rem; color: var(--woo-ink-soft); }
.case .tag { font-size: 0.72rem; font-weight: 700; color: var(--woo-purple-deep); text-transform: uppercase; letter-spacing: 0.06em; }

/* GitHub repo CTA */
.repo-cta { margin: 1.1rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.9rem; }
.repo-cta a { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--woo-ink); color: #fff; font-weight: 700; padding: 0.6rem 1.1rem; border-radius: 10px; text-decoration: none; font-size: 0.92rem; }
.repo-cta a:hover { background: #000; color: #fff; }
.repo-cta a::before { content: "{ }"; font-family: var(--font-mono); font-weight: 800; opacity: 0.7; }
.repo-cta span { font-size: 0.88rem; color: var(--woo-ink-faint); }

/* FAQ and related */
.faq { display: grid; gap: 0.6rem; }
.faq details { border: 1px solid var(--woo-border); border-radius: 10px; background: var(--woo-paper); padding: 0 1rem; }
.faq summary { cursor: pointer; font-weight: 700; padding: 0.8rem 0; color: var(--woo-ink); list-style-position: inside; }
.faq details[open] summary { color: var(--woo-purple-deep); }
.faq details > p { margin: 0 0 0.9rem; color: var(--woo-ink-soft); font-size: 0.96rem; }
.related { display: grid; gap: 0.5rem; margin-top: 0.5rem; }
.related a { display: flex; align-items: center; gap: 0.5rem; background: var(--woo-paper); border: 1px solid var(--woo-border); border-radius: 10px; padding: 0.7rem 0.95rem; text-decoration: none; color: var(--woo-ink); font-weight: 600; font-size: 0.95rem; }
.related a:hover { border-color: var(--woo-border-strong); color: var(--woo-purple-deep); }
.related a::before { content: "\2192"; color: var(--woo-purple); font-weight: 800; }

/* Citations */
.citations { background: var(--woo-surface); border: 1px solid var(--woo-border); border-radius: var(--radius); padding: 1.2rem 1.4rem; }
.citations ol { margin: 0.5rem 0 0; padding-left: 1.2rem; }
.citations li { font-size: 0.9rem; margin-top: 0.4rem; color: var(--woo-ink-soft); }
.citations a { word-break: break-word; }

/* Hire / contact CTA */
.hire { margin: 2.5rem 0 0; background: var(--woo-paper); border: 1px solid var(--woo-border-strong); border-radius: 16px; padding: 1.5rem 1.6rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; }
.hire__body { flex: 1 1 20rem; }
.hire h3 { margin: 0 0 0.35rem; }
.hire p { margin: 0; color: var(--woo-ink-soft); font-size: 0.98rem; }
.hire a.hire__btn { display: inline-flex; align-items: center; gap: 0.5rem; background: #0a66c2; color: #fff; font-weight: 800; padding: 0.7rem 1.3rem; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.hire a.hire__btn:hover { background: #08528f; color: #fff; }

/* Ko-fi CTA */
.kofi { margin: 2.5rem 0 1rem; background: linear-gradient(135deg, var(--woo-purple), var(--woo-purple-deep)); color: #fff; border-radius: 16px; padding: 1.6rem 1.6rem; text-align: center; }
.kofi h3 { color: #fff; margin: 0 0 0.4rem; }
.kofi p { color: #e6e6fb; margin: 0 auto 1rem; max-width: 34rem; font-size: 0.98rem; }
.kofi a.kofi__btn { display: inline-flex; align-items: center; gap: 0.5rem; background: #fff; color: var(--woo-purple-deep); font-weight: 800; padding: 0.7rem 1.3rem; border-radius: 999px; text-decoration: none; }
.kofi a.kofi__btn:hover { background: #eef0fe; }

/* Index cards */
.cat { margin-top: 2.5rem; }
.cat__head { display: flex; align-items: baseline; gap: 0.7rem; border-bottom: 1px solid var(--woo-border); padding-bottom: 0.5rem; margin-bottom: 1rem; }
.cat__head h2 { margin: 0; font-size: 1.25rem; }
.cat__head .count { font-size: 0.8rem; color: var(--woo-ink-faint); font-weight: 700; }
.grid { display: grid; gap: 0.8rem; }
@media (min-width: 40rem) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card { display: flex; flex-direction: column; gap: 0.5rem; background: var(--woo-paper); border: 1px solid var(--woo-border); border-radius: var(--radius); padding: 1rem 1.1rem; text-decoration: none; color: inherit; transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s; }
.card:hover { border-color: var(--woo-border-strong); transform: translateY(-2px); box-shadow: 0 12px 24px -18px rgba(55,48,163,0.45); }
.card h3 { margin: 0; font-size: 1rem; line-height: 1.3; }
.card p { margin: 0; font-size: 0.88rem; color: var(--woo-ink-soft); }
.card .card__foot { margin-top: auto; display: flex; align-items: center; gap: 0.5rem; }
/* Unbuilt topics: visible but not clickable */
.card--soon { opacity: 0.6; cursor: default; }
.card--soon:hover { transform: none; box-shadow: none; border-color: var(--woo-border); }
.pill--soon { background: var(--woo-surface-2); color: var(--woo-ink-faint); }

/* Free kit cards. Unlike .card these are NOT anchors — the whole card is not clickable,
   because the only action is the download and a card-wide link would also swallow the
   "Pro coming soon" line, which is deliberately inert. */
.card--kit { cursor: default; }
.card--kit:hover { transform: none; box-shadow: none; border-color: var(--woo-border-strong); }
.card__dl { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--woo-purple);
  color: #fff; font-weight: 700; font-size: 0.84rem; padding: 0.45rem 0.85rem;
  border-radius: 8px; text-decoration: none; }
.card__dl:hover { background: var(--woo-purple-deep); color: #fff; }
.card__dl::before { content: "\2193"; font-weight: 800; opacity: 0.8; }
/* Inert on purpose: the Pro edition is built but unpublished, so this is text, not a
   link. An enabled control pointing nowhere is worse than no control. */
.card__soon { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
  font-size: 0.8rem; color: var(--woo-ink-faint); cursor: default; user-select: none; }
.card__soon .pill { font-size: 0.72rem; }

/* Footer */
.site-footer { border-top: 1px solid var(--woo-border); margin-top: 4rem; padding: 2rem 0; color: var(--woo-ink-faint); font-size: 0.88rem; }
.site-footer a { color: var(--woo-ink-soft); }
.site-footer__inner { display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; align-items: center; justify-content: space-between; }

.breadcrumbs { font-size: 0.82rem; color: var(--woo-ink-faint); margin-bottom: 0.5rem; }
.breadcrumbs a { color: var(--woo-ink-soft); text-decoration: none; }
.breadcrumbs a:hover { color: var(--woo-purple-deep); }

/* ---------------------------------------------------------------------------
   Spreadsheets section additions.

   Everything above this line is the shared field-notes stylesheet, copied
   byte-for-byte from seo/assets/seo.css so the sections stay visually one site.
   Re-copy that file and re-append this block if the shared base ever changes.

   These pages need three things the field notes never did: real data tables,
   a price and buy block, and a visible line between the plain-language half of
   the page and the technical half.
   --------------------------------------------------------------------------- */

/* Tables. Wide ones scroll inside their own box rather than the page. */
.tbl { margin: 1.4rem 0; overflow-x: auto; border: 1px solid var(--woo-border); border-radius: var(--radius); background: var(--woo-paper); }
/* min-width is what makes the wrapper's overflow-x actually do something. With
   width:100% alone a five-column table squeezes into the 46rem prose column and
   wraps "This workbook" onto three lines instead of scrolling. */
.tbl table { border-collapse: collapse; width: 100%; min-width: 40rem; font-size: 0.92rem; }
.tbl tbody th, .tbl tbody td:first-child { font-weight: 600; color: var(--woo-ink); }
.tbl caption { caption-side: top; text-align: left; padding: 0.85rem 1rem 0; font-size: 0.85rem; font-weight: 700; color: var(--woo-ink-soft); }
.tbl th, .tbl td { padding: 0.6rem 0.9rem; text-align: left; border-bottom: 1px solid var(--woo-border); vertical-align: top; }
.tbl thead th { background: var(--woo-surface-2); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--woo-ink-soft); white-space: nowrap; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: var(--woo-surface); }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl .good { color: var(--woo-green); font-weight: 700; }
.tbl .bad { color: var(--woo-red); font-weight: 700; }
.tbl .tab-name { font-weight: 700; white-space: nowrap; }
.tbl tfoot td { background: var(--woo-surface-2); font-weight: 700; border-top: 2px solid var(--woo-border-strong); }

/* Workbook screenshot. Bordered, because it is evidence, not decoration. */
figure.shot { margin: 1.6rem 0; }
figure.shot img { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--woo-border); background: var(--woo-paper); }
figure.shot figcaption { margin-top: 0.6rem; font-size: 0.82rem; color: var(--woo-ink-faint); }

/* The line between "explained simply" and "here is the arithmetic". */
.depth { display: flex; align-items: center; gap: 1rem; margin: 2.6rem 0 1.4rem; color: var(--woo-ink-faint); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.depth::before, .depth::after { content: ""; flex: 1; height: 1px; background: var(--woo-border); }

/* Buy block */
.buy { margin: 2rem 0; padding: 1.5rem 1.6rem; background: var(--woo-surface); border: 1px solid var(--woo-border-strong); border-radius: var(--radius); }
.buy h3 { margin: 0 0 0.3rem; font-size: 1.15rem; }
.buy .price { font-size: 2.1rem; font-weight: 800; color: var(--woo-ink); letter-spacing: -0.02em; line-height: 1.1; }
.buy .price small { font-size: 0.85rem; font-weight: 600; color: var(--woo-ink-faint); letter-spacing: 0; }
.buy ul { margin: 1rem 0 1.2rem; padding: 0; list-style: none; display: grid; gap: 0.45rem; }
.buy li { position: relative; padding-left: 1.5rem; font-size: 0.94rem; color: var(--woo-ink-soft); }
.buy li::before { content: "\2713"; position: absolute; left: 0; color: var(--woo-green); font-weight: 800; }
.buy .cta { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--woo-purple); color: #fff; text-decoration: none; font-weight: 700; font-size: 1rem; padding: 0.8rem 1.5rem; border-radius: 10px; transition: background 0.15s, transform 0.15s; }
.buy .cta:hover { background: var(--woo-purple-deep); transform: translateY(-1px); }
.buy .fine { margin: 0.9rem 0 0; font-size: 0.82rem; color: var(--woo-ink-faint); }

/* Index page: price on each card */
.card .card__price { font-weight: 800; color: var(--woo-ink); font-variant-numeric: tabular-nums; }
.card .card__tabs { font-size: 0.8rem; color: var(--woo-ink-faint); }

/* ---------------------------------------------------------------------------
   Palette: Excel + Google Sheets.

   The shared base stylesheet is indigo, which is right for the field notes and
   wrong here — these pages are about spreadsheets, and a reader should feel
   that before reading a word. The variable NAMES are left alone on purpose so
   this is a pure re-skin: the base file can still be re-copied wholesale and
   only this block replaced.

     #217346  Microsoft Excel green      -> primary
     #0F9D58  Google Sheets green        -> "correct" / healthy
     #34A853  Google green               -> highlights
     #C5221F  Google red                 -> "wrong" / the costly mistake
   --------------------------------------------------------------------------- */
:root {
  --woo-purple: #217346;
  --woo-purple-deep: #1a5c38;
  --woo-purple-dark: #123f26;
  --woo-purple-tint: #e6f4ec;
  --woo-ink: #14261d;
  --woo-ink-soft: #476455;
  --woo-ink-faint: #7b9488;
  --woo-paper: #ffffff;
  --woo-surface: #f6fbf8;
  --woo-surface-2: #e6f4ec;
  --woo-border: #d2e8dc;
  --woo-border-strong: #a5cfb9;
  --woo-code-bg: #10251a;
  --woo-code-bar: #0a1a12;
  --woo-green: #0f9d58;
  --woo-green-tint: #e6f6ee;
  --woo-red: #c5221f;
  --woo-red-tint: #fceceb;
  --woo-amber: #b9791a;
  --woo-amber-tint: #fbf3e3;
}

/* A spreadsheet-green top rule, so the section is recognisable at a glance. */
.site-header { border-top: 3px solid var(--woo-purple); }

/* Numbers everywhere on these pages should line up like they do in a cell. */
.tbl td, .buy .price, .card__price { font-variant-numeric: tabular-nums; }

/* Wide tables (4+ columns) break out of the 46rem prose column on a big screen
   rather than scrolling, because a comparison table you have to drag sideways
   is a comparison table nobody reads. Below that width they scroll as usual. */
.tbl--wide table { min-width: 52rem; }
@media (min-width: 70rem) {
  .tbl--wide { width: min(64rem, calc(100vw - 3rem)); margin-left: calc((100% - min(64rem, calc(100vw - 3rem))) / 2); }
  .tbl--wide table { min-width: 0; }
}

/* The product covers are 1280x800 (16:10). The shared rule crops to 40:21, which
   cuts the "EXCEL + GOOGLE SHEETS" banner off the top and the tab count off the
   bottom — the two things on the cover worth keeping. Show the whole image. */
figure.feature-img img { aspect-ratio: 16 / 10; object-fit: contain; background: var(--woo-surface); }

/* The workbook screenshot is the single most persuasive thing on the page, and
   at 46rem the cell values are too small to read. Let it use the full width on
   a large screen, same as the wide tables. */
@media (min-width: 70rem) {
  figure.shot { width: min(64rem, calc(100vw - 3rem)); margin-left: calc((100% - min(64rem, calc(100vw - 3rem))) / 2); }
}

/* The shared stylesheet styles .card but never .cards, so the index stacked one
   product per row down a 46rem column. Twenty-one of those is a very long page
   and impossible to compare across. */
.cards { display: grid; gap: 1rem; margin: 1.2rem 0 2rem; }
@media (min-width: 52rem) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 70rem) {
  .cards { width: min(64rem, calc(100vw - 3rem)); margin-left: calc((100% - min(64rem, calc(100vw - 3rem))) / 2); grid-template-columns: repeat(3, 1fr); }
}
.card .card__meta { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.card .chip--cat { font-size: 0.72rem; font-weight: 700; color: var(--woo-purple-deep); text-transform: uppercase; letter-spacing: 0.05em; }
