/* ChangeUp Consulting — changeupcrew.com root site
   No external requests: system font stack only, no CDN, no analytics. */

:root {
  --navy-900: #0c2340;
  --navy-800: #12395f;
  --navy-700: #1b4b79;
  --blue-600: #2f74b5;
  --blue-500: #4a8fd0;
  --blue-200: #bcd8f0;
  --blue-050: #eef5fc;

  --ink: #16283c;
  --body: #43566a;
  --muted: #6b7c8f;
  --line: #dde5ee;
  --surface: #ffffff;
  --surface-alt: #f5f8fc;

  --wrap: 1080px;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(12, 35, 64, 0.05), 0 12px 32px rgba(12, 35, 64, 0.06);

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--blue-600);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-900);
  color: #fff;
  padding: 12px 20px;
  z-index: 100;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 39px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.site-nav a {
  color: var(--body);
  font-size: 15px;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--navy-800);
  text-decoration: none;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease,
    color 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--navy-800);
  color: #fff;
}

.btn-primary:hover {
  background: var(--navy-900);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--navy-800);
  background: #fff;
}

.btn-ghost:hover {
  border-color: var(--blue-500);
  color: var(--blue-600);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 16px;
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(180deg, var(--blue-050) 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
  padding: 92px 0 84px;
}

.hero .wrap {
  max-width: 860px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue-600);
  background: #fff;
  border: 1px solid var(--blue-200);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.4rem);
  margin-bottom: 0.55em;
  text-wrap: balance;
}

.hero .lede {
  font-size: clamp(1.05rem, 2.1vw, 1.28rem);
  color: var(--body);
  max-width: 680px;
  margin: 0 auto 2.2em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ---------- Sections ---------- */

.section {
  padding: 84px 0;
}

.section-alt {
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 660px;
  margin-bottom: 52px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
}

.section-head p {
  font-size: 1.06rem;
  margin-bottom: 0;
}

/* ---------- Service cards ---------- */

/* Four cards: 2x2 from tablet up, single column on phones. A 280px floor would
   fit three across and leave the fourth stranded on its own row. */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: border-color 0.15s ease, transform 0.15s ease,
    box-shadow 0.15s ease;
}

.card:hover {
  border-color: var(--blue-200);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.13rem;
  margin-bottom: 0.45em;
}

.card p {
  font-size: 0.96rem;
  margin-bottom: 0;
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--blue-050);
  color: var(--blue-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card-icon svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Process steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  counter-reset: step;
}

.step {
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--blue-500);
  margin-bottom: 14px;
}

.step h3 {
  font-size: 1.13rem;
}

.step p {
  font-size: 0.96rem;
  margin-bottom: 0;
}

/* ---------- App callout ---------- */

.callout {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
  background: var(--navy-900);
  border-radius: 20px;
  padding: 52px 56px;
  color: #c7d8e8;
}

.callout h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.callout p {
  max-width: 52ch;
}

.callout p:last-of-type {
  margin-bottom: 28px;
}

.callout .btn-primary {
  background: #fff;
  color: var(--navy-900);
}

.callout .btn-primary:hover {
  background: var(--blue-200);
}

.callout-art img {
  width: 132px;
  height: 132px;
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.facts {
  margin: 0;
  border-left: 3px solid var(--blue-200);
  padding-left: 26px;
}

.facts dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts dd {
  margin: 4px 0 22px;
  color: var(--ink);
  font-weight: 500;
}

.facts dd:last-child {
  margin-bottom: 0;
}

/* ---------- Contact ---------- */

.contact {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.contact h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  text-wrap: balance;
}

.contact .lede {
  font-size: 1.06rem;
  margin-bottom: 2em;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-900);
  color: #92a9c0;
  padding: 52px 0 40px;
  font-size: 0.92rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-top img {
  height: 42px;
  width: auto;
  opacity: 0.95;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

.site-footer a {
  color: #c7d8e8;
}

.footer-legal {
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}

.footer-legal p {
  margin: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .callout {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 44px 32px;
    justify-items: center;
  }

  .callout p {
    margin-left: auto;
    margin-right: auto;
  }

  .callout-art {
    order: -1;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .site-nav a:not(.btn) {
    display: none;
  }

  .site-header .wrap {
    gap: 16px;
  }

  .hero {
    padding: 64px 0 60px;
  }

  .section {
    padding: 60px 0;
  }

  .hero-actions .btn,
  .contact-actions .btn {
    flex: 1 1 240px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
