/* Cloud Based Jobs: sky blue, white clouds, a little sunshine; Sora and DM Sans */
:root {
  --bg: #f5faff;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #eef6ff;
  --text: #0b1b33;
  --muted: #475b78;
  --line: rgba(11, 27, 51, .1);
  --accent: #2563eb;
  --accent-2: #f59e0b;
  --on-accent: #ffffff;
  --ok: #16a34a;
  --bad: #dc2626;
  --grad: linear-gradient(100deg, #2563eb, #38bdf8 60%, #2563eb);
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-mono: "Sora", system-ui, sans-serif;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(11, 27, 51, .05), 0 24px 50px -26px rgba(37, 99, 235, .35);
}
h1, h2, h3 { font-weight: 700; letter-spacing: -.035em; }
.eyebrow { letter-spacing: .12em; font-size: 12px; }
.brand { font-weight: 700; font-size: 18px; letter-spacing: -.03em; }
.brand b { color: var(--accent); font-weight: 700; }
.card { box-shadow: var(--shadow); }
.nav.scrolled { background: rgba(245, 250, 255, .82); }
.btn-ghost { background: #fff; }
.pill, .seg, .chip span, .input, .faq details { background: #fff; }
.faq details[open] { box-shadow: var(--shadow); background: #fff; }

/* Hero */
.cbj-hero { background: linear-gradient(180deg, #cfe7ff 0%, #e6f3ff 45%, #f5faff 100%); }
.cbj-sky { position: absolute; inset: 0; pointer-events: none; }
.cbj-clouds { animation: cbj-drift 40s ease-in-out infinite alternate; }
.cbj-hills { top: auto; height: 40%; bottom: 0; }
@keyframes cbj-drift { to { transform: translateX(-4%); } }
.cbj-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.cbj-h1 { font-size: clamp(44px, 6.8vw, 92px); line-height: 1.02; }
.cbj-loop { display: grid; color: var(--accent); }
.cbj-loop > span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .1em; }
.cbj-feed { position: relative; }
.cbj-feed-label { position: absolute; top: -34px; left: 0; z-index: 2; font: 600 12px var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cbj-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; height: min(560px, 64vh); }
.cbj-cols .marquee-y { height: 100%; }
.cbj-job { display: grid; gap: 10px; padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 16px 40px -24px rgba(37, 99, 235, .45); }
.cbj-job b { font: 600 16.5px/1.25 var(--font-display); letter-spacing: -.02em; }
.cbj-job-cat { justify-self: start; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: #e0edff; padding: 4px 9px; border-radius: 999px; }
.cbj-job-meta { display: grid; gap: 4px; font-size: 13.5px; color: var(--muted); }
.cbj-job-meta span { display: inline-flex; align-items: center; gap: 6px; }
.cbj-job-meta .i { width: 15px; height: 15px; color: var(--accent); }

/* Rules */
.cbj-rules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cbj-rules .card { padding-top: 30px; }
.cbj-rule-n { position: absolute; top: 14px; right: 20px; font: 800 64px/1 var(--font-display); color: #e7f0fd; letter-spacing: -.05em; z-index: 0; }

/* Alert builder */
.cbj-alert-sec { background: linear-gradient(180deg, transparent, #e8f2ff 30%, #e8f2ff 75%, transparent); }
.cbj-builder { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; align-items: start; }
.cbj-b-in { display: grid; gap: 22px; padding: clamp(20px, 3vw, 34px); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.cbj-b-in fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.cbj-b-in .label { display: flex; justify-content: space-between; align-items: baseline; }
.cbj-b-in output { font: 700 18px var(--font-display); color: var(--accent); }
.cbj-level { justify-self: start; background: var(--surface-2); flex-wrap: wrap; }
.cbj-preview { position: sticky; top: calc(var(--nav-h) + 16px); }
.cbj-mail { display: grid; gap: 16px; border-radius: 22px; }
.cbj-mail-top { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.cbj-mail-logo svg { width: 40px; height: 40px; }
.cbj-mail-top b { display: block; font: 600 15px var(--font-display); }
.cbj-mail-top small { color: var(--muted); }
.cbj-mail-new { margin-left: auto; font-size: 11.5px; font-weight: 700; color: #fff; background: var(--accent-2); padding: 4px 10px; border-radius: 999px; }
.cbj-mail-h { font: 700 clamp(24px, 2.6vw, 30px)/1.15 var(--font-display); letter-spacing: -.03em; }
.cbj-mail-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--muted); }
.cbj-mail-rows li { display: flex; gap: 10px; align-items: center; }
.cbj-mail-rows .i { color: var(--accent); }
.cbj-mail .btn { justify-self: start; }
.cbj-flash { animation: cbj-flash .5s var(--ease-out); }
@keyframes cbj-flash { from { opacity: .3; transform: translateY(4px); } }

/* Categories */
.cbj-cats .card h3 { font-size: 22px; }

/* Join */
.cbj-cta { text-align: center; background: linear-gradient(160deg, #2563eb, #1e40af); color: #fff; border: 0; --text: #fff; --muted: #dbeafe; --line: rgba(255, 255, 255, .25); --accent: #fbbf24; --on-accent: #1e293b; --ok: #bbf7d0; }
.cbj-cta-in { display: grid; gap: 18px; justify-items: center; }
.cbj-cta .h-lg .text-loop { color: #fde68a; }
.cbj-cta .lead { margin-inline: auto; }
.cbj-cta .wl { width: 100%; max-width: 560px; text-align: left; }
.cbj-cta .input { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .3); }
.cbj-cta .input::placeholder { color: #c7d7fe; }
.cbj-cta .seg { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .25); }
.cbj-cta .seg button { color: #dbeafe; }
.cbj-cta .seg button[aria-selected="true"] { color: #1e293b; }
.cbj-role { justify-self: center; }
.cbj-cta .wl-extra { justify-items: center; }
.cbj-cta .eyebrow { color: #fde68a; }

@media (max-width: 1080px) { .cbj-rules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 980px) {
  .cbj-hero-grid, .cbj-builder { grid-template-columns: 1fr; }
  .cbj-cols { height: 380px; }
  .cbj-feed { margin-top: 30px; }
  .cbj-preview { position: static; }
}
@media (max-width: 560px) {
  .cbj-rules { grid-template-columns: 1fr; }
  .cbj-cols { height: 320px; }
  .cbj-job { padding: 14px; }
  .cbj-job b { font-size: 15px; }
}
