/* ==========================================================================
   Touchscreen Gestures: refresh 2026-11, variant B ("Two chapters")

   Loaded after style.css and variants/option-c.css; neither of those is
   edited. Every rule hangs on the class tg-r26 on <body>, so removing this
   file's <link> and that class gives back the old page.

   The site's own colour variables (--color-*) are redefined only on the
   dark band and on the footer, never on :root, <body> or <main>: the modals
   live there and expect the light values.

   One grid for the whole page: the 1200 px container, 12 columns, 20 px gap.
   Contents
     0 tokens            5 chapters and tiles     10 pricing and questions
     1 helpers           6 gestures (dark band)   11 trademarks and footer
     2 navigation        7 tools (light band)     12 focus on dark surfaces
     3 hero pill         8 setup                  13 tablet and phone
     4 seam              9 customers' words       14 reduced motion
   ========================================================================== */

/* ---------- 0. Tokens (new names only) ---------- */
.tg-r26 {
  --tg-dark-0: #000000;                      /* wells that hold a drawing */
  --tg-dark-1: #1D1D1F;                      /* band, footer, dark tiles on light */
  --tg-dark-2: #2A2A2D;                      /* raised tiles and capsules on the band */
  --tg-line-dark: rgba(255, 255, 255, 0.10);
  --tg-edge-dark: rgba(255, 255, 255, 0.08); /* inset hairline of a raised tile */
  --tg-on-dark-1: #F5F5F7;
  --tg-on-dark-2: #A1A1A6;
  --tg-on-dark-3: #86868B;                   /* captions on #1D1D1F only */
  --tg-blue-on-dark: #7AA3F5;
  --tg-blue: #3366CC;
  --tg-red: #D01B2D;
  --tg-red-on-dark: #FF6362;
  --tg-white: #FFFFFF;
  --tg-light: #F5F5F7;
  --tg-ink: #1D1D1F;
  --tg-muted: #6E6E73;
  --tg-line-light: rgba(0, 0, 0, 0.08);

  --tg-gap: 20px;
  --tg-pad: 32px;
  --tg-radius: 28px;
  --tg-radius-small: 12px;
  --tg-section: 80px;
  --tg-head-gap: 40px;
}

/* ---------- 1. Helpers ---------- */
.tg-r26 .tg-vh {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.tg-r26 [hidden] { display: none !important; }
/* The pricing card shows its second badge, "Limited time" in blue, next to
   "Introductory price" (founder, 2026-11-13). The checkout window's static
   copy stays hidden: its markup is not ours to edit. */
.tg-r26 #checkout-overlay .pricing-tier__badge--limited { display: none !important; }
.tg-r26 .tg-nb { white-space: nowrap; }
/* iPhone and iPad (Safari audit, 2026-11-13). A tap anywhere on a Multi-touch entry plays
   it: the term and description let taps through to the button's hit area, which covers
   the whole entry. No grey tap flash over whole tiles, the quotes row or the orb card.
   iOS zooms into a text field under 16 px: these fields are 16 px up to tablets. */
.tg-r26 .tg-pairs.is-live .tg-pair > dt,
.tg-r26 .tg-pairs.is-live .tg-pair > dd { pointer-events: none; }
.tg-r26 .tg-pairs.is-live .tg-pair__btn { pointer-events: auto; }
.tg-r26 .tg-tt,
.tg-r26 .tg-quotes__row,
.tg-r26 .tg-assign__done { -webkit-tap-highlight-color: transparent; }
@media (max-width: 768px) {
  .tg-r26 .download-capture__field input,
  .tg-r26 .support__field input,
  .tg-r26 .support__field select,
  .tg-r26 .support__field textarea { font-size: 16px; }
}

/* A linked block must not slide under the fixed navigation bar. */
.tg-r26 #features,
.tg-r26 #configure,
.tg-r26 #pricing { scroll-margin-top: 96px; }
/* Questions rises 32 px as it is revealed (section 10), and the jump can be
   measured before it rises. Extra margin keeps its heading clear of the bar
   after the jump, with or without motion. */
.tg-r26 #faq { scroll-margin-top: 128px; }
/* The hero pill ("Multi-touch on capable screens", shown from 1000 px) jumps to the
   Multi-touch tile. It lands as the "Gestures" link does, the band's title whole above
   the tile: 96 px plus the title block above the tile (177 px from 1025 px up; 169-180 px
   down to tablets; about 267 px on a 390 px phone, more on narrower ones), plus 24 px: the
   tile is usually still hidden when the pill is clicked (it rises 24 px as it is revealed)
   and the jump is measured before it rises. */
.tg-r26 #multitouch { scroll-margin-top: 297px; }
@media (max-width: 1024px) { .tg-r26 #multitouch { scroll-margin-top: 294px; } }
@media (max-width: 680px) { .tg-r26 #multitouch { scroll-margin-top: 404px; } }
/* Tools opens with the long fade from the dark band (its top padding is
   0.8 x --tt-dusk + 8 px, section 7). A jump lands on the heading, not on the
   fade: the eyebrow comes to rest 144 px from the top, as in the other bands. */
.tg-r26 #tools.tg-tools { scroll-margin-top: calc(136px - var(--tt-dusk) * 0.8); }

/* ---------- 2. Navigation ---------- */
/* The pill is the site's own liquid glass, exactly as on the live site: the
   glass library (js/liquid-glass-lib.min.js) draws it and nothing here touches
   its background, filter, shadow, size or padding. */

/* 40 px for the finger with no visible change: the padding is see-through and
   the negative margins give the space back, so icon, text and the three bars
   sit on the same pixels as on the live site and the pill keeps its height. */
.tg-r26 .nav__logo { padding-block: 6px; margin-block: -6px; }
.tg-r26 .nav__hamburger {
  width: 40px;
  height: 40px;
  padding: 0;
  margin: -6px -6px -6px 0;
  align-items: center;
  justify-content: center;
}

/* Where a part of the pill lies over a near-black block (js/nav-tone-2611.js
   sets is-on-dark on that part: the logo, a link, Download or the menu
   button), only its text and icons turn light; the glass stays as it is. The
   site's own colour transitions (0.3 s) carry the change. !important and the
   id are needed against option-c.css, which forces the dark colours. */
.tg-r26 #nav .nav__logo.is-on-dark { color: #F5F5F7 !important; }
.tg-r26 #nav .nav__links a.is-on-dark { color: #C7C7CC !important; }
.tg-r26 #nav .nav__links a.is-on-dark:hover { color: #FFFFFF !important; }
.tg-r26 #nav .nav__hamburger.is-on-dark span { background: #F5F5F7 !important; }
.tg-r26 #nav .nav__cta.is-on-dark {
  color: #F5F5F7 !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
}
.tg-r26 #nav .nav__cta.is-on-dark:hover {
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.10) !important;
  background-color: rgba(255, 255, 255, 0.10) !important;
}
/* Where a shade fades to the light band: over the lower part of its dark half
   the links are as light as the logo (is-on-dusk); over the mid-grey below it
   (is-on-mid) they take the logo's dark colour, where their grey would vanish. */
.tg-r26 #nav .nav__links a.is-on-dark.is-on-dusk { color: #F5F5F7 !important; }
.tg-r26 #nav .nav__links a.is-on-mid { color: var(--color-text) !important; }
/* The site's keyboard focus ring is navy (#1A2550, style.css): invisible on the
   see-through pill over near-black. Only its colour changes; width and offset
   stay the site's. */
.tg-r26 #nav .is-on-dark:focus-visible { outline-color: #F5F5F7; }

/* Phone menu: the live look. Only taken out of the tab order while closed
   (it is invisible then anyway; the fade-out is kept). */
.tg-r26 .mobile-menu {
  visibility: hidden;
  transition: opacity var(--transition), visibility 0s linear 0.3s;
}
.tg-r26 .mobile-menu.open { visibility: visible; transition-delay: 0s; }

/* ---------- 3. Hero: the announcement pill ---------- */
/* Shown from 1000 px up only. There it is out of the flow, on
   the eyebrow line, at the left edge of the hero's right-hand column, so
   nothing in the hero moves; below 1000 px it is not displayed at all, and the
   hero is laid out exactly as it was before the pill existed. */
.tg-r26 .tg-news {
  position: absolute;
  top: -5px;                      /* centred on the eyebrow chips */
  left: calc(50% + 2rem);
  z-index: 2;
  display: inline-flex;
  padding: 5px 0;                 /* 30 px pill, 40 px for the finger */
  border-radius: 980px;
  text-decoration: none;
}
.tg-r26 .tg-news__face {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 12px;
  border-radius: 980px;
  background: var(--tg-dark-1);
  color: var(--tg-on-dark-1);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}
.tg-r26 .tg-news__dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tg-red-on-dark);
}
.tg-r26 .tg-news__arrow { flex: none; transition: transform 0.2s ease; }
@media (hover: hover) {
  .tg-r26 .tg-news:hover .tg-news__face { background: var(--tg-dark-2); }
  .tg-r26 .tg-news:hover .tg-news__arrow { transform: translateX(2px); }
}
.tg-r26 .tg-news:focus-visible { outline: none; }
.tg-r26 .tg-news:focus-visible .tg-news__face { outline: 2px solid #1A2550; outline-offset: 2px; }
@media (max-width: 999px) {
  .tg-r26 .tg-news { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tg-r26 .tg-news__face,
  .tg-r26 .tg-news__arrow { transition: none; }
}

/* ---------- 4. Seam: light hero meets the near-black band ---------- */
/* The thumbnail wrapper sits between the two sections. Its upper part lies
   over the hero (80 px, 40 px up to 768 px wide), the rest belongs to the band. */
.tg-r26 .demo-thumb-wrap {
  background: linear-gradient(to bottom, transparent 80px, var(--tg-dark-1) 80px);
}
.tg-r26 .demo-thumb { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22); }
.tg-r26 .demo-thumb:hover { box-shadow: 0 10px 24px rgba(0, 0, 0, 0.30); }
/* The old rule removes the focus outline here. This ring shows on both halves. */
.tg-r26 .demo-thumb:focus-visible {
  outline: 2px solid var(--tg-white);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--tg-blue);
}

/* ---------- 5. Chapters and tiles ---------- */
.tg-r26 .tg-sec { padding: var(--tg-section) 0; background: var(--tg-white); }

/* The header module: eyebrow, headline, one-line intro. */
.tg-r26 .tg-head { margin-bottom: var(--tg-head-gap); }
.tg-r26 .tg-eyebrow {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.29;
  letter-spacing: 0;
  color: var(--tg-muted);
}
.tg-r26 .tg-h2,
.tg-r26 .faq-minimal__title {
  margin: 0;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--tg-ink);
  text-wrap: balance;
}
.tg-r26 .tg-intro {
  margin: 12px 0 0;
  max-width: 46em;
  font-size: 19px;
  line-height: 1.42;
  color: var(--tg-muted);
  text-wrap: pretty;
}

/* The grid: 12 columns; a tile is a half unless it says otherwise. */
.tg-r26 .tg-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--tg-gap);
}
.tg-r26 .tg-tile {
  position: relative;
  grid-column: span 6;
  min-width: 0;
  padding: var(--tg-pad);
  border-radius: var(--tg-radius);
}
.tg-r26 .tg-tile--quarter { grid-column: span 3; }
.tg-r26 .tg-tile--raised {
  background: var(--tg-dark-2);
  box-shadow: inset 0 0 0 1px var(--tg-edge-dark);
  color: var(--tg-on-dark-1);
}
.tg-r26 .tg-tile--ink { background: var(--tg-dark-1); color: var(--tg-on-dark-1); }
.tg-r26 .tg-tile--soft { background: var(--tg-light); color: var(--tg-ink); }

.tg-r26 .tg-tile__title {
  margin: 0;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.19;
  letter-spacing: 0;
  color: inherit;
  text-wrap: balance;
}
.tg-r26 .tg-tile__lede,
.tg-r26 .tg-tile__text {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.45;
  text-wrap: pretty;
}
.tg-r26 .tg-tile__note { margin: 0; font-size: 13px; line-height: 1.4; }
.tg-r26 .tg-tile--raised .tg-tile__lede,
.tg-r26 .tg-tile--raised .tg-tile__text,
.tg-r26 .tg-tile--raised .tg-tile__note,
.tg-r26 .tg-tile--ink .tg-tile__text { color: var(--tg-on-dark-2); }
.tg-r26 .tg-tile--ink .tg-tile__note { color: var(--tg-on-dark-3); }
.tg-r26 .tg-tile--soft .tg-tile__text { color: var(--tg-muted); max-width: 30em; }

/* A well: the black panel that holds a drawing. */
.tg-r26 .tg-well {
  display: grid;
  place-items: center;
  background: var(--tg-dark-0);
  border-radius: var(--tg-radius-small);
  overflow: hidden;
}
.tg-r26 .tg-well svg { display: block; max-width: 100%; height: auto; }

/* The tiles of one grid come in one after another, once. */
.tg-r26 .tg-grid > .reveal:nth-child(2) { transition-delay: 0.08s; }
.tg-r26 .tg-grid > .reveal:nth-child(3) { transition-delay: 0.16s; }
.tg-r26 .tg-grid > .reveal:nth-child(4) { transition-delay: 0.24s; }
.tg-r26 .tg-grid > .reveal:nth-child(n+5) { transition-delay: 0.32s; }

/* ---------- 6. Gestures: the near-black band ---------- */
/* A short band and two tiles side by side; the stickers are the tiles' names.
   Multi-touch holds its own drawing (still until a gesture in its list is
   pointed at, focused or tapped: js/gestures-2611.js) and, at its foot, the
   Custom Gestures "Coming soon" row. Phone, tablet and reduced-motion rules of
   this section are at its end. */
.tg-r26 .tg-chapter--dark {
  position: relative;
  isolation: isolate;
  background: var(--tg-dark-1);
  color: var(--tg-on-dark-1);
  --color-text: #F5F5F7;
  --color-text-muted: #A1A1A6;
  --color-border: rgba(255, 255, 255, 0.10);
  --color-bg: #1D1D1F;
  --color-bg-alt: #2A2A2D;
  /* The seam strip above already gives 16 px: 56 px from the seam to the eyebrow. At the
     foot the night runs on into the Tools fade, so 36 px is enough there (founder,
     2026-11-13: "a bit less height again"). */
  padding: 40px 0 36px;
}
/* "Shadows in it": a vignette that is flat along the top edge (the seam stays
   one clean line) and deepens to #161617, no further, at the lower edge ... */
.tg-r26 .tg-chapter--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse 120% 100% at 50% 0%, rgba(22, 22, 23, 0) 55%, #161617 100%);
}
/* ... and one soft glow of the brand blue behind the top of the grid. */
.tg-r26 .tg-chapter--dark .tg-grid::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -200px;
  z-index: -1;
  width: min(800px, 100%);
  height: 400px;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(closest-side,
    rgba(51, 102, 204, 0.16) 0%,
    rgba(51, 102, 204, 0.09) 40%,
    rgba(51, 102, 204, 0.03) 72%,
    rgba(51, 102, 204, 0) 100%);
}
.tg-r26 .tg-chapter--dark .tg-eyebrow,
.tg-r26 .tg-chapter--dark .tg-intro { color: var(--tg-on-dark-2); }
.tg-r26 .tg-chapter--dark .tg-h2 { color: var(--tg-on-dark-1); }
.tg-r26 .tg-chapter--dark .tg-eyebrow { margin-bottom: 6px; }
.tg-r26 .tg-chapter--dark .tg-intro { margin-top: 10px; }
/* The stickers stand 16 px above their tiles: room for them under the intro. */
.tg-r26 .tg-chapter--dark .tg-head { margin-bottom: 32px; }

/* The two tiles, with 40 px of air between them at every width (32 px on
   phones): across from 1000 px, down below it. */
.tg-r26 .tg-gt { row-gap: 40px; }
.tg-r26 .tg-gt .tg-mt,
.tg-r26 .tg-gt .tg-of {
  display: flex;
  flex-direction: column;
  padding: 20px 24px 20px;
}

/* The sticker: the tile's name. A round label, slightly turned, stuck over the
   tile's top-left corner: the colour almost solid (blue at 90 %, red at 95 %),
   the text white, no edge and no inner shadow. The small one on the light Setup
   band is styled in section 8. */
.tg-r26 .tg-sticker {
  position: absolute;
  top: -16px;
  left: 18px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 84px;
  height: 84px;
  margin: 0;
  padding: 0 10px 1px;
  border-radius: 50%;
  color: var(--tg-white);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.01em;
  text-align: center;
  text-wrap: balance;
  overflow-wrap: normal;
  hyphens: manual;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.32);
  transform: rotate(-8deg);
}
.tg-r26 .tg-sticker--red { background: var(--tg-red); }
.tg-r26 .tg-sticker--blue { background: var(--tg-blue); }
.tg-r26 #features .tg-sticker {
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.24);
  text-shadow: none;
}
.tg-r26 #features .tg-sticker--red { background: rgba(208, 27, 45, 0.95); }
.tg-r26 #features .tg-sticker--blue { background: rgba(51, 102, 204, 0.90); }

/* The row beside the sticker: the line that says where the gestures work, and
   (Multi-touch) the drawing. It is at least as tall as the sticker's part
   inside the tile, so the lists below always start under the sticker. */
.tg-r26 .tg-gt__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;                 /* 20 px padding + 48 = the sticker's lower edge */
  margin-left: 94px;                /* the sticker's right edge + 16 px */
}
.tg-r26 .tg-gt .tg-tile__lede {
  margin: 0;
  max-width: 24em;
  font-size: 14px;
  line-height: 1.43;
  color: var(--tg-on-dark-2);
  text-wrap: balance;
}

/* The night sky: a very light star field over the whole band, under the
   tiles and the text. Two still layers of tiny, faint points and two sparse
   layers of slightly brighter ones that twinkle slowly, out of step, only while
   the band is on screen (js/gestures-2611.js adds is-on). Each layer is a small
   SVG tile of a few points; the tile sizes differ, so no pattern repeats. The
   stars come in under the seam at the top and run on into the dusk at the top
   of the Tools band, where they thin out as the black lightens (section 7). */
.tg-r26 .tg-sky {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='263' height='263'%3E%3Cg fill='%23E9EEFF'%3E%3Ccircle cx='156.2' cy='80.3' r='0.59' fill-opacity='0.42'/%3E%3Ccircle cx='175.4' cy='138.9' r='0.67' fill-opacity='0.40'/%3E%3Ccircle cx='23.0' cy='258.3' r='0.50' fill-opacity='0.26'/%3E%3Ccircle cx='257.2' cy='19.1' r='0.55' fill-opacity='0.23'/%3E%3Ccircle cx='22.4' cy='175.8' r='0.68' fill-opacity='0.38'/%3E%3Ccircle cx='193.0' cy='20.2' r='0.60' fill-opacity='0.32'/%3E%3Ccircle cx='56.0' cy='231.5' r='0.47' fill-opacity='0.38'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 263px 263px,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='419' height='419'%3E%3Cg fill='%23E9EEFF'%3E%3Ccircle cx='64.1' cy='15.2' r='0.81' fill-opacity='0.48'/%3E%3Ccircle cx='358.8' cy='340.0' r='0.85' fill-opacity='0.49'/%3E%3Ccircle cx='18.9' cy='143.3' r='0.65' fill-opacity='0.46'/%3E%3Ccircle cx='161.4' cy='127.1' r='0.84' fill-opacity='0.38'/%3E%3Ccircle cx='363.4' cy='233.4' r='0.66' fill-opacity='0.42'/%3E%3Ccircle cx='239.9' cy='174.6' r='0.69' fill-opacity='0.51'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 419px 419px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 96px);
  mask-image: linear-gradient(to bottom, transparent 0, #000 96px);
}
.tg-r26 .tg-sky::before,
.tg-r26 .tg-sky::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.7;
  animation: tg-twinkle 9s ease-in-out -3s infinite alternate paused;
}
.tg-r26 .tg-sky::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='613' height='613'%3E%3Cg fill='%23E9EEFF'%3E%3Ccircle cx='367.5' cy='217.7' r='1.07' fill-opacity='0.72'/%3E%3Ccircle cx='245.7' cy='351.1' r='0.92' fill-opacity='0.62'/%3E%3Ccircle cx='277.4' cy='52.2' r='1.08' fill-opacity='0.64'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 613px 613px; }
.tg-r26 .tg-sky::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='787' height='787'%3E%3Cg fill='%23E9EEFF'%3E%3Ccircle cx='98.0' cy='666.3' r='1.03' fill-opacity='0.72'/%3E%3Ccircle cx='730.2' cy='197.7' r='0.99' fill-opacity='0.68'/%3E%3Ccircle cx='496.0' cy='533.9' r='0.92' fill-opacity='0.64'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 787px 787px;
  animation-duration: 13s;
  animation-delay: -8s;
}
/* Behind the heading the sky is almost empty, so no point ever reads as a mark on a
   letter: js/gestures-2611.js sets --tg-sky-head to the heading's lower edge. */
.tg-r26 #features > .tg-sky {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, 0.18) 96px,
    rgba(0, 0, 0, 0.18) var(--tg-sky-head, 96px), #000 calc(var(--tg-sky-head, 96px) + 64px));
  mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, 0.18) 96px,
    rgba(0, 0, 0, 0.18) var(--tg-sky-head, 96px), #000 calc(var(--tg-sky-head, 96px) + 64px));
}
.tg-r26 .tg-sky.is-on::before,
.tg-r26 .tg-sky.is-on::after { animation-play-state: running; }
@keyframes tg-twinkle {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

/* The drawing: a small screen, line art on the tile, no well. Still by default. */
.tg-r26 .tg-gt .tg-mt__well {
  flex: none;
  width: 136px;
  height: 80px;
}
.tg-r26 .tg-mtd { display: block; width: 136px; height: 80px; overflow: hidden; }
.tg-r26 .tg-mtd * { vector-effect: non-scaling-stroke; }
.tg-r26 .tg-mtd__page { transform-origin: 85px 40px; }
.tg-r26 .tg-mtd__pic { transform-origin: 85px 38px; }
.tg-r26 .tg-mtd__wins,
.tg-r26 .tg-mtd__ring { transform-box: fill-box; transform-origin: center; }
.tg-r26 .tg-mtd__desk2 { transform: translateX(170px); }

/* Multi-touch: six pairs in two columns (the last names several gestures). With the script each pair is a button
   (its term holds it; the hit area covers the whole pair): pointing at it,
   focusing it or tapping it plays that gesture in the drawing. */
.tg-r26 .tg-pairs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px var(--tg-gap);
  margin: 12px 0 0;
}
.tg-r26 .tg-pair dt {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--tg-on-dark-1);
  text-wrap: balance;
}
.tg-r26 .tg-pair dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.36;
  color: var(--tg-on-dark-2);
  text-wrap: balance;
}
.tg-r26 .tg-pairs.is-live .tg-pair { position: relative; isolation: isolate; }
.tg-r26 .tg-pair__btn {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.tg-r26 .tg-pair__btn::after {
  content: "";
  position: absolute;
  inset: -6px -10px;
  z-index: -1;
  border-radius: 12px;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.tg-r26 .tg-pairs .tg-pair__btn:focus-visible { outline: none; }   /* the ring is drawn round the whole pair instead */
.tg-r26 .tg-pair__btn:focus-visible::after { box-shadow: 0 0 0 2px var(--tg-on-dark-1); }
.tg-r26 .tg-pair__btn[aria-pressed="true"]::after { background: rgba(122, 163, 245, 0.12); }
.tg-r26 .tg-pair__btn[aria-pressed="true"] { color: var(--tg-blue-on-dark); }
@media (hover: hover) {
  .tg-r26 .tg-pairs.is-live .tg-pair:hover .tg-pair__btn::after { background: rgba(255, 255, 255, 0.06); }
  .tg-r26 .tg-pairs.is-live .tg-pair:hover .tg-pair__btn[aria-pressed="true"]::after { background: rgba(122, 163, 245, 0.12); }
}

/* One finger: eight gestures in two columns. */
.tg-r26 .tg-gestures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px var(--tg-gap);
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
/* Icon beside the name; the line under the name. On phones the line takes the
   whole column (see the end of this section). */
.tg-r26 .tg-gesture {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
  align-content: start;            /* a tall neighbour in the row must not pull name and line apart */
  min-width: 0;
}
.tg-r26 .tg-gesture > div { display: contents; }
.tg-r26 .tg-gesture > img { grid-row: 1 / span 2; }
.tg-r26 .tg-gesture__icon {
  flex: none;
  display: block;
  width: 32px;
  height: 32px;
  margin-top: 1px;
  box-sizing: border-box;
  object-fit: contain;
}
.tg-r26 .tg-gesture__icon--compact { padding: 3px; }
.tg-r26 .tg-gesture strong {
  display: block;
  grid-column: 2;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--tg-on-dark-1);
}
.tg-r26 .tg-gesture span {
  display: block;
  grid-column: 2;
  font-size: 14px;
  line-height: 1.36;
  color: var(--tg-on-dark-2);
  text-wrap: balance;
}

/* Coming soon: one quiet row at the foot of the Multi-touch tile, under a hairline. */
.tg-r26 .tg-mt .tg-pairs { margin-bottom: 16px; }
.tg-r26 .tg-soon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  min-width: 0;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--tg-line-dark);
}
.tg-r26 .tg-soon__title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--tg-on-dark-1);
}
.tg-r26 .tg-soon__text {
  flex: 1 1 14em;
  margin: 0;
  text-wrap: pretty;
  font-size: 14px;
  line-height: 1.43;
  color: var(--tg-on-dark-2);
}
/* The "Coming soon" badge, one look for the whole page: the same capsule as the
   price card's "Introductory price" (4/10 px, 12 px semibold, a blue tint).
   Here on the dark band; section 7 places it on the light Tools band. */
.tg-r26 .tg-soon__badge {
  flex: none;
  margin: 0 0 0 auto;
  padding: 4px 10px;
  border-radius: 980px;
  background: rgba(122, 163, 245, 0.14);
  color: var(--tg-blue-on-dark);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.33;
  letter-spacing: 0;
  white-space: nowrap;
}
/* On the raised tile a lighter tint keeps the text at 4.6:1. */
.tg-r26 .tg-mt .tg-soon__badge { background: rgba(122, 163, 245, 0.12); }

/* A multi-touch feature that comes later (stored by scripts/site/features.py,
   switched on at the slot inside the Multi-touch tile, where the "Coming soon"
   row was): the same row, with a small drawing at its right. */
.tg-r26 .tg-mt-more {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 20px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--tg-line-dark);
}
.tg-r26 .tg-mt-more__title { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--tg-on-dark-1); }
.tg-r26 .tg-mt-more__text { margin: 2px 0 0; font-size: 14px; line-height: 1.43; color: var(--tg-on-dark-2); text-wrap: pretty; }
.tg-r26 .tg-mt-more__art { display: block; width: 96px; height: 44px; }

/* Gesture tiles that come later and are not multi-touch (stored by
   scripts/site/features.py, switched on at the slot after the two tiles): a
   full-width row under them. */
.tg-r26 .tg-gt-more {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 20px;
  padding: 20px 20px 20px 28px;
}
.tg-r26 .tg-gt-more .tg-tile__title { font-size: 17px; line-height: 1.3; }
.tg-r26 .tg-gt-more .tg-tile__lede,
.tg-r26 .tg-gt-more .tg-tile__text { margin: 4px 0 0; font-size: 14px; line-height: 1.43; color: var(--tg-on-dark-2); }
.tg-r26 .tg-gt-more__art { display: block; width: 120px; height: 56px; }

/* From 1000 px: Multi-touch on the left, One finger on the right, the same
   height; One finger's rows share the room. */
@media (min-width: 1000px) {
  .tg-r26 .tg-gt { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; }
  .tg-r26 .tg-gt > .tg-mt { grid-column: 1; }
  .tg-r26 .tg-gt > .tg-of { grid-column: 2; }
  .tg-r26 .tg-gt > .tg-of .tg-gestures { flex: 1; align-content: space-between; }
}

/* Up to 1100 px the "Coming soon" line goes under its title; the badge stays on the title's row. */
@media (max-width: 1100px) {
  .tg-r26 .tg-soon__badge { order: 1; }
  .tg-r26 .tg-soon__text { order: 2; flex-basis: 100%; }
}

/* Under 1000 px: one column. The lists use the width: three pairs and four
   gestures to a row. */
@media (max-width: 999px) {
  .tg-r26 .tg-chapter--dark .tg-head { margin-bottom: 32px; }
  .tg-r26 .tg-gt .tg-tile + .tg-tile { margin-top: 16px; }   /* room for the second sticker */
  .tg-r26 .tg-pairs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tg-r26 .tg-gestures { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tg-r26 .tg-gesture { grid-template-columns: 28px minmax(0, 1fr); column-gap: 8px; row-gap: 2px; }
  .tg-r26 .tg-gesture > img { grid-row: 1; width: 28px; height: 28px; margin: -4px 0; }   /* no taller than the name's line */
  .tg-r26 .tg-gesture span { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .tg-r26 .tg-gestures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Phones. */
@media (max-width: 680px) {
  .tg-r26 .tg-chapter--dark .tg-head { margin-bottom: 30px; }
  .tg-r26 .tg-gt { row-gap: 32px; }
  .tg-r26 .tg-gt .tg-mt,
  .tg-r26 .tg-gt .tg-of { padding: 20px 20px 24px; }
  .tg-r26 .tg-sticker { left: 14px; }
  .tg-r26 .tg-gt__head { margin-left: 90px; }
  .tg-r26 .tg-pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
  .tg-r26 .tg-pair__btn::after { inset: -6px -8px; }
  .tg-r26 .tg-gestures { gap: 12px 16px; }
  .tg-r26 .tg-gt-more { padding: 20px; }
}
/* Narrow phones: the drawing stays on the sticker's row at the right edge, as on a
   wide screen; the line moves under them. */
@media (max-width: 440px) {
  .tg-r26 .tg-mt .tg-gt__head { flex-wrap: wrap; justify-content: flex-end; row-gap: 12px; }
  .tg-r26 .tg-mt .tg-gt__head .tg-tile__lede { order: 2; flex: 1 1 100%; margin-left: -90px; }
  .tg-r26 .tg-gt .tg-mt__well,
  .tg-r26 .tg-mtd { width: 119px; height: 70px; }
  .tg-r26 .tg-gesture span,
  .tg-r26 .tg-pair dd { font-size: 13px; line-height: 1.38; }
  .tg-r26 .tg-gt-more,
  .tg-r26 .tg-mt-more { grid-template-columns: minmax(0, 1fr); row-gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .tg-r26 .tg-pair__btn::after { transition: none; }
  .tg-r26 .tg-sky::before,
  .tg-r26 .tg-sky::after { animation: none; }   /* the stars stand still at their middle brightness */
}

/* ---------- 7. Tools: the light band, open tiles with a hairline edge ---------- */
.tg-r26 .tg-chapter--light { background: var(--tg-light); }

/* Kept for the gesture chapter: its later tiles (stored feature blocks, switched off
   today) use this copy-left, drawing-right module. The Tools chapter itself
   uses the .tg-tt tiles below. */
.tg-r26 .tg-tool {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  column-gap: 24px;
  min-height: 250px;
}
.tg-r26 .tg-tool__copy { display: flex; flex-direction: column; min-width: 0; }
.tg-r26 .tg-tool__copy .tg-tile__note { margin-top: auto; padding-top: 16px; }
.tg-r26 .tg-tool__art { align-self: center; height: 128px; }

/* The chapter: a little tighter than the others, one row of tiles on a computer. */
.tg-r26 .tg-tools {
  --tg-section: 56px;
  --tt-edge: rgba(29, 29, 31, 0.12);         /* the tile's hairline */
  --tt-edge-hover: rgba(29, 29, 31, 0.22);
  --tt-line: #8E8E93;                        /* graphite: frames and structure */
  --tt-glyph: #48484A;                       /* small marks inside a drawing */
  --tt-key: rgba(29, 29, 31, 0.14);
  --tt-key-util: rgba(29, 29, 31, 0.075);
  --tt-amber: #FFC74D;                       /* the app's warm accent, Color(1.0, 0.78, 0.30) */
  --tt-amber-edge: #B87200;                  /* its outline on the light band: 3.5:1 on #F5F5F7 */
  --tt-amber-steam: #C27C0E;                 /* 3.1:1 on #F5F5F7 */
  --tt-cup-off: #86868B;                     /* the cup at rest: 3.3:1 on #F5F5F7 */
  --tt-stack-gap: 16px;
  --tt-gap: 32px;                            /* air between the tiles */
  --tt-k: 1;                                 /* time scale of the drawings */
  --tt-dusk: 160px;                          /* the dark-to-light zone at the top */
  --tt-dusk-top: #161617;                    /* the lower edge of the band above */
  --tt-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --tt-ease-io: cubic-bezier(0.45, 0, 0.2, 1);
  position: relative;
  isolation: isolate;
  padding-top: calc(var(--tt-dusk) * 0.8 + 8px);   /* the eyebrow starts over the dusk's last, lightest fifth */
}
.tg-r26 .tg-tools .tg-head { margin-bottom: 32px; }

/* Dusk: the night of the band above runs on into this one and lightens slowly into the
   day of the light band: one long eased curve, flat at both ends, so neither end shows an
   edge. Its last stars thin out as the black lightens (.tg-sky--dusk, section 6), and a
   faint cool light lies low where dark turns to light. --tt-dusk is set here for every
   width; the band's top padding follows it (0.8 x --tt-dusk + 8 px), and the fade ends
   16 px above the heading, so the eyebrow's grey sits on the light band itself. The
   element itself is the darker half (the navigation script reads it as a dark block, so
   the bar's text turns light over it); the lighter half is its ::after. Long enough to
   read as one slow blend, short enough that the two bands still feel close together. */
.tg-r26 #tools.tg-tools { --tt-dusk: clamp(192px, 16vw + 128px, 384px); }
.tg-r26 .tg-tools > .container { position: relative; z-index: 1; }
.tg-r26 .tg-tools__dusk {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 0;
  height: calc((var(--tt-dusk) * 0.8 - 8px) / 2);
  pointer-events: none;
  background-color: var(--tt-dusk-top);
  background-image: linear-gradient(to bottom, var(--tt-dusk-top) 0%, #19191A 12.5%, #1E1E1F 25%, #252527 37.5%,
    #2F2F31 50%, #3A3A3C 62.5%, #464648 75%, #565657 87.5%, #6B6B6C 100%);
}
.tg-r26 .tg-tools__dusk::after,
.tg-r26 .tg-tools__dusk::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
}
.tg-r26 .tg-tools__dusk::after {
  top: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #6B6B6C 0%, #878789 12.5%, #A0A0A2 25%, #B5B5B7 37.5%, #C8C8CA 50%,
    #D8D8DA 62.5%, #E7E7E9 75%, #F1F1F3 87.5%, var(--tg-light) 100%);
}
.tg-r26 .tg-tools__dusk::before {
  top: 0;
  z-index: 1;
  height: 200%;
  mix-blend-mode: screen;     /* light, not haze: it brightens the dark and leaves the light band as it is */
  background:
    radial-gradient(ellipse 50% 26% at 30% 42%, rgba(64, 170, 255, 0.08), rgba(64, 170, 255, 0) 100%),
    radial-gradient(ellipse 50% 26% at 70% 40%, rgba(112, 92, 240, 0.08), rgba(112, 92, 240, 0) 100%),
    radial-gradient(ellipse 95% 36% at 50% 42%, rgba(51, 102, 204, 0.20), rgba(51, 102, 204, 0) 100%);
}
/* The stars of the band, fading out down the darker half. */
.tg-r26 .tg-sky--dusk {
  z-index: auto;
  background-position: 131px 0, 37px 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.45) 40%, transparent 85%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.45) 40%, transparent 85%);
}

/* Four tiles in a row: Touch Keyboard, Touch Indicators, Image Adjustments, and a column
   that holds the Interactive Dashboard (a full tile, its drawing as large as the others)
   over two compact rows: Prevent Sleep and "More powerful tools coming soon". */
.tg-r26 .tg-tgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--tt-gap);
}
.tg-r26 .tg-tt {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px;
  border-radius: var(--tg-radius);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--tt-edge);
  color: var(--tg-ink);
}
/* Under the pointer the hairline darkens a little; nothing is filled in. It sits on a
   layer of its own (the tile's own transition belongs to the reveal). */
.tg-r26 .tg-tt::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--tt-edge-hover);
  opacity: 0;
  transition: opacity 0.4s var(--tt-ease);
  pointer-events: none;
}
.tg-r26 .tg-tgrid,
.tg-r26 .tg-tstack { isolation: isolate; }
@media (hover: hover) {
  .tg-r26 .tg-tt:hover::before { opacity: 1; }
}

.tg-r26 .tg-tt .tg-tile__title { font-size: 19px; line-height: 1.26; color: var(--tg-ink); }
.tg-r26 .tg-tt .tg-tile__text { margin-top: 6px; font-size: 14px; line-height: 1.43; color: var(--tg-muted); }
.tg-r26 .tg-tt .tg-tile__note { margin: 0; padding-top: 12px; margin-top: auto; font-size: 12px; line-height: 1.5; color: var(--tg-muted); }
.tg-r26 .tg-tt__copy { display: flex; flex: 1; flex-direction: column; min-width: 0; }

/* The drawing sits on the tile itself, above the copy, with air under it: the title
   starts 128 px below the tile's top. */
.tg-r26 .tg-tt__art { display: grid; place-items: center; height: 80px; margin: 0 0 28px; }
.tg-r26 .tt-svg { display: block; width: 100%; max-width: 184px; height: auto; max-height: 100%; overflow: visible; }

/* The column of the dashboard and the compact rows. */
.tg-r26 .tg-tstack {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  gap: var(--tt-stack-gap);
  min-width: 0;
}
.tg-r26 .tg-tt--dash { padding-bottom: 16px; }
@media (min-width: 600px) {
  .tg-r26 .tg-tt--dash .tg-tile__title { font-size: 17px; line-height: 1.29; }
}
.tg-r26 .tg-tt--dash .tg-tt__copy { flex: none; }

/* Small tiles in a row: copy beside a small drawing (stored feature blocks use it). */
.tg-r26 .tg-tt--row {
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
}
.tg-r26 .tg-tt--row .tg-tt__copy { justify-content: center; }
.tg-r26 .tg-tt--row .tg-tile__title { font-size: 17px; line-height: 1.24; }
.tg-r26 .tg-tt--row .tg-tile__text { margin-top: 4px; }
.tg-r26 .tg-tt--row .tg-tt__art { flex: none; height: auto; margin: 0; }

/* The two compact rows share one height: Prevent Sleep (the cup, its title, one short
   line) and "More powerful tools coming soon". */
.tg-r26 .tg-tt--compact { min-height: 56px; padding: 8px 20px; gap: 14px; }
.tg-r26 .tg-tt--sleep { padding-left: 10px; }
.tg-r26 .tg-tt--sleep .tg-tile__title { font-size: 16px; line-height: 1.25; }
.tg-r26 .tg-tt--sleep .tg-tile__text { margin-top: 1px; font-size: 13px; line-height: 1.38; }
.tg-r26 .tg-tt--row.tg-tt--more .tg-tile__title { font-size: 14px; line-height: 1.43; font-weight: 500; color: var(--tg-muted); }

/* "Coming soon" under the title: the page's one badge (.tg-soon__badge, section 6)
   in its light-surface colours, like the price card's "Introductory price". */
.tg-r26 .tg-tt .tg-soon__badge {
  align-self: flex-start;
  margin: 8px 0 0;
  background: rgba(51, 102, 204, 0.06);   /* on #F5F5F7: #E9ECF4, blue text 4.56:1 (0.08 gave 4.44) */
  color: var(--tg-blue);
}

/* The entrance, once, as the tiles are reached (about 1.4 s a tile): each tile rises out
   of a soft blur, a light runs once along its edge, the drawing's outline draws itself
   and what is inside settles into it. The tiles follow one another 0.14 s apart (the
   small rows 0.1 s); on a phone each comes as it is reached. Each drawing's first play
   begins as its tile settles (js/tools-2611.js). With reduced motion all of it is simply
   there: the rules that hide or move anything apply only with motion. */
.tg-r26 .tg-tools .tg-tt { --tt-in: 0s; }
.tg-r26 .tg-tgrid > .tg-tt:nth-child(2) { --tt-in: 0.14s; }
.tg-r26 .tg-tgrid > .tg-tt:nth-child(3) { --tt-in: 0.28s; }
.tg-r26 .tg-tstack > .tg-tt:nth-child(1) { --tt-in: 0.42s; }
.tg-r26 .tg-tstack > .tg-tt:nth-child(2) { --tt-in: 0.54s; }
.tg-r26 .tg-tstack > .tg-tt:nth-child(3) { --tt-in: 0.64s; }
.tg-r26 .tg-tstack > .tg-tt:nth-child(4) { --tt-in: 0.74s; }
.tg-r26 .tt-in { transform-box: view-box; transform-origin: 110px 56px; }
/* The light along the edge: a hairline-wide ring, lit by a short band of the blue that
   crosses it from left to right. Unlit (and so unseen) outside the entrance. */
.tg-r26 .tg-tools .tg-tt::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(105deg, rgba(51, 102, 204, 0) 36%, rgba(51, 102, 204, 0.3) 44%, rgba(51, 102, 204, 0.75) 50%, rgba(51, 102, 204, 0.3) 56%, rgba(51, 102, 204, 0) 64%) 100% 0 / 300% 100% no-repeat;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .tg-r26 .tg-tools .tg-tt.reveal {
    transform: translateY(32px) scale(0.97);
    filter: blur(10px);
    transition:
      opacity 0.8s cubic-bezier(0.33, 0, 0.2, 1) var(--tt-in),
      transform 1.3s cubic-bezier(0.16, 1, 0.3, 1) var(--tt-in),
      filter 1s cubic-bezier(0.2, 0.7, 0.3, 1) var(--tt-in);
  }
  .tg-r26 .tg-tools .tg-tt.reveal.visible { transform: none; filter: none; }
  .tg-r26 .tg-tools .tg-tt.reveal:not(.visible) .tt-frame,
  .tg-r26 .tg-tools .tg-tt.reveal:not(.visible) .tt-in { opacity: 0; }
  .tg-r26 .tg-tools .tg-tt.reveal.visible .tt-frame { animation: tt-draw 1.1s cubic-bezier(0.5, 0, 0.2, 1) calc(var(--tt-in) + 0.12s) backwards; }
  .tg-r26 .tg-tools .tg-tt.reveal.visible .tt-in { animation: tt-settle 0.9s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--tt-in) + 0.5s) backwards; }
  .tg-r26 .tg-tools .tg-tt.reveal.visible::after { animation: tt-gleam 1.3s cubic-bezier(0.45, 0, 0.3, 1) calc(var(--tt-in) + 0.1s) backwards; }
}
/* The outline draws itself (pathLength 1); after the play it is the plain line again. */
@keyframes tt-draw {
  from { stroke-dasharray: 1.02 1.02; stroke-dashoffset: 1.02; }
  to { stroke-dasharray: 1.02 1.02; stroke-dashoffset: 0; }
}
@keyframes tt-settle {
  from { opacity: 0; transform: translateY(6px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
@keyframes tt-gleam {
  0% { opacity: 0; background-position: 100% 0; }
  20%, 70% { opacity: 1; }
  100% { opacity: 0; background-position: 0% 0; }
}

/* --- The drawings: one language, line art straight on the light band. Nothing is filled
   behind or inside them: graphite strokes for structure, the blue for what is active.
   Every part's plain style is the still picture; a drawing moves only while
   js/tools-2611.js plays it (.is-live) and waits while it is off screen (.is-paused). */
.tg-r26 .tt-frame { fill: none; stroke: var(--tt-line); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.tg-r26 .tt-fill-blue { fill: var(--tg-blue); }
.tg-r26 .tt-ring { stroke: var(--tg-blue); stroke-width: 1.5; }
.tg-r26 .tt-ripple {
  fill: none;
  stroke: var(--tg-blue);
  stroke-width: 1.5;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
.tg-r26 .tt-glyph { fill: none; stroke: var(--tt-glyph); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.tg-r26 .tt-glyph--light { stroke: #FFFFFF; }

/* Touch Keyboard: the app's panel (a hairline only), keys, the blue return key, the handle. */
.tg-r26 .tt-panel { fill: none; stroke: rgba(29, 29, 31, 0.2); stroke-width: 0.75; }
.tg-r26 .tt-key { fill: var(--tt-key); }
.tg-r26 .tt-key.tt-key--util { fill: var(--tt-key-util); }
.tg-r26 .tt-key--return { fill: var(--tg-blue); }
.tg-r26 .tt-key--handle { fill: none; stroke: rgba(29, 29, 31, 0.3); stroke-width: 0.75; }
.tg-r26 .tt-pill-solid { fill: var(--tt-glyph); }
.tg-r26 .tt-kbd__press { fill: var(--tg-blue); opacity: 0; }
.tg-r26 .tt-kbd__pill-closed { opacity: 0; }
.tg-r26 .tt-kbd__body { transform-box: view-box; transform-origin: 110px 103px; }

/* Touch Indicators */
.tg-r26 .tt-ind__dot,
.tg-r26 .tt-ind__right { transform-box: fill-box; transform-origin: center; }

/* Image Adjustments: a display in line art (its picture blue; warm = amber), three sliders. */
.tg-r26 .tt-pic { fill: none; stroke: var(--tg-blue); stroke-width: 1.6; stroke-linecap: round; }
.tg-r26 .tt-pic--thin { stroke-width: 1.2; stroke-opacity: 0.5; }
.tg-r26 .tt-pic--bold { stroke-width: 3.2; }
.tg-r26 .tt-pic--warm { stroke: #E0951F; }
.tg-r26 .tt-img__bold,
.tg-r26 .tt-img__warm { opacity: 0; }
.tg-r26 .tt-stand { stroke: var(--tt-line); stroke-width: 1.5; stroke-linecap: round; }
.tg-r26 .tt-glyph-group { fill: none; stroke: var(--tt-line); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.tg-r26 .tt-glyph-group .tt-glyph-fill { fill: var(--tt-line); stroke: none; }
.tg-r26 .tt-track { fill: rgba(29, 29, 31, 0.12); }
.tg-r26 .tt-img__fill { transform-box: fill-box; transform-origin: left center; }
.tg-r26 .tt-knob { fill: var(--tg-light); stroke: rgba(29, 29, 31, 0.32); stroke-width: 1; }
.tg-r26 .tt-img__touch { fill: var(--tg-blue); fill-opacity: 0.16; opacity: 0; }

/* Interactive Dashboard: hairline tiles on a screen, nothing filled. */
.tg-r26 .tt-tile { fill: none; stroke: rgba(29, 29, 31, 0.2); stroke-width: 1; }
.tg-r26 .tt-tile--on { stroke: var(--tg-blue); stroke-width: 1.5; opacity: 0; }
.tg-r26 .tt-dial { stroke: var(--tt-line); stroke-width: 1.4; }
.tg-r26 .tt-hand { stroke: var(--tt-glyph); stroke-width: 1.6; stroke-linecap: round; }
.tg-r26 .tt-dash__min { transform-box: view-box; transform-origin: 52px 46px; }
.tg-r26 .tt-sun-line { stroke: var(--tg-blue); stroke-width: 1.6; }
.tg-r26 .tt-cal { stroke: var(--tt-line); stroke-width: 1.5; stroke-linecap: round; }
.tg-r26 .tt-cal--dots { stroke-width: 2.6; }
.tg-r26 .tt-cal--today { stroke: var(--tg-blue); }
.tg-r26 .tt-dash__bar { transform-box: fill-box; transform-origin: center bottom; }

/* Prevent Sleep: the app's Prevent Sleep toggle. A real button.
   At rest a grey outline cup; pressed it dips and pops (scale 0.84, an under-damped
   spring), settles to the warm amber with a thin darker edge, a soft amber glow and a
   ring that blooms once; while it is on, two wisps of steam rise. */
.tg-r26 .tt-sleep {
  -webkit-appearance: none;
  appearance: none;
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.tg-r26 .tt-sleep:focus { outline: none; }
.tg-r26 .tt-sleep:focus-visible { outline: 2px solid var(--tg-blue); outline-offset: 1px; }
.tg-r26 .tt-sleep .tt-cup { width: 36px; height: 36px; max-width: none; max-height: none; }
.tg-r26 .tt-cup__off path { fill: none; stroke: var(--tt-cup-off); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.2s ease; }
.tg-r26 .tt-cup__on path { fill: var(--tt-amber); stroke: var(--tt-amber-edge); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tg-r26 .tt-cup__on .tt-cup__handle { fill: none; stroke: var(--tt-amber-edge); stroke-width: 2.6; }
.tg-r26 .tt-cup__on,
.tg-r26 .tt-cup__glow,
.tg-r26 .tt-cup__bloom,
.tg-r26 .tt-cup__steam { opacity: 0; }
.tg-r26 .tt-cup__off,
.tg-r26 .tt-cup__on { transition: opacity calc(0.34s * var(--tt-k)) var(--tt-ease); }
.tg-r26 .tt-cup__glow { transition: opacity calc(0.45s * var(--tt-k)) var(--tt-ease); }
.tg-r26 .tt-cup__steam { transition: opacity calc(0.5s * var(--tt-k)) var(--tt-ease); }
.tg-r26 .tt-cup__body,
.tg-r26 .tt-cup__bloom { transform-box: fill-box; transform-origin: center; }
.tg-r26 .tt-cup__bloom { fill: none; stroke: var(--tt-amber); stroke-width: 1.5; }
.tg-r26 .tt-cup__steam path { fill: none; stroke: var(--tt-amber-steam); stroke-width: 2.4; stroke-linecap: round; }
.tg-r26 .tt-sleep.is-on .tt-cup__on,
.tg-r26 .tt-sleep.is-on .tt-cup__glow { opacity: 1; }
.tg-r26 .tt-sleep.is-on .tt-cup__off { opacity: 0; }
.tg-r26 .tt-sleep.is-on .tt-cup__steam { opacity: 0.9; }      /* the still picture of "on" */
@media (hover: hover) {
  .tg-r26 .tt-sleep:hover .tt-cup__off path { stroke: var(--tg-muted); }
}

/* --- The plays (transform and opacity only). js/tools-2611.js plays each drawing once
   as its tile settles after the entrance (.is-live), and then again now and then, or
   under the pointer or a tap. A play is one cycle of the loops below; each cycle starts
   and ends on the still picture. The cup switches itself on once. */
.tg-r26 .tg-tt__art.is-paused * { animation-play-state: paused !important; }

/* Keyboard, 8 s: two keys are tapped, the handle folds the keyboard into the floating
   button parked at the bottom edge (the app's default), a tap opens it again. */
.tg-r26 .is-live .tt-kbd__body { animation: tt-kbd-body calc(8s * var(--tt-k)) var(--tt-ease) infinite; }
.tg-r26 .is-live .tt-kbd__pill { animation: tt-kbd-pill calc(8s * var(--tt-k)) var(--tt-ease) infinite; }
.tg-r26 .is-live .tt-kbd__pill-open { animation: tt-kbd-open calc(8s * var(--tt-k)) var(--tt-ease) infinite; }
.tg-r26 .is-live .tt-kbd__pill-closed { animation: tt-kbd-closed calc(8s * var(--tt-k)) var(--tt-ease) infinite; }
.tg-r26 .is-live .tt-kbd__press { animation: tt-press calc(8s * var(--tt-k)) ease-out infinite; }
.tg-r26 .is-live .tt-kbd__ripple--1,
.tg-r26 .is-live .tt-kbd__press--1 { animation-delay: calc(0.8s * var(--tt-k)); }
.tg-r26 .is-live .tt-kbd__ripple--2,
.tg-r26 .is-live .tt-kbd__press--2 { animation-delay: calc(1.6s * var(--tt-k)); }
.tg-r26 .is-live .tt-kbd__ripple--3 { animation-delay: calc(2.48s * var(--tt-k)); }
.tg-r26 .is-live .tt-kbd__ripple--4 { animation-delay: calc(5.04s * var(--tt-k)); }
.tg-r26 .is-live .tt-ripple { animation-name: tt-tap; animation-duration: calc(8s * var(--tt-k)); animation-timing-function: var(--tt-ease); animation-iteration-count: infinite; }

@keyframes tt-tap {
  0% { opacity: 0.9; transform: scale(0.35); }
  8%, 100% { opacity: 0; transform: scale(1.9); }
}
@keyframes tt-press {
  0% { opacity: 0; }
  1% { opacity: 1; }
  7%, 100% { opacity: 0; }
}
@keyframes tt-kbd-body {
  0%, 33% { opacity: 1; transform: none; }
  41%, 66% { opacity: 0; transform: scale(0.16, 0.1); }
  74%, 100% { opacity: 1; transform: none; }
}
@keyframes tt-kbd-pill {
  0%, 33% { transform: none; }
  41.5%, 66% { transform: translateY(60px); }
  74.5%, 100% { transform: none; }
}
@keyframes tt-kbd-open {
  0%, 33% { opacity: 1; }
  38%, 68% { opacity: 0; }
  74%, 100% { opacity: 1; }
}
@keyframes tt-kbd-closed {
  0%, 35% { opacity: 0; }
  41%, 66% { opacity: 0.8; }        /* the app's default button opacity */
  71%, 100% { opacity: 0; }
}

/* Indicators, 6 s: the stroke fades from its tail, a new touch draws its trail, a left
   click ripples and leaves its ring, a right click shows its dashed style. */
.tg-r26 .is-live .tt-ind__dot { animation: tt-ind-dot calc(6s * var(--tt-k)) linear infinite; }
.tg-r26 .is-live .tt-ind__halo { animation: tt-ind-halo calc(6s * var(--tt-k)) var(--tt-ease) infinite; }
.tg-r26 .is-live .tt-ind__right { animation: tt-ind-right calc(6s * var(--tt-k)) var(--tt-ease) infinite; }
.tg-r26 .is-live .tt-ind__trail { animation: tt-ind-trail calc(6s * var(--tt-k)) ease-out infinite; }
.tg-r26 .is-live .tt-ind__trail--1 { animation-delay: calc(-4.32s * var(--tt-k)); }
.tg-r26 .is-live .tt-ind__trail--2 { animation-delay: calc(-4.116s * var(--tt-k)); }
.tg-r26 .is-live .tt-ind__trail--3 { animation-delay: calc(-3.912s * var(--tt-k)); }
.tg-r26 .is-live .tt-ind__trail--4 { animation-delay: calc(-3.708s * var(--tt-k)); }
.tg-r26 .is-live .tt-ind__trail--5 { animation-delay: calc(-3.504s * var(--tt-k)); }
.tg-r26 .is-live .tt-ind__trail--6 { animation-delay: calc(-3.3s * var(--tt-k)); }
.tg-r26 .is-live .tt-ind__ripple { animation-duration: calc(6s * var(--tt-k)); animation-delay: calc(3s * var(--tt-k)); }

@keyframes tt-ind-dot {
  0%, 5% { opacity: 1; transform: none; animation-timing-function: var(--tt-ease); }
  13% { opacity: 0; transform: none; }
  14% { opacity: 0; transform: translate(-94px, 53px); }
  24% { opacity: 0; transform: translate(-94px, 53px) scale(0.6); animation-timing-function: var(--tt-ease); }
  28% { opacity: 1; transform: translate(-94px, 53px); }
  31.4% { transform: translate(-75px, 47px); }
  34.8% { transform: translate(-57px, 38px); }
  38.2% { transform: translate(-41px, 27px); }
  41.6% { transform: translate(-27px, 16px); }
  45% { transform: translate(-14px, 7px); animation-timing-function: var(--tt-ease); }
  50%, 100% { opacity: 1; transform: none; }
}
@keyframes tt-ind-trail {
  0% { opacity: 0; }
  2%, 72% { opacity: 1; }
  82%, 100% { opacity: 0; }
}
@keyframes tt-ind-halo {
  0%, 5% { opacity: 1; }
  13%, 52% { opacity: 0; }
  62%, 100% { opacity: 1; }
}
@keyframes tt-ind-right {
  0%, 5% { opacity: 1; transform: none; }
  13%, 70% { opacity: 0; transform: scale(0.6); }
  78%, 100% { opacity: 1; transform: none; }
}

/* Image Adjustments, 9 s: a touch turns the brightness down (the picture dims), the
   contrast up (its lines get bolder), the colour temperature warmer (it turns amber);
   then the three sliders glide back together. */
.tg-r26 .is-live .tt-img__pic { animation: tt-img-dim calc(9s * var(--tt-k)) var(--tt-ease-io) infinite; }
.tg-r26 .is-live .tt-img__knob--b { animation: tt-img-knob-b calc(9s * var(--tt-k)) var(--tt-ease-io) infinite; }
.tg-r26 .is-live .tt-img__fill--b { animation: tt-img-fill-b calc(9s * var(--tt-k)) var(--tt-ease-io) infinite; }
.tg-r26 .is-live .tt-img__knob--c { animation: tt-img-knob-c calc(9s * var(--tt-k)) var(--tt-ease-io) infinite; }
.tg-r26 .is-live .tt-img__fill--c { animation: tt-img-fill-c calc(9s * var(--tt-k)) var(--tt-ease-io) infinite; }
.tg-r26 .is-live .tt-img__bold { animation: tt-img-bold calc(9s * var(--tt-k)) var(--tt-ease-io) infinite; }
.tg-r26 .is-live .tt-img__knob--t { animation: tt-img-knob-t calc(9s * var(--tt-k)) var(--tt-ease-io) infinite; }
.tg-r26 .is-live .tt-img__fill--t { animation: tt-img-fill-t calc(9s * var(--tt-k)) var(--tt-ease-io) infinite; }
.tg-r26 .is-live .tt-img__warm { animation: tt-img-warm calc(9s * var(--tt-k)) var(--tt-ease-io) infinite; }
.tg-r26 .is-live .tt-img__cool { animation: tt-img-cool calc(9s * var(--tt-k)) var(--tt-ease-io) infinite; }
.tg-r26 .is-live .tt-img__knob--b .tt-img__touch { animation: tt-img-touch-b calc(9s * var(--tt-k)) var(--tt-ease) infinite; }
.tg-r26 .is-live .tt-img__knob--c .tt-img__touch { animation: tt-img-touch-c calc(9s * var(--tt-k)) var(--tt-ease) infinite; }
.tg-r26 .is-live .tt-img__knob--t .tt-img__touch { animation: tt-img-touch-t calc(9s * var(--tt-k)) var(--tt-ease) infinite; }

@keyframes tt-img-dim {
  0%, 9% { opacity: 1; }
  21%, 76% { opacity: 0.55; }
  88%, 100% { opacity: 1; }
}
@keyframes tt-img-knob-b {
  0%, 9% { transform: none; }
  21%, 76% { transform: translateX(-27.2px); }
  88%, 100% { transform: none; }
}
@keyframes tt-img-fill-b {
  0%, 9% { transform: none; }
  21%, 76% { transform: scaleX(0.4286); }
  88%, 100% { transform: none; }
}
@keyframes tt-img-knob-c {
  0%, 29% { transform: none; }
  41%, 76% { transform: translateX(23.8px); }
  88%, 100% { transform: none; }
}
@keyframes tt-img-fill-c {
  0%, 29% { transform: none; }
  41%, 76% { transform: scaleX(1.7); }
  88%, 100% { transform: none; }
}
@keyframes tt-img-bold {
  0%, 29% { opacity: 0; }
  41%, 76% { opacity: 1; }
  88%, 100% { opacity: 0; }
}
@keyframes tt-img-knob-t {
  0%, 49% { transform: none; }
  61%, 76% { transform: translateX(30.6px); }
  88%, 100% { transform: none; }
}
@keyframes tt-img-fill-t {
  0%, 49% { transform: none; }
  61%, 76% { transform: scaleX(2.125); }
  88%, 100% { transform: none; }
}
@keyframes tt-img-warm {
  0%, 49% { opacity: 0; }
  61%, 76% { opacity: 1; }
  88%, 100% { opacity: 0; }
}
@keyframes tt-img-cool {
  0%, 49% { opacity: 1; }
  61%, 76% { opacity: 0; }
  88%, 100% { opacity: 1; }
}
@keyframes tt-img-touch-b {
  0%, 6% { opacity: 0; }
  9%, 21% { opacity: 1; }
  25%, 100% { opacity: 0; }
}
@keyframes tt-img-touch-c {
  0%, 26% { opacity: 0; }
  29%, 41% { opacity: 1; }
  45%, 100% { opacity: 0; }
}
@keyframes tt-img-touch-t {
  0%, 46% { opacity: 0; }
  49%, 61% { opacity: 1; }
  65%, 100% { opacity: 0; }
}

/* Prevent Sleep: the press (dip-then-pop and the bloom) restarts on every press, because
   the script swaps between two identical animations. After it turns on, and at every play, the steam rises three
   times (2.8 s, the two wisps half a cycle apart, as in the app) and settles. */
.tg-r26 .tt-sleep.is-pop-a .tt-cup__body { animation: tt-cup-pop-a calc(0.55s * var(--tt-k)) linear; }
.tg-r26 .tt-sleep.is-pop-b .tt-cup__body { animation: tt-cup-pop-b calc(0.55s * var(--tt-k)) linear; }
.tg-r26 .tt-sleep.is-on.is-pop-a .tt-cup__bloom { animation: tt-cup-bloom-a calc(0.6s * var(--tt-k)) ease-out; }
.tg-r26 .tt-sleep.is-on.is-pop-b .tt-cup__bloom { animation: tt-cup-bloom-b calc(0.6s * var(--tt-k)) ease-out; }
.tg-r26 .tt-sleep.is-on.is-steam .tt-cup__steam { animation: tt-cup-steam 2.8s linear calc(0.5s * var(--tt-k)) 3; }
.tg-r26 .tt-sleep.is-on.is-steam .tt-cup__steam--2 { animation-delay: calc(0.5s * var(--tt-k) + 1.4s); }
.tg-r26 .tt-sleep.is-paused * { animation-play-state: paused !important; }

@keyframes tt-cup-pop-a {
  0% { transform: none; animation-timing-function: cubic-bezier(0.3, 0, 0.6, 1); }
  16% { transform: scale(0.84); animation-timing-function: cubic-bezier(0.2, 0.7, 0.3, 1); }
  48% { transform: scale(1.08); animation-timing-function: ease-in-out; }
  72% { transform: scale(0.97); animation-timing-function: ease-in-out; }
  88% { transform: scale(1.01); }
  100% { transform: none; }
}
@keyframes tt-cup-pop-b {
  0% { transform: none; animation-timing-function: cubic-bezier(0.3, 0, 0.6, 1); }
  16% { transform: scale(0.84); animation-timing-function: cubic-bezier(0.2, 0.7, 0.3, 1); }
  48% { transform: scale(1.08); animation-timing-function: ease-in-out; }
  72% { transform: scale(0.97); animation-timing-function: ease-in-out; }
  88% { transform: scale(1.01); }
  100% { transform: none; }
}
@keyframes tt-cup-bloom-a {
  0% { opacity: 0.7; transform: scale(0.5); }
  100% { opacity: 0; transform: scale(1.5); }
}
@keyframes tt-cup-bloom-b {
  0% { opacity: 0.7; transform: scale(0.5); }
  100% { opacity: 0; transform: scale(1.5); }
}
/* One wisp: from where it rests it drifts up and fades, comes back from below and settles. */
@keyframes tt-cup-steam {
  0% { opacity: 0.9; transform: none; animation-timing-function: ease-in; }
  20% { opacity: 1; transform: translate(-0.6px, -2.5px); animation-timing-function: ease-out; }
  42% { opacity: 0; transform: translate(0, -6px); }
  43% { opacity: 0; transform: translate(0, 4px); animation-timing-function: ease-out; }
  70% { opacity: 1; transform: translate(0.7px, 1px); animation-timing-function: ease-in-out; }
  100% { opacity: 0.9; transform: none; }
}

/* Interactive Dashboard, 8 s: the clock's hand turns, the music plays, the calendar is tapped. */
.tg-r26 .is-live .tt-dash__min { animation: tt-turn calc(8s * var(--tt-k)) linear infinite; }
.tg-r26 .is-live .tt-dash__bar { animation: tt-eq calc(4s * var(--tt-k)) ease-in-out infinite; }
.tg-r26 .is-live .tt-dash__bar--2 { animation-name: tt-eq-2; }
.tg-r26 .is-live .tt-dash__bar--3 { animation-name: tt-eq-3; }
.tg-r26 .is-live .tt-dash__ripple { animation: tt-tap calc(8s * var(--tt-k)) var(--tt-ease) calc(4s * var(--tt-k)) infinite; }
.tg-r26 .is-live .tt-dash__hit { animation: tt-dash-hit calc(8s * var(--tt-k)) var(--tt-ease) infinite; }

@keyframes tt-turn { to { transform: rotate(360deg); } }
@keyframes tt-eq {
  0%, 100% { transform: none; }
  12.5% { transform: scaleY(0.45); }
  25% { transform: scaleY(0.85); }
  37.5% { transform: scaleY(0.5); }
  50% { transform: none; }
  62.5% { transform: scaleY(0.6); }
  75% { transform: scaleY(0.9); }
  87.5% { transform: scaleY(0.4); }
}
/* The other two bars move out of step, yet all three start and end full, so a play ends
   on the still picture. */
@keyframes tt-eq-2 {
  0%, 100% { transform: none; }
  12.5% { transform: scaleY(0.7); }
  25% { transform: scaleY(0.4); }
  37.5% { transform: scaleY(0.85); }
  50% { transform: scaleY(0.55); }
  62.5% { transform: scaleY(0.9); }
  75% { transform: scaleY(0.45); }
  87.5% { transform: scaleY(0.75); }
}
@keyframes tt-eq-3 {
  0%, 100% { transform: none; }
  12.5% { transform: scaleY(0.55); }
  25% { transform: scaleY(0.9); }
  37.5% { transform: scaleY(0.4); }
  50% { transform: scaleY(0.75); }
  62.5% { transform: scaleY(0.5); }
  75% { transform: scaleY(0.85); }
  87.5% { transform: scaleY(0.6); }
}
@keyframes tt-dash-hit {
  0%, 49% { opacity: 0; }
  51%, 68% { opacity: 1; }
  80%, 100% { opacity: 0; }
}

/* A later small tile (a stored feature block, switched off today), 6 s: while a finger is
   down only the pointer's dashed ghost remains; when it lifts the pointer is back. */
.tg-r26 .tg-tt--cursor .tt-svg { width: 52px; }
.tg-r26 .tt-cur__ghost { stroke: var(--tt-line); stroke-width: 1.5; stroke-linejoin: round; stroke-dasharray: 2.4 3; }
.tg-r26 .tt-cur__pointer { fill: #FFFFFF; stroke: var(--tt-glyph); stroke-width: 1.5; stroke-linejoin: round; opacity: 0; }
.tg-r26 .tt-cur__touch { transform-box: fill-box; transform-origin: center; }
.tg-r26 .is-live .tt-cur__pointer { animation: tt-cur-pointer calc(6s * var(--tt-k)) var(--tt-ease) infinite; }
.tg-r26 .is-live .tt-cur__touch { animation: tt-cur-touch calc(6s * var(--tt-k)) var(--tt-ease) infinite; }
.tg-r26 .is-live .tt-cur__ripple { animation-duration: calc(6s * var(--tt-k)); animation-delay: calc(3.06s * var(--tt-k)); }

@keyframes tt-cur-pointer {
  0%, 10% { opacity: 0; }
  16%, 48% { opacity: 1; }
  52%, 100% { opacity: 0; }
}
@keyframes tt-cur-touch {
  0%, 8% { opacity: 1; transform: none; }
  14%, 46% { opacity: 0; transform: scale(0.6); }
  51%, 100% { opacity: 1; transform: none; }
}

/* --- The grid at every width.
   1100 px and up: four columns; the fourth holds the dashboard over the two compact rows.
   900 to 1099 px: the three tool tiles in a row; under them the dashboard spans two
   columns (drawing beside the title) and the compact rows stack in the third.
   600 to 899 px: two columns; Image Adjustments beside the dashboard column.
   Under 600 px: one column. */
@media (min-width: 900px) and (max-width: 1099px) {
  .tg-r26 .tg-tools { --tt-gap: 28px; }
  .tg-r26 .tg-tgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .tg-r26 .tg-tools { --tt-gap: 24px; }
  .tg-r26 .tg-tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* The wide stack, 900 to 1099 px: the dashboard spans two columns with its drawing beside
   the title, the compact rows stack in the third column. */
@media (min-width: 900px) and (max-width: 1099px) {
  .tg-r26 .tg-tstack {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
    column-gap: var(--tt-gap);    /* so its columns line up with the tiles above */
  }
  .tg-r26 .tg-tstack > * { grid-column: 3; }
  .tg-r26 .tg-tstack > .tg-tt--dash { grid-column: 1 / 3; grid-row: 1 / span 2; }
  .tg-r26 .tg-tstack > .tg-tt--dash { flex-direction: row-reverse; justify-content: center; align-items: center; gap: 56px; padding: 16px 24px; }
  .tg-r26 .tg-tstack > .tg-tt--dash .tg-tt__art { flex: none; width: 200px; height: 102px; margin: 0; }
  .tg-r26 .tg-tstack > .tg-tt--dash .tg-tt__copy { flex: 0 1 auto; justify-content: center; }
}

/* With a fourth small tile (a feature switched on in the slot) the stack lets its tiles
   join the grid. From 1100 px: the dashboard is the fourth tile of the first row and the
   small tiles share the second (the feature's tile, which has a sentence, two columns).
   900 to 1099 px: the dashboard stands upright under Touch Keyboard, the small tiles
   stack beside it across two columns. */
@media (min-width: 900px) {
  .tg-r26 .tg-tstack:has(> :nth-child(4)) { display: contents; }
}
@media (min-width: 1100px) {
  .tg-r26 .tg-tstack:has(> :nth-child(4)) > .tg-tt--row:not(.tg-tt--compact) { grid-column: span 2; }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .tg-r26 .tg-tstack:has(> :nth-child(4)) > * { grid-column: 2 / span 2; }
  .tg-r26 .tg-tstack:has(> :nth-child(4)) > .tg-tt--dash {
    grid-column: 1;
    grid-row: span 3;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 20px 20px 16px;
  }
  .tg-r26 .tg-tstack:has(> :nth-child(4)) > .tg-tt--dash .tg-tt__art { width: auto; height: 80px; margin: 0 0 28px; }
  .tg-r26 .tg-tstack:has(> :nth-child(4)) > .tg-tt--dash .tg-tt__copy { flex: none; justify-content: flex-start; }
}
/* 600 to 899 px with a fourth small tile: Image Adjustments takes a row of its own and
   the stack spreads over both columns, the dashboard left, the compact rows right. */
@media (min-width: 600px) and (max-width: 899px) {
  .tg-r26 .tg-tstack:has(> :nth-child(4)) {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    column-gap: var(--tt-gap);
  }
  .tg-r26 .tg-tstack:has(> :nth-child(4)) > * { grid-column: 2; }
  .tg-r26 .tg-tstack:has(> :nth-child(4)) > .tg-tt--dash { grid-column: 1; grid-row: 1 / span 3; }
  .tg-r26 .tg-tgrid:has(> .tg-tstack > :nth-child(4)) > .tg-tt--img {
    grid-column: 1 / -1;
    flex-direction: row-reverse;
    align-items: center;
    gap: 24px;
  }
  .tg-r26 .tg-tgrid:has(> .tg-tstack > :nth-child(4)) > .tg-tt--img .tg-tt__art { flex: none; width: 184px; margin: 0; }
}
@media (max-width: 768px) {
  .tg-r26 .tg-tools { --tg-section: 48px; }
  .tg-r26 .tg-tools .tg-head { margin-bottom: var(--tg-head-gap); }
}
/* One column on a phone. The tool tiles and the dashboard get compact: the drawing beside
   the title, the copy across the tile under them. */
@media (max-width: 599px) {
  .tg-r26 .tg-tools { --tt-gap: 24px; --tt-stack-gap: 12px; }
  /* One under another, each tile comes in as it is reached: no waiting in turn. */
  .tg-r26 .tg-tgrid > .tg-tt:nth-child(n),
  .tg-r26 .tg-tstack > .tg-tt:nth-child(n) { --tt-in: 0s; }
  .tg-r26 .tg-tgrid { grid-template-columns: minmax(0, 1fr); }
  .tg-r26 .tg-tstack { grid-template-rows: none; }
  .tg-r26 .tg-tstack > .tg-tt--dash { margin-bottom: calc(var(--tt-gap) - var(--tt-stack-gap)); }
  .tg-r26 .tg-tt { padding: 20px; }
  .tg-r26 .tg-tt--row { padding: 16px 20px; }
  .tg-r26 .tg-tt--compact { padding: 8px 20px; }
  .tg-r26 .tg-tt--sleep { padding-left: 10px; }
  .tg-r26 .tg-tt--kbd,
  .tg-r26 .tg-tt--ind,
  .tg-r26 .tg-tt--img,
  .tg-r26 .tg-tt--dash {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 20px;
    align-items: center;
  }
  .tg-r26 .tg-tt--kbd .tg-tt__copy,
  .tg-r26 .tg-tt--ind .tg-tt__copy,
  .tg-r26 .tg-tt--img .tg-tt__copy,
  .tg-r26 .tg-tt--dash .tg-tt__copy { display: contents; }
  .tg-r26 .tg-tt--kbd .tg-tt__art,
  .tg-r26 .tg-tt--ind .tg-tt__art,
  .tg-r26 .tg-tt--img .tg-tt__art,
  .tg-r26 .tg-tt--dash .tg-tt__art { grid-column: 2; grid-row: 1; width: 124px; height: auto; margin: 0; }
  .tg-r26 .tg-tt .tg-tile__title { grid-column: 1; grid-row: 1; }
  .tg-r26 .tg-tt--dash .tg-tt__art { grid-row: 1 / span 2; }
  .tg-r26 .tg-tt--dash .tg-tile__title { align-self: end; }
  .tg-r26 .tg-tt--dash .tg-soon__badge { grid-column: 1; grid-row: 2; align-self: start; justify-self: start; }
  .tg-r26 .tg-tt--kbd .tg-tile__text,
  .tg-r26 .tg-tt--ind .tg-tile__text,
  .tg-r26 .tg-tt--img .tg-tile__text { grid-column: 1 / -1; margin-top: 14px; }
  .tg-r26 .tg-tt--kbd .tg-tile__note,
  .tg-r26 .tg-tt--ind .tg-tile__note,
  .tg-r26 .tg-tt--img .tg-tile__note { grid-column: 1 / -1; padding-top: 8px; }
}
@media (max-width: 359px) {
  .tg-r26 .tg-tt--kbd .tg-tt__art,
  .tg-r26 .tg-tt--ind .tg-tt__art,
  .tg-r26 .tg-tt--img .tg-tt__art,
  .tg-r26 .tg-tt--dash .tg-tt__art { width: 112px; }
}

/* Reduced motion: no loops, no spring, no rising steam; the cup only changes colour. */
@media (prefers-reduced-motion: reduce) {
  .tg-r26 .tg-tools .tg-tt__art *,
  .tg-r26 .tg-tools .tt-sleep * { animation: none !important; }
  .tg-r26 .tg-tt::before { transition: none; }
  .tg-r26 .tt-cup__off,
  .tg-r26 .tt-cup__on,
  .tg-r26 .tt-cup__glow,
  .tg-r26 .tt-cup__steam { transition-duration: 0.15s; }
}

/* ---------- 8. Setup: works with the screen you have ---------- */
/* Six tiles, the "Also built in" tile and the Recommended tile. One grid of 12:
     >= 1000 px  three facts (4 + 4 + 4)
                 two small facts and the Assign wizard (3 + 3 + 6)
                 Also built in (12), Recommended (12)
     >= 1200 px  the same, the four rows in a zig-zag: left, right, left, right, a step
                 (48 px) apart. The step (--tg-stagger) is an extra track at the grid's right
                 end: the twelve columns are that much narrower, a "left" row fills them, a
                 "right" row is moved right by the step. Every row keeps its gaps, and the
                 rows together keep the container's full width.
     681-999 px  facts in pairs (6 + 6), Identical screens beside the wizard (5 + 7), the
                 two wide tiles
     <= 680 px   one column; the orb beside its text
   The icon sits beside its title at every width, which keeps the tiles short. */
.tg-r26 .tg-setup {
  --tg-section: 72px;
  --tg-head-gap: 28px;
  --tg-pad: 24px;
  --tg-orb: 152px;              /* the orb mount (the orb is drawn inside it) */
  --tg-stagger: 0px;            /* the zig-zag step between the rows (wide screens) */
}
/* From 1200 px (the container's full width): below it the tiles' titles need every pixel. */
@media (min-width: 1200px) {
  .tg-r26 .tg-setup { --tg-stagger: 48px; }
  .tg-r26 .tg-setup__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr)) calc(var(--tg-stagger) - var(--tg-gap));
  }
  .tg-r26 .tg-setup .tg-fact:first-child { grid-column: 1 / span 4; }
  .tg-r26 .tg-setup .tg-fact--small:nth-child(4) { grid-column: 1 / span 3; }
  .tg-r26 .tg-setup .tg-setup__grid > .tg-more,
  .tg-r26 .tg-setup .tg-setup__grid > .tg-reco { grid-column: 1 / span 12; }   /* over their 1 / -1 below */
  .tg-r26 .tg-setup .tg-fact--small,
  .tg-r26 .tg-setup .tg-assign,
  .tg-r26 .tg-setup .tg-reco {
    margin-left: var(--tg-stagger);
    margin-right: calc(-1 * var(--tg-stagger));
  }
}
.tg-r26 .tg-setup .tg-fact { grid-column: span 4; }
.tg-r26 .tg-setup .tg-fact--small { grid-column: span 3; }
.tg-r26 .tg-setup .tg-tile__title { font-size: 19px; line-height: 1.21; }
.tg-r26 .tg-setup .tg-tile__text { margin-top: 8px; }
.tg-r26 .tg-fact {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
  align-content: start;
  padding-block: 20px 22px;
}
.tg-r26 .tg-fact__icon { display: block; color: var(--tg-blue); }
.tg-r26 .tg-fact .tg-tile__text { grid-column: 1 / -1; }

/* The Assign wizard: the one dark tile here. Orb left (towards the middle of the
   grid), copy right. The orb's light is in css/assign-orb-2611.css. */
.tg-r26 .tg-setup .tg-assign {
  grid-column: span 6;
  display: grid;
  grid-template-columns: var(--tg-orb) minmax(0, 1fr);
  align-items: center;
  column-gap: 24px;
  padding-block: 12px;
}
.tg-r26 .tg-orb-mount {
  position: relative;
  flex: none;
  width: var(--tg-orb);
  height: var(--tg-orb);
}
.tg-r26 .tg-assign__copy { min-width: 0; }
.tg-r26 .tg-setup .tg-assign .tg-tile__text { max-width: 26em; }

/* Also built in: one slim tile under the tiles, a column per feature with a
   hairline between them; "And many more" sits quietly at the head's right. A
   new feature is one more item; the rows are set out under the list's rules below. */
.tg-r26 .tg-setup .tg-more {
  grid-column: 1 / -1;
  padding: 16px var(--tg-pad) 20px;
}
.tg-r26 .tg-more__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 24px;
  margin: 0 0 12px;
}
.tg-r26 .tg-more__title,
.tg-r26 .tg-more__all {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: 0;
  color: var(--tg-muted);
}
.tg-r26 .tg-more__all { font-weight: 400; }
.tg-r26 .tg-more__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tg-r26 .tg-more__item {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  column-gap: 10px;
  align-content: start;
  min-width: 0;
  margin: 0;
  padding: 0 24px;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
}
.tg-r26 .tg-more__item:nth-child(5n + 1) { padding-left: 0; border-left: 0; }
.tg-r26 .tg-more__item:nth-child(5n) { padding-right: 0; }
/* Five entries, and never a row with an empty place: five across from 1100 px (one row);
   below it two across, the fifth on a row of its own across the tile; on phones (680 px and
   under) one under the other. */
@media (max-width: 1099px) {
  .tg-r26 .tg-more__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 0; }
  .tg-r26 .tg-more__item,
  .tg-r26 .tg-more__item:nth-child(5n + 1) { padding: 0 24px; border-left: 1px solid rgba(0, 0, 0, 0.1); }
  .tg-r26 .tg-more__item:nth-child(2n + 1) { padding-left: 0; border-left: 0; }
  .tg-r26 .tg-more__item:nth-child(2n) { padding-right: 0; }
  .tg-r26 .tg-more__item:last-child:nth-child(2n + 1) { grid-column: 1 / -1; padding-right: 0; }
}
.tg-r26 .tg-more__icon { display: block; color: var(--tg-blue); }
.tg-r26 .tg-more__name {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.33;
  letter-spacing: 0;
  color: var(--tg-ink);
}
.tg-r26 .tg-more__text {
  grid-column: 2;
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 1.43;
  color: var(--tg-muted);
  text-wrap: pretty;
}
.tg-r26 .tg-more__link {
  display: inline-block;
  padding-block: 10px;             /* 40 px for the finger, the line stays 18 px */
  margin-block: -10px;
  color: var(--tg-blue);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.tg-r26 .tg-more__link::after { content: " \203A"; }
.tg-r26 .tg-more__link:hover { text-decoration: underline; }

/* Recommended: one tile in the language of "Also built in" above it: the badge at its
   head, then a column per screen with a hairline between them; in each, the name and
   its line, and the small sticker(s) on the right, centred on the words. */
.tg-r26 .tg-setup .tg-reco {
  grid-column: 1 / -1;
  padding: 16px var(--tg-pad) 20px;
}
.tg-r26 .tg-reco__badge {
  display: table;                  /* as wide as its word */
  margin: 0 0 12px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.33;
  letter-spacing: 0;
  color: var(--tg-white);
  background: var(--tg-blue);
  border-radius: 999px;
}
.tg-r26 .tg-reco__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tg-r26 .tg-reco__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 24px;
  min-width: 0;
  margin: 0;
  padding: 0 24px;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
}
.tg-r26 .tg-reco__item:first-child { padding-left: 0; border-left: 0; }
.tg-r26 .tg-reco__item:last-child { padding-right: 0; }
.tg-r26 .tg-reco__copy { min-width: 0; }
.tg-r26 .tg-reco__name {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: 0;
  color: var(--tg-ink);
  text-wrap: balance;
}
.tg-r26 .tg-reco__text {
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 1.45;
  color: var(--tg-muted);
  text-wrap: pretty;
}
.tg-r26 .tg-reco__stickers { display: flex; gap: 4px; }

/* Small stickers: the round labels of the Gestures band, only smaller: the same fill,
   white words, turn (-8 deg, from the base rule in section 6) and drop shadow, and no
   inner edge. In the band they lie on near-black, which shows through the fill's last
   few per cent; the same near-black under the fill here gives the very same colour on
   the light tile (and white words at 6:1 on the blue, 5.8:1 on the red). */
.tg-r26 .tg-sticker.tg-sticker--sm {
  position: relative;
  top: auto;
  left: auto;
  flex-direction: column;
  width: 56px;
  height: 56px;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--tg-white);
  text-shadow: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.20);
}
.tg-r26 .tg-sticker--sm > span { display: block; }
.tg-r26 .tg-sticker--sm.tg-sticker--blue {
  background: linear-gradient(rgba(51, 102, 204, 0.90), rgba(51, 102, 204, 0.90)), var(--tg-dark-1);
}
.tg-r26 .tg-sticker--sm.tg-sticker--red {
  background: linear-gradient(rgba(208, 27, 45, 0.95), rgba(208, 27, 45, 0.95)), var(--tg-dark-1);
}

@media (max-width: 1024px) {
  .tg-r26 .tg-setup { --tg-section: 64px; --tg-head-gap: 24px; }
}

@media (max-width: 999px) {
  .tg-r26 .tg-setup { --tg-orb: 128px; }
  .tg-r26 .tg-setup .tg-fact,
  .tg-r26 .tg-setup .tg-fact--small { grid-column: span 6; }
  .tg-r26 .tg-setup .tg-fact--small + .tg-fact--small { grid-column: span 5; }
  .tg-r26 .tg-setup .tg-assign { grid-column: span 7; column-gap: 20px; }
}
/* Under 1000 px the two screens one above the other, a hairline between them. */
@media (max-width: 999px) {
  .tg-r26 .tg-reco__list { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .tg-r26 .tg-reco__item,
  .tg-r26 .tg-reco__item:first-child,
  .tg-r26 .tg-reco__item:last-child { padding: 0; border-left: 0; }
  .tg-r26 .tg-reco__item + .tg-reco__item { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(0, 0, 0, 0.1); }
}
/* 1000-1199 px: the small tiles are too narrow for "Ultra-fast by design." on one line.
   A word kept whole (.tg-nb--word: "Ultra-fast", "touch-screens") still never breaks at
   its hyphen. */
@media (min-width: 1000px) and (max-width: 1199px) {
  .tg-r26 .tg-setup .tg-fact--small .tg-tile__title .tg-nb:not(.tg-nb--word) { white-space: normal; }
}

@media (max-width: 768px) {
  .tg-r26 .tg-setup { --tg-section: 56px; --tg-head-gap: 24px; --tg-pad: 20px; }
}

/* One column; the orb beside its text. */
@media (max-width: 680px) {
  .tg-r26 .tg-setup .tg-fact,
  .tg-r26 .tg-setup .tg-fact--small,
  .tg-r26 .tg-setup .tg-fact--small + .tg-fact--small,
  .tg-r26 .tg-setup .tg-assign { grid-column: 1 / -1; }
  /* Phones: closer tiles, so the section stays short. */
  .tg-r26 .tg-setup { --tg-gap: 12px; }
  .tg-r26 .tg-fact { padding-block: 18px 20px; }
  .tg-r26 .tg-setup .tg-assign { column-gap: 16px; padding-block: 16px; }
  .tg-r26 .tg-setup .tg-reco { padding: 16px var(--tg-pad) 18px; }
  /* Each screen: the name beside its sticker(s), the line under both, across the tile. */
  .tg-r26 .tg-reco__item { column-gap: 16px; }
  .tg-r26 .tg-reco__copy { display: contents; }
  .tg-r26 .tg-reco__name { grid-column: 1; grid-row: 1; }
  .tg-r26 .tg-reco__stickers { grid-column: 2; grid-row: 1; }
  .tg-r26 .tg-reco__text { grid-column: 1 / -1; grid-row: 2; margin-top: 4px; font-size: 14px; line-height: 1.43; }
  .tg-r26 .tg-setup .tg-tile__text { font-size: 14px; line-height: 1.43; }
  .tg-r26 .tg-setup .tg-more { padding: 16px var(--tg-pad) 18px; }
  .tg-r26 .tg-more__list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .tg-r26 .tg-more__item,
  .tg-r26 .tg-more__item:nth-child(n) { padding: 0; border-left: 0; }
}
/* The smallest phones: the long name ("VCHANCE Portable Monitors and similar") takes the
   tile's width, and the stickers go under it, so it keeps to two lines. */
@media (max-width: 379px) {
  .tg-r26 .tg-reco__name { grid-column: 1 / -1; }
  .tg-r26 .tg-reco__stickers { grid-column: 1 / -1; grid-row: 2; margin-top: 8px; }
  .tg-r26 .tg-reco__text { grid-row: 3; }
}

/* Phones: the orb above its text, centred, so the words get the tile's full width. */
@media (max-width: 479px) {
  .tg-r26 .tg-setup .tg-assign { grid-template-columns: minmax(0, 1fr); row-gap: 4px; justify-items: center; text-align: center; padding-block: 12px 20px; }
  .tg-r26 .tg-setup .tg-assign .tg-tile__text { margin-inline: auto; }
  /* Smaller stickers, so the screen's name keeps the room beside them. */
  .tg-r26 .tg-sticker.tg-sticker--sm { width: 48px; height: 48px; font-size: 11px; }
}
/* The narrowest phones: the titles keep their two sentences whole ("Ultra-fast"
   must not break at its hyphen). */
@media (max-width: 359px) {
  .tg-r26 .tg-setup .tg-tile__title .tg-nb { white-space: nowrap; }
}

/* ---------- 9. Customers' own words (in place of the old proof strip) ---------- */
/* A short light band with soft colour in it: the hero's pale blue-grey, lit by
   four wide glows in the hues of the site's rainbow hairline (blue, violet,
   cyan, a touch of pink). It rises out of the white band above and settles
   at its foot into the plain blue-grey the pricing band starts with, so it
   meets both without a seam. The cards drift slowly sideways in one seamless
   loop that is full from the first frame (js/quotes-2611.js copies the cards,
   centres the first one and adds .is-looping); without the script, and under
   reduced motion, the row is a plain row that scrolls by hand and starts on
   the page's text edge. A long quote gets a wider card, so it keeps to a few
   lines and the band stays low. */
.tg-r26 .tg-quotes {
  --tg-quote-w: 400px;
  --tg-quote-w-wide: 560px;
  --tg-quote-gap: 20px;
  --tg-quotes-fade: min(120px, 8%);
  position: relative;              /* holds the hidden symbols (.tg-vh is absolute) */
  overflow: hidden;
  padding: 64px 0 40px;
  background:
    linear-gradient(to bottom, rgba(238, 241, 248, 0) 80%, #EEF1F8 100%),
    radial-gradient(ellipse 42% 80% at 6% 10%, rgba(51, 102, 204, 0.26), transparent 70%),
    radial-gradient(ellipse 38% 75% at 94% 16%, rgba(122, 108, 255, 0.24), transparent 70%),
    radial-gradient(ellipse 46% 70% at 66% 100%, rgba(76, 201, 240, 0.26), transparent 72%),
    radial-gradient(ellipse 32% 60% at 28% 96%, rgba(224, 94, 255, 0.14), transparent 72%),
    linear-gradient(to bottom, #F2F4FA 0%, #ECEFF7 100%);
}
/* One soft ribbon of the same hues sweeps behind the cards, slightly tilted, its
   edges fading into the band. Still: only the cards move. */
.tg-r26 .tg-quotes::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: -10%;
  right: -10%;
  top: calc(50% - 100px);
  height: 260px;
  pointer-events: none;
  transform: rotate(-5deg);
  background: linear-gradient(90deg,
    rgba(51, 102, 204, 0) 0%, rgba(51, 102, 204, 0.40) 16%, rgba(122, 108, 255, 0.44) 38%,
    rgba(76, 201, 240, 0.42) 62%, rgba(224, 94, 255, 0.30) 84%, rgba(224, 94, 255, 0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 40%, #000 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 40%, #000 60%, transparent 100%);
}
/* The band's two edges, laid over the glows and the ribbon (under the words
   and the cards): white melts into the band over the first 64 px, and the
   last 64 px settle into the plain blue-grey, so no colour reaches either
   edge. */
.tg-r26 .tg-quotes::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, #FFFFFF, rgba(255, 255, 255, 0)) top / 100% 64px no-repeat,
    linear-gradient(to bottom, rgba(238, 241, 248, 0), #EEF1F8) bottom / 100% 64px no-repeat;
}
.tg-r26 .tg-quotes > .container,
.tg-r26 .tg-quotes__row { z-index: 1; }
.tg-r26 .tg-quotes > .container { position: relative; }
.tg-r26 .tg-quotes__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 12px;
}
/* A title a step under the page's chapters: this band is a pause, not a chapter. */
.tg-r26 .tg-quotes .tg-h2 { font-size: 36px; line-height: 1.11; }
/* Where the words come from, said once and quietly. */
.tg-r26 .tg-quotes__source {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.43;
  color: var(--tg-muted);
  text-wrap: balance;
}

/* Without the loop (reduced motion) the row scrolls by hand: two arrows move
   it by one card (js/quotes-2611.js adds them). */
.tg-r26 .tg-quotes__ctrl { display: flex; flex: none; gap: 8px; }
.tg-r26 .tg-quotes__arrow {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(20, 30, 60, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  color: var(--tg-ink);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.tg-r26 .tg-quotes__arrow:hover { background: var(--tg-white); border-color: rgba(20, 30, 60, 0.2); }
.tg-r26 .tg-quotes__arrow:disabled,
.tg-r26 .tg-quotes__arrow:disabled:hover {
  opacity: 0.4;
  cursor: default;
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(20, 30, 60, 0.12);
}
.tg-r26 .tg-quotes__arrow svg { display: block; }

/* The row: the full width of the page. A scrolling or masked row clips
   whatever leaves it, so it keeps room for the cards' shadows inside it
   (16 px above, 32 below; the negative margin keeps the spacing above).
   By hand it scrolls, the first card on the page's text edge. */
.tg-r26 .tg-quotes__row {
  --tg-quotes-inset: max(16px, calc(50% - 584px));
  position: relative;
  margin-top: -8px;
  padding: 16px 0 32px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--tg-quotes-inset);
  scrollbar-width: none;
}
.tg-r26 .tg-quotes__row::-webkit-scrollbar { display: none; }
.tg-r26 .tg-quotes__row:focus-visible { outline: 2px solid #1A2550; outline-offset: -2px; }
.tg-r26 .tg-quotes__track {
  display: flex;
  align-items: stretch;
  width: max-content;
  padding-inline: var(--tg-quotes-inset) calc(var(--tg-quotes-inset) - var(--tg-quote-gap));
}

/* Looping: cards from edge to edge from the first frame, the first card in
   the middle. The track moves by exactly one set of cards per loop at a
   reading pace the script sets, and does not stop under the pointer. A click
   or tap stops it (.is-paused), and so does keyboard focus on the row. The
   edges fade so a card glides in and out instead of being cut. */
.tg-r26 .tg-quotes__row.is-looping {
  overflow: hidden;
  scroll-snap-type: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--tg-quotes-fade), #000 calc(100% - var(--tg-quotes-fade)), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 var(--tg-quotes-fade), #000 calc(100% - var(--tg-quotes-fade)), transparent 100%);
}
.tg-r26 .tg-quotes__row.is-looping .tg-quotes__track {
  padding-inline: 0;
  transform: translate3d(var(--tg-quotes-from, 0px), 0, 0);
  animation: tg-quotes-loop var(--tg-quotes-loop, 100s) linear infinite;
  will-change: transform;
}
.tg-r26 .tg-quotes__row.is-looping:focus-visible .tg-quotes__track,
.tg-r26 .tg-quotes__row.is-paused .tg-quotes__track,
.tg-r26 .tg-quotes__row.is-away .tg-quotes__track { animation-play-state: paused; }
@keyframes tg-quotes-loop {
  from { transform: translate3d(var(--tg-quotes-from, 0px), 0, 0); }
  to { transform: translate3d(var(--tg-quotes-to, -50%), 0, 0); }
}
/* Safari, while the page scrolls: js/quotes-2611.js moves the track itself,
   frame by frame, from where the CSS loop was, along the same path at the same
   pace (.is-driven); the CSS loop is off until the scrolling ends. */
.tg-r26 .tg-quotes__row.is-looping.is-driven .tg-quotes__track { animation: none; }

/* A card: white, a little see-through so the glow warms it, a hairline and a
   soft lift. The mark (stars as given, or a speech bubble for a message) sits
   on one 16 px line, so every quote starts at the same height. */
.tg-r26 .tg-quote {
  --tg-q-in: 0s;                   /* the entrance's delay (set per card by the script) */
  position: relative;
  flex: none;
  display: flex;
  flex-direction: column;
  width: var(--tg-quote-w);
  margin: 0 var(--tg-quote-gap) 0 0;
  padding: 16px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(20, 30, 60, 0.05),
    0 8px 24px rgba(20, 30, 60, 0.08);
  scroll-snap-align: start;
}
.tg-r26 .tg-quote__mark {
  display: flex;
  align-items: center;
  height: 16px;
  margin: 0 0 10px;
  color: var(--tg-ink);
}
.tg-r26 .tg-quote__stars { display: block; fill: currentColor; }
.tg-r26 .tg-quote__note {
  display: block;
  fill: none;
  stroke: var(--tg-muted);
  stroke-width: 1.4;
  stroke-linejoin: round;
}
.tg-r26 .tg-quote__words { margin: 0; padding: 0; border: 0; }
.tg-r26 .tg-quote__words p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.44;
  letter-spacing: -0.005em;
  color: var(--tg-ink);
  text-indent: -0.42em;            /* the opening mark hangs: the words line up */
  text-wrap: pretty;
}
.tg-r26 .tg-quote--wide { width: var(--tg-quote-w-wide); }
/* A one-word post: a card as narrow as its words and its name. */
.tg-r26 .tg-quote--short { width: max-content; min-width: 200px; max-width: var(--tg-quote-w); }
/* A rating that came without words: a small pill with the stars and where
   they come from, centred on the row between two quotes. */
.tg-r26 .tg-quote--chip {
  align-self: center;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  width: max-content;
  padding: 12px 20px;
  border-radius: 999px;
}
.tg-r26 .tg-quote--chip .tg-quote__mark { margin: 0; }
.tg-r26 .tg-quote--chip .tg-quote__who { margin: 0; padding: 0; white-space: nowrap; }
.tg-r26 .tg-quote__who {
  margin-top: auto;
  padding-top: 12px;
  font-size: 13px;
  line-height: 1.38;
  color: var(--tg-muted);
}
/* A public post names its poster as posted and links to the post. */
.tg-r26 .tg-quote__src {
  display: inline-block;
  padding-block: 12px;             /* 40 px for the finger, the line stays 16 px */
  margin-block: -12px;
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(110, 110, 115, 0.4);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.tg-r26 .tg-quote__src:hover { color: var(--tg-blue); text-decoration-color: currentColor; }
.tg-r26 .tg-quote__src:focus-visible { outline: 2px solid var(--tg-blue); outline-offset: 2px; border-radius: 4px; }

/* The entrance, once, as the band is reached: the Tools tiles' reveal (section 7).
   The title and its line rise out of a soft blur; then the cards in view follow
   from left to right, 0.1 s apart, each rising from scale 0.97 out of the blur
   while a light runs once along its edge (about 1.9 s in all). js/quotes-2611.js
   holds the cards back (.is-ready) until the title's own reveal, gives each card
   in view its delay and lets them in (.is-in); without the script the cards are
   simply there. With reduced motion all of it is simply there. */
.tg-r26 .tg-quote::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(105deg, rgba(51, 102, 204, 0) 36%, rgba(51, 102, 204, 0.3) 44%, rgba(51, 102, 204, 0.75) 50%, rgba(51, 102, 204, 0.3) 56%, rgba(51, 102, 204, 0) 64%) 100% 0 / 300% 100% no-repeat;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .tg-r26 .tg-quotes__head.reveal {
    transform: translateY(32px) scale(0.97);
    transform-origin: 0 100%;
    filter: blur(10px);
    transition:
      opacity 0.8s cubic-bezier(0.33, 0, 0.2, 1),
      transform 1.3s cubic-bezier(0.16, 1, 0.3, 1),
      filter 1s cubic-bezier(0.2, 0.7, 0.3, 1);
  }
  .tg-r26 .tg-quotes__head.reveal.visible { transform: none; filter: none; }
  .tg-r26 .tg-quotes.is-ready .tg-quote {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
    filter: blur(10px);
    transition:
      opacity 0.8s cubic-bezier(0.33, 0, 0.2, 1) var(--tg-q-in),
      transform 1.3s cubic-bezier(0.16, 1, 0.3, 1) var(--tg-q-in),
      filter 1s cubic-bezier(0.2, 0.7, 0.3, 1) var(--tg-q-in);
  }
  .tg-r26 .tg-quotes.is-ready.is-in .tg-quote { opacity: 1; transform: none; filter: none; }
  .tg-r26 .tg-quotes.is-ready.is-in .tg-quote:not(.is-late)::after {
    animation: tg-quote-gleam 1.3s cubic-bezier(0.45, 0, 0.3, 1) calc(var(--tg-q-in) + 0.1s) backwards;
  }
}
@keyframes tg-quote-gleam {
  0% { opacity: 0; background-position: 100% 0; }
  20%, 70% { opacity: 1; }
  100% { opacity: 0; background-position: 0% 0; }
}

@media (max-width: 1024px) {
  .tg-r26 .tg-quotes .tg-h2 { font-size: 30px; line-height: 1.13; }
}
@media (max-width: 768px) {
  .tg-r26 .tg-quotes { --tg-quote-w: 300px; --tg-quote-w-wide: min(440px, calc(100vw - 32px)); --tg-quote-gap: 12px; --tg-quotes-fade: 24px; padding: 56px 0 32px; }
  .tg-r26 .tg-quotes .tg-h2 { font-size: 26px; line-height: 1.15; }
  .tg-r26 .tg-quotes__head { margin-bottom: 8px; }
  .tg-r26 .tg-quote { padding: 16px 20px; border-radius: var(--tg-radius); }
  .tg-r26 .tg-quote--chip { padding: 10px 16px; border-radius: 999px; }
}
@media (max-width: 400px) {
  .tg-r26 .tg-quotes { --tg-quote-w: min(280px, calc(100vw - 72px)); }
}

/* ---------- 10. Pricing and questions ---------- */
/* The hero's light stage behind the offer, turned upside down: the blue-grey
   at the top, where the quotes band ends in the same tone, and a clear rise
   to pure white at the bottom edge, so the
   section meets the white notice below without a seam. A white glow sits
   under the card. The card keeps one width at every window size (464 px, or
   the screen on a phone) and carries the live site's shadow. A wide gutter
   separates it from the questions. Generous room above and below. */
.tg-r26 .tg-pricing {
  --tg-price-card: 464px;
  position: relative;
  padding-block: 88px;
  background:
    radial-gradient(ellipse 40% 42% at 22% 50%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.35) 40%, transparent 70%),
    linear-gradient(to bottom, #EEF1F8 0%, #F6F8FC 40%, #FFFFFF 88%, #FFFFFF 100%);
}
.tg-r26 .tg-pricing .pricing-faq-split {
  display: grid;
  grid-template-columns: var(--tg-price-card) minmax(0, 1fr);
  gap: 0 clamp(64px, 9vw, 128px);
  align-items: start;
  max-width: none;
  margin: 0;
}
.tg-r26 .tg-pricing .pricing-faq-split__offer { justify-self: stretch; max-width: none; padding: 0; }
.tg-r26 .tg-pricing .pricing-faq-split__faq { max-width: none; margin: 0; }

/* Two headings side by side: the left one takes two lines, "Questions" sits
   on the lower line, so the card and the first question start level. */
.tg-r26 .tg-pricing .tg-h2,
.tg-r26 .faq-minimal__title { margin-bottom: min(var(--tg-head-gap), 32px); }
.tg-r26 .tg-pricing .tg-h2 .tg-nb { display: block; }
.tg-r26 .faq-minimal__title { padding-top: 1.1em; padding-top: 1lh; }

/* The card: white, the live site's hairline and shadow. The price and the
   blue Buy Now button carry it; everything else is quiet. */
.tg-r26 .tg-pricing .pricing-tiers--single {
  width: var(--tg-price-card);
  max-width: 100%;
  margin: 0;
}
.tg-r26 .tg-pricing .pricing-tier {
  padding: var(--tg-pad);
  border: 1px solid rgba(31, 42, 71, 0.11);
  border-radius: var(--tg-radius);
  background: var(--tg-white);
  color: var(--tg-ink);
  box-shadow: 0 18px 40px rgba(31, 42, 71, 0.08);
}
/* The card's top: the introductory badges on their own line, then the name. */
.tg-r26 .tg-tier-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
/* The seal: the badge the app shows once it is licensed, pinned over the card's top
   edge at the right with its ribbon on the card, like the Gestures tiles' stickers.
   It takes no room from the badges; smaller on phones, where they reach further. */
.tg-r26 .tg-tier-seal {
  position: absolute;
  top: -18px;
  right: 22px;
  width: 44px;
  height: auto;
  filter: drop-shadow(0 6px 10px rgba(51, 102, 204, 0.22));
  pointer-events: none;
}
@media (max-width: 680px) {
  .tg-r26 .tg-tier-seal { top: -32px; right: 16px; width: 34px; }   /* its ribbon ends above the badges */
}

/* The entrance, once, as the block is reached: the Tools tiles' reveal (section 7).
   The block (.pricing-faq-split) stays in place while its parts rise out of a soft blur in
   turn: the heading, the card (a light runs once along its edge), then the questions. Last,
   the seal comes down onto the card like a stamp: the card gives a little under it (it dips
   3 px and springs back), and as the seal settles a narrow light glints across it once,
   like foil catching the light (about 2.1 s in all). The card does not zoom
   as the Tools tiles do: the Buy Now button's glass effect measures the button when the page
   loads, and a scaled card would give it the wrong size. With reduced motion all of it is
   simply there. */
.tg-r26 .tg-pricing .pricing-tier::after {
  content: "";
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
/* The light along the edge: as on the Tools tiles. */
.tg-r26 .tg-pricing .pricing-tier::after {
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(105deg, rgba(51, 102, 204, 0) 36%, rgba(51, 102, 204, 0.3) 44%, rgba(51, 102, 204, 0.75) 50%, rgba(51, 102, 204, 0.3) 56%, rgba(51, 102, 204, 0) 64%) 100% 0 / 300% 100% no-repeat;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
/* The glint: a narrow white light laid over the seal, cut to its shape by the seal's own picture. */
.tg-r26 .tg-pricing .pricing-tier::before {
  content: "";
  position: absolute;
  top: -18px;
  right: 22px;
  z-index: 1;                                /* above the seal */
  width: 44px;
  height: calc(44px * 333 / 235);            /* the seal's height (its picture is 235 x 333) */
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 44%, rgba(255, 255, 255, 0.16) 46.5%, rgba(255, 255, 255, 0.55) 48.6%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0.55) 51.4%, rgba(255, 255, 255, 0.16) 53.5%, rgba(255, 255, 255, 0) 56%) 100% 100% / 200% 200% no-repeat;
  -webkit-mask-image: url(../img/licensed-badge.png?v=272316edb0);
  mask-image: url(../img/licensed-badge.png?v=272316edb0);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  opacity: 0;
  pointer-events: none;
}
@media (max-width: 680px) {
  .tg-r26 .tg-pricing .pricing-tier::before { top: -32px; right: 16px; width: 34px; height: calc(34px * 333 / 235); }   /* over the smaller seal */
}
@media (prefers-reduced-motion: no-preference) {
  .tg-r26 .tg-pricing .pricing-faq-split.reveal { opacity: 1; transform: none; transition: none; }
  .tg-r26 .tg-pricing .pricing-faq-split.reveal .tg-h2,
  .tg-r26 .tg-pricing .pricing-faq-split.reveal .pricing-tier,
  .tg-r26 .tg-pricing .pricing-faq-split.reveal .pricing-faq-split__faq {
    opacity: 0;
    transform: translateY(32px);
    filter: blur(10px);
    transition:
      opacity 0.8s cubic-bezier(0.33, 0, 0.2, 1) var(--tg-p-in, 0s),
      transform 1.3s cubic-bezier(0.16, 1, 0.3, 1) var(--tg-p-in, 0s),
      filter 1s cubic-bezier(0.2, 0.7, 0.3, 1) var(--tg-p-in, 0s);
  }
  .tg-r26 .tg-pricing .pricing-faq-split.reveal .pricing-tier { --tg-p-in: 0.14s; }
  .tg-r26 .tg-pricing .pricing-faq-split.reveal .pricing-faq-split__faq { --tg-p-in: 0.28s; }
  .tg-r26 .tg-pricing .pricing-faq-split.reveal.visible .tg-h2,
  .tg-r26 .tg-pricing .pricing-faq-split.reveal.visible .pricing-tier,
  .tg-r26 .tg-pricing .pricing-faq-split.reveal.visible .pricing-faq-split__faq { opacity: 1; transform: none; filter: none; }
  .tg-r26 .tg-pricing .pricing-faq-split.reveal.visible .pricing-tier::after {
    animation: tt-gleam 1.3s cubic-bezier(0.45, 0, 0.3, 1) 0.24s backwards;
  }
  .tg-r26 .tg-pricing .pricing-faq-split.reveal:not(.visible) .tg-tier-seal { opacity: 0; }
  .tg-r26 .tg-pricing .pricing-faq-split.reveal.visible .tg-tier-seal {
    transform-origin: 50% 35%;          /* the middle of its round part */
    animation: tg-seal-stamp 0.62s linear 1.2s backwards;
  }
  .tg-r26 .tg-pricing .pricing-faq-split.reveal.visible .pricing-tier::before {
    transform-origin: 50% 35%;          /* as the seal's */
    animation:
      tg-seal-stamp 0.62s linear 1.2s backwards,                          /* moves with the seal, so the light keeps to its shape */
      tg-seal-glint 0.55s cubic-bezier(0.37, 0, 0.63, 1) 1.55s backwards;  /* the light, as the seal settles */
  }
  /* The card gives as the seal touches it (1.49 s, after the card's own rise has ended). */
  .tg-r26 .tg-pricing .pricing-faq-split.reveal.visible .pricing-tier {
    animation: tg-card-press 0.38s linear 1.49s;
  }
}
/* Held above the card, larger, turned and faint in its shadow; it comes down fast, presses
   in (a little small, the shadow tight), springs back and settles as it was. */
@keyframes tg-seal-stamp {
  0% {
    opacity: 0;
    transform: translateY(-14px) scale(2.2) rotate(-16deg);
    filter: drop-shadow(0 24px 16px rgba(51, 102, 204, 0.1));
    animation-timing-function: cubic-bezier(0.55, 0, 0.85, 0.4);
  }
  20% { opacity: 1; }
  48% {
    transform: translateY(0) scale(0.9) rotate(2deg);
    filter: drop-shadow(0 1px 2px rgba(51, 102, 204, 0.45));
    animation-timing-function: cubic-bezier(0.2, 0.8, 0.35, 1);
  }
  74% { transform: scale(1.04) rotate(-0.6deg); animation-timing-function: ease-in-out; }
  100% {
    opacity: 1;
    transform: none;
    filter: drop-shadow(0 6px 10px rgba(51, 102, 204, 0.22));
  }
}
/* The light crosses the seal once, top left to bottom right, and fades (filter: none keeps the stamp's shadow off it). */
@keyframes tg-seal-glint {
  0% { opacity: 0; filter: none; background-position: 100% 100%; }
  25%, 60% { opacity: 1; }
  100% { opacity: 0; filter: none; background-position: 0% 0%; }
}
/* Pressed by the seal: the card dips 3 px at once, springs back a hair past its place
   and settles where it was. */
@keyframes tg-card-press {
  0% { transform: none; animation-timing-function: cubic-bezier(0.25, 0.8, 0.45, 1); }
  14% { transform: translateY(3px); animation-timing-function: cubic-bezier(0.37, 0, 0.63, 1); }
  47% { transform: translateY(-0.6px); animation-timing-function: cubic-bezier(0.37, 0, 0.63, 1); }
  100% { transform: none; }
}
.tg-r26 .tg-pricing .pricing-tier__name {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: 0;
  text-transform: none;
  color: var(--tg-ink);
}
/* The badge as the live site shows it: small capitals, a muted green on a
   light green tint with a hairline. */
.tg-r26 .tg-pricing .pricing-tier__badge-row { gap: 8px; margin: 0; }
.tg-r26 .tg-pricing .pricing-tier__badge {
  padding: 4px 12px;
  border: 1px solid rgba(16, 185, 129, 0.26);
  border-radius: 980px;
  background: rgba(16, 185, 129, 0.1);
  box-shadow: none;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #047857;
}
/* "Limited time": the live site's blue (option-c.css), above the green rule. */
.tg-r26 .tg-pricing .pricing-tier__badge--limited {
  border-color: rgba(51, 102, 204, 0.22);
  background: rgba(51, 102, 204, 0.08);
  color: var(--color-accent);
}
.tg-r26 .tg-pricing .pricing-tier__price-row { align-items: baseline; gap: 12px; margin-bottom: 4px; }
.tg-r26 .tg-pricing .pricing-tier__price-new { font-size: 48px; color: var(--tg-ink); }
/* The regular price ("struck" display only): a sibling of the live price,
   grey, on the same baseline, struck with a line of its own colour. */
.tg-r26 .tg-pricing .pricing-tier__price-regular {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--tg-muted);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: currentColor;
}
.tg-r26 .tg-price-note {
  display: none;
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--tg-muted);
  text-wrap: pretty;
}
.tg-r26 .tg-pricing .pricing-tier[data-price-display="struck"] .tg-price-note--struck { display: block; }
.tg-r26 .tg-pricing .pricing-tier:not([data-price-display="struck"]) .pricing-tier__price-regular,
.tg-r26 .tg-pricing .pricing-tier:not([data-price-display="struck"]) .tg-price-regular-label { display: none; }
/* What the licence covers, right under the price. */
.tg-r26 .tg-price-includes {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  color: var(--tg-ink);
  text-wrap: pretty;
}

/* Four ticks, one under the other. */
.tg-r26 .tg-checks {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin: 16px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--tg-line-light);
  list-style: none;
}
.tg-r26 .tg-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  line-height: 1.33;
  color: var(--tg-ink);
}
.tg-r26 .tg-checks__tick { flex: none; color: var(--tg-blue); }
.tg-r26 .tg-pricing .pricing-tier__cta { margin-top: 20px; box-shadow: none !important; }
/* Buy Now is solid blue (style.css, #pricing .btn--primary.liquid-glass), so the glass that
   js/liquid-glass-lib.min.js gives every .liquid-glass element (a blur in Safari, an SVG
   filter in Chrome) never shows on it, yet the browser redraws that hidden backdrop on every
   frame the button moves, so on every frame of a scroll. The button keeps its own layer, as
   the glass gave it, and looks exactly the same. */
.tg-r26 .tg-pricing .pricing-tier__cta.liquid-glass {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  will-change: transform;
}

/* The small print under the button: the licence line in the card's muted
   text; under a hairline, the hardware condition as a quiet note with an
   info mark, a size smaller and a cooler grey. Both centred. */
.tg-r26 .tg-fine { margin-top: 12px; }
.tg-r26 .tg-fine p {
  margin: 0;
  font-size: 13px;
  line-height: 1.46;
  color: var(--tg-muted);
  text-align: center;
  text-wrap: balance;
}
.tg-r26 .tg-fine .tg-fine__note {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--tg-line-light);
  font-size: 12px;
  line-height: 1.5;
  color: #5E6880;
}
.tg-r26 .tg-fine__icon {
  display: inline-block;
  margin: 0 6px 0 0;
  vertical-align: -2px;
  color: #8A93A8;
}

/* Business pricing: the card's own foot, shown when the server says so. */
.tg-r26 .tg-pricing .tg-business {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px 6px;
  margin: 20px calc(-1 * var(--tg-pad)) calc(-1 * var(--tg-pad));
  padding: 16px var(--tg-pad);
  border-top: 1px solid var(--tg-line-light);
  border-radius: 0 0 calc(var(--tg-radius) - 1px) calc(var(--tg-radius) - 1px);
  background: var(--tg-light);
  font-size: 14px;
  line-height: 1.43;
  text-align: center;
  color: var(--tg-muted);
}
.tg-r26 .tg-pricing .tg-business a {
  display: inline-block;
  padding-block: 10px;            /* 40 px for the finger, the line stays 20 px */
  margin-block: -10px;
  color: var(--tg-blue);
  font-weight: 500;
  white-space: nowrap;
}

/* Questions: hairlines that end on the column's edges, no tinted surfaces. The edge colour
   is the one the row has under the pointer (below), so moving onto a row changes nothing
   that has to be redrawn: Safari compares all four edge colours, even those not drawn. */
.tg-r26 .tg-pricing .pricing-faq-split__faq .faq__item {
  margin-inline: 0;
  padding-inline: 0;
  border-color: var(--tg-line-light);
  border-bottom: 1px solid var(--tg-line-light);
  border-radius: 0;
  background: transparent;
}
.tg-r26 .tg-pricing .pricing-faq-split__faq .faq__item:first-of-type { border-top: 1px solid var(--tg-line-light); }
.tg-r26 .tg-pricing .pricing-faq-split__faq .faq__item:hover,
.tg-r26 .tg-pricing .pricing-faq-split__faq .faq__item[open] { background: transparent; border-color: var(--tg-line-light); }
.tg-r26 .tg-pricing .pricing-faq-split__faq .faq__question {
  gap: 16px;
  padding: 18px 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--tg-ink);
  text-wrap: balance;
}
.tg-r26 .tg-pricing .pricing-faq-split__faq .faq__item[open] .faq__question { color: var(--tg-ink); }
.tg-r26 .tg-pricing .pricing-faq-split__faq .faq__question:hover { color: var(--tg-blue); }
/* While the page scrolls (js/main.js, section 3b): the question that was lit when the scroll
   began stays lit, and the questions that pass under a resting pointer do not light up. Each
   would fade its colour in and out (0.3 s) and redraw its row, with the section's gradients
   under it, on every frame of the scroll. The pointer's row lights up when the page rests. */
.tg-r26 .tg-pricing .pricing-faq-split__faq.is-page-scrolling .faq__question:hover { color: var(--tg-ink); }
.tg-r26 .tg-pricing .pricing-faq-split__faq.is-page-scrolling .faq__item:not([open]) > .faq__question.is-lit { color: var(--tg-blue); }
.tg-r26 .tg-pricing .pricing-faq-split__faq .faq__chevron { color: var(--tg-muted); }
.tg-r26 .tg-pricing .pricing-faq-split__faq .faq__item[open] .faq__chevron { color: var(--tg-ink); }
.tg-r26 .tg-pricing .pricing-faq-split__faq .faq__answer { padding-bottom: 18px; }
.tg-r26 .tg-pricing .pricing-faq-split__faq .faq__answer p {
  max-width: 62ch;
  font-size: 15px;
  line-height: 1.55;
  color: var(--tg-muted);
  text-wrap: pretty;
}

/* Under 960 px the questions would get too narrow beside the card: one
   column, the questions under the offer, the card still 464 px (the glow
   follows it: 16 px gutter + half the card). */
@media (max-width: 959px) {
  .tg-r26 .tg-pricing .pricing-faq-split { grid-template-columns: minmax(0, 1fr); }
  .tg-r26 .tg-pricing .tg-h2 { margin-bottom: var(--tg-head-gap); }
  .tg-r26 .tg-pricing .tg-h2 .tg-nb { display: inline; }
  .tg-r26 .tg-pricing .faq-minimal__title { padding-top: 0; margin-top: var(--tg-section); }
  .tg-r26 .tg-pricing {
    background:
      radial-gradient(ellipse 80% 22% at 248px 30%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.35) 40%, transparent 70%),
      linear-gradient(to bottom, #EEF1F8 0%, #F6F8FC 25%, #FFFFFF 60%, #FFFFFF 100%);
  }
}
@media (max-width: 768px) {
  .tg-r26 .tg-pricing { padding-block: 64px; }
  .tg-r26 .tg-pricing .pricing-tier__price-new { font-size: 40px; }
  .tg-r26 .tg-pricing .pricing-tier__price-regular { font-size: 18px; }
}

/* ---------- 11. Trademarks and footer ---------- */
/* The notice: one block, one column, the full width of the page grid. */
.tg-r26 .trademarks-notice { padding: 24px 0; }
.tg-r26 .trademarks-notice p {
  max-width: none;
  margin: 0;
  columns: auto;
  font-size: 12px;
  line-height: 1.5;
  color: var(--tg-muted);
  opacity: 1;
  text-wrap: pretty;
}

.tg-r26 .footer.footer--light {
  background: var(--tg-dark-1) !important;
  padding: 64px 0 32px !important;
  color: var(--tg-on-dark-2);
  --color-text: #F5F5F7;
  --color-text-muted: #A1A1A6;
  --color-border: rgba(255, 255, 255, 0.10);
  --color-bg: #1D1D1F;
  --color-bg-alt: #2A2A2D;
}
.tg-r26 .footer__main {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--tg-gap);
  margin-bottom: 48px;
}
.tg-r26 .footer__brand { grid-column: span 6; gap: 12px; }
.tg-r26 .footer__links-col { grid-column: span 3; gap: 8px; }
.tg-r26 .footer__logo-row { gap: 12px; }
.tg-r26 .footer__logo-row img { filter: none; }
.tg-r26 .footer__logo-row strong { font-size: 17px; line-height: 1.24; letter-spacing: 0; color: var(--tg-on-dark-1); }
.tg-r26 .footer__ver { top: 1px; font-size: 12px; color: var(--tg-on-dark-3); opacity: 1; }
/* "Notarized by Apple" under the tagline: the hero chip's words and shield, small and quiet. */
.tg-r26 .footer__brand p.footer__notary {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--tg-on-dark-3);
}
.tg-r26 .footer__notary-icon { flex: none; }
.tg-r26 .footer__brand p.footer__desc {
  max-width: 26em;
  text-wrap: balance;
  font-size: 14px;
  line-height: 1.43;
  color: var(--tg-on-dark-2);
  opacity: 1;
}
.tg-r26 .footer__links-col strong {
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.43;
  letter-spacing: 0;
  text-transform: none;
  color: var(--tg-on-dark-1);
}
.tg-r26 .footer__links-col a { font-size: 14px; line-height: 1.43; color: var(--tg-on-dark-2); }
.tg-r26 .footer__links-col a:hover { color: var(--tg-on-dark-1); }
.tg-r26 .footer__bar {
  gap: 8px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--tg-line-dark);
  font-size: 12px;
  line-height: 1.33;
  color: var(--tg-on-dark-2);
}
.tg-r26 .footer__legal a { color: var(--tg-on-dark-2); text-decoration: none; }
.tg-r26 .footer__legal a:hover { color: var(--tg-on-dark-1); }

/* ---------- 12. Keyboard focus on dark surfaces ---------- */
/* The site's ring is navy (#1A2550): invisible on near-black. */
.tg-r26 .tg-chapter--dark a:focus-visible,
.tg-r26 .tg-chapter--dark button:focus-visible,
.tg-r26 .tg-tile--ink a:focus-visible,
.tg-r26 .tg-tile--ink button:focus-visible,
.tg-r26 .footer a:focus-visible,
.tg-r26 .footer button:focus-visible {
  outline: 2px solid var(--tg-on-dark-1);
  outline-offset: 3px;
}

/* ---------- 13. Tablet and phone ---------- */
/* From 1000 to 1100 px the hero's columns are 1.35 : 0.65 with a 2rem gap; the
   pill follows the right-hand column, still out of the flow. */
@media (max-width: 1100px) {
  .tg-r26 .tg-news { left: calc(16px + (100% - 64px) * 0.675 + 2rem); }
}

/* Tablet sizes. */
@media (max-width: 1024px) {
  .tg-r26 {
    --tg-pad: 28px;
    --tg-section: 64px;
    --tg-head-gap: 32px;
  }
  .tg-r26 .tg-h2,
  .tg-r26 .faq-minimal__title { font-size: 32px; line-height: 1.125; }
  .tg-r26 .tg-tile__title { font-size: 19px; line-height: 1.21; }
}

/* Under 1000 px the two chapters become one column of wide tiles; the lists
   inside the tiles widen instead. */
@media (max-width: 999px) {
  .tg-r26 .tg-chapter .tg-tile { grid-column: 1 / -1; }
  .tg-r26 .tg-chapter .tg-tile--quarter { grid-column: span 6; }
  .tg-r26 .tg-tool { min-height: 0; }
  .tg-r26 .tg-tile--quarter.tg-tool { min-height: 216px; }
}

/* Phone sizes (and the stacked hero). */
@media (max-width: 768px) {
  .tg-r26 {
    --tg-gap: 16px;
    --tg-pad: 24px;
    --tg-radius: 20px;
    --tg-section: 48px;
    --tg-head-gap: 24px;
  }
  .tg-r26 .demo-thumb-wrap {
    background: linear-gradient(to bottom, transparent 40px, var(--tg-dark-1) 40px);
  }
  /* The thumbnail reaches 42 px into the band here: start the header under it. */
  .tg-r26 .tg-chapter--dark { padding-top: 32px; }

  .tg-r26 .tg-h2,
  .tg-r26 .faq-minimal__title { font-size: 28px; line-height: 1.14; letter-spacing: 0; }
  .tg-r26 .tg-intro { font-size: 17px; line-height: 1.47; }

  .tg-r26 .trademarks-notice { padding: 24px 0; }
  .tg-r26 .footer.footer--light { padding: 48px 0 24px !important; }
  .tg-r26 .footer__main { margin-bottom: 32px; }
  .tg-r26 .footer__brand { text-align: left; }
  .tg-r26 .footer__brand .footer__logo-row { justify-content: flex-start; }
  .tg-r26 .footer__brand p.footer__desc { margin-inline: 0; text-align: left; }
  .tg-r26 .footer__links-col { align-items: stretch; text-align: left; }
  .tg-r26 .footer__bar { flex-direction: row; text-align: left; }
}

/* Everything in one column. */
@media (max-width: 680px) {
  .tg-r26 .trademarks-notice p { columns: 1; }
  .tg-r26 .footer__main { row-gap: 32px; }
  .tg-r26 .footer__brand { grid-column: 1 / -1; }
  .tg-r26 .footer__links-col { grid-column: span 6; gap: 0; }
  .tg-r26 .footer__links-col strong { margin-bottom: 4px; }
  .tg-r26 .footer__links-col a { padding-block: 11px; }      /* 42 px for the finger */
  .tg-r26 .footer__bar { flex-direction: column; align-items: flex-start; gap: 0; }
  .tg-r26 .footer__legal a { display: inline-block; padding-block: 13px; }
}

@media (max-width: 560px) {
  /* Tool tiles: copy on top, the well under it, across the tile. */
  .tg-r26 .tg-tool {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 20px;
  }
  .tg-r26 .tg-tool__copy .tg-tile__note { padding-top: 12px; }
  .tg-r26 .tg-tool__art { align-self: stretch; height: 112px; }
  /* The two small tiles: a row each, copy left, a small well right. */
  .tg-r26 .tg-chapter .tg-tile--quarter { grid-column: 1 / -1; }
  .tg-r26 .tg-tile--quarter.tg-tool {
    grid-template-columns: minmax(0, 1fr) 88px;
    grid-template-rows: auto;
    column-gap: 16px;
    min-height: 0;
    align-items: center;
  }
  .tg-r26 .tg-tile--quarter .tg-tool__art { align-self: center; height: 88px; }
}

/* The narrowest phones: let the two-sentence titles break where they must. */
@media (max-width: 359px) {
  .tg-r26 .tg-tile__title .tg-nb { white-space: normal; }
}

/* Legal modals: a long address (support@touchscreengestures.com) breaks inside its box on a
   phone instead of being cut off at the box's edge. */
.tg-r26 #privacy-modal a,
.tg-r26 #terms-modal a,
.tg-r26 #refund-modal a { overflow-wrap: anywhere; }

/* ---------- 14. Reduced motion: everything is simply there ---------- */
@media (prefers-reduced-motion: reduce) {
  .tg-r26 .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .tg-r26 .tg-news__face,
  .tg-r26 .tg-news__arrow,
  .tg-r26 .mobile-menu { transition: none; }
}
