/* =========================================================
   LibertyTech Solutions — shared styles
   Warm / local / approachable · veteran-owned MSP
   Palette: navy-teal anchor + harvest gold + valley sage
   Type: Bricolage Grotesque (display) / Figtree (body) /
         JetBrains Mono (technical micro-labels)
   ========================================================= */

:root {
  /* color */
  --ink:        #16323C;   /* deep navy-teal anchor */
  --ink-2:      #0E2128;   /* darker band / footer */
  --paper:      #FAF6EE;   /* warm off-white */
  --paper-2:    #F1E9DA;   /* deeper warm panel */
  --card:       #FFFFFF;
  --gold:       #C9842E;   /* harvest gold accent */
  --gold-soft:  #EBC07A;
  --sage:       #6E8266;   /* valley sage secondary */
  --sage-soft:  #DDE3D5;
  --status:     #4FA66A;   /* operational green */
  --text:       #25211B;   /* warm near-black */
  --muted:      #5E574B;   /* warm gray */
  --line:       #E4DAC8;   /* warm hairline */
  --line-ink:   rgba(255,255,255,.14);

  /* type */
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body:    'Figtree', system-ui, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, monospace;

  /* scale */
  --maxw: 1140px;
  --gut: clamp(20px, 5vw, 56px);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(20,40,48,.05), 0 14px 40px -20px rgba(20,40,48,.28);
}

/* ---------- reset / base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }

/* ---------- shared eyebrow / micro-label ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--gold);
  display: inline-block;
}

/* ---------- signature: status pill ---------- */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #DCEFE2;
  background: rgba(79,166,106,.12);
  border: 1px solid rgba(79,166,106,.35);
  padding: 8px 14px;
  border-radius: 999px;
}
.status-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--status);
  box-shadow: 0 0 0 0 rgba(79,166,106,.55);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(79,166,106,.55); }
  70%  { box-shadow: 0 0 0 9px rgba(79,166,106,0); }
  100% { box-shadow: 0 0 0 0 rgba(79,166,106,0); }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 10px 24px -12px rgba(201,132,46,.9); }
.btn-gold:hover { transform: translateY(-2px); background: #b8741f; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { transform: translateY(-2px); background: var(--ink-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-ghost-light { background: transparent; color: #fff; border-color: var(--line-ink); }
.btn-ghost-light:hover { border-color: #fff; transform: translateY(-2px); }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,246,238,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand .mark { height: 38px; width: auto; flex: none; display: block; }
.site-footer .brand .mark { height: 44px; }
.brand .name { font-family: var(--display); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; color: var(--ink); }
.brand .name b { color: var(--gold); font-weight: 800; }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-weight: 500; font-size: .98rem; color: var(--muted);
  padding: 9px 14px; border-radius: 8px; transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--ink); background: var(--paper-2); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-cta { margin-left: 8px; }

/* mobile nav (CSS-only) */
.nav-toggle { display: none; }
.nav-burger {
  display: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: 10px;
  align-items: center; justify-content: center; border: 1px solid var(--line);
  background: var(--card);
}
.nav-burger span, .nav-burger span::before, .nav-burger span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink);
  position: relative; transition: .2s;
}
.nav-burger span::before { position: absolute; top: -6px; }
.nav-burger span::after  { position: absolute; top: 6px; }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(201,132,46,.16), transparent 55%),
    radial-gradient(90% 80% at -5% 10%, rgba(110,130,102,.16), transparent 50%),
    var(--ink);
  color: #fff;
  position: relative; overflow: hidden;
}
.hero .wrap { padding-block: clamp(64px, 9vw, 108px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  margin: 18px 0 0;
  line-height: .98;
}
.hero h1 .accent { color: var(--gold-soft); }
.hero .lede { font-size: 1.18rem; color: #D6DFE0; margin: 22px 0 30px; max-width: 33ch; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .eyebrow { color: var(--gold-soft); }
.hero .eyebrow::before { background: var(--gold-soft); }

/* hero panel (uptime card) */
.uptime-card {
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line-ink);
  border-radius: var(--radius-lg);
  padding: 26px;
  backdrop-filter: blur(4px);
}
.uptime-card h3 { font-family: var(--mono); font-weight: 500; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: #9FB2B8; margin-bottom: 18px; }
.uptime-row { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-top: 1px solid var(--line-ink); }
.uptime-row:first-of-type { border-top: none; }
.uptime-row .label { color: #C9D6D9; font-size: .96rem; }
.uptime-row .val { font-family: var(--mono); font-size: .9rem; color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.tick { width: 7px; height: 7px; border-radius: 50%; background: var(--status); }

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section.tight { padding-block: clamp(44px, 6vw, 72px); }
.section.paper-2 { background: var(--paper-2); }
.section.ink { background: var(--ink); color: #fff; }
.section.ink .eyebrow { color: var(--gold-soft); }
.section.ink .eyebrow::before { background: var(--gold-soft); }
.section.ink .lead { color: #C9D6D9; }

.section-head { max-width: 60ch; margin-bottom: 40px; }
.section-head h1, .section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.section-head .lead { font-size: 1.12rem; color: var(--muted); margin-top: 16px; }
.center { text-align: center; margin-inline: auto; }
.eyebrow.center { display: flex; justify-content: center; }
.cta-row.center { justify-content: center; }
.hero-copy { max-width: 46ch; }

/* ---------- trust strip ---------- */
.trust {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line);
}
.trust > div {
  background: var(--card); padding: 22px 20px; text-align: center;
}
.trust .t-big { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.trust .t-sub { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }
/* dark-band variant (About credentials strip) */
.trust.on-ink { background: transparent; border: none; gap: 12px; }
.trust.on-ink > div { background: rgba(255,255,255,.05); border: 1px solid var(--line-ink); border-radius: var(--radius); }
.trust.on-ink .t-big { color: #fff; }
.trust.on-ink .t-sub { color: var(--gold-soft); }

/* ---------- service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.card .ic {
  width: 46px; height: 46px; border-radius: 11px;
  background: var(--paper-2); color: var(--gold);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card .ic svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.22rem; margin-bottom: 9px; }
.card p { color: var(--muted); font-size: .98rem; margin: 0; }

/* ---------- audience split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.split .panel {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px; background: var(--card);
}
.split .panel.accent { background: var(--ink); color: #fff; border-color: var(--ink); }
.split .panel h3 { font-size: 1.5rem; margin-bottom: 16px; }
.split .panel.accent h3 .accent { color: var(--gold-soft); }
.tick-list { list-style: none; margin: 0; padding: 0; }
.tick-list li { position: relative; padding: 9px 0 9px 30px; border-top: 1px solid var(--line); }
.split .panel.accent .tick-list li { border-color: var(--line-ink); color: #D6DFE0; }
.tick-list li:first-child { border-top: none; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 16px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--sage-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236E8266' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}
.split .panel.accent .tick-list li::before {
  background: rgba(235,192,122,.22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23EBC07A' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ---------- why / feature rows ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 44px; }
.feature h3 { font-size: 1.2rem; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.feature h3 .n { font-family: var(--mono); font-size: .8rem; color: var(--gold); font-weight: 500; }
.feature p { color: var(--muted); margin: 0; }
.section.ink .feature p { color: #B9C8CC; }
.section.ink .feature h3 { color: #fff; }

/* ---------- pricing tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.tier {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px; position: relative;
}
.tier.featured { border-color: var(--gold); box-shadow: var(--shadow); }
.tier .badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #fff; font-family: var(--mono);
  font-size: .64rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.tier h3 { font-size: 1.35rem; margin-bottom: 6px; }
.tier .blurb { color: var(--muted); font-size: .94rem; min-height: 42px; }
.tier .price { font-family: var(--display); font-size: 2.2rem; color: var(--ink); margin: 14px 0 2px; }
.tier .price small { font-family: var(--body); font-size: .9rem; color: var(--muted); font-weight: 500; }
.tier ul { list-style: none; margin: 20px 0 24px; padding: 0; }
.tier ul li { padding: 8px 0 8px 28px; position: relative; font-size: .96rem; border-top: 1px solid var(--line); }
.tier ul li:first-child { border-top: none; }
.tier ul li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 15px; height: 15px; border-radius: 50%;
  background: var(--sage-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%236E8266' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat;
}
.tier .btn { width: 100%; justify-content: center; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--gold); color: #fff; }
.cta-band .wrap { padding-block: clamp(48px, 7vw, 80px); text-align: center; }
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.9); font-size: 1.1rem; max-width: 48ch; margin: 0 auto 28px; }
.cta-band .btn-ink { background: var(--ink); }
.cta-band .btn-ink:hover { background: var(--ink-2); }
.cta-band .btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.6); }
.cta-band .btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.12); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.contact-list li:first-child { border-top: none; }
.contact-list .ci {
  width: 44px; height: 44px; flex: none; border-radius: 11px; background: var(--paper-2);
  color: var(--gold); display: flex; align-items: center; justify-content: center;
}
.contact-list .ci svg { width: 22px; height: 22px; }
.contact-list .k { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-list .v { font-size: 1.08rem; font-weight: 600; color: var(--ink); }
.contact-list .v a:hover { color: var(--gold); }

.aside-card {
  margin-top: 26px; padding: 22px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2);
}
.aside-card .status-pill { color: var(--sage); background: rgba(110,130,102,.1); border-color: rgba(110,130,102,.35); }
.aside-card p { margin: 14px 0 0; color: var(--muted); font-size: .96rem; }

.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--body); font-size: 1rem; background: var(--paper); color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,132,46,.16);
}
.field textarea { resize: vertical; min-height: 120px; }
.form .btn { width: 100%; justify-content: center; }
.form-note { font-family: var(--mono); font-size: .66rem; letter-spacing: .04em; color: var(--muted); margin-top: 14px; text-align: center; }

/* ---------- about ---------- */
.about-hero { max-width: 62ch; }
.about-hero .page-title { font-size: clamp(2rem, 4.5vw, 3.1rem); }
.about-hero .lead { color: var(--muted); font-size: 1.12rem; margin-top: 18px; }
.prose { max-width: 62ch; margin-inline: auto; }
.prose p { color: var(--muted); margin-bottom: 1.1em; }
.prose p strong { color: var(--text); }
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.value { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.value .n { font-family: var(--mono); font-size: .8rem; color: var(--gold); }
.value h3 { font-size: 1.15rem; margin: 8px 0; }
.value p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-2); color: #C9D6D9; }
.site-footer .wrap { padding-block: 56px 30px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.site-footer .brand .name { color: #fff; }
.site-footer p { color: #94A8AD; font-size: .96rem; max-width: 34ch; margin-top: 16px; }
.foot-col h4 { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #7E9298; margin: 0 0 14px; }
.foot-col a { display: block; padding: 5px 0; color: #C9D6D9; font-size: .96rem; }
.foot-col a:hover { color: var(--gold-soft); }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-ink);
  font-size: .85rem; color: #7E9298;
}
.foot-bottom .vet { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-soft); display: inline-flex; align-items: center; gap: 8px; }

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .uptime-card { max-width: 420px; }
  .contact-grid { grid-template-columns: 1fr; }
  .cards, .tiers, .split, .feature-grid, .values { grid-template-columns: 1fr; }
  .trust { grid-template-columns: repeat(2,1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }

  .nav-burger { display: inline-flex; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 12px var(--gut) 20px; display: none;
  }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-links a { padding: 13px 12px; border-radius: 10px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
}
@media (max-width: 460px) {
  .trust { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
