/* www.campbaggagelgs.com: the parent company's own site (Mike, 2026-10-09).
   Static, no third-party requests (no web fonts, no analytics, no scripts), so the
   privacy notice stays true. Colors follow the family sites' navy. The pages link
   this sheet as site.css?v=N; bump N on every change (nginx caches it 7 days). */
:root {
  --bg: #ffffff;
  --bg-alt: #f3f6f9;
  --surface: #ffffff;
  --ink: #0b1a25;
  --muted: #4a5d6c;
  --line: #dde3e8;
  --accent: #006496;
  --accent-ink: #ffffff;
  --navy: #0b1a25;
  --navy-2: #20394a;
  --sky: #8ec5ff;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1a25;
    --bg-alt: #102231;
    --surface: #13293a;
    --ink: #e8eef2;
    --muted: #a9bac6;
    --line: #2a4456;
    --accent: #8ec5ff;
    --accent-ink: #0b1a25;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { letter-spacing: -0.015em; }
a { color: var(--accent); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1040px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.wrap.narrow { max-width: 720px; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* Header */
.top { background: var(--navy); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.top a.name { color: #fff; text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: .01em; }
.top nav { display: flex; gap: 24px; }
.top nav a { color: #b9cddb; text-decoration: none; font-size: 15px; }
.top nav a:hover, .top a.name:hover { color: #fff; }

/* Hero */
.hero {
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(142, 197, 255, .18), transparent 70%),
    linear-gradient(180deg, var(--navy) 0%, #12283a 100%);
  color: #fff;
  text-align: center;
  padding: 96px 0 104px;
}
.eyebrow { margin: 0 0 14px; color: var(--sky); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { font-size: clamp(32px, 5.4vw, 52px); line-height: 1.12; margin: 0 auto 20px; max-width: 16em; }
.hero .lead { color: #c8d8e4; font-size: clamp(17px, 2.1vw, 19px); margin: 0 auto; max-width: 36em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.btn {
  display: inline-block; padding: 13px 24px; border-radius: 10px;
  font-weight: 600; font-size: 16px; text-decoration: none; line-height: 1.2;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: #ffffff; color: var(--navy); }
.btn.primary:hover { background: #e6f1fb; }
.btn.ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); }
.btn.ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }

/* Sections */
.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }
.section h2 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.2; margin: 0 0 12px; }
.heading { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.heading p { color: var(--muted); margin: 0; font-size: 18px; }

/* Company cards */
.brands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 840px; margin: 0 auto; }
.brand {
  display: flex; flex-direction: column; text-align: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; text-decoration: none; color: inherit;
  box-shadow: 0 1px 2px rgba(11, 26, 37, .05), 0 8px 24px rgba(11, 26, 37, .06);
  transition: transform .18s ease, box-shadow .18s ease;
}
.brand:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(11, 26, 37, .06), 0 16px 36px rgba(11, 26, 37, .12); }
.brand .logo { height: 200px; display: flex; align-items: center; justify-content: center; padding: 24px; }
.brand .logo img { max-height: 148px; max-width: 78%; height: auto; width: auto; }
.brand.cb .logo { background: #ffffff; border-bottom: 1px solid var(--line); }
.brand.rb .logo { background: var(--navy-2); }
.brand .body { padding: 22px 24px 26px; }
.brand h3 { font-size: 21px; margin: 0 0 6px; }
.brand p { margin: 0 0 16px; color: var(--muted); font-size: 16px; }
.brand .go { font-weight: 600; color: var(--accent); font-size: 15px; }

/* Steps */
.steps { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 980px; }
.steps li {
  text-align: center; background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 32px 24px 28px;
}
.steps .icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%; margin-bottom: 16px;
  background: rgba(0, 100, 150, .1); color: var(--accent);
}
@media (prefers-color-scheme: dark) { .steps .icon { background: rgba(142, 197, 255, .12); } }
.steps h3 { font-size: 19px; margin: 0 0 8px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }
.note { text-align: center; color: var(--muted); margin: 36px auto 0; max-width: 560px; font-size: 16px; }

.contact { background: var(--bg-alt); }
.contact p { color: var(--muted); margin: 0 0 10px; }
.contact a { font-weight: 600; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 14px; color: var(--muted); text-align: center; }
footer .wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; }
footer nav { display: flex; gap: 22px; }
footer nav a { color: var(--muted); text-decoration: none; }
footer nav a:hover { color: var(--accent); text-decoration: underline; }
body:not(.home) footer { margin-top: 56px; }

/* Legal pages */
.doc { max-width: 760px; margin: 40px auto 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 36px clamp(18px, 5vw, 52px) 40px; }
.doc h1 { font-size: clamp(28px, 4vw, 36px); margin: 0 0 4px; line-height: 1.2; }
.doc .updated { color: var(--muted); margin: 0 0 28px; font-size: 15px; }
.doc h2 { font-size: 19px; margin: 32px 0 8px; }
.doc ul { padding-left: 22px; }
.doc .short { background: var(--bg-alt); border-left: 4px solid var(--accent); padding: 14px 18px; border-radius: 8px; margin: 0 0 8px; }

@media (max-width: 760px) {
  .brands, .steps { grid-template-columns: minmax(0, 1fr); max-width: 460px; }
  .section { padding: 60px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .top .wrap { flex-direction: column; justify-content: center; gap: 4px; padding-top: 12px; padding-bottom: 12px; }
  .top nav { gap: 18px; }
  .hero { padding: 64px 0 72px; }
  .cta .btn { width: 100%; max-width: 320px; }
  .brand .logo { height: 170px; }
}
