/* DeeTek retained refresh: typography and Products & Ventures portfolio only. */
:root{
  --font-primary:"Segoe UI",SegoeUI,-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  --font-secondary:"Trebuchet MS","Segoe UI",Arial,sans-serif;
  --refresh-navy:#071d3a;
  --refresh-blue:#0f5bd8;
  --refresh-pale:#eef4ff;
  --refresh-line:#d9e3f0;
}

body{font-family:var(--font-primary);font-weight:400}
h1,h2{font-family:var(--font-secondary);font-weight:500;letter-spacing:-.045em}
h3,.button,nav a,.eyebrow{font-family:var(--font-primary)}

/* Products & Ventures: closely follows the supplied sample's hierarchy. */
.venture-sample-section{padding-top:92px}
.venture-sample-heading{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,.6fr);gap:70px;align-items:end;margin-bottom:28px}
.venture-sample-heading h2{margin:0;font-size:clamp(40px,4vw,60px);max-width:770px}
.venture-sample-heading>p{max-width:320px;margin:0 0 8px;line-height:1.75}
.venture-sample-filters{margin:32px 0 14px;gap:10px}
.venture-sample-filters button{border-radius:999px;padding:12px 21px;border:1px solid var(--refresh-line);background:#fff;color:var(--refresh-navy);font-weight:600;transition:.18s ease}
.venture-sample-filters button:hover{border-color:#9bb6dc;transform:translateY(-1px)}
.venture-sample-filters button.active{background:var(--refresh-blue);border-color:var(--refresh-blue);color:#fff;box-shadow:0 8px 20px rgba(15,91,216,.16)}
.venture-count{font-size:14px;margin:0 0 28px;color:#6a788c}
.venture-sample-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.product-sample-card{border:1px solid var(--refresh-line);border-radius:24px;background:#fff;padding:28px;min-width:0;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.product-sample-card:hover{transform:translateY(-4px);border-color:#b8cbe5;box-shadow:0 20px 45px rgba(7,29,58,.08)}
.product-sample-card[hidden]{display:none}
.product-card-top{display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;min-height:66px;margin-bottom:18px}
.product-number{font-family:var(--font-secondary);font-size:24px;color:#a8b7cb;font-weight:500}
.product-category{font-size:13px;color:#66788f}
.product-brand{justify-self:end;display:flex;align-items:center;justify-content:flex-end;width:125px;height:58px;overflow:hidden}
.product-brand img{max-width:100%;max-height:52px;width:auto;height:auto;object-fit:contain;display:block}
.product-brand.external-logo>span{display:none;font-size:12px;font-weight:800;letter-spacing:.05em;text-align:right;color:var(--refresh-navy)}
.product-brand.external-logo>span.logo-fallback-visible{display:block}
.product-brand-deetek{width:140px}.product-brand-deetek img{max-height:56px}
.product-preview-frame{position:relative;background:#f1f5fb;border-radius:14px;padding:14px 14px 38px;margin-bottom:28px;overflow:hidden}
.product-preview-frame>img{display:block;width:100%;height:270px;object-fit:contain;object-position:center;background:#fff;border-radius:8px}
.product-preview-frame small{position:absolute;left:16px;bottom:11px;font-size:12px;color:#6a7b91}
.preview-open{position:absolute;top:24px;right:24px;border:1px solid #dbe6f5;background:rgba(255,255,255,.94);color:var(--refresh-blue);font:600 13px var(--font-primary);padding:10px 15px;border-radius:999px;box-shadow:0 8px 22px rgba(7,29,58,.08);cursor:pointer;transition:.18s}
.preview-open:hover{background:var(--refresh-blue);color:#fff;border-color:var(--refresh-blue);transform:translateY(-1px)}
.product-card-copy h3{font-family:var(--font-secondary);font-size:29px;font-weight:500;margin-bottom:12px}
.product-card-copy p{font-size:15.5px;line-height:1.75;min-height:82px;margin-bottom:20px}
.product-tags{display:flex;flex-wrap:wrap;gap:8px;padding-bottom:20px;border-bottom:1px solid #e8eef6}
.product-tags span{font-size:11px;padding:7px 10px;border-radius:6px;background:#edf4ff;color:#45617e}
.product-tags-red span{background:#fff0f0;color:#ad4a4a}
.product-tags-green span{background:#edf8ef;color:#3c7448}
.product-about{border-bottom:1px solid #e8eef6}
.product-about-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px 0;border:0;background:transparent;color:var(--refresh-navy);font:600 13px var(--font-primary);cursor:pointer;text-align:left}
.product-about-toggle .plus{font-size:21px;line-height:1;color:var(--refresh-blue);transition:transform .2s ease}
.product-about.open .product-about-toggle .plus{transform:rotate(45deg)}
.product-about-panel{display:grid;grid-template-rows:0fr;transition:grid-template-rows .25s ease}
.product-about-panel>p{overflow:hidden;margin:0;color:#607288;font-size:14px;line-height:1.7}
.product-about.open .product-about-panel{grid-template-rows:1fr}
.product-about.open .product-about-panel>p{padding:0 0 18px}
.product-cta{margin-top:22px;border-radius:999px;padding:12px 21px}
.portfolio-starting-point{display:flex;align-items:center;justify-content:space-between;gap:40px;background:#eaf1fc;border-radius:26px;margin-top:72px;margin-bottom:84px;padding:58px 52px!important}
.portfolio-starting-point h2{font-size:clamp(36px,3.6vw,52px);margin:0 0 16px}
.portfolio-starting-point p{margin:0;max-width:690px}
.portfolio-starting-point .button{border-radius:999px;white-space:nowrap}
.venture-preview-dialog{width:min(1000px,90vw);max-width:none;padding:58px 28px 28px;border:0;border-radius:24px;box-shadow:0 35px 90px rgba(2,18,43,.25);overflow:visible}
.venture-preview-dialog::backdrop{background:rgba(7,29,58,.74);backdrop-filter:blur(4px)}
.venture-preview-dialog h2{font-size:26px;margin:0 50px 22px 0}
.venture-preview-dialog img{display:block;width:100%;max-height:72vh;object-fit:contain;background:#f3f6fb;border-radius:14px}
.venture-preview-dialog .preview-close{position:absolute;right:18px;top:16px;width:38px;height:38px;border:0;border-radius:50%;background:#edf3fb;color:var(--refresh-navy);font-size:25px;cursor:pointer}
.filter-pop{animation:venturePop .28s ease}
@keyframes venturePop{from{opacity:.25;transform:translateY(8px)}to{opacity:1;transform:none}}

@media(max-width:900px){
  .venture-sample-heading{grid-template-columns:1fr;gap:18px}.venture-sample-heading>p{max-width:620px}
  .venture-sample-grid{grid-template-columns:1fr}
  .product-card-copy p{min-height:0}
}
@media(max-width:620px){
  .venture-sample-section{padding-top:62px}
  .venture-sample-filters{display:grid;grid-template-columns:1fr 1fr}.venture-sample-filters button{width:100%;padding:11px 13px}
  .product-sample-card{padding:19px;border-radius:18px}
  .product-card-top{grid-template-columns:auto 1fr;gap:10px}.product-brand{grid-column:1/-1;justify-self:start;width:130px;height:48px}
  .product-preview-frame>img{height:220px}
  .preview-open{top:22px;right:22px}
  .product-card-copy h3{font-size:25px}
  .portfolio-starting-point{flex-direction:column;align-items:flex-start;padding:42px 24px!important;border-radius:0;margin-inline:-22px}
}

/* Real product previews: ERP/POS uses the supplied DeeTek image; public ventures use live embeds. */
.product-preview-frame{min-height:322px}
.product-preview-frame>.erp-pos-preview-image{display:block;width:100%;height:270px;object-fit:cover;object-position:center;background:#fff;border-radius:8px}
.live-preview-shell{height:270px;background:#fff;border-radius:8px;overflow:hidden;border:1px solid #e2e9f3;position:relative}
.live-product-preview{display:block;width:100%;height:100%;border:0;background:#fff}
.venture-preview-stage{width:100%;height:min(70vh,720px);border-radius:14px;overflow:hidden;background:#f3f6fb;border:1px solid #e0e8f3}
.venture-preview-stage>img{width:100%;height:100%;max-height:none;object-fit:contain;background:#f3f6fb;border-radius:0}
.venture-preview-stage>iframe{display:block;width:100%;height:100%;border:0;background:#fff}
.live-preview-note{font-size:13px;margin:14px 0 0;color:#6a788c}
.preview-site-link{margin-top:14px;border-radius:999px}
.venture-preview-dialog [hidden]{display:none!important}
@media(max-width:620px){
  .product-preview-frame{min-height:272px}
  .product-preview-frame>.erp-pos-preview-image,.live-preview-shell{height:220px}
  .venture-preview-stage{height:66vh}
}
