/* Aimwell AI — site styles
   Palette taken from the brand reference: deep navy, indigo, violet,
   magenta and a coral/amber glow at the horizon. */

:root {
  --bg: #07051a;
  --bg-2: #0d0930;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);

  --text: #f4f1ff;
  --text-muted: #b9b2d9;
  --text-faint: #8a82b0;

  --navy: #0b0630;
  --indigo: #3a0ca3;
  --violet: #7b2ff7;
  --purple: #9d0fd0;
  --magenta: #d6249f;
  --pink: #ff3d7f;
  --coral: #ff6b4a;
  --amber: #ffb38a;

  --grad: linear-gradient(100deg, #8b5cff 0%, #c026d3 45%, #ff3d7f 75%, #ff8a5b 100%);
  --grad-soft: linear-gradient(135deg, rgba(123, 47, 247, 0.22), rgba(214, 36, 159, 0.16) 55%, rgba(255, 107, 74, 0.12));

  --radius: 18px;
  --radius-lg: 28px;
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);

  /* Spacing scale (DESIGN.md section 4): the 8px grid. Use these, not
     one-off pixel values, for spacing between and inside blocks. */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;

  /* The standard, by job. Phone values are set in the media query below. */
  --section-y: var(--space-5);     /* top and bottom of every section */
  --hero-y: var(--space-6);        /* top and bottom of page heroes */
  --heading-gap: var(--space-2);   /* heading to the text under it */
  --head-gap: var(--space-3);      /* section heading block to its content */
  --grid-gap: var(--space-3);      /* between cards in a grid */
  --action-gap: var(--space-3);    /* a block's text to its buttons */
  --card-pad: var(--space-3);      /* inside cards */
  --split-gap: var(--space-5);     /* the two columns of a split layout */

  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 var(--heading-gap);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
.card h3 { text-transform: uppercase; }

p { margin: 0 0 1em; }

@media (max-width: 640px) {
  :root {
    --section-y: var(--space-4);
    --hero-y: var(--space-4);
    --grid-gap: var(--space-2);
    --split-gap: var(--space-3);
  }
}

/* Buttons and form fields don't inherit the page font by default. */
button, input, select, textarea { font-family: inherit; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: var(--space-2);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 12px var(--pink);
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-muted);
  max-width: 640px;
}

.muted { color: var(--text-muted); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 5, 26, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 28px;
}

/* Links sit next to the logo; the Request talent button stays far right. */
.nav > nav { flex: 1; min-width: 0; }

.brand {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.brand img { width: 30px; height: 30px; }

.brand-name span { color: var(--text-muted); font-weight: 500; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: var(--surface-2);
}

.nav-cta { margin-left: auto; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-radius: 10px;
  width: 44px;
  height: 40px;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  margin: 0 auto;
  position: relative;
  border-radius: 2px;
}

.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* Five nav links plus the button need about 940px. */
@media (max-width: 980px) {
  .nav-toggle { display: block; order: 3; }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 12px var(--gutter) 20px;
    background: rgba(7, 5, 26, 0.97);
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-cta { margin: 8px 0 0; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  font-family: var(--font-body);
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 30px rgba(214, 36, 159, 0.35);
}

.btn-primary:hover { box-shadow: 0 10px 40px rgba(255, 61, 127, 0.45); }

.btn-ghost {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover { background: var(--surface-2); }

.nav-links .btn-primary { color: #fff; padding: 9px 18px; }
.nav-links .btn-primary:hover { background: var(--grad); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--action-gap); }

/* ---------- Hero + orb ---------- */

.hero {
  position: relative;
  padding: var(--hero-y) 0;
  overflow: hidden;
  isolation: isolate;
}


.orb {
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -38%;
  width: min(1200px, 140vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 62%, rgba(176, 20, 190, 0.85) 0%, rgba(120, 16, 200, 0.55) 30%, rgba(52, 10, 140, 0.35) 52%, rgba(11, 6, 48, 0) 70%),
    radial-gradient(circle at 30% 70%, rgba(60, 12, 170, 0.6), transparent 50%);
  box-shadow:
    inset 0 -6px 0 rgba(255, 120, 90, 0.9),
    inset 0 -18px 40px rgba(255, 61, 127, 0.55),
    inset 0 -60px 120px rgba(214, 36, 159, 0.35),
    0 40px 160px rgba(214, 36, 159, 0.35),
    0 80px 200px rgba(255, 107, 74, 0.25);
  opacity: 0.95;
}

.orb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-sub { padding-bottom: var(--section-y); }
.hero-sub .orb { bottom: -70%; width: min(1100px, 150vw); opacity: 0.8; }

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 85% 100%, rgba(255, 107, 74, 0.18), transparent 70%),
    radial-gradient(50% 60% at 10% 20%, rgba(58, 12, 163, 0.25), transparent 70%);
}

.hero-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-inner .lead { margin-left: auto; margin-right: auto; }
.hero-inner .btn-row { justify-content: center; }

/* Never wider than the container, at any width. */
.hero h1 { max-width: min(920px, 100%); overflow-wrap: break-word; }
/* Inner-page heroes stay compact (Kate, Oct 15): smaller headline, wider line. */
.hero-sub h1 { font-size: clamp(2rem, 4.2vw, 3.4rem); max-width: min(1000px, 100%); }
.hero-sub .lead { max-width: 760px; }

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: var(--space-4);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(13, 9, 48, 0.6);
  border: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text-muted);
  backdrop-filter: blur(8px);
}

.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }

/* ---------- Sections ---------- */

section { position: relative; }

.section { padding: var(--section-y) 0; }

/* Back-to-back sections share one gap instead of stacking two paddings.
   After a hero, the first section keeps its top padding so a dark band
   separates the purple from the text (Kate, Oct 14). */
.section + .section { padding-top: 0; }

/* Text or a block that follows another inside the same section. */
.gap-top { margin-top: var(--space-3); }

.section-alt {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%);
}

.section-head { max-width: 720px; margin-bottom: var(--head-gap); }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Hire Talent: the AI teams offer, stacked under staffing pricing in the same section. */
.pricing-split { margin-top: var(--section-y); }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

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

@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  position: relative;
  padding: var(--card-pad);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
}

.card p:last-child { margin-bottom: 0; }

a.card:hover, .card.hover:hover {
  border-color: rgba(214, 36, 159, 0.5);
  background: var(--surface-2);
  transform: translateY(-3px);
}

/* Agent cards */

.agent-card { display: flex; flex-direction: column; overflow: hidden; }

.agent-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow, rgba(214, 36, 159, 0.35)), transparent 70%);
  pointer-events: none;
}

.agent-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
  margin-bottom: var(--space-3);
}

.agent-icon svg { width: 26px; height: 26px; }

.agent-card .fn {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.agent-card h3 { font-size: 1.6rem; }

.agent-card .more {
  margin-top: auto;
  padding-top: 18px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
}

.agent-card .more::after { content: " →"; }

.ascend { --glow: rgba(255, 107, 74, 0.38); }
.accelerate { --glow: rgba(123, 47, 247, 0.45); }
.align { --glow: rgba(214, 36, 159, 0.4); }
.anchor { --glow: rgba(58, 12, 163, 0.55); }

/* Steps */

.steps { counter-reset: step; }

.step { padding-top: var(--space-6); }

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 24px;
  left: 28px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.step h3 { margin-bottom: var(--space-1); }

/* Step 5: the check-ins after a start, as a small timeline. */
.checkin-list { list-style: none; margin: 10px 0 0; padding: 0 0 0 14px; border-left: 2px solid var(--border-strong); font-size: 0.9rem; color: var(--text-muted); }
.checkin-list li { position: relative; padding: 3px 0; }
.checkin-list li::before { content: ""; position: absolute; left: -19px; top: 0.75em; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }

.track-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-family: var(--font-head);
  font-size: 1.2rem;
}

.track-label .tag {
  font-size: 0.75rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--amber);
}

.track + .track { margin-top: var(--space-5); }

/* Compare */

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: var(--grid-gap); }

@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

.compare .card h3 { margin-bottom: 18px; }

.compare ul { list-style: none; padding: 0; margin: 0; }

.compare li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}

.compare li:first-child { border-top: 0; }

.compare li::before {
  content: "–";
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  background: var(--surface-2);
  color: var(--text-faint);
}

.compare .ours {
  background: linear-gradient(160deg, rgba(123, 47, 247, 0.16), rgba(214, 36, 159, 0.10) 60%, rgba(255, 107, 74, 0.08));
  border-color: rgba(214, 36, 159, 0.4);
}

.compare .ours li { color: var(--text); }

.compare .ours li::before { content: "✓"; background: var(--grad); color: #fff; }

/* Industries */

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 12 industries: even rows of 4, 3 or 2 */
  gap: var(--grid-gap);
}

@media (max-width: 1000px) { .industry-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 360px) { .industry-grid { grid-template-columns: 1fr; } }

.industry {
  display: block;
  padding: var(--space-2) var(--space-3);
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
}

a.industry:hover {
  border-color: rgba(214, 36, 159, 0.5);
  background: var(--surface-2);
  transform: translateY(-3px);
}

.industry strong { display: block; font-family: var(--font-head); font-weight: 600; margin-bottom: 4px; }

.industry span { font-size: 0.88rem; color: var(--text-faint); }

/* Principles */

.principle h3 { display: flex; align-items: center; gap: 10px; }

.principle .ico {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--grad);
  color: #fff;
  font-size: 1rem;
}

/* Pricing */

.price-card { display: flex; flex-direction: column; padding: var(--card-pad); }

.price-card.featured {
  border-color: rgba(214, 36, 159, 0.5);
  background: linear-gradient(160deg, rgba(123, 47, 247, 0.16), rgba(214, 36, 159, 0.10) 60%, rgba(255, 107, 74, 0.08));
}

.price {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 8px 0 4px;
}

.price small { font-size: 1rem; color: var(--text-muted); font-weight: 500; }
.price-note { margin: 0; color: var(--amber); font-size: 0.92rem; }

.check-list { list-style: none; padding: 0; margin: var(--space-2) 0 var(--action-gap); }

.check-list li { position: relative; padding: 7px 0 7px 30px; color: var(--text-muted); }

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 9px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  background: var(--grad);
  color: #fff;
}

.price-card .btn { margin-top: auto; align-self: flex-start; }

/* Role tags */

.tags { display: flex; flex-wrap: wrap; gap: 10px; }

.tag-pill {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.93rem;
  color: var(--text-muted);
}

/* Split layout */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--split-gap); align-items: start; }

@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Chat mock */

.chat {
  border-radius: var(--radius-lg);
  background: rgba(13, 9, 48, 0.75);
  border: 1px solid var(--border-strong);
  padding: var(--card-pad);
  box-shadow: 0 30px 80px rgba(58, 12, 163, 0.35);
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}

.chat-head img { width: 28px; height: 28px; }

.chat-head small { display: block; font-weight: 400; color: var(--text-faint); font-size: 0.8rem; }

.msg {
  max-width: 88%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.95rem;
  margin-bottom: 10px;
  line-height: 1.5;
}

.msg.agent { background: var(--surface-2); border-bottom-left-radius: 4px; }

.msg.user {
  margin-left: auto;
  background: linear-gradient(120deg, rgba(123, 47, 247, 0.55), rgba(214, 36, 159, 0.55));
  border-bottom-right-radius: 4px;
}

.chat-note { font-size: 0.78rem; color: var(--text-faint); margin: 12px 0 0; text-align: center; }

/* FAQ */

.faq { max-width: 820px; }

.faq details {
  border-bottom: 1px solid var(--border);
  padding: var(--space-2) 0;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after { content: "+"; color: var(--pink); font-size: 1.4rem; line-height: 1; }

.faq details[open] summary::after { content: "–"; }

.faq details p { margin: var(--space-1) 0 0; color: var(--text-muted); }

/* CTA band */

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-4);
  text-align: center;
  background:
    radial-gradient(80% 120% at 50% 130%, rgba(255, 107, 74, 0.55), transparent 60%),
    radial-gradient(70% 120% at 50% 110%, rgba(214, 36, 159, 0.6), transparent 70%),
    linear-gradient(180deg, #120a3d, #2a0b6e);
  border: 1px solid var(--border-strong);
}

@media (max-width: 640px) { .cta-band { padding: var(--space-4) var(--space-3); } }

.cta-band .lead { margin: 0 auto; color: #e6dcff; }
.cta-band .btn-row { justify-content: center; }

/* Forms */

.form { display: grid; gap: 16px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }

@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.field label { display: block; font-size: 0.88rem; font-weight: 500; margin-bottom: 6px; color: var(--text-muted); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  font-size: 0.98rem;
}

.field select option { background: var(--bg-2); }

.field textarea { min-height: 140px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--magenta);
  box-shadow: 0 0 0 3px rgba(214, 36, 159, 0.25);
}

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--text-muted); }

.consent input { margin-top: 4px; accent-color: var(--magenta); }

.form-note { font-size: 0.85rem; color: var(--text-faint); }

/* Practice page specifics */

.practice-hero .agent-icon { width: 72px; height: 72px; border-radius: 20px; margin: 0 auto var(--space-3); }
.practice-hero .agent-icon svg { width: 36px; height: 36px; }

.other-agents { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--grid-gap); }

@media (max-width: 760px) { .other-agents { grid-template-columns: 1fr; } }

/* Staffing solutions: service cards, facts, comparison table, AI phases */

.grid-5 { grid-template-columns: repeat(5, 1fr); }

@media (max-width: 1100px) { .grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .grid-5 { grid-template-columns: 1fr; } }

.service-card { display: flex; flex-direction: column; }

.service-card h3 { font-size: 1.35rem; margin-top: var(--space-1); }

.service-card .more {
  margin-top: auto;
  padding-top: 18px;
  font-weight: 600;
  font-size: 0.92rem;
}

.service-card .more::after { content: " →"; }

a.chip:hover { color: var(--text); border-color: var(--border-strong); }

.fact-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--border);
  border: 1px solid var(--border);
}

.fact { padding: 24px 26px; background: var(--bg-2); }

.fact-group + .fact-group { margin-top: 28px; }

.fact-label {
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-faint);
}

.fact strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 6px;
}

.fact span { color: var(--text-muted); font-size: 0.95rem; }

@media (max-width: 900px) { .fact-bar { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .fact-bar { grid-template-columns: 1fr; } }

.path-card { padding: var(--card-pad); }

.path-card h3 { font-size: 1.6rem; margin-top: var(--space-1); }

.phase-list { gap: var(--space-2); }

.phase { display: flex; gap: var(--space-2); align-items: flex-start; padding: var(--card-pad); }

.phase h3 { margin: 0 0 4px; }

.phase-num {
  font-family: var(--font-head);
  font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-top: 2px;
}

.deliverable {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  color: var(--text);
}

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }

.compare-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.96rem; }

.compare-table th, .compare-table td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }

.compare-table thead th { font-family: var(--font-head); font-size: 1.02rem; background: var(--surface-2); }

.compare-table tbody th { color: var(--text-faint); font-weight: 500; white-space: nowrap; }

.compare-table td { color: var(--text-muted); }


/* Home hero: staffing message left, hiring options right, smaller orb as an accent */


.hero-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--split-gap);
  align-items: center;
}

.hero-copy h1 { margin-top: var(--space-2); font-size: clamp(2.4rem, 5vw, 4rem); }

.hero-copy .lead { max-width: 600px; }

.hero-aside { margin: var(--space-2) 0 0; color: var(--text-muted); font-size: 0.95rem; }

.hero-aside a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.35); }

.hero-aside a:hover { text-decoration-color: currentColor; }

.hero-home .orb {
  left: auto;
  right: -6%;
  top: 50%;
  bottom: auto;
  width: min(560px, 90vw);
  transform: translateY(-50%);
  opacity: 0.55;
}

.hero-panel {
  padding: var(--card-pad);
  background: rgba(13, 9, 48, 0.72);
  border-color: var(--border-strong);
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 80px rgba(58, 12, 163, 0.3);
}

.hero-panel-title {
  margin: 0 0 var(--space-2);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
}

.hero-option {
  display: flex;
  flex-direction: column;
  padding: 14px 40px 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}

.hero-option + .hero-option { margin-top: 10px; }

.hero-option span { color: var(--text-muted); font-size: 0.92rem; }

.hero-option::after { content: "→"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--text-faint); }

.hero-option:hover { border-color: rgba(214, 36, 159, 0.5); background: var(--surface-2); }

.hero-option:hover::after { color: var(--text); }

@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-home .orb { right: 50%; top: auto; bottom: -10%; transform: translateX(50%); width: min(520px, 110vw); opacity: 0.45; }
}

.role-list-sm { list-style: none; padding: 0; margin: 4px 0 0; }

.role-list-sm li { padding: 6px 0; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.93rem; }

.candidate-band {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: center;
  padding: clamp(26px, 4vw, 44px);
  background: var(--grad-soft);
}

.candidate-band h2 { margin: 8px 0 12px; }

.candidate-band .btn-row { justify-content: flex-end; margin-top: 0; }

@media (max-width: 860px) {
  .candidate-band { grid-template-columns: 1fr; }
  .candidate-band .btn-row { justify-content: flex-start; }
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: var(--space-5) 0 var(--space-4);
  background: linear-gradient(180deg, var(--bg), #05031a);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: var(--space-4);
}

@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-grid h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 14px;
}

.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--text-muted); font-size: 0.95rem; }
.footer-grid a:hover { color: var(--text); }

.footer-legal {
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-faint);
}

.footer-legal p { max-width: 900px; }

/* Reveal on scroll */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}

/* ---------- Resume Builder ---------- */

.builder { display: grid; gap: var(--space-4); }

.builder-form { padding: var(--card-pad); display: grid; gap: var(--space-4); }

.builder-step h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }

.step-num {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad); color: #fff;
  font-size: 0.9rem; font-family: var(--font-body);
}

.builder-step .field + .field { margin-top: 16px; }
.builder-step textarea { min-height: 170px; }

.agent-choices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 900px) { .agent-choices { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .agent-choices { grid-template-columns: 1fr; } }

.agent-choice {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  padding: 14px; border-radius: 14px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}
.agent-choice input { position: absolute; opacity: 0; pointer-events: none; }
.agent-choice .agent-icon { width: 40px; height: 40px; margin: 0; border-radius: 11px; flex: none; }
.agent-choice .agent-icon svg { width: 20px; height: 20px; }
.agent-choice strong { display: block; font-family: var(--font-head); }
.agent-choice small { color: var(--text-faint); font-size: 0.82rem; }
.agent-choice:has(input:checked) { border-color: var(--magenta); background: rgba(214, 36, 159, 0.1); box-shadow: 0 0 0 1px var(--magenta) inset; }
.agent-choice:has(input:focus-visible) { outline: 2px solid var(--pink); outline-offset: 2px; }

.inline { display: flex; gap: 10px; }
.inline input { flex: 1; min-width: 0; }
.url-row .form-note { margin: 8px 0 0; }

.dropzone {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 26px; margin-bottom: 16px; border-radius: 14px; cursor: pointer; text-align: center;
  border: 1.5px dashed var(--border-strong); background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s, background 0.2s;
}
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dropzone span { color: var(--text-faint); font-size: 0.9rem; }
.dropzone:hover, .dropzone.over { border-color: var(--magenta); background: rgba(214, 36, 159, 0.06); }

.btn-wide { width: 100%; padding: 16px; font-size: 1.05rem; }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }

.form-message { min-height: 1.4em; margin: 12px 0 0; color: var(--amber); font-size: 0.95rem; }
.form-message.error { color: #ff8fa3; }

.output-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  margin-bottom: 18px;
}
.toolbar-status { display: flex; align-items: center; gap: 12px; color: var(--text-muted); }
.toolbar-status.failed { color: #ff8fa3; }
.toolbar-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.toolbar-actions .btn { padding: 10px 18px; font-size: 0.92rem; }

.spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15); border-top-color: var(--pink);
  animation: spin 0.8s linear infinite;
}
.spinner[hidden] { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.output-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
@media (max-width: 1000px) { .output-grid { grid-template-columns: 1fr; } }

.match-panel h3 { font-size: 1.15rem; }
.match-panel h4 { font-family: var(--font-body); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-faint); margin: 20px 0 10px; }
.kw { display: flex; flex-wrap: wrap; gap: 6px; }
.kw-chip { padding: 4px 10px; border-radius: 999px; font-size: 0.82rem; border: 1px solid var(--border-strong); }
.kw-chip.hit { background: rgba(123, 47, 247, 0.18); border-color: rgba(139, 92, 255, 0.5); }
.kw-chip.miss { color: var(--amber); border-color: rgba(255, 179, 138, 0.4); }
.gaps { list-style: none; padding: 0; margin: 0; }
.gaps li { padding: 10px 0; border-top: 1px solid var(--border); font-size: 0.92rem; }
.gaps li:first-child { border-top: 0; }
.gaps strong { display: block; margin-bottom: 2px; }
.gaps span { color: var(--text-muted); }

/* The resume itself: the Classic one-page format. Serif type, black text only, centered name and contact
   line, bold capital section headings (set a little smaller than the body,
   like small caps, but real capitals so PDF text and ATS parsers read
   "EXPERIENCE", not "E xperience") over a full-width rule, employer and
   location on one line, title and dates on the next. No tables or columns:
   two-sided lines are flex rows whose text stays in reading order. The same
   markup is the on-page preview, the PDF (print) and the Word file. */

.resume-paper {
  background: #fff; color: #000;
  border-radius: 10px; padding: clamp(24px, 5vw, 56px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  font-family: "Times New Roman", Times, Georgia, serif; font-size: 15px; line-height: 1.3;
  min-height: 300px;
}
.resume-paper.pending { background: linear-gradient(100deg, #f3f0fa 30%, #ffffff 50%, #f3f0fa 70%); background-size: 300% 100%; animation: shimmer 1.6s linear infinite; }
@keyframes shimmer { to { background-position: -150% 0; } }

.resume-paper h2, .resume-paper h3 { color: #000; font-family: inherit; }
.rd-head { text-align: center; margin-bottom: 8px; }
.rd-name { font-size: 1.6em; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; line-height: 1.15; margin: 0; }
.rd-contact { margin: 3px 0 0; overflow-wrap: anywhere; }
.rd-headline { margin: 2px 0 0; font-style: italic; }
.rd-section { margin-top: 10px; }
.rd-title {
  font-size: 0.92em; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em;
  border-bottom: 1px solid #000; padding-bottom: 1px; margin: 0 0 4px;
}
.rd-summary, .rd-skill-row { margin: 0 0 2px; }
.rd-entry { margin-top: 6px; break-inside: avoid; }
.rd-entry:first-of-type { margin-top: 0; }
.rd-role + .rd-role { margin-top: 3px; }
.rd-row { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: 16px; align-items: baseline; }
.rd-left { font-weight: inherit; }
.rd-org .rd-left { font-weight: 700; }
.rd-position .rd-left { font-style: italic; }
.rd-position strong.rd-left { font-style: normal; }
.rd-right { margin-left: auto; white-space: nowrap; }
.resume-paper ul { margin: 1px 0 0; padding-left: 18px; }
.resume-paper li { margin: 0; }

/* Print (Download PDF): only the resume, one letter page, 0.5in margins.
   builder.js sets --print-size to the largest of 11pt, 10.5pt or 10pt that
   fits one page (10pt is the floor). */
@media print {
  @page { size: letter; margin: 0.5in; }
  body { background: #fff !important; }
  .site-header, .site-footer, .hero, .builder-form, .plans-card, .output-toolbar, .match-panel { display: none !important; }
  .section, .container, .builder, .builder-output, .output-grid { display: block; padding: 0 !important; margin: 0; max-width: none; }
  #resume-doc { box-shadow: none; border-radius: 0; padding: 0; font-size: var(--print-size, 11pt); line-height: 1.15; min-height: 0; }
}

/* ---------- Jobs and applications ---------- */

.container.narrow { max-width: 820px; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.role-list { gap: 16px; }
.role-card { padding: var(--card-pad); }
.role-card .fn { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); font-weight: 600; margin-bottom: 6px; }
.role-card h3 { font-size: 1.4rem; margin-bottom: var(--space-1); }
.role-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 12px; }
.role-top .btn { flex: none; }
.role-facts { margin: 0; font-size: 0.95rem; }
.role-details { margin-top: 8px; border-top: 1px solid var(--border); padding-top: 12px; }
.role-details summary { cursor: pointer; color: var(--text); font-weight: 600; font-size: 0.95rem; }
.role-details h4 { font-family: var(--font-body); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-faint); margin: 16px 0 6px; }
.role-details ul { margin: 0; padding-left: 20px; color: var(--text-muted); }
@media (max-width: 560px) { .role-top { flex-direction: column; } }

.roles-pool { margin: var(--space-3) 0 0; }
.empty-roles { text-align: center; padding: var(--space-5) var(--card-pad); }
.empty-roles p { max-width: 520px; margin: 0 auto var(--action-gap); }

.apply-form { padding: var(--card-pad); }
.apply-form input[type=file] { padding: 11px; }

/* ---------- Legal pages ---------- */

.prose { color: var(--text-muted); }
.prose h2 { color: var(--text); font-size: 1.45rem; margin: 2em 0 0.6em; }
.prose h3 { color: var(--text); font-size: 1.05rem; margin: 1.4em 0 0.4em; }
.prose ul { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 0.5em; }
.prose strong { color: var(--text); }
.prose a, .footer-legal a, .consent a, .form-note a { color: var(--amber); text-decoration: underline; text-underline-offset: 2px; }
.legal-draft {
  padding: 14px 18px; border-radius: 12px;
  background: rgba(255, 179, 138, 0.08); border: 1px solid rgba(255, 179, 138, 0.35);
  color: var(--amber);
}

/* ---------- Job-board listings ---------- */

.job-filters { display: grid; gap: 14px; margin-bottom: 18px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab {
  padding: 9px 14px; border-radius: 999px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-muted);
  font: inherit; font-size: 0.9rem;
}
.tab span { color: var(--text-faint); margin-left: 4px; }
.tab:hover { color: var(--text); }
.tab.active { color: #fff; border-color: transparent; background: var(--grad); }
.tab.active span { color: rgba(255, 255, 255, 0.85); }
.job-filters { padding: var(--card-pad); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.filter-row { display: grid; gap: 12px; }
.filter-row.primary { grid-template-columns: 1.6fr 1.6fr 1.3fr 1fr; }
.filter-row:not(.primary):not(.toggles) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.filter-row.toggles { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.filter-row .field label { font-size: 0.8rem; }
.filter-row input, .filter-row select {
  width: 100%; padding: 11px 13px; border-radius: 10px; font: inherit; font-size: 0.93rem;
  border: 1px solid var(--border-strong); background: rgba(255, 255, 255, 0.04); color: var(--text);
}
.filter-row select option { background: var(--bg-2); }
.filter-row input:focus, .filter-row select:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 0 3px rgba(214, 36, 159, 0.25); }
@media (max-width: 1000px) {
  .filter-row.primary { grid-template-columns: 1fr 1fr; }
  .filter-row:not(.primary):not(.toggles) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .filter-row.primary, .filter-row:not(.primary):not(.toggles) { grid-template-columns: 1fr 1fr; }
}
.link-btn { background: none; border: 0; padding: 0; color: var(--amber); font: inherit; font-size: 0.93rem; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; margin-left: auto; }
.job-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.job-tags .pill { margin-left: 0; }
.agency-line { margin: 8px 0 0; font-size: 0.88rem; color: var(--text-muted); }
.pill.employer { margin: 0 6px 0 0; color: #fff; background: rgba(37, 99, 235, 0.45); border-color: rgba(96, 165, 250, 0.8); }
.pill.agency { margin: 0 6px 0 0; color: #fff; background: rgba(123, 47, 247, 0.35); border-color: rgba(139, 92, 255, 0.7); }
.pill.emp-type { color: #fff; background: #7a1f3d; border-color: #9b2c50; font-weight: 600; }
.pill.pay { color: #fff; border-color: rgba(214, 36, 159, 0.6); background: rgba(214, 36, 159, 0.18); }
.job-search { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.job-search input[type=search] {
  flex: 1; min-width: 220px; padding: 13px 15px; border-radius: 12px;
  border: 1px solid var(--border-strong); background: rgba(255, 255, 255, 0.04); color: var(--text); font: inherit;
}
.job-search input[type=search]:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 0 3px rgba(214, 36, 159, 0.25); }
.check { display: inline-flex; gap: 8px; align-items: center; color: var(--text-muted); font-size: 0.95rem; cursor: pointer; }
.check input { accent-color: var(--magenta); }
.job-meta { color: var(--text-faint); font-size: 0.9rem; margin: 0 0 14px; }

.job-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); }
@media (max-width: 860px) { .job-list { grid-template-columns: 1fr; } }
.job-card { display: flex; flex-direction: column; padding: var(--card-pad); }
.job-card .fn { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); font-weight: 600; margin-bottom: 6px; }
.job-card h3 { font-size: 1.12rem; margin-bottom: var(--space-1); }
.job-facts { margin: 0; font-size: 0.92rem; }
.pill { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px; font-size: 0.75rem; border: 1px solid var(--border-strong); color: var(--text-muted); }
.job-note { margin: 12px 0 14px; font-size: 0.82rem; color: var(--text-faint); }
.job-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.job-actions .btn { padding: 9px 16px; font-size: 0.88rem; }
.job-more { text-align: center; margin-top: var(--space-3); }
.filter-row .check input { width: auto; padding: 0; }
.filter-row .check { white-space: nowrap; }

/* ---------------- Aim, the robot guide on every page ---------------- */
/* Docked top right, just under the sticky header; the tease and panel open downward. */
.aim { position: fixed; right: 18px; top: 84px; z-index: 45; display: flex; flex-direction: column-reverse; align-items: flex-end; gap: 10px; pointer-events: none; }
.aim > * { pointer-events: auto; }
.aim-launcher {
  width: 64px; height: 74px; padding: 6px 4px 2px; border: 0; border-radius: 22px; cursor: pointer;
  background: radial-gradient(circle at 50% 40%, rgba(139, 92, 255, 0.35), rgba(13, 9, 48, 0.92) 70%);
  box-shadow: 0 10px 30px rgba(123, 47, 247, 0.45), inset 0 0 0 1px var(--border-strong);
  transition: transform 0.2s ease;
}
.aim-launcher:hover { transform: translateY(-3px) scale(1.04); }
.aim-launcher:focus-visible, .aim-chip:focus-visible, .aim-close:focus-visible, .aim-tease-text:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.aim-launcher svg, .aim-face svg { width: 100%; height: 100%; display: block; overflow: visible; }
.aim.is-open .aim-launcher { width: 54px; height: 62px; border-radius: 18px; }

.aim-float { animation: aim-float 3.6s ease-in-out infinite; transform-origin: 60px 70px; }
.aim-eyes { animation: aim-blink 5s infinite; transform-origin: 60px 54px; }
.aim-antenna { animation: aim-pulse 2.4s ease-in-out infinite; transform-origin: 60px 9px; }
.aim-arm-right { transform-origin: 92px 96px; }
.aim.waving .aim-arm-right { animation: aim-wave 0.6s ease-in-out 4; }
@keyframes aim-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes aim-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(0.1); } }
@keyframes aim-pulse { 0%, 100% { opacity: 0.5; transform: scale(0.9); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes aim-wave { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-150deg); } }

.aim-tease { position: relative; max-width: 260px; }
.aim-tease-text {
  display: block; width: 100%; text-align: left; cursor: pointer; font: inherit; font-size: 0.92rem; line-height: 1.45; color: var(--text);
  padding: 12px 30px 12px 14px; border-radius: 16px 4px 16px 16px; border: 1px solid var(--border-strong);
  background: linear-gradient(135deg, #1b1050, #2a0f4a); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  animation: aim-in 0.35s ease-out;
}
.aim-tease-close { position: absolute; top: 4px; right: 6px; border: 0; background: none; color: var(--text-muted); font-size: 1.1rem; cursor: pointer; padding: 2px 6px; }
@keyframes aim-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

.aim-panel {
  width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 190px)); display: flex; flex-direction: column;
  border-radius: 22px; border: 1px solid var(--border-strong); overflow: hidden;
  background: linear-gradient(180deg, #120b38, #0b0727); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(139, 92, 255, 0.15);
  animation: aim-in 0.25s ease-out;
}
.aim-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--grad-soft); border-bottom: 1px solid var(--border); }
.aim-face { width: 40px; height: 46px; flex: none; }
.aim-title { display: flex; flex-direction: column; line-height: 1.2; flex: 1; }
.aim-title strong { font-family: var(--font-head); font-size: 1.05rem; }
.aim-title span { font-size: 0.8rem; color: var(--text-muted); }
.aim-close { border: 0; background: none; color: var(--text-muted); font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 4px 8px; border-radius: 10px; }
.aim-close:hover { color: var(--text); background: var(--surface-2); }
.aim-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.aim-msg { max-width: 88%; font-size: 0.93rem; line-height: 1.5; }
.aim-msg p { margin: 0; padding: 10px 13px; border-radius: 16px; white-space: pre-wrap; overflow-wrap: anywhere; }
.aim-msg.from-aim p { background: var(--surface-2); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.aim-msg.from-you { align-self: flex-end; }
.aim-msg.from-you p { background: var(--grad); color: #fff; border-bottom-right-radius: 4px; }
.aim-msg a { color: var(--amber); }
.aim-msg.from-you a { color: #fff; }
.aim-msg.thinking p { color: var(--text-muted); animation: aim-pulse 1.2s ease-in-out infinite; }
.aim-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.aim-link { font-size: 0.85rem; padding: 6px 12px; border-radius: 999px; text-decoration: none; color: #fff !important; background: var(--grad); }
.aim-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; }
.aim-chips:empty { display: none; }
.aim-chip { font: inherit; font-size: 0.84rem; cursor: pointer; color: var(--text); padding: 6px 11px; border-radius: 999px; background: transparent; border: 1px solid rgba(139, 92, 255, 0.6); }
.aim-chip:hover { background: rgba(139, 92, 255, 0.18); }
.aim-form { display: flex; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--border); }
.aim-form input { flex: 1; min-width: 0; font: inherit; font-size: 0.93rem; color: var(--text); padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border-strong); background: rgba(255, 255, 255, 0.05); }
.aim-form input:focus { outline: none; border-color: var(--violet); }
.aim-send { font: inherit; font-size: 0.9rem; font-weight: 600; color: #fff; border: 0; border-radius: 12px; padding: 0 14px; cursor: pointer; background: var(--grad); }
.aim-send:disabled { opacity: 0.6; cursor: wait; }
.aim-note { margin: 0; padding: 0 14px 10px; font-size: 0.74rem; color: var(--text-faint); }
.aim-note a { color: var(--text-muted); }

@media (max-width: 600px) {
  .aim { right: 12px; top: 80px; }
  .aim-launcher { width: 52px; height: 60px; border-radius: 18px; }
  .aim-panel { height: min(520px, calc(100vh - 170px)); }
  .aim-tease { max-width: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .aim-float, .aim-eyes, .aim-antenna, .aim.waving .aim-arm-right, .aim-msg.thinking p, .aim-tease-text, .aim-panel { animation: none; }
}
@media print { .aim { display: none !important; } }

/* Resume Builder: optional early-access code */
.code-details summary { cursor: pointer; font-weight: 600; margin-bottom: 8px; }
.code-details[open] summary { margin-bottom: 12px; }

/* Candidate Commitment */
.commit-list { counter-reset: commit; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.commit-list li { counter-increment: commit; position: relative; padding-left: 44px; }
.commit-list li::before { content: counter(commit); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--grad); }
.commit-note { margin-top: 18px; }
.role-tag { display: inline-block; font-size: .78rem; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border-strong); margin-left: 6px; }
.path-card h3 { margin-top: 6px; }

/* Resume Builder: subscription plans */
.paying-for { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: 12px; }
.paying-for h4 { margin: 0 0 4px; }
.paying-for p { margin: 0; }
.plans-card { margin-top: 24px; }
.plan-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 18px 0; }
.plan-option { position: relative; text-align: left; padding: 20px; border-radius: var(--radius); border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); font: inherit; cursor: pointer; }
.plan-option:hover, .plan-option:focus-visible { background: var(--surface-2); }
.plan-option.best { border-color: var(--magenta); box-shadow: 0 0 0 1px var(--magenta); }
.plan-option .plan-badge { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 10px; border-radius: 999px; background: var(--grad); color: #fff; margin-bottom: 10px; }
.plan-option strong { display: block; font-size: 1.6rem; }
.plan-option span { color: var(--text-muted); }
.plan-option[disabled] { opacity: .6; cursor: wait; }
.recover-form { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); }
.recover-form h4 { margin: 0 0 4px; }
.recover-form p.muted { margin: 0 0 12px; }
.recover-row { display: flex; flex-wrap: wrap; gap: 10px; }
.recover-row input { flex: 1 1 220px; min-width: 0; padding: 12px 15px; border-radius: 12px; border: 1px solid var(--border-strong); background: rgba(255, 255, 255, 0.04); color: var(--text); font: inherit; font-size: 0.98rem; }
.recover-row input:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 0 3px rgba(214, 36, 159, 0.25); }

/* About page: success stories */
.story-card h3 { margin: 6px 0 4px; }
.story-meta { margin-top: 0; }
.story-card p:last-child { margin-bottom: 0; }

/* ---------- ATS: client portal and staff screens ---------- */

.ats { padding-top: 40px; }
.ats-demo-banner {
  margin-bottom: 24px; padding: 14px 18px; border-radius: 14px;
  background: rgba(255, 179, 138, 0.12); border: 1px solid rgba(255, 179, 138, 0.55); color: var(--text); font-size: 0.95rem;
}
.ats-demo-actions { display: inline-flex; flex-wrap: wrap; gap: 16px; margin-left: 10px; }
.ats-demo-actions a, .ats-demo-actions .link-btn { color: var(--amber); text-decoration: underline; }
.ats-message, .ats-login { max-width: 560px; margin: 0 auto; }
.ats-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.ats-title { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 6px 0 0; }
.ats-user { display: flex; align-items: center; gap: 14px; }
.ats-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3); align-items: start; }
.ats-side-title { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); margin: 0 0 10px; }
.ats-side ul, .ats-list, .ats-history { list-style: none; margin: 0; padding: 0; }
.ats-search {
  display: grid; gap: 2px; padding: 12px 14px; margin-bottom: 8px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface);
}
.ats-search:hover { background: var(--surface-2); }
.ats-search.current { border-color: var(--magenta); box-shadow: 0 0 0 1px rgba(214, 36, 159, 0.4); }
.ats-search .muted, .ats-counts { font-size: 0.86rem; }
.ats-counts { color: var(--text-faint); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ats-pill {
  display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 0.8rem; margin-left: 6px;
  border: 1px solid var(--border-strong); color: var(--text-muted); background: var(--surface);
}
.ats-pills .ats-pill, .ats-counts .ats-pill { margin-left: 0; }
.ats-pill.nyc { border-color: rgba(96, 165, 250, 0.8); color: #cfe0ff; }
.ats-pill.test, .ats-pill.warn { border-color: rgba(255, 179, 138, 0.7); color: var(--amber); }
.ats-search-head h2 { margin: 0 0 10px; }
.ats-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.ats-reqs { margin-top: 12px; color: var(--text-muted); }
.ats-reqs summary { cursor: pointer; }
.ats-must { color: var(--amber); font-size: 0.85rem; }
.ats-note { font-size: 0.92rem; margin: 16px 0; }
.ats-row {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 6px 14px; align-items: center;
  padding: 14px 16px; margin-bottom: 10px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface);
}
.ats-row:hover { background: var(--surface-2); border-color: var(--border-strong); }
.ats-rank { font-family: var(--font-head); color: var(--text-faint); }
.ats-who { display: grid; }
.ats-who .muted { font-size: 0.88rem; }
.ats-row-tags { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ats-score {
  min-width: 44px; padding: 6px 8px; border-radius: 10px; text-align: center; font-family: var(--font-head); font-weight: 600;
  background: var(--grad-soft); border: 1px solid var(--border-strong);
}
.ats-score.none { color: var(--text-faint); background: none; }
.ats-score.big { font-size: 1.6rem; padding: 6px 14px; }
.ats-stage { padding: 3px 10px; border-radius: 999px; font-size: 0.82rem; background: rgba(123, 47, 247, 0.25); border: 1px solid rgba(139, 92, 255, 0.6); }
.ats-stage.stage-client_review, .ats-stage.stage-interview, .ats-stage.stage-offer { background: rgba(214, 36, 159, 0.22); border-color: rgba(214, 36, 159, 0.7); }
.ats-stage.stage-hired { background: rgba(34, 197, 94, 0.2); border-color: rgba(74, 222, 128, 0.7); }
.ats-stage.stage-declined, .ats-stage.stage-withdrawn { background: var(--surface); border-color: var(--border-strong); color: var(--text-muted); }
.ats-badge { font-size: 0.84rem; color: var(--text-faint); }
.ats-badge.screened { color: #b8f5cf; }
.ats-badge.screened::before { content: "\2713  "; }
.ats-closed { margin-top: 18px; color: var(--text-muted); }
.ats-closed summary { cursor: pointer; margin-bottom: 10px; }
.ats-back { display: inline-block; margin-bottom: 14px; color: var(--text-muted); }
.ats-back::before { content: "\2190  "; }
.ats-detail-head h2 { margin: 0 0 4px; }
.ats-contact { color: var(--text-muted); margin: 0 0 10px; overflow-wrap: anywhere; }
.ats-contact a { text-decoration: underline; }
.ats-consent { font-size: 0.9rem; margin-top: 10px; }
.ats-detail-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; margin-top: 20px; align-items: start; }
@media (max-width: 1000px) { .ats-detail-grid { grid-template-columns: 1fr; } }
.ats-card { padding: 22px; margin-bottom: 20px; }
.ats-card h3 { margin: 0 0 12px; font-size: 1.1rem; }
.ats-card h4 { margin: 16px 0 6px; font-size: 0.95rem; }
.ats-card ul { margin: 0; padding-left: 20px; }
.ats-ai { border-color: rgba(255, 179, 138, 0.35); }
.ats-ai-score { display: flex; align-items: center; gap: 10px; }
.ats-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.ats-table th, .ats-table td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.ats-table td:nth-child(2) { font-family: var(--font-head); }
.ats-review { border-left: 3px solid var(--magenta); padding-left: 12px; margin-bottom: 14px; }
.ats-review.older { border-left-color: var(--border-strong); opacity: 0.8; }
.ats-review p { margin: 0 0 4px; }
.ats-resume { white-space: pre-wrap; font-size: 0.88rem; background: rgba(0, 0, 0, 0.25); padding: 16px; border-radius: 12px; margin-top: 14px; max-height: 520px; overflow: auto; }
.ats-resume-frame { width: 100%; height: 640px; border: 1px solid var(--border); border-radius: 12px; margin: 14px 0; background: #fff; }
.ats-note-item { border-top: 1px solid var(--border); padding-top: 10px; margin-top: 12px; }
.ats-note-item p { margin: 0 0 4px; }
.ats-history li { padding: 4px 0; border-bottom: 1px dashed var(--border); font-size: 0.92rem; }
.ats-moves { margin: 10px 0; }

/* Pipeline board (Kate, Oct 21, 2026): one column per stage, left to right,
   like a CRM deal board. The board scrolls sideways inside its own box, so
   the page never does. The searches sit in a strip above it. */
.ats-side ul { display: flex; gap: var(--space-1); overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; }
.ats-side li { flex: 0 0 auto; width: min(280px, 78vw); scroll-snap-align: start; }
.ats-side .ats-search { height: 100%; margin-bottom: 0; }
.board-block { margin-top: var(--space-2); }
.board-wrap { overflow-x: auto; overscroll-behavior-x: contain; padding-bottom: var(--space-1); border-radius: 14px; }
.board-wrap:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.board { display: flex; gap: 12px; list-style: none; margin: 0; padding: 0; min-width: min-content; }
.board-col {
  flex: 1 0 210px; max-width: 300px; display: flex; flex-direction: column; gap: 10px;
  padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--border);
}
.board-col-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 2px 8px; border-bottom: 2px solid rgba(139, 92, 255, 0.55); }
.board-col:nth-last-child(-n+1) .board-col-head { border-bottom-color: rgba(74, 222, 128, 0.6); }
.board-col-head h3 { margin: 0; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.board-count { min-width: 26px; padding: 1px 8px; border-radius: 999px; text-align: center; font-size: 0.8rem; font-family: var(--font-head); background: var(--surface-2); color: var(--text); }
.board-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.board-empty { margin: 0; padding: 14px 8px; text-align: center; font-size: 0.85rem; color: var(--text-faint); border: 1px dashed var(--border); border-radius: 12px; }
.board-card {
  position: relative; display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px;
  background: var(--bg-2); border: 1px solid var(--border-strong);
}
.board-card:hover { border-color: var(--magenta); }
.board-card:focus-within { border-color: var(--magenta); box-shadow: 0 0 0 1px rgba(214, 36, 159, 0.4); }
.board-card-top { display: flex; align-items: center; gap: 8px; }
.board-card-top .ats-score { margin-left: auto; min-width: 36px; padding: 2px 6px; font-size: 0.85rem; }
.board-name { font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.board-name::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.board-name:focus-visible { outline: none; }
.board-line { margin: 0; font-size: 0.84rem; line-height: 1.4; overflow-wrap: anywhere; }
.board-days { color: var(--text-faint); }
.board-tier { padding: 1px 8px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; border: 1px solid var(--border-strong); color: var(--text-muted); }
.board-tier.tier-top { border-color: rgba(74, 222, 128, 0.7); color: #b8f5cf; background: rgba(34, 197, 94, 0.12); }
.board-tier.tier-strong { border-color: rgba(139, 92, 255, 0.7); color: #d9ccff; background: rgba(123, 47, 247, 0.16); }
.board-tier.tier-possible { border-color: rgba(255, 179, 138, 0.6); color: var(--amber); }
.board-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.board-tags .ats-pill { margin-left: 0; }
.board-action { position: relative; z-index: 1; margin-top: 6px; }
.board-btn { width: 100%; padding: 8px 12px; font-size: 0.85rem; }
.board-closed { margin-top: var(--space-3); }
.board-closed-list { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.board-closed .board-card { opacity: 0.8; }
@media (max-width: 640px) {
  .board-col { flex-basis: 78vw; }
}

/* ---------- Client portal VMS: tabs, timecards, contractor hours ---------- */

.vms-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; border-bottom: 1px solid var(--border); padding-bottom: 12px; }
.vms-tab { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); color: var(--text-muted); background: var(--surface); }
.vms-tab:hover { background: var(--surface-2); color: var(--text); }
.vms-tab.current { color: var(--text); border-color: var(--magenta); box-shadow: 0 0 0 1px rgba(214, 36, 159, 0.4); }
.vms-row { grid-template-columns: minmax(0, 1fr) auto; }
.vms-row .ats-row-tags { grid-column: auto; }
@media (max-width: 640px) { .vms-row { grid-template-columns: minmax(0, 1fr); } }
.vms-new summary { cursor: pointer; }
.vms-new .form { margin-top: 14px; }
.vms-flags { margin: 10px 0; padding-left: 20px; color: var(--amber); font-size: 0.92rem; }
.vms-review { margin-top: 14px; }
.vms-weeknav { align-items: center; margin-bottom: 16px; }
.vms-second { margin: 4px 0 12px; color: var(--text-muted); }
.vms-breaks { border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; margin: 12px 0; }
.vms-breaks legend { padding: 0 6px; font-weight: 600; }
.vms-breaks .consent { display: inline-flex; margin-right: 18px; }
.vms-missed { margin-top: 10px; }

/* Weekly timesheet (Kate, Oct 21, 2026): all seven days at once, one row
   per day with the week's totals in the footer. The contractor's page fills
   it with inputs; the manager's timecard shows it read-only. Below 760px
   each day is a compact card with the same fields. */
.ts { --ts-cols: 112px repeat(4, minmax(104px, 1fr)) 84px 84px; display: grid; gap: 6px; }
.ts.ts-breaks { --ts-cols: 112px repeat(4, minmax(104px, 1fr)) 84px 132px 84px; }
.ts.ts-exempt { --ts-cols: 140px minmax(120px, 1fr) minmax(100px, 160px) 96px; }
.ts-card { padding: 18px; overflow-x: auto; }
.ts-head, .ts-row { display: grid; grid-template-columns: var(--ts-cols); gap: 6px 10px; align-items: center; }
.ts-head { padding: 0 12px 6px; border-bottom: 1px solid var(--border); }
.ts-h { font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); }
.ts-h.ts-total, .ts-total { text-align: right; }
.ts-row { padding: 8px 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); }
.ts-row.ts-empty { background: transparent; }
.ts-row.ts-empty .ts-dayname strong { color: var(--text-muted); }
.ts-lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ts-cell { min-width: 0; }
.ts-dayname, .ts-totalval { display: grid; gap: 2px; }
.ts-split { font-size: 0.76rem; color: var(--amber); }
.ts-error { font-size: 0.76rem; color: var(--pink); }
.ts-totalval strong { font-family: var(--font-head); font-size: 1.05rem; }
.ts-val { font-variant-numeric: tabular-nums; }
.ts-empty .ts-val { color: var(--text-faint); }
.ts input[type=time], .ts input[type=number], .ts-extra input:not([type=checkbox]):not([type=radio]) {
  width: 100%; min-height: 40px; padding: 7px 8px; border-radius: 10px; border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04); color: var(--text); font: inherit; font-size: 0.92rem; color-scheme: dark;
}
.ts input:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 0 3px rgba(214, 36, 159, 0.25); }
.ts input:disabled { opacity: 0.75; }
.ts-breaks.ts-cell { border: 0; padding: 0; margin: 0; min-width: 0; }
.ts-legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ts-radios { display: flex; gap: 12px; }
.ts-radios .consent { display: inline-flex; align-items: center; gap: 4px; margin: 0; }
.ts-extra { grid-column: 1 / -1; display: grid; gap: 8px; }
.ts-extra:empty { display: none; }
.ts-extra > span { font-size: 0.85rem; color: var(--text-muted); }
.ts-extra .vms-second { margin: 0; font-size: 0.8rem; color: var(--text-faint); }
.ts-extra .vms-second[open] { color: var(--text-muted); }
.ts-extra .vms-second summary { cursor: pointer; }
.ts-extra .vms-missed { margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.ts-extra .vms-missed .field { flex: 1 1 240px; margin: 0; }
.ts-extra .form-message:empty { display: none; }
.ts-pair { display: grid; grid-template-columns: repeat(2, minmax(104px, 160px)); gap: 10px; margin-top: 8px; }
.ts-pair .field label { margin-bottom: 4px; }
.ts-foot { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--border); }
.ts-stat { display: grid; gap: 2px; min-width: 96px; padding: 8px 12px; border-radius: 12px; background: var(--surface-2); text-align: right; }
.ts-stat-lbl { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); }
.ts-stat strong { font-family: var(--font-head); font-size: 1.1rem; }
.ts-stat:first-child { background: var(--grad-soft); }
.ts-bill { margin: 12px 0 0; font-size: 0.92rem; color: var(--text-muted); }
@media (max-width: 760px) {
  .ts-card { padding: 12px; overflow-x: visible; }
  .ts { gap: 10px; }
  .ts-head { display: none; }
  .ts-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 12px; }
  .ts-cell.ts-day { order: 0; }
  .ts-cell.ts-total { order: 1; }
  .ts-cell.ts-start { order: 2; }
  .ts-cell.ts-end { order: 3; }
  .ts-cell.ts-meal1_start { order: 4; }
  .ts-cell.ts-meal1_end { order: 5; }
  .ts-cell.ts-exempt, .ts-cell.ts-sick { order: 6; }
  .ts-cell.ts-breaks { order: 7; }
  .ts-extra { order: 8; }
  .ts-lbl { position: static; width: auto; height: auto; clip: auto; display: block; font-size: 0.78rem; color: var(--text-faint); margin-bottom: 4px; }
  .ts-empty .ts-cell:not(.ts-day):not(.ts-total):has(.ts-val) { display: none; }
  .ts-foot { justify-content: stretch; }
  .ts-stat { flex: 1 1 calc(50% - 8px); }
}

/* Footer social links (Instagram, TikTok) */
.footer-grid .social-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 18px; }
.footer-grid .social-links li { margin: 0; }
.footer-grid .social-links a { display: inline-flex; align-items: center; gap: 8px; }
.footer-grid .social-links svg { flex: none; }

/* ---------- Keyboard access (every page) ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
}
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

/* ---------- Candidate landing page (for-candidates.html) ---------- */
.lp-steps { counter-reset: lp; list-style: none; padding: 0; margin: 18px 0 18px; display: grid; gap: 14px; }
.lp-steps li { counter-increment: lp; position: relative; padding-left: 44px; color: var(--text-muted); }
.lp-steps li strong { color: var(--text); }
.lp-steps li::before { content: counter(lp); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--grad); }
.lp-note { font-size: 0.92rem; color: var(--text-muted); margin: 0 0 24px; }
.lp-flag {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 0;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--amber);
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}
.lp-flag span {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--amber);
  color: var(--bg);
  font-size: 0.8rem;
  font-weight: 700;
}
.lp-separate {
  margin: var(--space-3) 0 0;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-muted);
}
.lp-separate strong { color: var(--text); }
.lp-fn { display: flex; flex-direction: column; }
.lp-fn .fn { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); font-weight: 600; margin-bottom: 6px; }
.lp-fn h3 { font-size: 1.15rem; }
.lp-fn p { font-size: 0.92rem; }
@media (max-width: 640px) {
  .lp .price-card { padding: 24px; }
  .lp-hero .btn-row .btn { flex: 1 1 100%; }
}

/* Footer blurb under the logo. */
.footer-blurb { margin-top: var(--space-2); max-width: 320px; }

/* For Candidates: a short hero, then the pricing row right under it. */
.lp-hero { padding: var(--space-5) 0 var(--section-y); }
.lp-hero h1 { max-width: none; font-size: clamp(2.2rem, 5vw, 4rem); }
.lp-pricing .price { margin: 0 0 var(--space-1); }

/* Jobs: a slim one-line header so the filters sit right under the menu. */
.jobs-top { padding: var(--space-3) 0 var(--section-y); }
.jobs-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-1) var(--space-2); margin-bottom: var(--space-2); }
.jobs-head h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0; }
.jobs-head-link { color: var(--amber); font-size: 0.93rem; }
.job-disclosure { margin: var(--space-2) 0 var(--space-1); font-size: 0.88rem; color: var(--text-faint); }
.job-disclosure strong { color: var(--text-muted); }
.jobs-about-title { font-size: 1.1rem; }
.jobs-about p { max-width: 820px; font-size: 0.92rem; }

/* About: leadership cards. A grid that centers however many people are listed. */
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--grid-gap); }
.team-card { width: 260px; margin: 0; text-align: center; }
.team-card img { display: block; width: 160px; height: 160px; margin: 0 auto var(--space-2); border-radius: 50%; object-fit: cover; border: 1px solid var(--border-strong); }
.team-card strong { display: block; font-family: var(--font-head); font-size: 1.2rem; }
.team-card span { display: block; color: var(--text-muted); font-size: 0.95rem; }
.team-card .team-note { display: block; margin-top: var(--space-1); color: var(--text-muted); font-size: 0.8rem; }

/* ---------- Outbound decks (hiring-overview.html, small-business.html) ----------
   One section per slide. On screen each slide fills most of a desktop
   window; on phones slides take their natural height. In print (the PDF made
   by tools/make_deck_pdfs.mjs) each slide is one 16:9 page. */

.slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(calc(100vh - 72px), 720px);
  padding: var(--space-6) 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
  isolation: isolate;
}
.slide:nth-child(even) { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 50%, var(--bg) 100%); }
.slide:first-child { border-top: 0; }

.slide-inner { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.slide-inner > .lead { margin-bottom: var(--head-gap); }
.slide h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); max-width: 900px; }
.slide h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); max-width: 900px; overflow-wrap: break-word; }

.slide-meta { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-2); }
.slide-num { white-space: nowrap; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; color: var(--text-faint); letter-spacing: 0.06em; }
.slide-foot { display: none; }

.slide-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55% 60% at 85% 100%, rgba(214, 36, 159, 0.30), transparent 70%),
    radial-gradient(45% 55% at 100% 40%, rgba(255, 107, 74, 0.16), transparent 70%),
    radial-gradient(50% 60% at 5% 10%, rgba(58, 12, 163, 0.35), transparent 70%);
}
.slide-cover .lead { max-width: 720px; }
.slide-cover { position: relative; }
.deck-steps { gap: 12px; }
.deck-terms { margin-top: var(--space-3); }
.deck-terms h3 { margin: 6px 0 4px; }
.founder-card { display: flex; gap: var(--space-3); align-items: center; margin: var(--space-3) 0 var(--space-2); flex-wrap: wrap; }
.founder-card img { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; border: 3px solid transparent; background: var(--grad) border-box; flex: none; }
.founder-body { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.founder-name { font-family: var(--font-head); font-size: 1.5rem; }
.founder-title { color: var(--text); font-weight: 600; margin-bottom: 10px; }
.founder-note { color: var(--text-muted); margin-bottom: 10px; }
.founder-link { font-size: 0.9rem; color: var(--text-muted); }
.terms-models { display: grid; gap: 12px; margin-top: 10px; }
.terms-model { border: 1px solid var(--border-strong); border-radius: 12px; padding: 12px 16px; }
.terms-model h4 { margin: 2px 0 4px; font-size: 1.05rem; }
.terms-model p { margin: 0; font-size: 0.95rem; color: var(--text-muted); }
.terms-tag { font-family: var(--font-head); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #e04fb0; }
.deck-terms .check-list li { padding: 7px 0 7px 32px; font-size: 1rem; }
.deck-steps .card { padding: 38px 18px 14px; }
.deck-steps .step::before { top: 13px; left: 18px; font-size: 0.85rem; }
.deck-steps .checkin-list { margin-top: 6px; font-size: 0.82rem; }
.deck-steps .checkin-list li { padding: 1px 0; }
.deck-steps h3 { font-size: 1.05rem; }
.deck-steps p { font-size: 0.86rem; line-height: 1.45; margin: 4px 0 0; }
.portal-track { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: var(--space-3) 0 var(--space-2); counter-reset: stage; }
.portal-track li { counter-increment: stage; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--border-strong); border-radius: 999px; font-weight: 600; font-size: 0.98rem; }
.portal-track li::before { content: counter(stage); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 0.75rem; }
.portal-track li:last-child { border-color: transparent; background: var(--grad); color: #fff; }
.portal-track li:last-child::before { background: rgba(255,255,255,0.25); }
.slide-cover::after {
  content: "";
  position: absolute;
  top: 50%;
  right: max(var(--gutter), 12%);
  width: clamp(180px, 21vw, 290px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  background: url("../img/logo.svg") center / contain no-repeat;
  filter: drop-shadow(0 0 48px rgba(214, 36, 159, 0.35));
  pointer-events: none;
}
@media (max-width: 820px) { .slide-cover::after { width: 96px; top: var(--space-4); transform: none; } }

.deck-list { max-width: 820px; margin: var(--space-3) 0 0; }
.deck-list li { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text); padding: 10px 0 10px 36px; }
.deck-list li::before { top: 13px; width: 22px; height: 22px; }
.deck-list li + li { border-top: 1px solid var(--border); }
.deck-note { margin-top: var(--space-2); font-size: 0.95rem; }

.deck .agent-icon { margin-bottom: var(--space-2); }
.deck .agent-card h3 { font-size: 1.35rem; }
.deck .step h3 { font-size: 1.15rem; }
.deck .check-list { margin-bottom: 0; }

.deck-contact { list-style: none; padding: 0; margin: var(--space-4) 0 0; color: var(--text-muted); }
.deck-contact li { padding: 3px 0; }
.deck-contact a { color: var(--text); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; }

@media (max-width: 640px) {
  .slide { min-height: 0; padding: var(--space-5) 0; }
  .slide-num { font-size: 0.8rem; }
  .deck-actions .btn { flex: 1 1 100%; }
}

@media print {
  /* The page size is set inline on the deck pages (it would override the
     resume's letter page everywhere if it were here). */
  body.deck-page {
    background: var(--bg) !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    font-size: 15px;
  }
  .deck-page .site-header, .deck-page .site-footer, .deck-page .skip-link, .deck-page .deck-actions { display: none !important; }
  .deck-page .slide {
    height: 7.5in;
    min-height: 0;
    padding: 0.55in 0 0.6in;
    break-after: page;
    break-inside: avoid;
    border: 0;
    position: relative;
  }
  .deck-page .slide:last-child { break-after: auto; }
  .deck-page .slide-inner { max-width: none; padding: 0 0.7in; }
  .deck-page .slide-foot {
    display: block;
    position: absolute;
    left: 0.7in;
    bottom: 0.3in;
    margin: 0;
    font-size: 0.75rem;
    color: var(--text-faint);
  }
  .deck-page .agent-card .more { display: none; }
  .deck-page .agent-card .agent-icon { width: 40px; height: 40px; margin-bottom: 10px; }
  .deck-page .agent-card .agent-icon svg { width: 20px; height: 20px; }
  .deck-page .role-list-sm li { padding: 4px 0; font-size: 0.85rem; }
  .deck-page .slide-inner > .lead { margin-bottom: var(--space-3); }
  .deck-page .card { break-inside: avoid; }
  /* Gradient text prints with hairline boxes around it in Chromium's PDF output. */
  .deck-page .grad-text, .deck-page .step::before { background: none; color: #e04fb0; }
}

/* ---------- Staff Talent pool tab (Resume Builder talent bank) ---------- */
.talent-filters { margin-bottom: 20px; }
.talent-row > p, .talent-row > .talent-resume { grid-column: 1 / -1; margin: 0; font-size: 0.88rem; }
.talent-snippet { font-style: italic; overflow-wrap: anywhere; }
.talent-resume .btn { margin-top: 4px; }
