/* Cobito · trust pages (/plus /about /how-we-check /support /privacy /terms) — builder 3.
   Loaded after pages.css: same header, fonts, colors, footer. One calm reading column; one figure at most. */

.page.tx { grid-template-columns: minmax(0, 720px); justify-content: center; }
.page.tx.tx-fig { grid-template-columns: minmax(0, 680px) 300px; justify-content: start; }
.tx-figure { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 88px; margin-top: 56px; }
.tx-figure img { width: 100%; height: auto; filter: drop-shadow(0 4px 0 rgba(122, 77, 42, .16)); }
.tx-updated { margin-top: 10px; font-size: var(--small); color: var(--ink-2); }

.tx .body section { margin-top: 52px; }
.tx .body h3 { margin-top: 28px; font-size: 18px; font-weight: 700; line-height: 1.3; }
.tx .body h2 + h3 { margin-top: 16px; }
.tx .body h3 + * { margin-top: 8px; }
.tx .body .tx-q { font-size: 17px; line-height: 1.35; }
.tx .body .tx-q + p { margin-top: 6px; color: var(--ink-2); }
.tx .body p + p, .tx .body ul + p, .tx .body ol + p, .tx .body .tx-scroll + p { margin-top: 14px; }
.tx .body p + .tx-scroll, .tx .body p + ul, .tx .body p + ol { margin-top: 14px; }
.tx .body b { font-weight: 700; }

/* lists */
.tx-ul li { position: relative; padding-left: 20px; }
.tx-ul li + li { margin-top: 10px; }
.tx-ul li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--dale); }
.tx-ol { counter-reset: s; }
.tx-ol li { position: relative; padding-left: 46px; min-height: 34px; counter-increment: s; }
.tx-ol li + li { margin-top: 14px; }
.tx-ol li::before { content: counter(s); position: absolute; left: 0; top: -1px; width: 32px; height: 32px; display: grid; place-items: center; font: 800 15px/1 var(--display); background: var(--manila) var(--noise); border-radius: 50%; box-shadow: inset 0 -2px 0 rgba(122, 77, 42, .25); }

/* tables */
.tx-scroll { overflow-x: auto; }
.tx-table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.tx-table th, .tx-table td { text-align: left; vertical-align: top; padding: 11px 12px 11px 0; border-bottom: 1px dashed var(--line); }
.tx-table thead th { font: 700 13px/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); border-bottom: 2px solid var(--line); }
.tx-table tbody th { font-weight: 700; }
.tx-table td:last-child, .tx-table th:last-child { padding-right: 0; }

/* /plus: the plan names hang as paper tags over the table */
.plans thead th:not(:first-child) { position: relative; padding: 26px 10px 10px; text-align: center; color: var(--ink); font-size: 14px; letter-spacing: .04em; border-bottom: 0; }
.plans thead th:not(:first-child)::before { content: ""; position: absolute; inset: 6px 6px 0; z-index: -1; background: var(--noise), var(--manila); clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%, 0 14px); }
.plans thead th:last-child::before { background: var(--noise), #F6B26B; }
.plans thead th:not(:first-child)::after { content: ""; position: absolute; left: 50%; top: 12px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 1px 2px rgba(15,26,43,.35); }
.plans thead tr { isolation: isolate; }
.plans td { text-align: center; }

/* /plus: the two prices as manila tags on a string — the page's one living element (a slow sway) */
.ptags { position: relative; display: flex; flex-wrap: wrap; gap: 18px 22px; padding-top: 30px; margin-top: 18px !important; }
.ptags::before { content: ""; position: absolute; left: -2%; right: -2%; top: 4px; height: 22px; border-top: 2px solid #D8CBB4; border-radius: 50% 50% 0 0 / 100% 100% 0 0; transform: scaleY(-1); }
.ptag { position: relative; padding: 34px 24px 18px; font-size: 18px; line-height: 1.4; text-align: center; isolation: isolate; max-width: 300px;
  filter: drop-shadow(0 3px 0 rgba(122, 77, 42, .22)); transform-origin: 50% -24px; animation: tagsway 6s ease-in-out infinite; }
.ptag::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--noise), var(--manila); clip-path: polygon(20px 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%, 0 20px); }
.ptag-m { animation-delay: -2.2s; }
.ptag-m::before { background: var(--noise), #F6E7C2; }
.ptag b { font: 800 24px/1.25 var(--display); letter-spacing: -.02em; }
.ptag-hole { position: absolute; left: 50%; top: 11px; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 1px 2px rgba(15,26,43,.4); }
@keyframes tagsway { 0%, 100% { rotate: -1.4deg; } 50% { rotate: 1.4deg; } }
.ptag:hover { animation-play-state: paused; }
.tx-small { font-size: var(--small); color: var(--ink-2); }

.tx .cobito { margin-top: 60px; }

@media (max-width: 1023px) and (min-width: 760px) {
  .page.tx.tx-fig { grid-template-columns: minmax(0, 1fr) 220px; column-gap: 40px; }
}
@media (max-width: 759px) {
  .page.tx, .page.tx.tx-fig { display: block; }
  .tx-figure { position: static; width: 168px; margin: 18px 0 0; }
  .tx .body section { margin-top: 44px; }
  .tx-table { font-size: 15px; }
  .tx-table thead th { font-size: 14px; }
  /* facts-style tables (not the plan table): one row = one small card */
  .tx-table:not(.plans) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tx-table:not(.plans) tr { display: block; padding: 10px 0; border-bottom: 1px dashed var(--line); }
  .tx-table:not(.plans) th, .tx-table:not(.plans) td { display: block; padding: 2px 0; border: 0; }
  .tx-table:not(.plans) td:empty { display: none; }
  .plans th, .plans td { padding-right: 6px; }
  .plans thead th:not(:first-child) { font-size: 14px; letter-spacing: 0; padding: 24px 4px 8px; }
  .ptag { flex: 1 1 140px; padding: 30px 14px 14px; font-size: 16px; }
  .ptag b { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) { .ptag { animation: none; } }
.tx-figure img { animation: figbob 7s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes figbob { 0%, 100% { translate: 0 0; rotate: -.6deg; } 50% { translate: 0 -4px; rotate: .6deg; } }
@media (prefers-reduced-motion: reduce) { .tx-figure img { animation: none; } }
@media (max-width: 759px) { .tx-table:not(.plans) td:nth-child(3):not(:empty)::before { content: "As of "; font-weight: 700; color: var(--ink-2); } }
.tx .body .tx-end { margin-top: 36px; font-weight: 700; }
.tx-end a { display: inline-flex; align-items: center; min-height: 44px; }
