/*
 * Tangibool marketing site: stylesheet.
 *
 * Same design tokens as the app (apps/web/src/styles/index.css): warm paper background, indigo
 * primary, amber accent, Inter and JetBrains Mono. Every rule is scoped under .tb-site so the
 * WordPress Hello theme and Elementor kit styles cannot leak in (and nothing leaks out).
 * Truth values are always shown with an icon and a word, never by colour alone.
 */

/* ------------------------------------------------------------------ fonts (self-hosted, OFL) */
@font-face { font-family: 'TB Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/inter-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'TB Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/inter-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'TB Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/inter-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'TB Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/inter-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'TB Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/jetbrains-mono-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'TB Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/jetbrains-mono-latin-500-normal.woff2) format('woff2'); }

/* ------------------------------------------------------------------ tokens */
:root {
  --tb-bg: #f6f5f1;
  --tb-surface: #ffffff;
  --tb-surface-2: #f0efe9;
  --tb-surface-3: #e7e6df;
  --tb-border: #dedcd3;
  --tb-border-strong: #c9c6bb;
  --tb-text: #1a1c22;
  --tb-text-2: #464a55;
  --tb-muted: #61656f;
  --tb-primary: #2f3fb8;
  --tb-primary-hover: #2634a0;
  --tb-primary-soft: #e6e9fb;
  --tb-on-primary: #ffffff;
  --tb-accent: #a24f12;
  --tb-accent-soft: #fbefd9;
  --tb-amber: #f2b34a;
  --tb-true: #1d7a52;
  --tb-true-soft: #ddf2e7;
  --tb-false: #a83a32;
  --tb-false-soft: #f8e1de;
  --tb-warn: #9a6200;
  --tb-warn-soft: #fcf0d4;
  --tb-info: #2763a8;
  --tb-info-soft: #e1ecf9;
  --tb-dot: #d6d4ca;
  --tb-band: #151821;
  --tb-band-text: #e9eaf0;
  --tb-band-muted: #a9adba;
  --tb-shadow: 0 1px 2px rgb(20 20 30 / 0.06), 0 4px 16px rgb(20 20 30 / 0.06);
  --tb-shadow-lg: 0 24px 60px rgb(20 20 30 / 0.14), 0 4px 14px rgb(20 20 30 / 0.06);
  --tb-font: 'TB Inter', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --tb-mono: 'TB Mono', 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --tb-radius-sm: 6px;
  --tb-radius: 10px;
  --tb-radius-lg: 16px;
  --tb-container: 1200px;
  --tb-gutter: clamp(16px, 4vw, 32px);
  --tb-header-h: 64px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --tb-bg: #0e1016;
    --tb-surface: #151821;
    --tb-surface-2: #1b1f2b;
    --tb-surface-3: #242938;
    --tb-border: #2a2f3e;
    --tb-border-strong: #3a4154;
    --tb-text: #e9eaf0;
    --tb-text-2: #c3c6d2;
    --tb-muted: #9599a8;
    --tb-primary: #8b98ff;
    --tb-primary-hover: #a4aeff;
    --tb-primary-soft: #232a52;
    --tb-on-primary: #0e1016;
    --tb-accent: #f2b34a;
    --tb-accent-soft: #3a2c12;
    --tb-true: #5fd39b;
    --tb-true-soft: #133426;
    --tb-false: #ff8a7f;
    --tb-false-soft: #3d1a17;
    --tb-warn: #f2c063;
    --tb-warn-soft: #3a2d10;
    --tb-info: #7fb4ff;
    --tb-info-soft: #14284a;
    --tb-dot: #232836;
    --tb-band: #1b1f2b;
    --tb-band-text: #e9eaf0;
    --tb-band-muted: #a9adba;
    --tb-shadow: 0 1px 2px rgb(0 0 0 / 0.4), 0 4px 16px rgb(0 0 0 / 0.3);
    --tb-shadow-lg: 0 24px 60px rgb(0 0 0 / 0.55), 0 4px 14px rgb(0 0 0 / 0.3);
  }
}

/* ------------------------------------------------------------------ page and WordPress glue */
body:has(.tb-site) {
  margin: 0;
  background: var(--tb-bg);
  color: var(--tb-text);
}
/* Elementor: every wrapper around the page spans the full width with no padding, margin, or gap
   (also set this in the editor). This covers v3 containers and sections, v4 atomic elements, and
   the HTML widget, whatever Elementor calls them. */
.elementor :has(.tb-site) {
  padding: 0 !important;
  margin: 0 !important;
  gap: 0 !important;
  border: 0 !important;
  max-width: none !important;
  width: 100% !important;
}
/* Elementor Pro Theme Builder: the header template is its own wrapper, so make that wrapper sticky. */
.elementor-location-header:has(.tb-header) { position: sticky; top: 0; z-index: 60; }
body.admin-bar .elementor-location-header:has(.tb-header) { top: 32px; }
@media (max-width: 782px) { body.admin-bar .elementor-location-header:has(.tb-header) { top: 46px; } }
.elementor-location-header .tb-site .tb-header { position: relative; top: 0; }

.tb-site {
  background: var(--tb-bg);
  color: var(--tb-text);
  font-family: var(--tb-font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  color-scheme: light dark;
}
.tb-site *,
.tb-site *::before,
.tb-site *::after { box-sizing: border-box; }
.tb-site :focus-visible {
  outline: 2px solid var(--tb-primary);
  outline-offset: 3px;
  border-radius: 4px;
}
.tb-site ::selection { background: color-mix(in srgb, var(--tb-primary) 25%, transparent); }
.tb-site [hidden] { display: none !important; }
/* Form controls take the site font everywhere (browsers and themes disagree on their defaults). */
.tb-site :is(button, input, select, textarea) { font-family: inherit; }
.tb-site img { max-width: 100%; height: auto; display: block; border: 0; box-shadow: none; }
.tb-site svg { flex-shrink: 0; }
.tb-site .tb-icon {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.2em;
}

/* ------------------------------------------------------------------ typography */
.tb-site h1,
.tb-site h2,
.tb-site h3,
.tb-site h4 {
  font-family: var(--tb-font);
  color: var(--tb-text);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
.tb-site h1 { font-size: clamp(2.35rem, 1.5rem + 3.4vw, 4rem); line-height: 1.04; letter-spacing: -0.035em; }
.tb-site h2 { font-size: clamp(1.8rem, 1.35rem + 1.7vw, 2.6rem); line-height: 1.12; letter-spacing: -0.028em; }
.tb-site h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.012em; }
.tb-site h4 { font-size: 1rem; line-height: 1.35; letter-spacing: -0.005em; }
/* A heading that is structurally an h2 but sits at card level. */
.tb-site .tb-h3 { font-size: 1.05rem; line-height: 1.3; letter-spacing: -0.012em; margin: 0 0 0.35em; }
.tb-site p { margin: 0 0 1em; text-wrap: pretty; }
.tb-site p:last-child { margin-bottom: 0; }
.tb-site a { color: var(--tb-primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.tb-site a:hover { color: var(--tb-primary-hover); }
.tb-site strong { font-weight: 600; color: var(--tb-text); }
.tb-site ul,
.tb-site ol { margin: 0 0 1em; padding-left: 1.25em; }
.tb-site li { margin: 0.25em 0; }
.tb-site code,
.tb-site .tb-mono {
  font-family: var(--tb-mono);
  font-feature-settings: 'calt' 0;
  font-size: 0.9em;
}
.tb-site :not(pre) > code {
  background: var(--tb-surface-2);
  border: 1px solid var(--tb-border);
  border-radius: 5px;
  padding: 0.05em 0.35em;
  white-space: nowrap;
}
.tb-site hr { border: 0; border-top: 1px solid var(--tb-border); margin: 2.5rem 0; }
.tb-site pre.tb-code {
  white-space: pre;
  margin: 20px 0 0;
  padding: 14px 16px;
  border-radius: var(--tb-radius);
  background: var(--tb-band);
  color: #e9eaf0;
  font-family: var(--tb-mono);
  font-size: 0.82rem;
  line-height: 1.6;
  overflow-x: auto;
}
.tb-site pre.tb-code code { color: inherit; font-size: inherit; white-space: pre; }
.tb-site .tb-cols { columns: 2; column-gap: 32px; margin-top: 20px; }
.tb-site .tb-cols li { break-inside: avoid; }
@media (max-width: 520px) { .tb-site .tb-cols { columns: 1; } }

.tb-site .tb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--tb-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tb-primary);
  margin: 0 0 1rem;
}
.tb-site .tb-lead {
  font-size: clamp(1.08rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.55;
  color: var(--tb-text-2);
  max-width: 44rem;
}
.tb-site .tb-muted { color: var(--tb-muted); }
.tb-site .tb-small { font-size: 0.875rem; }
.tb-site .tb-center { text-align: center; margin-inline: auto; }
.tb-site .tb-sr-only {
  display: block;
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------------ layout */
.tb-site .tb-container { width: 100%; max-width: calc(var(--tb-container) + 2 * var(--tb-gutter)); margin-inline: auto; padding-inline: var(--tb-gutter); }
.tb-site .tb-narrow { max-width: calc(800px + 2 * var(--tb-gutter)); }
.tb-site .tb-section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.tb-site .tb-section--tight { padding-block: clamp(48px, 6vw, 80px); }
.tb-site .tb-section--surface { background: var(--tb-surface); border-block: 1px solid var(--tb-border); }
.tb-site .tb-section-head { max-width: 46rem; margin-bottom: clamp(32px, 5vw, 56px); }
.tb-site .tb-section-head.tb-center { text-align: center; }
.tb-site .tb-section-head.tb-center .tb-lead { margin-inline: auto; }
.tb-site .tb-grid { display: grid; gap: clamp(16px, 2.4vw, 24px); }
.tb-site .tb-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.tb-site .tb-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.tb-site .tb-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.tb-site .tb-dots {
  background-image: radial-gradient(var(--tb-dot) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
}

/* ------------------------------------------------------------------ skip link */
.tb-site .tb-skip {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  background: var(--tb-primary);
  color: var(--tb-on-primary);
  padding: 10px 16px;
  border-radius: var(--tb-radius-sm);
  font-weight: 600;
  text-decoration: none;
}
.tb-site .tb-skip:focus { top: 12px; color: var(--tb-on-primary); }

/* ------------------------------------------------------------------ buttons */
.tb-site .tb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 44px;
  padding: 0.6rem 1.15rem;
  border-radius: var(--tb-radius);
  border: 1px solid transparent;
  background: transparent;
  color: var(--tb-text);
  font-family: var(--tb-font);
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.tb-site .tb-btn:hover { text-decoration: none; }
.tb-site .tb-btn:active { transform: translateY(1px); }
.tb-site .tb-btn--primary { background: var(--tb-primary); border-color: var(--tb-primary); color: var(--tb-on-primary); box-shadow: 0 1px 2px rgb(20 20 60 / 0.18); }
.tb-site .tb-btn--primary:hover,
.tb-site .tb-btn--primary:focus-visible { background: var(--tb-primary-hover); border-color: var(--tb-primary-hover); color: var(--tb-on-primary); }
.tb-site .tb-btn--secondary { background: var(--tb-surface); border-color: var(--tb-border-strong); color: var(--tb-text); box-shadow: 0 1px 2px rgb(20 20 30 / 0.05); }
.tb-site .tb-btn--secondary:hover,
.tb-site .tb-btn--secondary:focus-visible { background: var(--tb-surface-2); border-color: var(--tb-border-strong); color: var(--tb-text); }
.tb-site .tb-btn--ghost { color: var(--tb-text-2); }
.tb-site .tb-btn--ghost:hover,
.tb-site .tb-btn--ghost:focus-visible { background: var(--tb-surface-2); color: var(--tb-text); }
.tb-site .tb-btn--lg { min-height: 52px; padding: 0.8rem 1.5rem; font-size: 1.04rem; border-radius: 12px; }
.tb-site .tb-btn--sm { min-height: 36px; padding: 0.4rem 0.8rem; font-size: 0.88rem; }
.tb-site .tb-btn--block { width: 100%; }
.tb-site .tb-btn .tb-icon { width: 1.05em; height: 1.05em; }
.tb-site .tb-btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.tb-site .tb-center .tb-btn-row,
.tb-site .tb-btn-row.tb-center { justify-content: center; }
@media (max-width: 520px) {
  /* Stacked calls to action read better at one width. */
  .tb-site .tb-hero .tb-btn-row .tb-btn,
  .tb-site .tb-page-hero .tb-btn-row .tb-btn,
  .tb-site .tb-cta .tb-btn-row .tb-btn { width: 100%; }
}
.tb-site .tb-link-arrow { display: inline-flex; align-items: center; gap: 0.35em; font-weight: 600; text-decoration: none; }
.tb-site .tb-link-arrow:hover { text-decoration: underline; }
.tb-site .tb-link-arrow .tb-icon { transition: transform 0.15s ease; }
.tb-site .tb-link-arrow:hover .tb-icon { transform: translateX(3px); }

/* ------------------------------------------------------------------ chips and truth badges */
.tb-site .tb-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-family: var(--tb-mono);
  font-size: 0.8rem;
  line-height: 1.2;
  padding: 0.3em 0.6em;
  border: 1px solid var(--tb-border);
  border-radius: var(--tb-radius-sm);
  background: var(--tb-surface);
  color: var(--tb-text-2);
  white-space: nowrap;
}
.tb-site .tb-chip-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tb-site .tb-chip-list li { margin: 0; }
.tb-site .tb-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.2;
  padding: 0.3em 0.65em;
  border-radius: 999px;
  background: var(--tb-primary-soft);
  color: var(--tb-primary);
}
.tb-site .tb-pill--accent { background: var(--tb-accent-soft); color: var(--tb-accent); }
.tb-site .tb-pill--true { background: var(--tb-true-soft); color: var(--tb-true); }
.tb-site .tb-pill--muted { background: var(--tb-surface-2); color: var(--tb-muted); }
.tb-site .tb-tv {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  font-family: var(--tb-mono);
  font-weight: 500;
  font-size: 0.82em;
  letter-spacing: 0.02em;
  padding: 0.18em 0.5em;
  border-radius: 5px;
  line-height: 1.25;
  white-space: nowrap;
}
.tb-site .tb-tv .tb-icon { width: 1em; height: 1em; stroke-width: 2.6; vertical-align: 0; }
.tb-site .tb-tv--true { background: var(--tb-true-soft); color: var(--tb-true); }
.tb-site .tb-tv--false { background: var(--tb-false-soft); color: var(--tb-false); }
.tb-site .tb-tv--none { background: var(--tb-surface-2); color: var(--tb-muted); }

/* ------------------------------------------------------------------ header */
.tb-site .tb-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--tb-bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.5) blur(12px);
  backdrop-filter: saturate(1.5) blur(12px);
  border-bottom: 1px solid var(--tb-border);
}
body.admin-bar .tb-site .tb-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .tb-site .tb-header { top: 46px; } }
.tb-site .tb-header__inner { display: flex; align-items: center; gap: 24px; height: var(--tb-header-h); }
.tb-site .tb-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--tb-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.17rem;
  letter-spacing: -0.025em;
  line-height: 1;
}
.tb-site .tb-logo:hover { color: var(--tb-text); }
.tb-site .tb-logo svg { width: 30px; height: 30px; }
.tb-site .tb-nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.tb-site .tb-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.tb-site .tb-nav li { margin: 0; }
.tb-site .tb-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--tb-text-2);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}
.tb-site .tb-nav a:hover { color: var(--tb-text); background: var(--tb-surface-2); }
.tb-site .tb-nav a[aria-current='page'] { color: var(--tb-text); background: var(--tb-surface); box-shadow: inset 0 0 0 1px var(--tb-border); }
.tb-site .tb-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.tb-site .tb-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: 1px solid var(--tb-border-strong);
  border-radius: var(--tb-radius);
  background: var(--tb-surface);
  color: var(--tb-text);
  cursor: pointer;
}
.tb-site .tb-menu-btn:hover,
.tb-site .tb-menu-btn:focus-visible { background: var(--tb-surface-2); color: var(--tb-text); border-color: var(--tb-border-strong); }
.tb-site .tb-menu-btn .tb-icon { width: 22px; height: 22px; vertical-align: 0; }
.tb-site .tb-menu-btn,
.tb-site .tb-lightbox__close { font-size: 1rem; line-height: 1; white-space: normal; }
.tb-site .tb-lightbox__close .tb-icon { width: 20px; height: 20px; vertical-align: 0; }
.tb-site .tb-menu-btn .tb-icon--close { display: none; }
.tb-site .tb-menu-btn[aria-expanded='true'] .tb-icon--open { display: none; }
.tb-site .tb-menu-btn[aria-expanded='true'] .tb-icon--close { display: block; }
.tb-site .tb-mobile-nav { display: none; }

@media (max-width: 900px) {
  .tb-site .tb-nav,
  .tb-site .tb-header__actions .tb-btn--ghost { display: none; }
  .tb-site .tb-menu-btn { display: inline-flex; }
  .tb-site .tb-header__actions { gap: 8px; }
  .tb-site .tb-mobile-nav[data-open='true'] {
    display: block;
    border-top: 1px solid var(--tb-border);
    background: var(--tb-bg);
    padding: 8px var(--tb-gutter) 20px;
    max-height: calc(100vh - var(--tb-header-h));
    overflow-y: auto;
  }
  .tb-site .tb-mobile-nav ul { list-style: none; margin: 0; padding: 0; }
  .tb-site .tb-mobile-nav li { margin: 0; border-bottom: 1px solid var(--tb-border); }
  .tb-site .tb-mobile-nav a:not(.tb-btn) {
    display: flex;
    align-items: center;
    min-height: 52px;
    color: var(--tb-text);
    font-size: 1.05rem;
    font-weight: 500;
    text-decoration: none;
  }
  .tb-site .tb-mobile-nav a[aria-current='page'] { color: var(--tb-primary); }
  .tb-site .tb-mobile-nav .tb-btn-row { margin-top: 16px; }
  .tb-site .tb-mobile-nav .tb-btn { flex: 1 1 auto; }
}
@media (max-width: 900px) {
  /* Without the script the menu cannot open, so show the links instead of the button. */
  .tb-site:not(.tb-js) .tb-menu-btn { display: none; }
  .tb-site:not(.tb-js) .tb-mobile-nav { display: block; border-top: 1px solid var(--tb-border); padding: 0 var(--tb-gutter) 12px; }
  .tb-site:not(.tb-js) .tb-mobile-nav .tb-btn-row { display: none; }
}
@media (max-width: 420px) {
  .tb-site .tb-header__actions .tb-btn--primary { padding-inline: 0.8rem; font-size: 0.9rem; }
}

/* ------------------------------------------------------------------ hero */
.tb-site .tb-hero { position: relative; padding-top: clamp(48px, 8vw, 104px); padding-bottom: clamp(48px, 7vw, 96px); overflow: hidden; }
.tb-site .tb-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--tb-dot) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 80%);
  pointer-events: none;
}
.tb-site .tb-hero > * { position: relative; }
.tb-site .tb-hero__copy { max-width: 880px; margin-inline: auto; text-align: center; }
.tb-site .tb-hero__copy .tb-lead { margin-inline: auto; margin-bottom: 2rem; }
.tb-site .tb-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  margin-bottom: 1.75rem;
  border: 1px solid var(--tb-border);
  border-radius: 999px;
  background: var(--tb-surface);
  box-shadow: var(--tb-shadow);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--tb-text-2);
}
.tb-site .tb-hero__badge .tb-dot-amber { width: 10px; height: 10px; border-radius: 50%; background: var(--tb-amber); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tb-amber) 25%, transparent); margin-left: 6px; }
.tb-site .tb-hero__note { display: inline-flex; align-items: center; gap: 8px; margin-top: 1.25rem; font-size: 0.92rem; color: var(--tb-muted); }
.tb-site .tb-hero__note .tb-icon { color: var(--tb-true); }
.tb-site .tb-hero__visual { margin-top: clamp(40px, 6vw, 72px); }
.tb-site .tb-page-hero { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(32px, 5vw, 64px); position: relative; }
.tb-site .tb-page-hero h1 { font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.4rem); max-width: 20ch; }
.tb-site .tb-page-hero.tb-center h1 { margin-inline: auto; }
.tb-site .tb-page-hero.tb-center .tb-lead { margin-inline: auto; }

/* ------------------------------------------------------------------ screenshot frame */
.tb-site .tb-shot {
  position: relative;
  margin: 0;
  border: 1px solid var(--tb-border-strong);
  border-radius: var(--tb-radius-lg);
  background: var(--tb-surface);
  box-shadow: var(--tb-shadow-lg);
  overflow: hidden;
}
.tb-site .tb-shot__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-bottom: 1px solid var(--tb-border);
  background: var(--tb-surface-2);
}
.tb-site .tb-shot__bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--tb-border-strong); }
.tb-site .tb-shot__url {
  margin-inline: auto;
  transform: translateX(-24px);
  font-family: var(--tb-mono);
  font-size: 0.74rem;
  color: var(--tb-muted);
  padding: 3px 12px;
  border-radius: 6px;
  background: var(--tb-surface);
  border: 1px solid var(--tb-border);
}
.tb-site .tb-shot img { width: 100%; height: auto; border-radius: 0; }
.tb-site .tb-shot--flat { box-shadow: var(--tb-shadow); border-radius: var(--tb-radius); }
.tb-site .tb-shot > figcaption {
  padding: 12px 16px;
  border-top: 1px solid var(--tb-border);
  background: var(--tb-surface-2);
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--tb-text-2);
}
.tb-site .tb-figure { margin: 0; }
.tb-site .tb-zoom { display: block; position: relative; cursor: zoom-in; color: inherit; text-decoration: none; }
.tb-site .tb-zoom__hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgb(20 22 30 / 0.8);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.tb-site .tb-zoom:hover .tb-zoom__hint,
.tb-site .tb-zoom:focus-visible .tb-zoom__hint { opacity: 1; }
@media (hover: none) { .tb-site .tb-zoom__hint { opacity: 1; } }
.tb-site .tb-lightbox { padding: 0; border: 0; background: transparent; max-width: min(1680px, 96vw); max-height: 94vh; overflow: visible; }
.tb-site .tb-lightbox::backdrop { background: rgb(10 12 18 / 0.84); }
.tb-site .tb-lightbox img { display: block; max-width: 100%; max-height: 90vh; width: auto; height: auto; border-radius: 12px; box-shadow: 0 30px 80px rgb(0 0 0 / 0.5); background: #fff; }
.tb-site .tb-lightbox form { position: absolute; top: -18px; right: -18px; margin: 0; }
.tb-site .tb-lightbox__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 0.25);
  border-radius: 50%;
  background: #1a1c22;
  color: #fff;
  cursor: pointer;
}
.tb-site .tb-lightbox__close:hover,
.tb-site .tb-lightbox__close:focus-visible { background: #2f3fb8; color: #fff; border-color: transparent; }
@media (max-width: 600px) { .tb-site .tb-lightbox form { top: 8px; right: 8px; } }
.tb-site figcaption { font-style: normal; font-weight: 400; }
.tb-site .tb-figure figcaption { margin-top: 12px; font-size: 0.88rem; color: var(--tb-muted); text-align: center; }
.tb-site .tb-phone {
  width: min(300px, 80vw);
  margin-inline: auto;
  border-radius: 34px;
  padding: 10px;
  background: var(--tb-text);
  box-shadow: var(--tb-shadow-lg);
}
.tb-site .tb-phone img { border-radius: 26px; }

/* hero annotations */
.tb-site .tb-callouts { position: relative; }
.tb-site .tb-callout {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 270px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--tb-surface);
  border: 1px solid var(--tb-border);
  box-shadow: var(--tb-shadow-lg);
  font-size: 0.86rem;
  line-height: 1.35;
  color: var(--tb-text-2);
}
.tb-site .tb-callout strong { display: block; color: var(--tb-text); font-size: 0.9rem; }
/* Positioned over empty canvas and below the frame, never over the parts they describe. */
.tb-site .tb-callout--1 { left: 34%; top: 55%; }
.tb-site .tb-callout--2 { right: 5%; bottom: -28px; }
@media (max-width: 960px) { .tb-site .tb-callout { display: none; } }

/* ------------------------------------------------------------------ proof bar */
.tb-site .tb-proof {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--tb-border);
  border-radius: var(--tb-radius-lg);
  background: var(--tb-surface);
  overflow: hidden;
  list-style: none;
  padding: 0;
  margin: 0;
}
.tb-site .tb-proof li { margin: 0; padding: 22px 22px 20px; border-left: 1px solid var(--tb-border); }
.tb-site .tb-proof li:first-child { border-left: 0; }
.tb-site .tb-proof b { display: block; font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; color: var(--tb-text); margin-bottom: 4px; }
.tb-site .tb-proof span { display: block; font-size: 0.9rem; line-height: 1.45; color: var(--tb-muted); }
@media (max-width: 1000px) {
  .tb-site .tb-proof { grid-template-columns: repeat(2, 1fr); }
  .tb-site .tb-proof li { padding: 18px 16px; }
  .tb-site .tb-proof b { font-size: 1.12rem; }
  .tb-site .tb-proof li { border-left: 0; border-top: 1px solid var(--tb-border); }
  .tb-site .tb-proof li:nth-child(-n + 2) { border-top: 0; }
  .tb-site .tb-proof li:nth-child(even) { border-left: 1px solid var(--tb-border); }
  .tb-site .tb-proof li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

.tb-site .tb-proof--2 { grid-template-columns: repeat(2, 1fr); }
.tb-site .tb-proof--2 li { border-left: 0; }
.tb-site .tb-proof--2 li:nth-child(even) { border-left: 1px solid var(--tb-border); }
.tb-site .tb-proof--2 li:nth-child(n + 3) { border-top: 1px solid var(--tb-border); }
.tb-site .tb-band .tb-proof { background: transparent; border-color: rgb(255 255 255 / 0.12); }
.tb-site .tb-band .tb-proof li { border-color: rgb(255 255 255 / 0.12); }
.tb-site .tb-band .tb-proof b { color: #fff; font-size: 1.8rem; }
.tb-site .tb-band .tb-proof span { color: var(--tb-band-muted); }

/* ------------------------------------------------------------------ cards */
.tb-site .tb-card {
  position: relative;
  background: var(--tb-surface);
  border: 1px solid var(--tb-border);
  border-radius: var(--tb-radius-lg);
  padding: clamp(20px, 2.6vw, 28px);
  box-shadow: 0 1px 2px rgb(20 20 30 / 0.04);
}
.tb-site .tb-card h3 { margin-bottom: 0.4em; }
.tb-site .tb-card p { color: var(--tb-text-2); font-size: 0.97rem; }
.tb-site .tb-card--link { transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease; }
.tb-site .tb-card--link:hover { border-color: var(--tb-border-strong); box-shadow: var(--tb-shadow); transform: translateY(-2px); }
.tb-site .tb-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 11px;
  background: var(--tb-primary-soft);
  color: var(--tb-primary);
}
.tb-site .tb-card__icon .tb-icon { width: 21px; height: 21px; vertical-align: 0; }
.tb-site .tb-card__icon--accent { background: var(--tb-accent-soft); color: var(--tb-accent); }
.tb-site .tb-card__icon--true { background: var(--tb-true-soft); color: var(--tb-true); }
.tb-site .tb-card__icon--info { background: var(--tb-info-soft); color: var(--tb-info); }
.tb-site .tb-card__meta { margin-top: 14px; font-family: var(--tb-mono); font-size: 0.78rem; color: var(--tb-muted); }
.tb-site .tb-card .tb-link-arrow { margin-top: 14px; font-size: 0.95rem; }
.tb-site .tb-card a.tb-stretched::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.tb-site .tb-card a.tb-stretched { text-decoration: none; color: inherit; }

/* ------------------------------------------------------------------ feature rows */
.tb-site .tb-feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.tb-site .tb-feature + .tb-feature { margin-top: clamp(72px, 10vw, 128px); }
.tb-site .tb-feature--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.tb-site .tb-feature--flip .tb-feature__copy { order: 2; }
.tb-site .tb-feature--stack { grid-template-columns: minmax(0, 1fr); }
.tb-site .tb-feature > * { min-width: 0; }
.tb-site .tb-feature--stack .tb-feature__copy { max-width: 46rem; }
.tb-site .tb-feature__copy h2,
.tb-site .tb-feature__copy h3 { font-size: clamp(1.55rem, 1.25rem + 1.1vw, 2.15rem); line-height: 1.15; letter-spacing: -0.025em; }
.tb-site .tb-feature__copy > p:not(.tb-eyebrow) { color: var(--tb-text-2); font-size: 1.04rem; }
.tb-site .tb-checks--row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 4px 32px; }
@media (max-width: 900px) {
  .tb-site .tb-feature,
  .tb-site .tb-feature--flip { grid-template-columns: minmax(0, 1fr); }
  .tb-site .tb-feature--flip .tb-feature__copy { order: 0; }
}
.tb-site .tb-checks { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.tb-site .tb-checks li { position: relative; padding-left: 30px; margin: 0.6em 0; color: var(--tb-text-2); font-size: 0.98rem; }
.tb-site .tb-checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.22em;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--tb-true-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d7a52' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
@media (prefers-color-scheme: dark) {
  .tb-site .tb-checks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235fd39b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
}
.tb-site .tb-checks strong { color: var(--tb-text); }

/* ------------------------------------------------------------------ interactive demo */
.tb-site .tb-demo {
  background: var(--tb-surface);
  border: 1px solid var(--tb-border);
  border-radius: var(--tb-radius-lg);
  box-shadow: var(--tb-shadow-lg);
  overflow: hidden;
}
.tb-site .tb-demo__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--tb-border);
  background: var(--tb-surface-2);
  font-family: var(--tb-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tb-muted);
}
.tb-site .tb-demo__body { padding: clamp(16px, 2.4vw, 24px); }
.tb-site .tb-demo__label { display: block; font-family: var(--tb-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tb-muted); margin: 0 0 8px; }
.tb-site .tb-demo__inputs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 20px; }
.tb-site .tb-toggle {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--tb-border);
  border-radius: var(--tb-radius);
  background: var(--tb-surface);
  color: var(--tb-text);
  font-family: var(--tb-mono);
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.2;
  text-align: left;
  white-space: normal;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.tb-site .tb-toggle:hover,
.tb-site .tb-toggle:focus-visible { border-color: var(--tb-border-strong); background: var(--tb-surface-2); color: var(--tb-text); }
.tb-site .tb-toggle small { font-family: var(--tb-font); font-size: 0.74rem; color: var(--tb-muted); }
.tb-site .tb-formula {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 12px 14px;
  border: 1px solid var(--tb-border);
  border-radius: var(--tb-radius);
  background: var(--tb-bg);
  margin-bottom: 10px;
}
.tb-site .tb-formula code {
  font-family: var(--tb-mono);
  font-size: 0.92rem;
  background: none;
  border: 0;
  padding: 0;
  white-space: normal;
  color: var(--tb-text);
}
.tb-site .tb-formula .op { color: var(--tb-primary); font-weight: 500; }
.tb-site .tb-formula .who { display: block; font-family: var(--tb-font); font-size: 0.78rem; color: var(--tb-muted); margin-bottom: 2px; }
.tb-site .tb-demo__status {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--tb-radius);
  background: var(--tb-surface-2);
  color: var(--tb-text-2);
  font-size: 0.93rem;
  line-height: 1.45;
}
.tb-site .tb-demo__status .tb-icon { margin-top: 2px; }
.tb-site .tb-demo__status[data-state='differ'] { background: var(--tb-warn-soft); color: var(--tb-text); }
.tb-site .tb-demo__status[data-state='differ'] .tb-icon { color: var(--tb-warn); }
.tb-site .tb-demo__status[data-state='agree'] .tb-icon { color: var(--tb-true); }
.tb-site .tb-demo__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tb-site .tb-demo__caption { margin: 22px 0 8px; font-size: 0.85rem; color: var(--tb-muted); }
.tb-site .tb-demo__table-wrap { overflow-x: auto; border-radius: 8px; }
.tb-site .tb-demo table.tb-tt { min-width: 440px; }
.tb-site .tb-tt tr[data-current='true'] td { background: var(--tb-accent-soft); }
.tb-site .tb-tt tr[data-differ='true'] td:last-child,
.tb-site .tb-tt tr[data-differ='true'] td:nth-last-child(2) { font-weight: 600; }
.tb-site .tb-tt .tb-flag { font-family: var(--tb-font); font-size: 0.75rem; color: var(--tb-warn); font-weight: 600; }

/* ------------------------------------------------------------------ tables */
.tb-site .tb-table-wrap { overflow-x: auto; border: 1px solid var(--tb-border); border-radius: var(--tb-radius); background: var(--tb-surface); }
.tb-site table { width: 100%; border-collapse: collapse; margin: 0; font-size: 0.93rem; line-height: 1.45; background: transparent; }
.tb-site table caption { text-align: left; padding: 0 0 10px; font-size: 0.85rem; color: var(--tb-muted); caption-side: top; }
.tb-site table th,
.tb-site table td { padding: 12px 16px; border: 0; border-bottom: 1px solid var(--tb-border); line-height: inherit; text-align: left; vertical-align: top; background: transparent; }
.tb-site table thead th { background: var(--tb-surface-2); font-weight: 600; font-size: 0.82rem; color: var(--tb-text-2); white-space: nowrap; }
.tb-site table tbody tr:last-child th,
.tb-site table tbody tr:last-child td { border-bottom: 0; }
.tb-site table tbody th { font-weight: 600; color: var(--tb-text); }
.tb-site table td { color: var(--tb-text-2); }
/* The Hello theme stripes, hover-tints, and top-borders table rows; undo that inside the site. */
.tb-site table tbody > tr:nth-child(n) > td,
.tb-site table tbody > tr:nth-child(n) > th { background-color: transparent; }
.tb-site table tr:nth-child(n) > :is(td, th):nth-child(n) { border-top: 0; }
.tb-site .tb-tt th,
.tb-site .tb-tt td { font-family: var(--tb-mono); font-size: 0.82rem; padding: 7px 12px; white-space: nowrap; }
.tb-site .tb-tt thead th { font-weight: 500; }

/* ------------------------------------------------------------------ validation list (five questions) */
.tb-site .tb-vlist { list-style: none; margin: 0; padding: 6px 20px; background: var(--tb-surface); border: 1px solid var(--tb-border); border-radius: var(--tb-radius-lg); box-shadow: var(--tb-shadow); }
.tb-site .tb-vlist li { display: grid; grid-template-columns: 26px 1fr auto; gap: 4px 12px; align-items: start; padding: 16px 0; margin: 0; border-top: 1px solid var(--tb-border); }
.tb-site .tb-vlist li:first-child { border-top: 0; }
.tb-site .tb-vlist .tb-icon { width: 20px; height: 20px; margin-top: 2px; vertical-align: 0; }
.tb-site .tb-vlist h3 { font-size: 1rem; margin: 0; }
.tb-site .tb-vlist p { grid-column: 2 / -1; margin: 0; font-size: 0.92rem; color: var(--tb-text-2); }
.tb-site .tb-vlist .tb-v-status { font-size: 0.85rem; font-weight: 600; white-space: nowrap; }
.tb-site .tb-v--ok { color: var(--tb-true); }
.tb-site .tb-v--warn { color: var(--tb-warn); }
.tb-site .tb-v--info { color: var(--tb-primary); }
.tb-site .tb-v--muted { color: var(--tb-muted); }

/* ------------------------------------------------------------------ band (dark strip) */
.tb-site .tb-band { background: var(--tb-band); color: var(--tb-band-text); }
.tb-site .tb-band h2,
.tb-site .tb-band h3,
.tb-site .tb-band strong { color: #ffffff; }
.tb-site .tb-band p,
.tb-site .tb-band .tb-lead { color: var(--tb-band-muted); }
.tb-site .tb-band .tb-eyebrow { color: var(--tb-amber); }
.tb-site .tb-band .tb-card { background: rgb(255 255 255 / 0.04); border-color: rgb(255 255 255 / 0.1); box-shadow: none; }
.tb-site .tb-band .tb-card p { color: var(--tb-band-muted); }
.tb-site .tb-band .tb-card__icon { background: rgb(139 152 255 / 0.16); color: #a4aeff; }
.tb-site .tb-band .tb-card__icon--accent { background: rgb(242 179 74 / 0.16); color: var(--tb-amber); }
.tb-site .tb-band .tb-card__icon--true { background: rgb(95 211 155 / 0.14); color: #5fd39b; }
.tb-site .tb-band a:not(.tb-btn) { color: #a4aeff; }
.tb-site .tb-band .tb-feature__copy > p:not(.tb-eyebrow),
.tb-site .tb-band .tb-checks li { color: var(--tb-band-muted); }
.tb-site .tb-band .tb-checks strong { color: #fff; }
.tb-site .tb-band .tb-step-n { color: var(--tb-amber); }
.tb-site .tb-step-n { font-family: var(--tb-mono); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em; color: var(--tb-primary); display: block; margin-bottom: 10px; }

/* ------------------------------------------------------------------ CTA */
.tb-site .tb-cta {
  position: relative;
  text-align: center;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 56px);
  border: 1px solid var(--tb-border);
  border-radius: 24px;
  background: var(--tb-surface);
  overflow: hidden;
}
.tb-site .tb-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--tb-dot) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
  pointer-events: none;
}
.tb-site .tb-cta > * { position: relative; }
.tb-site .tb-cta h2 { max-width: 22ch; margin-inline: auto; }
.tb-site .tb-cta .tb-lead { margin: 0 auto 1.75rem; }

/* ------------------------------------------------------------------ sub navigation (features) */
.tb-site .tb-subnav {
  position: sticky;
  top: var(--tb-header-h);
  z-index: 50;
  background: color-mix(in srgb, var(--tb-bg) 92%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--tb-border);
}
body.admin-bar .tb-site .tb-subnav { top: calc(var(--tb-header-h) + 32px); }
@media (max-width: 782px) { body.admin-bar .tb-site .tb-subnav { top: calc(var(--tb-header-h) + 46px); } }
.tb-site .tb-subnav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.tb-site .tb-subnav ul::-webkit-scrollbar { display: none; }
.tb-site .tb-subnav li { margin: 0; flex: none; }
.tb-site .tb-subnav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--tb-text-2);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.tb-site .tb-subnav a:hover { background: var(--tb-surface-2); color: var(--tb-text); }
.tb-site .tb-subnav a[aria-current='true'] { background: var(--tb-primary-soft); color: var(--tb-primary); }
.tb-site [id] { scroll-margin-top: calc(var(--tb-header-h) + 72px); }

/* ------------------------------------------------------------------ pricing */
.tb-site .tb-billing { display: inline-flex; gap: 4px; min-width: 0; padding: 4px; border: 1px solid var(--tb-border); border-radius: 12px; background: var(--tb-surface); margin: 0 auto 36px; }
.tb-site .tb-billing label { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 9px; font-size: 0.93rem; font-weight: 600; line-height: 1; color: var(--tb-text-2); cursor: pointer; }
.tb-site .tb-billing input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; font-size: inherit; line-height: inherit; }
.tb-site .tb-billing label:has(input:checked) { background: var(--tb-primary); color: var(--tb-on-primary); }
.tb-site .tb-billing label:has(input:focus-visible) { outline: 2px solid var(--tb-primary); outline-offset: 2px; }
.tb-site .tb-billing .tb-save { font-size: 0.74rem; font-weight: 600; padding: 3px 7px; border-radius: 999px; background: var(--tb-true-soft); color: var(--tb-true); }
.tb-site .tb-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
@media (max-width: 1100px) { .tb-site .tb-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .tb-site .tb-plans { grid-template-columns: 1fr; } }
.tb-site .tb-plan { display: flex; flex-direction: column; background: var(--tb-surface); border: 1px solid var(--tb-border); border-radius: var(--tb-radius-lg); padding: 26px 24px; }
.tb-site .tb-plan--featured { border: 2px solid var(--tb-primary); box-shadow: var(--tb-shadow-lg); padding: 25px 23px; }
.tb-site .tb-plan__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.tb-site .tb-plan h2,
.tb-site .tb-plan h3 { font-size: 1.15rem; line-height: 1.3; letter-spacing: -0.012em; margin: 0; }
.tb-site .tb-plan__desc { font-size: 0.92rem; color: var(--tb-text-2); min-height: 3em; }
.tb-site .tb-price { display: flex; align-items: baseline; gap: 6px; min-height: 3.7rem; margin: 14px 0 2px; }
.tb-site .tb-price__unit { line-height: 1.25; }
.tb-site .tb-price__amount { font-size: 2.4rem; font-weight: 600; letter-spacing: -0.035em; line-height: 1; color: var(--tb-text); }
.tb-site .tb-price__unit { font-size: 0.9rem; color: var(--tb-muted); }
.tb-site .tb-price__note { font-size: 0.82rem; color: var(--tb-muted); min-height: 2.6em; margin: 4px 0 18px; }
.tb-site .tb-plan .tb-btn { width: 100%; margin-bottom: 20px; }
.tb-site .tb-plan .tb-checks { margin-top: 0; }
.tb-site .tb-plan .tb-checks li { font-size: 0.92rem; }
.tb-site .tb-plan__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--tb-border); font-size: 0.82rem; color: var(--tb-muted); }
.tb-site .tb-included { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: center; font-size: 0.93rem; color: var(--tb-text-2); }
.tb-site .tb-included span { display: inline-flex; gap: 8px; align-items: center; }
.tb-site .tb-included .tb-icon { color: var(--tb-true); }
.tb-site .tb-yes { color: var(--tb-true); font-weight: 600; }
.tb-site td.tb-num,
.tb-site th.tb-num { text-align: right; font-variant-numeric: tabular-nums; }
.tb-site .tb-compare-table th[scope='col']:not(:first-child),
.tb-site .tb-compare-table td { text-align: center; }

/* ------------------------------------------------------------------ FAQ */
.tb-site .tb-faq { border-top: 1px solid var(--tb-border); }
.tb-site .tb-faq details { border-bottom: 1px solid var(--tb-border); }
.tb-site .tb-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--tb-text);
}
.tb-site .tb-faq summary::-webkit-details-marker { display: none; }
.tb-site .tb-faq summary .tb-icon { transition: transform 0.2s ease; color: var(--tb-muted); }
.tb-site .tb-faq details[open] summary .tb-icon { transform: rotate(180deg); }
.tb-site .tb-faq summary:hover { color: var(--tb-primary); }
.tb-site .tb-faq .tb-faq__a { padding: 0 0 22px; color: var(--tb-text-2); max-width: 70ch; }

/* ------------------------------------------------------------------ forms */
.tb-site .tb-form { display: grid; gap: 18px; }
.tb-site .tb-form .tb-field { display: grid; gap: 6px; align-content: start; }
.tb-site .tb-form .tb-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; }
.tb-site .tb-form label,
.tb-site .tb-form .tb-label { display: block; font-size: 0.92rem; font-weight: 600; line-height: 1.3; color: var(--tb-text); }
.tb-site .tb-form .tb-req { color: var(--tb-false); font-weight: 600; }
.tb-site .tb-form .tb-hint { font-size: 0.84rem; color: var(--tb-muted); margin: 0; }
.tb-site .tb-form input:not([type='checkbox']):not([type='radio']):not([type='submit']),
.tb-site .tb-form select,
.tb-site .tb-form textarea {
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid var(--tb-border-strong);
  border-radius: var(--tb-radius);
  background: var(--tb-surface);
  color: var(--tb-text);
  font-family: var(--tb-font);
  font-size: 1rem;
  line-height: 1.4;
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.tb-site .tb-form textarea { min-height: 150px; resize: vertical; }
.tb-site .tb-form select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2361656f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
}
.tb-site .tb-form input:focus,
.tb-site .tb-form select:focus,
.tb-site .tb-form textarea:focus {
  outline: none;
  border-color: var(--tb-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--tb-primary) 22%, transparent);
}
.tb-site .tb-form input:user-invalid,
.tb-site .tb-form select:user-invalid,
.tb-site .tb-form textarea:user-invalid { border-color: var(--tb-false); }
.tb-site .tb-form .tb-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; font-weight: 400; color: var(--tb-text-2); line-height: 1.45; }
.tb-site .tb-form .tb-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--tb-primary); flex: none; }
.tb-site .tb-form .tb-form__status { font-size: 0.93rem; padding: 12px 14px; border-radius: var(--tb-radius); background: var(--tb-true-soft); color: var(--tb-text); }
.tb-site .tb-form .tb-form__status[data-state='error'] { background: var(--tb-false-soft); }
.tb-site .tb-form .tb-form__status:empty { display: none; }
/* Common WordPress form plugins inside a .tb-form wrapper inherit the same look. */
.tb-site .tb-form .wpcf7-submit,
.tb-site .tb-form .wpforms-submit,
.tb-site .tb-form .elementor-button,
.tb-site .tb-form .ff-btn-submit,
.tb-site .tb-form button[type='submit'],
.tb-site .tb-form input[type='submit'] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  border: 1px solid var(--tb-primary);
  border-radius: var(--tb-radius);
  background: var(--tb-primary);
  color: var(--tb-on-primary);
  font-family: var(--tb-font);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
.tb-site .tb-form .wpcf7-submit:hover,
.tb-site .tb-form .wpforms-submit:hover,
.tb-site .tb-form .elementor-button:hover,
.tb-site .tb-form .ff-btn-submit:hover,
.tb-site .tb-form button[type='submit']:hover,
.tb-site .tb-form input[type='submit']:hover { background: var(--tb-primary-hover); border-color: var(--tb-primary-hover); color: var(--tb-on-primary); }

/* ------------------------------------------------------------------ contact */
.tb-site .tb-contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .tb-site .tb-contact { grid-template-columns: 1fr; } }
.tb-site .tb-contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tb-site .tb-contact-list li { margin: 0; display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px; border: 1px solid var(--tb-border); border-radius: var(--tb-radius-lg); background: var(--tb-surface); }
.tb-site .tb-contact-list .tb-card__icon { margin: 0; width: 40px; height: 40px; }
.tb-site .tb-contact-list h2,
.tb-site .tb-contact-list h3 { font-size: 1rem; margin: 0 0 2px; }
.tb-site .tb-contact-list p { margin: 0; font-size: 0.92rem; color: var(--tb-text-2); }
.tb-site .tb-contact-list a { font-weight: 600; word-break: break-word; }

/* ------------------------------------------------------------------ legal pages */
.tb-site .tb-legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .tb-site .tb-legal { grid-template-columns: minmax(0, 1fr); } }
.tb-site .tb-legal > * { min-width: 0; }
.tb-site .tb-toc { position: sticky; top: calc(var(--tb-header-h) + 24px); font-size: 0.9rem; }
@media (max-width: 960px) { .tb-site .tb-toc { position: static; } }
.tb-site .tb-toc details { border: 1px solid var(--tb-border); border-radius: var(--tb-radius); background: var(--tb-surface); }
.tb-site .tb-toc summary { padding: 12px 16px; font-weight: 600; cursor: pointer; color: var(--tb-text); }
.tb-site .tb-toc ol { margin: 0; padding: 0 16px 14px 34px; }
.tb-site .tb-toc li { margin: 0.35em 0; color: var(--tb-muted); }
.tb-site .tb-toc a { color: var(--tb-text-2); text-decoration: none; }
.tb-site .tb-toc a:hover { color: var(--tb-primary); text-decoration: underline; }
.tb-site .tb-prose { max-width: 72ch; }
.tb-site .tb-prose h2 { font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.6rem); margin-top: 2.6em; padding-top: 0.2em; }
.tb-site .tb-prose h2:first-child { margin-top: 0; }
.tb-site .tb-prose h3 { font-size: 1.08rem; margin-top: 1.8em; }
.tb-site .tb-prose p,
.tb-site .tb-prose li { color: var(--tb-text-2); }
.tb-site .tb-prose .tb-table-wrap { margin: 1.25em 0 1.5em; }
.tb-site .tb-summary { padding: 22px 24px; border: 1px solid var(--tb-border); border-left: 4px solid var(--tb-primary); border-radius: var(--tb-radius); background: var(--tb-surface); margin-bottom: 2.5em; }
.tb-site .tb-summary h2 { margin-top: 0 !important; font-size: 1.15rem; }
.tb-site .tb-summary ul { margin-bottom: 0; }
.tb-site .tb-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--tb-radius);
  background: var(--tb-warn-soft);
  border: 1px solid color-mix(in srgb, var(--tb-warn) 35%, transparent);
  color: var(--tb-text);
  font-size: 0.93rem;
  line-height: 1.5;
  margin-bottom: 2em;
}
.tb-site .tb-notice .tb-icon { color: var(--tb-warn); margin-top: 2px; }
.tb-site .tb-callout-box { padding: 16px 18px; border-radius: var(--tb-radius); background: var(--tb-primary-soft); color: var(--tb-text); margin: 1.25em 0; font-size: 0.97rem; }
.tb-site .tb-callout-box p { color: var(--tb-text); }
.tb-site .tb-meta-line { font-size: 0.9rem; color: var(--tb-muted); }
/* Values still to be supplied (see README): highlighted so they cannot be missed. */
.tb-site .tb-placeholder { background: var(--tb-warn-soft); color: var(--tb-warn); border: 1px dashed var(--tb-warn); border-radius: 4px; padding: 0 0.3em; font-weight: 600; }

/* ------------------------------------------------------------------ footer */
.tb-site .tb-footer { border-top: 1px solid var(--tb-border); background: var(--tb-surface); padding: clamp(48px, 6vw, 72px) 0 32px; font-size: 0.93rem; }
.tb-site .tb-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 860px) { .tb-site .tb-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tb-site .tb-footer__brand { grid-column: 1 / -1; } }
.tb-site .tb-footer__brand p { color: var(--tb-muted); margin-top: 14px; max-width: 32ch; }
.tb-site .tb-footer h2 { font-family: var(--tb-mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tb-muted); margin: 0 0 14px; }
.tb-site .tb-footer ul { list-style: none; margin: 0; padding: 0; }
.tb-site .tb-footer li { margin: 0 0 10px; }
.tb-site .tb-footer a { color: var(--tb-text-2); text-decoration: none; }
.tb-site .tb-footer a:hover { color: var(--tb-primary); text-decoration: underline; }
.tb-site .tb-footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--tb-border); color: var(--tb-muted); font-size: 0.86rem; }
.tb-site .tb-footer__bottom p { margin: 0; }

/* ------------------------------------------------------------------ motion */
@media (prefers-reduced-motion: reduce) {
  .tb-site *,
  .tb-site *::before,
  .tb-site *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ------------------------------------------------------------------ print */
@media print {
  .tb-site .tb-header,
  .tb-site .tb-subnav,
  .tb-site .tb-footer,
  .tb-site .tb-cta,
  .tb-site .tb-toc { display: none !important; }
  .tb-site { background: #fff; color: #000; }
  .tb-site .tb-legal { display: block; }
}
