/* ==========================================================================
   LogEM sub-pages: the shared reading system
   One stylesheet for every page except the homepage. Self-contained: it never
   loads css/style.css, so none of the homepage's choreography comes along.

   The tokens, nav, footer and browser surfaces below are copied from
   css/style.css (the "A1 Serif" homepage), which is their source. Change them
   there first, then mirror the change here.

   Reading system: a page head (Fraunces h1, grotesk lede, one App Store
   control), then sections separated by space and a hairline, never boxed. On
   wide screens each section's heading hangs in a narrow left column and the
   text sits in a 66ch measure on the right; phones get one column.
   ========================================================================== */

@font-face { font-family: "Fraunces fallback"; src: local("Georgia"); font-weight: 400; size-adjust: 86%; }
@font-face { font-family: "Fraunces fallback"; src: local("Georgia Bold"), local("Georgia-Bold"); font-weight: 700; size-adjust: 86%; }

/* ---------- tokens (source: css/style.css) ---------- */

:root {
  --ground: #E6E9E9;
  --stone: #DCE0E1;
  --hairline: #CDD2D4;
  --hairline-strong: #B9BFC2;

  --ink: #1A1816;
  --ink-2: #55524E;
  --ink-3: #65615D;

  --orange: #C33C00;
  --orange-press: #A33200;

  --sans: "Schibsted Grotesk", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --logo: "Fraunces", Georgia, serif;
  --display: "Fraunces", "Fraunces fallback", Georgia, serif;

  --t-h2: clamp(2.25rem, 1.25rem + 2.7vw, 3.75rem);
  --t-h3: 1.375rem;
  --t-lede: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --t-body: 1.0625rem;
  --t-small: 0.9375rem;
  --t-micro: 0.8125rem;

  --s1: 0.5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2rem;
  --s5: 3rem;
  --s6: 4rem;
  --gutter: clamp(1rem, 4vw, 3rem);
  --measure: 1240px;

  --r-cell: 4px;
  --r-control: 10px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-press: cubic-bezier(0.3, 0, 0.2, 1);

  /* sub-pages only */
  --t-sec: clamp(1.375rem, 1.2rem + 0.55vw, 1.75rem); /* section heading */
  --text: 66ch;                                       /* reading measure */
  --col-gap: var(--s5);
  --sec-pad: clamp(2.25rem, 1.5rem + 2vw, 3.5rem);    /* space inside a section */
  --ink-hover: #2A2724;                               /* ink button hover (style.css badge) */
  --r-badge: 12px;                                    /* store badges (css/pro.css) */
  --lift: 0 1px 2px rgba(26, 24, 22, 0.08), 0 10px 20px -10px rgba(26, 24, 22, 0.35);
  --nav-h: 64px;
}

/* ---------- base and browser surfaces (source: css/style.css) ---------- */

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scrollbar-color: var(--hairline-strong) var(--ground);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
[id] { scroll-margin-top: calc(var(--nav-h) + var(--s4)); }

body {
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--ground);
  caret-color: var(--orange);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-kerning: normal;
  overflow-x: hidden;
  overflow-x: clip;
}

::selection { background: var(--orange); color: #fff; }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--ground); }
::-webkit-scrollbar-thumb { background: var(--hairline-strong); border-radius: 6px; border: 3px solid var(--ground); }
::-webkit-scrollbar-thumb:hover { background: var(--ink-3); }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.nav-links a:focus-visible, .footer a:focus-visible, .prose a:focus-visible,
.related a:focus-visible, .toc a:focus-visible, .doc-foot a:focus-visible { border-radius: 3px; }

h1, h2, h3 { color: var(--ink); text-wrap: balance; }
h1, h2 {
  font-family: var(--display);
  font-weight: 600;
  font-optical-sizing: auto;
  font-style: normal;
  font-synthesis: none;
}
h3 { font-family: var(--sans); }

.section-inner { max-width: var(--measure); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- buttons (source: css/style.css) ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  font-family: var(--sans);
  font-size: var(--t-small);
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1;
  padding: 0.75rem 1.1rem;
  border-radius: var(--r-control);
  transition: background-color 180ms var(--ease-out), transform 120ms var(--ease-press);
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-press); }
.btn-primary:active { transform: scale(0.97); }

/* The page's App Store action: the homepage badge's ink, at button scale, so
   the nav's orange stays the one primary action in view. */
.btn-ink { background: var(--ink); color: #fff; padding: 0.85rem 1.2rem 0.85rem 1rem; min-height: 48px; }
.btn-ink:hover { background: var(--ink-hover); }
.btn-ink:active { transform: scale(0.98); }
.btn-glyph { width: 15px; height: 18px; fill: currentColor; flex: none; margin-top: -2px; }

/* ---------- nav (source: css/style.css) ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: var(--ground);
  box-shadow: 0 1px 0 transparent;
  transition: box-shadow 240ms var(--ease-out);
}
.nav.is-scrolled { box-shadow: 0 1px 0 var(--hairline); }

.nav-inner {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0.8rem var(--gutter);
  display: flex;
  align-items: center;
  gap: var(--s4);
}

.wordmark {
  font-family: var(--logo);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0;
  font-variation-settings: "opsz" 24;
  display: inline-flex;
  align-items: baseline;
  gap: 0.3em;
  border-radius: var(--r-cell);
  transition: opacity 180ms var(--ease-out), transform 120ms var(--ease-press);
}
a.wordmark:hover { opacity: 0.78; }
a.wordmark:active { opacity: 0.6; transform: scale(0.98); }
.wm-text { display: inline-block; }
.wm-mark { width: 1.3em; height: 1.3em; display: block; flex: none; }
/* the wordmark rule (1 November 2026): "Log" in the surface's primary text colour, "EM" in flare */
.wm-log { color: var(--ink); }
.wm-em { color: var(--orange); }
.wordmark-lg { font-size: 2rem; }

.nav-links { display: flex; gap: 1.75rem; margin-left: auto; }
.nav-links a {
  font-size: var(--t-small);
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.45em;
  text-decoration-color: transparent;
  transition: color 180ms var(--ease-out), text-decoration-color 180ms var(--ease-out);
}
.nav-links a:hover { color: var(--ink); text-decoration-color: var(--hairline-strong); }
.nav-links a:active { color: var(--orange-press); }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav-cta { white-space: nowrap; }

@media (max-width: 760px) {
  :root { --nav-h: 92px; }
  .nav-inner { flex-wrap: wrap; gap: 0.5rem 0.9rem; padding-block: 0.7rem 0.55rem; }
  .nav-cta { margin-left: auto; order: 2; padding: 0.65rem 0.95rem; }
  .nav-links {
    order: 3; width: 100%; margin-left: 0; gap: 1.25rem;
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    padding-block: 0.15rem;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { font-size: 0.875rem; }
}

/* ---------- page and page head ---------- */

.page {
  max-width: var(--measure);
  margin: 0 auto;
  padding: calc(var(--nav-h) + clamp(3rem, 1.5rem + 4vw, 6rem)) var(--gutter) clamp(4rem, 3rem + 3vw, 6rem);
}

.page-head { padding-bottom: clamp(3rem, 2rem + 3vw, 5rem); }

.page-head h1 {
  font-size: var(--t-h2);
  line-height: 1.06;
  letter-spacing: -0.016em;
  max-width: 15em;
}

.lede {
  font-size: var(--t-lede);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 34em;
  margin-top: var(--s3);
  text-wrap: pretty;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s2) var(--s3);
  margin-top: var(--s4);
}
.free-note { font-size: var(--t-small); font-weight: 500; color: var(--ink-2); }

/* byline, sources note, independence line: one small-print voice */
.fineprint {
  font-size: var(--t-micro);
  line-height: 1.5;
  color: var(--ink-3);
  max-width: 60em;
}
.page-head .fineprint { margin-top: var(--s3); font-size: var(--t-small); max-width: 42em; }

/* ---------- sections: space and a hairline, never a box ---------- */

.block {
  border-top: 1px solid var(--hairline);
  padding: var(--sec-pad) 0;
}

.block > h2 {
  font-size: var(--t-sec);
  line-height: 1.18;
  letter-spacing: -0.01em;
  max-width: 16em;
  margin-bottom: var(--s2);
}

/* ---------- prose ---------- */

.prose { max-width: var(--text); line-height: 1.65; text-wrap: pretty; }
.prose > * + * { margin-top: 1em; }
.prose strong { font-weight: 600; }

.prose h3 {
  font-size: var(--t-lede);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.prose * + h3 { margin-top: var(--s4); }
.prose h3 + * { margin-top: 0.4em; }

.prose ul, .prose ol { list-style: none; }
.prose li { position: relative; padding-left: 1.4em; }
.prose li + li { margin-top: 0.55em; }
/* bullets are single heatmap cells */
.prose ul > li::before {
  content: "";
  position: absolute;
  left: 0.1em;
  top: 0.66em;
  width: 6px;
  height: 6px;
  border-radius: 1.5px;
  background: var(--ink-3);
}
.prose ol { counter-reset: n; }
.prose ol > li { counter-increment: n; padding-left: 1.9em; }
.prose ol > li::before {
  content: counter(n) ".";
  position: absolute;
  left: 0;
  width: 1.4em;
  text-align: right;
  font-weight: 600;
  color: var(--ink-3);
}

.prose a, .fineprint a, .pro-more a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: var(--ink-3);
  transition: color 180ms var(--ease-out), text-decoration-color 180ms var(--ease-out);
}
.prose a:hover, .prose a:focus-visible,
.fineprint a:hover, .fineprint a:focus-visible,
.pro-more a:hover, .pro-more a:focus-visible { color: var(--orange); text-decoration-color: var(--orange); }
.prose a:active, .fineprint a:active { color: var(--orange-press); }

.prose .fineprint { margin-top: var(--s4); }

/* obfuscated addresses: kept whole on one line */
.eml { white-space: nowrap; font-weight: 600; color: var(--ink); }
.eml i { font-style: normal; }

/* a short run of figures: label left, number right on tabular numerals */
.prose .figures { max-width: 26rem; border-top: 1px solid var(--hairline); }
.prose .figures li {
  display: flex;
  justify-content: space-between;
  gap: var(--s3);
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--hairline);
}
.prose .figures li + li { margin-top: 0; }
.prose .figures li::before { content: none; }
.figures .n { font-weight: 600; font-variant-numeric: tabular-nums; }

/* questions and answers, set as a definition list */
.qa > div { border-top: 1px solid var(--hairline); padding-block: var(--s3); }
.qa dt { font-weight: 600; font-size: var(--t-lede); line-height: 1.35; letter-spacing: -0.01em; }
.qa dd { margin-top: 0.5em; max-width: var(--text); line-height: 1.65; text-wrap: pretty; }

/* ---------- related links: an index, not buttons ---------- */

.related {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--s4);
  margin-top: var(--s5);
}
.related a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--hairline);
  font-weight: 500;
  line-height: 1.3;
  transition: color 180ms var(--ease-out);
}
.related a:nth-child(-n+2) { border-top: 1px solid var(--ink); }
.related a::after {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  background: var(--ink-3);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 8h11M9 3.5 13.5 8 9 12.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 8h11M9 3.5 13.5 8 9 12.5'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 220ms var(--ease-out), background-color 180ms var(--ease-out);
}
.related a:hover { color: var(--orange); }
.related a:hover::after { background: var(--orange); transform: translateX(3px); }
.related a:active { color: var(--orange-press); }

/* ---------- legal documents ---------- */

.doc-meta {
  margin-top: var(--s3);
  font-size: var(--t-small);
  color: var(--ink-2);
}
.doc-meta strong { font-weight: 600; color: var(--ink); }
.doc-intro { font-size: var(--t-lede); color: var(--ink-2); }

.doc > .page-head { border-bottom: 1px solid var(--hairline); }
/* the body spans its column so section rules run to the content edge; the
   text inside keeps the reading measure */
.doc-body { padding-top: var(--sec-pad); max-width: none; }
.doc-body > :not(h2) { max-width: var(--text); }
.doc-body > h2 {
  font-size: var(--t-sec);
  line-height: 1.18;
  letter-spacing: -0.01em;
}
.doc-body > * + h2 { margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--hairline); }
.doc-body > h2 + * { margin-top: var(--s2); }

.toc { display: none; }
.toc ol { list-style: none; }
.toc a {
  display: block;
  padding: 0.25rem 0;
  font-size: var(--t-small);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  text-decoration-color: transparent;
  transition: color 180ms var(--ease-out), text-decoration-color 180ms var(--ease-out);
}
.toc a:hover { color: var(--ink); text-decoration-color: var(--orange); }
.toc a:active { color: var(--orange-press); }

.doc-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-top: var(--s6);
  padding-top: var(--s3);
  border-top: 1px solid var(--hairline);
  font-size: var(--t-small);
  color: var(--ink-2);
}
.doc-foot a {
  font-weight: 500;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  text-decoration-color: var(--hairline-strong);
  transition: text-decoration-color 180ms var(--ease-out);
}
.doc-foot a:hover { text-decoration-color: var(--orange); }
.doc-foot a:active { color: var(--orange-press); }
.doc-foot .sep { color: var(--ink-3); }
/* on phones the dots would dangle at line ends: drop them, the links wrap */
@media (max-width: 720px) { .doc-foot .sep { display: none; } }

/* ---------- wide screens: the hanging-head grid ---------- */

@media (min-width: 1024px) {
  .block {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    column-gap: var(--col-gap);
    align-items: start;
  }
  .block > h2 {
    margin-bottom: 0;
    padding-right: var(--s2);
    position: sticky;
    top: calc(var(--nav-h) + var(--s4));
  }

  /* anything outside a section that reads with the text column */
  .related, .doc-foot { margin-left: calc((100% - var(--col-gap)) / 3 + var(--col-gap)); }

  .doc {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    column-gap: var(--col-gap);
    align-items: start;
  }
  .doc > .page-head { grid-column: 1 / -1; }
  .doc > .doc-body { grid-column: 2; }
  .toc {
    display: block;
    grid-column: 1;
    grid-row: 2;
    position: sticky;
    top: calc(var(--nav-h) + var(--s4));
    max-height: calc(100vh - var(--nav-h) - var(--s6));
    overflow-y: auto;
    /* the space above sits outside the sticky box, so the whole list fits */
    margin-top: var(--sec-pad);
    padding: 0 var(--s2) 0 0;
    scrollbar-width: thin;
  }
}

@media (max-width: 560px) {
  .related { grid-template-columns: 1fr; }
  .related a:nth-child(2) { border-top: 0; }
}

/* ---------- footer (source: css/style.css) ---------- */

.footer { padding: var(--s6) 0 var(--s4); }

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: var(--s4) var(--s5);
  align-items: start;
}
.footer-tag { color: var(--ink-2); font-size: var(--t-small); margin-top: 0.6rem; }

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s4);
}
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 0.55rem; }
.footer-h { font-size: var(--t-small); font-weight: 600; color: var(--ink); margin-bottom: 0.2rem; }

.footer-col a {
  justify-self: start;
  font-size: var(--t-small);
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  text-decoration-color: transparent;
  transition: color 180ms var(--ease-out), text-decoration-color 180ms var(--ease-out);
}
.footer-col a:hover { color: var(--ink); text-decoration-color: var(--hairline-strong); }
.footer-col a:active { color: var(--orange-press); }

.footer-legal {
  margin-top: var(--s5);
  padding-top: var(--s3);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem var(--s4);
  position: relative;
}
.footer-legal::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: var(--hairline);
}
.footer-legal p { font-size: var(--t-micro); color: var(--ink-3); max-width: 60em; }
.footer-legal p:first-child { grid-column: 1 / -1; }
.footer-legal a {
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  text-decoration-color: var(--hairline-strong);
}
.footer-legal a:hover { color: var(--ink); text-decoration-color: var(--orange); }
.footer-legal a:active { color: var(--orange-press); }

@media (max-width: 1100px) {
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .footer-nav { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .footer-legal { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Wave 2: FAQ, curriculum stages, contact lines, not found
   Additions only, built from the tokens above. Used by faq.html,
   rcem-curriculum.html, contact.html and 404.html.
   ========================================================================== */

/* FAQ: on wide screens each question hangs in the heading column and its
   answer sits in the text column, so the questions read down the left */
@media (min-width: 1024px) {
  .qa > div {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    column-gap: var(--col-gap);
    align-items: baseline;
  }
  .qa dt { padding-right: var(--s2); }
  .qa dd { margin-top: 0; }
}

/* curriculum stages: the homepage's CT1 to ST6 scale, one cell per training
   year (source: .stages in css/style.css) */
.prose .stages { max-width: 34rem; border-top: 1px solid var(--hairline); }
.prose .stages > li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--s3);
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--hairline);
}
.prose .stages > li + li { margin-top: 0; }
.prose .stages > li::before { content: none; }
.stage-label { color: var(--ink-2); }
.stage-label strong { color: var(--ink); }
.stage-track { display: grid; grid-template-columns: repeat(6, 22px); gap: 4px; }
.stage-track i { display: block; height: 22px; border-radius: var(--r-cell); background: var(--stone); box-shadow: inset 0 0 0 1px rgba(26, 24, 22, 0.04); }
.stage-track i.on { background: var(--ink); box-shadow: none; }
@media (max-width: 480px) {
  .prose .stages > li { gap: var(--s2); }
  .stage-track { grid-template-columns: repeat(6, 18px); gap: 3px; }
  .stage-track i { height: 18px; }
}

/* contact: each address on its own line, read at a glance; one click
   selects the whole address for copying */
.prose .contact-line { font-size: var(--t-h3); line-height: 1.3; letter-spacing: -0.01em; }
.contact-line .eml { -webkit-user-select: all; user-select: all; }

/* not found: the head, a hairline, a few lines of prose, the foot beneath */
.not-found > .page-head { border-bottom: 1px solid var(--hairline); }
.not-found > .prose { padding-top: var(--sec-pad); }
.not-found > .doc-foot { margin-left: 0; }

/* guides index: one row per guide between hairlines that span the text
   column. The title is the link, stretched over the row so the whole row is
   the target while the link's name stays the title; the date sits apart as
   quiet metadata */
.guide-index { list-style: none; border-top: 1px solid var(--hairline); }
.guide-index > li {
  position: relative;
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--hairline);
}
.guide-index h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: var(--t-h3);
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
  font-synthesis: none;
  text-wrap: pretty;
}
.guide-index a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: transparent;
  transition: color 180ms var(--ease-out), text-decoration-color 180ms var(--ease-out);
}
.guide-index a::after { content: ""; position: absolute; inset: 0; }
.guide-index a:hover { color: var(--orange); text-decoration-color: var(--orange); }
.guide-index a:active { color: var(--orange-press); }
.guide-index a:focus-visible { border-radius: 3px; }
.guide-index h3 + p {
  margin-top: 0.4em;
  max-width: var(--text);
  line-height: 1.65;
  color: var(--ink-2);
  text-wrap: pretty;
}
.guide-date {
  font-size: var(--t-small);
  color: var(--ink-3);
  white-space: nowrap;
}
.guide-index .guide-date { margin-top: 0.4em; }
@media (min-width: 640px) {
  .guide-index > li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: var(--s4);
    align-items: baseline;
  }
  .guide-index > li > * { grid-column: 1; }
  .guide-index .guide-date { grid-column: 2; grid-row: 1; margin-top: 0; }
}

/* ==========================================================================
   LogEM Pro (pro.html)
   The four Spotlight cards (css/pro.css, shared with the home page), then a
   block per feature, the grouped comparison in the text column, the price
   and questions. The marker and table are mirrored from css/style.css (their
   source); change them there first, then mirror the change here.
   ========================================================================== */

.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.pro-head h1 {
  font-size: clamp(2.5rem, 1rem + 4.4vw, 5rem);
  line-height: 1.02;
}

/* /pro: the head with its price and trial lines, the four features one row at a
   time, then the shared table, price and call to action
   (css/pro.css), each past a hairline */
.pro-from { margin-top: var(--s2); font-weight: 600; font-variant-numeric: lining-nums; }
.pro-trial { margin-top: 0.4rem; max-width: 34em; font-size: var(--t-small); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.pro-spots { padding-bottom: clamp(3rem, 2rem + 3vw, 5rem); }
.pro-tiers,
.pro-page > .pro-cta { border-top: 1px solid var(--hairline); padding: var(--sec-pad) 0; }
.pro-more { margin-top: var(--s4); max-width: var(--text); color: var(--ink-2); }

/* questions: stacked in the text column under their own heading */
.pro-faq .qa > div:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 1024px) {
  .pro-faq .qa > div { display: block; }
  .pro-faq .qa dd { margin-top: 0.5em; }
}

/* Registered trade mark: a small superscript, so it does not shout (15 Nov 2026) */
sup { font-size: 0.55em; line-height: 0; vertical-align: 0.75em; }

/* Registered trade mark on the wordmark (option A, Tom 15 Nov 2026): small, raised, in the secondary text grey */
.wm-text::after { content: "\00AE"; font-family: var(--sans); font-weight: 500; font-size: 0.32em; line-height: 0; color: var(--ink-2); position: relative; top: -1.25em; margin-left: 0.1em; }
