/* =========================================================
   Blue View Computer Solutions
   Managed IT for Cape Cod — static site for GitHub Pages
   Brand: coastal steel-blue (#4870A8)
   ========================================================= */

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

:root {
  --brand: #4870a8;
  --brand-600: #3c6094;
  --brand-700: #2f4d76;
  --navy: #1b2e4a;
  --navy-900: #12203a;
  --sky: #eaf1f9;
  --sky-2: #dbe6f4;
  --sand: #f4f1e9;
  --paper: #ffffff;
  --ink: #1b2536;
  --ink-soft: #33415c;
  --body: #47506a;
  --text: #47506a;
  --muted: #717a92;
  --rule: #e4e7ef;
  --seafoam: #4f9d94;
  --sun: #e0a54b;

  --sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --shadow-sm: 0 2px 8px -4px rgba(27,46,74,.25);
  --shadow-md: 0 18px 40px -24px rgba(27,46,74,.45);
  --shadow-lg: 0 30px 60px -30px rgba(27,46,74,.5);
}

html { scroll-behavior: smooth; }
body {
  background: var(--sand);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background .3s var(--ease), color .3s var(--ease);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1,h2,h3,h4 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; }
section { position: relative; }

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

/* ============ DARK THEME ============ */
[data-theme="dark"] {
  --brand: #6f95cf;
  --brand-600: #5e86c4;
  --brand-700: #7ea6dd;
  --navy: #0e1a2e;
  --navy-900: #0a1424;
  --sky: #16233a;
  --sky-2: #1b2b45;
  --sand: #0c1422;
  --paper: #141f31;
  --ink: #eef2f9;
  --text: #b9c2d4;
  --muted: #8b95ab;
  --rule: #26344b;
  --shadow-md: 0 18px 40px -24px rgba(0,0,0,.7);
  --shadow-lg: 0 30px 60px -30px rgba(0,0,0,.8);
}
[data-theme="dark"] nav.site-nav { background: rgba(12,20,34,.72); }
[data-theme="dark"] nav.site-nav.shrink { background: rgba(12,20,34,.9); }
[data-theme="dark"] .badge-strip { background: var(--navy-900); }
[data-theme="dark"] .logo-mark.dark-hide { display: none; }
[data-theme="dark"] .logo-mark.dark-show { display: inline-block; }
.logo-mark.dark-show { display: none; }

/* ============ SCROLL PROGRESS ============ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--seafoam));
  z-index: 60; transition: width .08s linear;
}

/* ============ NAV ============ */
nav.site-nav {
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--rule);
  position: sticky; top: 0; z-index: 50;
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
nav.site-nav.shrink { box-shadow: 0 8px 30px -18px rgba(27,46,74,.4); }
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: .85rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  transition: padding .3s var(--ease);
}
nav.site-nav.shrink .nav-inner { padding: .55rem 2rem; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand .logo-mark { width: 38px; height: 38px; object-fit: contain; transition: width .3s var(--ease), height .3s var(--ease); }
nav.site-nav.shrink .brand .logo-mark { width: 32px; height: 32px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.brand-sub { font-size: 10.5px; font-weight: 500; color: var(--brand); letter-spacing: .14em; text-transform: uppercase; margin-top: 3px; }

.nav-links { display: flex; gap: 1.6rem; align-items: center; }
.nav-links > a {
  font-size: 14px; font-weight: 500; color: var(--muted); position: relative;
  transition: color .2s var(--ease);
}
.nav-links > a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 100%;
  background: var(--brand); transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav-links > a:hover { color: var(--ink); }
.nav-links > a:hover::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  padding: 11px 20px; border-radius: 10px; border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-600); transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(72,112,168,.75); }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-lg { padding: 14px 26px; font-size: 15px; border-radius: 12px; }

.theme-toggle {
  background: transparent; border: 1px solid var(--rule); color: var(--muted);
  width: 40px; height: 40px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.theme-toggle:hover { color: var(--brand); border-color: var(--brand); transform: translateY(-1px); }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: inline-block; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--ink); }

/* ============ SECTION HEADERS ============ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 700; margin: 1rem 0 1rem; }
.section-head p { font-size: 17px; color: var(--muted); line-height: 1.7; }

.section-pad { padding: 6rem 0; }

/* ============ HERO ============ */
.hero {
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(72,112,168,.16), transparent 60%),
    linear-gradient(180deg, var(--sky) 0%, var(--sand) 100%);
  padding: 3.5rem 0 5rem;
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 1.25rem; }
.hero-copy h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.6rem); font-weight: 700; line-height: 1.05;
  margin-bottom: 1.4rem;
}
.hero-copy h1 .accent { color: var(--brand); }
.hero-copy .lead { font-size: 18.5px; color: var(--body); max-width: 520px; margin-bottom: 2rem; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 2.25rem; }
.hero-meta { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.hero-meta .m { display: flex; flex-direction: column; }
.hero-meta .m b { font-size: 22px; color: var(--ink); font-weight: 700; }
.hero-meta .m span { font-size: 13px; color: var(--muted); }

.hero-media { position: relative; }
.hero-media .photo {
  border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--rule); aspect-ratio: 4/5;
}
.hero-media .photo img { width: 100%; height: 100%; object-fit: cover; }
.float-card {
  position: absolute; background: var(--paper); border: 1px solid var(--rule);
  border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
}
.float-card .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--sky); color: var(--brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.float-card .ic svg { width: 20px; height: 20px; }
.float-card b { display: block; font-size: 15px; color: var(--ink); }
.float-card span { font-size: 12.5px; color: var(--muted); }
.float-1 { top: 26px; left: -26px; animation: floaty 6s ease-in-out infinite; }
.float-2 { bottom: 34px; right: -22px; animation: floaty 6s ease-in-out infinite 1.5s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ============ BADGE STRIP ============ */
.badge-strip { background: var(--navy); color: #dfe7f2; }
.badge-strip .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; padding-top: 1.4rem; padding-bottom: 1.4rem; }
.badge { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; }
.badge svg { width: 20px; height: 20px; color: #8fb2e0; flex-shrink: 0; }

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

.card {
  background: var(--paper); border: 1px solid var(--rule); border-radius: 16px;
  padding: 1.7rem; transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.card .ic { width: 52px; height: 52px; border-radius: 13px; background: var(--sky); color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; }
.card .ic svg { width: 25px; height: 25px; }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: .55rem; }
.card p { font-size: 15px; color: var(--muted); line-height: 1.65; }

/* Tier cards */
.tier { display: flex; flex-direction: column; position: relative; overflow: hidden; }
.tier.featured { border-color: var(--brand); box-shadow: var(--shadow-md); }
.tier.featured::before {
  content: 'Flagship'; position: absolute; top: 16px; right: -34px; transform: rotate(45deg);
  background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em;
  padding: 5px 42px;
}
.tier .kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: .5rem; }
.tier h3 { font-size: 21px; margin-bottom: .5rem; }
.tier > p { font-size: 15px; color: var(--muted); margin-bottom: 1.2rem; }
.tier .price { font-size: 15px; color: var(--ink); font-weight: 700; margin-bottom: 1.2rem; }
.tier .price small { display: block; font-weight: 500; font-size: 12.5px; color: var(--muted); letter-spacing: .01em; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: .7rem; margin-bottom: 1.5rem; }
.feature-list li { display: flex; gap: 10px; font-size: 14.5px; color: var(--body); line-height: 1.5; }
.feature-list li svg { width: 18px; height: 18px; color: var(--seafoam); flex-shrink: 0; margin-top: 2px; }
.tier .btn { margin-top: auto; justify-content: center; }

/* ============ WHY / COMPARISON ============ */
.why { background: var(--paper); }
[data-theme="dark"] .why { background: var(--navy-900); }
.compare { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; align-items: stretch; }
.compare .col {
  border: 1px solid var(--rule); border-radius: 16px; padding: 1.7rem; background: var(--sand);
}
[data-theme="dark"] .compare .col { background: var(--paper); }
.compare .col.win { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: var(--shadow-md); transform: translateY(-8px); }
.compare .col h4 { font-size: 17px; margin-bottom: 1rem; }
.compare .col.win h4 { color: #fff; }
.compare .col ul { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.compare .col li { display: flex; gap: 9px; font-size: 14px; line-height: 1.5; color: var(--body); }
.compare .col.win li { color: rgba(255,255,255,.95); }
.compare .col li svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; }
.compare .col .no svg { color: #c25b5b; }
.compare .col.win .yes svg { color: #cfe0f6; }
.compare .col .yes svg { color: var(--seafoam); }

/* ============ PROCESS ============ */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.4rem; counter-reset: step; }
.step { position: relative; padding-top: 1.5rem; }
.step .n {
  width: 44px; height: 44px; border-radius: 12px; background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; margin-bottom: 1rem;
}
.step h4 { font-size: 16.5px; margin-bottom: .4rem; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ============ SLA TABLE ============ */
.sla-wrap { margin-top: 2.5rem; border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; background: var(--paper); box-shadow: var(--shadow-sm); }
table.sla { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.sla th, table.sla td { text-align: left; padding: 1rem 1.25rem; border-bottom: 1px solid var(--rule); }
table.sla thead th { background: var(--navy); color: #dfe7f2; font-weight: 600; font-size: 13px; letter-spacing: .03em; }
table.sla tbody tr:last-child td { border-bottom: none; }
table.sla tbody tr:hover { background: var(--sky); }
.sev { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.sev-p1 .dot { background: #d1495b; } .sev-p2 .dot { background: #e0a54b; }
.sev-p3 .dot { background: #4f9d94; } .sev-p4 .dot { background: var(--brand); }
.sla-note { font-size: 13px; color: var(--muted); margin-top: 1rem; }

/* ============ PRICING ============ */
.pricing { background: var(--sky); }
[data-theme="dark"] .pricing { background: var(--navy-900); }
.price-note { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 2rem; }
.price-tag { font-size: 30px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.price-tag small { font-size: 14px; color: var(--muted); font-weight: 500; }

/* ============ SERVICE AREA ============ */
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.area-media { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--rule); position: relative; }
.area-media img { width: 100%; height: 420px; object-fit: cover; }
.area-media .cape-pill { position: absolute; bottom: 18px; left: 18px; background: rgba(27,46,74,.85); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; backdrop-filter: blur(6px); display: flex; gap: 8px; align-items: center; }
.zones { display: flex; gap: 10px; flex-wrap: wrap; margin: 1.5rem 0 2rem; }
.zone-chip { background: var(--paper); border: 1px solid var(--rule); border-radius: 999px; padding: 7px 15px; font-size: 13.5px; font-weight: 600; color: var(--brand-700); }
.seg-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.seg { display: flex; gap: 12px; }
.seg .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--sky); color: var(--brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.seg .ic svg { width: 19px; height: 19px; }
.seg b { display: block; font-size: 14.5px; color: var(--ink); }
.seg span { font-size: 13px; color: var(--muted); }

/* ============ ABOUT ============ */
.about { background: var(--paper); }
[data-theme="dark"] .about { background: var(--navy-900); }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: center; }
.about-photo { border-radius: 20px; overflow: hidden; border: 1px solid var(--rule); box-shadow: var(--shadow-md); }
.about-photo img { width: 100%; height: 460px; object-fit: cover; }
.about-body h2 { font-size: clamp(1.7rem,3.4vw,2.3rem); margin-bottom: 1.2rem; }
.about-body p { font-size: 16px; color: var(--body); line-height: 1.75; margin-bottom: 1.1rem; }
.creds { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 1.5rem; }
.cred { display: inline-flex; align-items: center; gap: 8px; background: var(--sky); color: var(--brand-700); padding: 8px 14px; border-radius: 10px; font-size: 13.5px; font-weight: 600; }
.cred svg { width: 16px; height: 16px; }

/* ============ INSIGHTS ============ */
.insights-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.4rem; }
.insight-card { display: flex; flex-direction: column; }
.insight-card .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: .9rem; }
.insight-card h3 { font-size: 19px; margin-bottom: .6rem; transition: color .2s var(--ease); }
.insight-card:hover h3 { color: var(--brand); }
.insight-card p { font-size: 14.5px; color: var(--muted); line-height: 1.6; margin-bottom: 1.1rem; }
.insight-card .read { font-size: 13.5px; font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; margin-top: auto; }
.tag { font-size: 12px; font-weight: 600; background: var(--sky); color: var(--brand-700); padding: 3px 10px; border-radius: 6px; }
.post-date-sm { font-size: 12.5px; color: var(--muted); }

/* ============ CONTACT ============ */
.contact { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%); color: #dfe7f2; }
.contact h2 { color: #fff; }
.contact .eyebrow { color: #8fb2e0; }
.contact .eyebrow::before { background: #8fb2e0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 2rem; }
.ci { display: flex; gap: 14px; align-items: center; }
.ci .ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.1); color: #9fc0ea; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ci .ic svg { width: 20px; height: 20px; }
.ci b { display: block; font-size: 15px; color: #fff; }
.ci a, .ci span { font-size: 14.5px; color: #b9c9df; }
.ci a:hover { color: #fff; }
.contact-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 2rem; backdrop-filter: blur(8px); }
.contact-card h3 { color: #fff; font-size: 20px; margin-bottom: .5rem; }
.contact-card p { font-size: 14.5px; color: #b9c9df; margin-bottom: 1.4rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 13px; font-weight: 600; color: #cdd9ec; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px; padding: 11px 14px; color: #fff; font-family: var(--sans); font-size: 14.5px;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #7f8ea8; }
.field input:focus, .field textarea:focus { outline: none; border-color: #8fb2e0; background: rgba(255,255,255,.12); }
.field textarea { resize: vertical; min-height: 110px; }
.form-status { font-size: 14px; margin-top: 1rem; line-height: 1.5; min-height: 1px; }
.form-status.ok { color: #7fd6a6; }
.form-status.err { color: #f0a6a6; }

/* ============ FAQ ============ */
.faq { background: var(--paper); }
[data-theme="dark"] .faq { background: var(--navy-900); }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
details.faq-item {
  background: var(--sand); border: 1px solid var(--rule); border-radius: 14px; overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
[data-theme="dark"] details.faq-item { background: var(--paper); }
details.faq-item[open] { border-color: var(--brand); box-shadow: var(--shadow-sm); }
details.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.15rem 1.4rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-weight: 600; font-size: 16.5px; color: var(--ink);
}
details.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { flex-shrink: 0; width: 20px; height: 20px; color: var(--brand); transition: transform .25s var(--ease); }
details.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .faq-a { padding: 0 1.4rem 1.3rem; color: var(--muted); font-size: 15px; line-height: 1.75; }
.faq-item .faq-a a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* ============ FOOTER ============ */
footer.site-footer { background: var(--navy-900); color: #9fb0c9; padding: 3.5rem 0 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .fb-name { color: #fff; font-size: 20px; font-weight: 700; }
.footer-brand p { font-size: 14px; margin-top: .75rem; max-width: 320px; line-height: 1.6; }
.footer-brand .fb-logo { display: flex; align-items: center; gap: 10px; margin-bottom: .25rem; }
.footer-brand .fb-logo img { width: 34px; height: 34px; }
.footer-col h5 { color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col a { display: block; font-size: 14px; margin-bottom: .6rem; transition: color .2s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.5rem; font-size: 13px; flex-wrap: wrap; gap: 1rem; }

/* ============ SCROLL REVEAL ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.in-view { opacity: 1; transform: none; }
.reveal[data-reveal="left"] { transform: translateX(-30px); }
.reveal[data-reveal="right"] { transform: translateX(30px); }
.reveal[data-reveal="scale"] { transform: scale(.95); }

/* ============ POST PAGE ============ */
.post-header { max-width: 760px; margin: 0 auto; padding: 3.5rem 2rem 1.5rem; }
.back-link { font-size: 13.5px; font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; margin-bottom: 1.5rem; transition: gap .2s var(--ease); }
.back-link:hover { gap: 10px; }
.post-eyebrow { font-size: 13px; color: var(--muted); margin-bottom: 1rem; }
.post-header h1 { font-size: clamp(1.9rem, 4.2vw, 2.6rem); font-weight: 700; margin-bottom: 1rem; }
.post-summary { font-size: 18px; color: var(--body); line-height: 1.7; margin-bottom: 1.5rem; }
.post-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 1rem; }
.post-divider { border: none; border-top: 1px solid var(--rule); max-width: 700px; margin: 1.5rem auto; }
.post-body { max-width: 760px; margin: 0 auto; padding: 1.5rem 2rem 2rem; }
.post-body h2 { font-size: 1.5rem; font-weight: 700; margin: 2.5rem 0 .9rem; }
.post-body h3 { font-size: 1.2rem; font-weight: 700; margin: 1.8rem 0 .6rem; }
.post-body p { font-size: 17px; color: var(--body); line-height: 1.85; margin-bottom: 1.3rem; }
.post-body ul, .post-body ol { margin: 0 0 1.3rem 1.3rem; color: var(--body); line-height: 1.85; }
.post-body li { margin-bottom: .45rem; }
.post-body a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.post-body strong { color: var(--ink); }
.post-body code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; background: var(--sky); color: var(--brand-700); padding: 2px 6px; border-radius: 5px; }
.post-body pre { background: var(--navy-900); color: #cdd9ec; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13.5px; padding: 1.4rem 1.6rem; border-radius: 12px; margin: 1.6rem 0; overflow-x: auto; line-height: 1.75; }
.post-body pre code { background: none; color: inherit; padding: 0; }
.post-body blockquote { background: var(--sky); border-left: 4px solid var(--brand); border-radius: 0 10px 10px 0; padding: 1.1rem 1.4rem; margin: 1.6rem 0; color: var(--brand-700); font-size: 16px; line-height: 1.7; }
.post-body blockquote p { color: var(--brand-700); margin: 0; }
.post-nav { max-width: 760px; margin: 0 auto; padding: 1.75rem 2rem 4rem; display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--rule); }
.post-nav a { font-size: 14px; font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; transition: gap .2s var(--ease); }
.post-nav a:hover { gap: 10px; }
.post-nav .disabled { color: var(--muted); opacity: .5; pointer-events: none; }

/* ============ ANIMATIONS ============ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.hero-animate { animation: fadeUp .8s var(--ease) both; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-media { max-width: 440px; margin: 0 auto; width: 100%; }
  .area-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .g-4 { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .wrap, .nav-inner { padding-left: 1.25rem; padding-right: 1.25rem; }
  .section-pad { padding: 4rem 0; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--rule); padding: 1.25rem 1.5rem; gap: 1.1rem;
    box-shadow: var(--shadow-md);
  }
  .nav-toggle { display: inline-flex; }
  .g-3, .g-4, .g-2, .compare, .steps, .seg-list, .insights-list { grid-template-columns: 1fr; }
  .compare .col.win { transform: none; }
  .float-1 { left: 6px; } .float-2 { right: 6px; }
  .brand-sub { display: none; }
  table.sla { font-size: 12.5px; }
  table.sla th, table.sla td { padding: .7rem .6rem; }
  .footer-top { grid-template-columns: 1fr; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .float-1, .float-2 { animation: none !important; }
}
