/* ============================================================
   Business Internet Solutions — shared stylesheet
   businessinternetsolutions.net
   Static marketing site (portable to Astro later)
   ============================================================ */

:root {
  /* Accelerated brand: red + black/charcoal. Variable names kept (navy/blue)
     to avoid churn — values are the brand palette. */
  --navy: #16181d;       /* near-black charcoal (dark sections, headings) */
  --navy-700: #24272f;
  --blue: #e0202f;       /* Accelerated red (primary/accent) */
  --blue-600: #c0182a;   /* darker red (hover) */
  --blue-50: #fcebec;    /* light red tint */
  --ink: #20242b;
  --slate: #5c6672;
  --line: #e6e8ec;
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --bg-navy-soft: #121419; /* footer */
  --gold: #ff5a63;        /* light red accent for dark-section eyebrows */
  --green: #1f9d6b;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 3px rgba(10,37,64,.08);
  --shadow: 0 10px 30px rgba(10,37,64,.10);
  --shadow-lg: 0 24px 60px rgba(10,37,64,.16);
  --maxw: 1140px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.lead { font-size: 1.2rem; color: var(--slate); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 76px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #c7cad1; }
.section--navy h2, .section--navy h3 { color: #fff; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--blue); margin: 0 0 .6rem; }
.section--navy .eyebrow { color: var(--gold); }
.center { text-align: center; }
.measure { max-width: 720px; }
.center.measure { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(224,32,47,.30); }
.btn--primary:hover { background: var(--blue-600); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--outline { background:#fff; color: var(--blue-600); border-color: var(--line); }
.btn--outline:hover { border-color: var(--blue); }
.btn--lg { padding: 17px 32px; font-size: 1.06rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: clamp(74px, 8vw, 96px); }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; color: var(--navy); font-size: 1.06rem; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand img { height: clamp(50px, 7vw, 78px); width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: .97rem; padding: 9px 13px; border-radius: 8px; }
.nav-links a:hover { background: var(--blue-50); color: var(--blue-600); text-decoration: none; }
.nav-links a.active { color: var(--blue-600); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* Hero */
.hero { position: relative; background: radial-gradient(1100px 560px at 82% -12%, #4a131a 0%, var(--navy) 56%); color: #eef0f3; overflow: hidden; }
.hero::after { content:""; position:absolute; inset:0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(700px 400px at 75% 0%, #000, transparent 70%); pointer-events:none; }
.hero .container { position: relative; z-index: 1; padding-top: 84px; padding-bottom: 84px; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero p { color: #d6d8dd; font-size: 1.22rem; max-width: 54ch; }
.hero-logo { margin: 0 0 1rem; }
.hero-logo img { height: clamp(80px, 11vw, 140px); width: auto; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-badges { display:flex; flex-wrap:wrap; gap: 20px 30px; margin-top: 40px; color:#b9bcc4; font-size:.92rem; font-weight:600; }
.hero-badges span { display:flex; align-items:center; gap:8px; }
.hero-badges svg { flex: none; }

/* Grid + cards */
.grid { display: grid; gap: 22px; }
.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 {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease, border-color .15s;
  height: 100%;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #dcdfe4; }
.card h3 { margin-top: 6px; }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); margin-bottom: 14px; }
.card .icon svg { width: 26px; height: 26px; }
.card--link { display:flex; flex-direction:column; }
.card--link .more { margin-top: auto; padding-top: 14px; font-weight: 700; color: var(--blue-600); }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.split--reverse .split-media { order: 2; }

/* Stat strip */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.stat { text-align: center; }
.stat b { display: block; font-size: 2.1rem; color: #fff; font-weight: 800; line-height: 1; }
.stat span { color: #b9bcc4; font-size: .92rem; }

/* Feature list */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 11px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23c0182a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat; }

/* Product anchor blocks */
.product { scroll-margin-top: 90px; }
.pill { display:inline-block; background: var(--blue-50); color: var(--blue-600); font-weight:700; font-size:.8rem; padding: 5px 12px; border-radius: 999px; margin-bottom: 12px; }

/* AT&T Zift live embeds */
.zift-embed { display:flex; justify-content:center; align-items:flex-start; min-height:60px; }
.zift-embed img, .zift-embed iframe { max-width:100%; height:auto; }
.zift-badge { padding:8px; }

/* Widget placeholder (AT&T Zift) */
.widget-slot {
  border: 2px dashed #d8dde3; border-radius: var(--radius); background:
    repeating-linear-gradient(45deg, #fafafb, #fafafb 12px, #f2f3f5 12px, #f2f3f5 24px);
  padding: 26px; text-align: center; color: var(--slate);
}
.widget-slot .tag { display:inline-block; background: var(--navy); color:#fff; font-size:.72rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; padding:4px 10px; border-radius:6px; margin-bottom:10px; }
.widget-slot code { display:block; margin-top:10px; font-size:.78rem; color:#5c6672; background:#fff; border:1px solid var(--line); border-radius:8px; padding:8px 10px; overflow:auto; }
.widget-slot.is-skyscraper { max-width: 200px; }
.widget-slot.is-rectangle { max-width: 340px; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--blue-600) 130%); color:#fff; border-radius: 20px; padding: 48px; text-align:center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color:#fff; }
.cta-band p { color:#dcdee3; max-width: 56ch; margin-left:auto; margin-right:auto; }

/* Forms */
.form { display: grid; gap: 16px; max-width: 560px; }
.form .row { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display:flex; flex-direction:column; gap:6px; }
.field label { font-weight:600; font-size:.9rem; color: var(--navy); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 10px; background:#fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline:none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-50); }
.field textarea { min-height: 120px; resize: vertical; }
.consent { display:flex; gap:10px; align-items:flex-start; font-size:.85rem; color: var(--slate); }
.consent input { margin-top: 4px; }

/* Blog */
.post-list { display:grid; gap: 22px; }
.post-card { display:grid; grid-template-columns: 150px 1fr; gap: 22px; align-items:center; background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.post-card:hover { box-shadow: var(--shadow); }
.post-thumb { aspect-ratio: 1/1; border-radius: 10px; background: linear-gradient(135deg, var(--navy), var(--blue)); display:grid; place-items:center; color:#fff; font-weight:800; font-size:1.5rem; }
.post-meta { font-size:.82rem; color: var(--slate); text-transform:uppercase; letter-spacing:.06em; font-weight:600; }
.blog-layout { display:grid; grid-template-columns: 1fr 300px; gap: 40px; align-items:start; }
.sidebar { display:grid; gap: 22px; position:sticky; top: 92px; }
.sidebar .card { padding: 20px; }
.article { max-width: 760px; }
.article h2 { margin-top: 1.6em; }
.article img { border-radius: var(--radius); margin: 1.4em 0; }
.article .post-meta { margin-bottom: 1.2rem; }

/* Breadcrumb */
.crumbs { font-size: .85rem; color: var(--slate); padding: 18px 0 0; }
.crumbs a { color: var(--slate); }

/* Footer */
.site-footer { background: var(--bg-navy-soft); color: #aab0ba; padding: 56px 0 28px; font-size: .94rem; }
.footer-grid { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color:#fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.site-footer a { color:#aab0ba; display:block; padding: 4px 0; }
.site-footer a:hover { color:#fff; }
.footer-brand img { height: 96px; max-width: 340px; width: auto; margin-bottom: 14px; }
.footer-brand p { max-width: 34ch; color:#888e99; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.10); margin-top: 40px; padding-top: 22px; display:flex; flex-wrap:wrap; justify-content:space-between; gap: 12px; color:#7c828d; font-size:.84rem; }
.disclaimer { font-size:.78rem; color:#7c828d; max-width: 70ch; margin-top: 14px; }

/* Utility */
.mt0{margin-top:0}.mb0{margin-bottom:0}.mt-s{margin-top:14px}.mt-m{margin-top:26px}.mt-l{margin-top:44px}
.tag-row{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
.tag-row .pill{margin:0}

/* Responsive */
@media (max-width: 920px){
  .grid-3,.grid-4 { grid-template-columns: repeat(2,1fr); }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split--reverse .split-media { order: 0; }
  .blog-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); gap: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
}
@media (max-width: 680px){
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open { display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; align-items: stretch; background:#fff; border-bottom:1px solid var(--line