/* ===========================================================
   CloudColleague site — chrome + page styles
   Stacked on top of /colors_and_type.css.
   =========================================================== */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg-page);
  color: var(--fg-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button { cursor: pointer; font-family: inherit; border: 0; background: transparent; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
input, textarea, select { font: inherit; color: inherit; }

.cc-page {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
  position: relative;
  background:
    radial-gradient(80% 50% at 50% 0%, rgba(110,200,255,0.16) 0%, rgba(110,200,255,0) 60%),
    radial-gradient(60% 50% at 0% 30%, rgba(17,183,244,0.08) 0%, rgba(17,183,244,0) 60%),
    var(--bg-page);
}
main { min-height: 60vh; }

/* ---------- shared ---------- */
.cc-section { padding: 80px 0; }
.cc-section-head { display: flex; flex-direction: column; gap: 12px; max-width: 800px; margin-bottom: 36px; }
.cc-section-head.cc-head-row { flex-direction: row; align-items: flex-end; justify-content: space-between; max-width: none; }
.cc-section-head.cc-center { align-items: center; text-align: center; margin: 0 auto 36px; }

.cc-section-sub { font-size: 18px; line-height: 28px; color: var(--fg-body); margin: 0; }
.cc-section-sub.cc-center-text { max-width: 720px; }

.cc-eyebrow {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px;
  border-radius: 999px; background: rgba(2,132,199,0.08); color: var(--sky-700);
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em; width: max-content;
}

.cc-h1 { font-family: Poppins; font-weight: 600; font-size: 56px; line-height: 1.06; letter-spacing: -0.022em; color: var(--sky-900); margin: 0; }
.cc-h2 { font-family: Poppins; font-weight: 600; font-size: 44px; line-height: 1.1; letter-spacing: -0.022em; color: var(--neutral-900); margin: 0; }
.cc-h3 { font-family: Poppins; font-weight: 600; font-size: 30px; line-height: 1.2; letter-spacing: -0.01em; color: var(--neutral-900); margin: 0; }
.cc-h4 { font-family: Poppins; font-weight: 600; font-size: 22px; line-height: 1.25; color: var(--neutral-900); margin: 0; }

.cc-link, .cc-link-fwd { color: var(--sky-700); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.cc-link-fwd:hover { color: var(--sky-600); }

/* ---------- buttons ---------- */
.cc-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 100px; font-family: Poppins; font-weight: 600; font-size: 14px; line-height: 22px; transition: all .15s ease-out; }
.cc-btn-primary { background: var(--sky-600); color: #fff; box-shadow: 0 4px 14px rgba(2,132,199,0.30); }
.cc-btn-primary:hover { background: var(--sky-700); }
.cc-btn-ghost { color: var(--neutral-700); }
.cc-btn-ghost:hover { background: var(--neutral-100); }
.cc-btn-lg { padding: 12px 22px; font-size: 15px; }
.cc-btn-secondary { background: #fff; color: var(--sky-700); border: 1px solid var(--sky-200); }
.cc-btn-secondary:hover { background: var(--sky-50); }
.cc-cta-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px;
  background: linear-gradient(180deg, #57C3FF 0%, #2B8FF2 100%);
  color: #fff; font-family: Poppins; font-weight: 600; font-size: 15px;
  box-shadow: 0 12px 26px -12px rgba(17,100,244,0.55), inset 0 1px 0 1px rgba(255,255,255,0.18);
  transition: filter .15s, transform .12s;
}
.cc-cta-pill:hover { filter: brightness(1.05); }
.cc-cta-pill:active { transform: scale(0.98); }

/* ---------- NAV ---------- */
.cc-nav {
  position: sticky; top: 14px; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px 10px 24px;
  background: rgba(255,255,255,0.7); backdrop-filter: blur(24px);
  border-radius: 100px;
  box-shadow: 0 4px 60px rgba(8,47,73,0.10), inset 0 1px 0 0 rgba(255,255,255,0.5);
  border: 1px solid rgba(2,132,199,0.06);
  margin-top: 14px;
}
.cc-nav-brand { display: flex; align-items: center; gap: 10px; }
.cc-nav-brand img { width: 36px; height: 24px; object-fit: contain; }
.cc-nav-brand span { font-family: Outfit, sans-serif; font-weight: 500; font-size: 18px; letter-spacing: -0.01em; color: var(--sky-600); }
.cc-nav-links { display: flex; gap: 2px; }
.cc-nav-item { position: relative; }
.cc-nav-trigger {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 14px; font-size: 14px; font-weight: 500;
  color: var(--neutral-700); border-radius: 100px;
  cursor: pointer; transition: all .15s ease-out;
}
.cc-nav-trigger:hover, .cc-nav-trigger.active { color: var(--sky-700); background: rgba(2,132,199,0.06); }
.cc-nav-trigger svg { transition: transform .2s ease-out; opacity: 0.6; }
.cc-nav-item:hover .cc-nav-trigger svg { transform: rotate(180deg); opacity: 1; }
.cc-nav-menu {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  min-width: 460px;
  background: #fff;
  border: 1px solid rgba(2,132,199,0.10);
  border-radius: 20px;
  box-shadow: 0 20px 50px -12px rgba(8,47,73,0.20);
  padding: 14px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  z-index: 40;
  animation: cc-menu-in .15s ease-out;
}
@keyframes cc-menu-in { from { opacity: 0; transform: translate(-50%, -4px); } to { opacity: 1; transform: translate(-50%, 0); } }
.cc-nav-group { padding: 6px; display: flex; flex-direction: column; gap: 2px; }
.cc-nav-group-h { font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--neutral-500); padding: 6px 8px 8px; }
.cc-nav-menu-item {
  display: block; padding: 8px 10px;
  font-size: 13.5px; font-weight: 500; color: var(--neutral-700);
  border-radius: 8px; transition: all .15s ease-out;
}
.cc-nav-menu-item:hover { background: var(--sky-50); color: var(--sky-700); }

.cc-nav-actions { display: flex; gap: 6px; align-items: center; }
.cc-nav-meta { padding: 0 10px; font-size: 12px; font-weight: 500; color: var(--neutral-600); }

/* ---------- inputs ---------- */
.cc-input { display: flex; align-items: center; gap: 10px; background: #fff; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--neutral-200); transition: all .15s ease-out; }
.cc-input:focus-within { border-color: var(--sky-600); box-shadow: 0 0 0 4px rgba(2,132,199,0.12); }
.cc-input input, .cc-input select, .cc-input textarea { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 400 15px/22px Poppins; color: var(--neutral-800); }
.cc-input input::placeholder { color: var(--neutral-400); }
.cc-field { display: flex; flex-direction: column; gap: 6px; }
.cc-field label { font-size: 13px; font-weight: 600; color: var(--neutral-700); }
.cc-field .help { font-size: 12px; color: var(--neutral-500); margin-top: 2px; }

/* ---------- card ---------- */
.cc-card { background: #fff; border: 1px solid rgba(2,132,199,0.10); border-radius: 20px; padding: 24px; transition: transform .15s, box-shadow .15s; }
.cc-card.hover-lift:hover { transform: translateY(-3px); box-shadow: 0 12px 24px -8px rgba(8,47,73,0.10); }

/* ---------- chip ---------- */
.cc-chip { padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: var(--neutral-700); background: var(--neutral-100); display: inline-flex; align-items: center; gap: 6px; }
.cc-chip.brand { background: var(--sky-100); color: var(--sky-700); box-shadow: inset 0 0 0 1px var(--sky-200); }
.cc-chip.green { background: rgba(13,153,47,0.10); color: #0D992F; }
.cc-chip.amber { background: rgba(230,164,2,0.10); color: #B8740F; }

/* ---------- generic page heading block ---------- */
.cc-page-hero { padding: 80px 0 40px; }
.cc-page-hero .cc-eyebrow { margin-bottom: 18px; }
.cc-page-hero p { font-size: 18px; line-height: 28px; color: var(--neutral-600); max-width: 720px; margin-top: 14px; }

/* ---------- FOOTER (same as v2, namespaced) ---------- */
.cc-footer { margin: 80px -80px 0; padding: 80px; background:
  linear-gradient(180deg, rgba(10,48,87,0.97), rgba(10,48,87,0.97)),
  radial-gradient(60% 40% at 0% 0%, rgba(56,189,248,0.12), rgba(56,189,248,0) 60%);
  color: #fff;
}
.cc-footer-top { padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.cc-footer-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; }
.cc-footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.cc-footer-col a { font-size: 13.5px; color: rgba(255,255,255,0.72); transition: color .15s; }
.cc-footer-col a:hover { color: #fff; }
.cc-footer-h { font-family: Poppins; font-weight: 600; font-size: 14px; color: #fff; margin-bottom: 16px; }
.cc-footer-addr { margin: 0 0 8px; font-size: 13.5px; line-height: 22px; color: rgba(255,255,255,0.72); }
.cc-footer-contact { display: block; font-size: 13.5px; color: rgba(110,200,255,0.95); margin-bottom: 4px; }
.cc-footer-contact:hover { color: #fff; }
.cc-footer-mid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; padding: 40px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.cc-footer-brand-block { display: flex; flex-direction: column; gap: 16px; }
.cc-footer-brand { display: flex; align-items: center; gap: 10px; }
.cc-footer-brand img { width: 36px; height: 24px; }
.cc-footer-brand span { font-family: Outfit, sans-serif; font-weight: 500; font-size: 22px; color: #fff; }
.cc-footer-tag { margin: 0; max-width: 460px; font-size: 14px; line-height: 22px; color: rgba(255,255,255,0.72); }
.cc-footer-social { display: flex; gap: 10px; }
.cc-social-btn { width: 38px; height: 38px; border-radius: 999px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10); color: rgba(255,255,255,0.85); display: flex; align-items: center; justify-content: center; transition: all .15s; }
.cc-social-btn:hover { background: rgba(56,189,248,0.18); color: #fff; border-color: rgba(110,200,255,0.40); }
.cc-footer-subscribe { display: flex; flex-direction: column; gap: 12px; }
.cc-sub-h { font-family: Poppins; font-weight: 600; font-size: 16px; color: #fff; }
.cc-sub-p { margin: 0; font-size: 13px; line-height: 20px; color: rgba(255,255,255,0.65); max-width: 360px; }
.cc-sub-form { display: flex; gap: 8px; padding: 6px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 100px; max-width: 420px; }
.cc-sub-form:focus-within { border-color: rgba(110,200,255,0.50); }
.cc-sub-form input { flex: 1; border: 0; outline: 0; background: transparent; padding: 8px 14px; color: #fff; }
.cc-sub-form input::placeholder { color: rgba(255,255,255,0.40); }
.cc-sub-form button { padding: 10px 20px; border-radius: 100px; background: linear-gradient(180deg, #57C3FF, #2B8FF2); color: #fff; font: 600 14px Poppins; box-shadow: 0 4px 12px rgba(17,100,244,0.30), inset 0 1px 0 1px rgba(255,255,255,0.18); }
.cc-footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; color: rgba(255,255,255,0.60); font-size: 12.5px; }
.cc-footer-stores { display: flex; gap: 10px; }
.cc-store { display: inline-block; padding: 8px 14px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; font-size: 11px; line-height: 14px; color: #fff; }
.cc-store strong { display: block; font-size: 9px; font-weight: 500; color: rgba(255,255,255,0.6); margin-bottom: 2px; }

/* Static-host polish added by ChatGPT */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
.v2-cta-video {
  position: absolute;
  inset: 0;
  opacity: .42;
  background:
    radial-gradient(circle at 15% 20%, rgba(14,165,233,.55), transparent 32%),
    radial-gradient(circle at 85% 10%, rgba(56,189,248,.36), transparent 28%),
    linear-gradient(135deg, rgba(7,89,133,.94), rgba(2,132,199,.72));
  pointer-events: none;
}
.cc-page-hero, .cc-section, .cc-jobs-toolbar, .cc-jobs-grid, .cc-job-detail-grid, .cc-contact-grid, .cc-legal-grid, .cc-cats-grid {
  max-width: min(1180px, calc(100vw - 40px));
}
@media (max-width: 980px) {
  .cc-nav-menu, .cc-nav-right { display: none; }
  .cc-jobs-grid, .cc-job-detail-grid, .cc-contact-grid, .cc-legal-grid { grid-template-columns: 1fr !important; }
  .cc-jobs-toolbar { flex-direction: column; align-items: stretch; }
  .cc-select, .cc-input { width: 100%; }
}
@media (max-width: 680px) {
  .cc-h1 { font-size: clamp(40px, 12vw, 64px) !important; }
  .cc-h2 { font-size: clamp(32px, 9vw, 48px) !important; }
  .cc-page-hero { padding-top: 72px !important; }
  .cc-job-header, .cc-job-detail-header { flex-direction: column; align-items: flex-start !important; }
  .cc-job-detail-actions { width: 100%; }
  .cc-job-detail-actions .cc-cta-pill, .cc-job-detail-actions .cc-btn { width: 100%; justify-content: center; }
}
