/* NextTier Communication Diagnostics — shared styles */
:root {
  --navy: #1B3A5C;
  --teal: #2A7F8F;
  --navy-dark: #142C46;
  --teal-light: #E8F2F4;
  --gray: #888888;
  --ink: #22303C;
  --paper: #FFFFFF;
  --soft: #F5F8FA;
  --line: #E2E8EC;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(27, 58, 92, 0.08);
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3 { color: var(--navy); line-height: 1.25; font-weight: 700; }
h1 { font-size: 2.4rem; margin: 0 0 0.5em; }
h2 { font-size: 1.7rem; margin: 0 0 0.6em; }
h3 { font-size: 1.2rem; margin: 0 0 0.4em; }
p { margin: 0 0 1em; }
a { color: var(--teal); }

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

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { width: 40px; height: 40px; flex: none; }
.brand-logo-full { height: 60px; width: auto; display: block; flex: none; }
.brand-icon { height: 58px; width: auto; display: block; flex: none; }
.brand-word { height: 46px; width: auto; display: block; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name strong { color: var(--navy); font-size: 1.05rem; letter-spacing: 0.2px; }
.brand-name span { color: var(--gray); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1.5px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  text-decoration: none; color: var(--navy); font-weight: 600; font-size: 0.95rem;
}
.nav-links a:hover { color: var(--teal); }
.nav-links a.active { color: var(--teal); }
.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; transition: 0.2s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; font-size: 1rem; transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 6px 18px rgba(42,127,143,0.28); }
.btn-primary:hover { background: #24707e; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  color: #fff; padding: 84px 0 92px; position: relative; overflow: hidden;
}
.hero h1 { color: #fff; max-width: 16ch; }
.hero p.lead { font-size: 1.25rem; max-width: 52ch; color: rgba(255,255,255,0.92); margin-bottom: 1.6em; }
.hero .btn-outline { color: #fff; border-color: rgba(255,255,255,0.7); }
.hero .btn-outline:hover { background: #fff; color: var(--navy); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.availability-note { margin: 18px 0 0; font-size: 0.9rem; font-weight: 600; color: rgba(255,255,255,0.85); }
.cta-band .availability-note { margin-top: -8px; margin-bottom: 26px; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: 2px;
  font-size: 0.75rem; font-weight: 700; color: rgba(255,255,255,0.85); margin-bottom: 14px;
}

/* ---------- Sections ---------- */
section.block { padding: 72px 0; }
section.block.alt { background: var(--soft); }
.section-head { text-align: center; max-width: 60ch; margin: 0 auto 48px; }
.section-head .eyebrow { color: var(--teal); }
.section-head p { color: #4a5a66; font-size: 1.1rem; }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--teal-light); color: var(--teal); margin-bottom: 16px; font-size: 1.3rem; font-weight: 700;
}
.card h3 { margin-bottom: 8px; }
.card p { color: #4a5a66; margin: 0; font-size: 0.98rem; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 26px; }
.step .num {
  counter-increment: step; flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700;
}
.step .num::before { content: counter(step); }
.step h3 { margin: 4px 0 4px; }
.step p { color: #4a5a66; margin: 0; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; align-items: start; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 34px; box-shadow: var(--shadow);
  position: relative;
}
.price-card.featured { border: 2px solid var(--teal); }
.price-badge {
  position: absolute; top: -14px; left: 34px; background: var(--teal); color: #fff;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  padding: 6px 14px; border-radius: 999px;
}
.price-card h3 { font-size: 1.35rem; }
.price { font-size: 2.5rem; font-weight: 800; color: var(--navy); margin: 8px 0 2px; }
.price small { font-size: 0.95rem; color: var(--gray); font-weight: 500; }
.price-sub { color: var(--gray); font-size: 0.92rem; margin-bottom: 20px; }
.feature-list { list-style: none; padding: 0; margin: 0 0 26px; }
.feature-list li { padding: 9px 0 9px 30px; position: relative; color: #3c4a55; border-bottom: 1px solid var(--soft); }
.feature-list li::before {
  content: "✓"; position: absolute; left: 0; top: 9px; color: var(--teal); font-weight: 800;
}

/* ---------- Forms ---------- */
.form-wrap { max-width: 620px; margin: 0 auto; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 36px; box-shadow: var(--shadow); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 7px; font-size: 0.95rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid #cdd8de; border-radius: 10px;
  font-size: 1rem; font-family: inherit; color: var(--ink); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(42,127,143,0.15);
}
.field textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--gray); margin-top: 6px; }
.form-success {
  display: none; background: var(--teal-light); border: 1px solid var(--teal);
  color: var(--navy); padding: 18px 20px; border-radius: 12px; margin-bottom: 20px; font-weight: 500;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  color: #fff; text-align: center; padding: 64px 24px; border-radius: 18px;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 52ch; margin: 0 auto 26px; font-size: 1.1rem; }
.cta-band .btn-primary { background: #fff; color: var(--navy); }
.cta-band .btn-primary:hover { background: #eef6f7; }

/* ---------- Info blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split ul { padding-left: 0; list-style: none; }
.split ul li { padding: 8px 0 8px 30px; position: relative; color: #3c4a55; }
.split ul li::before { content: "→"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.lead-quote {
  border-left: 4px solid var(--teal); padding: 6px 0 6px 22px; margin: 24px 0;
  color: var(--navy); font-size: 1.15rem; font-style: italic;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.8); padding: 48px 0 28px; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 28px; margin-bottom: 28px; }
.site-footer h4 { color: #fff; font-size: 0.95rem; margin: 0 0 12px; }
.site-footer a { color: rgba(255,255,255,0.8); text-decoration: none; display: block; margin-bottom: 8px; font-size: 0.92rem; }
.site-footer a:hover { color: #fff; }
.footer-brand { max-width: 260px; }
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.65); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 20px; font-size: 0.82rem; color: rgba(255,255,255,0.55); text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.45rem; }
  .grid-3, .grid-2, .price-grid, .split { grid-template-columns: 1fr; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0; padding: 8px 0; border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 24px; width: 100%; }
  .nav-toggle { display: block; }
  .brand-logo-full { height: 48px; }
  .brand-icon { height: 46px; }
  .brand-word { height: 36px; }
  .hero { padding: 60px 0 66px; }
}

/* Brand tagline under the logo */
.brand-stack { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.brand-tagline { color: var(--navy); font-style: italic; font-size: 0.88rem; letter-spacing: 0.2px; line-height: 1.1; }
@media (max-width: 560px){ .brand-tagline { font-size: 0.74rem; } }
