/* =====================================================================
   tpl.css: the sub-page template, v2 (replaces page.css page by page).
   Layout, spacing and type scale follow the reference sub-pages (see SPEC in the lane notes);
   colours, fonts and buttons are Scrubbr's own. Everything is namespaced .tp-* so it never touches the home page.

   LOAD ORDER (in <head>):  styles.css -> tpl.css -> section-footer.css -> optional pg-<page>2.css
   SCRIPTS (end of <body>): main.js (nav morph + mobile menu) -> tpl.js (mobile start bar + doc TOC)
   BODY:                    <body class="tp-page">   (sets the mint ground and lets the footer tuck under the CTA curve)
   Generator / reference markup: security.html, compare/scrubbr-vs-superhuman.html, compare/index.html.

   ---------------------------------------------------------------------
   COMPONENTS (markup skeletons; copy from the reference pages for the full version)
   ---------------------------------------------------------------------
   1. HERO  .tp-hero  (mint ground, centred)
      <header class="tp-hero [tp-hero--mock] [tp-hero--bare]" id="top">
        <div class="tp-hero-in">
          <p class="tp-pill"><span class="tp-pill-dot" aria-hidden="true"></span>Scrubbr vs Superhuman</p>   (optional)
          <h1 class="tp-h1">One colour, 2 lines at 1440</h1>
          <p class="tp-sub">One or two lines.</p>                                                          (optional)
          <div class="tp-ctas"> a.btn-cta.btn-cta-dark (Gmail) + a.btn-cta.btn-cta-light (Outlook) </div>   (omit on hubs)
          <p class="tp-fine">7 days free<span class="sep">·</span>Cancel anytime</p>
        </div>
        [ .tp-mock block, see 2 ]
      </header>
      No visible breadcrumb, eyebrow, badges or chip row. Keep the BreadcrumbList in JSON-LD.
      .tp-hero--bare = hub variant (no buttons, shorter bottom padding).

   2. PRODUCT MOCK  .tp-mock  (only inside .tp-hero--mock; overlaps the white sheet that follows)
      <div class="tp-mock" aria-hidden="true">          frame: 40px radius, hairline, translucent white
        <div class="tp-win">                             white window
          <div class="tp-win-bar"><i></i><i></i><i></i><span>Title</span><svg brand/></div>
          <div class="tp-win-body"> .tp-rail (icons) + .tp-list (.tp-row …) + .tp-pane (thread) </div>
        </div>
        <span class="tp-float tp-float-a"><svg/>Label</span>   floating label chips (our own words), a | b | c positions
      </div>
      The mini window inside cards (.tp-mini) uses the same .tp-win parts at a smaller scale.

   3. SECTIONS  .tp-sec  (one job per section)
      <section class="tp-sec [tp-sheet | tp-white | tp-soft]" id="..." aria-labelledby="...-title">
        <div class="tp-wrap | tp-wrap-m | tp-wrap-s">    content widths 1280 / 1024 / 768
          <div class="tp-head"><p class="tp-kicker">Optional eyebrow</p><h2 class="tp-h2" id="...-title">Heading</h2><p class="tp-lede">Optional one line</p></div>
          ...one component...
      Grounds: default = mint; .tp-sheet = white panel with an 80px top curve that slides over the section above
      (32px on phones); .tp-white = white, straight edge (continues a sheet); .tp-soft = very light mint (FAQ).

   4. CARD GRID  .tp-cards (.tp-cards-2)  borderless cards with an illustration tile
      <div class="tp-cards"><article class="tp-card">
        <div class="tp-tile [tp-tile-blue|tp-tile-cyan|tp-tile-mint]" aria-hidden="true"><svg/></div>
        <h3 class="tp-h3">Title</h3><p>Short text.</p>
      </article>…</div>

   5. FOLDED-CORNER CARD  .tp-fold  (dog-ear in Scrubbr blue/cyan; quiet card, not a banner)
      <div class="tp-fold [tp-fold-lg] [tp-fold-center]"> ... </div>
      .tp-fold-cards = 3-up row of folded cards with a .tp-mini window at the bottom (comparison "what is different").
      .tp-callout = centred folded card with .tp-pill, h2, muted text, one dark .tp-btn (security "full detail" card).

   6. COMPARISON TABLE  .tp-table  (Scrubbr column lifted as a white card with a 2px border)
      <div class="tp-table-wrap" role="region" aria-labelledby="..." tabindex="0">
        <table class="tp-table"><caption class="tp-sr">…</caption>
          <thead><tr><th scope="col"><span class="tp-sr">Topic</span></th>
                     <th scope="col" class="tp-us"><span class="tp-logo"><img …>scrubbr.ai</span></th>
                     <th scope="col">Competitor name (text, no logos)</th></tr></thead>
          <tbody><tr><th scope="row">Row label</th>
                     <td class="tp-us"><span class="tp-cell"><svg class="tp-ico"><use href="#tp-yes"/></svg><span>1–3 words</span></span></td>
                     <td><span class="tp-cell"><svg class="tp-ico"><use href="#tp-no|#tp-part"/></svg><span>…</span></span></td></tr>…
      Icons: #tp-yes (check), #tp-no (cross), #tp-part (dash) live in the page sprite. Phones keep the real table:
      it scrolls sideways and the first column sticks.

   7. "WORKS WITH" STRIP  .tp-logos  (real integration marks only; never customer logos)
      <div class="tp-marquee"><ul class="tp-marquee-track"> li.tp-logo-item (svg + name) … + aria-hidden duplicate set </ul></div>
      Slow marquee with faded edges; static centred row under prefers-reduced-motion.

   8. BADGES  .tp-badges  <ul class="tp-badges"><li class="tp-badge"><img …><span class="tp-badge-cap">Caption</span></li></ul>

   9. FAQ  .tp-faq  (bordered rows, 768 wide, chevron; native <details name="faq">, one open at a time)
      <div class="tp-faq"><details name="faq" class="tp-qa"><summary><h3>Question?</h3></summary>
        <div class="tp-a"><p>Answer, text identical to the FAQPage JSON-LD.</p></div></details>…</div>

  10. DOC LAYOUT  .tp-doc  (long detail: sticky TOC left, ~70ch prose right; TOC collapses on phones)
      <div class="tp-doc">
        <nav class="tp-toc" aria-label="On this page"><details class="tp-toc-d" open><summary>On this page</summary>
          <ol><li><a href="#id">Label</a></li>…</ol></details></nav>
        <div class="tp-prose">
          <section class="tp-doc-sec" id="id" aria-labelledby="id-title"><h3 id="id-title">Heading</h3>
            <h4>Sub-heading</h4><p>…</p> <ul class="tp-ticks"><li>…</li></ul>
            <aside class="tp-note"><p class="tp-note-label">Still being rolled out</p><p>…</p></aside>
            <ul class="tp-rows"><li><strong>Name</strong><span>Purpose</span></li></ul>     (name / purpose rows)
            <span class="tp-tag tp-tag-ok|tp-tag-wait">Status</span>                           (status chip)
            <div class="tp-actions"> .btn-cta … </div>  <p class="tp-small">…</p>
          </section>…</div></div>

  11. LINK GRID  .tp-links  <ul class="tp-links"><li><a href="…"><strong>Title</strong><span>One line</span></a></li></ul>

  12. HUB GRID  .tp-vs  <ul class="tp-vs"><li><a class="tp-vs-card" href="…"><span class="tp-logo">…</span><span class="tp-vs-x">vs</span>
                          <span class="tp-vs-name">Name</span><span class="tp-vs-desc">One line</span></a></li></ul>

  13. CLOSING CTA  .tp-cta  (white sheet, folded-corner card, curves down into the blue footer)
      <section class="tp-cta" id="get-started" aria-labelledby="cta-title"><div class="tp-wrap-s"><div class="tp-fold tp-fold-lg tp-cta-card">
        <h2 class="tp-h2" id="cta-title">…</h2><div class="tp-ctas">…two start buttons…</div><p class="tp-fine">…</p>
      </div></div></section>
      Then paste _chrome/footer.html verbatim.

  14. MOBILE START BAR  .tp-mbar  (phones/tablets < 1024px; shows once the hero has scrolled away, hides over the CTA and footer)
      <div class="tp-mbar" id="tp-mbar"><span class="tp-mbar-label">Start with:</span>
        a.nav-iconbtn.nav-iconbtn-dark (Gmail) + a.nav-iconbtn.nav-iconbtn-light (Outlook)
        <span class="tp-mbar-fine">7 days free · Cancel anytime</span></div>

   Utilities: .tp-sr (screen-reader only), .tp-btn (small dark button), .tp-link (inline link).
   ===================================================================== */
/* styles.css sets body{overflow-x:hidden}, which breaks position:sticky (TOC). clip keeps the overflow guard without a scroll container. */
body.tp-page { overflow-x: clip; }

:root {
  --tp-ground: var(--page, #E3F3EC);   /* hero + mint sections */
  --tp-tint: #F2F8F4;                  /* tiles, table bed, folded cards on white */
  --tp-soft: #F8FCFA;                  /* FAQ section */
  --tp-line: var(--border, #D1E4DA);   /* hairlines */
  --tp-ink: var(--text, #0B1C21);
  --tp-muted: var(--text-2, #4A5D64);
  --tp-faint: var(--text-3, #7A8F96);
  --tp-curve: 80px;
  --tp-gutter: 48px;
  --tp-pad: 112px;                     /* section padding top/bottom */
}

body.tp-page { background: var(--tp-ground); }
.nav-links a[aria-current="page"] { font-weight: 600; }

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

/* ---------- 1. Hero ---------- */
.tp-hero {
  position: relative;
  background: var(--tp-ground);
  padding: 140px var(--tp-gutter) calc(96px + var(--tp-curve));
  text-align: center;
}
.tp-hero-in { max-width: 1100px; margin: 0 auto; }
.tp-pill {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 38px; margin: 0 0 32px; padding: 8px 16px; max-width: 100%;
  background: #fff; border: 1px solid var(--tp-line); border-radius: 999px;
  font-size: 14px; font-weight: 500; line-height: 1.25; color: var(--tp-ink); text-align: left;
}
.tp-pill-dot { width: 8px; height: 8px; border-radius: 2px; background: var(--cyan); flex: none; }
.tp-h1 {
  margin: 0 auto; max-width: 1040px;
  font-weight: 700; font-size: clamp(42px, 6.2vw, 88px); line-height: 1; letter-spacing: -0.035em;
  color: var(--tp-ink); text-wrap: balance;
}
.tp-sub {
  margin: 32px auto 0; max-width: 860px;
  font-size: clamp(18px, 1.75vw, 23px); line-height: 1.32; letter-spacing: -0.005em;
  color: var(--tp-ink); text-wrap: balance;
}
.tp-ctas { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.tp-fine { margin: 20px 0 0; font-size: 14px; font-weight: 500; color: var(--tp-faint); }
.tp-fine .sep { margin: 0 8px; opacity: .6; }
.tp-hero--bare { padding-bottom: calc(72px + var(--tp-curve)); }
.tp-hero--bare .tp-sub { color: var(--tp-muted); margin-top: 24px; }

/* ---------- 2. Product mock ---------- */
.tp-hero--mock { padding-bottom: 0; }
.tp-mock {
  position: relative; z-index: 3;
  max-width: 1150px; margin: 72px auto -200px;
  padding: 16px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(11,28,33,.08); border-radius: 40px;
  box-shadow: 0 40px 80px -40px rgba(11,28,33,.25);
  text-align: left;
}
.tp-win {
  background: #fff; border: 1px solid var(--tp-line); border-radius: 26px; overflow: hidden;
}
.tp-win-bar {
  display: flex; align-items: center; gap: 8px;
  height: 56px; padding: 0 24px; border-bottom: 1px solid var(--tp-line);
  font-size: 16px; font-weight: 500; color: var(--tp-ink);
}
.tp-win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #E5E9E7; flex: none; }
.tp-win-bar i:nth-child(1) { background: #FF5F57; }
.tp-win-bar i:nth-child(2) { background: #FEBC2E; }
.tp-win-bar i:nth-child(3) { background: #28C840; }
.tp-win-bar span { margin-left: 10px; }
.tp-win-bar .tp-win-end { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--tp-muted); }
.tp-win-bar svg { width: 20px; height: 20px; }
.tp-win-body { display: grid; grid-template-columns: 64px minmax(0, 1.25fr) minmax(0, 1fr); min-height: 420px; }
.tp-rail { border-right: 1px solid var(--tp-line); padding: 18px 0; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.tp-rail img, .tp-rail svg { width: 22px; height: 22px; }
.tp-rail .tp-rail-on { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: #E6F1FC; }
.tp-list { padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; border-right: 1px solid var(--tp-line); }
.tp-list-kick { margin: 0 0 4px; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--tp-faint); }
.tp-row {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 12px 14px; border: 1px solid var(--tp-line); border-radius: 14px; background: #fff;
}
.tp-row.is-on { border-color: var(--blue); box-shadow: inset 3px 0 0 var(--blue); }
.tp-av {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; font-weight: 600; color: var(--tp-ink); background: #DDEFE5;
}
.tp-av.b { background: #DCEBFB; } .tp-av.c { background: #D6F3FE; } .tp-av.d { background: #FDF5C9; }
.tp-row-t { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-row-t b { font-weight: 600; font-size: 14.5px; margin-right: 8px; }
.tp-row-t em { font-style: normal; font-size: 14px; color: var(--tp-muted); }
.tp-row-t p { margin: 3px 0 0; font-size: 13.5px; color: var(--tp-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-row-m { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--tp-faint); }
.tp-row-m svg { width: 18px; height: 18px; }
.tp-list-foot { margin: 6px 0 0; text-align: center; font-size: 12.5px; color: var(--tp-faint); }
.tp-pane { padding: 22px 24px; }
.tp-pane-kick { margin: 0; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--tp-faint); }
.tp-pane-title { margin: 6px 0 2px; font-size: 19px; font-weight: 600; color: var(--tp-ink); }
.tp-pane-who { margin: 0 0 18px; font-size: 13.5px; color: var(--tp-muted); }
.tp-pane-msg { font-size: 14px; line-height: 1.55; color: var(--tp-ink); padding-top: 16px; border-top: 1px solid var(--tp-line); }
.tp-pane-msg p { margin: 0 0 10px; }
.tp-pane-draft { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--tp-tint); font-size: 13.5px; line-height: 1.5; color: var(--tp-ink); }
.tp-pane-draft b { display: block; margin-bottom: 4px; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.tp-float {
  position: absolute; z-index: 4;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; background: #fff; border: 1px solid var(--tp-line); border-radius: 12px;
  box-shadow: 0 12px 32px -14px rgba(11,28,33,.28);
  font-size: 15px; font-weight: 500; color: var(--tp-ink); white-space: nowrap;
}
.tp-float svg { width: 20px; height: 20px; flex: none; }
.tp-float-a { right: -48px; top: 96px; }
.tp-float-b { left: -48px; top: 300px; }
.tp-float-c { right: -48px; bottom: 72px; }

/* ---------- 3. Sections ---------- */
.tp-sec { position: relative; padding: var(--tp-pad) 0; background: var(--tp-ground); }
.tp-sec.tp-white { background: #fff; }
.tp-sec.tp-soft { background: var(--tp-soft); }
.tp-sheet {
  background: #fff;
  margin-top: calc(-1 * var(--tp-curve));
  border-radius: var(--tp-curve) var(--tp-curve) 0 0;
  border-top: 1px solid var(--tp-line);
  z-index: 1;
}
/* any section followed by a sheet keeps room for the curve to slide over it */
.tp-sec:has(+ .tp-sheet), .tp-sec:has(+ .tp-cta) { padding-bottom: calc(var(--tp-pad) + var(--tp-curve)); }
.tp-hero--mock + .tp-sheet { margin-top: 0; padding-top: calc(200px + 88px); }
.tp-sec.tp-sheet.tp-sheet-tight { padding-top: 88px; }

.tp-wrap, .tp-wrap-m, .tp-wrap-s { margin: 0 auto; padding: 0 var(--tp-gutter); box-sizing: content-box; }
.tp-wrap { max-width: 1280px; }
.tp-wrap-m { max-width: 1024px; }
.tp-wrap-s { max-width: 768px; }

.tp-head { text-align: center; margin: 0 auto 56px; max-width: 860px; }
.tp-kicker { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--tp-faint); }
.tp-h2 {
  margin: 0; font-weight: 600; font-size: clamp(30px, 3vw, 42px); line-height: 1.08; letter-spacing: -0.025em;
  color: var(--tp-ink); text-wrap: balance;
}
.tp-lede { margin: 18px auto 0; max-width: 680px; font-size: 17px; line-height: 1.5; color: var(--tp-muted); text-wrap: pretty; }
.tp-asof { display: inline-block; margin-right: 6px; font-weight: 600; color: var(--tp-ink); }
.tp-after { margin: 32px auto 0; max-width: 760px; text-align: center; font-size: 14px; line-height: 1.55; color: var(--tp-faint); }
.tp-link { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.tp-link:hover { color: #005ec4; }
.tp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 28px; border-radius: 10px;
  background: var(--tp-ink); color: #fff; font-weight: 600; font-size: 16px;
  transition: background .15s ease, transform .08s ease;
}
.tp-btn:hover { background: #1d343b; }
.tp-btn:active { transform: translateY(1px); }
.tp-btn-ghost { background: #fff; color: var(--tp-ink); border: 1px solid var(--tp-line); }
.tp-btn-ghost:hover { background: var(--tp-soft); }

/* ---------- 4. Card grid ---------- */
.tp-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.tp-cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tp-card { margin: 0; }
.tp-tile {
  aspect-ratio: 1 / 1; border-radius: 24px; background: var(--tp-tint);
  display: grid; place-items: center; margin-bottom: 28px; overflow: hidden;
}
.tp-tile svg { width: 46%; height: auto; }
.tp-tile-blue { background: #E6F1FC; }
.tp-tile-cyan { background: #E3F7FE; }
.tp-tile-mint { background: var(--tp-tint); }
.tp-h3 { margin: 0 0 14px; font-weight: 600; font-size: clamp(22px, 2vw, 27px); line-height: 1.1; letter-spacing: -0.02em; color: var(--tp-ink); text-wrap: balance; }
.tp-card p { margin: 0 0 10px; font-size: 16px; line-height: 1.45; color: var(--tp-muted); }
.tp-card p:last-child { margin-bottom: 0; }

/* ---------- 5. Folded-corner card ---------- */
.tp-fold {
  --fold: 64px;
  position: relative;
  background: var(--tp-tint);
  border-radius: 24px 0 24px 24px;
  border-bottom: 4px solid var(--tp-line);
  padding: 48px;
  clip-path: polygon(0 0, calc(100% - var(--fold)) 0, 100% var(--fold), 100% 100%, 0 100%);
}
.tp-fold::after {
  content: ""; position: absolute; top: 0; right: 0; width: var(--fold); height: var(--fold);
  background: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 100%);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  border-bottom-left-radius: 6px;
}
.tp-fold-lg { --fold: 88px; }
.tp-sec:not(.tp-sheet):not(.tp-white) .tp-fold { background: #fff; }   /* on mint, the card is white */
.tp-callout { text-align: center; padding: 56px 64px 60px; }
.tp-callout .tp-pill { margin-bottom: 24px; }
.tp-callout .tp-h2 { max-width: 560px; margin: 0 auto; }
.tp-callout p.tp-callout-text { margin: 22px auto 0; max-width: 520px; font-size: 17px; line-height: 1.5; color: var(--tp-muted); }
.tp-callout .tp-callout-acts { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.tp-fold-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tp-fold-cards > li { display: flex; }
.tp-fold-cards .tp-fold { display: flex; flex-direction: column; width: 100%; padding: 48px 28px 0; text-align: center; border-bottom: 0; border-radius: 24px 0 24px 24px; }
.tp-fold-cards .tp-h3 { margin: 0 auto 14px; max-width: 300px; text-align: center; }
.tp-fold-cards .tp-h3 .tp-sq { margin-right: 10px; vertical-align: .02em; }
.tp-fold-cards p { margin: 0 auto; max-width: 330px; font-size: 16.5px; line-height: 1.32; color: var(--tp-muted); text-wrap: balance; }
.tp-sq { width: 16px; height: 16px; border-radius: 3px; background: var(--cyan); flex: none; display: inline-block; }
.tp-sq.b { background: var(--blue); } .tp-sq.m { background: var(--mint, #7BCD89); }

/* mini product window at the bottom of a folded card */
.tp-mini {
  margin: 32px -12px 0; padding: 12px 12px 0;
  border: 1px solid var(--tp-line); border-bottom: 0; border-radius: 28px 28px 0 0;
  background: rgba(255,255,255,.6); text-align: left; flex: 1;
  display: flex;
}
.tp-mini .tp-win { border-bottom: 0; border-radius: 18px 18px 0 0; width: 100%; }
.tp-mini .tp-win-bar { height: 44px; padding: 0 16px; font-size: 13.5px; }
.tp-mini .tp-win-bar i { width: 9px; height: 9px; }
.tp-mini .tp-win-bar svg { width: 16px; height: 16px; }
.tp-mini-body { padding: 14px 16px 22px; display: flex; flex-direction: column; gap: 10px; }
.tp-mini .tp-row { grid-template-columns: 28px minmax(0, 1fr) auto; padding: 10px 12px; gap: 10px; border-radius: 12px; }
.tp-mini .tp-av { width: 28px; height: 28px; font-size: 11.5px; }
.tp-mini .tp-row-t b { font-size: 13.5px; }
.tp-mini .tp-row-t p { font-size: 12.5px; }
.tp-mini-prompt {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border: 1px solid var(--blue); border-radius: 12px; font-size: 13.5px; color: var(--tp-ink);
}
.tp-mini-prompt svg { width: 16px; height: 16px; flex: none; color: var(--blue); }
.tp-mini-draft { padding: 12px 14px; border-radius: 12px; background: var(--tp-tint); font-size: 13px; line-height: 1.5; color: var(--tp-ink); }
.tp-mini-draft b { display: block; margin-bottom: 4px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.tp-mini-price { display: flex; align-items: baseline; gap: 8px; padding: 4px 2px 6px; }
.tp-mini-price strong { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; color: var(--tp-ink); line-height: 1; }
.tp-mini-price span { font-size: 13.5px; color: var(--tp-muted); }
.tp-mini-ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tp-mini-ticks li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--tp-ink); }
.tp-mini-ticks svg { width: 16px; height: 16px; color: var(--blue); flex: none; }

/* ---------- 6. Comparison table ---------- */
.tp-table-wrap {
  background: var(--tp-tint); border-radius: 24px;
  padding: 0 32px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.tp-table-wrap:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.tp-table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.tp-table col.tp-c-label { width: 34%; }
.tp-table th, .tp-table td { padding: 0 20px; height: 72px; vertical-align: middle; position: relative; }
.tp-table thead th { height: 104px; padding-top: 12px; font-size: 19px; font-weight: 600; color: var(--tp-ink); text-align: center; letter-spacing: -0.01em; }
.tp-table tbody th { text-align: left; font-size: 17px; font-weight: 400; color: var(--tp-muted); padding-left: 0; line-height: 1.3; }
.tp-table td { text-align: center; font-size: 15px; font-weight: 500; line-height: 1.3; color: var(--tp-ink); }
.tp-table tbody tr:not(:last-child) td::after {
  content: ""; position: absolute; left: 28px; right: 28px; bottom: 0; height: 1px; background: var(--tp-line);
}
.tp-table .tp-us { background: #fff; border-left: 2px solid var(--tp-ink); border-right: 2px solid var(--tp-ink); }
.tp-table thead .tp-us { border-top: 2px solid var(--tp-ink); border-radius: 18px 18px 0 0; }
.tp-table tbody tr:last-child .tp-us { border-bottom: 2px solid var(--tp-ink); border-radius: 0 0 18px 18px; }
.tp-table thead tr th { padding-top: 28px; }
.tp-table tbody tr:last-child td, .tp-table tbody tr:last-child th { height: 88px; padding-bottom: 16px; }
.tp-logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 21px; letter-spacing: -0.02em; color: var(--tp-ink); }
.tp-logo img { width: 30px; height: 30px; }
.tp-cell.no-ico { text-align: center; }
.tp-cell { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-align: left; max-width: 100%; }
.tp-ico { width: 22px; height: 22px; flex: none; color: var(--tp-ink); }
.tp-us .tp-ico { color: var(--blue); }
.tp-disclaimer { margin: 28px auto 0; max-width: 760px; text-align: center; font-size: 14px; line-height: 1.55; color: var(--tp-faint); }

/* ---------- 7. Works-with strip ---------- */
.tp-logos .tp-head { margin-bottom: 40px; }
.tp-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.tp-marquee-track {
  list-style: none; margin: 0; padding: 0;
  --mg: 64px;
  display: flex; gap: var(--mg); width: max-content;
  animation: tp-marquee 40s linear infinite;
}
.tp-marquee:hover .tp-marquee-track { animation-play-state: paused; }
.tp-logo-item { display: inline-flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; color: var(--tp-ink); white-space: nowrap; }
.tp-logo-item svg { width: 34px; height: 34px; flex: none; }
@keyframes tp-marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - var(--mg) / 2)); } }

/* ---------- 8. Badges ---------- */
.tp-badges { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; align-items: flex-end; gap: 72px; flex-wrap: wrap; }
.tp-badge { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.tp-badge img { height: 116px; width: auto; }
.tp-badge-cap { font-size: 15px; font-weight: 600; color: var(--tp-ink); }

/* ---------- 9. FAQ ---------- */
.tp-faq { display: flex; flex-direction: column; gap: 16px; }
.tp-qa { background: #fff; border: 1px solid var(--tp-line); border-radius: 10px; }
.tp-qa summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 74px; padding: 14px 24px;
}
.tp-qa summary::-webkit-details-marker { display: none; }
.tp-qa summary::after {
  content: ""; flex: none; width: 10px; height: 10px; margin-top: -6px;
  border-right: 2px solid var(--tp-ink); border-bottom: 2px solid var(--tp-ink);
  transform: rotate(45deg); transition: transform .2s ease, margin .2s ease;
}
.tp-qa[open] summary::after { transform: rotate(-135deg); margin-top: 6px; }
.tp-qa summary h3 { margin: 0; font-size: 18px; font-weight: 500; line-height: 1.35; color: var(--tp-ink); letter-spacing: -0.005em; }
.tp-qa summary:hover h3 { color: var(--blue); }
.tp-a { padding: 0 24px 24px; }
.tp-a p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--tp-muted); max-width: 66ch; }

/* ---------- 10. Doc layout ---------- */
.tp-doc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 72px; align-items: start; }
.tp-toc { position: sticky; top: 112px; }
.tp-toc-d summary {
  list-style: none; cursor: default;
  margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--tp-faint);
}
.tp-toc-d summary::-webkit-details-marker { display: none; }
.tp-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--tp-line); }
.tp-toc li a {
  display: block; padding: 7px 0 7px 18px; margin-left: -1px; border-left: 2px solid transparent;
  font-size: 15px; line-height: 1.35; color: var(--tp-muted);
}
.tp-toc li a:hover { color: var(--tp-ink); }
.tp-toc li a[aria-current="true"] { color: var(--tp-ink); font-weight: 600; border-left-color: var(--blue); }
.tp-prose { max-width: 70ch; font-size: 17px; line-height: 1.62; color: var(--tp-ink); }
.tp-doc-sec { scroll-margin-top: 104px; padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--tp-line); }
.tp-doc-sec:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.tp-doc-sec h3 { margin: 0 0 20px; font-size: 30px; font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
.tp-doc-sec h4 { margin: 32px 0 10px; font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.tp-doc-sec h3 + h4, .tp-doc-sec h3 + .tp-tag { margin-top: 0; }
.tp-prose p { margin: 0 0 14px; color: var(--tp-muted); }
.tp-prose p.tp-strong { color: var(--tp-ink); font-weight: 600; }
.tp-prose strong { color: var(--tp-ink); font-weight: 600; }
.tp-ticks { list-style: none; margin: 0 0 14px; padding: 0; }
.tp-ticks li { position: relative; padding-left: 32px; margin: 0 0 14px; color: var(--tp-muted); }
.tp-ticks li::before {
  content: ""; position: absolute; left: 2px; top: .42em; width: 14px; height: 8px;
  border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg);
}
.tp-note { margin: 24px 0 0; padding: 20px 24px; border-radius: 14px; background: var(--tp-tint); border-left: 3px solid var(--cyan); }
.tp-note p, .tp-note li { font-size: 15.5px; line-height: 1.55; color: var(--tp-muted); }
.tp-note p:last-child { margin-bottom: 0; }
.tp-note-label { margin: 0 0 8px !important; font-size: 13px !important; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--tp-ink) !important; }
.tp-note ul { margin: 0; padding-left: 18px; }
.tp-note li { margin: 0 0 8px; }
.tp-note li:last-child { margin-bottom: 0; }
.tp-rows { list-style: none; margin: 8px 0 20px; padding: 0; border-top: 1px solid var(--tp-line); }
.tp-rows li { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--tp-line); font-size: 15.5px; line-height: 1.5; }
.tp-rows strong { font-weight: 600; color: var(--tp-ink); }
.tp-rows span { color: var(--tp-muted); }
.tp-tag { display: inline-block; margin: 28px 0 8px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; }
.tp-tag + h4 { margin-top: 4px; }
.tp-tag-ok { background: #DDF3E3; color: #1F6B35; }
.tp-tag-wait { background: #FDF5C9; color: #6B5A00; }
.tp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 20px; }
.tp-actions .btn-cta { height: 52px; padding: 0 22px; font-size: 16px; }
.tp-small { font-size: 14.5px !important; line-height: 1.55; }

/* ---------- 11. Link grid ---------- */
.tp-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tp-links a {
  display: flex; flex-direction: column; gap: 4px; height: 100%;
  padding: 20px 22px; background: #fff; border: 1px solid var(--tp-line); border-radius: 16px;
  transition: border-color .3s ease, transform .3s ease;
}
.tp-links a:hover { border-color: var(--blue); transform: translateY(-2px); }
.tp-links strong { font-size: 17px; font-weight: 600; color: var(--tp-ink); }
.tp-links span { font-size: 15px; line-height: 1.45; color: var(--tp-muted); }

/* two-column tick cards ("which one fits you") */
.tp-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.tp-pair > div { background: #fff; border-radius: 24px; padding: 40px; }
.tp-pair > div.is-us { box-shadow: inset 0 0 0 2px var(--tp-ink); }
.tp-pair .tp-h3 { margin-bottom: 20px; }
.tp-pair .tp-ticks li { font-size: 16.5px; line-height: 1.45; }
.tp-pair .tp-small { margin: 4px 0 0; color: var(--tp-faint); }
.tp-prose-c { max-width: 680px; margin: 0 auto; text-align: center; font-size: 17px; line-height: 1.6; color: var(--tp-muted); }
.tp-prose-c p { margin: 0 0 14px; }
.tp-prose-c + .tp-links { margin-top: 40px; }

/* ---------- 12. Hub grid ---------- */
.tp-vs { list-style: none; margin: 0 auto; padding: 0; max-width: 896px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tp-vs-card {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px; text-align: center;
  height: 100%; min-height: 196px; padding: 28px 24px;
  background: #fff; border: 1px solid var(--tp-line); border-radius: 16px;
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.tp-vs-card:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 16px 32px -24px rgba(11,28,33,.35); }
.tp-vs-x { font-size: 15px; font-weight: 700; color: var(--tp-ink); }
.tp-vs-name { margin: 6px 0 0; font-size: 24px; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; color: var(--tp-ink); }
.tp-vs-desc { margin-top: 10px; font-size: 14.5px; line-height: 1.45; color: var(--tp-muted); }

/* ---------- 13. Closing CTA ---------- */
.tp-cta {
  position: relative; z-index: 2;
  background: #fff;
  margin-top: calc(-1 * var(--tp-curve));
  border-top: 1px solid var(--tp-line);
  border-radius: var(--tp-curve);
  padding: calc(var(--tp-pad) + 8px) 0 calc(var(--tp-pad) + 24px);
}
.tp-cta-card { text-align: center; padding: 64px 48px 56px; }
.tp-cta-card .tp-h2 { font-size: clamp(30px, 3vw, 40px); max-width: 480px; margin: 0 auto; }
.tp-cta-card .tp-ctas { margin-top: 32px; }
body.tp-page .ft { margin-top: calc(-1 * var(--tp-curve)); padding-top: calc(64px + var(--tp-curve)); }

/* ---------- 14. Mobile start bar ---------- */
.tp-mbar { display: none; }
@media (max-width: 1023px) {
  .tp-mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: 10px; row-gap: 4px;
    padding: 12px 16px calc(10px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--tp-line);
    box-shadow: 0 -12px 32px -20px rgba(11,28,33,.3);
    transform: translateY(110%); visibility: hidden;
    transition: transform .3s ease, visibility 0s linear .3s;
  }
  .tp-mbar.is-on { transform: none; visibility: visible; transition: transform .3s ease, visibility 0s; }
  .tp-mbar-label { font-size: 15px; font-weight: 600; color: var(--tp-ink); }
  .tp-mbar .nav-iconbtn { width: 44px; height: 44px; border-radius: 12px; }
  .tp-mbar .nav-iconbtn svg { width: 22px; height: 22px; }
  .tp-mbar-fine { flex-basis: 100%; text-align: center; font-size: 12.5px; color: var(--tp-faint); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1279px) {
  .tp-float-a { right: -16px; }
  .tp-float-b { left: -16px; }
}
@media (max-width: 1023px) {
  :root { --tp-gutter: 32px; --tp-pad: 88px; --tp-curve: 56px; }
  .tp-cards, .tp-fold-cards { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-left: auto; margin-right: auto; }
  .tp-cards-2 { grid-template-columns: minmax(0, 1fr); }
  .tp-tile { aspect-ratio: 16 / 10; }
  .tp-tile svg { width: 30%; }
  .tp-doc { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .tp-toc { position: static; }
  .tp-toc-d { background: #fff; border: 1px solid var(--tp-line); border-radius: 14px; padding: 0 18px; }
  .tp-toc-d summary { cursor: pointer; margin: 0; padding: 16px 0; display: flex; justify-content: space-between; align-items: center; }
  .tp-toc-d summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--tp-ink); border-bottom: 2px solid var(--tp-ink); transform: rotate(45deg); margin-top: -4px; }
  .tp-toc-d[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
  .tp-toc-d ol { margin-bottom: 16px; }
  .tp-links, .tp-vs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-win-body { grid-template-columns: 56px minmax(0, 1fr); }
  .tp-pane { display: none; }
  .tp-float-c { display: none; }
  body.tp-page .ft { padding-bottom: calc(32px + 96px + env(safe-area-inset-bottom)); }  /* room for the start bar */
}
@media (max-width: 700px) {
  :root { --tp-gutter: 16px; --tp-pad: 72px; --tp-curve: 32px; }
  .tp-hero { padding-top: 104px; padding-bottom: calc(64px + var(--tp-curve)); }
  .tp-pill { margin-bottom: 22px; min-height: 34px; padding: 7px 14px; font-size: 13px; }
  .tp-h1 { font-size: clamp(38px, 11.2vw, 46px); line-height: 1.02; letter-spacing: -0.03em; }
  .tp-sub { margin-top: 20px; font-size: 18px; }
  .tp-ctas { flex-direction: column; align-items: stretch; margin-top: 28px; }
  .tp-ctas .btn-cta { width: 100%; justify-content: center; }
  .tp-mock { margin: 48px -4px -120px; padding: 8px; border-radius: 24px; }
  .tp-win { border-radius: 18px; }
  .tp-win-bar { height: 46px; padding: 0 16px; font-size: 14px; }
  .tp-win-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .tp-rail { display: none; }
  .tp-list { border-right: 0; padding: 14px 12px; }
  .tp-row { grid-template-columns: 30px minmax(0, 1fr) auto; padding: 10px; gap: 10px; }
  .tp-row:nth-child(n+5) { display: none; }
  .tp-float { display: none; }
  .tp-hero--mock + .tp-sheet { padding-top: calc(120px + 56px); }
  .tp-head { margin-bottom: 36px; }
  .tp-h2 { font-size: 30px; }
  .tp-lede { font-size: 16px; }
  .tp-fold { padding: 36px 24px; --fold: 48px; }
  .tp-fold-lg { --fold: 64px; }
  .tp-fold-cards .tp-fold { padding: 60px 20px 0; }
  .tp-callout { padding: 44px 22px 44px; }
  .tp-cta-card { padding: 76px 20px 44px; }
  .tp-cta-card .tp-h2 { max-width: 300px; }
  .tp-table-wrap { padding: 0 0 0 0; border-radius: 20px; margin: 0 calc(-1 * var(--tp-gutter)); border-radius: 0; }
  .tp-table { width: 640px; table-layout: fixed; }
  .tp-table col.tp-c-label { width: 136px; }
  .tp-table th, .tp-table td { padding: 0 12px; height: 72px; }
  .tp-table thead th { font-size: 16px; }
  .tp-table tbody th { position: sticky; left: 0; z-index: 2; background: var(--tp-tint); padding-left: 16px; font-size: 15px; }
  .tp-table thead th:first-child { position: sticky; left: 0; z-index: 2; background: var(--tp-tint); }
  .tp-table td { font-size: 14px; }
  .tp-table tbody tr:not(:last-child) td::after { left: 16px; right: 16px; }
  .tp-logo { font-size: 18px; }
  .tp-logo img { width: 26px; height: 26px; }
  .tp-cell { flex-direction: column; gap: 6px; text-align: center; }
  .tp-badges { gap: 40px; }
  .tp-badge img { height: 96px; }
  .tp-qa summary { min-height: 64px; padding: 14px 18px; }
  .tp-qa summary h3 { font-size: 16.5px; }
  .tp-a { padding: 0 18px 20px; }
  .tp-a p { font-size: 15.5px; }
  .tp-prose { font-size: 16.5px; }
  .tp-doc-sec { padding-bottom: 40px; margin-bottom: 40px; }
  .tp-doc-sec h3 { font-size: 25px; }
  .tp-rows li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .tp-links, .tp-vs, .tp-pair { grid-template-columns: minmax(0, 1fr); }
  .tp-pair > div { padding: 28px 22px; }
  .tp-vs-card { min-height: 0; padding: 24px 20px; }
  .tp-marquee-track { --mg: 40px; }
  .tp-logo-item { font-size: 17px; }
  .tp-logo-item svg { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .tp-marquee { -webkit-mask-image: none; mask-image: none; }
  .tp-marquee-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; gap: 28px 48px; }
  .tp-marquee-track [aria-hidden="true"] { display: none; }
  .tp-mbar, .tp-qa summary::after, .tp-links a, .tp-vs-card { transition: none; }
}
