/* Meet Tag: a pinned scroll story in three chapters (where Tag started, powered by Hover, gets to work),
   then how Tag comes with the Hover plan. Self-contained: every class starts with tg- or pl-. */
.tg, .tg-after {
  /* Green, like the "Meanwhile, Hover reads everything" band. Tag itself stays blue. */
  --tg-night: #0b1814;
  --tg-xr: #bff3e2; /* highlights: kickers, the active chapter, lines of sight, "Up to 20x cheaper" */
  --tg-glow: 160 236 208; /* the same mint as an RGB triple, for faint lines and rings */
  --tg-text: #eef5f0;
  --tg-body: #c5d3cb;
  --tg-muted: #9db8aa;
  --tg-dim: #6f8a7c;
  --tg-line: #22392f;
  --tg-card: #10241d;
  --tg-panel: linear-gradient(100deg, #17402f, #10291f 70%);
  --tg-panel-line: #2b5a45;
  --tg-chip: #e8f8f1;
  --tg-soft: #eaf5ef;
  --tg-blue: #c0e6fc;
  --tg-done: #2f8a63;
  --tg-ease: var(--ds-ease-out, cubic-bezier(.22, 1, .36, 1));
}
.tg *, .tg-after * { box-sizing: border-box; }
.tg img, .tg-after img { display: block; }
.tg-pixel { image-rendering: pixelated; }

/* The story is pinned while you scroll through these screens. */
.tg { position: relative; height: 600vh; background: var(--tg-night); color: var(--tg-text); }
.tg-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 40px; padding: 8vh max(48px, calc((100vw - 1340px) / 2)) 5vh; }
.tg-stage::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgb(var(--tg-glow) / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(var(--tg-glow) / .05) 1px, transparent 1px); background-size: 32px 32px; pointer-events: none; }

/* Copy column: one chapter at a time */
.tg-copy { position: relative; z-index: 3; display: flex; flex-direction: column; justify-content: center; min-height: 0; transform-origin: 0 50%; }
.tg-label { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: var(--tg-muted); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.tg-label span { padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; letter-spacing: .04em; }
.tg-rail { display: flex; gap: 6px; margin: 0 0 26px; padding: 0; list-style: none; }
.tg-rail li { flex: 1; padding-top: 8px; border-top: 2px solid var(--tg-line); color: var(--tg-dim); font-size: 12.5px; transition: color .3s, border-color .3s; }
.tg-rail li.is-on { border-color: var(--tg-xr); color: var(--tg-text); }
.tg-hv-mark { display: inline-block !important; width: 16px; height: 16px; vertical-align: -3px; margin-right: 4px; }
.tg-chapters { position: relative; min-height: 360px; }
.tg-ch { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(14px); transition: opacity .45s, transform .55s var(--tg-ease); pointer-events: none; }
.tg-ch.is-on { opacity: 1; transform: none; pointer-events: auto; }
.tg-ch small { display: block; margin-bottom: 10px; color: var(--tg-xr); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; }
.tg-ch h3 { margin: 0 0 16px; color: var(--tg-text); font-size: clamp(28px, min(3.4vw, 5.4vh), 48px); font-weight: 400; line-height: 1.06; letter-spacing: -1.4px; text-wrap: balance; }
.tg-ch h3 .was { display: block; color: var(--tg-dim); }
.tg-ch p { margin: 0 0 12px; color: var(--tg-body); font-size: clamp(15px, 2.1vh, 17px); line-height: 1.55; text-wrap: pretty; }
.tg-ch p b { color: var(--tg-text); font-weight: 500; }
.tg-wm { display: inline-block !important; height: 1.08em; width: auto; vertical-align: -.2em; margin-right: -.04em; }
.tg-wm-text { display: none; }
.tg-models { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: start; margin-top: 4px; font-size: 14px; }
.tg-models + .tg-models { margin-top: 8px; }
.tg-soon-label { padding-top: 4px; color: var(--tg-muted); font-size: 13px; }
.tg-pills, .tg-lgs { display: flex; flex-wrap: wrap; gap: 6px; }
.tg-lg { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 4px; border-radius: 999px; background: #fff; color: var(--tg-night); font-size: 14px; font-weight: 500; white-space: nowrap; }
.tg-lg img { width: 20px; height: 20px; padding: 2px; border-radius: 50%; object-fit: contain; }
.tg-lg img.full { padding: 0; border-radius: 5px; }
.tg-lg.soon { border: 1px dashed #4b6a5b; background: transparent; color: var(--tg-body); }
.tg-lg.soon img { background: #fff; }

/* Scene column */
.tg-scene { position: relative; z-index: 2; }
.tg-rays { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.tg-rays line { stroke: var(--tg-xr); stroke-width: 1.5; stroke-dasharray: 4 6; }
.tg-drop { position: absolute; z-index: 3; left: 0; top: 0; width: min(52vh, 440px); aspect-ratio: 1; transform-origin: 50% 50%; will-change: transform; }
.tg-drop > img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: calc(1 - var(--scan, 0) * .8 * var(--xray, 1)); }
.tg-glass { position: absolute; inset: 0; -webkit-mask: url("./assets/tag-avatar-transparent.png") center / 100% 100% no-repeat; mask: url("./assets/tag-avatar-transparent.png") center / 100% 100% no-repeat; clip-path: inset(0 0 calc((1 - var(--scan, 0)) * 100%) 0); opacity: var(--xray, 1); background: radial-gradient(circle at 46% 58%, rgba(127, 227, 255, .36), rgba(30, 110, 170, .24) 60%), repeating-linear-gradient(0deg, rgba(127, 227, 255, .13) 0 2px, transparent 2px 7px); }
.tg-scanline { position: absolute; left: 24%; right: 24%; top: calc(var(--scan, 0) * 100%); height: 2px; background: var(--tg-xr); box-shadow: 0 0 18px 4px rgb(var(--tg-glow) / .6); opacity: calc(var(--scan, 0) * (1 - var(--scan, 0)) * 4); }
/* What Tag runs on, and what it uses, seen through the x-ray */
.tg-parts { position: absolute; left: 50%; top: 63%; width: max-content; display: flex; align-items: center; gap: 12px; transform: translate(-50%, -50%); }
.tg-part { position: relative; display: grid; place-items: center; transform: scale(calc(.6 + var(--on, 0) * .4)); opacity: calc(var(--on, 0) * var(--xray, 1)); color: var(--tg-night); }
.tg-part i { display: flex; align-items: center; gap: 6px; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 999px; background: var(--tg-chip); font-style: normal; font-size: 15px; font-weight: 500; white-space: nowrap; box-shadow: 0 0 0 6px rgb(var(--tg-glow) / .22); transition: opacity .25s; }
.tg-part.tools i { justify-content: center; padding: 0; width: 40px; font-size: 19px; }
.tg-part.model i img { width: 20px; height: 20px; }
.tg-tip { position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%); color: var(--tg-muted); font-size: 12px; white-space: nowrap; }
/* Hover docks in as Tag's eye. The colour mark sits straight on Tag; a thin white edge keeps it off
   Tag's blue, since the brand rules say no colour mark on mid-blue. */
.tg-eye { position: absolute; left: 50%; top: 42%; z-index: 2; width: 0; height: 0; opacity: var(--eye-on, 0); transform: translate(calc(var(--eye-x, 0) * 1px), calc(var(--eye-y, 0) * 1px)) scale(var(--eye-scale, 1)); }
.tg-eye img { position: absolute; left: -30px; top: -30px; width: 60px; height: 60px; filter: drop-shadow(0 0 1.2px #fff) drop-shadow(0 0 1.2px #fff) drop-shadow(0 0 calc(var(--glow, 0) * 12px) rgba(190, 245, 255, .95)); }
.tg-eye-label { position: absolute; left: 32px; top: -11px; padding: 2px 9px; border-radius: 999px; background: var(--tg-chip); color: var(--tg-night); font-size: 12.5px; font-weight: 500; white-space: nowrap; opacity: var(--eye-label, 0); }
/* The apps Hover sees through */
.tg-apps { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.tg-apps li { position: absolute; left: 0; top: 0; display: grid; justify-items: center; gap: 6px; width: 150px; margin-left: -75px; opacity: 0; visibility: hidden; }
.tg-apps li i { display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px; border-radius: 15px; background: #fff; box-shadow: 0 0 0 calc(var(--on, 0) * 5px) rgb(var(--tg-glow) / .25); }
.tg-apps li img { width: 28px; height: 28px; }
.tg-apps li > span { padding: 2px 8px; border-radius: 8px; background: rgba(11, 24, 20, .85); color: var(--tg-body); font-size: 12.5px; line-height: 1.3; text-align: center; }
/* The team chat */
.tg-chat { position: absolute; right: 0; bottom: 6%; width: min(330px, 40%); margin: 0; padding: 14px 16px 16px; border-radius: 14px; background: #fff; color: #1d1c1d; box-shadow: 0 24px 60px rgba(0, 0, 0, .4); opacity: var(--on, 0); transform: translateY(calc((1 - var(--on, 0)) * 16px)); }
.tg-chat figcaption { display: flex; align-items: center; gap: 7px; margin: 0 0 10px; padding-bottom: 9px; border-bottom: 1px solid #eee; font-size: 14px; font-weight: 500; }
.tg-chat figcaption svg { width: 16px; height: 16px; color: #616061; }
.tg-msg { display: grid; grid-template-columns: 32px 1fr; gap: 9px; margin-top: 10px; font-size: 14.5px; line-height: 1.4; }
.tg-msg > img { width: 32px; height: 32px; border-radius: 7px; background: var(--tg-blue); }
.tg-msg b { display: block; font-size: 14px; }
.tg-msg b em { margin-left: 4px; padding: 0 4px; border-radius: 3px; background: #eee; color: #616061; font-size: 10px; font-style: normal; font-weight: 500; vertical-align: 1px; }
.tg-reply { display: grid; }
.tg-reply > span { grid-area: 1 / 1; transition: opacity .35s; }
.tg-reply .r1 { color: #8a4a12; }
.tg-reply .r2 { opacity: 0; }
.tg[data-reply="2"] .tg-reply .r1 { opacity: 0; }
.tg[data-reply="2"] .tg-reply .r2 { opacity: 1; }
/* The jobs Tag hops along */
.tg-jobs { position: absolute; left: 0; right: 0; bottom: 4%; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; opacity: var(--on, 0); transform: translateY(calc((1 - var(--on, 0)) * 30px)); }
.tg-job { position: relative; padding: 13px 13px 11px; border-radius: 14px; background: #fff; color: var(--eco-ink); box-shadow: 0 14px 30px rgba(0, 0, 0, .3); transition: box-shadow .3s; }
.tg-sug { display: flex; align-items: center; gap: 4px; margin: -2px 0 6px; color: var(--eco-muted); font-size: 11.5px; white-space: nowrap; }
.tg-sug img { width: 18px; height: 18px; margin: -1px -1px -1px -3px; }
.tg-job b { display: block; min-height: 2.6em; font-size: 15px; font-weight: 500; line-height: 1.3; }
.tg-job .st { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 10px 0 0; padding-top: 9px; border-top: 1px solid var(--eco-line-soft); color: var(--eco-muted); font-size: 12.5px; }
.tg-job .st em { font-style: normal; white-space: nowrap; }
.tg-job .done, .tg-job .pay { display: none; }
.tg-job .done { color: var(--tg-done); font-weight: 500; }
.tg-job .pay { padding: 1px 8px; border-radius: 999px; background: #e3f2ea; color: #1f6a49; }
.tg-job.is-done { box-shadow: 0 0 0 2px #5fb08f, 0 14px 30px rgba(0, 0, 0, .3); }
.tg-job.is-done .wait { display: none; }
.tg-job.is-done .done, .tg-job.is-done .pay { display: inline; }
.tg-job.is-skip .pay { display: inline; background: var(--eco-soft); color: var(--eco-muted); }
.tg-job .splash { position: absolute; left: 50%; top: -2px; width: 90px; height: 20px; margin-left: -45px; border: 2px solid var(--tg-xr); border-radius: 50%; opacity: 0; pointer-events: none; }
.tg-job.is-done .splash { animation: tg-splash .7s var(--tg-ease) both; }
@keyframes tg-splash { from { opacity: 1; transform: scale(.3); } to { opacity: 0; transform: scale(1.7); } }
.tg-not { position: absolute; left: 50%; bottom: calc(100% + 8px); padding: 3px 10px; border-radius: 999px; background: #fff; color: var(--eco-ink); font-size: 12.5px; white-space: nowrap; transform: translateX(-50%); box-shadow: 0 6px 16px rgba(0, 0, 0, .25); }
.tg-not::after { content: ''; position: absolute; left: 50%; top: 100%; border: 6px solid transparent; border-top-color: #fff; transform: translateX(-50%); }
/* The last frame: the jobs fly into one card for the week, and Tag sits on top. */
.tg-receipt { position: absolute; z-index: 2; left: 0; top: 0; width: min(470px, 100%); padding: 22px 22px 18px; border-radius: 16px; background: #fff; color: var(--eco-ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); opacity: var(--on, 0); transform: translateY(calc((1 - var(--on, 0)) * 18px)) scale(calc(.96 + var(--on, 0) * .04)); pointer-events: none; }
.tg-rc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 8px 0 14px; border-bottom: 1.5px dashed var(--eco-line); }
.tg-rc-head p { margin: 0; }
.tg-rc-head b { display: block; font-size: 20px; font-weight: 500; line-height: 1.2; }
.tg-rc-head small { color: var(--eco-muted); font-size: 13px; }
.tg-rc-by { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.tg-rc-by img { width: 112px; height: auto; }
.tg-rc-rows { margin: 0; padding: 0; list-style: none; }
.tg-rc-rows li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--eco-line-soft); font-size: 15px; opacity: var(--r, 0); transform: translateX(calc((1 - var(--r, 0)) * -8px)); }
.tg-rc-rows i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--tg-done); color: #fff; font-size: 11px; font-style: normal; }
.tg-rc-rows em { padding: 1px 9px; border-radius: 999px; background: #e3f2ea; color: #1f6a49; font-size: 12.5px; font-style: normal; white-space: nowrap; }
.tg-rc-rows .is-skip i { border: 1.5px solid var(--eco-line); background: #fff; color: var(--eco-muted); }
.tg-rc-rows .is-skip span { color: var(--eco-muted); text-decoration: line-through; }
.tg-rc-rows .is-skip em { background: var(--eco-soft); color: var(--eco-muted); }
.tg-rc-total { margin: 14px 0 0; color: var(--eco-body); font-size: 15px; line-height: 1.45; opacity: var(--r5, 0); }
.tg-rc-total b { display: block; color: var(--eco-ink); font-size: 18px; font-weight: 500; }
.tg-rc-incl { margin: 10px 0 0; padding: 8px 10px; border-radius: 9px; background: var(--tg-soft); color: #2a5a45; font-size: 13.5px; opacity: var(--r5, 0); }

/* After the story: Tag and your Hover plan */
.tg-after { background: var(--tg-night); color: var(--tg-text); }
.tg-after-in { max-width: 1240px; margin: 0 auto; padding: 24px 48px 112px; }
.pl-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.pl-kicker { margin: 0 0 18px; color: var(--tg-muted); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.pl-head h2 { margin: 0 0 14px; color: #fff; font-size: clamp(34px, 4vw, 54px); font-weight: 400; line-height: 1.05; letter-spacing: -1.6px; }
.pl-head > p:not(.pl-kicker) { margin: 0 auto; max-width: 600px; color: var(--tg-body); font-size: 18px; line-height: 1.55; }
.pl-head .pl-price { margin-top: 14px; }
.pl-price a { color: var(--tg-xr); }
.pl-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: stretch; }
.pl-card { margin: 0; padding: 24px 26px; border-radius: 18px; background: #fff; color: var(--eco-ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
.pl-card-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1.5px dashed var(--eco-line); }
.pl-card-head img { width: 112px; height: auto; }
.pl-card-head span { color: var(--eco-muted); font-size: 14px; }
.pl-list { margin: 0; padding: 6px 0 0; list-style: none; }
.pl-list li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--eco-line-soft); font-size: 16px; }
.pl-list i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #e3f2ea; color: var(--tg-done); font-size: 12px; font-style: normal; }
.pl-tag-row { margin: 6px -12px 0; padding: 10px 12px !important; border: 0 !important; border-radius: 12px; background: var(--tg-soft); transition: opacity .3s, filter .3s, background .3s; }
.pl-tag-row img { width: 40px; height: 40px; margin: -8px -8px -8px -7px; }
.pl-tag-row b { margin-right: 4px; font-weight: 500; }
.pl-card[data-tag="off"] .pl-tag-row { background: var(--eco-soft); opacity: .45; filter: grayscale(1); }
.pl-switch-row { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.pl-switch { position: relative; width: 50px; height: 28px; padding: 0; border: 0; border-radius: 999px; background: var(--tg-done); cursor: pointer; transition: background .25s; }
.pl-knob { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .2); transform: translateX(22px); transition: transform .25s var(--tg-ease); }
.pl-card[data-tag="off"] .pl-switch { background: #c3ccd3; }
.pl-card[data-tag="off"] .pl-knob { transform: none; }
.pl-switch-label { font-size: 16px; font-weight: 500; }
.pl-switch-label em { margin-left: 6px; padding: 2px 9px; border-radius: 999px; background: #e3f2ea; color: #1f6a49; font-size: 12.5px; font-style: normal; font-weight: 500; }
.pl-note { margin: 12px 0 0; color: var(--eco-body); font-size: 15px; line-height: 1.5; text-wrap: pretty; }
.pl-note b { color: var(--eco-ink); font-weight: 500; }
.pl-card[data-tag="on"] .pl-note-off, .pl-card[data-tag="off"] .pl-note-on { display: none; }
.pl-side { display: grid; gap: 22px; grid-template-rows: 1fr auto; }
.pl-cheaper { padding: 28px 28px 30px; border-radius: 18px; background: var(--tg-panel); box-shadow: inset 0 0 0 1px var(--tg-panel-line); }
.pl-big { margin: 0; color: var(--tg-xr); font-size: clamp(38px, 4vw, 56px); line-height: 1; letter-spacing: -1.5px; }
.pl-sub { margin: 8px 0 26px; color: var(--tg-text); font-size: 20px; }
.pl-bars { display: grid; gap: 14px; }
.pl-bar { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 12px; align-items: center; margin: 0; color: var(--tg-body); font-size: 14px; }
.pl-bar i { position: relative; display: block; height: 18px; border-radius: 999px; transform-origin: left; transition: transform 1.2s var(--tg-ease); }
.pl-bar.is-hand i { background: linear-gradient(90deg, #f0a37a, #e5534b); }
.pl-bar.is-tag i { width: 5%; min-width: 12px; background: var(--tg-xr); }
.pl-bar.is-tag img { position: absolute; left: calc(100% - 6px); top: 50%; width: 56px; height: 56px; transform: translateY(-58%); }
.pl-bars.is-waiting .pl-bar i { transform: scaleX(0); }
.pl-byo { padding: 20px 24px; border: 1px solid var(--tg-line); border-radius: 18px; background: var(--tg-card); }
.pl-byo p { margin: 0; color: var(--tg-body); font-size: 16px; line-height: 1.5; }
.pl-byo b { color: var(--tg-text); font-weight: 500; }
.pl-byo .tg-lgs { margin-top: 12px; }
.tg-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 26px 0 0; color: var(--tg-body); font-size: 15px; }
.tg-links a { color: inherit; }

@media (max-width: 900px) {
  .tg-stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 8px; padding: 74px 20px 16px; }
  .tg-label { margin-bottom: 12px; font-size: 11.5px; }
  .tg-rail { margin-bottom: 14px; }
  .tg-rail li { font-size: 11.5px; }
  .tg-chapters { min-height: 0; display: grid; }
  .tg-ch { position: static; grid-area: 1 / 1; }
  .tg-ch small { margin-bottom: 6px; font-size: 11.5px; }
  .tg-ch h3 { margin-bottom: 8px; font-size: 28px; letter-spacing: -.8px; }
  .tg-ch p { margin-bottom: 6px; font-size: 14.5px; line-height: 1.45; }
  .tg-ch .tg-more { display: none; }
  .tg-wm { display: none !important; }
  .tg-wm-text { display: inline; }
  .tg-models { font-size: 12.5px; grid-template-columns: 76px minmax(0, 1fr); }
  .tg-lg { font-size: 12.5px; padding: 2px 8px 2px 3px; }
  .tg-lg img { width: 17px; height: 17px; }
  .tg-drop { width: min(68vw, 34vh, 300px); }
  .tg-part i { min-width: 30px; height: 30px; padding: 0 9px; font-size: 12.5px; box-shadow: 0 0 0 4px rgb(var(--tg-glow) / .22); }
  .tg-part.tools i { width: 30px; font-size: 15px; }
  .tg-parts { gap: 8px; }
  .tg-part.model i img { width: 15px; height: 15px; }
  .tg-tip { display: none; }
  .tg-eye img { left: -22px; top: -22px; width: 44px; height: 44px; }
  .tg-eye-label { left: 24px; top: -10px; font-size: 11.5px; }
  .tg-apps li { width: 110px; margin-left: -55px; gap: 4px; }
  .tg-apps li i { width: 38px; height: 38px; margin-top: -19px; border-radius: 11px; }
  .tg-apps li img { width: 21px; height: 21px; }
  .tg-apps li > span { display: none; }
  .tg-chat { left: 0; right: 0; bottom: 0; width: auto; padding: 10px 12px 12px; }
  .tg-chat figcaption { margin-bottom: 6px; padding-bottom: 6px; font-size: 13px; }
  .tg-msg { grid-template-columns: 26px 1fr; gap: 8px; margin-top: 6px; font-size: 13.5px; }
  .tg-msg > img { width: 26px; height: 26px; }
  .tg-msg b { font-size: 13px; }
  .tg-jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; row-gap: 32px; bottom: 0; }
  .tg-job { padding: 9px 10px 8px; }
  .tg-job b { min-height: 0; font-size: 13.5px; }
  .tg-job .st { margin-top: 6px; padding-top: 6px; font-size: 11.5px; }
  .tg-job:nth-child(5) { grid-column: 1 / -1; }
  .tg-sug { margin-bottom: 4px; font-size: 10.5px; }
  .tg-sug img { width: 16px; height: 16px; }
  .tg-not { font-size: 11.5px; bottom: calc(100% + 4px); }
  .tg-receipt { padding: 16px 14px 14px; }
  .tg-rc-head { align-items: center; padding: 10px 0; }
  .tg-rc-head b { font-size: 17px; }
  .tg-rc-head p:first-child small, .tg-rc-more { display: none; }
  .tg-rc-rows li { padding: 7px 0; font-size: 13.5px; gap: 8px; }
  .tg-rc-rows em { font-size: 11.5px; padding: 1px 7px; }
  .tg-rc-total { margin-top: 10px; font-size: 13.5px; }
  .tg-rc-total b { font-size: 16px; }
  .tg-rc-incl { margin-top: 6px; padding: 6px 9px; font-size: 12.5px; }
  .tg-after-in { padding: 16px 20px 80px; }
  .pl-head { margin-bottom: 30px; }
  .pl-head > p:not(.pl-kicker) { font-size: 16px; }
  .pl-grid { grid-template-columns: minmax(0, 1fr); }
  .pl-card { padding: 20px 18px; }
  .pl-list li { font-size: 15px; }
  .pl-cheaper { padding: 22px 20px 24px; }
  .pl-sub { margin-bottom: 20px; font-size: 18px; }
}
/* Short phones: give the scene room under the chapter text. */
@media (max-width: 900px) and (max-height: 760px) {
  .tg-stage { padding-top: 56px; }
  .tg-label { margin-bottom: 8px; }
  .tg-rail { margin-bottom: 10px; }
  .tg-ch small { margin-bottom: 4px; }
  .tg-ch h3 { margin-bottom: 6px; font-size: 24px; }
  .tg-ch p { margin-bottom: 4px; font-size: 13.5px; line-height: 1.4; }
  .tg-models { font-size: 11.5px; grid-template-columns: 70px minmax(0, 1fr); }
  .tg-models + .tg-models { margin-top: 4px; }
  .tg-lg { padding: 1px 7px 1px 2px; font-size: 11.5px; }
  .tg-lg img { width: 15px; height: 15px; }
  .tg-drop { width: min(56vw, 25vh); }
  .tg-part i { min-width: 24px; height: 24px; gap: 4px; padding: 0 7px; font-size: 11px; box-shadow: 0 0 0 3px rgb(var(--tg-glow) / .22); }
  .tg-parts { gap: 6px; }
  .tg-part.model i img { width: 12px; height: 12px; }
  .tg-part.tools i { width: 24px; font-size: 12px; }
  .tg-eye img { left: -16px; top: -16px; width: 32px; height: 32px; }
  .tg-eye-label { left: 18px; font-size: 11px; }
  .tg-chat { padding: 8px 10px 10px; }
  .tg-msg { margin-top: 4px; font-size: 12.5px; }
}
/* While the dark story is on screen, the light step rail can't be read, so it steps aside. */
.tg-in-view .step-rail { opacity: 0 !important; pointer-events: none !important; }
