/* Self-hosted brand fonts (Inter body + Poppins headings) — GDPR-safe, no Google CDN */
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/inter-latin-400-normal.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/inter-latin-500-normal.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/inter-latin-600-normal.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/inter-latin-700-normal.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:800;font-display:swap;src:url('../fonts/inter-latin-800-normal.woff2') format('woff2');}
@font-face{font-family:'Poppins';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/poppins-latin-600-normal.woff2') format('woff2');}
@font-face{font-family:'Poppins';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/poppins-latin-700-normal.woff2') format('woff2');}
@font-face{font-family:'Poppins';font-style:normal;font-weight:800;font-display:swap;src:url('../fonts/poppins-latin-800-normal.woff2') format('woff2');}
/* TaktProduction theme — matches the landing page design language */

:root {
  --teal: #229DBB; --teal-dark: #17758F; --teal-soft: #E3F2F6;
  --amber: #FFA900; --amber-dark: #D98C00; --amber-soft: #FFF3D6;
  --ink: #0E2A33; --ink-2: #1B2B31; --slate: #55707A; --slate-light: #8CA0A8;
  --line: #E7ECEE; --line-soft: #EEF2F4;
  --bg: #FFFFFF; --bg-soft: #F4F6F7;
  --r-xs: 8px; --r-sm: 12px; --r: 18px;
  --shadow-sm: 0 2px 8px rgba(16,27,41,.05);
  --shadow-md: 0 8px 28px rgba(16,27,41,.07);
  --maxw: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); }
h1, h2, h3, h4 { line-height: 1.18; letter-spacing: -.026em; font-weight: 700; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 5vw, 2.9rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.95rem); }
h3 { font-size: 1.2rem; }

.tpt-container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.tpt-narrow { max-width: 760px; }
.tpt-main { padding: 40px 0 72px; min-height: 55vh; }

.tpt-skip {
  position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff;
  padding: 12px 20px; z-index: 100; border-radius: 0 0 var(--r-xs) 0;
}
.tpt-skip:focus { left: 0; }

/* Header */
.tpt-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88); backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--line);
}
.tpt-header-in { display: flex; align-items: center; justify-content: space-between; min-height: 66px; gap: 16px; }
.tpt-brand img, .tpt-logo img, .custom-logo { height: 26px; width: auto; }
.tpt-nav { display: none; }
.tpt-menu { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.tpt-menu a { color: var(--slate); text-decoration: none; font-size: .94rem; font-weight: 500; padding: 8px 0; display: block; }
.tpt-menu a:hover, .tpt-menu .current-menu-item > a { color: var(--ink); }

.tpt-toggle-input { position: absolute; opacity: 0; pointer-events: none; }
.tpt-toggle { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; }
.tpt-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.tpt-mobile { display: none; width: 100%; padding: 8px 0 18px; }
.tpt-toggle-input:checked ~ .tpt-mobile { display: block; }
.tpt-mobile-menu { list-style: none; margin: 0; padding: 0; }
.tpt-mobile-menu a {
  display: block; padding: 15px 0; border-bottom: 1px solid var(--line-soft);
  color: var(--ink); text-decoration: none; font-weight: 500; min-height: 48px;
}

/* Page headers */
.tpt-page-head { max-width: 760px; margin: 0 0 44px; }
.tpt-eyebrow {
  display: inline-flex; align-items: center; gap: 9px; font-size: .74rem; font-weight: 650;
  letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px;
}
.tpt-eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--amber); border-radius: 2px; }
.tpt-archive-desc { color: var(--slate); }

/* Post grid */
.tpt-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.tpt-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; transition: transform .28s cubic-bezier(.4,0,.2,1), box-shadow .28s;
}
.tpt-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tpt-card-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.tpt-card-body { padding: 24px 24px 26px; }
.tpt-meta { font-size: .8rem; color: var(--slate-light); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.tpt-card-title { font-size: 1.2rem; margin-bottom: 10px; }
.tpt-card-title a { color: var(--ink); text-decoration: none; }
.tpt-card-title a:hover { color: var(--teal-dark); }
.tpt-card-excerpt { color: var(--slate); font-size: .93rem; margin: 0 0 16px; }
.tpt-more { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: .9rem; text-decoration: none; }
.tpt-more svg { width: 15px; height: 15px; transition: transform .2s; }
.tpt-more:hover svg { transform: translateX(3px); }

/* Single post */
.tpt-post-head { margin-bottom: 28px; }
.tpt-hero-img { margin: 0 0 32px; border-radius: var(--r); overflow: hidden; }
.tpt-content { font-size: 1.05rem; color: var(--ink-2); }
.tpt-content > * + * { margin-top: 1.2em; }
.tpt-content h2 { margin-top: 1.8em; color: var(--ink); }
.tpt-content h3 { margin-top: 1.5em; color: var(--ink); }
.tpt-content ul, .tpt-content ol { padding-left: 1.3em; }
.tpt-content li + li { margin-top: .45em; }
.tpt-content img, .tpt-content figure { border-radius: var(--r-sm); }
.tpt-content blockquote {
  margin: 1.6em 0; padding: 18px 24px; border-left: 3px solid var(--teal);
  background: var(--bg-soft); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--ink-2);
}
.tpt-content blockquote p:first-child { margin-top: 0; }
.tpt-content code {
  background: var(--line-soft); padding: 2px 7px; border-radius: 5px;
  font-size: .9em; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.tpt-content pre {
  background: var(--ink); color: #E8F1F8; padding: 20px; border-radius: var(--r-sm);
  overflow-x: auto; font-size: .88rem;
}
.tpt-content pre code { background: none; padding: 0; color: inherit; }
.tpt-content table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.tpt-content th, .tpt-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.tpt-content th { background: var(--bg-soft); font-weight: 650; }
.wp-caption-text, .tpt-content figcaption { font-size: .82rem; color: var(--slate-light); text-align: center; margin-top: 8px; }

.tpt-tags { margin-top: 36px; display: flex; gap: 10px; flex-wrap: wrap; }
.tpt-tags a {
  font-size: .82rem; background: var(--teal-soft); color: var(--teal-dark);
  padding: 6px 14px; border-radius: 999px; text-decoration: none;
}
.tpt-postnav {
  display: grid; gap: 14px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line);
}
.tpt-postnav a { text-decoration: none; font-weight: 600; color: var(--ink); }
.tpt-postnav a:hover { color: var(--teal-dark); }
.tpt-next { text-align: right; }

/* Pagination */
.navigation.pagination { margin-top: 44px; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--line);
  border-radius: var(--r-xs); text-decoration: none; color: var(--slate); font-weight: 600; font-size: .9rem;
}
.page-numbers:hover { border-color: var(--teal); color: var(--teal-dark); }
.page-numbers.current { background: var(--teal); border-color: var(--teal); color: #fff; }

/* Misc */
.tpt-empty, .tpt-404 { text-align: center; padding: 60px 20px; color: var(--slate); }
.tpt-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--teal); color: #fff; text-decoration: none; font-weight: 600;
  padding: 14px 30px; border-radius: 999px; box-shadow: 0 6px 18px rgba(34,157,187,.28);
}
.tpt-btn:hover { background: var(--teal-dark); }
.tpt-searchbox { margin-top: 18px; }
.search-form { display: flex; gap: 8px; max-width: 420px; }
.search-form input[type="search"] {
  flex: 1; padding: 12px 15px; border: 1.5px solid var(--line); border-radius: var(--r-xs);
  font-family: inherit; font-size: 16px; min-height: 48px;
}
.search-form input[type="search"]:focus { outline: none; border-color: var(--teal); }
.search-form input[type="submit"] {
  background: var(--ink); color: #fff; border: 0; border-radius: var(--r-xs);
  padding: 0 20px; font-weight: 600; cursor: pointer; min-height: 48px;
}

/* Comments */
.comment-list { list-style: none; padding: 0; }
.comment-list li { border-top: 1px solid var(--line); padding: 20px 0; }
.comment-form input:not([type="submit"]), .comment-form textarea {
  width: 100%; padding: 12px 15px; border: 1.5px solid var(--line);
  border-radius: var(--r-xs); font-family: inherit; font-size: 16px;
}
.comment-form input[type="submit"] {
  background: var(--teal); color: #fff; border: 0; border-radius: 999px;
  padding: 13px 28px; font-weight: 600; cursor: pointer;
}

/* Footer */
.tpt-footer { background: var(--ink); color: rgba(255,255,255,.62); padding: 52px 0 28px; }
.tpt-footer-in { display: flex; flex-direction: column; gap: 26px; }
.tpt-footer-brand img { height: 26px; margin-bottom: 12px; }
.tpt-footer-brand p { margin: 0; font-size: .9rem; max-width: 40ch; }
.tpt-footer-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px 26px; flex-wrap: wrap; }
.tpt-footer-menu a { color: rgba(255,255,255,.62); text-decoration: none; font-size: .9rem; }
.tpt-footer-menu a:hover { color: #fff; }
.tpt-copyright {
  margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.09);
  font-size: .84rem; text-align: center; color: rgba(255,255,255,.42);
}

/* Alignments */
.alignwide { max-width: 1040px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.alignleft { float: left; margin: .4em 1.6em 1em 0; }
.alignright { float: right; margin: .4em 0 1em 1.6em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px,1px,1px,1px); white-space: nowrap;
}

@media (hover: none) { .tpt-card:hover { transform: none; } }

@media (min-width: 600px) {
  .tpt-grid { grid-template-columns: repeat(2, 1fr); }
  .tpt-postnav { grid-template-columns: 1fr 1fr; }
  .tpt-footer-in { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}
@media (min-width: 900px) {
  .tpt-container { padding: 0 28px; }
  .tpt-main { padding: 56px 0 96px; }
  .tpt-grid { grid-template-columns: repeat(3, 1fr); }
  .tpt-header-in { min-height: 82px; }
  .tpt-brand img, .tpt-logo img, .custom-logo { height: 30px; }
  .tpt-nav { display: block; }
  .tpt-toggle, .tpt-mobile { display: none; }
  .tpt-toggle-input:checked ~ .tpt-mobile { display: none; }
}

/* Brand headings */
h1,h2,h3,h4{font-family:'Poppins','Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;}

/* In-post demo + ROI CTA block (used by blog posts) */
.tpt-content .tpt-cta {
  margin: 2.4em 0 .6em; padding: 30px 32px;
  background: linear-gradient(135deg, #F4FAFC 0%, #FFF8EC 100%);
  border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}
.tpt-content .tpt-cta h3 {
  font-family: 'Poppins', sans-serif; margin: 0 0 .35em; color: var(--ink); font-size: 1.3rem;
}
.tpt-content .tpt-cta p { margin: 0 0 .2em; color: var(--slate); }
.tpt-content .tpt-cta .tpt-cta-actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 12px; }
.tpt-content .tpt-cta .tpt-btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 13px 26px; border-radius: 999px;
}
.tpt-content .tpt-cta .tpt-btn-primary {
  background: var(--teal); color: #fff; box-shadow: 0 6px 18px rgba(34,157,187,.28);
}
.tpt-content .tpt-cta .tpt-btn-primary:hover { background: var(--teal-dark); }
.tpt-content .tpt-cta .tpt-btn-ghost {
  background: #fff; color: var(--teal-dark); border: 1.5px solid var(--teal);
}
.tpt-content .tpt-cta .tpt-btn-ghost:hover { background: var(--teal-soft); }
@media (max-width: 520px) {
  .tpt-content .tpt-cta { padding: 24px 20px; }
  .tpt-content .tpt-cta .tpt-btn { width: 100%; }
}
