/*
Theme Name: Toolphyra
Theme URI: https://toolphyra.com/
Author: Toolphyra
Author URI: https://toolphyra.com/
Description: Toolphyra — an independent, editorial software-review theme. Clean, fast, fully responsive. Homepage built with a category grid, top-picks, comparisons, blog cards and an email opt-in.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: toolphyra
*/

/* ============================================================
   TOKENS + RESET
   ============================================================ */
:root{
  --accent:#4F46E5;
  --accent-dark:#4338CA;
  --accent-tint:#EEF0FE;
  --ink:#16181D;
  --muted:#54585F;
  --muted-2:#6B6F78;
  --light:#8A8E98;
  --border:#ECEDF1;
  --surface:#FAFAFC;
  --maxw:1200px;
}
*{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{
  background:#fff;
  color:var(--ink);
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  -webkit-font-smoothing:antialiased;
  line-height:1.5;
}
img{max-width:100%;height:auto;}
a{color:inherit;}
::selection{background:var(--accent-tint);}
.tp-serif{font-family:Newsreader,Georgia,"Times New Roman",serif;}

/* Layout helpers */
.tp-container{max-width:var(--maxw);margin:0 auto;padding:0 32px;}
.tp-section{max-width:var(--maxw);margin:0 auto;padding:24px 32px 80px;}
.tp-band{background:var(--surface);border-top:1px solid var(--border);border-bottom:1px solid var(--border);}
.tp-band-inner{max-width:var(--maxw);margin:0 auto;padding:68px 32px;}
.tp-eyebrow{font-size:14px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--light);margin:0;}
.tp-head-row{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:26px;}
.tp-h2{font-family:Newsreader,Georgia,serif;font-size:34px;font-weight:600;letter-spacing:-.01em;margin:0;}
.tp-link{font-size:14px;font-weight:600;color:var(--accent);text-decoration:none;white-space:nowrap;}
.tp-link:hover{text-decoration:underline;}

/* Buttons */
.tp-btn{display:inline-flex;align-items:center;gap:8px;font-size:15px;font-weight:600;border-radius:10px;text-decoration:none;cursor:pointer;border:1px solid transparent;padding:14px 24px;transition:background .15s ease,color .15s ease,border-color .15s ease;}
.tp-btn-primary{background:var(--accent);color:#fff;}
.tp-btn-primary:hover{background:var(--accent-dark);}
.tp-btn-ghost{background:transparent;color:var(--accent);border-color:var(--accent);}
.tp-btn-ghost:hover{background:var(--accent-tint);}

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.tp-announce{background:var(--ink);color:#fff;text-align:center;font-size:13px;font-weight:500;letter-spacing:.01em;padding:9px 16px;}
.tp-announce .tag{opacity:.6;margin-right:6px;}
.tp-announce a{color:#fff;text-decoration:underline;text-underline-offset:2px;}

/* ============================================================
   HEADER
   ============================================================ */
.tp-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.88);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--border);}
.tp-header-inner{max-width:var(--maxw);margin:0 auto;padding:0 32px;height:66px;display:flex;align-items:center;justify-content:space-between;}
.tp-logo{display:flex;align-items:center;gap:10px;text-decoration:none;}
.tp-logo-mark{width:30px;height:30px;border-radius:8px;background:var(--accent);display:flex;align-items:center;justify-content:center;flex:0 0 auto;}
.tp-logo-name{font-size:18px;font-weight:800;letter-spacing:-.02em;color:var(--ink);}
.tp-nav{display:flex;align-items:center;gap:26px;}
.tp-nav a{font-size:14px;font-weight:500;color:#43474F;text-decoration:none;display:flex;align-items:center;gap:4px;}
.tp-nav a:hover{color:var(--accent);}
.tp-nav a.current,.tp-nav .current-menu-item>a{color:var(--ink);font-weight:600;}
.tp-header-actions{display:flex;align-items:center;gap:16px;}
.tp-icon-btn{background:none;border:none;cursor:pointer;padding:6px;display:flex;color:#43474F;}
.tp-header-cta{font-size:14px;font-weight:600;color:#fff;background:var(--accent);padding:9px 16px;border-radius:8px;text-decoration:none;white-space:nowrap;}
.tp-header-cta:hover{background:var(--accent-dark);}
.tp-burger{display:none;background:none;border:none;cursor:pointer;padding:6px;color:var(--ink);}

/* ============================================================
   HERO
   ============================================================ */
.tp-hero{text-align:center;padding:88px 32px 76px;max-width:840px;margin:0 auto;}
.tp-hero h1{font-family:Newsreader,Georgia,serif;font-size:62px;line-height:1.04;font-weight:600;letter-spacing:-.02em;margin:0 0 22px;text-wrap:balance;}
.tp-hero p{font-size:19px;line-height:1.55;color:var(--muted);max-width:560px;margin:0 auto 34px;text-wrap:pretty;}
.tp-hero-cta{display:flex;align-items:center;justify-content:center;gap:22px;margin-bottom:42px;flex-wrap:wrap;}
.tp-textlink{font-size:15px;font-weight:600;color:var(--ink);text-decoration:none;border-bottom:2px solid #E1E2E7;padding-bottom:2px;}
.tp-textlink:hover{border-color:var(--accent);}
.tp-chips{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;}
.tp-chip{font-size:13px;font-weight:500;color:#43474F;background:#F4F5F8;border:1px solid var(--border);padding:7px 14px;border-radius:999px;}

/* ============================================================
   CATEGORY GRID
   ============================================================ */
.tp-cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;}
.tp-cat{text-decoration:none;color:inherit;border:1px solid var(--border);border-radius:14px;padding:22px;display:block;background:#fff;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;}
.tp-cat:hover{transform:translateY(-4px);border-color:var(--accent);box-shadow:0 12px 28px rgba(22,24,29,.07);}
.tp-cat-icon{width:44px;height:44px;border-radius:11px;background:var(--accent-tint);display:flex;align-items:center;justify-content:center;margin-bottom:16px;}
.tp-cat-title{font-size:16px;font-weight:700;margin-bottom:5px;}
.tp-cat-desc{font-size:13.5px;line-height:1.45;color:var(--muted-2);}

/* ============================================================
   WHO WE ARE
   ============================================================ */
.tp-who{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;border-top:1px solid var(--border);padding-top:56px;}
.tp-who-lead{font-family:Newsreader,Georgia,serif;font-size:26px;line-height:1.4;font-weight:500;color:var(--ink);margin:0 0 18px;text-wrap:pretty;}
.tp-who p.body{font-size:16px;line-height:1.65;color:var(--muted);margin:0 0 14px;}
.tp-who p.body:last-child{margin-bottom:0;}
.tp-process{border:1px solid var(--border);border-radius:16px;background:var(--surface);padding:28px;}
.tp-process-title{font-size:12px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--light);margin:0 0 22px;}
.tp-steps{display:flex;align-items:flex-start;gap:8px;}
.tp-step{flex:1;display:flex;flex-direction:column;align-items:flex-start;}
.tp-step-icon{width:42px;height:42px;border-radius:11px;background:var(--accent);display:flex;align-items:center;justify-content:center;margin-bottom:13px;}
.tp-step-name{font-size:15px;font-weight:700;color:var(--ink);margin-bottom:6px;}
.tp-step-desc{font-size:13px;line-height:1.45;color:var(--muted-2);}
.tp-step-arrow{flex:0 0 auto;padding-top:13px;height:42px;display:flex;align-items:center;color:#C7CAD2;}

/* ============================================================
   TOOL CARDS (top picks)
   ============================================================ */
.tp-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
.tp-card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:26px;display:flex;flex-direction:column;}
.tp-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;}
.tp-card-idn{display:flex;align-items:center;gap:12px;}
.tp-logo-sq{width:46px;height:46px;border-radius:12px;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:18px;flex:0 0 auto;}
.tp-card-name{font-size:17px;font-weight:700;}
.tp-card-cat{font-size:12.5px;color:var(--light);}
.tp-badge{font-size:12px;font-weight:700;padding:5px 11px;border-radius:999px;white-space:nowrap;}
.tp-badge-free{color:#0F7A3D;background:#E7F6EE;}
.tp-badge-value{color:var(--accent);background:var(--accent-tint);}
.tp-card-body{font-size:14.5px;line-height:1.5;color:#43474F;margin:0 0 18px;flex:1;}
.tp-card-foot{display:flex;align-items:center;justify-content:flex-end;gap:10px;border-top:1px solid #F0F1F4;padding-top:15px;}
.tp-tag{font-size:12px;font-weight:600;color:var(--accent);background:var(--accent-tint);padding:5px 11px;border-radius:999px;}
.tp-card-foot.between{justify-content:space-between;}

/* ============================================================
   COMPARISONS
   ============================================================ */
.tp-compare-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;}
.tp-pill{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #E1E2E7;border-radius:999px;padding:11px 20px;text-decoration:none;color:var(--ink);font-size:15px;font-weight:600;transition:border-color .15s ease,color .15s ease;}
.tp-pill:hover{border-color:var(--accent);color:var(--accent);}
.tp-lede{font-size:15.5px;line-height:1.5;color:var(--muted);margin:0 0 22px;max-width:560px;}

/* ============================================================
   BEST-OF LISTS
   ============================================================ */
.tp-list-card{background:#fff;border:1px solid var(--border);border-radius:14px;padding:28px;display:flex;flex-direction:column;}
.tp-list-icon{width:56px;height:56px;border-radius:14px;background:var(--accent-tint);display:flex;align-items:center;justify-content:center;margin-bottom:18px;}
.tp-list-card h3{font-size:18px;font-weight:700;line-height:1.3;margin:0 0 8px;}
.tp-list-card p{font-size:14px;line-height:1.5;color:var(--muted);margin:0 0 18px;flex:1;}

/* ============================================================
   BLOG CARDS
   ============================================================ */
.tp-blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;}
.tp-post{text-decoration:none;color:inherit;display:flex;flex-direction:column;}
.tp-post-thumb{aspect-ratio:16/10;border-radius:14px;overflow:hidden;margin-bottom:16px;border:1px solid #1A1740;}
.tp-post-thumb svg{display:block;width:100%;height:100%;}
.tp-post-thumb.placeholder{background:repeating-linear-gradient(135deg,#F1F2F6,#F1F2F6 10px,#ECEDF2 10px,#ECEDF2 20px);border:1px solid var(--border);display:flex;align-items:flex-end;padding:14px;}
.tp-post-thumb .ph-label{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;color:#9498A2;background:#fff;padding:4px 8px;border-radius:6px;}
.tp-post-tag{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:4px 9px;border-radius:6px;align-self:flex-start;margin-bottom:11px;color:var(--accent);background:var(--accent-tint);}
.tp-post-tag.green{color:#0F7A3D;background:#E7F6EE;}
.tp-post-tag.amber{color:#B5701A;background:#FBF1E3;}
.tp-post h3{font-size:18px;font-weight:700;line-height:1.3;margin:0 0 8px;text-wrap:pretty;}
.tp-post p{font-size:14px;line-height:1.5;color:var(--muted-2);margin:0 0 14px;}
.tp-post .meta{font-size:13px;color:var(--light);margin-top:auto;}

/* ============================================================
   EMAIL OPT-IN
   ============================================================ */
.tp-optin-wrap{max-width:var(--maxw);margin:60px auto;padding:0 32px;}
.tp-optin{background:var(--accent-tint);border:1px solid #DEE0FB;border-radius:20px;padding:54px;display:flex;align-items:center;justify-content:space-between;gap:48px;flex-wrap:wrap;}
.tp-optin-copy{flex:1;min-width:280px;}
.tp-optin-copy h2{font-family:Newsreader,Georgia,serif;font-size:32px;font-weight:600;letter-spacing:-.01em;margin:0 0 8px;}
.tp-optin-copy p{font-size:16px;line-height:1.5;color:#4A4E66;margin:0;}
.tp-optin-form{display:flex;gap:10px;flex:1;min-width:320px;max-width:480px;}
.tp-optin-form input{flex:1;border:1px solid #C9CCEF;border-radius:10px;padding:14px 16px;font-size:15px;font-family:inherit;background:#fff;outline:none;color:var(--ink);}
.tp-optin-form button{background:var(--accent);color:#fff;border:none;border-radius:10px;padding:14px 22px;font-size:15px;font-weight:600;font-family:inherit;cursor:pointer;white-space:nowrap;}
.tp-optin-form button:hover{background:var(--accent-dark);}

/* ============================================================
   FOOTER
   ============================================================ */
.tp-footer{background:var(--ink);color:#C8CAD0;}
.tp-footer-top{max-width:var(--maxw);margin:0 auto;padding:60px 32px 0;display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px;}
.tp-footer-brand .row{display:flex;align-items:center;gap:10px;margin-bottom:14px;}
.tp-footer-mark{width:28px;height:28px;border-radius:7px;background:var(--accent);display:flex;align-items:center;justify-content:center;}
.tp-footer-brand .name{font-size:17px;font-weight:800;color:#fff;}
.tp-footer-brand p{font-size:14px;line-height:1.55;color:#8C8F98;margin:0 0 20px;max-width:240px;}
.tp-social{display:flex;gap:12px;}
.tp-social a{width:34px;height:34px;border-radius:8px;background:#24262D;display:flex;align-items:center;justify-content:center;text-decoration:none;}
.tp-social a:hover{background:#30333B;}
.tp-footer-col .title{font-size:13px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#fff;margin-bottom:16px;}
.tp-footer-col nav{display:flex;flex-direction:column;gap:11px;}
.tp-footer-col nav a{font-size:14px;color:#9DA0A8;text-decoration:none;}
.tp-footer-col nav a:hover{color:#fff;}
.tp-footer-bar{max-width:var(--maxw);margin:48px auto 0;padding:22px 32px;border-top:1px solid #2A2D34;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;}
.tp-footer-bar span{font-size:13px;color:#7A7D85;}

/* ============================================================
   PAGE CONTENT (regular pages: About, Contact, reviews, policies)
   ============================================================ */
.tp-page-content h2{font-family:Newsreader,Georgia,serif;font-size:28px;font-weight:600;letter-spacing:-.01em;color:var(--ink);margin:40px 0 14px;}
.tp-page-content h3{font-size:19px;font-weight:700;color:var(--ink);margin:32px 0 12px;}
.tp-page-content p{margin:0 0 18px;}
.tp-page-content ul,.tp-page-content ol{margin:0 0 18px;padding-left:22px;}
.tp-page-content li{margin-bottom:8px;}
.tp-page-content a{color:var(--accent);text-decoration:underline;text-underline-offset:2px;}
.tp-page-content a:hover{color:var(--accent-dark);}
.tp-page-content strong{color:var(--ink);}
.tp-page-content blockquote{border-left:3px solid var(--accent);margin:24px 0;padding:4px 0 4px 20px;color:var(--muted);font-style:italic;}
.tp-page-content img{border-radius:12px;margin:24px 0;}
.tp-page-content hr{border:none;border-top:1px solid var(--border);margin:32px 0;}

/* ============================================================
   BREADCRUMB (blog + single post)
   ============================================================ */
.tp-crumb{margin-bottom:20px;font-size:13.5px;}
.tp-crumb a{color:var(--light);text-decoration:none;transition:color .15s ease;}
.tp-crumb a:hover{color:var(--accent);}
.tp-crumb span{color:#C7CAD2;margin:0 6px;}
.tp-crumb .current{color:var(--ink);font-weight:600;margin:0;}

/* ============================================================
   BLOG LISTING PAGE
   ============================================================ */
.tp-blog-h1{font-family:Newsreader,Georgia,serif;font-size:44px;line-height:1.1;font-weight:600;letter-spacing:-.02em;margin:0 0 14px;}
.tp-blog-intro{font-size:17px;line-height:1.6;color:var(--muted);margin:0 0 28px;max-width:760px;}
.tp-blog-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;flex-wrap:wrap;padding-bottom:28px;border-bottom:1px solid var(--border);margin-bottom:40px;}
.tp-cat-filter{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 16px;flex:1;min-width:280px;}
.tp-cat-filter .label{font-size:14px;font-weight:700;color:var(--ink);}
.tp-cat-pill{font-size:13.5px;font-weight:600;color:#43474F;background:var(--border);text-decoration:none;border-radius:20px;padding:8px 16px;margin:4px;display:inline-block;transition:background .15s ease,color .15s ease;}
.tp-cat-pill:hover{background:var(--accent);color:#fff;}
.tp-search-box{display:flex;align-items:center;gap:10px;border:1px solid var(--border);border-radius:10px;padding:10px 14px;background:var(--surface);flex:0 0 auto;min-width:220px;}
.tp-search-box input{border:none;outline:none;background:transparent;font-size:14px;font-family:inherit;color:var(--ink);width:100%;}
.tp-post .meta{display:flex;align-items:center;gap:9px;margin-top:auto;font-size:13px;color:var(--light);}
.tp-post .meta .a-name{color:#43474F;font-weight:600;}
.tp-post .meta .dot{color:#C7CAD2;}
.tp-avatar{border-radius:999px;background:var(--accent-tint);color:var(--accent);display:inline-flex;align-items:center;justify-content:center;font-weight:700;flex:0 0 auto;}
.tp-post-tag.red{color:#B5304E;background:#FBE8ED;}

/* Pagination */
.tp-pagination{display:flex;align-items:center;justify-content:center;gap:8px;margin:48px 0 12px;flex-wrap:wrap;}
.tp-pagination .page-numbers{width:38px;height:38px;border-radius:9px;border:1px solid var(--border);display:flex;align-items:center;justify-content:center;text-decoration:none;font-size:14px;font-weight:600;color:#43474F;transition:border-color .15s ease,color .15s ease;}
.tp-pagination a.page-numbers:hover{border-color:var(--accent);color:var(--accent);}
.tp-pagination .page-numbers.current{background:var(--accent);color:#fff;border-color:var(--accent);}
.tp-pagination .page-numbers.dots{border:none;color:var(--light);width:auto;}

/* CTA strip */
.tp-cta-strip-wrap{max-width:var(--maxw);margin:24px auto 56px;padding:0 32px;}
.tp-cta-strip{background:var(--accent);border-radius:18px;padding:44px 48px;display:flex;align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap;}
.tp-cta-strip .copy{max-width:560px;}
.tp-cta-strip h2{font-family:Newsreader,Georgia,serif;font-size:26px;font-weight:600;color:#fff;margin:0 0 6px;}
.tp-cta-strip p{font-size:15.5px;line-height:1.6;color:#D6D8FA;margin:0;}
.tp-cta-btn{font-size:15px;font-weight:600;color:var(--accent);background:#fff;padding:14px 24px;border-radius:10px;text-decoration:none;white-space:nowrap;transition:background .15s ease;}
.tp-cta-btn:hover{background:var(--accent-tint);}

/* ============================================================
   SINGLE POST PAGE
   ============================================================ */
.tp-single-hero-wrap{max-width:var(--maxw);margin:24px auto 0;padding:0 32px;}
.tp-single-hero{aspect-ratio:16/7;max-height:420px;overflow:hidden;background:#0E0C2A;border-radius:18px;}
.tp-single-h1{font-family:Newsreader,Georgia,serif;font-size:42px;line-height:1.15;font-weight:600;letter-spacing:-.02em;margin:0 0 18px;max-width:820px;}
.tp-single-meta{display:flex;align-items:center;gap:9px;margin-bottom:24px;flex-wrap:wrap;font-size:14.5px;color:var(--light);}
.tp-single-meta .a-name{color:#43474F;font-weight:600;}
.tp-single-meta .dot{color:#C7CAD2;}

.tp-disclosure{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:14px 18px;margin:0 0 32px;max-width:720px;}
.tp-disclosure p{font-size:13.5px;line-height:1.6;color:var(--muted);margin:0;}

.tp-post-layout{display:grid;grid-template-columns:1fr 260px;gap:64px;align-items:start;}
.tp-article{max-width:720px;min-width:0;}
.tp-article h2{font-size:26px;font-weight:700;margin:40px 0 16px;color:var(--ink);}
.tp-article p{font-size:17px;line-height:1.75;color:#3A3D45;margin:0 0 20px;}
.tp-article ul,.tp-article ol{font-size:17px;line-height:1.75;color:#3A3D45;margin:0 0 20px;padding-left:22px;}
.tp-article blockquote{border-left:3px solid var(--accent);margin:24px 0;padding:4px 0 4px 20px;color:var(--muted);font-style:italic;}
.tp-article img{border-radius:12px;margin:24px 0;}
.tp-article a{color:var(--accent);text-decoration:underline;text-underline-offset:2px;}

.tp-toc{position:sticky;top:90px;}
.tp-toc-label{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--light);margin-bottom:14px;}
.tp-toc nav{display:flex;flex-direction:column;gap:2px;border-left:2px solid var(--border);}
.tp-toc-link{font-size:14px;line-height:1.4;color:#43474F;text-decoration:none;padding:8px 0 8px 16px;border-left:2px solid transparent;margin-left:-2px;transition:color .15s ease,border-color .15s ease;}
.tp-toc-link:hover{color:var(--accent);border-left-color:var(--accent);}

.tp-author-card{max-width:720px;margin:56px 0 0;padding:32px;border:1px solid var(--border);border-radius:16px;background:var(--surface);display:flex;gap:20px;}
.tp-author-card .label{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--light);margin-bottom:6px;}
.tp-author-card .name{font-size:17px;font-weight:700;color:var(--ink);margin-bottom:8px;}
.tp-author-card p{font-size:14.5px;line-height:1.6;color:var(--muted);margin:0;}

.tp-related{max-width:960px;margin:64px 0 0;}
.tp-related h2{font-family:Newsreader,Georgia,serif;font-size:26px;font-weight:600;margin:0 0 28px;color:var(--ink);}
.tp-related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.tp-related-post{text-decoration:none;color:inherit;display:flex;flex-direction:column;min-width:0;}
.tp-related-post .tp-post-thumb{aspect-ratio:16/10;margin-bottom:14px;}
.tp-related-post span{font-size:12px;font-weight:600;color:var(--accent);margin-bottom:6px;}
.tp-related-post h3{font-size:16.5px;font-weight:700;line-height:1.35;margin:0;color:var(--ink);}

/* ============================================================
   COMMENTS
   ============================================================ */
.tp-page-content #comments{border-top:1px solid var(--border);padding-top:40px;}
.tp-page-content .comments-title,
.tp-page-content .comment-reply-title{font-family:Newsreader,Georgia,serif;font-size:24px;font-weight:600;color:var(--ink);margin:0 0 24px;}
.tp-page-content .comment-reply-title small a{font-size:13px;font-weight:600;color:var(--accent);text-decoration:none;margin-left:10px;}
.tp-page-content .comment-list{list-style:none;margin:0 0 40px;padding:0;}
.tp-page-content .comment-list .comment{border:1px solid var(--border);border-radius:14px;padding:22px 24px;margin-bottom:16px;background:var(--surface);}
.tp-page-content .comment-list ol.children{list-style:none;margin:16px 0 0;padding:0 0 0 32px;}
.tp-page-content .comment-author{display:flex;align-items:center;gap:10px;margin-bottom:8px;}
.tp-page-content .comment-author .avatar{width:32px;height:32px;border-radius:999px;}
.tp-page-content .comment-author .fn{font-size:14.5px;font-weight:700;color:var(--ink);font-style:normal;}
.tp-page-content .comment-metadata{font-size:12.5px;color:var(--light);margin-bottom:10px;}
.tp-page-content .comment-metadata a{color:var(--light);text-decoration:none;}
.tp-page-content .comment-content p{font-size:15px;line-height:1.65;color:#3A3D45;margin:0 0 10px;}
.tp-page-content .comment-content p:last-child{margin-bottom:0;}
.tp-page-content .reply a{font-size:13px;font-weight:600;color:var(--accent);text-decoration:none;background:#fff;border:1px solid var(--border);border-radius:20px;padding:6px 14px;display:inline-block;}
.tp-page-content .reply a:hover{border-color:var(--accent);}
.tp-page-content .comment-notes,
.tp-page-content .logged-in-as{font-size:14px;color:var(--muted);margin:0 0 18px;}
.tp-page-content .logged-in-as a{color:var(--accent);}
.tp-page-content .comment-form p{margin:0 0 16px;}
.tp-page-content .comment-form label{display:block;font-size:13.5px;font-weight:600;color:var(--ink);margin-bottom:6px;}
.tp-page-content .comment-form input[type="text"],
.tp-page-content .comment-form input[type="email"],
.tp-page-content .comment-form input[type="url"],
.tp-page-content .comment-form textarea{
  width:100%;border:1px solid var(--border);border-radius:10px;padding:12px 14px;
  font-size:15px;font-family:inherit;color:var(--ink);background:#fff;outline:none;
  transition:border-color .15s ease;
}
.tp-page-content .comment-form input:focus,
.tp-page-content .comment-form textarea:focus{border-color:var(--accent);}
.tp-page-content .comment-form textarea{min-height:140px;resize:vertical;}
.tp-page-content .form-submit{margin:8px 0 0;}
.tp-page-content .form-submit #submit,
.tp-page-content .comment-form input[type="submit"]{
  background:var(--accent);color:#fff;border:none;border-radius:10px;
  padding:13px 26px;font-size:15px;font-weight:600;font-family:inherit;cursor:pointer;
  transition:background .15s ease;
}
.tp-page-content .form-submit #submit:hover,
.tp-page-content .comment-form input[type="submit"]:hover{background:var(--accent-dark);}
.tp-page-content .no-comments{font-size:14.5px;color:var(--muted);}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1024px){
  .tp-cat-grid{grid-template-columns:repeat(2,1fr);}
  .tp-compare-grid{grid-template-columns:repeat(2,1fr);}
  .tp-hero h1{font-size:52px;}
}
@media (max-width:900px){
  .tp-nav{
    position:fixed;top:66px;left:0;right:0;
    flex-direction:column;align-items:stretch;gap:0;
    background:#fff;border-bottom:1px solid var(--border);
    padding:8px 0;
    transform:translateY(-140%);
    transition:transform .25s ease;
    box-shadow:0 20px 40px rgba(22,24,29,.08);
  }
  .tp-nav.open{transform:translateY(0);}
  .tp-nav a{padding:14px 32px;font-size:16px;border-bottom:1px solid var(--border);}
  .tp-nav a:last-child{border-bottom:none;}
  .tp-burger{display:flex;}
  .tp-header-cta{display:none;}
  .tp-who{grid-template-columns:1fr;gap:32px;}
  .tp-cards{grid-template-columns:1fr;}
  .tp-blog-grid{grid-template-columns:1fr;}
  .tp-footer-top{grid-template-columns:1fr 1fr;gap:32px;}
  .tp-footer-brand{grid-column:1 / -1;}
}
@media (max-width:640px){
  .tp-container,.tp-header-inner,.tp-band-inner,.tp-footer-top,.tp-footer-bar,.tp-optin-wrap{padding-left:20px;padding-right:20px;}
  .tp-section{padding:20px 20px 56px;}
  .tp-band-inner{padding:48px 20px;}
  .tp-hero{padding:56px 20px 48px;}
  .tp-hero h1{font-size:38px;}
  .tp-hero p{font-size:17px;}
  .tp-cat-grid{grid-template-columns:1fr 1fr;gap:12px;}
  .tp-compare-grid{grid-template-columns:1fr;}
  .tp-h2{font-size:27px;}
  .tp-steps{flex-direction:column;align-items:stretch;gap:20px;}
  .tp-step-arrow{display:none;}
  .tp-optin{padding:32px;}
  .tp-optin-copy h2{font-size:26px;}
  .tp-optin-form{flex-direction:column;max-width:none;}
  .tp-footer-top{grid-template-columns:1fr;}
  .tp-footer-bar{flex-direction:column;align-items:flex-start;}
  .tp-head-row{flex-wrap:wrap;}
}
@media (max-width:400px){
  .tp-cat-grid{grid-template-columns:1fr;}
}
@media (max-width:980px){
  .tp-post-layout{grid-template-columns:1fr;}
  .tp-toc{display:none;}
}
@media (max-width:760px){
  .tp-related-grid{grid-template-columns:1fr;}
}
@media (max-width:620px){
  .tp-blog-h1{font-size:34px;}
  .tp-single-h1{font-size:30px;}
  .tp-author-card{flex-direction:column;}
  .tp-single-hero-wrap{padding:0 20px;margin-top:16px;}
  .tp-single-hero{aspect-ratio:4/3;max-height:340px;border-radius:14px;}
  .tp-single-meta{gap:6px;font-size:13.5px;}
  .tp-disclosure{padding:12px 16px;}
  .tp-article p,.tp-article ul,.tp-article ol{font-size:16px;}
  .tp-article h2{font-size:22px;margin:32px 0 14px;}
  .tp-author-card{padding:22px;}
  .tp-page-content .comment-list .comment{padding:16px 18px;}
  .tp-page-content .comment-list ol.children{padding-left:16px;}
}