/* © 2026 Qder.ai. All rights reserved. Proprietary and confidential; see LICENSE. */
/* ==========================================================================
   The three reading pages: the diners' guide, the restaurants' guide and the
   buyer's article.

   They stay documents: one column at a reading measure, the contents beside it on a wide screen, every screenshot
   and drawing in place, set in marketing.css's language:

     the first screen   the home page's night panel, centred (.m-hero.m-page); the guides' four steps along its foot,
                        the way the home page carries its payment providers
     the sections       numbered (01, 02 ...) in cobalt over a large, tight title at 600, divided by hairlines instead
                        of each standing in its own white card
     the steps          the home page's numbered rows on a rule, stacked: the number, the step, its screenshot beside it
     the cards          hairlines and paper instead of tinted boxes; the one that matters most marked by a short
                        cobalt rule, not a wash
     the money          the business guide's dark card becomes a night panel, as the home page's proof
     the questions      the home page's rows: a hairline under each, a round button that turns cobalt when open
     the close          the home page's card standing in the footer's sky

   Loaded after legal.css and guide-figs.css, so every rule here is scoped to body.m.gd-page and wins on specificity,
   not on order alone.
   ========================================================================== */

body.m.gd-page {
  --gd-toc: 248px;
  --gd-gap: clamp(48px, 7vw, 112px);
  --gd-measure: 760px;
  --gd-sec: clamp(52px, 5.4vw, 80px);
  background: #fff; color: var(--m-ink);
}
body.m.gd-page > header { background: #fff; }
/* A page that ends on its text rather than on a close (the article): the footer's sky rises from white. */
body.m.gd-page > footer.site:not(.under-close) { --foot-from: #fff; }

/* --------------------------------------------------------------- the first screen
   The panel is marketing.css's .m-page. The steps run along its foot, in the night's colours, divided like the
   proof's figures. */
.m.gd-page .m-hero-panel:has(> .gd-flow) { padding-bottom: 0; }
.m.gd-page .m-hero .gd-flow {
  list-style: none; counter-reset: f;
  max-width: 1120px; margin: clamp(56px, 6.5vw, 92px) auto 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  text-align: start;
}
.m.gd-page .m-hero .gd-flow li { margin: 0; }
.m.gd-page .m-hero .gd-flow li::after { content: none; }
.m.gd-page .m-hero .gd-flow li + li { border-inline-start: 1px solid rgba(255, 255, 255, .12); }
.m.gd-page .m-hero .gd-flow a {
  display: grid; align-content: start; gap: 8px; height: 100%;
  padding: 30px 28px 40px; border: 0; border-radius: 0; background: none; box-shadow: none; color: #fff;
  transition: background-color .2s var(--ease);
}
.m.gd-page .m-hero .gd-flow a::before {
  content: counter(f, decimal-leading-zero);
  display: block; width: auto; height: auto; border-radius: 0; background: none;
  margin-bottom: 6px; color: #A9C0FF; font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: .01em;
  font-variant-numeric: tabular-nums;
}
.m.gd-page .m-hero .gd-flow b { font-size: 18px; line-height: 1.35; font-weight: 600; letter-spacing: -.01em; color: #fff; }
.m.gd-page .m-hero .gd-flow span { font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, .66); text-wrap: pretty; }
.m.gd-page .m-hero .gd-flow a:hover { background: rgba(255, 255, 255, .04); }
.m.gd-page .m-hero .gd-flow a:hover span { color: rgba(255, 255, 255, .84); }
.m.gd-page .m-hero .gd-flow a:focus-visible { outline: 2px solid #fff; outline-offset: -4px; border-radius: 14px; }

/* ------------------------------------------------------- the contents and the text */
.m.gd-page .gd-layout {
  max-width: calc(var(--gd-toc) + var(--gd-gap) + var(--gd-measure) + 2 * var(--m-gutter));
  margin: clamp(72px, 8vw, 120px) auto 0; padding: 0 var(--m-gutter) clamp(96px, 10vw, 144px);
  display: grid; grid-template-columns: var(--gd-toc) minmax(0, 1fr); column-gap: var(--gd-gap); align-items: start;
}
/* The article has no close: its text runs straight into the footer's sky, which rises from white. */
.m.gd-page .qr-article .gd-layout { margin-bottom: 0; padding-bottom: clamp(80px, 9vw, 128px); }

/* The contents: the kicker's voice for its title, the section numbers in the same figures as the sections, a hairline
   down the reading side that turns cobalt beside the line under the pointer. Still beside the text as it scrolls. */
.m.gd-page .gd-toc {
  top: calc(var(--nav-h) + 32px); max-height: calc(100vh - var(--nav-h) - 64px);
  padding: 0 0 8px;
}
.m.gd-page .gd-toc-t {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 16px; padding: 0;
  font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: .01em; color: var(--cobalt);
}
.m.gd-page .gd-toc-t::after { content: ""; width: 32px; height: 1.5px; background: currentColor; opacity: .4; }
.m.gd-page .gd-toc ol { gap: 0; border-inline-start: 1px solid var(--m-line); }
.m.gd-page .gd-toc a {
  gap: 14px; min-height: 0; margin-inline-start: -1px; padding: 9px 18px;
  border-radius: 0; border-inline-start: 1.5px solid transparent;
  font-size: 15px; line-height: 21px; font-weight: 500; color: var(--m-body);
}
.m.gd-page .gd-toc a::before {
  content: counter(t, decimal-leading-zero);
  flex: none; display: block; width: auto; height: auto; border-radius: 0; background: none;
  color: #6B7489; font-size: 13px; line-height: 21px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.m.gd-page .gd-toc a:hover { background: none; color: var(--m-ink); border-inline-start-color: var(--cobalt); }
.m.gd-page .gd-toc a:hover::before { color: var(--cobalt); }
.m.gd-page .gd-toc a:focus-visible { outline: 3px solid var(--cobalt); outline-offset: -1px; border-radius: 8px; }

/* The document: the reading size of legal.css in the page's own greys. */
.m.gd-page .gd-doc { color: var(--m-body); font-size: 17px; line-height: 1.75; }
.m.gd-page .gd-doc p { margin: 0 0 1.1em; }
.m.gd-page .gd-doc strong, .m.gd-page .gd-doc .gd-sec b { color: var(--m-ink); font-weight: 600; }
.m.gd-page .gd-doc a {
  color: var(--cobalt); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
  text-decoration-color: rgba(11, 63, 217, .4);
}
.m.gd-page .gd-doc a:hover { text-decoration-color: currentColor; }
.m.gd-page .gd-doc [id] { scroll-margin-top: calc(var(--nav-h) + 28px); }
.m.gd-page .gd-doc code {
  padding: 1px 7px; border-radius: 7px; background: var(--paper); border: 1px solid var(--m-line);
  font-size: .9em; color: var(--m-ink);
}

/* ---------------------------------------------------------------------- sections
   No card round each one: a hairline between them and room to breathe, as between the home page's sections. */
.m.gd-page .gd-doc .gd-sec {
  background: none; border: 0; border-top: 1px solid var(--m-line); border-radius: 0; box-shadow: none;
  padding: var(--gd-sec) 0;
}
.m.gd-page .gd-doc .gd-sec + .gd-sec { margin-top: 0; }
.m.gd-page .gd-doc > .gd-sec:first-child { padding-top: 0; border-top: 0; }
.m.gd-page .gd-doc > .gd-sec:last-child { padding-bottom: 0; }

/* The title: the section's number in cobalt with a short rule after it (the home page's kicker), then the title at the
   site's size and weight. */
.m.gd-page .gd-doc .gd-sec > h2 {
  display: block; margin: 0 0 24px;
  font-size: clamp(32px, 3.2vw, 46px); line-height: 1.08; letter-spacing: -.035em; font-weight: 600; color: var(--m-ink);
  text-wrap: balance;
}
:root[dir="ltr"] .m.gd-page .gd-doc .gd-sec > h2 { letter-spacing: -.025em; }
.m.gd-page .gd-doc .gd-sec > h2::before {
  content: counter(sec, decimal-leading-zero);
  display: block; width: fit-content; height: auto; margin: 0 0 20px; padding-inline-end: 44px; border-radius: 0;
  background: linear-gradient(rgba(11, 63, 217, .4), rgba(11, 63, 217, .4)) left center / 32px 1.5px no-repeat;
  color: var(--cobalt); font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: .01em;
  font-variant-numeric: tabular-nums;
}
:root[dir="ltr"] .m.gd-page .gd-doc .gd-sec > h2::before { background-position: right center; }
.m.gd-page .gd-doc .gd-sec > h3 {
  margin: 52px 0 14px; font-size: clamp(21px, 1.9vw, 25px); line-height: 1.25; letter-spacing: -.02em; font-weight: 600;
  color: var(--m-ink);
}
:root[dir="ltr"] .m.gd-page .gd-doc .gd-sec > h3 { letter-spacing: -.012em; }
.m.gd-page .gd-doc .gd-lead { margin-bottom: 1em; font-size: 19.5px; line-height: 1.65; color: #262D40; text-wrap: pretty; }

/* Lists in the text: a small cobalt point instead of nothing (shell.css takes the markers away). */
.m.gd-page .gd-sec ul:not([class]), .m.gd-page .takeaways ul { list-style: none; margin: 0 0 1.3em; padding: 0; }
.m.gd-page .gd-sec ul:not([class]) > li, .m.gd-page .takeaways ul > li { position: relative; margin: 0 0 .55em; padding-inline-start: 24px; }
.m.gd-page .gd-sec ul:not([class]) > li::before, .m.gd-page .takeaways ul > li::before {
  content: ""; position: absolute; inset-inline-start: 3px; top: .74em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--cobalt); opacity: .55;
}

/* ------------------------------------------------------------------------- steps
   The home page's numbered rows on a rule (.steps3), one under the other: the number on the reading side, a short
   cobalt stroke on the rule above it, the step's screenshot beside its words. */
.m.gd-page .gd .steps { margin: 32px 0 36px; gap: 0; border-bottom: 1px solid var(--m-line); }
.m.gd-page .gd .steps > li {
  position: relative; margin: 0; padding: 26px 0 30px; padding-inline-start: 64px;
  background: none; border: 0; border-top: 1px solid var(--m-line); border-radius: 0;
  font-size: 17px; line-height: 1.7;
}
.m.gd-page .gd .steps > li::before {
  content: counter(s, decimal-leading-zero);
  inset-inline-start: 0; top: 28px; display: block; width: auto; height: auto; border-radius: 0; background: none;
  color: var(--cobalt); font-size: 15px; line-height: 24px; font-weight: 600; font-variant-numeric: tabular-nums;
}
.m.gd-page .gd .steps > li::after {
  content: ""; position: absolute; top: -1px; bottom: auto; inset-inline-start: 0;
  width: 40px; height: 1.5px; background: var(--cobalt);
}
.m.gd-page .gd .steps h3, .m.gd-page .gd .steps > li > b:first-child {
  margin: 0 0 8px; font-size: 19px; line-height: 1.4; font-weight: 600; letter-spacing: -.01em; color: var(--m-ink);
}
.m.gd-page .gd .steps p { margin: 0 0 .6em; font-size: 17px; line-height: 1.7; }
.m.gd-page .gd .steps p:last-child { margin-bottom: 0; }
@media (min-width: 760px) {
  .m.gd-page .gd .steps > li.with-shot { column-gap: 36px; }
  .m.gd-page .gd .steps > li.with-shot > .shot.phone img { width: 220px; }
  .m.gd-page .gd .steps > li.with-shot > .shot figcaption { max-width: 220px; }
}

/* ------------------------------------------------------------------- screenshots
   The real screens in rounded frames on a soft shadow: a phone in its own thin bezel, a panel as a lifted sheet. */
.m.gd-page .shot { margin: 30px 0 34px; }
.m.gd-page .shot > a { border-radius: 36px; }
.m.gd-page .shot.phone img {
  border: 6px solid #0A0E1C; border-radius: 36px;
  box-shadow: 0 44px 70px -40px rgba(10, 16, 36, .55), 0 2px 8px rgba(8, 13, 28, .06);
}
.m.gd-page .shot.wide > a { border-radius: 20px; }
.m.gd-page .shot.wide img {
  border: 0; border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(10, 15, 30, .08), 0 36px 64px -40px rgba(10, 16, 36, .55);
}
.m.gd-page .shot figcaption, .m.gd-page .draw figcaption {
  margin-top: 16px; max-width: 34rem; font-size: 14px; line-height: 1.6; color: #646E88; text-wrap: pretty;
}
.m.gd-page .shots { gap: 22px 40px; margin: 32px 0 36px; }

/* Drawn screens (the table tent, the booking's path, the money's path, the tickets): paper and hairlines. */
.m.gd-page .draw { margin: 30px 0 34px; }
.m.gd-page .dr-box { padding: 24px; background: var(--paper); border: 1px solid var(--m-line); border-radius: 24px; }
.m.gd-page .dr-chip { min-height: 36px; padding: 6px 15px; background: #fff; border-color: var(--m-line); font-size: 14.5px; color: var(--m-ink); }
.m.gd-page .dr-chip.ok { background: var(--ok-bg); border-color: transparent; color: var(--ok); }
.m.gd-page .dr-chip.crit { background: var(--crit-bg); border-color: transparent; color: var(--crit); }
.m.gd-page .dr-sticker { border-radius: 24px; box-shadow: 0 34px 60px -34px rgba(11, 63, 217, .75); }
.m.gd-page .dr-ticket { border-color: var(--m-line); border-radius: 16px; box-shadow: 0 20px 40px -30px rgba(10, 16, 36, .4); }
.m.gd-page .dr-ticket.late { border-top-color: var(--crit); }
.m.gd-page .dr-ticket .acts span { background: var(--paper); border-color: var(--m-line); }
.m.gd-page .dr-ticket .acts span.go { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
/* What a diner can say: the phrases as quiet pills. */
.m.gd-page .gd-doc .gd-says { gap: 10px; margin: 8px 0 28px; }
.m.gd-page .gd-doc .gd-says .dr-chip { min-height: 40px; padding: 7px 17px; background: var(--paper); border-color: transparent; font-size: 15px; }

/* ------------------------------------------------------------------------- cards
   Two or three side by side are the halves of one paper panel with a hairline between them (the home page's
   .what-split); a card on its own is a paper panel. The one that matters most carries a short cobalt rule along its
   top instead of a wash. */
.m.gd-page .gd-doc .gd-card { position: relative; }
.m.gd-page .gd-doc .gd-pair {
  gap: 0; margin: 32px 0 36px; overflow: hidden;
  background: var(--paper); border: 1px solid var(--m-line); border-radius: 24px;
}
.m.gd-page .gd-doc .gd-pair > .gd-card { padding: 28px 30px 30px; background: none; border: 0; border-radius: 0; }
.m.gd-page .gd-doc .gd-pair > .gd-card + .gd-card { border-inline-start: 1px solid var(--m-line); }
.m.gd-page .gd-doc .gd-sec > .gd-card, .m.gd-page .qr-article .takeaways {
  margin: 36px 0; padding: 30px 32px 32px; background: var(--paper); border: 1px solid var(--m-line); border-radius: 24px;
}
.m.gd-page .gd-doc .gd-card.is-key::before {
  content: ""; position: absolute; top: 0; inset-inline-start: 30px; width: 40px; height: 2px; background: var(--cobalt);
}
.m.gd-page .gd-doc .gd-sec > .gd-card.is-key::before, .m.gd-page .gd-doc > .takeaways.is-key::before { inset-inline-start: 32px; }
.m.gd-page .gd-doc .gd-card h3, .m.gd-page .gd-doc .gd-card h4 {
  margin: 0 0 10px; font-size: 17.5px; line-height: 1.4; font-weight: 600; letter-spacing: -.01em; color: var(--m-ink);
}
.m.gd-page .gd-doc .gd-card p, .m.gd-page .gd-doc .gd-card li { font-size: 15.5px; line-height: 1.7; }
.m.gd-page .gd-doc .gd-card > p:last-child, .m.gd-page .gd-doc .gd-card > ul:last-child,
.m.gd-page .gd-doc .gd-card li:last-child { margin-bottom: 0; }

/* The article's summary: the same paper panel, its title a step above the cards'. */
.m.gd-page .qr-article .takeaways { margin-top: 0; margin-bottom: var(--gd-sec); }
.m.gd-page .qr-article .takeaways h2 {
  margin: 0 0 14px; font-size: 23px; line-height: 1.3; font-weight: 600; letter-spacing: -.02em; color: var(--m-ink);
}
.m.gd-page .qr-article .takeaways li { font-size: 16.5px; line-height: 1.7; }
.m.gd-page .qr-article .takeaways + .gd-sec { padding-top: 0; border-top: 0; }

/* Named tiles (the settings groups, the floor's states, the account kinds, the plans): one panel, hairlines between
   the cells (the home page's .bento). */
.m.gd-page .gd-doc .gd-tiles {
  gap: 1px; margin: 32px 0 36px; overflow: hidden;
  background: var(--m-line); border: 1px solid var(--m-line); border-radius: 24px;
}
.m.gd-page .gd-doc .gd-tile { position: relative; gap: 6px; padding: 22px 24px 24px; background: #fff; border: 0; border-radius: 0; }
.m.gd-page .gd-doc .gd-tile.lead { background: var(--paper); }
.m.gd-page .gd-doc .gd-tile.lead::before {
  content: ""; position: absolute; top: 0; inset-inline-start: 24px; width: 40px; height: 2px; background: var(--cobalt);
}
.m.gd-page .gd-doc .gd-tile b { font-size: 16.5px; line-height: 1.4; font-weight: 600; color: var(--m-ink); }
.m.gd-page .gd-doc .gd-tile span { font-size: 14.5px; line-height: 1.6; color: var(--m-body); }
.m.gd-page .gd-doc .gd-tile .v {
  margin-top: 6px; font-size: 32px; line-height: 1.1; font-weight: 600; letter-spacing: -.03em; color: var(--m-ink);
  font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------------- callouts
   A claim worth not skimming past: paper, with a short stroke on the reading side in the colour of what it says. */
.m.gd-page .gd-doc .callout {
  position: relative; margin: 32px 0; padding: 22px 28px; padding-inline-start: 46px;
  background: var(--paper); border: 0; border-radius: 20px;
}
.m.gd-page .gd-doc .callout::before {
  content: ""; position: absolute; inset-inline-start: 24px; top: 26px; bottom: 26px; width: 3px; border-radius: 3px;
  background: var(--cobalt); opacity: .75;
}
.m.gd-page .gd-doc .callout p { font-size: 16.5px; line-height: 1.75; }
.m.gd-page .gd-doc .callout p:last-child { margin-bottom: 0; }
.m.gd-page .gd-doc .callout.warn { background: #FBF6EC; }
.m.gd-page .gd-doc .callout.warn::before { background: var(--warn); }
.m.gd-page .gd-doc .callout.warn strong { color: #7A4600; }
.m.gd-page .gd-doc .callout.hard { background: #FBF1F4; }
.m.gd-page .gd-doc .callout.hard::before { background: var(--crit); opacity: .9; }
.m.gd-page .gd-doc .callout.hard b { color: #8A1B3D; }

/* ------------------------------------------------------------------- the money
   The business guide's one dark card is a night panel, as the home page's proof: the same navy, its light gathered
   in one corner and the evening's warmth in the other. */
.m.gd-page .gd-doc .gd-sec.gd-dark {
  position: relative; overflow: hidden; isolation: isolate;
  margin: 0 0 var(--gd-sec); padding: clamp(36px, 5vw, 60px) clamp(26px, 4.6vw, 56px);
  border: 0; border-radius: 32px; color: rgba(255, 255, 255, .74);
  background:
    radial-gradient(62% 70% at 90% 0%, var(--m-glow-cobalt), transparent 64%),
    radial-gradient(52% 62% at 4% 106%, var(--m-glow-warm), transparent 64%),
    linear-gradient(180deg, #0D1536 0%, #070B1C 100%);
}
:root[dir="ltr"] .m.gd-page .gd-doc .gd-sec.gd-dark {
  background:
    radial-gradient(62% 70% at 10% 0%, var(--m-glow-cobalt), transparent 64%),
    radial-gradient(52% 62% at 96% 106%, var(--m-glow-warm), transparent 64%),
    linear-gradient(180deg, #0D1536 0%, #070B1C 100%);
}
.m.gd-page .gd-doc .gd-sec.gd-dark::before { content: none; }
.m.gd-page .gd-doc .gd-sec + .gd-sec.gd-dark { border-top: 0; }
.m.gd-page .gd-doc .gd-sec.gd-dark + .gd-sec { padding-top: 0; border-top: 0; }
.m.gd-page .gd-doc .gd-dark > h2 { color: #fff; }
.m.gd-page .gd-doc .gd-dark > h2::before {
  color: #A9C0FF; background-image: linear-gradient(rgba(169, 192, 255, .45), rgba(169, 192, 255, .45));
}
.m.gd-page .gd-doc .gd-dark p { color: rgba(255, 255, 255, .74); }
.m.gd-page .gd-doc .gd-dark .gd-lead { color: #fff; }
.m.gd-page .gd-doc .gd-dark b, .m.gd-page .gd-doc .gd-dark strong { color: #fff; }
.m.gd-page .gd-doc .gd-dark p:last-child { margin-bottom: 0; }
.m.gd-page .gd-dark figcaption { color: rgba(255, 255, 255, .62); }
.m.gd-page .gd-dark .dr-arrow { color: #A9C0FF; }
.m.gd-page .gd-dark .dr-money .dr-chip { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: #fff; }
.m.gd-page .gd-dark .dr-money .dr-chip.on { background: #fff; border-color: #fff; color: var(--m-ink); }
.m.gd-page .gd-doc .gd-dark .gd-checks { margin: 8px 0 26px; }
.m.gd-page .gd-dark .gd-checks li { padding: 14px 0; padding-inline-start: 34px; border-bottom-color: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .86); }
.m.gd-page .gd-dark .gd-checks li::before { top: 18px; width: 20px; height: 20px; background-size: 13px; }

/* ---------------------------------------------------------------------- questions
   The home page's questions: a hairline under each, a round button that turns cobalt when it is open. */
.m.gd-page .gd .faq { display: block; margin-top: 12px; border-top: 1px solid var(--m-line); }
.m.gd-page .gd .faq details { padding: 0; background: none; border: 0; border-bottom: 1px solid var(--m-line); border-radius: 0; }
.m.gd-page .gd .faq details[open] { background: none; }
.m.gd-page .gd .faq summary {
  gap: 24px; min-height: 0; padding: 22px 0;
  font-size: 18px; line-height: 1.45; font-weight: 500; color: var(--m-ink);
  transition: color .15s var(--ease);
}
.m.gd-page .gd .faq summary:hover { color: var(--cobalt); }
.m.gd-page .gd .faq summary:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 4px; border-radius: 10px; }
.m.gd-page .gd .faq summary::after {
  content: ""; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; margin-inline-start: auto;
  background:
    linear-gradient(var(--m-ink), var(--m-ink)) center / 12px 1.6px no-repeat,
    linear-gradient(var(--m-ink), var(--m-ink)) center / 1.6px 12px no-repeat,
    var(--paper);
  transition: background-color .2s var(--ease);
}
.m.gd-page .gd .faq details[open] summary::after {
  content: ""; background: linear-gradient(#fff, #fff) center / 12px 1.6px no-repeat, var(--cobalt);
}
.m.gd-page .gd .faq details > p { margin: -4px 0 0; padding: 0 0 18px; max-width: 64ch; font-size: 16.5px; line-height: 1.75; color: var(--m-body); }
.m.gd-page .gd .faq details > p:last-of-type { padding-bottom: 26px; }
.m.gd-page .gd .faq details > figure { margin: 4px 0 30px; }

/* The documents worth reading next: the home page's jump links, as pills. */
.m.gd-page .gd .legal-index {
  margin: 0; padding: var(--gd-sec) 0 0; background: none; border: 0; border-top: 1px solid var(--m-line); border-radius: 0;
}
.m.gd-page .gd .legal-index h2 { margin: 0 0 20px; font-size: 22px; line-height: 1.3; font-weight: 600; letter-spacing: -.015em; color: var(--m-ink); }
.m.gd-page .gd .legal-index ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.m.gd-page .gd .legal-index li { margin: 0; }
.m.gd-page .gd-doc .legal-index a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px;
  background: #fff; border: 1px solid var(--m-line); text-decoration: none;
  font-size: 15px; line-height: 20px; font-weight: 500; color: var(--m-body);
  transition: border-color .15s var(--ease), color .15s var(--ease);
}
.m.gd-page .gd-doc .legal-index a:hover { border-color: var(--cobalt-line); color: var(--m-ink); }
.m.gd-page .gd-doc .legal-index a:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; }

.m.gd-page .gd-doc .gd-updated { margin: 40px 0 0; font-size: 14px; line-height: 1.6; color: #646E88; }

/* The article's comparison: one sheet, its head on paper, hairlines between the rows. */
.m.gd-page .gd-doc .table-wrap { margin: 30px 0 8px; background: #fff; border: 1px solid var(--m-line); border-radius: 20px; box-shadow: none; }
.m.gd-page .gd-doc .table-wrap:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.m.gd-page .gd-doc table { font-size: 15px; line-height: 1.6; }
.m.gd-page .gd-doc thead th {
  padding: 14px 18px; background: var(--paper); border-bottom: 1px solid var(--m-line);
  font-size: 14px; font-weight: 600; color: var(--m-ink);
}
.m.gd-page .gd-doc td { padding: 16px 18px; color: var(--m-body); }
.m.gd-page .gd-doc tbody tr + tr td { border-top: 1px solid var(--m-line); }
.m.gd-page .gd-doc td b { color: var(--m-ink); font-weight: 600; }

/* --------------------------------------------------------------------- narrower */
@media (max-width: 980px) {
  .m.gd-page .m-hero .gd-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m.gd-page .m-hero .gd-flow li:nth-child(odd) { border-inline-start: 0; }
  .m.gd-page .m-hero .gd-flow li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
}
@media (max-width: 960px) {
  .m.gd-page .gd-layout {
    max-width: calc(var(--gd-measure) + 2 * var(--m-gutter));
    grid-template-columns: minmax(0, 1fr); row-gap: 56px; margin-top: 64px;
  }
  .m.gd-page .gd-toc { position: static; max-height: none; overflow: visible; padding: 26px 28px 20px; background: var(--paper); border: 0; border-radius: 24px; }
  /* Two columns read down, not across: 01 to 05 on the reading side, the rest beside them. */
  .m.gd-page .gd-toc ol { display: block; columns: 2; column-gap: 28px; border: 0; }
  .m.gd-page .gd-toc li { break-inside: avoid; }
  .m.gd-page .gd-toc a { min-height: 44px; margin: 0; padding: 10px 0; border: 0; }
  .m.gd-page .gd-toc a:hover { color: var(--cobalt); }
}
@media (max-width: 760px) {
  .m.gd-page .gd-doc .gd-pair > .gd-card + .gd-card { border-inline-start: 0; border-top: 1px solid var(--m-line); }
}
@media (max-width: 680px) {
  body.m.gd-page { --gd-sec: 52px; }
  .m.gd-page .m-hero .gd-flow { grid-template-columns: minmax(0, 1fr); margin-top: 44px; }
  .m.gd-page .m-hero .gd-flow li + li { border-inline-start: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
  .m.gd-page .m-hero .gd-flow a { grid-template-columns: 30px minmax(0, 1fr); column-gap: 12px; row-gap: 4px; padding: 18px 2px 20px; }
  .m.gd-page .m-hero .gd-flow a::before { grid-row: span 2; margin: 0; line-height: 25px; }
  .m.gd-page .m-hero .gd-flow b { font-size: 17px; }
  .m.gd-page .m-hero-panel:has(> .gd-flow) { padding-bottom: 12px; }
  .m.gd-page .gd-layout { margin-top: 44px; row-gap: 44px; padding-bottom: 88px; }
  .m.gd-page .gd-toc { padding: 22px 20px 16px; border-radius: 22px; }
  .m.gd-page .gd-toc ol { columns: 1; }
  .m.gd-page .gd-doc { font-size: 16.5px; }
  .m.gd-page .gd-doc .gd-sec > h2 { margin-bottom: 20px; font-size: 31px; line-height: 1.1; }
  .m.gd-page .gd-doc .gd-sec > h2::before { margin-bottom: 14px; }
  .m.gd-page .gd-doc .gd-sec > h3 { margin-top: 40px; font-size: 21px; }
  .m.gd-page .gd-doc .gd-lead { font-size: 18px; }
  .m.gd-page .gd .steps > li { padding: 22px 0 24px; padding-inline-start: 44px; font-size: 16.5px; }
  .m.gd-page .gd .steps > li::before { top: 24px; font-size: 14px; }
  .m.gd-page .gd .steps h3, .m.gd-page .gd .steps > li > b:first-child { font-size: 18px; }
  .m.gd-page .gd .steps p { font-size: 16.5px; }
  .m.gd-page .gd-doc .gd-pair > .gd-card { padding: 24px 22px 26px; }
  .m.gd-page .gd-doc .gd-card.is-key::before, .m.gd-page .gd-doc .gd-sec > .gd-card.is-key::before,
  .m.gd-page .gd-doc > .takeaways.is-key::before { inset-inline-start: 22px; }
  .m.gd-page .gd-doc .gd-sec > .gd-card, .m.gd-page .qr-article .takeaways { padding: 26px 22px 28px; border-radius: 22px; }
  .m.gd-page .gd-doc .gd-tile { padding: 20px 20px 22px; }
  .m.gd-page .gd-doc .callout { padding: 20px 20px; padding-inline-start: 38px; border-radius: 18px; }
  .m.gd-page .gd-doc .callout::before { inset-inline-start: 18px; top: 24px; bottom: 24px; }
  .m.gd-page .gd-doc .gd-sec.gd-dark { margin-inline: -8px; padding: 34px 22px 30px; border-radius: 26px; }
  .m.gd-page .gd .faq summary { padding: 20px 0; font-size: 17px; }
  .m.gd-page .gd .faq details > p { font-size: 16px; }
  .m.gd-page .gd-doc thead th, .m.gd-page .gd-doc td { padding-inline: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .m.gd-page .m-hero .gd-flow a, .m.gd-page .gd .faq summary, .m.gd-page .gd .faq summary::after,
  .m.gd-page .gd-doc .legal-index a { transition: none; }
}
