/* ToolFlowCo Site Studio — independent public design system */
:root {
  --tfc-navy: #10243e;
  --tfc-navy-2: #173554;
  --tfc-blue: #1468c3;
  --tfc-blue-dark: #0d4f98;
  --tfc-teal: #0b7a75;
  --tfc-ink: #17263a;
  --tfc-muted: #5f6f82;
  --tfc-soft: #f4f7fa;
  --tfc-soft-blue: #edf5fd;
  --tfc-border: #d9e1ea;
  --tfc-white: #fff;
  --tfc-success: #117a43;
  --tfc-danger: #ad2e2e;
  --tfc-shadow-sm: 0 8px 24px rgba(16, 36, 62, .07);
  --tfc-shadow-md: 0 18px 50px rgba(16, 36, 62, .11);
  --tfc-radius: 12px;
  --tfc-radius-sm: 8px;
  --tfc-container: 1180px;
}

html { scroll-behavior: smooth; }
body.tfc-studio-body {
  margin: 0 !important;
  min-width: 320px;
  background: var(--tfc-white) !important;
  color: var(--tfc-ink) !important;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.tfc-studio-body * { box-sizing: border-box; }
body.tfc-studio-body img { max-width: 100%; height: auto; }
body.tfc-studio-body a { color: var(--tfc-blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.tfc-studio-body button,
body.tfc-studio-body input,
body.tfc-studio-body select,
body.tfc-studio-body textarea { font: inherit; }
body.tfc-studio-body h1,
body.tfc-studio-body h2,
body.tfc-studio-body h3,
body.tfc-studio-body h4 { margin: 0; color: var(--tfc-navy) !important; font-weight: 750; line-height: 1.13; letter-spacing: -.025em; }
body.tfc-studio-body h1 { font-size: clamp(2.4rem, 5vw, 4rem) !important; }
body.tfc-studio-body h2 { font-size: clamp(1.85rem, 3.6vw, 2.75rem) !important; }
body.tfc-studio-body h3 { font-size: 1.22rem !important; }
body.tfc-studio-body p { margin: 0 0 1.2rem; color: var(--tfc-muted); }
body.tfc-studio-body ul,
body.tfc-studio-body ol { color: var(--tfc-muted); }
body.tfc-studio-body :focus-visible { outline: 3px solid rgba(20, 104, 195, .35); outline-offset: 3px; }
body.tfc-studio-body.admin-bar .tfc-site-header { top: 32px; }
body.tfc-studio-body.admin-bar .tfc-preview-banner { top: 32px; }
body.tfc-studio-body.admin-bar.tfc-studio-mode-preview .tfc-site-header { top: 72px; }
body.tfc-studio-body .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
body.tfc-studio-body .tfc-site-shell { min-height: 100vh; overflow: clip; background: #fff; }
body.tfc-studio-body .tfc-main { min-height: 55vh; }
body.tfc-studio-body .tfc-container { width: min(calc(100% - 40px), var(--tfc-container)); margin-inline: auto; }
body.tfc-studio-body .tfc-reading-container { width: min(100%, 820px); }
body.tfc-studio-body .tfc-section { padding: 76px 0; }
body.tfc-studio-body .tfc-section-soft { background: var(--tfc-soft); border-block: 1px solid rgba(217,225,234,.72); }

/* Remove output from older ToolFlowCo visual layers while previewing alongside them. */
body.tfc-studio-body .tfc-v2-prefooter,
body.tfc-studio-body .tfc-pre-footer:not(.tfc-prefooter),
body.tfc-studio-body .tfco-mobile-buy,
body.tfc-studio-body .tfc-growth-strip,
body.tfc-studio-body .tfc-placement-panel,
body.tfc-studio-body .tfc-back-to-top-old { display: none !important; }

.tfc-skip-link { position: fixed; z-index: 100000; top: 8px; left: 8px; transform: translateY(-150%); padding: 10px 14px; border-radius: 5px; background: #fff; color: var(--tfc-navy); font-weight: 700; box-shadow: var(--tfc-shadow-md); }
.tfc-skip-link:focus { transform: translateY(0); }
.tfc-preview-banner { position: sticky; z-index: 9997; top: 0; display: flex; justify-content: center; align-items: center; gap: 12px; min-height: 40px; padding: 7px 18px; background: #fff4cc; border-bottom: 1px solid #e6cf73; color: #5d4a00; font-size: .86rem; }
.tfc-preview-banner span { color: #665613; }
.tfc-preview-banner a { color: #4d3c00; font-weight: 700; }

/* Header */
.tfc-site-header { position: sticky; z-index: 9990; top: 0; height: 76px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--tfc-border); backdrop-filter: blur(14px); transition: box-shadow .2s ease; }
.tfc-site-header.is-scrolled { box-shadow: 0 8px 24px rgba(16,36,62,.08); }
.tfc-header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.tfc-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--tfc-navy) !important; text-decoration: none !important; }
.tfc-brand-mark { display: grid; grid-template-columns: repeat(2, 8px); grid-template-rows: repeat(2, 8px); gap: 3px; width: 22px; height: 22px; }
.tfc-brand-mark span { display: block; border-radius: 2px; background: var(--tfc-blue); }
.tfc-brand-mark span:nth-child(2), .tfc-brand-mark span:nth-child(3) { background: var(--tfc-teal); }
.tfc-brand-name { font-size: 1.22rem; font-weight: 800; letter-spacing: -.03em; }
.tfc-primary-nav { display: flex; align-items: center; gap: 26px; }
.tfc-primary-nav > ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.tfc-primary-nav > ul > li { position: relative; margin: 0; padding: 0; }
.tfc-primary-nav > ul > li > a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 11px; color: var(--tfc-ink); text-decoration: none; font-size: .94rem; font-weight: 650; }
.tfc-primary-nav > ul > li > a:hover,
.tfc-primary-nav > ul > li > a:focus { color: var(--tfc-blue); }
.tfc-has-submenu > button { width: 24px; height: 36px; margin-left: -8px; padding: 0; border: 0; background: transparent; vertical-align: middle; cursor: pointer; }
.tfc-has-submenu > button::after { content: ""; display: inline-block; width: 7px; height: 7px; border-right: 1.5px solid var(--tfc-muted); border-bottom: 1.5px solid var(--tfc-muted); transform: rotate(45deg) translateY(-2px); }
.tfc-mega-menu { position: absolute; top: calc(100% + 8px); left: 0; display: grid; grid-template-columns: repeat(2, minmax(190px,1fr)); gap: 24px; width: 470px; padding: 22px; border: 1px solid var(--tfc-border); border-radius: var(--tfc-radius); background: #fff; box-shadow: var(--tfc-shadow-md); opacity: 0; visibility: hidden; transform: translateY(7px); transition: opacity .16s ease, transform .16s ease, visibility .16s; }
.tfc-mega-menu-single { width: 285px; grid-template-columns: 1fr; }
.tfc-has-submenu:hover .tfc-mega-menu,
.tfc-has-submenu:focus-within .tfc-mega-menu,
.tfc-has-submenu.is-open .tfc-mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.tfc-mega-menu div { display: flex; flex-direction: column; gap: 2px; }
.tfc-mega-menu a { padding: 8px 9px; border-radius: 6px; color: var(--tfc-ink); text-decoration: none; font-size: .91rem; font-weight: 600; }
.tfc-mega-menu a:hover { background: var(--tfc-soft-blue); color: var(--tfc-blue-dark); }
.tfc-menu-label { margin: 0 0 7px; padding: 0 9px; color: var(--tfc-muted); font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.tfc-menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--tfc-border); border-radius: 7px; background: #fff; }
.tfc-menu-toggle-lines,
.tfc-menu-toggle-lines::before,
.tfc-menu-toggle-lines::after { display: block; width: 20px; height: 2px; margin: auto; background: var(--tfc-navy); content: ""; transition: transform .2s ease; }
.tfc-menu-toggle-lines::before { transform: translateY(-6px); }
.tfc-menu-toggle-lines::after { transform: translateY(4px); }

/* Shared buttons, labels and headings */
.tfc-button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: 7px; text-decoration: none !important; font-size: .94rem; font-weight: 750; line-height: 1; transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease; }
.tfc-button:hover { transform: translateY(-1px); }
.tfc-button-primary { background: var(--tfc-blue); color: #fff !important; box-shadow: 0 8px 18px rgba(20,104,195,.17); }
.tfc-button-primary:hover { background: var(--tfc-blue-dark); }

/* Inventory hub homepage CTA: use the same primary blue treatment as Site Studio buttons. */
.tfc-inventory-homepage-link .wp-block-button__link {
  border: 1px solid var(--tfc-blue, #1769e0);
  background: var(--tfc-blue, #1769e0);
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(20,104,195,.17);
}
.tfc-inventory-homepage-link .wp-block-button__link:hover,
.tfc-inventory-homepage-link .wp-block-button__link:focus-visible {
  border-color: var(--tfc-blue-dark, #0f55bd);
  background: var(--tfc-blue-dark, #0f55bd);
  color: #fff !important;
  transform: translateY(-1px);
}

.tfc-button-secondary { border-color: var(--tfc-border); background: #fff; color: var(--tfc-navy) !important; }
.tfc-button-secondary:hover { border-color: var(--tfc-blue); color: var(--tfc-blue-dark) !important; }
.tfc-button-light { background: #fff; color: var(--tfc-navy) !important; }
.tfc-button-ghost-light { border-color: rgba(255,255,255,.35); background: transparent; color: #fff !important; }
.tfc-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 26px; }
.tfc-kicker { display: block; margin-bottom: 14px; color: var(--tfc-blue); font-size: .76rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.tfc-kicker-light { color: #8fc5ff; }
.tfc-text-link { display: inline-flex; gap: 8px; align-items: center; border: 0; background: transparent; color: var(--tfc-blue) !important; text-decoration: none !important; font-weight: 760; }
.tfc-text-link:hover { color: var(--tfc-blue-dark) !important; }
.tfc-hero-lead { max-width: 720px; margin-top: 19px !important; margin-bottom: 0 !important; color: var(--tfc-muted) !important; font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.7; }
.tfc-large-copy { font-size: 1.12rem; line-height: 1.78; }
.tfc-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 34px; }
.tfc-section-heading > div { max-width: 720px; }
.tfc-section-heading > p { max-width: 390px; margin: 0; }
.tfc-page-hero { padding: 66px 0 56px; background: linear-gradient(180deg,#f7f9fc 0,#fff 100%); border-bottom: 1px solid var(--tfc-border); }
.tfc-page-hero-compact h1 { max-width: 880px; }
.tfc-page-hero .tfc-actions { margin-top: 27px; }

/* Home */
.tfc-home-hero { padding: 74px 0 66px; background: linear-gradient(105deg,#f4f8fc 0%,#fff 58%); border-bottom: 1px solid var(--tfc-border); }
.tfc-home-hero-grid { display: grid; grid-template-columns: minmax(0,1.02fr) minmax(420px,.98fr); align-items: center; gap: 58px; }
.tfc-home-hero-copy h1 { max-width: 700px; }
.tfc-inline-trust { display: flex; flex-wrap: wrap; gap: 11px 22px; margin: 24px 0 0; padding: 0; list-style: none; font-size: .86rem; }
.tfc-inline-trust li { position: relative; padding-left: 20px; color: var(--tfc-muted); }
.tfc-inline-trust li::before { position: absolute; left: 0; top: .05em; color: var(--tfc-teal); content: "✓"; font-weight: 900; }
.tfc-hero-showcase { position: relative; min-height: 460px; padding: 13px 13px 88px; border: 1px solid var(--tfc-border); border-radius: var(--tfc-radius); background: #fff; box-shadow: var(--tfc-shadow-md); }
.tfc-showcase-main { position: relative; height: 330px; overflow: hidden; border-radius: 8px; background: var(--tfc-soft); }
.tfc-showcase-main img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.tfc-showcase-main > span { position: absolute; left: 14px; bottom: 14px; padding: 7px 10px; border-radius: 5px; background: rgba(16,36,62,.88); color: #fff; font-size: .76rem; font-weight: 700; }
.tfc-showcase-pair { position: absolute; right: 24px; bottom: -25px; left: 24px; display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.tfc-showcase-pair a { display: grid; grid-template-columns: 82px 1fr; align-items: center; gap: 12px; min-height: 96px; padding: 9px; border: 1px solid var(--tfc-border); border-radius: 9px; background: #fff; color: var(--tfc-ink); text-decoration: none; box-shadow: var(--tfc-shadow-sm); }
.tfc-showcase-pair img { width: 82px; height: 72px; object-fit: cover; object-position: top; border-radius: 5px; }
.tfc-showcase-pair strong { font-size: .84rem; line-height: 1.35; }
.tfc-fallback-showcase { border-radius: 8px; background: #fff; }
.tfc-fallback-bar { display: flex; gap: 7px; padding: 15px; border-bottom: 1px solid var(--tfc-border); }
.tfc-fallback-bar span { width: 9px; height: 9px; border-radius: 50%; background: #91a3b8; }
.tfc-fallback-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; padding: 24px; }
.tfc-fallback-grid div { min-height: 120px; padding: 19px; border: 1px solid var(--tfc-border); border-radius: 8px; background: var(--tfc-soft); }
.tfc-fallback-grid small { display: block; color: var(--tfc-muted); text-transform: uppercase; letter-spacing: .08em; }
.tfc-fallback-grid strong { display: block; margin-top: 8px; color: var(--tfc-navy); }
.tfc-fallback-showcase > p { padding: 0 24px 24px; }
.tfc-proof-strip { background: var(--tfc-navy); }
.tfc-proof-strip .tfc-container { display: grid; grid-template-columns: repeat(4,1fr); }
.tfc-proof-strip .tfc-container > div { padding: 25px 24px; border-left: 1px solid rgba(255,255,255,.12); }
.tfc-proof-strip .tfc-container > div:last-child { border-right: 1px solid rgba(255,255,255,.12); }
.tfc-proof-strip strong { display: block; color: #fff; font-size: 1.12rem; }
.tfc-proof-strip span { display: block; color: #c7d4e2; font-size: .82rem; }
.tfc-solution-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.tfc-solution-grid-large { grid-template-columns: repeat(3,1fr); }
.tfc-solution-card { display: flex; min-height: 285px; flex-direction: column; padding: 26px; border: 1px solid var(--tfc-border); border-radius: var(--tfc-radius); background: #fff; color: var(--tfc-ink) !important; text-decoration: none !important; transition: border .18s ease, transform .18s ease, box-shadow .18s ease; }
.tfc-solution-card:hover { transform: translateY(-3px); border-color: #a8c9e8; box-shadow: var(--tfc-shadow-sm); }
.tfc-solution-card > span { color: var(--tfc-blue); font-size: .78rem; font-weight: 850; letter-spacing: .1em; }
.tfc-solution-card h3 { margin-top: 42px; }
.tfc-solution-card p { margin-top: 13px; }
.tfc-solution-card strong { margin-top: auto; color: var(--tfc-blue); font-size: .9rem; }
.tfc-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 74px; align-items: start; }
.tfc-value-list { border-top: 1px solid var(--tfc-border); }
.tfc-value-list > div { display: grid; grid-template-columns: 42px 170px 1fr; gap: 18px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--tfc-border); }
.tfc-value-list span { color: var(--tfc-blue); font-size: .76rem; font-weight: 850; }
.tfc-value-list p { margin: 0; }

/* Products */
.tfc-platform-nav { border-bottom: 1px solid var(--tfc-border); background: #fff; }
.tfc-platform-nav .tfc-container { display: grid; grid-template-columns: repeat(4,1fr); }
.tfc-platform-nav a { padding: 24px; border-left: 1px solid var(--tfc-border); color: var(--tfc-ink); text-decoration: none; }
.tfc-platform-nav a:last-child { border-right: 1px solid var(--tfc-border); }
.tfc-platform-nav strong, .tfc-platform-nav span { display: block; }
.tfc-platform-nav strong { color: var(--tfc-navy); }
.tfc-platform-nav span { margin-top: 3px; color: var(--tfc-muted); font-size: .8rem; }
.tfc-catalogue-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 15px; }
.tfc-search-box { position: relative; flex: 0 1 360px; }
.tfc-search-box input { width: 100%; min-height: 46px; padding: 0 44px 0 14px; border: 1px solid var(--tfc-border); border-radius: 7px; background: #fff; color: var(--tfc-ink); }
.tfc-search-box > span:not(.screen-reader-text) { position: absolute; top: 9px; right: 15px; color: var(--tfc-muted); font-size: 1.2rem; }
.tfc-filter-buttons { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.tfc-filter-buttons button { min-height: 38px; padding: 0 13px; border: 1px solid var(--tfc-border); border-radius: 5px; background: #fff; color: var(--tfc-ink); cursor: pointer; font-size: .82rem; font-weight: 700; }
.tfc-filter-buttons button:hover,
.tfc-filter-buttons button.is-active { border-color: var(--tfc-blue); background: var(--tfc-blue); color: #fff; }
.tfc-results-count { margin: 0 0 24px !important; font-size: .86rem; }
.tfc-product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.tfc-product-card { display: flex; min-width: 0; height: 100%; flex-direction: column; overflow: hidden; border: 1px solid var(--tfc-border); border-radius: var(--tfc-radius); background: #fff; box-shadow: 0 5px 18px rgba(16,36,62,.045); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.tfc-product-card:hover { transform: translateY(-3px); border-color: #b9cede; box-shadow: var(--tfc-shadow-sm); }
.tfc-product-image { display: block; height: 215px; overflow: hidden; background: #edf2f6; }
.tfc-product-image img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .25s ease; }
.tfc-product-card:hover .tfc-product-image img { transform: scale(1.015); }
.tfc-product-card-body { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.tfc-product-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.tfc-platform-badge { display: inline-flex; align-items: center; min-height: 25px; padding: 0 8px; border-radius: 4px; background: #e9f2fc; color: #0f5ba6; font-size: .68rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.tfc-platform-access { background: #efeafd; color: #5a3ba9; }
.tfc-platform-sheets { background: #e4f6ec; color: #147142; }
.tfc-platform-outlook { background: #e5f3fa; color: #126488; }
.tfc-card-price { color: var(--tfc-navy); font-size: .84rem; font-weight: 800; }
.tfc-product-card h2 { font-size: 1.14rem !important; line-height: 1.3; }
.tfc-product-card h2 a { color: var(--tfc-navy); text-decoration: none; }
.tfc-product-card p { margin: 12px 0 18px; font-size: .91rem; line-height: 1.62; }
.tfc-card-link { margin-top: auto; color: var(--tfc-blue) !important; text-decoration: none !important; font-size: .88rem; font-weight: 780; }
.tfc-empty-state { padding: 50px 24px; border: 1px dashed var(--tfc-border); border-radius: var(--tfc-radius); text-align: center; }

/* Product detail */
.tfc-breadcrumbs { border-bottom: 1px solid var(--tfc-border); background: #fff; }
.tfc-breadcrumbs ol { width: min(calc(100% - 40px),var(--tfc-container)); margin: 0 auto; padding: 13px 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: .78rem; }
.tfc-breadcrumbs li { display: flex; align-items: center; gap: 8px; color: var(--tfc-muted); }
.tfc-breadcrumbs li:not(:last-child)::after { content: "/"; color: #a5b1bd; }
.tfc-breadcrumbs a { color: var(--tfc-muted); text-decoration: none; }
.tfc-product-hero { padding: 60px 0; background: linear-gradient(180deg,#f7f9fb,#fff); }
.tfc-product-hero-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(420px,1.1fr); gap: 56px; align-items: center; }
.tfc-product-hero-copy h1 { margin-top: 18px; font-size: clamp(2.25rem,4vw,3.55rem) !important; }
.tfc-compact-benefits { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px 22px; margin: 25px 0 0; padding: 0; list-style: none; }
.tfc-compact-benefits li { position: relative; padding-left: 21px; color: var(--tfc-muted); font-size: .91rem; }
.tfc-compact-benefits li::before { position: absolute; left: 0; color: var(--tfc-teal); content: "✓"; font-weight: 900; }
.tfc-purchase-row { display: flex; align-items: center; gap: 22px; margin-top: 28px; }
.tfc-purchase-row > div { min-width: 94px; }
.tfc-purchase-row span, .tfc-purchase-row strong { display: block; }
.tfc-purchase-row > div > span { color: var(--tfc-muted); font-size: .75rem; }
.tfc-purchase-row > div > strong { color: var(--tfc-navy); font-size: 1.55rem; }
.tfc-purchase-note { margin: 15px 0 0 !important; font-size: .78rem; }
.tfc-product-gallery { padding: 12px; border: 1px solid var(--tfc-border); border-radius: var(--tfc-radius); background: #fff; box-shadow: var(--tfc-shadow-md); }
.tfc-gallery-main { display: block; width: 100%; height: 350px; padding: 0; overflow: hidden; border: 0; border-radius: 8px; background: var(--tfc-soft); cursor: zoom-in; }
.tfc-gallery-main img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tfc-gallery-thumbs { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-top: 8px; }
.tfc-gallery-thumbs button { height: 78px; padding: 0; overflow: hidden; border: 1px solid var(--tfc-border); border-radius: 5px; background: #fff; cursor: pointer; }
.tfc-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tfc-product-subnav { position: sticky; z-index: 50; top: 76px; border-block: 1px solid var(--tfc-border); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.admin-bar .tfc-product-subnav { top: 108px; }
.tfc-product-subnav .tfc-container { display: flex; gap: 28px; overflow-x: auto; }
.tfc-product-subnav a { flex: 0 0 auto; padding: 15px 0; color: var(--tfc-ink); text-decoration: none; font-size: .82rem; font-weight: 700; }
.tfc-two-column { display: grid; grid-template-columns: .9fr 1.1fr; gap: 65px; align-items: start; }
.tfc-check-list { margin: 25px 0 0; padding: 0; list-style: none; }
.tfc-check-list li { position: relative; margin-bottom: 12px; padding-left: 29px; color: var(--tfc-ink); }
.tfc-check-list li::before { position: absolute; left: 0; top: .08em; display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: #e1f5ea; color: var(--tfc-success); content: "✓"; font-size: .72rem; font-weight: 900; }
.tfc-feature-panel { padding: 29px; border: 1px solid var(--tfc-border); border-radius: var(--tfc-radius); background: var(--tfc-soft); }
.tfc-feature-panel h2 { font-size: 1.55rem !important; }
.tfc-feature-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; margin-top: 22px; border: 1px solid var(--tfc-border); background: var(--tfc-border); }
.tfc-feature-grid > div { min-height: 92px; padding: 15px; background: #fff; }
.tfc-feature-grid span { display: block; color: var(--tfc-blue); font-size: .64rem; font-weight: 800; }
.tfc-feature-grid strong { display: block; margin-top: 6px; color: var(--tfc-ink); font-size: .88rem; line-height: 1.4; }
.tfc-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.tfc-steps li { min-height: 190px; padding: 24px; border: 1px solid var(--tfc-border); border-radius: var(--tfc-radius); background: #fff; }
.tfc-steps li > span::after { counter-increment: step; content: counter(step,decimal-leading-zero); color: var(--tfc-blue); font-size: .76rem; font-weight: 850; letter-spacing: .08em; }
.tfc-steps p { margin: 44px 0 0; color: var(--tfc-ink); font-size: 1.02rem; font-weight: 650; }
.tfc-detail-columns { display: grid; grid-template-columns: repeat(2,1fr); gap: 65px; }
.tfc-simple-list { margin: 23px 0 0; padding: 0; border-top: 1px solid var(--tfc-border); list-style: none; }
.tfc-simple-list li { padding: 13px 0; border-bottom: 1px solid var(--tfc-border); color: var(--tfc-ink); }
.tfc-compatibility-card { padding: 31px; border-left: 4px solid var(--tfc-blue); background: #fff; box-shadow: var(--tfc-shadow-sm); }
.tfc-compatibility-card h2 { font-size: 1.4rem !important; }
.tfc-compatibility-card ul { margin: 19px 0 0; padding-left: 20px; }
.tfc-compatibility-card li { margin-bottom: 9px; }
.tfc-full-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.tfc-full-gallery button { display: flex; min-height: 270px; flex-direction: column; padding: 0; overflow: hidden; border: 1px solid var(--tfc-border); border-radius: var(--tfc-radius); background: #fff; cursor: zoom-in; text-align: left; }
.tfc-full-gallery img { width: 100%; height: 220px; object-fit: cover; object-position: top; }
.tfc-full-gallery span { padding: 14px 16px; color: var(--tfc-ink); font-size: .82rem; font-weight: 700; }
.tfc-lightbox[hidden] { display: none; }
.tfc-lightbox { position: fixed; z-index: 100000; inset: 0; display: grid; grid-template-columns: 60px minmax(0,1100px) 60px; place-content: center; align-items: center; gap: 12px; padding: 40px; background: rgba(7,18,32,.94); }
.tfc-lightbox figure { margin: 0; }
.tfc-lightbox img { display: block; max-height: calc(100vh - 120px); margin: auto; border-radius: 6px; background: #fff; }
.tfc-lightbox figcaption { margin-top: 10px; color: #fff; text-align: center; }
.tfc-lightbox button { width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; }
.tfc-lightbox [data-tfc-lightbox-close] { position: absolute; top: 18px; right: 18px; }
.tfc-review-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.tfc-review-grid blockquote { margin: 0; padding: 25px; border: 1px solid var(--tfc-border); border-radius: var(--tfc-radius); background: #fff; }
.tfc-review-grid blockquote p { color: var(--tfc-ink); font-size: 1.02rem; }
.tfc-stars { color: #d88913; letter-spacing: .08em; }
.tfc-review-grid footer strong, .tfc-review-grid footer span { display: block; }
.tfc-review-grid footer span { color: var(--tfc-muted); font-size: .78rem; }

/* Articles */
.tfc-article-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.tfc-article-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--tfc-border); border-radius: var(--tfc-radius); background: #fff; }
.tfc-article-image { display: block; height: 198px; overflow: hidden; background: var(--tfc-soft); }
.tfc-article-image img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tfc-article-card-body { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.tfc-article-meta { display: block; margin-bottom: 12px; color: var(--tfc-muted); font-size: .74rem; font-weight: 650; text-transform: uppercase; letter-spacing: .045em; }
.tfc-article-card h2 { font-size: 1.2rem !important; line-height: 1.35; }
.tfc-article-card h2 a { color: var(--tfc-navy); text-decoration: none; }
.tfc-article-card p { margin: 12px 0 18px; font-size: .91rem; }
.tfc-article-header { padding: 60px 0 50px; background: linear-gradient(180deg,#f6f9fc,#fff); }
.tfc-article-header h1 { max-width: 820px; font-size: clamp(2.2rem,4.8vw,3.75rem) !important; }
.tfc-byline { display: flex; align-items: center; gap: 12px; margin-top: 27px; }
.tfc-author-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--tfc-navy); color: #fff; font-size: .78rem; font-weight: 800; }
.tfc-byline strong, .tfc-byline span { display: block; }
.tfc-byline strong { color: var(--tfc-ink); font-size: .86rem; }
.tfc-byline div > span { color: var(--tfc-muted); font-size: .76rem; }
.tfc-article-featured { margin-top: 36px; }
.tfc-article-featured img { width: 100%; max-height: 560px; object-fit: cover; object-position: top; border: 1px solid var(--tfc-border); border-radius: var(--tfc-radius); box-shadow: var(--tfc-shadow-sm); }
.tfc-article-layout { display: grid; grid-template-columns: minmax(0,760px) 300px; justify-content: space-between; gap: 60px; padding-top: 65px; padding-bottom: 76px; }
.tfc-article-content { min-width: 0; font-size: 1.04rem; line-height: 1.8; }
.tfc-article-content > *:first-child { margin-top: 0 !important; }
.tfc-article-content h2 { margin: 2.15em 0 .7em; font-size: 1.85rem !important; }
.tfc-article-content h3 { margin: 1.8em 0 .65em; font-size: 1.3rem !important; }
.tfc-article-content p { color: #3d4c5f; }
.tfc-article-content ul, .tfc-article-content ol { padding-left: 1.35em; }
.tfc-article-content li { margin-bottom: .55em; }
.tfc-article-content img { margin: 25px 0; border: 1px solid var(--tfc-border); border-radius: 8px; }
.tfc-article-content blockquote { margin: 28px 0; padding: 18px 22px; border-left: 4px solid var(--tfc-blue); background: var(--tfc-soft-blue); }
.tfc-article-content blockquote p:last-child { margin-bottom: 0; }
.tfc-article-content table { width: 100%; margin: 28px 0; border-collapse: collapse; font-size: .92rem; }
.tfc-article-content th, .tfc-article-content td { padding: 12px 14px; border: 1px solid var(--tfc-border); text-align: left; vertical-align: top; }
.tfc-article-content th { background: var(--tfc-soft); color: var(--tfc-navy); }
.tfc-article-content details { margin: 12px 0; padding: 17px 19px; border: 1px solid var(--tfc-border); border-radius: 7px; }
.tfc-article-content summary { color: var(--tfc-navy); font-weight: 750; cursor: pointer; }
.tfc-article-sidebar { position: relative; }
.tfc-sidebar-card { position: sticky; top: 112px; padding: 22px; border: 1px solid var(--tfc-border); border-radius: var(--tfc-radius); background: var(--tfc-soft); }
.tfc-sidebar-card h2 { font-size: 1.25rem !important; }
.tfc-sidebar-product { display: grid; grid-template-columns: 68px 1fr; gap: 11px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--tfc-border); color: var(--tfc-ink) !important; text-decoration: none !important; }
.tfc-sidebar-product img { width: 68px; height: 55px; object-fit: cover; object-position: top; border-radius: 4px; }
.tfc-sidebar-product strong, .tfc-sidebar-product small { display: block; }
.tfc-sidebar-product strong { font-size: .8rem; line-height: 1.3; }
.tfc-sidebar-product small { margin-top: 3px; color: var(--tfc-muted); font-size: .68rem; }
.tfc-sidebar-card > .tfc-text-link { margin-top: 16px; font-size: .82rem; }

/* About, support, generic and resources */
.tfc-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.tfc-about-panel { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; padding: 30px; border: 1px solid var(--tfc-border); border-radius: var(--tfc-radius); background: var(--tfc-soft); }
.tfc-about-panel > div { min-height: 124px; padding: 18px; border: 1px solid var(--tfc-border); border-radius: 7px; background: #fff; }
.tfc-about-panel span, .tfc-about-panel strong { display: block; }
.tfc-about-panel span { color: var(--tfc-muted); font-size: .69rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.tfc-about-panel strong { margin-top: 12px; color: var(--tfc-navy); line-height: 1.4; }
.tfc-value-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.tfc-value-cards > div { min-height: 230px; padding: 24px; border: 1px solid var(--tfc-border); border-radius: var(--tfc-radius); background: #fff; }
.tfc-value-cards span { color: var(--tfc-blue); font-size: .76rem; font-weight: 850; }
.tfc-value-cards h3 { margin-top: 46px; }
.tfc-value-cards p { margin-top: 10px; }
.tfc-support-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; }
.tfc-faq-list details { margin-bottom: 11px; border: 1px solid var(--tfc-border); border-radius: 8px; background: #fff; }
.tfc-faq-list summary { padding: 18px 20px; color: var(--tfc-navy); font-weight: 750; cursor: pointer; }
.tfc-faq-list details p { padding: 0 20px 18px; }
.tfc-contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; }
.tfc-contact-alternative { margin-top: 32px; padding: 21px; border-left: 3px solid var(--tfc-teal); background: var(--tfc-soft); }
.tfc-form-card { padding: 30px; border: 1px solid var(--tfc-border); border-radius: var(--tfc-radius); background: #fff; box-shadow: var(--tfc-shadow-sm); }
.tfc-form-card label { display: block; margin-bottom: 17px; color: var(--tfc-ink); font-size: .86rem; font-weight: 700; }
.tfc-form-card input, .tfc-form-card textarea, .tfc-site-search input { display: block; width: 100%; margin-top: 7px; padding: 11px 12px; border: 1px solid #bcc8d5; border-radius: 6px; background: #fff; color: var(--tfc-ink); }
.tfc-form-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.tfc-honeypot { position: absolute; left: -9999px; }
.tfc-form-privacy { margin: 13px 0 0 !important; font-size: .74rem; }
.tfc-notice { margin-bottom: 20px; padding: 15px 17px; border-left: 4px solid var(--tfc-blue); background: var(--tfc-soft); }
.tfc-notice p { margin: 3px 0 0 !important; }
.tfc-notice-success { border-color: var(--tfc-success); }
.tfc-notice-error { border-color: var(--tfc-danger); }
.tfc-decision-panel { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; }
.tfc-decision-grid { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid var(--tfc-border); border-left: 1px solid var(--tfc-border); }
.tfc-decision-grid > div { padding: 20px; border-right: 1px solid var(--tfc-border); border-bottom: 1px solid var(--tfc-border); background: #fff; }
.tfc-decision-grid strong { color: var(--tfc-navy); }
.tfc-decision-grid p { margin: 7px 0 0; font-size: .85rem; }
.tfc-table-wrap { overflow-x: auto; border: 1px solid var(--tfc-border); border-radius: 8px; }
.tfc-comparison-table { width: 100%; min-width: 880px; border-collapse: collapse; }
.tfc-comparison-table th, .tfc-comparison-table td { padding: 15px; border-bottom: 1px solid var(--tfc-border); text-align: left; vertical-align: top; }
.tfc-comparison-table thead th { background: var(--tfc-navy); color: #fff; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.tfc-comparison-table tbody th { width: 230px; }
.tfc-resource-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.tfc-resource-grid article { padding: 29px; border: 1px solid var(--tfc-border); border-radius: var(--tfc-radius); background: #fff; }
.tfc-resource-number { color: var(--tfc-blue); font-size: .76rem; font-weight: 850; }
.tfc-resource-grid h2 { margin-top: 35px; font-size: 1.55rem !important; }
.tfc-resource-grid ul { padding-left: 20px; }
.tfc-process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--tfc-border); }
.tfc-process-list li { display: grid; grid-template-columns: 70px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--tfc-border); }
.tfc-process-list li > span { color: var(--tfc-blue); font-size: .83rem; font-weight: 850; }
.tfc-process-list h2 { font-size: 1.4rem !important; }
.tfc-process-list p { margin: 8px 0 0; }
.tfc-note { margin-top: 28px; padding: 22px; border-left: 4px solid var(--tfc-blue); background: var(--tfc-soft-blue); }
.tfc-note p { margin: 5px 0 0; }
.tfc-prose { color: #3d4c5f; font-size: 1.04rem; line-height: 1.82; }
.tfc-prose h2 { margin: 1.8em 0 .65em; font-size: 1.9rem !important; }
.tfc-prose h3 { margin: 1.6em 0 .55em; }
.tfc-prose a { font-weight: 650; }
.tfc-site-search { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-bottom: 32px; }
.tfc-site-search input { margin: 0; min-height: 46px; }
.tfc-search-results { display: grid; gap: 14px; }
.tfc-search-results article { padding: 23px; border: 1px solid var(--tfc-border); border-radius: 8px; }
.tfc-search-results article > span { color: var(--tfc-blue); font-size: .4rem; font-weight: 800; text-transform: uppercase; }
.tfc-search-results h2 { margin-top: 6px; font-size: 1.3rem !important; }
.tfc-search-results h2 a { color: var(--tfc-navy); text-decoration: none; }

/* Footer */
.tfc-prefooter { padding: 55px 0; background: linear-gradient(110deg,var(--tfc-navy),#17406a); color: #fff; }
.tfc-prefooter-inner { display: flex; justify-content: space-between; align-items: center; gap: 50px; }
.tfc-prefooter h2 { max-width: 700px; color: #fff !important; font-size: clamp(1.8rem,3vw,2.55rem) !important; }
.tfc-prefooter p { max-width: 700px; margin: 13px 0 0; color: #ccd8e4; }
.tfc-prefooter .tfc-actions { flex: 0 0 auto; margin: 0; }
.tfc-site-footer { padding: 58px 0 22px; background: #09182a; color: #c7d3df; }
.tfc-footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3,1fr); gap: 48px; }
.tfc-brand-footer { margin-bottom: 18px; color: #fff !important; }
.tfc-footer-brand p { max-width: 380px; color: #9eb0c2; }
.tfc-footer-etsy { color: #fff !important; font-weight: 700; text-decoration: none !important; }
.tfc-footer-grid > div:not(.tfc-footer-brand) { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.tfc-footer-grid h2 { margin-bottom: 8px; color: #fff !important; font-size: .78rem !important; letter-spacing: .09em; text-transform: uppercase; }
.tfc-footer-grid a { color: #b8c6d4; text-decoration: none; font-size: .88rem; }
.tfc-footer-grid a:hover { color: #fff; }
.tfc-footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #8296a9; font-size: .75rem; }
.tfc-back-to-top { position: fixed; z-index: 1000; right: 18px; bottom: 18px; width: 42px; height: 42px; border: 1px solid var(--tfc-border); border-radius: 6px; background: #fff; color: var(--tfc-navy); box-shadow: var(--tfc-shadow-sm); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s ease; cursor: pointer; }
.tfc-back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* Responsive */
@media (max-width: 1080px) {
  .tfc-home-hero-grid, .tfc-product-hero-grid { grid-template-columns: 1fr 420px; gap: 38px; }
  .tfc-primary-nav { gap: 12px; }
  .tfc-primary-nav > ul > li > a { padding-inline: 7px; }
  .tfc-solution-grid { grid-template-columns: repeat(2,1fr); }
  .tfc-product-grid, .tfc-article-grid { grid-template-columns: repeat(2,1fr); }
  .tfc-value-cards { grid-template-columns: repeat(2,1fr); }
  .tfc-article-layout { grid-template-columns: minmax(0,1fr) 280px; gap: 38px; }
}
@media (max-width: 920px) {
  body.tfc-studio-body.admin-bar .tfc-site-header { top: 46px; }
  body.tfc-studio-body.admin-bar .tfc-preview-banner { top: 46px; }
  body.tfc-studio-body.admin-bar.tfc-studio-mode-preview .tfc-site-header { top: 86px; }
  .tfc-menu-toggle { display: block; }
  .tfc-primary-nav { position: fixed; z-index: 9995; top: 76px; right: 0; left: 0; display: none; max-height: calc(100vh - 76px); flex-direction: column; align-items: stretch; gap: 14px; overflow-y: auto; padding: 20px; border-bottom: 1px solid var(--tfc-border); background: #fff; box-shadow: var(--tfc-shadow-md); }
  .admin-bar .tfc-primary-nav { top: 122px; }
  .tfc-primary-nav.is-open { display: flex; }
  .tfc-primary-nav > ul { flex-direction: column; align-items: stretch; }
  .tfc-primary-nav > ul > li { border-bottom: 1px solid var(--tfc-border); }
  .tfc-primary-nav > ul > li > a { min-height: 48px; padding: 0; }
  .tfc-has-submenu > button { position: absolute; top: 6px; right: 0; }
  .tfc-mega-menu { position: static; display: none; width: auto; grid-template-columns: 1fr; padding: 0 0 14px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .tfc-has-submenu.is-open .tfc-mega-menu { display: grid; }
  .tfc-mega-menu a { padding-left: 12px; }
  .tfc-header-cta { width: 100%; }
  .tfc-home-hero-grid, .tfc-product-hero-grid, .tfc-two-column, .tfc-split, .tfc-about-grid, .tfc-support-layout, .tfc-contact-grid, .tfc-decision-panel { grid-template-columns: 1fr; }
  .tfc-hero-showcase { width: min(100%,620px); margin-inline: auto; }
  .tfc-proof-strip .tfc-container, .tfc-platform-nav .tfc-container { grid-template-columns: repeat(2,1fr); }
  .tfc-proof-strip .tfc-container > div:nth-child(3), .tfc-platform-nav a:nth-child(3) { border-left: 1px solid var(--tfc-border); }
  .tfc-section-heading { align-items: start; flex-direction: column; gap: 16px; }
  .tfc-value-list > div { grid-template-columns: 42px 160px 1fr; }
  .tfc-detail-columns { gap: 40px; }
  .tfc-article-layout { grid-template-columns: 1fr; }
  .tfc-sidebar-card { position: static; }
  .tfc-footer-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 680px) {
  body.tfc-studio-body h1 { font-size: clamp(2.1rem,11vw,3rem) !important; }
  body.tfc-studio-body h2 { font-size: clamp(1.65rem,8vw,2.25rem) !important; }
  body.tfc-studio-body .tfc-container { width: min(calc(100% - 30px),var(--tfc-container)); }
  body.tfc-studio-body .tfc-section { padding: 56px 0; }
  .tfc-preview-banner { flex-wrap: wrap; gap: 4px 10px; text-align: center; }
  .tfc-home-hero { padding: 54px 0 62px; }
  .tfc-home-hero-grid { grid-template-columns: 1fr; }
  .tfc-hero-showcase { min-height: 390px; padding-bottom: 80px; }
  .tfc-showcase-main { height: 260px; }
  .tfc-showcase-pair { right: 14px; left: 14px; }
  .tfc-showcase-pair a { grid-template-columns: 68px 1fr; min-height: 85px; }
  .tfc-showcase-pair img { width: 68px; height: 60px; }
  .tfc-proof-strip .tfc-container, .tfc-platform-nav .tfc-container, .tfc-product-grid, .tfc-article-grid, .tfc-solution-grid, .tfc-solution-grid-large, .tfc-value-cards, .tfc-feature-grid, .tfc-steps, .tfc-detail-columns, .tfc-full-gallery, .tfc-review-grid, .tfc-resource-grid, .tfc-decision-grid, .tfc-about-panel { grid-template-columns: 1fr; }
  .tfc-proof-strip .tfc-container > div { border-right: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
  .tfc-platform-nav a { border-right: 1px solid var(--tfc-border); border-bottom: 1px solid var(--tfc-border); }
  .tfc-catalogue-toolbar { align-items: stretch; flex-direction: column; }
  .tfc-search-box { flex-basis: auto; }
  .tfc-filter-buttons { justify-content: flex-start; }
  .tfc-product-image { height: 200px; }
  .tfc-product-hero { padding: 46px 0; }
  .tfc-product-hero-grid { grid-template-columns: 1fr; }
  .tfc-compact-benefits { grid-template-columns: 1fr; }
  .tfc-purchase-row { align-items: stretch; flex-direction: column; }
  .tfc-purchase-row .tfc-button { width: 100%; }
  .tfc-gallery-main { height: 260px; }
  .tfc-gallery-thumbs { grid-template-columns: repeat(4,1fr); }
  .tfc-product-subnav { display: none; }
  .tfc-feature-panel, .tfc-form-card, .tfc-compatibility-card { padding: 23px; }
  .tfc-value-list > div { grid-template-columns: 38px 1fr; }
  .tfc-value-list > div p { grid-column: 2; }
  .tfc-article-header { padding: 46px 0 36px; }
  .tfc-article-featured { margin-top: 20px; }
  .tfc-article-layout { padding-top: 42px; padding-bottom: 56px; }
  .tfc-form-row { grid-template-columns: 1fr; gap: 0; }
  .tfc-prefooter-inner { align-items: stretch; flex-direction: column; }
  .tfc-prefooter .tfc-actions, .tfc-prefooter .tfc-button { width: 100%; }
  .tfc-footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .tfc-footer-bottom { flex-direction: column; gap: 8px; }
  .tfc-lightbox { grid-template-columns: 42px minmax(0,1fr) 42px; padding: 18px; }
  .tfc-lightbox button { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
@media print {
  .tfc-site-header, .tfc-prefooter, .tfc-site-footer, .tfc-back-to-top, .tfc-preview-banner, .tfc-product-subnav, .tfc-actions { display: none !important; }
  body.tfc-studio-body { color: #000 !important; background: #fff !important; }
  .tfc-section { padding: 24px 0 !important; }
  a { color: #000 !important; text-decoration: none !important; }
}

/* --------------------------------------------------------------------------
   ToolFlowCo Site Studio final visual guardrails
   These rules intentionally keep the public system restrained and prevent
   legacy-style oversized headings, excessive gaps and low-contrast panels.
   -------------------------------------------------------------------------- */

html {
  scroll-behavior: smooth;
}

body.tfc-studio-active,
body.tfc-studio-preview,
body.tfc-site-studio,
body[class*="tfc-studio"] {
  margin: 0;
  background: #ffffff;
  color: #24344a;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.tfc-site-shell,
.tfc-studio-shell,
.tfc-public-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.tfc-site-main,
.tfc-main,
main.tfc-content {
  flex: 1 0 auto;
  min-width: 0;
}

.tfc-container,
.tfc-wrap,
.tfc-content-width {
  width: min(calc(100% - 40px), var(--tfc-container, 1180px));
  max-width: var(--tfc-container, 1180px);
  margin-inline: auto;
}

.tfc-narrow,
.tfc-reading-width,
.tfc-article-content {
  width: min(calc(100% - 40px), 760px);
  max-width: 760px;
  margin-inline: auto;
}

.tfc-section,
section[class*="tfc-section"] {
  min-height: 0;
  padding-block: clamp(56px, 7vw, 88px);
}

.tfc-section + .tfc-section,
section[class*="tfc-section"] + section[class*="tfc-section"] {
  margin-top: 0;
}

.tfc-section:empty,
.tfc-grid:empty,
.tfc-card-grid:empty,
.tfc-product-grid:empty,
.tfc-article-grid:empty {
  display: none !important;
}

.tfc-site-shell h1,
.tfc-site-shell h2,
.tfc-site-shell h3,
.tfc-site-shell h4,
.tfc-studio-shell h1,
.tfc-studio-shell h2,
.tfc-studio-shell h3,
.tfc-studio-shell h4,
.tfc-public-shell h1,
.tfc-public-shell h2,
.tfc-public-shell h3,
.tfc-public-shell h4 {
  margin-top: 0;
  color: var(--tfc-navy, #10233f);
  font-weight: 760;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.tfc-site-shell h1,
.tfc-studio-shell h1,
.tfc-public-shell h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 5.2vw, 4rem);
  line-height: 1.04;
}

.tfc-site-shell h2,
.tfc-studio-shell h2,
.tfc-public-shell h2 {
  margin-bottom: 16px;
  font-size: clamp(1.9rem, 3.7vw, 2.8rem);
  line-height: 1.12;
}

.tfc-site-shell h3,
.tfc-studio-shell h3,
.tfc-public-shell h3 {
  margin-bottom: 10px;
  font-size: clamp(1.18rem, 2vw, 1.42rem);
  line-height: 1.25;
  letter-spacing: -.02em;
}

.tfc-site-shell p,
.tfc-studio-shell p,
.tfc-public-shell p {
  margin-top: 0;
}

.tfc-lead,
.tfc-hero-copy,
.tfc-page-intro {
  max-width: 720px;
  color: #506078;
  font-size: clamp(1.06rem, 1.7vw, 1.22rem);
  line-height: 1.72;
}

.tfc-eyebrow,
.tfc-kicker,
.tfc-overline {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  color: var(--tfc-primary, #1769e0);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.tfc-site-header,
header.tfc-header {
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  border-bottom: 1px solid #e2e7ee;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 1px 0 rgba(16, 35, 63, .02);
  backdrop-filter: blur(14px);
}

body.admin-bar .tfc-site-header,
body.admin-bar header.tfc-header {
  top: 32px;
}

.tfc-header-inner,
.tfc-site-header .tfc-container {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.tfc-brand,
.tfc-logo-link,
.tfc-site-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--tfc-navy, #10233f);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.tfc-brand img,
.tfc-logo-link img {
  width: auto;
  max-width: 180px;
  max-height: 38px;
}

.tfc-primary-nav ul,
.tfc-site-nav ul,
.tfc-nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tfc-primary-nav a,
.tfc-site-nav a,
.tfc-nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 6px;
  color: #33445b;
  font-size: .94rem;
  font-weight: 680;
  text-decoration: none;
}

.tfc-primary-nav a:hover,
.tfc-primary-nav a:focus-visible,
.tfc-site-nav a:hover,
.tfc-site-nav a:focus-visible,
.tfc-nav-list a:hover,
.tfc-nav-list a:focus-visible,
.tfc-primary-nav .current-menu-item > a,
.tfc-site-nav .current-menu-item > a {
  background: #eef5ff;
  color: #0f55bd;
}

.tfc-nav-cta,
.tfc-header-cta {
  border: 1px solid var(--tfc-primary, #1769e0) !important;
  background: var(--tfc-primary, #1769e0) !important;
  color: #fff !important;
  padding-inline: 17px !important;
}

.tfc-nav-cta:hover,
.tfc-header-cta:hover {
  border-color: #0f55bd !important;
  background: #0f55bd !important;
}

.tfc-menu-toggle,
.tfc-mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #d3dce7;
  border-radius: 7px;
  background: #fff;
  color: var(--tfc-navy, #10233f);
  cursor: pointer;
}

.tfc-hero,
.tfc-page-hero,
section.tfc-hero {
  min-height: 0 !important;
  padding-block: clamp(66px, 8vw, 104px) !important;
  border-bottom: 1px solid #e6ebf1;
  background:
    radial-gradient(circle at 90% 4%, rgba(23, 105, 224, .08), transparent 31%),
    linear-gradient(180deg, #f8fafc 0%, #fff 100%) !important;
}

.tfc-hero-grid,
.tfc-page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  align-items: center;
  gap: clamp(36px, 6vw, 72px);
}

.tfc-hero-media,
.tfc-hero-visual,
.tfc-product-hero-media {
  min-width: 0;
}

.tfc-hero-media img,
.tfc-hero-visual img,
.tfc-product-hero-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  border: 1px solid #d8e0e9;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(16, 35, 63, .10);
}

.tfc-button-row,
.tfc-actions,
.tfc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  margin-top: 28px;
}

.tfc-button,
a.tfc-button,
button.tfc-button,
.tfc-btn,
a.tfc-btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: .95rem;
  font-weight: 760;
  line-height: 1.2;
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
}

.tfc-button-primary,
.tfc-btn-primary,
a.tfc-button-primary,
a.tfc-btn-primary {
  border-color: var(--tfc-primary, #1769e0);
  background: var(--tfc-primary, #1769e0);
  color: #fff;
  box-shadow: 0 8px 20px rgba(23, 105, 224, .18);
}

.tfc-button-primary:hover,
.tfc-btn-primary:hover,
a.tfc-button-primary:hover,
a.tfc-btn-primary:hover {
  border-color: #0f55bd;
  background: #0f55bd;
  color: #fff;
  transform: translateY(-1px);
}

.tfc-button-secondary,
.tfc-btn-secondary,
a.tfc-button-secondary,
a.tfc-btn-secondary {
  border-color: #bcc8d6;
  background: #fff;
  color: var(--tfc-navy, #10233f);
  box-shadow: none;
}

.tfc-button-secondary:hover,
.tfc-btn-secondary:hover,
a.tfc-button-secondary:hover,
a.tfc-btn-secondary:hover {
  border-color: var(--tfc-primary, #1769e0);
  color: #0f55bd;
}

.tfc-grid,
.tfc-card-grid,
.tfc-product-grid,
.tfc-article-grid,
.tfc-solution-grid,
.tfc-platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(18px, 2.4vw, 28px);
}

.tfc-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tfc-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tfc-card,
.tfc-product-card,
.tfc-article-card,
.tfc-solution-card,
.tfc-resource-card,
article[class*="tfc-card"] {
  min-width: 0;
  min-height: 0 !important;
  height: 100%;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid #dce3eb;
  border-radius: var(--tfc-radius, 10px) !important;
  background: #fff;
  box-shadow: 0 6px 18px rgba(16, 35, 63, .045) !important;
}

.tfc-card:hover,
.tfc-product-card:hover,
.tfc-article-card:hover,
.tfc-solution-card:hover,
.tfc-resource-card:hover {
  border-color: #bfd0e4;
  box-shadow: 0 12px 28px rgba(16, 35, 63, .075) !important;
}

.tfc-product-card,
.tfc-article-card {
  display: flex;
  flex-direction: column;
}

.tfc-product-card-media,
.tfc-card-media,
.tfc-article-card-media {
  overflow: hidden;
  margin: calc(clamp(20px, 2.4vw, 28px) * -1) calc(clamp(20px, 2.4vw, 28px) * -1) 20px;
  border-bottom: 1px solid #e2e7ee;
  border-radius: var(--tfc-radius, 10px) var(--tfc-radius, 10px) 0 0;
  background: #f3f6f9;
}

.tfc-product-card-media img,
.tfc-card-media img,
.tfc-article-card-media img,
.tfc-product-card img,
.tfc-article-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.tfc-product-card-body,
.tfc-article-card-body {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
}

.tfc-product-card-actions,
.tfc-article-card-actions,
.tfc-card-footer {
  margin-top: auto;
  padding-top: 18px;
}

.tfc-tag,
.tfc-badge,
.tfc-platform-badge,
.tfc-category-label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  margin: 0 0 12px;
  padding: 5px 8px;
  border: 1px solid #cddcef;
  border-radius: 5px;
  background: #eef5ff;
  color: #195aa9;
  font-size: .4rem;
  font-weight: 800;
  letter-spacing: .065em;
  line-height: 1.2;
  text-transform: uppercase;
}

.tfc-price,
.tfc-product-price {
  color: var(--tfc-navy, #10233f);
  font-size: 1.22rem;
  font-weight: 800;
}

.tfc-section-header,
.tfc-section-heading {
  max-width: 760px;
  margin-bottom: clamp(30px, 4vw, 44px);
}

.tfc-section-header.is-centered,
.tfc-section-heading.is-centered,
.tfc-section-header-centered {
  margin-inline: auto;
  text-align: center;
}

.tfc-soft,
.tfc-section-soft,
.tfc-bg-soft {
  background: #f5f7fa;
}

.tfc-blue-soft,
.tfc-section-blue {
  background: #f2f7fd;
}

.tfc-dark,
.tfc-section-dark,
.tfc-about-band,
.tfc-cta-dark {
  background: var(--tfc-navy, #10233f) !important;
  color: #e9f0f8 !important;
}

.tfc-dark h1,
.tfc-dark h2,
.tfc-dark h3,
.tfc-dark h4,
.tfc-section-dark h1,
.tfc-section-dark h2,
.tfc-section-dark h3,
.tfc-section-dark h4,
.tfc-about-band h1,
.tfc-about-band h2,
.tfc-about-band h3,
.tfc-cta-dark h1,
.tfc-cta-dark h2,
.tfc-cta-dark h3 {
  color: #fff !important;
}

.tfc-dark p,
.tfc-section-dark p,
.tfc-about-band p,
.tfc-cta-dark p {
  color: #d8e3ef !important;
}

.tfc-dark .tfc-card,
.tfc-section-dark .tfc-card,
.tfc-about-band .tfc-card {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .07);
  color: #e7edf5;
  box-shadow: none !important;
}

.tfc-trust-strip,
.tfc-proof-strip,
.tfc-stat-strip {
  padding-block: 22px !important;
  border-top: 1px solid #e1e6ed;
  border-bottom: 1px solid #e1e6ed;
  background: #fff;
}

.tfc-trust-grid,
.tfc-proof-grid,
.tfc-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.tfc-trust-item,
.tfc-proof-item,
.tfc-stat-item,
.tfc-stat-card {
  min-height: 0 !important;
  padding: 0 18px;
  border: 0 !important;
  border-right: 1px solid #e1e6ed !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.tfc-trust-grid > :last-child,
.tfc-proof-grid > :last-child,
.tfc-stat-grid > :last-child {
  border-right: 0 !important;
}

.tfc-filters,
.tfc-catalogue-filters,
.tfc-article-filters,
.tfc-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid #dbe2ea;
  border-radius: 9px;
  background: #f8fafc;
}

.tfc-site-shell input[type="text"],
.tfc-site-shell input[type="search"],
.tfc-site-shell input[type="email"],
.tfc-site-shell input[type="url"],
.tfc-site-shell input[type="number"],
.tfc-site-shell select,
.tfc-site-shell textarea,
.tfc-studio-shell input[type="text"],
.tfc-studio-shell input[type="search"],
.tfc-studio-shell input[type="email"],
.tfc-studio-shell select,
.tfc-studio-shell textarea {
  min-height: 46px;
  border: 1px solid #b9c6d5;
  border-radius: 7px;
  background: #fff;
  color: #17263b;
  box-shadow: none;
}

.tfc-site-shell textarea,
.tfc-studio-shell textarea {
  min-height: 142px;
  padding: 12px 13px;
}

.tfc-site-shell input:focus,
.tfc-site-shell select:focus,
.tfc-site-shell textarea:focus,
.tfc-studio-shell input:focus,
.tfc-studio-shell select:focus,
.tfc-studio-shell textarea:focus {
  border-color: var(--tfc-primary, #1769e0);
  box-shadow: 0 0 0 3px rgba(23, 105, 224, .14);
  outline: none;
}

.tfc-product-hero,
.tfc-product-intro {
  padding-block: clamp(56px, 7vw, 88px);
  border-bottom: 1px solid #e5eaf0;
  background: #f8fafc;
}

.tfc-product-hero-grid,
.tfc-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  align-items: start;
  gap: clamp(34px, 5vw, 64px);
}

.tfc-purchase-panel,
.tfc-product-summary-card,
.tfc-sidebar-card {
  padding: 24px;
  border: 1px solid #d7e0e9;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16, 35, 63, .065);
}

.tfc-gallery,
.tfc-product-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tfc-gallery button,
.tfc-product-gallery button,
.tfc-gallery a,
.tfc-product-gallery a {
  overflow: hidden;
  padding: 0;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.tfc-gallery img,
.tfc-product-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.tfc-article-layout,
.tfc-reading-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(240px, 320px);
  justify-content: center;
  align-items: start;
  gap: clamp(36px, 5vw, 70px);
}

.tfc-article-content,
.tfc-prose,
.tfc-entry-content {
  color: #33445a;
  font-size: 1.05rem;
  line-height: 1.78;
}

.tfc-article-content > * + *,
.tfc-prose > * + *,
.tfc-entry-content > * + * {
  margin-top: 1.25em;
}

.tfc-article-content h2,
.tfc-prose h2,
.tfc-entry-content h2 {
  margin-top: 2.1em;
  margin-bottom: .65em;
  font-size: clamp(1.62rem, 3vw, 2.15rem);
}

.tfc-article-content h3,
.tfc-prose h3,
.tfc-entry-content h3 {
  margin-top: 1.7em;
  margin-bottom: .55em;
}

.tfc-article-content img,
.tfc-prose img,
.tfc-entry-content img {
  max-width: 100%;
  height: auto;
  border: 1px solid #dbe2ea;
  border-radius: 9px;
}

.tfc-article-content blockquote,
.tfc-prose blockquote,
.tfc-entry-content blockquote {
  margin: 1.8em 0;
  padding: 18px 22px;
  border-left: 4px solid var(--tfc-primary, #1769e0);
  background: #f3f7fc;
  color: #2e4059;
}

.tfc-article-content table,
.tfc-prose table,
.tfc-entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: .94rem;
}

.tfc-article-content th,
.tfc-article-content td,
.tfc-prose th,
.tfc-prose td,
.tfc-entry-content th,
.tfc-entry-content td {
  padding: 11px 12px;
  border: 1px solid #dfe5ec;
  text-align: left;
}

.tfc-article-content th,
.tfc-prose th,
.tfc-entry-content th {
  background: #f3f6f9;
  color: var(--tfc-navy, #10233f);
}

.tfc-sidebar,
.tfc-article-sidebar {
  position: sticky;
  top: 98px;
}

.tfc-faq-item,
.tfc-site-shell details,
.tfc-studio-shell details {
  margin: 0 0 10px;
  padding: 17px 19px;
  border: 1px solid #dce3eb;
  border-radius: 8px;
  background: #fff;
}

.tfc-faq-item summary,
.tfc-site-shell details summary,
.tfc-studio-shell details summary {
  cursor: pointer;
  color: var(--tfc-navy, #10233f);
  font-weight: 760;
}

.tfc-cta,
.tfc-final-cta,
.tfc-prefooter {
  padding: clamp(34px, 5vw, 54px) !important;
  border: 0;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #10233f 0%, #173b66 100%) !important;
  color: #e7eef7 !important;
  box-shadow: none !important;
}

.tfc-cta h2,
.tfc-cta h3,
.tfc-final-cta h2,
.tfc-final-cta h3,
.tfc-prefooter h2,
.tfc-prefooter h3 {
  color: #fff !important;
}

.tfc-cta p,
.tfc-final-cta p,
.tfc-prefooter p {
  color: #d5e0ed !important;
}

.tfc-site-footer,
footer.tfc-footer {
  margin-top: 0;
  padding-top: 56px;
  background: #0d1d33;
  color: #c7d3e1;
}

.tfc-site-footer h2,
.tfc-site-footer h3,
.tfc-site-footer h4,
footer.tfc-footer h2,
footer.tfc-footer h3,
footer.tfc-footer h4 {
  color: #fff;
  font-size: .88rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tfc-site-footer a,
footer.tfc-footer a {
  color: #d8e5f2;
  text-decoration: none;
}

.tfc-site-footer a:hover,
footer.tfc-footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.tfc-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.tfc-footer-bottom {
  margin-top: 42px;
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #9eb0c4;
  font-size: .86rem;
}

.tfc-lightbox[hidden] {
  display: none !important;
}

.tfc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 17, 31, .92);
}

.tfc-lightbox img {
  max-width: min(1200px, 94vw);
  max-height: 88vh;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

.tfc-lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 50%;
  background: rgba(255, 255, 255, .10);
  color: #fff;
  cursor: pointer;
}

.tfc-back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 800;
  width: 42px;
  height: 42px;
  border: 1px solid #c8d3df;
  border-radius: 7px;
  background: #fff;
  color: var(--tfc-navy, #10233f);
  box-shadow: 0 8px 24px rgba(16, 35, 63, .12);
  cursor: pointer;
}

.tfc-site-shell a:focus-visible,
.tfc-site-shell button:focus-visible,
.tfc-site-shell input:focus-visible,
.tfc-site-shell select:focus-visible,
.tfc-site-shell textarea:focus-visible,
.tfc-studio-shell a:focus-visible,
.tfc-studio-shell button:focus-visible {
  outline: 3px solid rgba(23, 105, 224, .35);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .tfc-hero-grid,
  .tfc-page-hero-grid,
  .tfc-product-hero-grid,
  .tfc-product-layout,
  .tfc-article-layout,
  .tfc-reading-layout {
    grid-template-columns: 1fr;
  }

  .tfc-grid,
  .tfc-card-grid,
  .tfc-product-grid,
  .tfc-article-grid,
  .tfc-solution-grid,
  .tfc-platform-grid,
  .tfc-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tfc-trust-grid,
  .tfc-proof-grid,
  .tfc-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tfc-trust-grid > *,
  .tfc-proof-grid > *,
  .tfc-stat-grid > * {
    border-right: 0 !important;
  }

  .tfc-primary-nav,
  .tfc-site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 12px 20px 20px;
    border-top: 1px solid #e0e6ed;
    border-bottom: 1px solid #d5dde7;
    background: #fff;
    box-shadow: 0 14px 30px rgba(16, 35, 63, .12);
  }

  .tfc-primary-nav.is-open,
  .tfc-site-nav.is-open,
  body.tfc-menu-open .tfc-primary-nav,
  body.tfc-menu-open .tfc-site-nav {
    display: block;
  }

  .tfc-primary-nav ul,
  .tfc-site-nav ul,
  .tfc-nav-list {
    align-items: stretch;
    flex-direction: column;
  }

  .tfc-primary-nav a,
  .tfc-site-nav a,
  .tfc-nav-list a {
    width: 100%;
    justify-content: space-between;
  }

  .tfc-menu-toggle,
  .tfc-mobile-toggle {
    display: grid;
  }

  .tfc-sidebar,
  .tfc-article-sidebar {
    position: static;
  }

  .tfc-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body.admin-bar .tfc-site-header,
  body.admin-bar header.tfc-header {
    top: 46px;
  }

  .tfc-container,
  .tfc-wrap,
  .tfc-content-width,
  .tfc-narrow,
  .tfc-reading-width,
  .tfc-article-content {
    width: min(calc(100% - 32px), var(--tfc-container, 1180px));
  }

  .tfc-site-shell h1,
  .tfc-studio-shell h1,
  .tfc-public-shell h1 {
    font-size: clamp(2.18rem, 12vw, 3rem);
  }

  .tfc-section,
  section[class*="tfc-section"] {
    padding-block: 52px;
  }

  .tfc-hero,
  .tfc-page-hero,
  section.tfc-hero {
    padding-block: 54px !important;
  }

  .tfc-grid,
  .tfc-card-grid,
  .tfc-product-grid,
  .tfc-article-grid,
  .tfc-solution-grid,
  .tfc-platform-grid,
  .tfc-grid-2,
  .tfc-grid-4,
  .tfc-trust-grid,
  .tfc-proof-grid,
  .tfc-stat-grid,
  .tfc-footer-grid {
    grid-template-columns: 1fr;
  }

  .tfc-button-row,
  .tfc-actions,
  .tfc-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .tfc-button,
  a.tfc-button,
  button.tfc-button,
  .tfc-btn,
  a.tfc-btn {
    width: 100%;
  }

  .tfc-gallery,
  .tfc-product-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tfc-filters,
  .tfc-catalogue-filters,
  .tfc-article-filters,
  .tfc-toolbar {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .tfc-cta,
  .tfc-final-cta,
  .tfc-prefooter {
    padding: 30px 22px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .tfc-site-header,
  .tfc-site-footer,
  .tfc-button-row,
  .tfc-filters,
  .tfc-back-to-top,
  .tfc-article-sidebar,
  .tfc-prefooter {
    display: none !important;
  }

  .tfc-section,
  section[class*="tfc-section"],
  .tfc-hero,
  .tfc-page-hero {
    padding-block: 18px !important;
  }

  .tfc-card,
  .tfc-product-card,
  .tfc-article-card {
    break-inside: avoid;
    box-shadow: none !important;
  }
}

/* --------------------------------------------------------------------------
   Site Studio 1.0.1: live-site finishing layer
   Keeps the approved layout while tightening colour, spacing and consistency.
   -------------------------------------------------------------------------- */

body.tfc-studio-body {
  background: #fff;
  color: var(--tfc-ink, #1d2d40);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Retired ToolFlowCo systems can survive in page caches or residual hooks.
   They are never part of the Site Studio presentation. */
body.tfc-studio-body .tfco-featured-products,
body.tfc-studio-body .tfco-site-links-panel,
body.tfc-studio-body .tfco-sitewide-links,
body.tfc-studio-body .tfc-pro-home-shell,
body.tfc-studio-body .tfc-pro-prefooter,
body.tfc-studio-body .tfc-pro-back-top,
body.tfc-studio-body .tfc-v2-prefooter,
body.tfc-studio-body .tfc-back-to-top-old,
body.tfc-studio-body .tfc-back-to-top:not(.tfc-studio-back-to-top),
body.tfc-studio-body .tfc-placement-panel,
body.tfc-studio-body .tfc-fallback-bar {
  display: none !important;
}

.tfc-site-shell {
  --tfc-shadow-sm: 0 5px 18px rgba(15, 39, 66, .06);
  --tfc-shadow-md: 0 14px 36px rgba(15, 39, 66, .09);
  color: var(--tfc-ink, #1d2d40);
}

.tfc-site-header {
  border-bottom-color: var(--tfc-border, #d8e1eb);
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 1px 0 rgba(15, 39, 66, .025);
  backdrop-filter: saturate(150%) blur(12px);
}

.tfc-header-inner {
  min-height: 72px;
}

.tfc-brand-name {
  letter-spacing: -.025em;
}

.tfc-primary-nav > ul > li > a {
  color: #32445a;
  font-weight: 680;
}

.tfc-primary-nav > ul > li > a:hover,
.tfc-primary-nav > ul > li > a:focus,
.tfc-primary-nav > ul > li.current-menu-item > a,
.tfc-primary-nav > ul > li.current_page_item > a {
  color: var(--tfc-navy, #0f2742);
}

.tfc-mega-menu {
  border-color: var(--tfc-border, #d8e1eb);
  border-radius: calc(var(--tfc-radius, 10px) + 2px);
  box-shadow: 0 18px 48px rgba(15, 39, 66, .14);
}

.tfc-home-hero,
.tfc-page-hero {
  background:
    radial-gradient(circle at 86% 14%, color-mix(in srgb, var(--tfc-primary, #1769d2) 8%, transparent), transparent 31%),
    linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border-bottom: 1px solid var(--tfc-border, #d8e1eb);
}

@supports not (background: color-mix(in srgb, red 10%, transparent)) {
  .tfc-home-hero,
  .tfc-page-hero {
    background: linear-gradient(180deg, #f7faff 0%, #fff 100%);
  }
}

.tfc-home-hero {
  padding-block: clamp(64px, 7vw, 96px);
}

.tfc-page-hero {
  padding-block: clamp(54px, 6vw, 78px);
}

.tfc-page-hero-compact {
  padding-block: clamp(48px, 5vw, 66px);
}

.tfc-site-shell h1 {
  max-width: 820px;
  font-size: clamp(2.55rem, 5.2vw, 4.15rem);
  line-height: 1.045;
  letter-spacing: -.047em;
}

.tfc-site-shell h2 {
  letter-spacing: -.035em;
}

.tfc-hero-lead,
.tfc-large-copy {
  max-width: 720px;
  color: var(--tfc-muted, #607083);
}

.tfc-kicker {
  color: var(--tfc-primary, #1769d2);
  letter-spacing: .095em;
}

.tfc-section,
section[class*="tfc-section"] {
  padding-block: clamp(58px, 6vw, 76px);
}

.tfc-section-soft {
  background: var(--tfc-soft, #f6f8fb);
}

.tfc-section-heading {
  align-items: end;
  gap: 30px;
  margin-bottom: clamp(28px, 4vw, 42px);
}

.tfc-section-heading > p {
  max-width: 520px;
  color: var(--tfc-muted, #607083);
}

.tfc-proof-strip {
  border-block: 1px solid var(--tfc-border, #d8e1eb);
  background: #fff;
}

.tfc-proof-strip > .tfc-container > div {
  min-height: 102px;
}

.tfc-proof-strip strong {
  color: var(--tfc-navy, #0f2742);
}

.tfc-solution-card,
.tfc-product-card,
.tfc-article-card,
.tfc-resource-grid > article,
.tfc-value-list > div,
.tfc-decision-grid > div,
.tfc-sidebar-card,
.tfc-form-card,
.tfc-contact-alternative,
.tfc-support-layout > *,
.tfc-process-list > li {
  border-color: var(--tfc-border, #d8e1eb);
  border-radius: var(--tfc-radius, 10px);
  box-shadow: var(--tfc-shadow-sm);
}

.tfc-solution-card,
.tfc-product-card,
.tfc-article-card {
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.tfc-solution-card:hover,
.tfc-product-card:hover,
.tfc-article-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--tfc-primary, #1769d2) 34%, var(--tfc-border, #d8e1eb));
  box-shadow: var(--tfc-shadow-md);
}

@supports not (border-color: color-mix(in srgb, red 10%, blue)) {
  .tfc-solution-card:hover,
  .tfc-product-card:hover,
  .tfc-article-card:hover {
    border-color: #a9c8ed;
  }
}

.tfc-product-card {
  overflow: hidden;
  background: #fff;
}

.tfc-product-image,
.tfc-product-card-media,
.tfc-article-card-media {
  background: #f3f6f9;
}

.tfc-product-image img,
.tfc-product-card-media img {
  transition: transform .25s ease;
}

.tfc-product-card:hover .tfc-product-image img,
.tfc-product-card:hover .tfc-product-card-media img {
  transform: scale(1.012);
}

.tfc-product-card h3,
.tfc-article-card h2,
.tfc-article-card h3 {
  color: var(--tfc-navy, #0f2742);
}

.tfc-product-price,
.tfc-price,
.tfc-card-price {
  color: var(--tfc-navy, #0f2742);
}

.tfc-platform-badge,
.tfc-badge,
.tfc-tag {
  border-radius: 999px;
}

.tfc-button,
a.tfc-button,
button.tfc-button,
.tfc-btn,
a.tfc-btn {
  min-height: 44px;
  border-radius: 8px;
  font-weight: 750;
  box-shadow: none;
}

.tfc-button-primary,
.tfc-btn-primary {
  background: var(--tfc-primary, #1769d2);
}

.tfc-button-primary:hover,
.tfc-button-primary:focus,
.tfc-btn-primary:hover,
.tfc-btn-primary:focus {
  filter: brightness(.91);
  transform: translateY(-1px);
}

.tfc-button-secondary,
.tfc-btn-secondary {
  border-color: #c4d0dc;
  background: #fff;
  color: var(--tfc-navy, #0f2742);
}

.tfc-button-secondary:hover,
.tfc-button-secondary:focus,
.tfc-btn-secondary:hover,
.tfc-btn-secondary:focus {
  border-color: var(--tfc-primary, #1769d2);
  background: #f8fbff;
  color: var(--tfc-primary, #1769d2);
}

.tfc-catalogue-toolbar,
.tfc-article-filters,
.tfc-toolbar {
  border-color: var(--tfc-border, #d8e1eb);
  border-radius: var(--tfc-radius, 10px);
  background: #fff;
  box-shadow: var(--tfc-shadow-sm);
}

.tfc-search-box input,
.tfc-site-search input,
.tfc-form-card input,
.tfc-form-card textarea,
.tfc-form-card select {
  border-color: #becbd8;
  border-radius: 7px;
  background: #fff;
}

.tfc-search-box input:focus,
.tfc-site-search input:focus,
.tfc-form-card input:focus,
.tfc-form-card textarea:focus,
.tfc-form-card select:focus {
  border-color: var(--tfc-primary, #1769d2);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--tfc-primary, #1769d2) 15%, transparent);
}

.tfc-filter-buttons button {
  border-radius: 7px;
}

.tfc-filter-buttons button.is-active {
  border-color: var(--tfc-primary, #1769d2);
  background: var(--tfc-primary, #1769d2);
  color: #fff;
}

.tfc-gallery-main,
.tfc-product-gallery,
.tfc-article-featured,
.tfc-article-image {
  border-color: var(--tfc-border, #d8e1eb);
  border-radius: var(--tfc-radius, 10px);
  box-shadow: var(--tfc-shadow-sm);
}

.tfc-prose,
.tfc-article-content,
.tfc-entry-content {
  color: #33465b;
  font-size: 1.02rem;
  line-height: 1.78;
}

.tfc-prose h2,
.tfc-article-content h2,
.tfc-entry-content h2 {
  margin-top: 2.1em;
  color: var(--tfc-navy, #0f2742);
}

.tfc-prose a,
.tfc-article-content a,
.tfc-entry-content a {
  color: var(--tfc-primary, #1769d2);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.tfc-faq-item,
.tfc-site-shell details {
  border-color: var(--tfc-border, #d8e1eb);
  border-radius: 8px;
}

.tfc-cta,
.tfc-final-cta,
.tfc-prefooter {
  background: linear-gradient(135deg, var(--tfc-navy, #0f2742) 0%, #183f69 100%) !important;
}

.tfc-site-footer {
  background: #0b1e34;
}

.tfc-footer-bottom {
  color: #a9b9ca;
}

.tfc-back-to-top {
  border-color: var(--tfc-border, #d8e1eb);
  border-radius: 8px;
  color: var(--tfc-navy, #0f2742);
}

@media (max-width: 980px) {
  .tfc-section-heading {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .tfc-site-shell h1 {
    font-size: clamp(2.25rem, 11vw, 3.15rem);
    letter-spacing: -.04em;
  }

  .tfc-home-hero,
  .tfc-page-hero,
  .tfc-page-hero-compact {
    padding-block: 48px !important;
  }

  .tfc-section,
  section[class*="tfc-section"] {
    padding-block: 50px;
  }

  .tfc-proof-strip > .tfc-container > div {
    min-height: 82px;
  }
}


/* --------------------------------------------------------------------------
   Site Studio 1.0.2: footer contrast and full 15-article finishing patch
   The base heading/link rules are body-scoped, so footer overrides must be
   body-scoped too. These selectors intentionally outrank the generic rules.
   -------------------------------------------------------------------------- */
body.tfc-studio-body .tfc-prefooter {
  padding: clamp(48px, 5vw, 62px) 0 !important;
  border-radius: 0 !important;
  background: linear-gradient(115deg, #123457 0%, #1d4b79 100%) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

body.tfc-studio-body .tfc-prefooter .tfc-kicker,
body.tfc-studio-body .tfc-prefooter .tfc-kicker-light {
  color: #8fc7ff !important;
}

body.tfc-studio-body .tfc-prefooter h1,
body.tfc-studio-body .tfc-prefooter h2,
body.tfc-studio-body .tfc-prefooter h3 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.tfc-studio-body .tfc-prefooter h2 {
  max-width: 720px;
  margin-bottom: 12px !important;
  font-size: clamp(1.85rem, 3vw, 2.5rem) !important;
  line-height: 1.14 !important;
  letter-spacing: -.03em !important;
}

body.tfc-studio-body .tfc-prefooter p {
  color: #d7e4f1 !important;
  font-size: 1rem;
  line-height: 1.7;
}

body.tfc-studio-body .tfc-prefooter .tfc-button-light {
  border-color: #ffffff !important;
  background: #ffffff !important;
  color: #0f2742 !important;
}

body.tfc-studio-body .tfc-prefooter .tfc-button-light:hover {
  border-color: #dcecff !important;
  background: #edf6ff !important;
  color: #0f2742 !important;
}

body.tfc-studio-body .tfc-prefooter .tfc-button-ghost-light {
  border-color: rgba(255,255,255,.48) !important;
  background: transparent !important;
  color: #ffffff !important;
}

body.tfc-studio-body .tfc-prefooter .tfc-button-ghost-light:hover {
  border-color: #ffffff !important;
  background: rgba(255,255,255,.10) !important;
  color: #ffffff !important;
}

body.tfc-studio-body .tfc-site-footer {
  background: #081a2e !important;
  color: #c8d5e3 !important;
}

body.tfc-studio-body .tfc-site-footer .tfc-brand-name {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.tfc-studio-body .tfc-site-footer h1,
body.tfc-studio-body .tfc-site-footer h2,
body.tfc-studio-body .tfc-site-footer h3,
body.tfc-studio-body .tfc-site-footer h4 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body.tfc-studio-body .tfc-site-footer .tfc-footer-grid h2 {
  margin: 0 0 11px !important;
  font-size: .82rem !important;
  line-height: 1.3 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
}

body.tfc-studio-body .tfc-site-footer p,
body.tfc-studio-body .tfc-site-footer .tfc-footer-brand p {
  color: #aebfd0 !important;
}

body.tfc-studio-body .tfc-site-footer a,
body.tfc-studio-body .tfc-site-footer .tfc-footer-grid a {
  color: #d4e2ef !important;
  text-decoration: none !important;
}

body.tfc-studio-body .tfc-site-footer a:hover,
body.tfc-studio-body .tfc-site-footer .tfc-footer-grid a:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
  text-underline-offset: 4px;
}

body.tfc-studio-body .tfc-site-footer .tfc-footer-etsy {
  color: #ffffff !important;
  font-weight: 750;
}

body.tfc-studio-body .tfc-site-footer .tfc-footer-bottom {
  color: #9eb0c3 !important;
}

@media (max-width: 760px) {
  body.tfc-studio-body .tfc-prefooter {
    padding: 46px 0 !important;
  }
  body.tfc-studio-body .tfc-prefooter h2 {
    font-size: clamp(1.65rem, 8vw, 2.1rem) !important;
  }
}


/* Site Studio 1.0.6: legacy article normalisation and real resource downloads. */
.tfc-article-content .tfco-article-page,
.tfc-article-content .tfco-article-shell,
.tfc-article-content .tfco-article-layout,
.tfc-article-content .tfco-article-content,
.tfc-article-content .tfca-article-layout,
.tfc-article-content .tfca-article-content {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  grid-template-columns: none !important;
}

.tfc-article-content .tfco-article-hero,
.tfc-article-content .tfco-article-featured,
.tfc-article-content .tfco-article-aside,
.tfc-article-content .tfco-related-section,
.tfc-article-content .tfco-final-cta,
.tfc-article-content .tfca-article-aside,
.tfc-article-content .tfca-related-section,
.tfc-article-content .tfca-final-cta {
  display: none !important;
}

.tfc-article-content .tfco-content-section,
.tfc-article-content .tfco-faq-section,
.tfc-article-content .tfco-conclusion,
.tfc-article-content .tfco-takeaways {
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 2.15em !important;
}

.tfc-article-content .tfco-content-section h2,
.tfc-article-content .tfco-faq-section > h2,
.tfc-article-content .tfco-conclusion h2 {
  margin: 2.15em 0 .7em !important;
  font-size: 1.85rem !important;
  line-height: 1.22 !important;
}

.tfc-resource-grid > article {
  display: flex;
  flex-direction: column;
}

.tfc-resource-grid > article > ul {
  margin-bottom: 0;
}

.tfc-resource-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: auto;
  padding-top: 24px;
}

.tfc-resource-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-decoration: none !important;
}

.tfc-resource-download span {
  font-size: 1.05em;
  line-height: 1;
}

.tfc-resource-format {
  color: var(--tfc-muted, #607083);
  font-size: .82rem;
  font-weight: 650;
}

@media (max-width: 520px) {
  .tfc-resource-actions,
  .tfc-resource-download {
    width: 100%;
  }
  .tfc-resource-format {
    width: 100%;
    text-align: center;
  }
}

/* Site Studio 1.0.7: guaranteed standard layout for the three original guides. */
.tfc-article-content > .tfc-standard-article-body {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.tfc-standard-article-body .tfc-article-takeaways {
  margin: 0 0 42px !important;
  padding: 24px 26px;
  border: 1px solid #cfe0f4;
  border-radius: 9px;
  background: #f3f8fe;
}

.tfc-standard-article-body .tfc-article-takeaways h2 {
  margin: 0 0 14px !important;
  font-size: 1.55rem !important;
}

.tfc-standard-article-body .tfc-article-takeaways ul {
  margin: 0;
}

.tfc-standard-article-body .tfc-article-faqs {
  margin-top: 48px;
}

.tfc-standard-article-body .tfc-article-faqs > h2 {
  margin-top: 0 !important;
}

.tfc-standard-article-body .tfc-article-conclusion {
  margin-top: 48px;
  padding-top: 34px;
  border-top: 1px solid var(--tfc-border, #d8e1eb);
}

.tfc-standard-article-body .tfc-article-conclusion > h2 {
  margin-top: 0 !important;
}

.tfc-standard-article-body .tfc-article-next-step {
  margin-top: 34px;
  padding: 20px 22px;
  border-left: 4px solid var(--tfc-blue, #1769d2);
  border-radius: 0 8px 8px 0;
  background: var(--tfc-soft, #f6f8fb);
}

.tfc-standard-article-body .tfc-article-next-step strong {
  display: block;
  margin-bottom: 5px;
  color: var(--tfc-navy, #0f2742);
}

.tfc-standard-article-body .tfc-article-next-step p {
  margin-bottom: 0;
}

.tfc-standard-article-body .tfc-table-wrap {
  margin: 28px 0;
}

.tfc-standard-article-body .tfc-table-wrap table {
  margin: 0;
}

@media (max-width: 640px) {
  .tfc-standard-article-body .tfc-article-takeaways {
    padding: 20px;
  }
}


/* Site Studio 1.0.8: product demonstration video. */
.tfc-product-video-section {
  background: linear-gradient(180deg, #fff 0%, var(--tfc-soft, #f6f8fb) 100%);
}

.tfc-product-video-section .tfc-section-copy {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--tfc-muted, #607083);
}

.tfc-video-card {
  width: min(100%, 1000px);
  margin: 30px auto 0;
  padding: 10px;
  border: 1px solid var(--tfc-border, #d8e1eb);
  border-radius: calc(var(--tfc-radius, 10px) + 2px);
  background: #fff;
  box-shadow: 0 18px 46px rgba(15, 39, 66, .10);
}

.tfc-video-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: max(6px, calc(var(--tfc-radius, 10px) - 2px));
  background: #061427;
  aspect-ratio: 16 / 9;
}

.tfc-video-frame iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 720px) {
  .tfc-product-video-section .tfc-section-heading {
    align-items: flex-start;
  }
  .tfc-video-card {
    margin-top: 22px;
    padding: 6px;
  }
}

/* --------------------------------------------------------------------------
   Site Studio v1.0.10: isolated consultancy and native enquiry presentation
   All selectors are scoped so existing products, articles, header and footer
   retain the approved v1.0.8 layout.
   -------------------------------------------------------------------------- */
.tfc-consultancy-home {
  border-block: 1px solid rgba(216, 225, 235, .78);
  background: linear-gradient(135deg, #f6f9fd 0%, #eef6ff 58%, #f2faf8 100%);
}
.tfc-consultancy-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr);
  align-items: center;
  gap: clamp(34px, 6vw, 76px);
}
.tfc-consultancy-home-grid .tfc-actions { justify-content: flex-end; }
.tfc-consultancy-page { overflow-x: clip; }
.tfc-consultancy-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  align-items: center;
  gap: clamp(38px, 7vw, 86px);
}
.tfc-consultancy-route-panel,
.tfc-consultancy-fit-card,
.tfc-consultancy-note,
.tfc-consultancy-inline-cta {
  border: 1px solid var(--tfc-border);
  border-radius: var(--tfc-radius);
  background: #fff;
  box-shadow: var(--tfc-shadow-sm);
}
.tfc-consultancy-route-panel { padding: 28px; }
.tfc-consultancy-route-panel > strong {
  display: block;
  margin-bottom: 12px;
  color: var(--tfc-navy);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.tfc-consultancy-route-panel ol { margin: 0; padding: 0; list-style: none; }
.tfc-consultancy-route-panel li {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--tfc-border);
  color: var(--tfc-muted);
}
.tfc-consultancy-route-panel li:first-child { border-top: 0; }
.tfc-consultancy-route-panel li span { color: var(--tfc-navy); font-weight: 800; }
.tfc-consultancy-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.tfc-consultancy-card-grid article {
  min-height: 280px;
  padding: 30px;
  border: 1px solid var(--tfc-border);
  border-radius: var(--tfc-radius);
  background: #fff;
  box-shadow: var(--tfc-shadow-sm);
}
.tfc-consultancy-card-grid article h3 { margin-top: 38px; }
.tfc-consultancy-card-number {
  color: var(--tfc-blue);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .09em;
}
.tfc-consultancy-two-column,
.tfc-consultancy-boundary,
.tfc-consultancy-form-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(38px, 7vw, 86px);
}
.tfc-consultancy-fit-card { padding: 30px; background: var(--tfc-soft); box-shadow: none; }
.tfc-consultancy-fit-card ul,
.tfc-consultancy-note ul { margin: 18px 0 0; padding-left: 20px; }
.tfc-consultancy-fit-card li,
.tfc-consultancy-note li { margin-bottom: 11px; color: var(--tfc-ink); }
.tfc-consultancy-boundary .tfc-value-list { margin-top: 0; }
.tfc-consultancy-form-section {
  border-top: 1px solid var(--tfc-border);
  background: linear-gradient(180deg, #fff 0%, var(--tfc-soft) 100%);
}
.tfc-consultancy-note { margin-top: 26px; padding: 24px; box-shadow: none; }
.tfc-consent-row {
  display: grid !important;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  margin: 4px 0 18px !important;
  font-weight: 500 !important;
  line-height: 1.55;
}
.tfc-consent-row input { width: auto !important; margin: 3px 0 0 !important; }
.tfc-native-contact-form select,
.tfc-consultancy-form-section select {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 11px 12px;
  border: 1px solid #bcc8d5;
  border-radius: 6px;
  background: #fff;
  color: var(--tfc-ink);
}
.tfc-consultancy-inline-cta { margin: 34px 0; padding: 28px; }
.tfc-consultancy-inline-cta h2 { font-size: clamp(1.45rem, 2.6vw, 2rem) !important; }

@media (max-width: 920px) {
  .tfc-consultancy-home-grid,
  .tfc-consultancy-hero-grid,
  .tfc-consultancy-two-column,
  .tfc-consultancy-boundary,
  .tfc-consultancy-form-grid { grid-template-columns: 1fr; }
  .tfc-consultancy-home-grid .tfc-actions { justify-content: flex-start; }
}
@media (max-width: 680px) {
  .tfc-consultancy-card-grid { grid-template-columns: 1fr; }
  .tfc-consultancy-card-grid article { min-height: 0; padding: 24px; }
  .tfc-consultancy-route-panel,
  .tfc-consultancy-fit-card,
  .tfc-consultancy-note { padding: 22px; }
}

/* --------------------------------------------------------------------------
   ToolFlowCo Site Studio v1.0.11 - Build Stories
   Scoped additions only; the existing Site Studio shell and asset loader are
   intentionally unchanged.
   -------------------------------------------------------------------------- */
.tfc-build-story-intro {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 60px);
  margin-bottom: 32px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid #bcd3ee;
  border-radius: var(--tfc-radius);
  background: linear-gradient(135deg, #f4f8fd 0%, #edf6f5 100%);
}
.tfc-build-story-intro h2 { margin-bottom: 0; font-size: clamp(1.55rem, 3vw, 2.2rem) !important; }
.tfc-build-story-intro > p { margin: 0; color: var(--tfc-muted); font-size: 1rem; line-height: 1.72; }
.tfc-article-card-build-story { border-color: #bcd3ee; }
.tfc-build-story-badge {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 11px;
  padding: 5px 9px;
  border: 1px solid #bcd3ee;
  border-radius: 999px;
  background: #edf5fd;
  color: #0f5ca8;
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}
.tfc-build-story-disclosure {
  margin: 0 0 32px;
  padding: 20px 22px;
  border: 1px solid #c9d9ea;
  border-left: 4px solid var(--tfc-blue);
  border-radius: 7px;
  background: var(--tfc-soft-blue);
}
.tfc-build-story-disclosure strong { display: block; margin-bottom: 6px; color: var(--tfc-navy); }
.tfc-build-story-disclosure p { margin: 0; color: #42536a; }
.tfc-build-story-figure { margin: 34px 0; }
.tfc-article-content .tfc-build-story-figure img {
  display: block;
  width: 100%;
  margin: 0;
  border: 1px solid var(--tfc-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--tfc-shadow-sm);
}
.tfc-build-story-figure figcaption {
  margin-top: 10px;
  color: var(--tfc-muted);
  font-size: .83rem;
  line-height: 1.55;
}
.tfc-build-story-test-list { counter-reset: tfc-build-test; list-style: none; padding-left: 0 !important; }
.tfc-build-story-test-list li {
  position: relative;
  min-height: 32px;
  padding-left: 42px;
}
.tfc-build-story-test-list li::before {
  counter-increment: tfc-build-test;
  content: counter(tfc-build-test);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  background: var(--tfc-navy);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1;
}
.tfc-build-story-cta {
  margin-top: 44px;
  padding: clamp(26px, 5vw, 42px);
  border-radius: var(--tfc-radius);
  background: linear-gradient(135deg, var(--tfc-navy) 0%, #1c4d78 100%);
  color: #fff;
}
.tfc-article-content .tfc-build-story-cta h2,
.tfc-article-content .tfc-build-story-cta p,
.tfc-article-content .tfc-build-story-cta .tfc-kicker { color: #fff; }
.tfc-article-content .tfc-build-story-cta h2 { margin-top: 0; }
.tfc-build-story-cta .tfc-actions { margin-top: 22px; }
.tfc-build-story-cta .tfc-button-secondary {
  border-color: rgba(255,255,255,.52);
  background: transparent;
  color: #fff;
}
.tfc-build-story-secondary-link { margin: 20px 0 0 !important; font-size: .88rem; }
.tfc-article-content .tfc-build-story-secondary-link a { color: #fff; text-decoration-color: rgba(255,255,255,.55); }

@media (max-width: 760px) {
  .tfc-build-story-intro { grid-template-columns: 1fr; }
  .tfc-build-story-cta .tfc-actions,
  .tfc-build-story-cta .tfc-button { width: 100%; }
}

.tfc-product-build-story-section { background: linear-gradient(180deg, #fff 0%, var(--tfc-soft) 100%); }
.tfc-product-build-story {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  align-items: center;
  gap: clamp(34px, 7vw, 82px);
}
.tfc-product-build-story > div { max-width: 650px; }
.tfc-product-build-story > div > p { margin: 0 0 24px; color: var(--tfc-muted); font-size: 1.02rem; line-height: 1.72; }
.tfc-product-build-story-image {
  display: block;
  overflow: hidden;
  border: 1px solid var(--tfc-border);
  border-radius: var(--tfc-radius);
  background: #fff;
  box-shadow: var(--tfc-shadow-sm);
}
.tfc-product-build-story-image img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
@media (max-width: 820px) {
  .tfc-product-build-story { grid-template-columns: 1fr; }
  .tfc-product-build-story-image { order: -1; }
}

/* ToolFlowCo Site Studio 1.0.12 — Build Story contrast correction.
   These body-scoped rules intentionally outrank the global heading and button
   rules used by the public shell. */
body.tfc-studio-body .tfc-article-content .tfc-build-story-cta {
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(135deg, #0f2742 0%, #174f7d 62%, #1769d2 100%);
  box-shadow: 0 18px 42px rgba(15,39,66,.18);
}
body.tfc-studio-body .tfc-article-content .tfc-build-story-cta h2 {
  color: #fff !important;
}
body.tfc-studio-body .tfc-article-content .tfc-build-story-cta > p,
body.tfc-studio-body .tfc-article-content .tfc-build-story-cta .tfc-build-story-secondary-link {
  color: #edf5fd !important;
}
body.tfc-studio-body .tfc-article-content .tfc-build-story-cta .tfc-kicker {
  color: #b9dcff !important;
}
body.tfc-studio-body .tfc-article-content .tfc-build-story-cta .tfc-button-primary {
  border-color: #fff !important;
  background: #fff !important;
  color: #0f2742 !important;
  box-shadow: 0 8px 20px rgba(5,25,45,.18);
}
body.tfc-studio-body .tfc-article-content .tfc-build-story-cta .tfc-button-primary:hover,
body.tfc-studio-body .tfc-article-content .tfc-build-story-cta .tfc-button-primary:focus {
  border-color: #e5f0fb !important;
  background: #eaf3ff !important;
  color: #0d4f98 !important;
}
body.tfc-studio-body .tfc-article-content .tfc-build-story-cta .tfc-button-secondary {
  border-color: rgba(255,255,255,.72) !important;
  background: rgba(255,255,255,.06) !important;
  color: #fff !important;
}
body.tfc-studio-body .tfc-article-content .tfc-build-story-cta .tfc-button-secondary:hover,
body.tfc-studio-body .tfc-article-content .tfc-build-story-cta .tfc-button-secondary:focus {
  border-color: #fff !important;
  background: rgba(255,255,255,.14) !important;
  color: #fff !important;
}
body.tfc-studio-body .tfc-article-content .tfc-build-story-secondary-link a {
  color: #fff !important;
  text-decoration-color: rgba(255,255,255,.62) !important;
}

/* --------------------------------------------------------------------------
   ToolFlowCo Site Studio v1.0.13 - catalogue and article filter visibility
   The cards are flex containers. Enforce the filtered state after every card
   display declaration so hidden results leave the grid in all modern browsers.
   -------------------------------------------------------------------------- */
[data-tfc-product-card][hidden],
[data-tfc-article-card][hidden],
[data-tfc-product-card].is-tfc-filtered-out,
[data-tfc-article-card].is-tfc-filtered-out {
  display: none !important;
}


/* --------------------------------------------------------------------------
   ToolFlowCo Site Studio v1.0.14 - Search Console growth actions
   Page-specific additions use the existing ToolFlowCo palette and remain
   visually separate from the approved product and article structures.
   -------------------------------------------------------------------------- */
.tfc-search-growth-block {
  margin: 34px 0;
}
.tfc-search-growth-block > :first-child { margin-top: 0; }
.tfc-search-growth-block > :last-child { margin-bottom: 0; }
.tfc-search-growth-answer,
.tfc-search-growth-detail {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid #c9d9ea;
  border-radius: var(--tfc-radius);
  background: linear-gradient(135deg, #f7faff 0%, #f2f8f7 100%);
  box-shadow: 0 10px 28px rgba(15,39,66,.055);
}
.tfc-search-growth-answer { border-left: 4px solid var(--tfc-blue); }
.tfc-search-growth-detail { border-left: 4px solid var(--tfc-teal); }
.tfc-article-content .tfc-search-growth-answer h2,
.tfc-article-content .tfc-search-growth-detail h2 {
  margin-top: 0;
  color: var(--tfc-navy) !important;
  font-size: clamp(1.45rem, 3vw, 2.05rem) !important;
}
.tfc-article-content .tfc-search-growth-answer p,
.tfc-article-content .tfc-search-growth-detail p,
.tfc-article-content .tfc-search-growth-answer li,
.tfc-article-content .tfc-search-growth-detail li {
  color: var(--tfc-ink);
}
.tfc-growth-choice-grid,
.tfc-growth-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.tfc-growth-choice-grid > div,
.tfc-growth-check-grid > div {
  padding: 20px;
  border: 1px solid var(--tfc-border);
  border-radius: 8px;
  background: #fff;
}
.tfc-growth-choice-grid h3 {
  margin: 0 0 12px !important;
  color: var(--tfc-navy) !important;
  font-size: 1.05rem !important;
}
.tfc-growth-choice-grid ul { margin-bottom: 0; }
.tfc-growth-check-grid strong,
.tfc-growth-check-grid span { display: block; }
.tfc-growth-check-grid strong { margin-bottom: 5px; color: var(--tfc-navy); }
.tfc-growth-check-grid span { color: var(--tfc-muted); font-size: .92rem; line-height: 1.55; }
.tfc-growth-status-flow {
  counter-reset: tfc-growth-step;
  display: grid;
  gap: 10px;
  margin: 22px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.tfc-growth-status-flow li {
  counter-increment: tfc-growth-step;
  display: grid;
  grid-template-columns: 32px minmax(100px, 130px) minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  margin: 0 !important;
  padding: 15px 16px;
  border: 1px solid var(--tfc-border);
  border-radius: 8px;
  background: #fff;
}
.tfc-growth-status-flow li::before {
  content: counter(tfc-growth-step);
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--tfc-navy);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
}
.tfc-growth-status-flow strong { color: var(--tfc-navy); }
.tfc-growth-status-flow span { color: var(--tfc-muted); line-height: 1.55; }
.tfc-growth-formula,
.tfc-growth-example {
  padding: 20px 22px;
  border: 1px solid #bcd3ee;
  border-radius: 8px;
  background: #fff;
}
.tfc-growth-formula { color: var(--tfc-navy) !important; font-size: 1.03rem; line-height: 1.7; }
.tfc-growth-example { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.tfc-growth-example p { margin: 0 !important; }
.tfc-search-growth-cta {
  margin-top: 24px;
  padding: 22px 24px;
  border: 1px solid #bcd3ee;
  border-radius: 8px;
  background: #eef5fd;
}
.tfc-search-growth-cta h3 { margin: 0 0 8px !important; color: var(--tfc-navy) !important; }
.tfc-search-growth-cta p:last-child { margin-bottom: 0; }
.tfc-search-growth-block .tfc-table-wrap { margin-top: 22px; background: #fff; }
.tfc-search-growth-block table { width: 100%; border-collapse: collapse; }
.tfc-search-growth-block th,
.tfc-search-growth-block td { padding: 13px 14px; border-bottom: 1px solid var(--tfc-border); text-align: left; vertical-align: top; }
.tfc-search-growth-block thead th { background: var(--tfc-navy); color: #fff; }
.tfc-search-growth-block tbody th { color: var(--tfc-navy); }

.tfc-search-growth-product-section {
  border-top: 1px solid var(--tfc-border);
  border-bottom: 1px solid var(--tfc-border);
  background: linear-gradient(180deg, #f8fbff 0%, #f4f8f7 100%);
}
.tfc-search-growth-product {
  max-width: 980px;
}
.tfc-search-growth-product-copy {
  padding: clamp(26px, 5vw, 46px);
  border: 1px solid #c9d9ea;
  border-radius: var(--tfc-radius);
  background: #fff;
  box-shadow: var(--tfc-shadow-sm);
}
.tfc-search-growth-product-copy h2 {
  max-width: 820px;
  margin-bottom: 18px;
  color: var(--tfc-navy) !important;
}
.tfc-search-growth-product-copy > p {
  max-width: 860px;
  color: var(--tfc-ink);
  line-height: 1.72;
}
.tfc-search-growth-product-copy .tfc-growth-choice-grid,
.tfc-search-growth-product-copy .tfc-faq-list { margin-top: 24px; }
.tfc-search-growth-product-copy .tfc-faq-list details {
  border-color: var(--tfc-border);
  background: var(--tfc-soft);
}
.tfc-search-growth-actions { margin-top: 26px; }

@media (max-width: 760px) {
  .tfc-growth-choice-grid,
  .tfc-growth-check-grid,
  .tfc-growth-example { grid-template-columns: 1fr; }
  .tfc-growth-status-flow li { grid-template-columns: 32px minmax(0, 1fr); }
  .tfc-growth-status-flow li span { grid-column: 2; }
  .tfc-search-growth-actions,
  .tfc-search-growth-actions .tfc-button { width: 100%; }
}

/* --------------------------------------------------------------------------
   Site Studio 1.0.17 — public product gallery and lightbox repair
   The finishing system previously treated the hero gallery itself as a
   three-column gallery. That compressed the primary image into one narrow
   column and prevented custom Media Library galleries from presenting like
   the bundled nine-image products. These product-page-specific rules restore
   the intended full-width hero image without changing catalogue cards.
   -------------------------------------------------------------------------- */
.tfc-product-page .tfc-product-gallery {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--tfc-border, #d8e1eb);
  border-radius: var(--tfc-radius, 10px);
  background: #fff;
  box-shadow: var(--tfc-shadow-md, 0 18px 50px rgba(16, 36, 62, .11));
}

.tfc-product-page .tfc-gallery-main {
  position: relative;
  display: flex;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 5 / 4;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--tfc-border, #d8e1eb);
  border-radius: calc(var(--tfc-radius, 10px) - 2px);
  background: var(--tfc-soft, #f6f8fb);
  cursor: zoom-in;
}

.tfc-product-page .tfc-gallery-main img,
.tfc-product-page .tfc-gallery-thumbs img,
.tfc-product-page .tfc-full-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  background: var(--tfc-soft, #f6f8fb);
}

.tfc-gallery-view-all {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  background: rgba(8, 26, 46, .88);
  color: #fff;
  font-size: .78rem;
  font-weight: 750;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(8, 26, 46, .24);
  pointer-events: none;
}

.tfc-product-page .tfc-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.tfc-product-page .tfc-gallery-thumbs button {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--tfc-border, #d8e1eb);
  border-radius: 6px;
  background: var(--tfc-soft, #f6f8fb);
  cursor: zoom-in;
}

.tfc-product-page .tfc-gallery-main:hover,
.tfc-product-page .tfc-gallery-main:focus-visible,
.tfc-product-page .tfc-gallery-thumbs button:hover,
.tfc-product-page .tfc-gallery-thumbs button:focus-visible,
.tfc-product-page .tfc-full-gallery button:hover,
.tfc-product-page .tfc-full-gallery button:focus-visible {
  border-color: var(--tfc-primary, #1769d2);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--tfc-primary, #1769d2) 14%, transparent);
  outline: none;
}

.tfc-product-page .tfc-product-gallery-empty {
  min-height: 360px;
  display: grid;
  place-items: center;
}

.tfc-product-page .tfc-full-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tfc-product-page .tfc-full-gallery button {
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--tfc-border, #d8e1eb);
  border-radius: var(--tfc-radius, 10px);
  background: #fff;
  cursor: zoom-in;
  text-align: left;
}

.tfc-product-page .tfc-full-gallery img {
  height: auto;
  aspect-ratio: 5 / 4;
}

.tfc-product-page .tfc-full-gallery span {
  padding: 14px 16px;
  color: var(--tfc-ink, #1d2d40);
  font-size: .82rem;
  font-weight: 700;
}

.tfc-product-page .tfc-lightbox {
  grid-template-columns: minmax(44px, 60px) minmax(0, 1100px) minmax(44px, 60px);
  place-content: center;
  align-items: center;
  gap: 12px;
  padding: 40px;
}

.tfc-product-page .tfc-lightbox figure {
  display: grid;
  width: 100%;
  max-width: 1100px;
  justify-items: center;
  margin: 0;
}

.tfc-product-page .tfc-lightbox img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 150px);
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

.tfc-product-page .tfc-lightbox figcaption {
  margin-top: 12px;
  color: #fff;
  font-weight: 700;
  text-align: center;
}

.tfc-lightbox-position {
  margin: 4px 0 0 !important;
  color: #c7d5e4;
  font-size: .78rem;
  text-align: center;
}

.tfc-product-page .tfc-lightbox button[hidden] {
  display: none !important;
}

@media (max-width: 920px) {
  .tfc-product-page .tfc-full-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .tfc-product-page .tfc-gallery-main {
    aspect-ratio: 5 / 4;
  }

  .tfc-product-page .tfc-gallery-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tfc-product-page .tfc-full-gallery {
    grid-template-columns: 1fr;
  }

  .tfc-product-page .tfc-lightbox {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 6px;
    padding: 16px 8px;
  }

  .tfc-product-page .tfc-lightbox img {
    max-height: calc(100vh - 130px);
  }

  .tfc-gallery-view-all {
    right: 9px;
    bottom: 9px;
    padding: 8px 10px;
    font-size: .72rem;
  }
}

/* 3.1.34: purchase requirements and accessible image focus, no theme replacement. */
.tfc-purchase-compatibility{margin:1rem 0;padding:1rem;border:1px solid var(--tfc-border,#d8e1eb);border-radius:10px;background:var(--tfc-soft,#f6f8fb)}
.tfc-purchase-compatibility p{margin:.35rem 0 0;line-height:1.6;font-size:.95rem}
.tfc-lightbox button:focus-visible{outline:3px solid #fff;outline-offset:4px}
