/* Techluj Solutions — shared stylesheet */

:root {
  --blue: #1B5FD9;
  --blue-dark: #124399;
  --blue-tint: #EDF3FE;
  --ink: #141416;
  --slate: #4A4F57;
  --muted: #6B7280;
  --line: #E3E6EB;
  --bg-soft: #F7F8FA;
  --white: #FFFFFF;
  --radius: 6px;
  --wrap: 1140px;
  --serif-stack: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --cond-stack: "Barlow Condensed", "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--serif-stack);
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--cond-stack);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .6em;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }
h4 { font-size: 1.12rem; }

p { margin: 0 0 1.15em; }
a { color: var(--blue); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
strong { color: var(--ink); font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* Reading column. Left edge lines up with the full-width .wrap above it
   rather than centring on the viewport, so headings and body text share a
   margin on wide screens. */
.wrap.narrow {
  max-width: 800px;
  margin-left: max(0px, calc(50% - (var(--wrap) / 2)));
  margin-right: auto;
}

/* ---------- Skip link ---------- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: .7rem 1.1rem;
}
.skip:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--white);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 72px;
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark { flex: 0 0 auto; }
.brand-text {
  font-family: var(--cond-stack);
  font-size: 1.42rem; font-weight: 700; color: var(--ink);
  letter-spacing: -0.01em; line-height: 1; white-space: nowrap;
}
.brand-text span { color: var(--blue); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: var(--radius); padding: .45rem .7rem; cursor: pointer;
  font-family: var(--cond-stack); font-size: 1rem; color: var(--ink);
}

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  font-family: var(--cond-stack); font-size: 1.08rem; font-weight: 500;
  color: var(--ink); letter-spacing: .01em; white-space: nowrap;
}
.nav a:hover { color: var(--blue); text-decoration: none; }
.nav a.current { color: var(--blue); }
.nav .btn { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--cond-stack); font-weight: 600;
  font-size: 1.05rem; letter-spacing: .02em;
  padding: .62rem 1.35rem; border-radius: var(--radius);
  background: var(--blue); color: #fff; border: 1px solid var(--blue);
  transition: background .15s ease, border-color .15s ease;
  cursor: pointer; text-align: center;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); text-decoration: none; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-soft); color: var(--ink); border-color: var(--muted); }
.btn-lg { font-size: 1.15rem; padding: .8rem 1.7rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 0; }

/* ---------- Sections ---------- */
.section { padding: 4.2rem 0; }
.section-sm { padding: 3rem 0; }
.section-soft { background: var(--bg-soft); }
.section-ink { background: var(--ink); color: #C9CDD4; }
.section-ink h2, .section-ink h3, .section-ink h4 { color: #fff; }
.section-ink a { color: #8FB4F5; }

.eyebrow {
  font-family: var(--cond-stack); text-transform: uppercase;
  letter-spacing: .13em; font-size: .88rem; font-weight: 600;
  color: var(--blue); margin: 0 0 .7rem;
}
.section-ink .eyebrow { color: #8FB4F5; }
.lede { font-size: 1.18rem; color: var(--slate); }
.section-head { max-width: 700px; margin-bottom: 2.4rem; }

/* ---------- Hero ---------- */
.hero { padding: 4.6rem 0 3.8rem; border-bottom: 1px solid var(--line); }
.hero h1 { margin-bottom: .5rem; }
.hero .hero-sub { font-size: 1.24rem; max-width: 660px; }
.hero-support {
  font-family: var(--cond-stack); font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  color: var(--blue); font-weight: 600; margin: 0 0 1.2rem;
}
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 3rem; align-items: start; }

.pledge {
  border: 1px solid var(--line); border-left: 3px solid var(--blue);
  border-radius: var(--radius); background: var(--bg-soft); padding: 1.5rem 1.6rem;
}
.pledge h3 { font-size: 1.2rem; margin-bottom: .8rem; }
.pledge ul { margin: 0; padding-left: 1.1rem; }
.pledge li { margin-bottom: .5rem; font-size: .98rem; }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding: 3.2rem 0 2.4rem; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.page-head h1 { margin-bottom: .4rem; }
.page-head .lede { max-width: 720px; margin-bottom: 0; }

.crumbs { font-size: .9rem; color: var(--muted); margin: 0 0 1.1rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
.crumbs span { margin: 0 .4rem; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.6rem; background: var(--white);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.card h3 { font-size: 1.28rem; margin-bottom: .45rem; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--blue); text-decoration: none; }
.card p { font-size: .98rem; margin-bottom: .8rem; }
.card p:last-child { margin-bottom: 0; }
.card-link { font-family: var(--cond-stack); font-weight: 600; font-size: 1rem; }
.card-link::after { content: " \2192"; }
a.card { display: block; }
a.card:hover { border-color: var(--blue); box-shadow: 0 2px 14px rgba(27,95,217,.09); text-decoration: none; }

.card-tag {
  display: inline-block; font-family: var(--cond-stack); font-size: .82rem;
  text-transform: uppercase; letter-spacing: .1em; font-weight: 600;
  color: var(--blue); background: var(--blue-tint);
  padding: .16rem .55rem; border-radius: 3px; margin-bottom: .7rem;
}

/* ---------- Numbered steps ---------- */
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li {
  counter-increment: step; position: relative;
  padding: 0 0 1.5rem 3.2rem; margin: 0;
  border-left: 1px solid var(--line); margin-left: 1.05rem;
}
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps li::before {
  content: counter(step); position: absolute; left: -1.05rem; top: -.15rem;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--blue); color: #fff;
  font-family: var(--cond-stack); font-weight: 600; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
}
.steps h3 { font-size: 1.18rem; margin-bottom: .3rem; }
.steps p { font-size: .98rem; margin-bottom: 0; }

/* ---------- Checklist ---------- */
.check { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.check li { position: relative; padding-left: 1.75rem; margin-bottom: .6rem; }
.check li::before {
  content: ""; position: absolute; left: 0; top: .55rem;
  width: .62rem; height: .62rem; border-radius: 2px; background: var(--blue);
}
.section-ink .check li::before { background: #8FB4F5; }

/* ---------- Stat / promise strip ---------- */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.strip div { border-top: 3px solid var(--blue); padding-top: 1rem; }
.strip .n {
  font-family: var(--cond-stack); font-size: 2.1rem; font-weight: 700;
  color: var(--ink); line-height: 1; display: block; margin-bottom: .35rem;
}
.section-ink .strip .n { color: #fff; }
.strip p { font-size: .96rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); padding: 1.35rem 0; }
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-item h3 { font-size: 1.18rem; margin-bottom: .45rem; }
.faq-item p:last-child { margin-bottom: 0; }

/* ---------- Article ---------- */
.article { padding: 3rem 0 4rem; }
.article-body { font-size: 1.08rem; }
.article-body h2 { margin-top: 2.4rem; font-size: 1.75rem; }
.article-body h3 { margin-top: 1.8rem; font-size: 1.3rem; }
.article-body ul, .article-body ol { margin: 0 0 1.2em; padding-left: 1.3rem; }
.article-body li { margin-bottom: .5rem; }
.article-body blockquote {
  margin: 1.8rem 0; padding: .3rem 0 .3rem 1.4rem;
  border-left: 3px solid var(--blue); color: var(--ink);
  font-size: 1.14rem;
}
.article-meta { font-size: .93rem; color: var(--muted); margin-bottom: 1.4rem; }
.article-meta time { color: var(--muted); }

.post-list { list-style: none; margin: 0; padding: 0; }
.post-list li { border-bottom: 1px solid var(--line); padding: 1.6rem 0; }
.post-list li:first-child { border-top: 1px solid var(--line); }
.post-list h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.post-list h3 a { color: var(--ink); }
.post-list h3 a:hover { color: var(--blue); text-decoration: none; }
.post-list p { font-size: 1rem; margin-bottom: .5rem; }

.tagrow { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2rem; }
.tagrow a {
  font-family: var(--cond-stack); font-size: .92rem; font-weight: 500;
  border: 1px solid var(--line); border-radius: 999px;
  padding: .25rem .85rem; color: var(--slate);
}
.tagrow a:hover, .tagrow a.active { background: var(--blue); border-color: var(--blue); color: #fff; text-decoration: none; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #C9CDD4; padding: 3.4rem 0; }
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { max-width: 620px; }
.cta-band .btn-ghost { color: #fff; border-color: #3A3F47; }
.cta-band .btn-ghost:hover { background: #22262C; color: #fff; border-color: #5A6069; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 3.2rem 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h4 {
  font-family: var(--cond-stack); text-transform: uppercase;
  letter-spacing: .1em; font-size: .85rem; color: var(--ink); margin-bottom: .9rem;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: .45rem; }
.footer-grid a { color: var(--slate); }
.footer-grid a:hover { color: var(--blue); }
.footer-about p { font-size: .95rem; color: var(--muted); }
.footer-bottom {
  border-top: 1px solid var(--line); margin-top: 2.4rem; padding-top: 1.3rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .8rem;
  color: var(--muted); font-size: .88rem;
}

/* ---------- 404 ---------- */
.notfound { padding: 6rem 0; text-align: center; }
.notfound h1 { font-size: clamp(3rem, 9vw, 6rem); margin-bottom: .2rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: .6rem 20px 1.2rem;
    box-shadow: 0 8px 20px rgba(20,20,22,.07);
  }
  .nav.open { display: flex; }
  .nav a { padding: .65rem 0; border-bottom: 1px solid var(--line); font-size: 1.12rem; }
  .nav .btn { margin-top: .8rem; border-bottom: 0; padding: .7rem 1.2rem; }
  .site-header { position: relative; }
  .header-inner { position: relative; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 3rem 0; }
  .hero { padding: 3rem 0 2.6rem; }
  .btn-row .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media print {
  .site-header, .site-footer, .cta-band, .btn-row { display: none; }
  body { color: #000; font-size: 12pt; }
}
