/* Nesscom Help Center — shared styles (matches nesscom-redesign.html design system) */
:root{
  --charcoal:#212121;
  --charcoal-2:#2a2a2a;
  --paper:#ffffff;
  --paper-2:#f7f6f5;
  --line:#ecebe9;
  --muted:#6b6b6b;
  --muted-2:#8c8c8c;
  --accent:#cb0b0b;
  --accent-dark:#a50808;
  --accent-tint:#f2f1f0;
  --radius:20px;
  --radius-sm:14px;
  --maxw:1160px;
  --maxw-article:760px;
  --shadow-sm:0 2px 10px rgba(20,20,20,0.06);
  --shadow-md:0 12px 30px rgba(20,20,20,0.09);
  --shadow-lg:0 26px 56px rgba(20,20,20,0.14);
  --shadow-float:
    0 1px 2px rgba(20,20,20,0.03),
    0 6px 14px rgba(20,20,20,0.04),
    0 20px 34px rgba(20,20,20,0.055);
}
*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  color:#1c1c1c;background:var(--paper);line-height:1.65;-webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 28px;}
h1,h2,h3,h4{font-weight:700;letter-spacing:-0.02em;color:#171717;}

/* HEADER */
.help-header{background:var(--charcoal);}
.help-header .nav{
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  padding:18px 0;max-width:var(--maxw);margin:0 auto;padding-left:28px;padding-right:28px;
}
.help-header .logo-img{height:38px;width:auto;display:block;}
.help-crumbs{display:flex;align-items:center;gap:8px;font-size:13.5px;color:#b8b8b8;flex-wrap:wrap;}
.help-crumbs a{color:#d8d8d8;transition:color .2s ease;}
.help-crumbs a:hover{color:#fff;}
.help-crumbs .sep{color:#5a5a5a;}
.help-back{
  font-size:13px;font-weight:600;color:#c9c9c9;border:1px solid rgba(255,255,255,0.18);
  padding:8px 16px;border-radius:100px;transition:border-color .2s ease, color .2s ease;
  white-space:nowrap;
}
.help-back:hover{color:#fff;border-color:rgba(255,255,255,0.4);}

/* HERO / INTRO */
.help-hero{background:var(--charcoal);color:#fff;padding:56px 0 68px;}
.help-hero .eyebrow{
  font-size:12.5px;font-weight:600;letter-spacing:0.14em;text-transform:uppercase;color:var(--accent);
  margin-bottom:14px;display:inline-flex;align-items:center;gap:8px;
}
.help-hero .eyebrow::before{content:"+";font-size:15px;}
.help-hero h1{font-size:36px;color:#fff;margin-bottom:12px;}
.help-hero p{color:#b8b8b8;font-size:16px;max-width:560px;margin-bottom:28px;}
.help-search{
  display:flex;align-items:center;gap:10px;background:#fff;border-radius:100px;
  padding:6px 6px 6px 20px;max-width:480px;box-shadow:var(--shadow-lg);
}
.help-search input{
  flex:1;border:none;outline:none;font-family:inherit;font-size:14.5px;background:none;padding:10px 0;color:#1c1c1c;
}
.help-search input::placeholder{color:var(--muted-2);}
.help-search .go{
  background:var(--accent);color:#fff;border:none;border-radius:100px;
  width:38px;height:38px;flex-shrink:0;display:flex;align-items:center;justify-content:center;
  font-size:16px;cursor:default;
}

/* PRODUCT SECTIONS */
.help-main{padding:56px 0 100px;}
.product-section{margin-bottom:56px;}
.product-head{display:flex;align-items:center;gap:14px;margin-bottom:24px;}
.product-icon{
  width:44px;height:44px;border-radius:12px;background:var(--accent-tint);color:var(--accent-dark);
  display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0;
}
.product-head h2{font-size:22px;}
.product-head span{display:block;font-size:13.5px;color:var(--muted);font-weight:500;margin-top:2px;}

.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;}
.article-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-sm);
  padding:22px 22px 20px;box-shadow:var(--shadow-sm);transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
a.article-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);border-color:var(--line);}
.article-card .tag{
  display:inline-block;font-size:11px;font-weight:700;letter-spacing:0.06em;text-transform:uppercase;
  color:var(--accent-dark);background:var(--accent-tint);padding:4px 10px;border-radius:100px;margin-bottom:12px;
}
.article-card h3{font-size:16px;margin-bottom:8px;line-height:1.4;}
.article-card p{font-size:13.5px;color:var(--muted);line-height:1.55;}
.article-card .meta{display:flex;align-items:center;gap:6px;margin-top:16px;font-size:12.5px;font-weight:600;color:var(--accent-dark);}

.article-card.is-soon{opacity:0.55;cursor:default;}
.article-card.is-soon .tag{background:var(--paper-2);color:var(--muted-2);}
.article-card.is-soon:hover{transform:none;box-shadow:var(--shadow-sm);}

@media (max-width:900px){ .article-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width:620px){ .article-grid{grid-template-columns:1fr;} }

.help-footer{border-top:1px solid var(--line);padding:28px 0;color:var(--muted-2);font-size:13px;}
.help-footer .wrap{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;}
.help-footer a{color:var(--accent-dark);font-weight:600;}

/* ARTICLE PAGE */
.article-hero{background:var(--charcoal);color:#fff;padding:40px 0 44px;}
.article-hero .tag{
  display:inline-block;font-size:11px;font-weight:700;letter-spacing:0.06em;text-transform:uppercase;
  color:var(--accent);background:rgba(203,11,11,0.14);padding:4px 10px;border-radius:100px;margin-bottom:14px;
}
.article-hero h1{color:#fff;font-size:28px;max-width:640px;}
.article-hero p{color:#b8b8b8;font-size:15px;margin-top:10px;max-width:600px;}

.article-body{max-width:var(--maxw-article);margin:0 auto;padding:48px 28px 100px;}
.article-body h2{font-size:20px;margin:40px 0 14px;}
.article-body h2:first-child{margin-top:0;}
.article-body h3{font-size:15px;margin:22px 0 4px;color:#171717;}
.article-body .steps h3{margin-top:0;}
.sub-steps{list-style:none;counter-reset:substep;margin:10px 0 0;}
.sub-steps > li{counter-increment:substep;position:relative;padding-left:30px;margin-bottom:10px;font-size:14.5px;color:#333;}
.sub-steps > li::before{
  content:counter(substep);position:absolute;left:0;top:0;
  width:19px;height:19px;border-radius:50%;background:var(--paper-2);border:1px solid var(--line);color:#555;
  font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;
}
.article-body p{color:#333;font-size:15.5px;margin-bottom:14px;}
.article-body a{color:var(--accent-dark);font-weight:600;text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:2px;}
.article-body a:hover{text-decoration-color:var(--accent-dark);}
.article-body code{background:var(--paper-2);border:1px solid var(--line);border-radius:5px;padding:2px 6px;font-size:13.5px;font-family:'SFMono-Regular',Consolas,Menlo,monospace;color:#171717;}

.callout{
  background:var(--paper-2);border:1px solid var(--line);border-radius:var(--radius-sm);
  padding:16px 20px;font-size:14px;color:#333;margin:20px 0;display:flex;gap:12px;align-items:flex-start;
}
.callout .ic{font-size:16px;flex-shrink:0;margin-top:1px;}
.callout strong{color:#171717;}

.steps{list-style:none;counter-reset:step;}
.steps > li{
  counter-increment:step;position:relative;padding-left:40px;margin-bottom:28px;
}
.steps > li::before{
  content:counter(step);position:absolute;left:0;top:1px;
  width:26px;height:26px;border-radius:50%;background:var(--accent);color:#fff;
  font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:center;
}
.steps > li p{color:#333;font-size:15px;margin-bottom:12px;}
.steps > li p:last-child{margin-bottom:0;}
/* Each screenshot renders at its own natural size (never upscaled, only shrunk
   to fit the column) so sharpness depends on the source image, not a shared box. */
.step-shot{
  display:inline-block;border:1px solid var(--line);border-radius:var(--radius-sm);overflow:hidden;
  box-shadow:var(--shadow-sm);margin-top:10px;max-width:100%;
}
.step-shot img{display:block;max-width:100%;height:auto;}

.article-cta{
  background:var(--accent-tint);border-radius:var(--radius-sm);padding:24px 26px;margin-top:44px;
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;
}
.article-cta div strong{display:block;font-size:15px;color:#171717;margin-bottom:3px;}
.article-cta div span{font-size:13.5px;color:#7a615d;}
.article-body a.btn-primary,
a.btn-primary{
  background:linear-gradient(135deg,var(--accent),var(--accent-dark));color:#fff !important;
  padding:11px 20px;border-radius:100px;font-size:13.5px;font-weight:600;white-space:nowrap;
  box-shadow:0 10px 26px rgba(203,11,11,0.3);
  text-decoration:none;display:inline-block;
}

@media (max-width:640px){
  .help-hero h1{font-size:27px;}
  .article-hero h1{font-size:23px;}
  .article-body{padding:36px 20px 72px;}
  .help-header .nav{padding-left:20px;padding-right:20px;}
}
