/* ChangeUp Systems — changeupsystems.com
   Analog line (POTS) service and digital conversion. Built from the "ChangeUp Systems
   Website" design. No JavaScript and no inline styles: the pages' CSP is
   style-src 'self', so every rule lives here. */

:root {
  --navy-900: #0c2340;   /* hero + footer ground */
  --navy-700: #12395f;   /* primary buttons, trust band */
  --navy-500: #1b4b79;   /* borders on dark */
  --blue:     #2f74b5;   /* accent, kickers, icons */
  --blue-400: #4a8fd0;   /* accents on dark */
  --pale:     #bcd8f0;   /* text on dark */
  --ink:      #16283c;   /* headings */
  --body:     #43566a;   /* body text */
  --muted:    #6b7c8f;
  --foot:     #92a9c0;   /* footer text */
  --line:     #dde5ee;
  --tint:     #f5f8fc;
  --tint-2:   #eef5fc;
  --white:    #ffffff;
  --shadow:   0 1px 2px rgba(12, 35, 64, 0.05), 0 12px 32px rgba(12, 35, 64, 0.06);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--navy-700); }
h1, h2, h3 { margin: 0; color: var(--ink); }
p { margin: 0; }

.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 24px; }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 10;
  background: var(--navy-700); color: var(--white);
  padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--white); }

:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 2px; }

/* ---------------------------------------------------------------- type --- */

h1 { font-size: clamp(34px, 5.2vw, 52px); line-height: 1.1; font-weight: 750; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.6vw, 38px); line-height: 1.15; letter-spacing: -0.01em; }
h3 { font-size: 20px; line-height: 1.3; }

.lede { font-size: 20px; max-width: 620px; }

.kicker {
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue);
}

.pill {
  align-self: flex-start;
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: 999px; padding: 6px 14px;
}
.pill-dark { color: var(--pale); border: 1px solid var(--navy-500); }
.pill-light { color: var(--navy-700); background: var(--white); border: 1px solid var(--pale); }

.stack { display: flex; flex-direction: column; gap: 18px; }
.stack-sm { display: flex; flex-direction: column; gap: 10px; }
.intro { max-width: 720px; display: flex; flex-direction: column; gap: 14px; }

/* ------------------------------------------------------------- buttons --- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-weight: 700; text-decoration: none; text-align: center;
}
.btn-sm { min-height: 44px; padding: 0 22px; font-weight: 600; }
.btn-navy { background: var(--navy-700); color: var(--white); }
.btn-navy:hover { background: var(--navy-900); color: var(--white); }
.btn-white { background: var(--white); color: var(--navy-700); }
.btn-white:hover { background: var(--tint-2); color: var(--navy-700); }
.btn-ghost-dark { border: 1px solid var(--blue-400); color: var(--white); font-weight: 600; }
.btn-ghost-dark:hover { background: var(--navy-500); color: var(--white); }
.btn-ghost { border: 1px solid var(--navy-700); color: var(--navy-700); font-weight: 600; }
.btn-ghost:hover { background: var(--tint-2); color: var(--navy-700); }

.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* -------------------------------------------------------------- header --- */

.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding-block: 14px;
}
.brand { display: flex; align-items: flex-end; gap: 10px; text-decoration: none; }
.brand img { height: 52px; width: auto; }
.brand-tag {
  font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--navy-700); padding-bottom: 6px;
}
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 16px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--blue); }
.nav a[aria-current="page"] { color: var(--blue); font-weight: 700; }

/* ------------------------------------------------------------ sections --- */

.band { padding-block: 88px; }
.band-dark { background: var(--navy-900); color: var(--white); }
.band-dark h1, .band-dark h2, .band-dark h3 { color: var(--white); }
.band-dark .lede, .band-dark p { color: var(--pale); }
.band-navy { background: var(--navy-700); color: var(--white); padding-block: 80px; }
.band-navy h2, .band-navy h3 { color: var(--white); }
.band-navy p { color: var(--pale); }
.band-tint { background: var(--tint); border-block: 1px solid var(--line); }
.band-pale { background: var(--tint-2); border-bottom: 1px solid var(--line); padding-block: 72px; }
.band-pale h1 { max-width: 820px; font-size: clamp(32px, 4.8vw, 48px); }
.band-pale .lede { max-width: 720px; }

.hero { padding-block: 72px 80px; }
.page-hero { padding-block: 80px; }
.page-hero h1 { max-width: 860px; font-size: clamp(32px, 5vw, 50px); }
.page-hero .lede { max-width: 700px; }

.split { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 56px; }
.split-top { align-items: flex-start; }
.col { flex: 1 1 440px; min-width: 0; }

.figure { border-radius: 20px; width: 100%; }
.figure-dark { border: 1px solid var(--navy-500); }
.figure-line { border: 1px solid var(--line); }

/* ---------------------------------------------------------- components --- */

.ticks { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 14px; font-size: 15px; color: var(--pale); }
.ticks span { display: inline-flex; align-items: center; gap: 8px; }

.mini-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; padding-top: 8px; }
.mini-card { background: var(--tint); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.mini-card strong { display: block; color: var(--ink); }
.mini-card span { font-size: 15px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 26px;
  display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow);
}
.card p, .step p, .pillar p { font-size: 16px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.step { border-top: 3px solid var(--navy-700); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.step-num { font-size: 14px; font-weight: 700; color: var(--blue); }
.step h3 { font-size: 21px; }

.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 36px; }
.pillar { display: flex; flex-direction: column; gap: 10px; }
.pillar h3 { font-size: 22px; }

.cta-box {
  background: var(--tint-2); border: 1px solid var(--pale); border-radius: 24px;
  padding: clamp(28px, 5vw, 48px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
}
.cta-box .stack-sm { flex: 1 1 460px; min-width: 0; }
.cta-box h2 { font-size: clamp(26px, 3.2vw, 34px); line-height: 1.2; }

.cta-band .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.cta-band { padding-block: 64px; }
.cta-band h2 { flex: 1 1 460px; font-size: clamp(26px, 3vw, 32px); line-height: 1.2; }

/* Solutions: one big card per line type */
.features { display: flex; flex-direction: column; gap: 28px; }
.feature {
  display: flex; flex-wrap: wrap; gap: 32px;
  border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow);
}
.feature > div { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.feature-head { display: flex; align-items: center; gap: 14px; }
.feature-head h2 { font-size: clamp(24px, 2.6vw, 28px); }
.icon-tile {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px; background: var(--tint-2);
}
.checklist {
  flex: 1 1 340px; min-width: 0; margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 10px; font-size: 16px;
}
.checklist li { display: flex; gap: 10px; }
.checklist svg { flex: none; margin-top: 3px; }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { text-align: left; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.compare thead th { padding-block: 18px; color: var(--ink); }
.compare tbody th { color: var(--ink); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th.ours { background: var(--navy-700); color: var(--white); border-bottom-color: var(--navy-700); }
.compare td.ours { background: var(--tint-2); color: var(--ink); font-weight: 600; }

.faq-wrap { max-width: 900px; }
.faq { border-top: 1px solid var(--line); }
.faq > div { padding-block: 22px; border-bottom: 1px solid var(--line); }
.faq h3 { font-size: 19px; margin-bottom: 6px; }
.faq p { font-size: 16px; }

/* About */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.stat-card {
  background: var(--tint); border: 1px solid var(--line); border-radius: 18px; padding: 32px;
  display: flex; flex-direction: column; gap: 12px;
}
.stat { font-size: 44px; line-height: 1; font-weight: 800; color: var(--navy-700); }
.stat-card h2 { font-size: 22px; }
.stat-card p { font-size: 16px; }

.story h2 { font-size: clamp(28px, 3.4vw, 36px); }
.tags {
  margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; font-size: 16px;
}
.tags li { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; color: var(--ink); }

/* Contact: email-only until form support exists */
.contact-line {
  display: flex; align-items: center; gap: 14px;
  color: var(--ink); font-weight: 600; font-size: 19px; text-decoration: none;
  overflow-wrap: anywhere;
}
a.contact-line:hover { color: var(--blue); }
.icon-circle {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 999px; background: var(--tint-2);
}
.include {
  flex: 1 1 520px; min-width: 0;
  background: var(--tint); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 4vw, 32px);
  display: flex; flex-direction: column; gap: 18px;
}
.include h3 { font-size: 20px; }
.include ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.include li { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; color: var(--ink); font-size: 16px; }
.include li span { display: block; color: var(--muted); font-size: 14px; }
.include .btn { align-self: flex-start; }

/* -------------------------------------------------------------- footer --- */

.site-footer { background: var(--navy-900); color: var(--foot); font-size: 15px; }
.footer-top {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px;
  padding-block: 56px 40px;
}
.footer-about { display: flex; flex-direction: column; gap: 12px; max-width: 360px; }
.footer-brand { display: flex; align-items: flex-end; gap: 10px; }
.footer-brand img { height: 46px; width: auto; }
.footer-brand .brand-tag { font-size: 12px; color: var(--pale); padding-bottom: 5px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: flex-start; }
.site-footer a { color: var(--pale); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-contact { display: flex; flex-direction: column; gap: 6px; }
.footer-legal { border-top: 1px solid var(--navy-700); padding-block: 18px 28px; font-size: 13px; }

@media (max-width: 560px) {
  .band { padding-block: 64px; }
  .hero, .page-hero { padding-block: 56px 64px; }
  .lede { font-size: 18px; }
  .brand img { height: 42px; }
  .nav { gap: 8px 20px; }
}

/* ------------------------------------------- products (unlisted, 669) --- */

.product-buy { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 6px; }
.price { color: var(--ink); font-size: 18px; }
.price strong { font-size: 34px; font-weight: 800; }
.price span { color: var(--muted); }
.fine { font-size: 14px; color: var(--muted); }
.product-card { text-decoration: none; color: var(--body); }
.product-card:hover { color: var(--body); border-color: var(--blue-400); }
.product-card img { border-radius: 10px; }

/* ---------------------------------------- tag count buttons (671) --- */
.qty-title { font-size: 20px; margin: 4px 0 0; }
.qty-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; width: 100%; }
@media (max-width: 480px) { .qty-grid { grid-template-columns: repeat(3, 1fr); } }
.qty-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 68px; padding: 8px 4px; border-radius: 14px;
  background: var(--navy-700); color: var(--white); text-decoration: none; text-align: center;
}
.qty-btn:hover { background: var(--navy-900); color: var(--white); }
.qty-btn strong { font-size: 18px; font-weight: 800; white-space: nowrap; }
.qty-btn span { font-size: 12px; opacity: .85; line-height: 1.2; }
