/* ===========================================================
   Nirmaanpro — shared stylesheet
   Visual identity: a civil engineer's drafting sheet, not a
   generic SaaS template. Warm paper background, blueprint-blue
   rules with ruler ticks, amber used only for action. Headings
   in Space Grotesk (technical/geometric), body in Inter, numbers
   and prices in JetBrains Mono (a measurement/quantity feel).
   =========================================================== */

:root{
  --paper:#f6f3ec;
  --paper-line:#e4ddc9;
  --ink:#182634;
  --ink-soft:#5b6b7c;
  --navy:#0f2740;
  --navy-deep:#0a1b2e;
  --blue:#3f6f96;
  --blue-soft:#c7dced;
  --amber:#f5b642;
  --amber-deep:#c98a1e;
  --line: 1px solid var(--paper-line);
  --maxw: 1080px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; background:var(--paper); color:var(--ink);
  font-family:'Inter',system-ui,sans-serif; font-size:16px; line-height:1.55;
  background-image:
    linear-gradient(var(--paper-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--paper-line) 1px, transparent 1px);
  background-size:34px 34px;
  background-position:-1px -1px;
}
h1,h2,h3,h4{
  font-family:'Space Grotesk',system-ui,sans-serif; color:var(--navy);
  margin:0 0 .4em; font-weight:600; letter-spacing:-.01em;
}
.num, .price, .stat{ font-family:'JetBrains Mono',monospace; }
p{max-width:62ch}
a{color:var(--blue)}
img,svg{display:block;max-width:100%}

.wrap{max-width:var(--maxw); margin:0 auto; padding:0 28px}

/* ---------- ruler-style section divider ---------- */
.ruler{
  position:relative; height:14px; margin:0 auto; max-width:var(--maxw);
  background-image: repeating-linear-gradient(90deg, var(--blue) 0 1px, transparent 1px 24px);
  background-position: left center; background-repeat:repeat-x; background-size:auto 8px;
  opacity:.55;
}

/* ---------- corner-bracket frame (blueprint crop marks) ---------- */
.blueprint-frame{ position:relative; padding:26px; }
.blueprint-frame::before, .blueprint-frame::after,
.blueprint-frame .bf-tr, .blueprint-frame .bf-br{
  content:""; position:absolute; width:16px; height:16px; border:2px solid var(--blue);
}
.blueprint-frame::before{ top:8px; left:8px; border-right:0; border-bottom:0; }
.blueprint-frame::after{ bottom:8px; left:8px; border-right:0; border-top:0; }
.blueprint-frame .bf-tr{ top:8px; right:8px; border-left:0; border-bottom:0; }
.blueprint-frame .bf-br{ bottom:8px; right:8px; border-left:0; border-top:0; }

/* ---------- nav ---------- */
header.site{
  background:var(--navy); color:#fff; position:sticky; top:0; z-index:40;
  border-bottom:3px solid var(--amber);
}
header.site .wrap{ display:flex; align-items:center; justify-content:space-between; gap:24px; padding:14px 28px; }
.brand{ display:flex; align-items:center; gap:12px; text-decoration:none; color:#fff; flex-shrink:0; }
.brand .mark{ width:34px; height:34px; border-radius:8px; }
.brand .word{ font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:19px; letter-spacing:-.01em; white-space:nowrap; }
.brand .word b{ color:var(--amber); font-weight:600 }
nav.links{ display:flex; gap:20px; align-items:center; flex-wrap:wrap; justify-content:flex-end; row-gap:8px; }
nav.links a{ color:#dce8f2; text-decoration:none; font-size:14.5px; font-weight:500; white-space:nowrap; }
nav.links a:hover{ color:#fff }
nav.links a.cta{
  background:var(--amber); color:var(--navy-deep); padding:8px 16px; border-radius:6px; font-weight:700;
}

/* ---------- hero ---------- */
.hero{ padding:64px 0 40px; }
.hero .wrap{ display:grid; grid-template-columns:1.1fr .9fr; gap:48px; align-items:center; }
.hero h1{ font-size:clamp(30px,4vw,44px); line-height:1.08; margin-bottom:18px; }
.hero p.lede{ font-size:18px; color:var(--ink-soft); max-width:46ch; margin-bottom:26px; }
.hero .actions{ display:flex; gap:14px; flex-wrap:wrap; }

.btn{
  display:inline-flex; align-items:center; gap:8px; padding:12px 22px; border-radius:6px;
  font-weight:700; text-decoration:none; font-size:15px; border:2px solid transparent; cursor:pointer;
}
.btn-amber{ background:var(--amber); color:var(--navy-deep); }
.btn-amber:hover{ background:var(--amber-deep); }
.btn-outline{ border-color:var(--navy); color:var(--navy); background:transparent; }
.btn-outline:hover{ background:var(--navy); color:#fff; }

/* ---------- sections ---------- */
section{ padding:56px 0; }
.section-head{ max-width:64ch; margin-bottom:34px; }
.section-head .kicker{ color:var(--blue); font-weight:600; font-size:14.5px; margin-bottom:6px; }

.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.feature{ background:#fffdf7; border:var(--line); border-left:4px solid var(--blue); padding:24px 26px; border-radius:2px; }
.feature h3{ font-size:19px; margin-bottom:8px; }
.feature p{ color:var(--ink-soft); margin:0; font-size:15px; }

/* ---------- tool cards ---------- */
.tool-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:22px; }
.tool-card{ background:#fffdf7; border:var(--line); text-decoration:none; color:inherit; display:block; }
.tool-card h3{ font-size:18px; margin-bottom:6px; color:var(--navy); }
.tool-card p{ color:var(--ink-soft); font-size:14.5px; margin:0 0 14px; }
.tool-card .tag{
  display:inline-block; font-size:12.5px; font-weight:700; padding:3px 10px; border-radius:20px;
  background:var(--blue-soft); color:var(--navy); margin-bottom:12px;
}
.tool-card .go{ color:var(--blue); font-weight:700; font-size:14.5px; }

/* ---------- BOQ-style product list (shop) ---------- */
.boq{ border:var(--line); background:#fffdf7; }
.boq-head, .boq-row{
  display:grid; grid-template-columns:52px 1fr 120px 140px; gap:16px; align-items:center;
  padding:16px 20px; border-bottom:var(--line);
}
.boq-head{ background:var(--navy); color:#fff; font-size:13px; font-weight:700; letter-spacing:.02em; }
.boq-row:last-child{ border-bottom:0; }
.boq-row .item-no{ color:var(--blue); font-weight:700; }
.boq-row h4{ margin:0 0 3px; font-size:16.5px; color:var(--navy); }
.boq-row .desc{ color:var(--ink-soft); font-size:14px; }
.boq-row .price{ font-weight:700; font-size:16px; }
.boq-row .buy{ text-align:right; display:flex; flex-direction:column; gap:6px; align-items:flex-end }
.boq-row .buy .btn{ padding:8px 14px; font-size:13.5px; width:100%; text-align:center }

/* ---------- footer ---------- */
footer.site{ background:var(--navy-deep); color:#a9bccb; padding:40px 0 28px; margin-top:40px; }
footer.site .wrap{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:20px; font-size:14px; }
footer.site a{ color:#cfe0ec; }
footer.site .cols{ display:flex; gap:56px; flex-wrap:wrap; }
footer.site h5{ color:#fff; font-size:13px; text-transform:none; margin:0 0 10px; font-family:'Space Grotesk',sans-serif; }
footer.site ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:8px; }

@media (max-width:820px){
  .hero .wrap{ grid-template-columns:1fr; }
  .two-col{ grid-template-columns:1fr; }
  .boq-head, .boq-row{ grid-template-columns:36px 1fr 90px; }
  .boq-head span:nth-child(4), .boq-row .price{ display:none; }
  nav.links{ display:none }
}

/* ---------- blog ---------- */
.post-card{ background:#fffdf7; border:var(--line); text-decoration:none; color:inherit; display:block; padding:22px 24px; margin-bottom:16px; border-left:4px solid var(--blue); }
.post-card .date{ font-family:'JetBrains Mono',monospace; color:var(--blue); font-size:12.5px; font-weight:600; }
.post-card h3{ font-size:19px; margin:6px 0 8px; color:var(--navy); }
.post-card p{ color:var(--ink-soft); font-size:14.5px; margin:0; }

.article-body{ max-width:680px; }
.article-body h1{ font-size:clamp(26px,3.6vw,34px); margin-bottom:8px; }
.article-body .meta{ font-family:'JetBrains Mono',monospace; color:var(--blue); font-size:13px; margin-bottom:28px; }
.article-body h2{ font-size:21px; margin-top:34px; margin-bottom:12px; }
.article-body p{ max-width:68ch; margin-bottom:16px; font-size:15.5px; line-height:1.7; color:var(--ink); }
.article-body ul, .article-body ol{ max-width:68ch; margin-bottom:16px; padding-left:22px; font-size:15.5px; line-height:1.7; }
.article-body li{ margin-bottom:6px; }
.article-body .cta-box{ background:#fffdf7; border:var(--line); border-left:4px solid var(--amber); padding:20px 22px; margin-top:32px; }
.article-body .cta-box p{ margin:0 0 10px; font-size:14.5px }


/* ---------- ad banner slot ---------- */
.np-ad-banner{ max-width:var(--maxw); margin:0 auto; padding:10px 18px 0; }
.np-ad-label{ display:block; font-size:10px; letter-spacing:.06em; text-transform:uppercase; color:var(--ink-soft); margin-bottom:4px; font-family:'JetBrains Mono',monospace; }
.np-ad-link{ display:block; border-radius:7px; overflow:hidden; text-decoration:none; }
.np-ad-img{ display:block; width:100%; max-height:120px; object-fit:cover; border-radius:7px; }
.np-ad-house{ background:linear-gradient(135deg, var(--navy), var(--navy-deep)); padding:14px 20px; display:flex; flex-direction:column; align-items:center; text-align:center; gap:3px; border:1px dashed var(--amber); }
.np-ad-house-title{ color:var(--amber); font-weight:700; font-size:14.5px; font-family:'Space Grotesk',sans-serif; }
.np-ad-house-sub{ color:#cfd9e3; font-size:12px; }
@media (max-width:640px){ .np-ad-house-sub{ display:none; } }

/* ---------- ADS SWITCHED OFF FOR NOW ----------
   Delete the next line to show the "Advertise your business here" banner again. */
.np-ad-banner{ display:none !important; }
