/* National RBT — nationwide RBT job network.
   Identity: deep teal + warm coral, Bricolage Grotesque display,
   Plus Jakarta Sans body, Space Mono for data. Signature: live demand ticker. */

:root {
  --ink: #0A201C;
  --bg: #F4F7F5;
  --surface: #FFFFFF;
  --brand: #0E8C7A;
  --brand-deep: #08544A;
  --brand-darker: #06342E;
  --brand-bright: #1FC7A9;
  --coral: #FF6A4D;
  --coral-deep: #E8543A;
  --muted: #51635F;
  --muted-light: #8AA39C;
  --line: #E1EAE6;
  --line-dark: rgba(255, 255, 255, 0.14);
  --radius: 18px;
  --shadow-card: 0 30px 60px -24px rgba(6, 52, 46, 0.45);
  --maxw: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .wordmark {
  font-family: "Bricolage Grotesque", "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.04;
}

a { color: inherit; text-decoration: none; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4em; font-family: inherit; font-weight: 700; font-size: 1rem;
  border: none; border-radius: 999px; cursor: pointer; padding: 0.95rem 1.5rem;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.9rem; }
.btn-primary {
  background: var(--coral); color: #fff; width: 100%; font-size: 1.05rem;
  box-shadow: 0 12px 24px -10px rgba(232, 84, 58, 0.7);
}
.btn-primary:hover { background: var(--coral-deep); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.08); color: #fff;
  border: 1px solid var(--line-dark);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }

/* ---- Wordmark ---- */
.wordmark, .footer-brand {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 1.3rem; font-weight: 800; letter-spacing: -0.03em; color: #fff;
}
.mark {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 106, 77, 0.25);
}
.mark-rbt { color: var(--brand-bright); }
.logo-mark { width: 32px; height: 32px; display: block; flex-shrink: 0; }
.footer-brand .logo-mark { width: 28px; height: 28px; }

/* ---- Header ---- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 1.4rem 1.5rem;
}
.header-right { display: flex; align-items: center; gap: 1rem; }
.header-states {
  font-family: "Space Mono", monospace; font-size: 0.8rem; letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7); text-transform: uppercase;
}

/* ---- Hero ---- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 80% -10%, #0C6B5E 0%, transparent 55%),
    linear-gradient(160deg, var(--brand-darker) 0%, #082C27 60%, #061F1B 100%);
  color: #fff;
  padding: 7rem 1.5rem 0;
}
.hero-glow {
  position: absolute; width: 700px; height: 700px; border-radius: 50%;
  top: -260px; right: -160px; pointer-events: none;
  background: radial-gradient(circle, rgba(31, 199, 169, 0.28) 0%, transparent 60%);
  filter: blur(20px);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem;
  align-items: center; padding-bottom: 4.5rem;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: "Space Mono", monospace; font-size: 0.82rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--brand-bright);
  border: 1px solid var(--line-dark); border-radius: 999px;
  padding: 0.4rem 0.9rem; margin-bottom: 1.4rem;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--coral);
  box-shadow: 0 0 0 0 rgba(255, 106, 77, 0.6); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 106, 77, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(255, 106, 77, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 106, 77, 0); }
}

.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4rem); margin-bottom: 1.3rem; }
.hero h1 .hl { color: var(--brand-bright); }
.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: rgba(233, 244, 240, 0.82);
  max-width: 34ch; margin-bottom: 2.2rem;
}

/* pay / perk pills under the hero copy */
.pay-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; }
.pay-pill {
  font-family: "Space Mono", monospace; font-size: 0.8rem; letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line-dark);
  color: rgba(233, 244, 240, 0.9); padding: 0.5rem 0.85rem; border-radius: 999px;
}
.pay-pill-lead {
  background: var(--coral); color: #fff; border-color: transparent; font-weight: 700;
  box-shadow: 0 10px 22px -10px rgba(232, 84, 58, 0.7);
}

.stats { list-style: none; display: flex; gap: 2.4rem; flex-wrap: wrap; }
.stats li { display: flex; flex-direction: column; }
.stat-num {
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 800;
  font-size: 2rem; line-height: 1; color: #fff;
}
.stat-unit { font-size: 1.1rem; color: var(--brand-bright); margin-left: 0.05em; }
.stat-label {
  font-family: "Space Mono", monospace; font-size: 0.74rem; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--muted-light); margin-top: 0.4rem;
}

/* ambient location pins */
.pin {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: var(--brand-bright); z-index: 1; opacity: 0.8;
  box-shadow: 0 0 0 0 rgba(31, 199, 169, 0.5); animation: pulse-teal 3.4s infinite;
}
.pin-1 { top: 26%; left: 9%; animation-delay: 0s; }
.pin-2 { top: 62%; left: 18%; animation-delay: 1.1s; }
.pin-3 { top: 40%; left: 4%; animation-delay: 2.2s; }
@keyframes pulse-teal {
  0% { box-shadow: 0 0 0 0 rgba(31, 199, 169, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(31, 199, 169, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 199, 169, 0); }
}

/* ---- Apply card ---- */
.apply-card {
  background: var(--surface); color: var(--ink);
  border-radius: var(--radius); padding: 1.9rem; box-shadow: var(--shadow-card);
}
.card-head { margin-bottom: 1.2rem; }
.card-head h2 { font-size: 1.6rem; color: var(--ink); }
.card-head p { color: var(--muted); font-size: 0.95rem; margin-top: 0.25rem; }

.progress { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.3rem; }
.progress-bar {
  flex: 1; height: 6px; border-radius: 999px; background: var(--line); overflow: hidden;
}
.progress-bar span {
  display: block; height: 100%; width: 0%; border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-bright));
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.progress-label {
  font-family: "Space Mono", monospace; font-size: 0.72rem; letter-spacing: 0.04em;
  color: var(--muted); white-space: nowrap;
}

.field { display: block; margin-bottom: 0.9rem; }
.field-label {
  display: block; font-size: 0.82rem; font-weight: 600; color: var(--muted);
  margin-bottom: 0.35rem;
}
.field-label .opt { font-weight: 500; color: var(--muted-light); }
.field input {
  width: 100%; font: inherit; padding: 0.85rem 1rem;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input::placeholder { color: #B4C4BE; }
.field input:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(14, 140, 122, 0.15);
}
.field input.invalid { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(255, 106, 77, 0.15); }

.consent {
  display: flex; gap: 0.6rem; align-items: flex-start;
  font-size: 0.86rem; color: var(--muted); margin: 0.4rem 0 1.2rem;
  cursor: pointer; line-height: 1.45;
}
.consent input { margin-top: 0.15rem; width: 17px; height: 17px; accent-color: var(--brand); flex-shrink: 0; }

.form-note { text-align: center; font-size: 0.8rem; color: var(--muted-light); margin-top: 0.8rem; }

/* success state */
.success { text-align: center; padding: 1.5rem 0.5rem; }
.success-check {
  width: 60px; height: 60px; margin: 0 auto 1rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.8rem; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-bright));
}
.success h2 { font-size: 1.6rem; color: var(--ink); margin-bottom: 0.4rem; }
.success p { color: var(--muted); }

/* ---- Ticker ---- */
.ticker {
  position: relative; z-index: 2;
  display: flex; align-items: stretch;
  border-top: 1px solid var(--line-dark);
  background: rgba(4, 24, 21, 0.6); overflow: hidden;
  font-family: "Space Mono", monospace;
}
.ticker-tag {
  display: flex; align-items: center; flex-shrink: 0;
  position: relative; z-index: 2; background: #06201C;
  color: var(--coral); font-weight: 700;
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.85rem 1.3rem 0.85rem max(1.5rem, calc((100vw - var(--maxw)) / 2));
  box-shadow: 10px 0 14px -4px rgba(4, 24, 21, 0.85);
}
.ticker-track {
  display: flex; align-items: center; gap: 2.5rem; white-space: nowrap;
  padding: 0.85rem 0 0.85rem 2.5rem;
  animation: scroll 42s linear infinite;
}
.ticker-track .city { color: rgba(233, 244, 240, 0.78); font-size: 0.85rem; }
.ticker-track .city::before {
  content: "●"; color: var(--brand-bright); font-size: 0.6rem;
  vertical-align: middle; margin-right: 0.55rem;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- Sections ---- */
.section { max-width: var(--maxw); margin: 0 auto; padding: 5.5rem 1.5rem; }
.section-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 0.6rem; }

.steps {
  list-style: none; counter-reset: step;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem;
}
.steps li {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; position: relative;
}
.step-k {
  display: inline-block; font-family: "Space Mono", monospace; font-size: 0.72rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand);
  background: rgba(14, 140, 122, 0.1); padding: 0.3rem 0.7rem; border-radius: 999px;
  margin-bottom: 1rem;
}
.steps h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.steps p { color: var(--muted); font-size: 0.95rem; }

.why-section { padding-top: 0; }
.why-inner {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch;
  background: linear-gradient(160deg, var(--brand-darker), #082C27);
  color: #fff; border-radius: 26px; overflow: hidden;
}
.why-photo { position: relative; min-height: 100%; }
.why-photo img {
  width: 100%; height: 100%; min-height: 360px;
  object-fit: cover; object-position: 60% center; display: block;
}
/* soft teal edge so the photo blends into the panel rather than hard-cutting */
.why-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 70%, rgba(6, 52, 46, 0.5) 100%);
}
.why-body {
  padding: 3.2rem; display: flex; flex-direction: column; gap: 1.4rem;
  justify-content: center;
}
.why-copy .section-title { color: #fff; }
.why-copy p { color: rgba(233, 244, 240, 0.8); margin-top: 0.8rem; }
.benefits { list-style: none; display: grid; gap: 0.9rem; }
.benefits li {
  padding: 1rem 1.2rem; border-radius: 12px; font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark);
  color: rgba(233, 244, 240, 0.85);
}
.benefits strong { color: #fff; }

/* ---- Photo band (light, photo on the right — alternates with the teal why-band) ---- */
.band-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center;
}
.band-copy .section-title { margin-bottom: 0.4rem; }
.band-copy > p { color: var(--muted); font-size: 1.02rem; }
.band-points { list-style: none; display: grid; gap: 0.65rem; margin: 1.4rem 0 1.9rem; }
.band-points li { position: relative; padding-left: 1.9rem; color: var(--ink); }
.band-points li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: #fff; background: var(--brand); width: 1.25rem; height: 1.25rem;
  border-radius: 50%; display: grid; place-items: center; font-size: 0.72rem; font-weight: 700;
}
.btn-primary.band-cta { width: auto; }
.band-photo img {
  width: 100%; height: 100%; min-height: 340px; max-height: 470px;
  object-fit: cover; object-position: center; display: block;
  border-radius: var(--radius); box-shadow: var(--shadow-card);
}

.section-sub { color: var(--muted); max-width: 56ch; font-size: 1.02rem; }

/* ---- Pay & perks ---- */
.perks-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem;
}
.perk {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem;
}
.perk-amt {
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 1.5rem;
  color: var(--brand-deep); margin-bottom: 0.45rem;
}
.perk h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.perk p { color: var(--muted); font-size: 0.92rem; }
.disclaimer { color: var(--muted-light); font-size: 0.78rem; margin-top: 1.6rem; max-width: 70ch; }

/* ---- FAQ ---- */
.faq-list { margin-top: 2.2rem; display: grid; gap: 0.8rem; max-width: 800px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 0 1.3rem; transition: border-color 0.15s ease;
}
.faq-item[open] { border-color: var(--brand); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.15rem 0;
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; color: var(--brand); font-size: 1.5rem; font-weight: 400;
  line-height: 1; flex-shrink: 0;
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item p { color: var(--muted); font-size: 0.95rem; margin: 0; padding: 0 0 1.2rem; max-width: 68ch; }

/* ---- Closing CTA ---- */
.cta-band {
  max-width: var(--maxw); margin: 0 auto 5.5rem; padding: 3.4rem; border-radius: 26px;
  text-align: center; color: #fff;
  background: radial-gradient(120% 120% at 50% -20%, #0C6B5E 0%, transparent 60%),
    linear-gradient(160deg, var(--brand-deep) 0%, var(--brand-darker) 80%);
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-band p { color: rgba(233, 244, 240, 0.85); margin: 0.7rem auto 1.7rem; max-width: 46ch; }
.btn-primary.cta-band-btn { width: auto; padding: 1rem 2.1rem; font-size: 1.05rem; }

/* ---- Footer ---- */
.site-footer {
  background: var(--brand-darker); color: rgba(233, 244, 240, 0.7);
  text-align: center; padding: 3rem 1.5rem; display: grid; gap: 0.7rem; justify-items: center;
}
.footer-legal { max-width: 52ch; font-size: 0.88rem; }
.footer-copy {
  font-family: "Space Mono", monospace; font-size: 0.75rem; letter-spacing: 0.03em;
  color: var(--muted-light);
}

/* ---- Responsive ---- */
@media (max-width: 880px) {
  .hero { padding-top: 5.5rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 3rem; }
  .steps { grid-template-columns: 1fr; }
  .perks-grid { grid-template-columns: 1fr; }
  .why-inner { grid-template-columns: 1fr; }
  .why-photo img { min-height: 240px; max-height: 320px; object-position: 60% center; }
  .why-photo::after { display: none; }
  .why-body { padding: 2.2rem; }
  .band-inner { grid-template-columns: 1fr; gap: 2rem; }
  .band-photo img { max-height: 300px; }
  .cta-band { margin-bottom: 3rem; padding: 2.4rem 1.6rem; }
  .header-states { display: none; }
}
@media (max-width: 700px) {
  .perks-grid { grid-template-columns: 1fr; }
}
@media (min-width: 701px) and (max-width: 980px) {
  .perks-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .stats { gap: 1.6rem; }
  .apply-card { padding: 1.4rem; }
}

/* ---- Accessibility ---- */
:focus-visible { outline: 3px solid var(--brand-bright); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; transition: none !important; }
  .ticker-track { transform: translateX(0); }
}
