/* mond content pages: product pages, comparisons, guides, About, privacy and 404.
   Loaded after styles.css and built on its variables (paper, cards, the season's accent, day and night).
   Every variable has a fallback, so these pages still read well if styles.css changes underneath them.
   Only adds classes; the shared header, article, table and waitlist styles stay in styles.css. */

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 60;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink, #15141b);
  color: var(--on-ink, #fff);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transform: translate(-50%, -160%);
  transition: transform 0.2s;
}
.skip-link:focus { transform: translate(-50%, 0); outline: 3px solid var(--focus, #3346d3); outline-offset: 3px; }

/* ---------- Header with page links ---------- */
.nav a[aria-current="page"], .nav a.is-section { color: var(--label, #1c1b23); } /* plus the brush stroke from styles.css */
/* four links plus the theme button need more room than the home page's three: short web label, links hide earlier */
@media (min-width: 521px) {
  .has-nav .web-btn .wb-long { display: none; }
  .has-nav .web-btn .wb-short { display: inline; }
}
@media (max-width: 1099px) {
  .has-nav .header-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .has-nav .nav { display: none; }
  .has-nav .header-actions { grid-column: 2; }
}

/* ---------- Wider blocks between article columns ---------- */
.wide-block { padding-top: 8px; padding-bottom: 8px; }
.article + .wide-block { margin-top: -48px; }
.wide-block + .article { padding-top: 40px; }
.block-head { max-width: 780px; margin: 0 auto 18px; }
.block-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); line-height: 1.1; letter-spacing: -0.032em; word-spacing: 0; }
.block-head p { margin-top: 10px; font-size: 17px; line-height: 1.6; color: var(--label-2, #5e5c69); }
.block-foot { max-width: 780px; margin: 10px auto 0; }

/* ---------- Status badges: text and a symbol, never colour alone ---------- */
.st {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 8px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  white-space: nowrap;
  vertical-align: 1px;
}
.st::before { font-size: 12px; line-height: 1; }
.st-yes { background: var(--lime-soft, #eaf8d9); color: var(--green-ink, #2e7a00); }
.st-yes::before { content: "\2713"; }
.st-launch { background: var(--accent-soft, #e7e7fa); color: var(--accent-ink, #4651b5); }
.st-launch::before { content: "\25F7"; }
.st-no { background: var(--well, rgba(44, 36, 84, 0.05)); color: var(--label-2, #5e5c69); box-shadow: inset 0 0 0 1px var(--sep, rgba(44, 36, 84, 0.12)); }
.st-no::before { content: "\2014"; }
.st-plan { background: #fff3d6; color: #7a4b00; }
.st-plan::before { content: "\2026"; }
.st-nv { background: transparent; color: var(--label-2, #5e5c69); box-shadow: inset 0 0 0 1px var(--sep, rgba(44, 36, 84, 0.12)); }
.st-nv::before { content: "?"; font-weight: 800; }
[data-theme="dark"] .st-plan { background: rgba(255, 196, 80, 0.16); color: #ffd877; }

.legend { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 14px; padding: 0; list-style: none; font-size: 15px; line-height: 1.45; color: var(--label-2, #5e5c69); }
.prose .legend { padding-left: 0; list-style: none; }
.legend li { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.prose .legend li + li { margin-top: 0; }

/* ---------- Comparison tables ---------- */
.cmp table { table-layout: fixed; }
.cmp td .st { margin-bottom: 6px; }
.cmp td p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--label-2, #5e5c69); }
.cmp td p + p { margin-top: 6px; }
.cmp td a { color: var(--accent-ink, #4651b5); text-underline-offset: 3px; }
.cmp thead th { vertical-align: bottom; }
.cmp thead th small { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; color: var(--label-2, #5e5c69); }
.cmp tbody th { font-size: 15px; }
/* two products side by side: wrap instead of scrolling */
.cmp-2 table { min-width: 0; }
.cmp-2 col.c-feature { width: 30%; }
.cmp-2 col.c-product { width: 35%; }
.cmp-2 thead .is-mond { background: var(--lime-soft, #eaf8d9); }
/* many products: scroll sideways with the row labels pinned */
.cmp-many table { min-width: 1040px; }
.cmp-many col.c-feature { width: 150px; }
.cmp-many tbody th, .cmp-many thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--card, #fff); box-shadow: 1px 0 0 var(--sep, rgba(44, 36, 84, 0.12)); }
.cmp-many thead th:first-child { background: var(--card-2, #f2efe7); }
.cmp-many td.is-mond { background: color-mix(in srgb, var(--lime-soft, #eaf8d9) 55%, transparent); }
.cmp-many thead th.is-mond { background: var(--lime-soft, #eaf8d9); }
.table-hint { margin-top: 8px; font-size: 14px; color: var(--label-2, #5e5c69); }

/* ---------- Notes and callouts ---------- */
.status-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 30px;
  padding: 16px 20px;
  border-radius: 18px;
  background: var(--accent-soft, #e7e7fa);
  color: var(--label, #1c1b23);
  font-size: 16px;
  line-height: 1.55;
}
.status-note::before { content: ""; flex: none; width: 9px; height: 9px; margin-top: 8px; border-radius: 50%; background: var(--lime, #8adb2e); box-shadow: 0 0 0 4px rgba(138, 219, 46, 0.25); }
.status-note a { color: var(--accent-ink, #4651b5); font-weight: 600; text-underline-offset: 3px; }
.disclosure { font-size: 15px; color: var(--label-2, #5e5c69); }

/* an answer that's meant to be quoted */
.answer { padding: 18px 22px; border-left: 4px solid var(--lime, #8adb2e); border-radius: 0 16px 16px 0; background: var(--card, #fff); box-shadow: var(--card-shadow, none); color: var(--label, #1c1b23); }
.quote-box { margin-top: 16px; padding: 18px 22px; border-radius: 18px; background: var(--card, #fff); box-shadow: inset 0 0 0 1px var(--sep, rgba(44, 36, 84, 0.12)); font-size: 17px; line-height: 1.6; color: var(--label, #1c1b23); }
.quote-box p + p { margin-top: 12px; }
.quote-box b { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 700; letter-spacing: 0.01em; color: var(--label-2, #5e5c69); }

/* ---------- "Choose X if..." ---------- */
.verdict { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.verdict-card { padding: 22px 24px 24px; border-radius: 22px; background: var(--card, #fff); box-shadow: var(--card-shadow, none); }
.verdict-card.is-mond { background: var(--lime-soft, #eaf8d9); box-shadow: none; }
.prose .verdict-card h3 { margin: 0 0 10px; font-size: 19px; line-height: 1.25; }
.prose .verdict-card ul { margin: 0; padding-left: 1.2em; font-size: 16px; line-height: 1.55; }
.prose .verdict-card li + li { margin-top: 6px; }

/* ---------- Link cards (hubs) ---------- */
.hub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.hub a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 24px 24px;
  border-radius: 22px;
  background: var(--card, #fff);
  box-shadow: var(--card-shadow, none);
  color: var(--label, #1c1b23);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.hub a:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent, #7c86e0) 45%, transparent), 0 24px 44px -28px rgba(var(--shade, 26, 28, 84), 0.45); }
.hub-kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.01em; color: var(--accent-ink, #4651b5); }
.hub-title { font-family: var(--display); font-size: 21px; font-weight: 600; line-height: 1.22; letter-spacing: -0.02em; }
.hub-desc { font-size: 16px; line-height: 1.5; color: var(--label-2, #5e5c69); }
.prose .hub a { color: var(--label, #1c1b23); text-decoration: none; }

/* ---------- Facts list (About) ---------- */
.facts { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); margin-top: 22px; overflow: hidden; border-radius: 22px; background: var(--card, #fff); box-shadow: var(--card-shadow, none); font-size: 16px; line-height: 1.55; }
.facts dt, .facts dd { padding: 14px 20px; border-top: 1px solid var(--sep, rgba(44, 36, 84, 0.12)); }
.facts dt { font-weight: 600; color: var(--label, #1c1b23); }
.facts dd { color: var(--label-2, #5e5c69); }
.facts dt:first-of-type, .facts dt:first-of-type + dd { border-top: 0; }

/* ---------- Painted panels on content pages ---------- */
.reminder-panel { min-height: 380px; }
.reminder-panel .notif-stack { position: relative; z-index: 1; width: 100%; max-width: 360px; }

/* ---------- Printable log template ---------- */
.log-table td { height: 44px; }
.log-table tbody th { white-space: nowrap; }
.print-hint { font-size: 15px; color: var(--label-2, #5e5c69); }

/* ---------- Footer with link groups ---------- */
.footer-full .wrap { padding-top: 40px; border-top: 1px solid var(--sep, rgba(44, 36, 84, 0.12)); }
.footer-cols { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 4fr); gap: 32px; }
.footer-about p { max-width: 17rem; margin-top: 12px; font-size: 14px; line-height: 1.5; }
.footer-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.footer-h { margin-bottom: 10px; font-size: 14px; font-weight: 600; color: var(--label, #1c1b23); }
.footer-col ul { display: grid; gap: 2px; list-style: none; }
.footer-col a { display: inline-block; padding: 4px 0; color: var(--label-2, #5e5c69); text-decoration: none; }
.footer-col a:hover { color: var(--label, #1c1b23); }
.footer-col a[aria-current="page"] { color: var(--label, #1c1b23); font-weight: 600; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--sep, rgba(44, 36, 84, 0.12)); }
.footer-bottom a { color: inherit; text-underline-offset: 3px; }
@media (max-width: 1000px) {
  .footer-cols { grid-template-columns: minmax(0, 1fr); }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .footer-full { text-align: left; }
  .footer-nav { gap: 26px 20px; }
  .footer-bottom { flex-direction: column; }
}

/* ---------- Phones ---------- */
@media (max-width: 720px) {
  .article + .wide-block { margin-top: -32px; }
  .wide-block + .article { padding-top: 28px; }
  .verdict, .hub { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts dt { padding-bottom: 2px; }
  .facts dd { padding-top: 0; border-top: 0; }
  .cmp table { font-size: 15px; }
  .cmp th, .cmp td { padding: 12px 10px; }
  .cmp-2 col.c-feature { width: 28%; }
  .cmp-2 col.c-product { width: 36%; }
  .cmp td p { font-size: 14px; }
  .st { padding: 2px 8px 2px 7px; font-size: 12px; white-space: normal; }
  .status-note { font-size: 15px; }
  .reminder-panel { min-height: 260px; }
}

/* ---------- Print: just the article (handy for the log template) ---------- */
@media print {
  .header, .skip-link, .final, .footer, .article-actions, .toc, .related, .hub { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .article { max-width: none; padding-top: 0; }
  .table-wrap { overflow: visible; box-shadow: none; }
  .table-wrap table { min-width: 0; }
  .table-wrap th, .table-wrap td { border: 1px solid #999; }
  a { color: inherit; text-decoration: none; }
}
