:root {
  --white:#FFFFFF;--off:#F8F9FB;--light:#EEF2F8;
  --blue:#2563EB;--blue-dark:#1D4ED8;--blue-light:#EFF6FF;--blue-mid:#DBEAFE;
  --text:#0A0F1E;--body:#1E2A3A;--muted:#5A6A7E;--subtle:#8A96A8;
  --border:#E4E8EE;--border-light:#EEF1F6;
}
#tpg-wrap,#tpg-wrap *{box-sizing:border-box;margin:0;padding:0}
html{margin-top:0!important;scroll-behavior:smooth}
#tpg-wrap{font-family:'Inter',-apple-system,BlinkMacSystemFont,sans-serif;background:var(--white);color:var(--text);line-height:1.6;-webkit-font-smoothing:antialiased}
#tpg-wrap .container{max-width:1060px;margin:0 auto;padding:0 2rem}

/* NAV */
#tpg-wrap header{position:sticky;top:0;z-index:9999;background:rgba(255,255,255,0.97);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border-bottom:1px solid var(--border)}
#tpg-wrap nav{max-width:1060px;margin:0 auto;padding:0 2rem;display:flex;align-items:center;justify-content:space-between;height:60px;gap:1rem}
#tpg-wrap .logo{text-decoration:none;display:flex;flex-direction:column;gap:1px;flex-shrink:0}
#tpg-wrap .logo-name{font-size:15px;font-weight:500;color:var(--text);letter-spacing:-0.2px}
#tpg-wrap .logo-name span{color:var(--blue)}
#tpg-wrap .logo-tag{font-size:9px;letter-spacing:1px;text-transform:uppercase;color:var(--subtle);white-space:nowrap}
#tpg-wrap .nav-links{display:flex;list-style:none;gap:1.5rem;align-items:center;flex-shrink:1;overflow:hidden}
#tpg-wrap .nav-links a{font-size:12.5px;color:var(--muted);text-decoration:none;transition:color 0.15s;white-space:nowrap}
#tpg-wrap .nav-links a:hover{color:var(--text)}
#tpg-wrap .nav-right{display:flex;align-items:center;gap:1rem;flex-shrink:0}
#tpg-wrap .nav-btn{background:var(--text);color:var(--white);border:none;padding:9px 18px;border-radius:6px;font-family:'Inter',sans-serif;font-size:12.5px;font-weight:500;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;white-space:nowrap;transition:background 0.15s;line-height:1}
#tpg-wrap .nav-btn:hover{background:var(--blue)}
/* Hamburger */
#tpg-wrap .nav-hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:4px;background:none;border:none;flex-shrink:0}
#tpg-wrap .nav-hamburger span{display:block;width:22px;height:2px;background:var(--text);border-radius:2px;transition:all 0.2s}
/* Mobile menu overlay */
#tpg-wrap .mobile-menu{display:none;position:fixed;inset:0;background:rgba(255,255,255,0.98);z-index:9998;flex-direction:column;align-items:center;justify-content:center;gap:2rem}
#tpg-wrap .mobile-menu.open{display:flex}
#tpg-wrap .mobile-menu a{font-size:20px;font-weight:400;color:var(--text);text-decoration:none;letter-spacing:-0.3px}
#tpg-wrap .mobile-menu a:hover{color:var(--blue)}
#tpg-wrap .mobile-menu .mob-close{position:absolute;top:1.25rem;right:2rem;font-size:28px;background:none;border:none;cursor:pointer;color:var(--muted);line-height:1}
#tpg-wrap .mobile-menu .mob-cta{background:var(--text);color:var(--white)!important;padding:12px 28px;border-radius:6px;font-size:16px!important;margin-top:1rem}

/* HERO */
#tpg-wrap .hero{padding:4rem 0 0;border-bottom:1px solid var(--border)}
/* Offset all anchor targets for sticky nav */
#tpg-wrap section[id]{scroll-margin-top:68px}
#tpg-wrap .hero-kicker{display:flex;align-items:center;gap:10px;margin-bottom:1.5rem}
#tpg-wrap .kicker-line{width:28px;height:1.5px;background:var(--blue);flex-shrink:0}
#tpg-wrap .kicker-text{font-size:11px;letter-spacing:1.5px;text-transform:uppercase;color:var(--blue);font-weight:500}
#tpg-wrap .hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:center}
#tpg-wrap .hero h1{font-size:50px;font-weight:500;line-height:1.08;letter-spacing:-1.5px;margin-bottom:1.25rem;color:var(--text);font-family:'Inter',sans-serif}
#tpg-wrap .hero h1 span{color:var(--blue)}
#tpg-wrap .hero-logo{max-width:440px;width:100%;height:auto;display:block;margin-bottom:1.25rem}
#tpg-wrap .hero-sub{font-size:15px;color:var(--muted);line-height:1.75;margin-bottom:2rem;font-weight:300}
#tpg-wrap .hero-btns{display:flex;gap:10px;flex-wrap:wrap}
#tpg-wrap .btn-primary{background:var(--text);color:var(--white);border:1.5px solid var(--text);padding:12px 24px;border-radius:6px;font-family:'Inter',sans-serif;font-size:13px;font-weight:500;cursor:pointer;text-decoration:none;display:inline-block;transition:background 0.15s,border-color 0.15s}
#tpg-wrap .btn-primary:hover{background:var(--blue);border-color:var(--blue);color:var(--white)}
#tpg-wrap .btn-secondary{background:transparent;color:var(--body);border:1.5px solid var(--border);padding:12px 24px;border-radius:6px;font-family:'Inter',sans-serif;font-size:13px;font-weight:400;cursor:pointer;text-decoration:none;display:inline-block;transition:border-color 0.15s}
#tpg-wrap .btn-secondary:hover{border-color:var(--muted);color:var(--text)}
#tpg-wrap .hero-stats{display:flex;flex-direction:column;gap:10px}
#tpg-wrap .stat-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
#tpg-wrap .stat-card{background:var(--off);border:1px solid var(--border-light);border-radius:10px;padding:1.25rem 1.5rem}
#tpg-wrap .stat-wide{background:var(--blue-light);border:1px solid var(--blue-mid);border-radius:10px;padding:1.1rem 1.5rem}
#tpg-wrap .stat-num{font-size:28px;font-weight:500;letter-spacing:-0.5px;color:var(--text);margin-bottom:4px;line-height:1}
#tpg-wrap .stat-wide .stat-num{font-size:19px;color:var(--blue-dark)}
#tpg-wrap .stat-label{font-size:12px;color:var(--muted);line-height:1.4}
#tpg-wrap .stat-wide .stat-label{color:#3B82F6;font-size:11.5px}
#tpg-wrap .cred-strip{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--border);margin-top:3.5rem}
#tpg-wrap .cred-item{padding:1.25rem 0;border-right:1px solid var(--border)}
#tpg-wrap .cred-item:last-child{border-right:none}
#tpg-wrap .cred-n{font-size:13px;font-weight:500;color:var(--text);margin-bottom:3px}
#tpg-wrap .cred-l{font-size:11px;color:var(--muted);line-height:1.4}

/* SHARED */
#tpg-wrap .eyebrow{font-size:10.5px;font-weight:600;letter-spacing:1.8px;text-transform:uppercase;color:var(--blue);margin-bottom:6px}
#tpg-wrap .section-heading{font-size:28px;font-weight:500;letter-spacing:-0.5px;color:var(--text);font-family:'Inter',sans-serif;line-height:1.2}
#tpg-wrap .section-sub{font-size:15px;color:var(--muted);line-height:1.75;font-weight:300;max-width:580px}
#tpg-wrap .two-col{display:grid;grid-template-columns:210px 1fr;gap:4rem;align-items:start}
#tpg-wrap .col-left{position:sticky;top:80px}
#tpg-wrap .col-left .section-heading{font-size:20px;margin-top:8px;line-height:1.3}

/* FRACTIONAL COO */
#tpg-wrap .fcoo-section{padding:5rem 0;border-bottom:1px solid var(--border)}
#tpg-wrap .fcoo-grid{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:start}
#tpg-wrap .fcoo-left h2{font-size:34px;font-weight:500;letter-spacing:-1px;line-height:1.15;color:var(--text);margin-bottom:1rem;font-family:'Inter',sans-serif}
#tpg-wrap .fcoo-left h2 em{font-style:normal;color:var(--blue)}
#tpg-wrap .fcoo-left p{font-size:15px;color:var(--muted);line-height:1.8;font-weight:300;margin-bottom:1rem}
#tpg-wrap .fcoo-models{display:flex;flex-direction:column;gap:10px;margin-top:1.75rem}
#tpg-wrap .fcoo-model{border:1px solid var(--border);border-radius:8px;padding:1.25rem 1.5rem;display:grid;grid-template-columns:auto 1fr;gap:1rem;align-items:start;transition:border-color 0.15s}
#tpg-wrap .fcoo-model:hover{border-color:var(--blue)}
#tpg-wrap .fcoo-model-icon{width:36px;height:36px;border-radius:8px;background:var(--blue-light);display:flex;align-items:center;justify-content:center;flex-shrink:0}
#tpg-wrap .fcoo-model-icon svg{stroke:var(--blue);fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
#tpg-wrap .fcoo-model h4{font-size:13px;font-weight:500;color:var(--text);margin-bottom:4px}
#tpg-wrap .fcoo-model p{font-size:12.5px;color:var(--muted);line-height:1.6;font-weight:300}
#tpg-wrap .fcoo-deliverables{display:flex;flex-direction:column}
#tpg-wrap .fcoo-del{padding:1rem 0;border-bottom:1px solid var(--border);display:grid;grid-template-columns:16px 1fr;gap:12px;align-items:start}
#tpg-wrap .fcoo-del:first-child{border-top:1px solid var(--border)}
#tpg-wrap .fcoo-del-arrow{color:var(--blue);font-size:13px;font-weight:500;padding-top:1px}
#tpg-wrap .fcoo-del-text strong{font-weight:500;color:var(--text);display:block;margin-bottom:3px;font-size:13px}
#tpg-wrap .fcoo-del-text span{font-size:12.5px;color:var(--muted);font-weight:300;line-height:1.6}

/* WHY TPG */
#tpg-wrap .why-section{padding:5rem 0;border-bottom:1px solid var(--border);background:var(--off)}
#tpg-wrap .why-header{margin-bottom:2.5rem}
#tpg-wrap .why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--border);border:1px solid var(--border);border-radius:10px;overflow:hidden}
#tpg-wrap .why-card{background:var(--white);padding:1.75rem;transition:background 0.15s}
#tpg-wrap .why-card:hover{background:var(--blue-light)}
#tpg-wrap .why-num{font-size:11px;font-weight:600;color:var(--blue);letter-spacing:1px;margin-bottom:10px}
#tpg-wrap .why-card h3{font-size:14px;font-weight:500;color:var(--text);margin-bottom:7px;line-height:1.3}
#tpg-wrap .why-card p{font-size:13px;color:var(--muted);line-height:1.65;font-weight:300}

/* EXPERTISE */
#tpg-wrap .expertise{padding:5rem 0;border-bottom:1px solid var(--border)}
#tpg-wrap .exp-list{display:flex;flex-direction:column}
#tpg-wrap .exp-item{display:grid;grid-template-columns:2rem 1fr;gap:1rem;padding:1.75rem 0;border-bottom:1px solid var(--border);align-items:start}
#tpg-wrap .exp-item:first-child{border-top:1px solid var(--border)}
#tpg-wrap .exp-num{font-size:11px;color:var(--subtle);padding-top:3px;letter-spacing:0.3px}
#tpg-wrap .exp-body h3{font-size:15px;font-weight:500;color:var(--text);margin-bottom:6px;letter-spacing:-0.2px;line-height:1.3;font-family:'Inter',sans-serif}
#tpg-wrap .exp-body p{font-size:13.5px;color:var(--muted);line-height:1.7;font-weight:300;margin-bottom:10px}
#tpg-wrap .exp-tags{display:flex;flex-wrap:wrap;gap:5px}
#tpg-wrap .tag{font-size:11px;color:var(--blue-dark);background:var(--blue-light);border:1px solid var(--blue-mid);padding:3px 9px;border-radius:4px;font-weight:400}

/* TIERS */
#tpg-wrap .tiers{background:var(--off);padding:5rem 0;border-bottom:1px solid var(--border)}
#tpg-wrap .tiers-header{margin-bottom:2rem}
#tpg-wrap .tiers-grid{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--border);border:1px solid var(--border);border-radius:10px;overflow:hidden}
#tpg-wrap .tier{background:var(--white);padding:2.25rem}
#tpg-wrap .tier-badge{display:inline-block;font-size:10px;letter-spacing:1.5px;text-transform:uppercase;color:var(--blue-dark);background:var(--blue-light);border:1px solid var(--blue-mid);padding:4px 10px;border-radius:4px;margin-bottom:1.25rem;font-weight:500}
#tpg-wrap .tier h3{font-size:17px;font-weight:500;letter-spacing:-0.3px;color:var(--text);margin-bottom:0.6rem;line-height:1.3;font-family:'Inter',sans-serif}
#tpg-wrap .tier>p{font-size:13.5px;color:var(--muted);line-height:1.7;margin-bottom:1.5rem;font-weight:300}
#tpg-wrap .tier-list{list-style:none;display:flex;flex-direction:column;gap:8px}
#tpg-wrap .tier-list li{font-size:13px;color:var(--body);padding-left:16px;position:relative;line-height:1.5}
#tpg-wrap .tier-list li::before{content:'→';position:absolute;left:0;color:var(--blue);font-size:11px;top:1px}

/* ABOUT / TIMELINE */
#tpg-wrap .about{padding:5rem 0;border-bottom:1px solid var(--border)}
#tpg-wrap .about-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:var(--border);border:1px solid var(--border);border-radius:8px;overflow:hidden;margin-bottom:2rem}
#tpg-wrap .as{background:var(--white);padding:1.1rem 1.25rem}
#tpg-wrap .as-num{font-size:22px;font-weight:500;letter-spacing:-0.5px;color:var(--text);margin-bottom:3px}
#tpg-wrap .as-label{font-size:11px;color:var(--muted)}
#tpg-wrap .about-body p{font-size:14px;color:var(--muted);line-height:1.85;margin-bottom:1rem;font-weight:300}
#tpg-wrap .timeline{display:flex;flex-direction:column;margin:2rem 0;border-left:2px solid var(--border)}
#tpg-wrap .tl-item{display:grid;grid-template-columns:52px 1fr;gap:1rem;padding:0 0 1.75rem 1.5rem;position:relative}
#tpg-wrap .tl-item::before{content:'';position:absolute;left:-6px;top:4px;width:10px;height:10px;border-radius:50%;background:var(--white);border:2px solid var(--blue)}
#tpg-wrap .tl-item:last-child{padding-bottom:0}
#tpg-wrap .tl-item:last-child::before{background:var(--blue)}
#tpg-wrap .tl-year{font-size:12px;font-weight:600;color:var(--blue);padding-top:2px;white-space:nowrap}
#tpg-wrap .tl-title{font-size:13px;font-weight:500;color:var(--text);margin-bottom:3px;line-height:1.3}
#tpg-wrap .tl-desc{font-size:12.5px;color:var(--muted);line-height:1.6;font-weight:300}
#tpg-wrap .platforms{display:flex;flex-wrap:wrap;gap:6px;margin-top:1.5rem}
#tpg-wrap .plat{font-size:11.5px;color:var(--body);background:var(--light);border:1px solid var(--border);padding:4px 11px;border-radius:4px}

/* PRODUCTS */
#tpg-wrap .products{padding:5rem 0;border-bottom:1px solid var(--border);background:var(--off)}
#tpg-wrap .prod-header{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:end;margin-bottom:2rem}
#tpg-wrap .prod-header p{font-size:13.5px;color:var(--muted);line-height:1.7;font-weight:300}
#tpg-wrap .prod-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--border);border-radius:10px;overflow:hidden}
#tpg-wrap .prod-divider{grid-column:span 3;height:1px;background:var(--border)}
#tpg-wrap .prod-card{padding:1.5rem;border-right:1px solid var(--border);display:flex;flex-direction:column;transition:background 0.15s;background:var(--white);text-decoration:none;color:inherit;cursor:pointer}
#tpg-wrap .prod-card:nth-child(3n){border-right:none}
#tpg-wrap .prod-card:hover{background:var(--blue-light)}
#tpg-wrap .prod-card:hover .prod-link{color:var(--blue-dark)}
#tpg-wrap .prod-label{font-size:10px;letter-spacing:1.5px;text-transform:uppercase;color:var(--blue);font-weight:600;margin-bottom:8px}
#tpg-wrap .prod-card h3{font-size:14px;font-weight:500;color:var(--text);margin-bottom:5px;letter-spacing:-0.2px}
#tpg-wrap .prod-card p{font-size:12.5px;color:var(--muted);line-height:1.65;flex:1;margin-bottom:1rem;font-weight:300}
#tpg-wrap .prod-link{font-size:11.5px;color:var(--blue);font-weight:500;text-decoration:none;display:inline-block;transition:color 0.15s}
#tpg-wrap .prod-link:hover{color:var(--blue-dark)}
#tpg-wrap .prod-more{background:var(--light);justify-content:center}

/* CONTACT FORM */
#tpg-wrap .cta-section{padding:5rem 0}
#tpg-wrap .cta-box{border:1px solid var(--border);border-radius:10px;padding:3rem;background:var(--off);display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:start}
#tpg-wrap .cta-left h2{font-size:28px;font-weight:500;letter-spacing:-0.5px;color:var(--text);margin-bottom:8px;font-family:'Inter',sans-serif}
#tpg-wrap .cta-left p{font-size:14px;color:var(--muted);font-weight:300;line-height:1.7;margin-bottom:1rem}
#tpg-wrap .cta-detail{font-size:12px;color:var(--subtle)}
#tpg-wrap .cta-detail a{color:var(--blue);text-decoration:none}
#tpg-wrap .tpg-form{display:flex;flex-direction:column;gap:14px}
#tpg-wrap .form-group{display:flex;flex-direction:column;gap:5px}
#tpg-wrap .form-group label{font-size:12px;font-weight:500;color:var(--body);letter-spacing:0.2px}
#tpg-wrap .form-group input,#tpg-wrap .form-group textarea{font-family:'Inter',sans-serif;font-size:13px;color:var(--text);background:var(--white);border:1px solid var(--border);border-radius:6px;padding:10px 14px;width:100%;transition:border-color 0.15s,box-shadow 0.15s;outline:none;resize:vertical}
#tpg-wrap .form-group input:focus,#tpg-wrap .form-group textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(37,99,235,0.08)}
#tpg-wrap .form-group textarea{min-height:110px;line-height:1.6}
#tpg-wrap .form-hint{font-size:11px;color:var(--subtle)}
#tpg-wrap .form-error{font-size:11px;color:#DC2626;display:none}
#tpg-wrap .char-count{font-size:11px;text-align:right;transition:color 0.15s}
#tpg-wrap .char-count.ok{color:var(--blue)}
#tpg-wrap .char-count.short{color:var(--subtle)}
#tpg-wrap .form-submit{background:var(--text);color:var(--white);border:none;padding:12px 24px;border-radius:6px;font-family:'Inter',sans-serif;font-size:13px;font-weight:500;cursor:pointer;width:100%;transition:background 0.15s}
#tpg-wrap .form-submit:hover{background:var(--blue)}
#tpg-wrap .form-submit:disabled{opacity:0.6;cursor:not-allowed}
#tpg-wrap .form-notice{font-size:13px;padding:12px 16px;border-radius:6px;display:none}
#tpg-wrap .form-notice.success{background:#ECFDF5;color:#065F46;border:1px solid #A7F3D0}
#tpg-wrap .form-notice.error-msg{background:#FEF2F2;color:#991B1B;border:1px solid #FECACA}

/* FOOTER */
#tpg-wrap footer{border-top:1px solid var(--border);padding:1.5rem 0}
#tpg-wrap .footer-inner{max-width:1060px;margin:0 auto;padding:0 2rem;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem}
#tpg-wrap .footer-copy{font-size:12px;color:var(--subtle)}
#tpg-wrap .footer-links{display:flex;gap:2rem;list-style:none}
#tpg-wrap .footer-links a{font-size:12px;color:var(--subtle);text-decoration:none;transition:color 0.15s}
#tpg-wrap .footer-links a:hover{color:var(--text)}

/* TESTIMONIALS */
#tpg-wrap .testimonials{padding:5rem 0;border-bottom:1px solid var(--border);background:var(--off)}
#tpg-wrap .testimonials-header{margin-bottom:2.5rem}
#tpg-wrap .testimonials-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}
#tpg-wrap .testimonial-card{background:var(--white);border:1px solid var(--border);border-radius:10px;padding:2rem;display:flex;flex-direction:column;gap:1rem;transition:border-color 0.15s}
#tpg-wrap .testimonial-card:hover{border-color:#B5D4F4}
#tpg-wrap .testimonial-quote{font-size:14px;color:var(--body);line-height:1.8;font-weight:300;font-style:italic;flex:1;position:relative;padding-left:1.25rem}
#tpg-wrap .testimonial-quote::before{content:'\201C';position:absolute;left:0;top:-4px;font-size:32px;color:var(--blue);font-style:normal;line-height:1;font-weight:500}
#tpg-wrap .testimonial-footer{display:flex;align-items:center;gap:12px;padding-top:1rem;border-top:1px solid var(--border-light)}
#tpg-wrap .testimonial-avatar{width:38px;height:38px;border-radius:50%;background:var(--blue-light);border:1px solid var(--blue-mid);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:500;color:var(--blue-dark);flex-shrink:0;text-transform:uppercase}
#tpg-wrap .testimonial-name{font-size:13px;font-weight:500;color:var(--text);margin-bottom:2px}
#tpg-wrap .testimonial-role{font-size:11.5px;color:var(--muted)}
#tpg-wrap .testimonial-stars{display:flex;gap:3px;margin-left:auto}
#tpg-wrap .testimonial-star{color:#F59E0B;font-size:13px;line-height:1}

/* SYSTEMS SECTION */
#tpg-wrap .systems-section{padding:5rem 0;border-bottom:1px solid var(--border);background:var(--white)}
#tpg-wrap .systems-intro{display:grid;grid-template-columns:1fr 1fr;gap:4rem;align-items:end;margin-bottom:3rem}
#tpg-wrap .systems-intro-left h2{margin-bottom:0.6rem}
#tpg-wrap .systems-intro-right p{font-size:14px;color:var(--muted);line-height:1.75;font-weight:300}

/* flow diagram */
#tpg-wrap .stack-flow{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:0;align-items:stretch;margin-bottom:3rem;border:1px solid var(--border);border-radius:12px;overflow:hidden}
#tpg-wrap .stack-node{background:var(--white);padding:1.75rem 1.5rem;display:flex;flex-direction:column;transition:background 0.15s}
#tpg-wrap .stack-node:hover{background:var(--blue-light)}
#tpg-wrap .stack-arrow{display:flex;align-items:center;justify-content:center;padding:0 0.5rem;background:var(--off);border-left:1px solid var(--border);border-right:1px solid var(--border);color:var(--blue);font-size:18px;font-weight:300;min-width:36px}
#tpg-wrap .stack-platform{display:flex;align-items:center;gap:8px;margin-bottom:10px}
#tpg-wrap .stack-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}
#tpg-wrap .stack-dot.shopify{background:#96BF48}
#tpg-wrap .stack-dot.shipstation{background:#E85A2A}
#tpg-wrap .stack-dot.extensiv{background:#2563EB}
#tpg-wrap .stack-name{font-size:13px;font-weight:500;color:var(--text);letter-spacing:-0.1px}
#tpg-wrap .stack-role{font-size:10px;letter-spacing:1.5px;text-transform:uppercase;color:var(--blue);font-weight:600;margin-bottom:10px}
#tpg-wrap .stack-desc{font-size:12.5px;color:var(--muted);line-height:1.65;font-weight:300;margin-bottom:12px;flex:1}
#tpg-wrap .stack-caps{display:flex;flex-direction:column;gap:4px}
#tpg-wrap .stack-cap{font-size:11.5px;color:var(--body);padding-left:12px;position:relative;line-height:1.4}
#tpg-wrap .stack-cap::before{content:'·';position:absolute;left:2px;color:var(--blue)}

/* system deep dives */
#tpg-wrap .systems-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--border);border:1px solid var(--border);border-radius:10px;overflow:hidden}
#tpg-wrap .sys-card{background:var(--white);padding:1.75rem;transition:background 0.15s}
#tpg-wrap .sys-card:hover{background:var(--off)}
#tpg-wrap .sys-header{display:flex;align-items:center;gap:10px;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid var(--border)}
#tpg-wrap .sys-icon{width:34px;height:34px;border-radius:7px;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:13px;font-weight:700;letter-spacing:-0.5px}
#tpg-wrap .sys-icon.wms{background:#EEF2F8;color:#2563EB}
#tpg-wrap .sys-icon.oms{background:#FFF7ED;color:#C2410C}
#tpg-wrap .sys-icon.ims{background:#F0FDF4;color:#15803D}
#tpg-wrap .sys-card h3{font-size:14px;font-weight:500;color:var(--text);line-height:1.3}
#tpg-wrap .sys-card h3 small{display:block;font-size:10px;font-weight:400;color:var(--subtle);letter-spacing:0.5px;margin-top:2px;text-transform:uppercase}
#tpg-wrap .sys-card p{font-size:13px;color:var(--muted);line-height:1.65;font-weight:300;margin-bottom:1rem}
#tpg-wrap .sys-bullets{list-style:none;display:flex;flex-direction:column;gap:6px}
#tpg-wrap .sys-bullets li{font-size:12.5px;color:var(--body);padding-left:14px;position:relative;line-height:1.5}
#tpg-wrap .sys-bullets li::before{content:'→';position:absolute;left:0;color:var(--blue);font-size:10px;top:2px}
#tpg-wrap .sys-platforms{display:flex;flex-wrap:wrap;gap:5px;margin-top:1.1rem;padding-top:1rem;border-top:1px solid var(--border)}
#tpg-wrap .sys-plat{font-size:10.5px;color:var(--blue-dark);background:var(--blue-light);border:1px solid var(--blue-mid);padding:2px 8px;border-radius:3px;font-weight:500}

/* ── RESPONSIVE ── */

/* Large desktop: trim nav gap slightly */
@media (max-width:1100px){
  #tpg-wrap .nav-links{gap:1.1rem}
  #tpg-wrap .nav-links a{font-size:12px}
}

/* Tablet / small laptop — collapse nav to hamburger */
@media (max-width:860px){
  #tpg-wrap .nav-links{display:none}
  #tpg-wrap .nav-hamburger{display:flex}

  #tpg-wrap .hero{padding:3rem 0 0}
  #tpg-wrap .hero-grid{grid-template-columns:1fr;gap:2.5rem}
  #tpg-wrap .hero h1{font-size:38px;letter-spacing:-1px}
  #tpg-wrap .hero-logo{max-width:360px}
  #tpg-wrap .hero-btns{flex-direction:column;align-items:flex-start}
  #tpg-wrap .btn-primary,#tpg-wrap .btn-secondary{width:100%;text-align:center;display:block}

  #tpg-wrap .stat-row{grid-template-columns:1fr 1fr}
  #tpg-wrap .cred-strip{grid-template-columns:repeat(2,1fr)}
  #tpg-wrap .cred-item:nth-child(2){border-right:none}
  #tpg-wrap .cred-item:nth-child(3){border-top:1px solid var(--border)}

  #tpg-wrap .fcoo-grid{grid-template-columns:1fr;gap:2.5rem}
  #tpg-wrap .fcoo-left h2{font-size:26px}

  #tpg-wrap .why-grid{grid-template-columns:1fr 1fr}

  #tpg-wrap .testimonials-grid{grid-template-columns:1fr}
  #tpg-wrap .systems-intro{grid-template-columns:1fr;gap:1rem}
  #tpg-wrap .stack-flow{grid-template-columns:1fr}
  #tpg-wrap .stack-arrow{display:none}
  #tpg-wrap .stack-node{border-bottom:1px solid var(--border)}
  #tpg-wrap .stack-node:last-child{border-bottom:none}
  #tpg-wrap .systems-grid{grid-template-columns:1fr}

  #tpg-wrap .two-col{grid-template-columns:1fr;gap:2rem}
  #tpg-wrap .col-left{position:static}

  #tpg-wrap .tiers-grid{grid-template-columns:1fr}

  #tpg-wrap .prod-grid{grid-template-columns:1fr 1fr}
  #tpg-wrap .prod-card:nth-child(2n){border-right:none}
  #tpg-wrap .prod-card{border-bottom:1px solid var(--border)}
  #tpg-wrap .prod-divider{display:none}
  #tpg-wrap .prod-header{grid-template-columns:1fr;gap:1rem}

  #tpg-wrap .cta-box{grid-template-columns:1fr}
  #tpg-wrap .cta-left{padding-bottom:0}

  #tpg-wrap .about-stats{grid-template-columns:repeat(2,1fr)}

  #tpg-wrap .footer-inner{flex-direction:column;align-items:flex-start;gap:1.25rem}
  #tpg-wrap .footer-links{flex-wrap:wrap;gap:1rem}
}

/* Mobile — single column everything */
@media (max-width:540px){
  #tpg-wrap .container{padding:0 1.25rem}
  #tpg-wrap nav{padding:0 1.25rem}
  #tpg-wrap .footer-inner{padding:0 1.25rem}

  #tpg-wrap .hero{padding:2.5rem 0 0}
  #tpg-wrap .hero h1{font-size:32px;letter-spacing:-0.8px}
  #tpg-wrap .hero-logo{max-width:300px}
  #tpg-wrap .section-heading{font-size:22px}

  #tpg-wrap .stat-row{grid-template-columns:1fr}
  #tpg-wrap .cred-strip{grid-template-columns:1fr}
  #tpg-wrap .cred-item{border-right:none;border-bottom:1px solid var(--border)}
  #tpg-wrap .cred-item:last-child{border-bottom:none}

  #tpg-wrap .why-grid{grid-template-columns:1fr}

  #tpg-wrap .prod-grid{grid-template-columns:1fr}
  #tpg-wrap .prod-card{border-right:none!important}

  #tpg-wrap .about-stats{grid-template-columns:1fr 1fr}

  #tpg-wrap .tiers-grid{grid-template-columns:1fr}

  #tpg-wrap .fcoo-model{grid-template-columns:1fr}
  #tpg-wrap .fcoo-model-icon{display:none}

  #tpg-wrap .fcoo-section,
  #tpg-wrap .why-section,
  #tpg-wrap .systems-section,
  #tpg-wrap .expertise,
  #tpg-wrap .tiers,
  #tpg-wrap .products,
  #tpg-wrap .about,
  #tpg-wrap .cta-section{padding:3rem 0}

  #tpg-wrap .cta-box{padding:1.75rem 1.25rem}
  #tpg-wrap .tier{padding:1.5rem}
  #tpg-wrap .why-card{padding:1.25rem}

  #tpg-wrap .footer-links{gap:0.75rem}
}

/* ── v7: PAGE HEADER (inner pages) ───────────────────────────── */
#tpg-wrap .page-hero{padding:3.5rem 0 2.5rem;border-bottom:1px solid var(--border);background:var(--off)}
#tpg-wrap .page-hero-inner{display:flex;flex-direction:column;gap:0.6rem;max-width:760px}
#tpg-wrap .page-hero h1{font-size:38px;font-weight:500;letter-spacing:-1px;line-height:1.1;color:var(--text);font-family:'Inter',sans-serif}
#tpg-wrap .page-hero h1 em{font-style:normal;color:var(--blue)}
#tpg-wrap .page-hero p{font-size:15px;color:var(--muted);line-height:1.75;font-weight:300}
#tpg-wrap .crumbs{display:flex;gap:6px;align-items:center;font-size:11px;letter-spacing:0.5px;color:var(--subtle);margin-bottom:4px;text-transform:uppercase}
#tpg-wrap .crumbs a{color:var(--muted);text-decoration:none}
#tpg-wrap .crumbs a:hover{color:var(--blue)}
#tpg-wrap .crumbs-sep{opacity:0.4}

@media (max-width:540px){
  #tpg-wrap .page-hero{padding:2.5rem 0 1.75rem}
  #tpg-wrap .page-hero h1{font-size:28px;letter-spacing:-0.7px}
}

/* ── v7: HOMEPAGE SERVICE CARDS GRID (links to inner pages) ───── */
#tpg-wrap .nav-cards-section{padding:5rem 0;border-bottom:1px solid var(--border)}
#tpg-wrap .nav-cards-header{margin-bottom:2.5rem;max-width:680px}
#tpg-wrap .nav-cards-header h2{margin-bottom:0.5rem}
#tpg-wrap .nav-cards-header p{font-size:14px;color:var(--muted);line-height:1.75;font-weight:300}
#tpg-wrap .nav-cards-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--border);border:1px solid var(--border);border-radius:10px;overflow:hidden}
#tpg-wrap .nav-card{background:var(--white);padding:1.75rem;text-decoration:none;display:flex;flex-direction:column;transition:background 0.15s;min-height:180px}
#tpg-wrap .nav-card:hover{background:var(--blue-light)}
#tpg-wrap .nav-card-eyebrow{font-size:10px;letter-spacing:1.5px;text-transform:uppercase;color:var(--blue);font-weight:600;margin-bottom:10px}
#tpg-wrap .nav-card h3{font-size:16px;font-weight:500;color:var(--text);margin-bottom:8px;line-height:1.3;letter-spacing:-0.2px}
#tpg-wrap .nav-card p{font-size:13px;color:var(--muted);line-height:1.65;font-weight:300;flex:1;margin-bottom:12px}
#tpg-wrap .nav-card-arrow{font-size:12px;color:var(--blue);font-weight:500}

@media (max-width:860px){
  #tpg-wrap .nav-cards-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:540px){
  #tpg-wrap .nav-cards-grid{grid-template-columns:1fr}
  #tpg-wrap .nav-cards-section{padding:3rem 0}
}

/* ── v7: NARROW TEXT CONTENT (history page) ───────────────────── */
#tpg-wrap .narrow{max-width:760px;margin:0 auto}
#tpg-wrap .page-body{padding:4rem 0;border-bottom:1px solid var(--border)}
#tpg-wrap .page-body p{font-size:14.5px;color:var(--muted);line-height:1.85;margin-bottom:1rem;font-weight:300}
#tpg-wrap .page-body h2{font-size:22px;font-weight:500;letter-spacing:-0.4px;color:var(--text);margin:2rem 0 1rem;line-height:1.3;font-family:'Inter',sans-serif}
#tpg-wrap .page-body h2:first-child{margin-top:0}

@media (max-width:540px){
  #tpg-wrap .page-body{padding:2.5rem 0}
}

/* ── v7: Active nav link ──────────────────────────────────────── */
#tpg-wrap .nav-links a.active,
#tpg-wrap .mobile-menu a.active{color:var(--blue)}
