/* Solutions Resource Group - site styles */
:root {
  --navy: #203243;
  --navy-deep: #16232f;
  --orange: #f47726;
  --orange-hover: #e0661a;

  --bg: #ffffff;
  --bg-band: #f5f7f9;
  --surface: #ffffff;
  --text: #1d2a36;
  --muted: #5b6876;
  --border: #e3e8ed;
  --heading: var(--navy);
  --shadow: 0 1px 2px rgba(16, 24, 32, .06), 0 8px 24px rgba(16, 24, 32, .08);

  --radius: 14px;
  --container: 1160px;
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111b24;
    --bg-band: #16232f;
    --surface: #1b2a37;
    --text: #dbe3ea;
    --muted: #9aa8b5;
    --border: #2a3b4a;
    --heading: #ffffff;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); color: var(--heading); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.accent { color: var(--orange); }
.eyebrow {
  font: 600 .8rem/1 var(--font-head);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--orange); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

/* Logos: navy wordmark on light, white wordmark on dark */
.logo-on-dark { display: none; }
@media (prefers-color-scheme: dark) {
  .logo-on-light { display: none; }
  .logo-on-dark { display: block; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 1rem/1 var(--font-head);
  padding: .95em 1.5em;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-hover); }
.btn-ghost { border-color: var(--border); color: var(--heading); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-sm { padding: .7em 1.15em; font-size: .92rem; }
.btn-lg { padding: 1.1em 1.9em; font-size: 1.05rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 44px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { text-decoration: none; font-weight: 500; color: var(--muted); }
.site-nav a:not(.btn):hover { color: var(--heading); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--heading); border-radius: 2px; transition: transform .2s, opacity .2s; }

/* Hero */
.hero { padding: 72px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.hero-visual { position: relative; min-height: 470px; }
.window {
  position: absolute; top: 0; left: 0; right: 96px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.window-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--navy); }
.window-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.25); }
.window-bar span:first-child { background: var(--orange); }
.window-bar em { margin-left: 12px; font: 500 .78rem var(--font-body); font-style: normal; color: rgba(255,255,255,.7); }
.window-body { padding: 20px; }
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi { background: var(--bg-band); border-radius: 10px; padding: 12px; }
.kpi small { display: block; font-size: .72rem; color: var(--muted); }
.kpi strong { font: 700 1.5rem/1.2 var(--font-head); color: var(--heading); }
.accent-kpi strong { color: var(--orange); }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 96px; margin: 20px 0; padding: 0 76px 0 4px; border-bottom: 1px solid var(--border); }
.bars span { flex: 1; height: var(--h); background: linear-gradient(var(--navy), color-mix(in srgb, var(--navy) 70%, var(--bg))); border-radius: 6px 6px 0 0; }
.bars span:last-child { background: var(--orange); }
@media (prefers-color-scheme: dark) { .bars span { background: linear-gradient(#4a6178, #2c3e50); } .bars span:last-child { background: var(--orange); } }
.task-list { list-style: none; margin: 0; padding: 0; font-size: .88rem; }
.task-list li { padding: 6px 0 6px 26px; position: relative; color: var(--muted); }
.task-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--border); }
.task-list li.done { color: var(--text); }
.task-list li.done::before { background: var(--orange); border-color: var(--orange); }

.phone {
  position: absolute; right: 0; top: 196px; width: 170px; height: 270px;
  background: var(--navy); border-radius: 28px; padding: 26px 12px 12px;
  box-shadow: var(--shadow); border: 4px solid var(--navy-deep);
}
.phone-notch { position: absolute; top: 8px; left: 50%; translate: -50% 0; width: 56px; height: 8px; border-radius: 6px; background: var(--navy-deep); }
.phone-card { background: #fff; border-radius: 12px; padding: 10px 12px; margin-bottom: 10px; font-size: .78rem; border-left: 4px solid var(--orange); }
.phone-card b { display: block; color: var(--navy); font-family: var(--font-head); }
.phone-card span { color: #5b6876; }
.phone-card.muted { border-left-color: #8fa3b5; }

/* Sections */
.section { padding: 96px 0; }
.band { background: var(--bg-band); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-lead { color: var(--muted); font-size: 1.08rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.pain { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; border-top: 4px solid var(--orange); }
.pain p { color: var(--muted); margin: 0; }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--orange) 40%, var(--border)); }
.card p { color: var(--muted); margin: 0; }
.icon {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--orange) 12%, transparent);
}
.icon svg { width: 26px; height: 26px; fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: none; }
.steps li { position: relative; padding: 28px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.steps p { color: var(--muted); margin: 0; font-size: .96rem; }
.step-num { display: inline-block; font: 700 .85rem/1 var(--font-head); color: #fff; background: var(--navy); padding: 8px 10px; border-radius: 8px; margin-bottom: 16px; }
@media (prefers-color-scheme: dark) { .step-num { background: var(--orange); } }

/* Case study */
.case {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) + 6px);
  padding: 48px; box-shadow: var(--shadow);
}
.case-tag { font: 600 .78rem var(--font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.case h3 { font-size: 1.7rem; }
.checks { list-style: none; padding: 0; margin: 0 0 1.4em; }
.checks li { position: relative; padding: 4px 0 4px 30px; }
.checks li::before {
  content: ""; position: absolute; left: 2px; top: 11px; width: 14px; height: 8px;
  border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(-45deg);
}
.text-link { font: 600 1rem var(--font-head); color: var(--orange); text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.case-visual { display: grid; place-items: center; }
.slot-card { width: 100%; max-width: 340px; background: var(--navy); color: #fff; border-radius: 18px; padding: 24px; }
.slot-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.slot-head b { font-family: var(--font-head); font-size: 1.1rem; }
.slot-head span { color: rgba(255,255,255,.65); font-size: .9rem; }
.slots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.slots span { aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; font: 600 .78rem var(--font-head); }
.slots .filled { background: rgba(255,255,255,.14); }
.slots .open { border: 2px dashed var(--orange); color: var(--orange); }
.slot-alert { margin-top: 18px; background: var(--orange); border-radius: 10px; padding: 10px 14px; font: 600 .9rem var(--font-head); }

/* Why */
.why-item { padding: 8px 8px 8px 24px; border-left: 3px solid var(--orange); }
.why-item p { color: var(--muted); margin: 0; }

/* CTA */
.cta { background: var(--navy); color: #fff; text-align: center; }
.cta-inner { max-width: 760px; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.78); font-size: 1.1rem; margin-bottom: 2rem; }
.cta-mark { height: 56px; width: auto; margin: 0 auto 28px; }

/* Footer */
.site-footer { padding: 40px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.site-footer .brand img { height: 36px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer nav a { text-decoration: none; color: var(--muted); font-size: .95rem; }
.site-footer nav a:hover { color: var(--orange); }
.copyright { width: 100%; margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.8; }
.copyright sup { font-size: .65em; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .case { grid-template-columns: 1fr; }
  .hero-visual { min-height: 360px; max-width: 520px; width: 100%; margin: 0 auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .case { padding: 32px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .hero { padding: 40px 0 64px; }
  .brand img { height: 36px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 8px 16px 20px; display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--border); }
  .site-nav .btn { margin-top: 16px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .grid-3, .grid-2, .steps { grid-template-columns: 1fr; }
  .hero-visual { min-height: 420px; }
  .window { right: 56px; }
  .kpi-row { grid-template-columns: repeat(2, 1fr); }
  .kpi.accent-kpi { display: none; }
  .phone { width: 140px; height: 230px; top: 170px; }
  .case { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
