/* Open roles board — Framer careers page tokens, not candidate-v2 chrome.
 *
 * Ink #1a1a1a and surface #f0f0f0 match the Open roles section tokens on this
 * export. Cards use the same soft border language as Framer primary controls.
 *
 * Open-roles FOUC hide (blank Ashby iframe before mount) lives only in the
 * inline <style data-verita-careers-fouc> from patch_export — fail-open
 * removes that tag. Do not duplicate that hide here; this file's iframe
 * display:none is a post-CSS belt for after the sheet loads.
 */

/* Unlock the authored iframe box (1119×850) so the live list can grow. */
.framer-1s4mrih-container {
  height: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  position: relative !important;
}

.framer-1s4mrih-container > iframe,
.framer-1s4mrih-container [data-framer-component-type="Frame"] > iframe {
  display: none !important;
}

body.verita-careers-detail [data-framer-name="Careers opening"],
body.verita-careers-detail [data-framer-name="Who we’re built for"],
body.verita-careers-detail [data-framer-name="Leadership team"],
body.verita-careers-detail [data-framer-name="Benefits"],
body.verita-careers-detail [data-framer-name="Careers closing CTA"] {
  display: none !important;
}

/* Leadership: CEO + CTO only — hide removed cards and empty caption shells. */
[data-framer-name="Leadership team"] [data-framer-name="Kenneth Osazuwa"],
[data-framer-name="Leadership team"] [data-framer-name="Tien Mai"] {
  display: none !important;
}

[data-framer-name="Leadership team"] .framer-186svl7 {
  display: none !important;
}

/* Authored 4-col grid → centered 2-col for Rithika + Rishi. */
.framer-9AQrE .framer-gpuot3,
.framer-gpuot3[data-framer-name="Leadership grid"] {
  grid-template-columns: repeat(2, minmax(180px, 280px)) !important;
  justify-content: center !important;
  justify-items: stretch;
  width: 100% !important;
  max-width: 640px;
  margin-inline: auto;
  gap: 28px 40px !important;
}

@media (max-width: 809.98px) {
  .framer-9AQrE .framer-gpuot3,
  .framer-gpuot3[data-framer-name="Leadership grid"] {
    grid-template-columns: minmax(160px, 1fr) !important;
    max-width: 320px;
    gap: 20px !important;
  }
}

/* Leadership: center section heading + name/title inside CEO/CTO cards. */
[data-framer-name="Leadership team"] {
  align-items: center !important;
}

[data-framer-name="Leadership team"] .framer-qtxrf0 .framer-text,
[data-framer-name="Leadership team"] h2.framer-text {
  --framer-text-alignment: center !important;
  text-align: center !important;
}

[data-framer-name="Leadership team"] [data-framer-name="Rithika Kacham"],
[data-framer-name="Leadership team"] [data-framer-name="Rishi Kalakuntla"] {
  align-items: center !important;
}

[data-framer-name="Leadership team"] [data-framer-name="Rithika Kacham"] .framer-text,
[data-framer-name="Leadership team"] [data-framer-name="Rishi Kalakuntla"] .framer-text {
  --framer-text-alignment: center !important;
  text-align: center !important;
}

/* Benefits: Frontier Impact was authored white/#ink while siblings use
 * translucent white on the dark Benefits section. Match Equity / salary / bonus. */
[data-framer-name="Benefits grid"] [data-framer-name="Frontier impact"] {
  background-color: #ffffff14 !important;
}

[data-framer-name="Benefits grid"] [data-framer-name="Frontier impact"] .framer-text,
[data-framer-name="Benefits grid"] [data-framer-name="Frontier impact"] h3,
[data-framer-name="Benefits grid"] [data-framer-name="Frontier impact"] p {
  --framer-text-color: var(--token-7bbf4f4d-a8fb-4fe0-a164-a8cf2fd0048a, #ffffff) !important;
  color: var(--token-7bbf4f4d-a8fb-4fe0-a164-a8cf2fd0048a, #ffffff) !important;
}

/* Hero V logo — keep the authored landscape slot; contain the square mark. */
[data-framer-name="Careers opening"] img[src*="verita-v-logo"],
[data-framer-name="Careers opening"] img[src*="image-0d0536a0"] {
  object-fit: contain !important;
  object-position: center !important;
}

body.verita-careers-detail [data-framer-name="Open roles"] > [data-framer-component-type="RichTextContainer"] {
  display: none !important;
}

/* Detail: Open roles section becomes the page body under the nav. */
body.verita-careers-detail [data-framer-name="Open roles"] {
  background-color: #ffffff !important;
  max-width: 100% !important;
  padding: 120px 40px 80px !important;
  gap: 0 !important;
  /* Keep height while the role loads so the footer doesn’t jump into view. */
  min-height: calc(100vh - 80px);
}

body.verita-careers-detail .framer-1s4mrih-container {
  max-width: 720px !important;
  width: 100% !important;
}

@media (max-width: 809.98px) {
  body.verita-careers-detail [data-framer-name="Open roles"] {
    padding: 100px 24px 64px !important;
  }
}

#verita-careers-root {
  /* Framer careers tokens (same :root vars the export defines). */
  --verita-ink: var(--token-2ddcea38-bb42-4986-8e36-4a45eb0c9596, #1a1a1a);
  --verita-paper: var(--token-7bbf4f4d-a8fb-4fe0-a164-a8cf2fd0048a, #ffffff);
  --verita-surface: var(--token-1273543a-0813-435f-bd61-d8398d80d684, #f0f0f0);
  --verita-border: var(--token-4a25c684-3670-4b2a-bae7-5c23bcc7c2d3, rgba(26, 26, 26, 0.1));
  --verita-muted: color-mix(in srgb, var(--verita-ink) 55%, transparent);

  width: 100%;
  box-sizing: border-box;
  color: var(--verita-ink);
  /* Site body type = Inter Display (Framer ull0yy / g3iomj / 6s66nj). */
  font-family: "Inter Display", "Inter Display Placeholder", "Inter", "Inter Placeholder", sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Never fall through to browser link purple. */
#verita-careers-root a {
  color: var(--verita-ink);
}

#verita-careers-root a:visited {
  color: var(--verita-ink);
}

/* Clear the floating nav so the "Open roles" heading isn’t clipped. */
[data-framer-name="Open roles"],
#open-roles {
  scroll-margin-top: 120px;
}

/* Hide the redundant "See Open Roles" control — roles already sit above. */
[data-framer-name="Careers closing CTA"] [data-framer-name="See open roles"],
[data-framer-name="Careers closing CTA"] a[href="/careers/"],
[data-framer-name="Careers closing CTA"] a[href="/careers"] {
  display: none !important;
}

/* Hero "Apply" — overlays the left column, bottom-aligned with the team image.
 * Must NOT be a layout sibling (that pushed "Who we’re built for" down). */
[data-framer-name="Careers opening"] {
  /* Absolute CTA lives inside the padding box; clip would hide nothing if
   * we keep it in-bounds, but visible avoids edge clipping on hover scale. */
  overflow: visible !important;
}

.verita-careers-apply-cta-wrap {
  position: absolute;
  left: 40px;
  bottom: 64px;
  z-index: 2;
  width: auto;
  max-width: calc(50% - 60px);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: transparent;
  pointer-events: none;
}

.verita-careers-apply-cta-wrap > a {
  pointer-events: auto;
}

@media (max-width: 1199.98px) {
  .verita-careers-apply-cta-wrap {
    left: 40px;
    bottom: 64px;
  }
}

@media (max-width: 809.98px) {
  .verita-careers-apply-cta-wrap {
    left: 24px;
    bottom: 64px;
    max-width: calc(100% - 48px);
  }
}

body.verita-careers-detail .verita-careers-apply-cta-wrap {
  display: none !important;
}

.verita-careers-apply-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  box-sizing: border-box;
  padding: 5px 20px 5px 5px;
  background: var(--verita-paper, #ffffff);
  border: 1px solid var(--verita-border, rgba(26, 26, 26, 0.1));
  border-radius: 999px;
  color: var(--verita-ink, #1a1a1a);
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  -webkit-font-smoothing: antialiased;
  transition:
    border-color 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
    background-color 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
    transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.verita-careers-apply-cta:hover {
  border-color: rgba(26, 26, 26, 0.22);
}

.verita-careers-apply-cta:focus-visible {
  outline: 2px solid rgba(26, 26, 26, 0.35);
  outline-offset: 2px;
}

/* Dark chip — dual-chevron shuffle (Framer Primary motion). */
.verita-careers-apply-cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 36px;
  height: 32px;
  background: var(--verita-ink, #1a1a1a);
  border-radius: 10px;
  color: var(--verita-paper, #ffffff);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.verita-careers-apply-cta:hover .verita-careers-apply-cta-icon {
  transform: scale(1.06);
}

.verita-careers-apply-cta-arrows {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
}

.verita-careers-apply-cta-arrows svg {
  position: absolute;
  inset: 0;
  display: block;
  width: 16px;
  height: 16px;
}

/* Idle: only the first chevron visible. */
.verita-careers-apply-cta-arrows svg:nth-child(1) {
  transform: translate(0, 0);
  opacity: 1;
}

.verita-careers-apply-cta-arrows svg:nth-child(2) {
  opacity: 0;
}

.verita-careers-apply-cta-arrows--y svg:nth-child(2) {
  transform: translateY(-12px);
}

.verita-careers-apply-cta-arrows--x svg:nth-child(2) {
  transform: translateX(-12px);
}

/* Hover: outgoing slides out, incoming replaces. */
.verita-careers-apply-cta:hover .verita-careers-apply-cta-arrows--y svg:nth-child(1) {
  animation: verita-arrow-out-y 0.55s cubic-bezier(0.34, 1.4, 0.64, 1) infinite;
}

.verita-careers-apply-cta:hover .verita-careers-apply-cta-arrows--y svg:nth-child(2) {
  animation: verita-arrow-in-y 0.55s cubic-bezier(0.34, 1.4, 0.64, 1) infinite;
}

.verita-careers-apply-cta:hover .verita-careers-apply-cta-arrows--x svg:nth-child(1) {
  animation: verita-arrow-out-x 0.55s cubic-bezier(0.34, 1.4, 0.64, 1) infinite;
}

.verita-careers-apply-cta:hover .verita-careers-apply-cta-arrows--x svg:nth-child(2) {
  animation: verita-arrow-in-x 0.55s cubic-bezier(0.34, 1.4, 0.64, 1) infinite;
}

@keyframes verita-arrow-out-y {
  0% { transform: translateY(0); opacity: 1; }
  45% { transform: translateY(12px); opacity: 0; }
  46% { transform: translateY(-12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes verita-arrow-in-y {
  0% { transform: translateY(-12px); opacity: 0; }
  45% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

@keyframes verita-arrow-out-x {
  0% { transform: translateX(0); opacity: 1; }
  45% { transform: translateX(12px); opacity: 0; }
  46% { transform: translateX(-12px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes verita-arrow-in-x {
  0% { transform: translateX(-12px); opacity: 0; }
  45% { transform: translateX(0); opacity: 1; }
  100% { transform: translateX(12px); opacity: 0; }
}

.verita-careers-apply-cta-label {
  /* Framer Primary label (vad88t-ish / g3iomj): Display 16 / 500. */
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  padding-right: 6px;
  white-space: nowrap;
}

.verita-careers-status {
  margin: 0;
  /* Framer ull0yy body */
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: var(--verita-muted, rgba(26, 26, 26, 0.55));
}

.verita-careers-status a {
  color: var(--verita-ink, #1a1a1a);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.verita-careers-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin: 0 0 28px;
}

.verita-careers-filters-label {
  /* Small Framer label — g3iomj weight, muted ink */
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--verita-muted, rgba(26, 26, 26, 0.55));
}

.verita-careers-filter {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.verita-careers-filter select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--verita-paper, #ffffff)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath stroke='%231a1a1a' stroke-width='1.5' d='M1.5 1.5 6 6 10.5 1.5'/%3E%3C/svg%3E")
    no-repeat right 12px center / 10px;
  border: 1px solid var(--verita-border, rgba(26, 26, 26, 0.12));
  border-radius: 16px;
  color: var(--verita-ink, #1a1a1a);
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.2;
  padding: 10px 34px 10px 14px;
}

.verita-careers-filter select:focus {
  outline: 2px solid color-mix(in srgb, var(--verita-ink, #1a1a1a) 25%, transparent);
  outline-offset: 2px;
}

.verita-careers-dept {
  margin: 0 0 28px;
}

.verita-careers-dept-title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--verita-muted, rgba(26, 26, 26, 0.55));
}

.verita-careers-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.verita-careers-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: var(--verita-paper, #ffffff);
  border: 1px solid var(--verita-border, rgba(26, 26, 26, 0.1));
  border-radius: 16px;
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.verita-careers-card:hover {
  border-color: color-mix(in srgb, var(--verita-ink, #1a1a1a) 22%, transparent);
  background: color-mix(in srgb, var(--verita-surface, #f0f0f0) 40%, var(--verita-paper, #fff));
  transform: translateY(-2px);
}

.verita-careers-card:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--verita-ink, #1a1a1a) 35%, transparent);
  outline-offset: 2px;
}

.verita-careers-card-title {
  margin: 0 0 4px;
  /* Between ull0yy (16/300) and display headings — medium Display. */
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--verita-ink, #1a1a1a);
}

.verita-careers-card-meta {
  margin: 0;
  /* Framer ull0yy */
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: var(--verita-muted, rgba(26, 26, 26, 0.55));
}

.verita-careers-card-apply {
  flex: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--verita-muted, rgba(26, 26, 26, 0.65));
  white-space: nowrap;
  display: inline-block;
  transform-origin: right center;
  transition:
    color 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.verita-careers-card:hover .verita-careers-card-apply {
  color: var(--verita-ink, #1a1a1a);
  opacity: 1;
  transform: scale(1.1);
}

/* ---- detail ---------------------------------------------------------- */

.verita-career-detail {
  width: 100%;
}

.verita-career-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 28px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--verita-muted, rgba(26, 26, 26, 0.55));
  text-decoration: none;
  transition: color 0.2s ease;
}

.verita-career-nav:hover {
  color: var(--verita-ink, #1a1a1a);
}

.verita-career-header {
  margin: 0 0 36px;
}

.verita-career-title {
  margin: 0 0 12px;
  /* Framer 6s66nj (Open roles H2) */
  font-family: inherit;
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--verita-ink, #1a1a1a);
}

.verita-career-meta,
.verita-career-comp {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: var(--verita-muted, rgba(26, 26, 26, 0.55));
}

.verita-career-header .verita-careers-apply-cta {
  margin-top: 22px;
}

.verita-career-intro {
  margin: 0 0 24px;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: color-mix(in srgb, var(--verita-ink, #1a1a1a) 75%, transparent);
}

.verita-career-description {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: var(--verita-ink, #1a1a1a);
}

.verita-career-description > *:first-child {
  margin-top: 0;
}

.verita-career-description h1,
.verita-career-description h2,
.verita-career-description h3 {
  margin: 1.75em 0 0.55em;
  font-family: inherit;
  font-size: 1.25em;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--verita-ink, #1a1a1a);
}

.verita-career-description h1:first-child,
.verita-career-description h2:first-child,
.verita-career-description h3:first-child {
  margin-top: 0;
}

.verita-career-description p,
.verita-career-description ul,
.verita-career-description ol {
  margin: 0 0 1em;
}

.verita-career-description ul,
.verita-career-description ol {
  padding-left: 1.25em;
}

.verita-career-description li {
  margin: 0 0 0.4em;
}

.verita-career-description li::marker {
  color: var(--verita-muted, rgba(26, 26, 26, 0.35));
}

.verita-career-description a {
  color: var(--verita-ink, #1a1a1a);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.verita-career-apply-section {
  margin-top: 48px;
  padding: 32px;
  background: var(--verita-surface, #f0f0f0);
  border-radius: 20px;
  border: none;
  scroll-margin-top: 96px;
}

.verita-career-apply-heading {
  margin: 0 0 8px;
  font-family: inherit;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--verita-ink, #1a1a1a);
}

.verita-career-apply-dek {
  margin: 0 0 24px;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.5;
  color: var(--verita-muted, rgba(26, 26, 26, 0.55));
}

.verita-career-apply-dek a {
  color: var(--verita-ink, #1a1a1a);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.verita-careers-ashby {
  width: 100%;
  max-width: 100%;
}

.verita-careers-ashby iframe,
.verita-careers-ashby #ashby_embed_iframe {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 12px;
}

.verita-career-ashby-link {
  margin: 16px 0 0;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--verita-muted, rgba(26, 26, 26, 0.55));
}

.verita-career-ashby-link a {
  color: var(--verita-ink, #1a1a1a);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.verita-career-fallback {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

@media (max-width: 809px) {
  .verita-careers-card {
    padding: 16px;
  }

  .verita-careers-card-apply {
    display: none;
  }

  .verita-career-apply-section {
    padding: 24px 18px;
  }
}
