/* Guide, GTME edition. Sits on top of styles.css (the faithful port)
   and restyles it with the kit (gtme/tokens.css). Order of sections
   follows the page from top to bottom. */

/* Tokens: swap the export's fonts and accent for the GTME set */
.page {
  --f-display: var(--font-sans);
  --f-body: var(--font-sans);
  --f-mono: var(--font-data);
  --bg: var(--clay-neutral-50);
  --raised: var(--clay-neutral-100);
  --paper: var(--paste);
  --ink: var(--clay-neutral-850);
  --ink-2: #3f3d39;
  --muted: var(--clay-neutral-600);
  --line: #e9e7e3;
  --line-2: #e4e1dc;
  --rule: var(--clay-neutral-300);
  --acc: var(--clay-orange);
  --acc-ink: #b53d0a;
  --acc-tint: #fff3ed;
  --acc-deep: #381005;
  --live: var(--clay-lime);
  --ease: var(--ease-out-soft);
  --bar-h: 56px;
  letter-spacing: var(--track);
}
.gtme .page :where(code, .eyebrow, .prompt-body, .dumb-tick span, .avatar-ini, .dtest-slot) { font-variation-settings: normal; }

/* CRT scanlines over the whole page, very light; stronger on panels */
.gtme .glass { --crt-scan: .028; }
.gtme .scanned, .gtme .tree-panel, .gtme .prompt, .gtme .cmd { position: relative; }
.gtme .tree-panel::after, .gtme .prompt::after, .gtme .stat::after, .gtme .opt::after, .gtme .closing-in::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: repeating-linear-gradient(0deg, rgb(0 0 0 / .05) 0 1px, transparent 1px 3px);
}

/* Type primitives */
.gtme .eyebrow { font-family: var(--font-data); font-weight: 500; font-size: var(--fs-footnote); line-height: var(--lh-open); letter-spacing: var(--track-print); color: var(--ink); }
.gtme .tx a, .gtme a.lnk { text-decoration-color: var(--ink-muted); text-decoration-thickness: 1px; text-underline-offset: .2em; border-radius: 0; transition: background-color .16s var(--ease-out-quad), text-decoration-color .3s var(--ease-out-quad); }
.gtme .tx a:hover, .gtme a.lnk:hover { background: var(--live); text-decoration-color: var(--ink); }
.gtme .tx strong { font-weight: 600; }

/* Top bar: slim paper strip, mono running head, lime progress */
.gtme .topbar { background: rgb(254 253 251 / .9); border-bottom-color: var(--line); }
.gtme .logo img { height: 20px; }
.gtme .runhead { font-family: var(--font-data); font-size: var(--fs-footnote); font-weight: 500; letter-spacing: var(--track-print); text-transform: uppercase; gap: 8px; }
.gtme .rh-sep { height: 14px; }
.gtme .rh-cur { font-weight: 500; }
.gtme .rh-cur { padding: .1em .4em; background: var(--live); color: var(--ink); }
.gtme .progress { background: var(--live); height: 3px; bottom: -2px; }
.gtme .menu-btn { height: 36px; padding: 0 14px 0 10px; border-radius: var(--r-lg); border: 0; background: var(--nav-panel); font-family: var(--font-data); font-size: var(--fs-footnote); font-weight: 500; letter-spacing: var(--track-print); text-transform: uppercase; }
.gtme .menu-btn svg { width: 16px; height: 16px; }

/* Hero */
.gtme .h1 { font-weight: 500; font-size: clamp(48px, 7.4vw, 120px); line-height: .92; letter-spacing: var(--track-display); }
.gtme .hero-rule { height: 1px; background: var(--ink); }
.gtme .deck { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.32; letter-spacing: -.005em; }
.gtme .deck2 { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.6; }

/* Buttons: ink pill (r-lg, squish on hover) + lime-highlight text links */
.gtme .btn { font-family: var(--font-sans); font-weight: 500; letter-spacing: var(--track); }
.gtme .btn-primary { position: relative; isolation: isolate; min-height: 48px; padding: 0 20px 0 22px; border-radius: 0; background: none; font-size: 16px; }
.gtme .btn-primary::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: var(--r-lg); background: var(--ink); transition: scale .36s var(--ease-out-drawer); }
.gtme .btn-primary:hover { background: none; }
.gtme .btn-primary:hover::before { scale: .96; }
.gtme .btn-primary:active::before { transition-duration: .15s; scale: .955 .925; }
.gtme .btn-primary .arr { width: 13px; height: 12px; }
.gtme .btn-text { font-size: 16px; min-height: 40px; }
.gtme .btn-text .w { padding: .1em .3em .14em; margin-inline: -.3em; transition: background-color .16s var(--ease-out-quad); }
.gtme .btn-text .w::after { display: none; }
.gtme .btn-text { text-decoration: underline 1px var(--ink-muted); text-underline-offset: .28em; }
.gtme .btn-text:hover .w { background: var(--live); }
.gtme .btn-text .arr { margin-top: 0; width: 13px; height: 12px; }

/* Jump list: GTME index rows. Rows carry their own inline padding (pulled
   back out with a negative margin) so the hover panel has room around the
   text. Hover: paper panel, lime index chip, and the arrow drops down on a
   loop to show it scrolls you down the page. */
.gtme .jump-label { padding-bottom: 12px; }
.gtme .jump-list { border-top: 1px solid var(--ink); counter-reset: jump; margin-inline: -14px; }
.gtme .jump-list li { margin-inline: 14px; border-bottom: 1px solid var(--rule); }
.gtme .jump-a { counter-increment: jump; grid-template-columns: 2.9rem minmax(0, 1fr) 32px; column-gap: 12px; margin-inline: -14px; padding: 16px 14px 18px; border-bottom: 0; transition: background-color .2s var(--ease-out-soft); }
.gtme .jump-a::before { content: "0.0" counter(jump); position: static; inset: auto; grid-column: 1; grid-row: 1; justify-self: start; align-self: baseline; margin-top: .3em; padding: .15em .35em; opacity: 1; border-radius: 0; background: transparent; font-family: var(--font-data); font-size: var(--fs-footnote); font-weight: 500; line-height: 1.2; letter-spacing: var(--track-print); color: var(--muted); transition: background-color .2s var(--ease-out-soft), color .2s var(--ease-out-soft); }
.gtme .jump-a:hover { background: var(--nav-panel); }
.gtme .jump-a:hover::before { background: var(--live); color: var(--ink); }
.gtme .jump-t { grid-column: 2; font-size: clamp(20px, 1.7vw, 24px); font-weight: 500; letter-spacing: var(--track-tight); }
.gtme .jump-d { grid-column: 2; font-size: 14px; color: var(--ink-2); }
.gtme .jump-ic { grid-column: 3; width: 32px; height: 32px; border: 1px solid var(--ink); border-radius: var(--r-md); overflow: hidden; transition: background-color .2s var(--ease-out-soft), border-color .2s var(--ease-out-soft); }
.gtme .jump-a:hover .jump-ic { background: var(--live); border-color: var(--live); color: var(--ink); }
.gtme .jump-a:hover .jump-ic svg { transform: none; animation: gtme-drop 1.1s var(--ease-in-out-quart) infinite; }
@keyframes gtme-drop {
  0% { transform: translateY(0); opacity: 1; }
  45% { transform: translateY(150%); opacity: 1; }
  46% { transform: translateY(-150%); opacity: 0; }
  55% { opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Rail: the GTME chapter tree */
@media (min-width: 1100px) { .gtme .layout { grid-template-columns: 236px minmax(0, 1fr); } }
.gtme .rail-in { top: calc(var(--bar-h) + 20px); padding: 0 0 20px; }
.gtme .tree-panel { padding: var(--s-12) var(--s-20) var(--s-18); background: var(--nav-panel); color: var(--nav-ink); }
.gtme .tree-head, .gtme .tree-path { display: flex; align-items: center; gap: var(--s-4); margin: 0; font-family: var(--font-data); font-size: var(--fs-footnote); font-weight: 500; line-height: var(--lh-open); letter-spacing: var(--track-print); text-transform: uppercase; }
.gtme .tree-arch { width: 24px; height: 18px; object-fit: cover; margin-right: var(--s-6); }
.gtme .tree-path { margin-top: 0; }
.gtme .rail .toc { margin-top: var(--s-6); }
.gtme .rail .toc li { display: flex; }
.gtme .rail .toc-a {
  position: relative; display: block; width: 100%; margin: 0; padding: 3px 0 3px calc(var(--s-12) + var(--s-2) + var(--indent, 0px));
  border-radius: 0; background: none; color: var(--nav-ink); opacity: .78;
  font-family: var(--font-data); font-size: 10.5px; font-weight: 500; line-height: 1.45; letter-spacing: .1em; text-transform: uppercase; text-wrap: pretty;
}
/* Gutter: vertical rule + tick, like the GTME tree */
.gtme .rail .toc-a::before { content: ""; position: absolute; top: 0; bottom: 0; left: var(--indent, 0px); border-left: 1px solid currentColor; opacity: .55; }
.gtme .rail .toc-a::after { content: ""; position: absolute; top: calc(3px + .725em); left: var(--indent, 0px); width: var(--s-8); border-top: 1px solid currentColor; opacity: .55; }
.gtme .rail .toc-a.is-sub, .gtme .rail .toc-a.is-play { --indent: var(--s-12); }
.gtme .rail .toc-a.is-group, .gtme .rail .toc-a.has-gap { margin-top: var(--s-10); }
.gtme .rail .toc-a.is-group { font-family: var(--font-data); font-weight: 500; font-size: 10.5px; letter-spacing: .1em; opacity: 1; }
.gtme .rail .toc li:last-child .toc-a::before { bottom: calc(100% - 3px - .725em); }
.gtme .rail .toc-a:hover { opacity: 1; background: none; color: var(--nav-ink); }
.gtme .rail .toc-a:hover { text-decoration: underline 1px; text-underline-offset: .25em; }
.gtme .rail .toc-a.is-ingroup { opacity: 1; }
.gtme .rail .toc-a.is-active, .gtme .rail .toc-a.is-active:hover { opacity: 1; font-weight: 500; text-decoration: none; color: var(--nav-ink); background: none; }
.gtme .rail .toc-a.is-active { background: linear-gradient(var(--live), var(--live)) calc(var(--s-12) - var(--s-2) + var(--indent, 0px)) 50% / calc(100% - var(--s-12) + var(--s-2) - var(--indent, 0px)) calc(100% - 2px) no-repeat; }
.gtme .rail .toc-top { margin: var(--s-14) 0 0; min-height: 0; font-family: var(--font-data); font-size: var(--fs-footnote); font-weight: 500; letter-spacing: var(--track-print); text-transform: uppercase; color: var(--muted); }
.gtme .tree-cta { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: space-between; margin-top: var(--s-12); padding: var(--s-8) var(--s-12) calc(var(--s-8) + 1px); color: var(--nav-ink); text-decoration: none; font-size: var(--fs-control); font-weight: 500; letter-spacing: var(--track); }
.gtme .tree-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: var(--r-lg); background: var(--live); transition: scale .36s var(--ease-out-drawer); }
.gtme .tree-cta:hover::before { scale: .96; }
.gtme .tree-cta svg { width: 10px; height: 10px; }
.gtme .tree-panel.is-booting { clip-path: inset(0 0 100%); }
.gtme .tree-panel.is-on { clip-path: inset(0); transition: clip-path .55s steps(14) .2s; }

/* Section headings */
.gtme .chap-head { border-top-color: var(--ink); }
.gtme .chap-h { font-weight: 500; font-size: clamp(34px, 4vw, 56px); letter-spacing: -.035em; }
.gtme .sub-h { font-weight: 500; letter-spacing: var(--track-tight); }
.gtme .lede { font-size: clamp(19px, 1.4vw, 21px); }
.gtme .body { font-size: clamp(16.5px, 1.2vw, 17.5px); }

/* Key stat: Hazy numbers + dither chart on white paper over the cutting mat */
.gtme .stat { position: relative; padding: clamp(20px, 3vw, 40px); border-radius: 0; box-shadow: none; background: var(--clay-teal-700) url("gtme/img/cutting-mat.webp") center / cover; }
.gtme .stat::after { display: none; }
.gtme .stat > * { position: relative; }
.gtme .stat-num, .gtme .stat-chart, .gtme .stat-cap { background: var(--paste); }
.gtme .stat-num { margin: 0; padding: clamp(22px, 2.6vw, 34px) clamp(22px, 2.6vw, 34px) 0; font-family: var(--font-display), var(--font-sans); font-weight: 400; font-size: clamp(52px, 6.8vw, 96px); line-height: 1; letter-spacing: 0; color: var(--ink); gap: 0 .25em; }
.gtme .stat-num > span:last-child { color: var(--clay-orange); }
.gtme .stat-arr { font-family: var(--font-sans); font-weight: 300; color: var(--ink); }
.gtme .stat-chart { padding: var(--s-16) clamp(22px, 2.6vw, 34px) 0; }
.gtme .stat-plot { height: clamp(220px, 24vw, 300px); }
.gtme .stat-fig { display: flex; justify-content: space-between; margin: var(--s-10) 0 0; padding-top: var(--s-8); border-top: 1px solid var(--line); font-family: var(--font-data); font-size: var(--fs-tag); font-weight: 500; letter-spacing: var(--track-print); text-transform: uppercase; color: var(--muted); }
.gtme .stat-cap { margin: 0; padding: var(--s-16) clamp(22px, 2.6vw, 34px) clamp(22px, 2.6vw, 30px); border-top: 0; max-width: none; font-size: 15px; }

/* People: paper cards with scanlines, mono byline */
.gtme .person { position: relative; border-radius: 0; background: var(--nav-panel); padding: 22px 22px 20px; gap: 20px; }
.gtme .person::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgb(0 0 0 / .05) 0 1px, transparent 1px 3px); }
.gtme .person-q { font-weight: 400; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.38; }
.gtme .person-by { border-top-color: var(--ink); font-size: 13.5px; }
.gtme .person-by strong { font-weight: 500; }

/* Lead-in lists */
.gtme .lead-list li { border-top-color: var(--ink); }
.gtme .lead-list strong { font-weight: 500; letter-spacing: var(--track-tight); }

/* Seat map */
.gtme .sm-col { border-radius: 0; }
.gtme .sm-a { background: var(--nav-panel); border-color: var(--nav-panel); box-shadow: none; }
.gtme .sm-b { border-color: var(--ink); }
.gtme .sm-t { font-weight: 500; }
.gtme .sm-clay { border-radius: 0; border-color: var(--line-2); }
.gtme .sm-row { border-top-color: var(--rule); }
.gtme .sm-row dt { font-family: var(--font-data); font-size: var(--fs-footnote); font-weight: 500; letter-spacing: var(--track-print); text-transform: uppercase; }
.gtme .sm-node { border-radius: var(--r-lg); background: var(--live); color: var(--ink); font-family: var(--font-data); font-size: var(--fs-footnote); font-weight: 500; letter-spacing: var(--track-print); text-transform: uppercase; }
.gtme .sm-fork { border-color: var(--ink); }

/* Two options + install line: paper panels, terminal command */
.gtme .opt { position: relative; border-radius: 0; box-shadow: none; background: var(--nav-panel); }
.gtme .opt-t { font-weight: 500; letter-spacing: var(--track-tight); }
.gtme .opt-links { font-weight: 500; }
.gtme .cmd { border-radius: var(--r-lg); border: 0; background: var(--clay-neutral-900); padding: 12px 10px 12px 16px; }
.gtme .cmd code { color: var(--clay-neutral-50); font-size: 13px; letter-spacing: .02em; }
.gtme code.inl { border-radius: var(--r-sm); font-size: .84em; background: var(--nav-panel); border-color: var(--line-2); }

/* Part openers: big display, Hazy chapter number set by guide.js */
.gtme .part-head { border-top: 2px solid var(--ink); }
.gtme .part-title { font-weight: 500; font-size: clamp(44px, 6vw, 88px); letter-spacing: var(--track-display); }
.gtme .part-num { display: block; margin-bottom: var(--s-12); font-family: var(--font-data); font-size: var(--fs-footnote); font-weight: 500; letter-spacing: var(--track-print); text-transform: uppercase; }
.gtme .part-num b { font-weight: 500; padding: .1em .4em; background: var(--live); }
.gtme .part-deck { font-size: clamp(19px, 1.6vw, 23px); }

/* Plays */
.gtme .play-head { border-top-color: var(--ink); }
.gtme .play-title { font-weight: 500; letter-spacing: -.03em; }

/* Spec table: mono labels, Hazy step numbers */
.gtme .spec { border-top-color: var(--ink); }
.gtme .spec-row { border-bottom-color: var(--line-2); }
.gtme .spec-k { padding-top: .35em; font-family: var(--font-data); font-size: var(--fs-footnote); font-weight: 500; line-height: var(--lh-open); letter-spacing: var(--track-print); text-transform: uppercase; }
.gtme .spec-v { font-size: 16.5px; }
.gtme .steps li { grid-template-columns: 64px minmax(0, 1fr); }
.gtme .steps li::before { font-family: var(--font-display), var(--font-sans); font-weight: 400; font-size: 56px; line-height: .8; letter-spacing: 0; color: var(--acc-ink); }
.gtme .steps strong { font-weight: 600; }
.gtme .measures li::before { width: 8px; height: 8px; margin-top: .55em; border-radius: 0; background: var(--live); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12); }
.gtme .tip { font-weight: 400; font-size: clamp(18px, 1.4vw, 20px); padding: .5em .7em; background: var(--quote-paper); background-image: repeating-linear-gradient(to bottom, transparent 0 calc(1lh - 1px), var(--quote-rule) 0 1lh); background-position: 0 .5em; box-decoration-break: clone; }

/* Prompt: terminal block with lime header and slots */
.gtme .prompt { border: 0; border-radius: var(--r-lg); background: var(--clay-neutral-900); color: var(--clay-neutral-50); }
.gtme .prompt::after { background: repeating-linear-gradient(0deg, rgb(0 0 0 / .22) 0 1px, transparent 1px 3px); }
.gtme .prompt-head { top: var(--bar-h); padding: 10px 10px 10px 18px; border-bottom: 1px solid rgb(254 253 251 / .1); background: var(--clay-neutral-900); }
.gtme .prompt-meta { color: rgb(254 253 251 / .62); font-size: 13px; }
.gtme .prompt-meta strong { color: var(--clay-neutral-50); font-weight: 500; }
.gtme .prompt-tag { border-radius: 0; background: var(--live); color: var(--ink); font-family: var(--font-data); font-size: var(--fs-tag); letter-spacing: var(--track-print); }
.gtme .prompt-body { padding: 20px 22px 24px; color: var(--clay-neutral-50); font-family: var(--font-data); font-size: 13.5px; line-height: 1.65; letter-spacing: .01em; }
.gtme .prompt-body .hd { font-weight: 500; color: var(--live); }
.gtme .prompt-body .slot { border-radius: 0; background: rgb(203 216 16 / .16); color: #e3ee5c; }
.gtme .built { border-top: 1px solid rgb(254 253 251 / .1); background: #16171a; color: rgb(254 253 251 / .62); font-size: 13.5px; }
.gtme .built-k { color: var(--clay-neutral-50); font-family: var(--font-data); font-size: var(--fs-tag); font-weight: 500; letter-spacing: var(--track-print); text-transform: uppercase; }
.gtme .built a.lnk { color: var(--clay-neutral-50); text-decoration-color: rgb(254 253 251 / .4); }
.gtme .built a.lnk:hover { color: var(--ink); }
.gtme .built .dot { color: rgb(254 253 251 / .3); }

/* Copy button: lime pill */
.gtme .copy { position: relative; isolation: isolate; height: 30px; padding: 0 12px 0 10px; gap: 6px; border: 0; border-radius: 0; background: none; color: var(--ink); font-family: var(--font-data); font-size: var(--fs-footnote); font-weight: 500; letter-spacing: var(--track-print); text-transform: uppercase; }
.gtme .copy::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: var(--r-md); background: var(--live); transition: scale .36s var(--ease-out-drawer); }
.gtme .copy:hover { background: none; }
.gtme .copy:hover::before { scale: .95; }
.gtme .copy svg { width: 13px; height: 13px; }
.gtme .copy.is-copied, .gtme .copy.is-copied:hover { background: none; color: var(--ink); }
.gtme .copy.is-copied::before { background: var(--paste); }

/* Customer stories: mono company label, Hazy metric, big Roobert quote */
.gtme .story { border-top-color: var(--ink); gap: 12px; }
.gtme .story-h { display: block; font-weight: 400; line-height: 1.15; }
.gtme .story-h a { text-decoration: none; }
.gtme .story-co { display: block; margin-bottom: var(--s-6); font-family: var(--font-data); font-size: var(--fs-footnote); font-weight: 500; letter-spacing: var(--track-print); text-transform: uppercase; color: var(--ink); }
.gtme .story-metric { font-family: var(--font-display), var(--font-sans); font-size: clamp(22px, 2vw, 28px); line-height: 1.1; color: var(--clay-orange); }
.gtme .story-h a:hover .story-metric { background: var(--live); color: var(--ink); }
.gtme .story-h .ext { width: 13px; height: 12px; margin-left: 8px; vertical-align: .1em; color: var(--clay-orange); }
.gtme .story-h a:hover .ext { color: var(--ink); }
.gtme .quote { font-weight: 400; font-size: clamp(22px, 2.1vw, 29px); letter-spacing: -.02em; }
.gtme .cite { font-size: 14px; }
.gtme .also { border-top-color: var(--line-2); font-size: 14.5px; }
.gtme .also .eyebrow { font-size: var(--fs-tag); padding: .15em .4em; background: var(--nav-panel); }
.gtme .story-body { font-size: clamp(17px, 1.35vw, 19px); }

/* Data test placeholders stay visibly unfinished */
.gtme .dtest { border-radius: 0; border-color: var(--rule); }
.gtme .dtest-k { color: var(--ink); }
.gtme .dtest-k::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; background: var(--live); vertical-align: .05em; }
.gtme .dtest-slot { border-radius: 0; font-size: var(--fs-tag); }

/* FAQ: numbered index rows */
.gtme .faq { border-top-color: var(--ink); counter-reset: faq; }
.gtme .faq-item { counter-increment: faq; border-bottom-color: var(--rule); }
.gtme .faq-q { font-weight: 500; letter-spacing: var(--track-tight); }
.gtme .faq-q::before { content: "0." counter(faq, decimal-leading-zero); display: block; margin-bottom: var(--s-8); font-family: var(--font-data); font-size: var(--fs-footnote); font-weight: 500; letter-spacing: var(--track-print); color: var(--muted); }

/* Closing: olive slab, like the end of the GTME page */
.gtme .closing-in { position: relative; border-radius: 0; box-shadow: none; background: var(--paper-olive); color: var(--ink-on-olive); }
.gtme .closing-in::after { background: repeating-linear-gradient(0deg, rgb(0 0 0 / .07) 0 1px, transparent 1px 3px); }
.gtme .closing-h { font-weight: 500; color: var(--ink-on-olive); }
.gtme .closing-p { color: var(--ink-on-olive); }
.gtme .closing .actions { border-top-color: rgb(14 15 16 / .35); }
.gtme .closing .btn-text { text-decoration-color: rgb(14 15 16 / .5); color: var(--ink-on-olive); }
.gtme .closing .btn-text:hover .w { background: var(--paste); }

/* Floating bits */
.gtme .totop { width: 40px; height: 40px; border-radius: var(--r-lg); background: var(--live); color: var(--ink); box-shadow: none; }
.gtme .totop:hover { background: var(--ink); color: var(--live); }
.gtme .totop svg { width: 13px; height: 12px; }
.gtme .toast { border-radius: 0; padding: 9px 14px; background: var(--paste); color: var(--ink); box-shadow: 0 0 0 1px var(--ink); font-family: var(--font-data); font-size: var(--fs-footnote); font-weight: 500; letter-spacing: var(--track-print); text-transform: uppercase; }
.gtme .anchor { border-radius: var(--r-md); }

/* Mobile contents sheet: same tree type */
.gtme .sheet { background: var(--nav-panel); }
.gtme .sheet .toc-a { border-radius: 0; font-family: var(--font-data); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--nav-ink); }
.gtme .sheet .toc-a.is-group { font-size: 12px; }
.gtme .sheet .toc-a.is-active { background: var(--live); }

@media (prefers-reduced-motion: reduce) {
  .gtme .tree-panel.is-on { transition: none; }
}

/* Scanline glass (fixed overlay) */
.gtme .glass { position: fixed; inset: 0; z-index: 1300; pointer-events: none; background: repeating-linear-gradient(0deg, rgb(0 0 0 / var(--crt-scan)) 0 1px, transparent 1px 3px); }
.gtme .part-num { margin: 0 0 var(--s-16); }

/* Tree lines: one continuous outer spine (on each li), inner spines for
   sub-items that stop at the last child's tick. Gaps are li padding so
   the spine runs through them. */
.gtme .rail .toc { --spine: rgb(27 26 24 / .43); }
.gtme .rail .toc li { display: block; box-shadow: inset 1px 0 0 var(--spine); }
.gtme .rail .toc li:last-child { box-shadow: none; }
.gtme .rail .toc li:has(> .is-group, > .has-gap) { padding-top: var(--s-10); }
.gtme .rail .toc-a.is-group, .gtme .rail .toc-a.has-gap { margin-top: 0; }
.gtme .rail .toc-a::before, .gtme .rail .toc-a::after { opacity: 1; border-color: var(--spine); }
.gtme .rail .toc-a:not(.is-sub, .is-play)::before { display: none; }
.gtme .rail .toc li:last-child > .toc-a::before { display: block; bottom: calc(100% - 3px - .725em); }
.gtme .rail .toc li:has(> .is-sub, > .is-play):has(+ li > :not(.is-sub, .is-play)) > .toc-a::before { bottom: calc(100% - 3px - .725em); }

@media (max-width: 639px) {
  .gtme .stat { padding: 10px; }
  .gtme .stat-num { font-size: 44px; }
  .gtme .stat-plot { height: 220px; }
}

/* ── Hero layouts (Figma: GTME Engineering, Section 1540:19) ──
   A "scene": full-bleed blue render, title in Hazy Sans Italic over the bottom.
   B "split": title left, cut-out TV right with the cord bleeding to the
   viewport edge, softened by a progressive blur + fade into the paper. */
.gtme .hero-stage { position: relative; }
.gtme .hero-scene, .gtme .hero-tv { display: none; }

/* A: scene */
.gtme[data-hero="scene"] .hero { padding-top: 0; }
.gtme[data-hero="scene"] .hero-stage {
  width: 100vw; margin-left: calc(50% - 50vw);
  aspect-ratio: 16 / 9; max-height: calc(100svh - var(--bar-h)); min-height: 420px;
  overflow: hidden; background: #2f6fe0;
}
.gtme[data-hero="scene"] .hero-scene { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.gtme[data-hero="scene"] .h1 {
  position: absolute; left: 13.2%; right: 6%; bottom: 4.2%; max-width: none;
  font-family: var(--font-display), var(--font-sans); font-style: italic; font-weight: 400;
  font-size: clamp(22px, 2.82vw, 64px); line-height: 1.1; letter-spacing: 0; color: var(--clay-neutral-50);
  text-wrap: balance;
}
.gtme[data-hero="scene"] .hero-rule { display: none; }
.gtme[data-hero="scene"] .hero-grid { margin-top: clamp(40px, 5vw, 72px); padding-top: clamp(26px, 2.6vw, 36px); border-top: 1px solid var(--ink); }

/* B: split. Title and TV share a grid row, so the TV can't run into
   the rule or the jump list. The TV column bleeds to the viewport edge. */
.gtme[data-hero="split"] .hero-stage { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: clamp(16px, 2vw, 40px); }
.gtme[data-hero="split"] .h1 { position: relative; z-index: 1; max-width: 9.4em; font-size: clamp(44px, 6.4vw, 104px); }
.gtme[data-hero="split"] .hero-tv {
  display: block; position: relative;
  width: clamp(300px, 36vw, 760px);
  margin-right: calc(-1 * (var(--gutter) + max(0px, (100vw - 1440px) / 2)));
  aspect-ratio: 1600 / 853;
}
/* Progressive blur: stacked copies of the render. Each layer is padded so
   its blur has room, and masked left to right, so the cord sharpens into
   blur and fades out by the screen edge. */
.gtme .hero-tv .pb { position: absolute; inset: -48px; padding: 48px; }
.gtme .hero-tv .pb img { display: block; width: 100%; height: 100%; }
.gtme .hero-tv .pb0 { position: relative; display: block; inset: auto; padding: 0; -webkit-mask-image: linear-gradient(to right, #000 74%, transparent 88%); mask-image: linear-gradient(to right, #000 74%, transparent 88%); }
.gtme .hero-tv .pb1 { -webkit-mask-image: linear-gradient(to right, transparent 70%, #000 80%, transparent 91%); mask-image: linear-gradient(to right, transparent 70%, #000 80%, transparent 91%); }
.gtme .hero-tv .pb1 img { filter: blur(2px); }
.gtme .hero-tv .pb2 { -webkit-mask-image: linear-gradient(to right, transparent 79%, #000 87%, transparent 95%); mask-image: linear-gradient(to right, transparent 79%, #000 87%, transparent 95%); }
.gtme .hero-tv .pb2 img { filter: blur(6px); }
.gtme .hero-tv .pb3 { -webkit-mask-image: linear-gradient(to right, transparent 86%, #000 92%, transparent 99%); mask-image: linear-gradient(to right, transparent 86%, #000 92%, transparent 99%); }
.gtme .hero-tv .pb3 img { filter: blur(14px); }
@media (max-width: 959px) {
  .gtme[data-hero="split"] .hero-stage { grid-template-columns: minmax(0, 1fr); }
  .gtme[data-hero="split"] .hero-tv { order: -1; justify-self: end; width: min(78%, 520px); margin-bottom: 8px; }
  .gtme[data-hero="split"] .h1 { max-width: none; }
}

@media (max-width: 639px) {
  .gtme[data-hero="scene"] .hero-stage { aspect-ratio: auto; max-height: none; min-height: 0; background: rgb(97 174 250); }
  .gtme[data-hero="scene"] .hero-scene { position: relative; height: auto; aspect-ratio: 4 / 3.4; object-position: 50% 45%; }
  .gtme[data-hero="scene"] .h1 { position: relative; left: auto; right: auto; bottom: auto; padding: 4px var(--gutter) 26px; font-size: 27px; }
}

/* Type: the earlier hero, untouched */

/* Review switcher */
.gtme .hero-switch { position: fixed; right: 16px; top: 68px; z-index: 1400; display: flex; align-items: center; gap: 2px; padding: 4px; background: var(--nav-panel); box-shadow: 0 0 0 1px var(--ink); font-family: var(--font-data); font-size: var(--fs-footnote); font-weight: 500; letter-spacing: var(--track-print); text-transform: uppercase; }
.gtme .hero-switch span { padding: 0 8px 0 6px; }
.gtme .hero-switch button { font: inherit; letter-spacing: inherit; text-transform: inherit; border: 0; padding: 5px 9px; background: none; color: var(--ink); cursor: pointer; }
.gtme .hero-switch button[aria-pressed="true"] { background: var(--nav-live); }

/* Rail: plays collapse under their chapter; the current chapter opens.
   Same grid-rows trick as the GTME nav's slim state. */
.gtme .rail .toc li.is-play-row { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease-out-strong); }
.gtme .rail .toc li.is-play-row.is-open { grid-template-rows: 1fr; }
.gtme .rail .is-play-row > .toc-a { min-height: 0; overflow: hidden; padding-block: 0; opacity: 0; transition: padding .3s var(--ease-out-strong), opacity .2s var(--ease-out-strong); }
.gtme .rail .is-play-row.is-open > .toc-a { padding-block: 3px; opacity: .78; }
.gtme .rail .is-play-row.is-open > .toc-a.is-active { opacity: 1; }
.gtme .rail .is-play-row:not(.is-open) > .toc-a::before, .gtme .rail .is-play-row:not(.is-open) > .toc-a::after { display: none; }
.gtme .rail .toc-n { display: inline-block; margin-left: 6px; padding: 0 .35em; box-shadow: inset 0 0 0 1px currentColor; font-size: 9.5px; line-height: 1.5; opacity: .6; vertical-align: .05em; }
.gtme .rail .toc-a.is-expanded .toc-n { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .gtme .rail .is-play-row, .gtme .rail .is-play-row > .toc-a { transition: none; } }

/* Jump arrow: gentle bob inside its box (no exit, nothing clipped) */
.gtme .jump-ic { overflow: visible; }
.gtme .jump-a:hover .jump-ic svg { animation: gtme-bob .9s var(--ease-in-out-quart) infinite alternate; }
@keyframes gtme-bob { from { transform: translateY(-2px); } to { transform: translateY(3px); } }

/* People cards: hovering the card (or focusing the link) pops the
   company logo up over the company name on a white paper chip. */
.gtme .person-by .co { position: relative; display: inline-block; }
.gtme .co-logo {
  position: absolute; left: 50%; bottom: calc(100% + 6px); z-index: 3;
  display: grid; place-items: center; min-width: 64px; height: 40px; padding: 0 12px;
  background: var(--paste); color: var(--ink); box-shadow: 0 0 0 1px var(--ink), 0 10px 24px -10px rgb(0 0 0 / .35);
  opacity: 0; pointer-events: none; transform-origin: 50% 100%;
  transform: translate(-50%, 8px) scale(.6) rotate(-4deg);
  transition: transform .42s cubic-bezier(.34, 1.56, .64, 1), opacity .18s var(--ease-out-soft);
}
.gtme .co-logo::after { content: ""; position: absolute; left: 50%; top: 100%; width: 9px; height: 9px; margin: -4px 0 0 -4.5px; background: var(--paste); box-shadow: 1px 1px 0 0 var(--ink); transform: rotate(45deg); }
.gtme .co-logo img, .gtme .co-logo svg { display: block; }
.gtme .co-logo img { height: 18px; width: auto; }
.gtme .person:hover .co-logo, .gtme .co:focus-visible .co-logo { opacity: 1; transform: translate(-50%, 0) scale(1) rotate(0deg); }
.gtme .person:hover .co-name { background: var(--live); text-decoration-color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .gtme .co-logo { transition: opacity .15s linear; transform: translate(-50%, 0); } }

/* Option B: rocking Clay Agent render sits on top of the card. The object
   fills y 17.5% to 87% of its 400px frame, so its bowl bottom lands 20px
   below the card's top edge and the rest stands above the card. */
.gtme .opt.has-mascot { overflow: visible; }
.gtme .opt-mascot { --mw: clamp(140px, 13vw, 200px); position: absolute; z-index: 2; top: calc(20px - var(--mw) * .87); right: calc(clamp(12px, 2vw, 32px) - 70px); width: var(--mw); pointer-events: none; }
.gtme .opt-mascot img { display: block; width: 100%; height: auto; }
.gtme .options:has(.has-mascot) { margin-top: calc(var(--mascot-rise, 120px) + 24px); }
.gtme .options { --mascot-rise: calc(clamp(140px, 13vw, 200px) * .695 - 20px); }
@media (max-width: 759px) {
  .gtme .options { --mascot-rise: calc(128px * .695 - 20px); }
  .gtme .opt-mascot { --mw: 128px; right: max(-54px, calc(-1 * var(--gutter) + 4px)); }
  .gtme .opt.has-mascot { margin-top: calc(var(--mascot-rise) + 8px); }
}


/* ── Customer stories with art ──
   Render tile left (the clay logo on its two-tone horizon), story right.
   Hovering the story lifts and tilts the render and slides up a paper
   "read the story" chip. Phones: the render becomes a wide banner. */
.gtme .story.has-art { display: grid; grid-template-columns: clamp(180px, 24%, 232px) minmax(0, 1fr); column-gap: clamp(20px, 2.6vw, 36px); align-items: start; }
.gtme .story.has-art > * { max-width: none; }
.gtme .story-main { display: grid; gap: 12px; min-width: 0; }
.gtme .story-main > * { max-width: 680px; }
.gtme .story-art { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--nav-panel); margin-top: 4px; }
.gtme .story-art img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transform-origin: 50% 62%; transition: transform .6s cubic-bezier(.34, 1.56, .64, 1); }
.gtme .story-art::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgb(0 0 0 / .05) 0 1px, transparent 1px 3px); }
.gtme .story-art-tag { position: absolute; left: 10px; bottom: 10px; z-index: 1; padding: .2em .45em .25em; background: var(--paste); color: var(--ink); font-family: var(--font-data); font-size: var(--fs-tag); font-weight: 500; letter-spacing: var(--track-print); text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: opacity .2s var(--ease-out-soft), transform .35s var(--ease-out-strong); }
.gtme .story.has-art:hover .story-art img { transform: scale(1.14) rotate(-2.5deg); }
.gtme .story.has-art:hover .story-art-tag { opacity: 1; transform: none; }
.gtme .story.has-art .quote { font-size: clamp(21px, 1.9vw, 27px); }
.gtme .also-thumb { display: inline-block; width: 22px; height: 22px; margin: 0 7px 0 0; border-radius: 50%; vertical-align: -6px; box-shadow: 0 0 0 1px rgb(0 0 0 / .08); }
.gtme .also .tx { text-wrap: pretty; }
@media (max-width: 639px) {
  .gtme .story.has-art { grid-template-columns: minmax(0, 1fr); row-gap: 16px; }
  .gtme .story-art { aspect-ratio: 16 / 9; margin-top: 0; }
  .gtme .story-art img { object-position: 50% 58%; }
  .gtme .story-art-tag { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .gtme .story-art img { transition: none; } }

/* ── Page cord (cord.js) ── replaces the top progress tracker */
.gtme .progress { display: none; }
.cord-gl { position: fixed; inset: 0; z-index: 1250; pointer-events: none; }
.u-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Closing: email field */
.gtme .closing-in { --pad-r: clamp(22px, 6vw, 96px); padding-right: var(--pad-r); }
.gtme .closing .actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.gtme .closing-form { position: relative; display: flex; align-items: stretch; gap: 8px; max-width: 620px; }
.gtme .closing-input {
  flex: 1 1 auto; min-width: 0; height: 48px; padding: 0 16px; border: 0; border-radius: var(--r-lg);
  background: var(--paste); color: var(--ink); box-shadow: inset 0 0 0 1px rgb(14 15 16 / .25);
  font: 500 16px/1 var(--font-sans); letter-spacing: var(--track);
  transition: box-shadow .4s var(--ease-out-soft);
}
.gtme .closing-input::placeholder { color: var(--muted); }
.gtme .closing-input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.gtme .closing-form .btn-primary { flex: none; border: 0; cursor: pointer; color: var(--bg); }
.gtme .closing-links { display: flex; flex-wrap: wrap; gap: 14px 32px; }
@media (min-width: 1100px) {
  .gtme .closing .actions { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .gtme .closing-form { grid-column: 2; grid-row: 1; justify-self: end; width: min(620px, 100%); }
  .gtme .closing-links { grid-column: 1; grid-row: 1; }
}


/* ── Review round: Sara, 2026-11-18 ── */

/* Top bar: regular clay.com nav, no running head */
.gtme .runhead { display: none; }
.gtme .topbar-in { gap: clamp(16px, 2.4vw, 36px); }
.gtme .site-nav { display: flex; gap: clamp(14px, 1.6vw, 24px); }
.gtme .site-nav a, .gtme .site-login { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: var(--track); }
.gtme .site-nav a:hover, .gtme .site-login:hover { color: var(--muted); }
.gtme .site-cta { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.gtme .site-login { margin-right: 8px; }
.gtme .site-btn { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: var(--r-lg); background: var(--nav-panel); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: var(--track); transition: scale .36s var(--ease-out-drawer); }
.gtme .site-btn.is-ink { background: var(--ink); color: var(--bg); }
.gtme .site-btn:hover { scale: .96; }
@media (max-width: 1099px) {
  .gtme .site-nav, .gtme .site-login, .gtme .site-btn:not(.is-ink) { display: none; }
  .gtme .menu-btn { margin-left: 0; }
}
@media (max-width: 479px) { .gtme .site-btn.is-ink { display: none; } .gtme .menu-btn { margin-left: auto; } }

/* Breadcrumb: clay.com guides style */
.gtme .crumbs { margin-bottom: clamp(24px, 3vw, 44px); }
.gtme .crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; list-style: none; margin: 0; padding: 0; font-family: var(--font-data); font-size: var(--fs-tag); font-weight: 500; letter-spacing: var(--track-print); text-transform: uppercase; color: var(--ink); }
.gtme .crumbs li { display: flex; align-items: center; gap: 10px; }
.gtme .crumbs li[aria-current] { flex: 1 1 0; min-width: 0; }
.gtme .crumbs li + li::before { content: "/"; color: var(--muted); }
.gtme .crumbs a { display: inline-block; padding: .45em .9em; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--rule); color: var(--muted); text-decoration: none; transition: color .16s var(--ease-out-quad), box-shadow .16s var(--ease-out-quad); }
.gtme .crumbs a:hover { color: var(--ink); }
.gtme[data-hero="scene"] .crumbs { padding-top: clamp(20px, 2.4vw, 32px); }

/* Hero: primary button + the clay.com/agent-plugin callout, GTME buttons
   (paper-gray pill, white chip, mono micro labels) */
.gtme .hero .actions { gap: 12px; }
.gtme .plug { position: relative; }
.gtme .plug-trigger { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 6px 0 14px; border: 0; border-radius: var(--r-lg); background: var(--nav-panel); color: var(--ink); cursor: pointer; font: 500 16px/1.2 var(--font-sans); letter-spacing: var(--track); text-align: left; transition: background-color .2s var(--ease-out-soft); }
.gtme .plug-trigger:hover, .gtme .plug.is-open .plug-trigger { background: var(--clay-neutral-200, #e9e7e3); }
.gtme .plug-icons { display: inline-flex; align-items: center; gap: 4px; flex: none; }
.gtme .plug-icons svg { display: block; }
.gtme .plug-caret { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: var(--r-md); background: var(--paste); }
.gtme .plug-caret svg { width: 10px; height: 6px; transition: rotate .3s var(--ease-out-strong); }
.gtme .plug.is-open .plug-caret svg { rotate: 180deg; }
.gtme .plug-panel { position: absolute; z-index: 20; left: 0; top: calc(100% + 8px); width: min(480px, calc(100vw - 2 * var(--gutter))); padding: 14px; border-radius: var(--r-lg); background: var(--nav-panel); box-shadow: 0 0 0 1px var(--rule), 0 18px 40px -18px rgb(27 26 24 / .35); }
.gtme .plug-panel:not([hidden]) { animation: plug-in .28s var(--ease-out-strong); }
@keyframes plug-in { from { opacity: 0; transform: translateY(-6px); } }
.gtme .plug-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.gtme .plug-k { margin: 0; font-family: var(--font-data); font-size: var(--fs-footnote); font-weight: 500; letter-spacing: var(--track-print); text-transform: uppercase; color: var(--ink); }
.gtme .plug-code { display: flex; align-items: center; gap: 12px; padding: 14px 10px 14px 16px; border-radius: var(--r-md); background: var(--paste); box-shadow: inset 0 0 0 1px var(--line-2); }
.gtme .plug-code code { flex: 1; min-width: 0; font-family: var(--font-data); font-size: 13px; line-height: 1.5; letter-spacing: .01em; color: var(--ink); overflow-wrap: anywhere; }
.gtme .plug-code a { color: inherit; text-decoration: underline 1px var(--ink-muted); text-underline-offset: .2em; }
.gtme .plug-copy { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 36px; padding: 0 12px 0 10px; border: 0; border-radius: var(--r-md); background: var(--nav-panel); color: var(--ink); cursor: pointer; font-family: var(--font-data); font-size: var(--fs-footnote); font-weight: 500; letter-spacing: var(--track-print); text-transform: uppercase; transition: background-color .2s var(--ease-out-soft); }
.gtme .plug-copy:hover { background: var(--clay-neutral-200, #e9e7e3); }
.gtme .plug-copy svg { width: 13px; height: 13px; }
.gtme .plug-copy .ic-check, .gtme .plug-copy.is-copied .ic-copy { display: none; }
.gtme .plug-copy.is-copied .ic-check { display: block; }
.gtme .plug-copy.is-copied { background: var(--live); }
@media (max-width: 639px) {
  .gtme .plug, .gtme .plug-trigger { width: 100%; }
  .gtme .plug-caret { margin-left: auto; }
  .gtme .plug-t { font-size: 15px; }
}

/* No strong black lines: every rule is oat 300 */
.gtme .hero-rule { background: var(--oat-300); }
.gtme .jump-list, .gtme .chap-head, .gtme .play-head, .gtme .spec, .gtme .faq, .gtme .part-head,
.gtme[data-hero="scene"] .hero-grid { border-top-color: var(--oat-300); }
.gtme .part-head { border-top-width: 1px; }
.gtme .lead-list li, .gtme .person-by { border-top-color: var(--oat-300); }
.gtme .sm-b, .gtme .jump-ic { border-color: var(--oat-300); }
.gtme .sm-fork { border-color: var(--oat-300); }

/* Index rows (Figma 1011:2097, the ecosystem list): ▶ 0.01 —— LABEL ———
   in TX-02, leader running into the content. Used by play specs and FAQ. */
.gtme .spec { counter-reset: spec; }
.gtme .spec-row, .gtme .faq-item { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); column-gap: 28px; }
.gtme .spec-row { counter-increment: spec; }
.gtme .spec-k, .gtme .faq-q {
  display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 0;
  font-family: var(--font-data); font-size: 12px; font-weight: 600; line-height: 1.5; letter-spacing: -.02em; text-transform: uppercase; color: var(--ink); text-wrap: pretty; background: none;
}
.gtme .spec-k::before, .gtme .faq-q::before {
  content: "\25B6\00a0\00a0 0." counter(spec, decimal-leading-zero); flex: none; display: block; margin: 0;
  padding-right: 34px; background: linear-gradient(var(--oat-300), var(--oat-300)) right center / 24px 1px no-repeat;
  font: inherit; letter-spacing: inherit; color: inherit;
}
.gtme .faq-q::before { content: "\25B6\00a0\00a0 0." counter(faq, decimal-leading-zero); }
.gtme .spec-k::after, .gtme .faq-q::after { content: ""; flex: 1 1 16px; min-width: 16px; height: 1px; margin-top: .75em; background: var(--oat-300); }
.gtme .spec-v { max-width: 640px; }
/* Step numbers: micro mono instead of Hazy */
.gtme .steps li { grid-template-columns: 36px minmax(0, 1fr); }
.gtme .steps li::before { content: counter(step, decimal-leading-zero); padding-top: .45em; font-family: var(--font-data); font-size: 12px; font-weight: 600; line-height: 1.2; letter-spacing: -.02em; color: var(--muted); }
.gtme .faq-item { padding: 22px 0 26px; }
.gtme .faq-a { max-width: 640px; }
@media (max-width: 719px) {
  .gtme .spec-row, .gtme .faq-item { grid-template-columns: minmax(0, 1fr); row-gap: 12px; }
}

/* Customer story callouts: contained in a paper card */
.gtme .story { border-top: 0; padding: clamp(18px, 2vw, 26px); background: var(--nav-panel); }
.gtme .story-art { margin-top: 0; background: var(--paste); }
.gtme .also { border-top-color: rgb(14 15 16 / .1); }
.gtme .also .eyebrow { background: var(--paste); }

/* Closing: heading aligned to the top with the copy */
.gtme .closing-in { align-items: start; }

/* ── Jump-to variants (body[data-jump]; review switcher) ──
   list: the original rows. index: ecosystem-style mono rows, no blurbs.
   compact: titles only. under: moved below the copy as three tiles. */
.gtme .jump-switch { top: 108px; }
.gtme[data-jump="index"] .jump-d, .gtme[data-jump="compact"] .jump-d { display: none; }

.gtme[data-jump="index"] .jump-label { display: none; }
.gtme[data-jump="index"] .jump-list { border-top: 0; margin-inline: 0; }
.gtme[data-jump="index"] .jump-list li { margin-inline: 0; border-bottom: 0; }
.gtme[data-jump="index"] .jump-a { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 0; background: none; line-height: 1.2; font-family: var(--font-data); font-size: 13px; font-weight: 600; letter-spacing: -.02em; text-transform: uppercase; }
.gtme[data-jump="index"] .jump-a::before { content: "\25B6\00a0\00a0 0.0" counter(jump); order: 0; margin: 0; padding: 0 34px 0 0; background: linear-gradient(var(--oat-300), var(--oat-300)) right center / 24px 1px no-repeat; font: inherit; color: var(--ink); }
.gtme[data-jump="index"] .jump-t { order: 1; font: inherit; letter-spacing: inherit; white-space: nowrap; }
.gtme[data-jump="index"] .jump-a::after { content: ""; order: 2; flex: 1; height: 1px; background: var(--oat-300); transition: background-color .2s var(--ease-out-soft); }
.gtme[data-jump="index"] .jump-ic { order: 3; width: 26px; height: 26px; border: 0; background: var(--nav-panel); }
.gtme[data-jump="index"] .jump-ic svg { width: 11px; height: 10px; }
.gtme[data-jump="index"] .jump-a:hover { background: none; }
.gtme[data-jump="index"] .jump-a:hover::before { background-color: transparent; }
.gtme[data-jump="index"] .jump-a:hover .jump-t { background: var(--live); }
.gtme[data-jump="index"] .jump-a:hover::after { background: var(--ink); }
.gtme[data-jump="index"] .jump-a > *, .gtme[data-jump="index"] .jump-a::before { line-height: 1.2; align-self: center; }

.gtme[data-jump="compact"] .jump-a { padding-block: 12px 13px; align-items: center; }
.gtme[data-jump="compact"] .jump-t { font-size: 18px; }
.gtme[data-jump="compact"] .jump-a::before { margin-top: 0; align-self: center; }
.gtme[data-jump="compact"] .jump-ic { width: 26px; height: 26px; }

.gtme[data-jump="under"] .hero-grid { grid-template-columns: minmax(0, 1fr); row-gap: clamp(36px, 4vw, 56px); }
.gtme[data-jump="under"] .jump-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; border-top: 0; margin-inline: 0; }
.gtme[data-jump="under"] .jump-list li { margin: 0; border: 0; }
.gtme[data-jump="under"] .jump-a { height: 100%; margin: 0; padding: 16px 16px 18px; background: var(--nav-panel); align-content: start; }
.gtme[data-jump="under"] .jump-a:hover { background: var(--clay-neutral-200, #e9e7e3); }
.gtme[data-jump="under"] .jump-t { font-size: 20px; }
@media (max-width: 759px) { .gtme[data-jump="under"] .jump-list { grid-template-columns: minmax(0, 1fr); } }

/* Under: no hero rule; the TV grows into the right side. The title spans
   the full row (it never reaches the TV column), the copy sits left, and
   the TV's bottom lines up with the buttons. */
@media (min-width: 960px) {
  .gtme[data-jump="under"][data-hero="split"] .hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 42%); column-gap: clamp(16px, 2vw, 40px); }
  .gtme[data-jump="under"][data-hero="split"] :is(.hero-stage, .hero-grid) { display: contents; }
  .gtme[data-jump="under"][data-hero="split"] .crumbs { grid-column: 1 / -1; grid-row: 1; }
  .gtme[data-jump="under"][data-hero="split"] .h1 { grid-column: 1 / -1; grid-row: 2; }
  .gtme[data-jump="under"][data-hero="split"] .hero-copy { grid-column: 1; grid-row: 3; margin-top: clamp(28px, 3.4vw, 48px); }
  .gtme[data-jump="under"][data-hero="split"] .hero-tv { grid-column: 2; grid-row: 2 / 4; align-self: end; width: auto; }
  .gtme[data-jump="under"][data-hero="split"] .jump { grid-column: 1 / -1; grid-row: 4; margin-top: clamp(48px, 5vw, 72px); }
}
.gtme[data-jump="under"] .hero-rule { display: none; }

/* Play detail labels: no index numbers (the steps already count) */
.gtme .spec-k::before { content: "\25B6"; }

/* Hide the native page scrollbar so it doesn't sit on top of the cord (page still scrolls) */
html:has(body.gtme) { scrollbar-width: none; }
html:has(body.gtme)::-webkit-scrollbar { display: none; }

/* Big headlines: Roobert's single-story a (ss01) */
.gtme :is(.h1, .chap-h, .sub-h, .part-title, .play-title, .closing-h) { font-feature-settings: "ss01" 1; }

/* ── QA round: Sara, 2026-11-19 ── */

/* Top bar: clay.com nav, 1:1 (measured off www.clay.com at 1440): a white
   bar inset 36px with 23.5px bottom corners, 58px tall, 24px padding,
   14px/500 links, 13.92px/500 buttons with 12px corners. Plain hovers,
   no squish. */
.gtme .page { --bar-h: 58px; }
.gtme .topbar { height: var(--bar-h); background: none; border-bottom: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.gtme .topbar-in { max-width: none; height: 100%; margin: 0 36px; padding: 0 24px; gap: 0; background: #fff; border-radius: 0 0 23.5px 23.5px; }
.gtme .logo { height: auto; margin-right: 18px; }
.gtme .logo img { width: 72px; height: 23px; object-fit: contain; }
.gtme .site-nav { gap: 0; }
.gtme .site-nav a { position: relative; padding: 10.4px 8px; border-radius: 10px; font-size: 14px; font-weight: 500; line-height: 21px; letter-spacing: normal; color: #000; transition: background-color .3s cubic-bezier(.075, .82, .165, 1); }
.gtme .site-nav a:hover { color: #000; background: rgb(243 242 237); }
.gtme .site-cta { gap: 6.4px; }
.gtme .site-login { margin-right: 6px; padding: 6px 8px; font-size: 13.92px; font-weight: 500; letter-spacing: -.01em; color: #000; }
.gtme .site-login:hover { color: #000; text-decoration: underline 1px; text-underline-offset: .25em; }
.gtme .site-btn { height: 38.875px; padding: 8px 16px; border: 1px solid transparent; border-radius: 12px; background: rgb(243 242 237); color: #000; font-size: 13.92px; font-weight: 500; letter-spacing: -.01em; transition: background-color .3s cubic-bezier(.075, .82, .165, 1); }
.gtme .site-btn:hover { scale: none; background: rgb(233 231 224); }
.gtme .site-btn.is-ink { background: #000; color: #fff; }
.gtme .site-btn.is-ink:hover { background: #2a2926; }
.gtme .menu-btn { height: 38.875px; border-radius: 12px; background: rgb(243 242 237); }
@media (max-width: 1099px) { .gtme .site-cta { margin-left: auto; margin-right: 6.4px; } }
@media (max-width: 639px) { .gtme .topbar-in { margin: 0 12px; padding: 0 12px 0 16px; } }

/* Text measure: 70ch instead of 660px */
.gtme :is(.chap-body, .prose, .stat-cap) { max-width: 70ch; }
.gtme :is(.spec-v, .faq-a) { max-width: 70ch; }

/* People cards: logo pop without the black outline */
.gtme .co-logo { box-shadow: 0 0 0 1px var(--oat-300), 0 10px 24px -10px rgb(0 0 0 / .25); }
.gtme .co-logo::after { box-shadow: 1px 1px 0 0 var(--oat-300); }
.gtme .logo { margin-right: 26px; }
.gtme :is(.site-nav a, .site-login, .site-btn) { font-feature-settings: "ss03", "ss10", "ss11", "ss12"; font-weight: 600; }
.gtme .site-nav { gap: 4px; }

/* Body text runs the full content column, out to the chart's right edge */
.gtme :is(.chap-body, .prose, .stat-cap) { max-width: none; }

/* Seat map: arrowheads match the oat line; the GTM engineer tag sits
   centered on the fork's bottom line (2.5px stroke, so center = -1.25px) */
.gtme .sm-fork { color: var(--oat-300); }
.gtme .sm-node { margin-top: 0; transform: translateY(calc(-50% - 1.25px)); }
.gtme .sm-base-k { margin-top: 0; }
@media (max-width: 759px) { .gtme .sm-node { transform: none; } .gtme .sm-base-k { margin-top: 18px; } }

/* Copy doc 2026-11-20: short bullet lists inside play prose (territory scores, signal examples) */
.gtme .prose .prose-list { margin: 0.7em 0 0; padding-left: 1.2em; list-style: disc; }
.gtme .prose .prose-list li + li { margin-top: 0.3em; }
.gtme .prose .prose-list li::marker { color: var(--muted, currentColor); }
.gtme .prose .prose-list + p { margin-top: 1.05em; }

/* Copy doc 2026-11-30: Clay data test results (filled versions of the dashed placeholders) */
.gtme .dtest.is-result { border: 1px solid var(--rule); background: var(--paste); }
.gtme .dtest-num { font-family: var(--font-display), var(--font-sans); font-weight: 400; font-size: clamp(44px, 5.2vw, 76px); letter-spacing: 0; color: var(--clay-orange); }
.gtme .dtest-rows, .gtme .dtest-rows li { border-color: var(--line); }
.gtme .dtest-v, .gtme .dtest-meta { font-family: var(--font-data); font-variation-settings: normal; }
.gtme .dtest-meta { font-size: var(--fs-tag); text-transform: uppercase; letter-spacing: var(--track-print); }
.gtme .draft-note p { font-size: 14px; }

/* Under + split hero: TV about 30% larger. Its column grows from 42% to 56%;
   the TV keeps its bottom on the buttons and the cord bleed on the right. */
@media (min-width: 960px) {
  /* TV column starts where the third jump card starts (3 cards, 8px gaps), so the TV's
     left edge lines up with "Win deals". The TV keeps its larger width and bleeds right. */
  .gtme[data-jump="under"][data-hero="split"] .hero { grid-template-columns: calc((100% - 16px) * 2 / 3 + 16px) minmax(0, 1fr); column-gap: 0; }
  .gtme[data-jump="under"][data-hero="split"] .hero-tv { justify-self: start; width: calc(168% + var(--gutter) + max(0px, (100vw - 1440px) / 2)); margin-right: 0; }
  .gtme[data-jump="under"][data-hero="split"] .hero-copy { padding-right: clamp(16px, 2vw, 40px); }
  .gtme[data-jump="under"][data-hero="split"] .h1 { position: relative; z-index: 2; }
}
/* Hero copy reads lighter beside the bigger TV: lead one step smaller, the second deck split in two */
@media (min-width: 960px) {
  .gtme[data-jump="under"][data-hero="split"] .deck { font-size: clamp(19px, 1.5vw, 23px); }
  /* deck2 spans the same width as the lead above it (27em of the lead size) */
  .gtme[data-jump="under"][data-hero="split"] .deck2 { font-size: 16px; max-width: calc(27 * clamp(19px, 1.5vw, 23px)); }
}
.gtme .deck2-b { margin-top: 12px; }

/* Data test results: roomier text, two paragraphs, wider measure */
.gtme .dtest.is-result { gap: 0; padding: clamp(22px, 3vw, 40px); }
.gtme .dtest.is-result .dtest-num { margin: 10px 0 clamp(18px, 2vw, 26px); }
.gtme .dtest.is-result .dtest-desc { max-width: 760px; line-height: 1.65; }
.gtme .dtest.is-result .dtest-desc + .dtest-desc { margin-top: 14px; }
.gtme .dtest.is-result .dtest-rows { max-width: 760px; margin-top: 18px; }
.gtme .dtest.is-result .dtest-meta { max-width: 760px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); line-height: 1.7; }

/* Mobile split hero: TV aligned left, real space between TV, title, lead and deck */
@media (max-width: 959px) {
  /* TV starts at the left edge of the text and the cord runs to the right edge of the screen */
  .gtme[data-hero="split"] .hero-tv { justify-self: start; width: calc(100% + var(--gutter)); max-width: none; margin-right: calc(-1 * var(--gutter)); margin-bottom: clamp(20px, 4vw, 32px); }
  .gtme[data-hero="split"] .hero-grid { margin-top: clamp(24px, 5vw, 40px); }
  .gtme .deck2 { margin-top: 20px; line-height: 1.6; }
  .gtme .deck2-b { margin-top: 14px; }
}

/* Closing email form stacks on phones: full-width input, then the button */
@media (max-width: 639px) {
  .gtme .closing-form { flex-direction: column; align-items: stretch; max-width: none; }
  .gtme .closing-input { width: 100%; min-height: 52px; flex: none; }
  .gtme .closing-form .btn-primary { width: 100%; justify-content: center; }
}

.gtme:not(.is-review) .hero-switch { display: none; }
